@rangertechnologies/fusion-ui 0.1.11 → 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.
@@ -1085,7 +1085,7 @@ var MultiCheckboxComponent = class MultiCheckboxComponent {
1085
1085
  usesOnChanges: true,
1086
1086
  ngImport: i0,
1087
1087
  template: "<!-- SK15FEB24 Multi check component -->\n<div class=\"card flex {{cardClass}} {{cardSize}}\" style=\"{{cardStyle}}\">\n <div>\n <div class=\"fw-bold\" style=\"padding: 5px 10px 5px;\">{{label | customTranslate : label}}</div>\n </div>\n <!-- SK03OCT24 search filter in multiple checkbox -->\n <div class=\"search\" style=\"margin: 0px 10px 0px;\">\n <div class=\"search-bar flex\">\n <input class=\"width-100\" type=\"text\" placeholder=\"{{ 'APP.SEARCH' | customTranslate : 'Search' }}\" [(ngModel)]=\"searchText\"\n style=\"border:none;\">\n <img class=\"card-btn\" src=\"../assets/images/icons/general/Search.svg\">\n </div>\n </div>\n <!-- SK20FEB24 if the list is array, the list will be shown as it is -->\n <!-- SK14MAR24 fixed stylings and added Select All/ Unselect Allcheckbox -->\n <div *ngIf=\"!isArrayofObj\" style=\"{{checkBoxStyles}}\">\n <!-- SK12SEP25 card inline style modified -->\n <div class=\"flex flex-wrap\" style=\"{{contentCardStyle}}\" >\n <mat-checkbox class=\"col-md-12\" #allCheck *ngIf=\"!radioCheck\" (click)=\"$event.stopPropagation()\" (change)=\"checkAction('Select/UnSelect All', $event)\">\n <span class=\"text-wrap\" style=\"font-size: small;\" >{{\"APP.SELECT_OR_UNSELECT_ALL\" | customTranslate : 'Select/UnSelect All'}}</span>\n </mat-checkbox>\n <div *ngIf=\"radioCheck\" #allCheck ></div>\n <div class=\"{{cardInlineSize}} flex\" *ngFor=\"let list of checkboxList | searchFilter : searchText; let i = index\">\n <mat-checkbox (click)=\"$event.stopPropagation()\" (change)=\"$event ? checkboxSelection.toggle(list) : null\" (change)=\"checkAction(list, $event)\"\n [checked]=\"checkboxSelection.isSelected(list)\">\n <span class=\" text-wrap\" style=\"font-size: small;\" >{{list}}</span>\n </mat-checkbox>\n </div>\n </div>\n </div>\n <!-- SK20FEB24 if the list is array of objects, the mopdified list will be shown -->\n <!-- SK14MAR24 fixed stylings and added Select All/ Unselect Allcheckbox -->\n <div *ngIf=\"isArrayofObj\" style=\"{{checkBoxStyles}}\">\n <!-- //SK12SEP25 card inline style -->\n <div class=\"flex flex-wrap\" style=\"{{contentCardStyle}}\">\n <mat-checkbox #allCheck *ngIf=\"!radioCheck\" (click)=\"$event.stopPropagation()\" (change)=\"checkAction('Select/UnSelect All', $event)\">\n <span class=\" text-wrap\" style=\"font-size: small;\" >{{\"APP.SELECT_OR_UNSELECT_ALL\" | customTranslate : \"Select/UnSelect All\"}} </span>\n </mat-checkbox>\n <div class=\"{{cardInlineSize}} flex\" *ngFor=\"let list of checkboxList | searchFilter : searchText : (displayValues?.keyString || 'label | customTranslate : label'); let i = index\">\n <mat-checkbox class=\" flex-wrap\" (click)=\"$event.stopPropagation()\" (change)=\"$event ? checkboxSelection.toggle(list) : null\" (change)=\"checkAction(list, $event)\"\n [checked]=\"checkboxSelection.isSelected(list)\">\n <span class=\" text-wrap\" style=\"font-size: small;\" >{{ displayValues?.keyString ? (list[displayValues.keyString] | customTranslate : list[displayValues.keyString] ) : (list.labelPath || list.label | customTranslate : list.label) }}\n </span>\n </mat-checkbox>\n </div>\n </div>\n </div>\n <div class=\"m-2 d-flex justify-content-end\">\n <!-- MY 16OCT26 support button loader on save/action button and disable cancel while loading -->\n <app-fusion-button *ngFor=\"let button of buttonList\" [buttonLoadingSpinner]=\"button.buttonLoadingSpinner || button.isButtonLoadingSpinner || (button.buttonAction !== 'cancel' && (isButtonLoadingSpinner || componentData?.isButtonLoadingSpinner))\" [buttonDisable]=\"button.buttonDisable || (button.buttonAction === 'cancel' && (isButtonLoadingSpinner || componentData?.isButtonLoadingSpinner))\" [buttonType]=\"button.class\" [buttonValue]=\"button.labelPath || button.label | customTranslate : button.label\"\n (buttonClickEmit)=\"buttonClick(button)\">\n </app-fusion-button>\n </div>\n</div>\n<!-- [disabled]=\"checkboxSelection.isSelected('No Access') && days !== 'No Access'\" -->",
1088
- styles: [".row{margin-left:0;margin-right:0}.search{display:flex;justify-content:space-between;border:1px solid var(--border-color);border-radius:6px}.search-bar{display:flex;flex-direction:row;width:100%;margin:3px}.card-btn{width:18px}\n"],
1088
+ styles: [".row{margin-left:0;margin-right:0}.search{display:flex;justify-content:space-between;border:1px solid var(--fb-border-default, #e2e8f0);border-radius:6px}.search-bar{display:flex;flex-direction:row;width:100%;margin:3px}.card-btn{width:18px}\n"],
1089
1089
  dependencies: [
1090
1090
  {
1091
1091
  kind: "ngmodule",
@@ -1231,7 +1231,7 @@ i0.ɵɵngDeclareClassMetadata({
1231
1231
  CustomTranslatePipe
1232
1232
  ],
1233
1233
  template: "<!-- SK15FEB24 Multi check component -->\n<div class=\"card flex {{cardClass}} {{cardSize}}\" style=\"{{cardStyle}}\">\n <div>\n <div class=\"fw-bold\" style=\"padding: 5px 10px 5px;\">{{label | customTranslate : label}}</div>\n </div>\n <!-- SK03OCT24 search filter in multiple checkbox -->\n <div class=\"search\" style=\"margin: 0px 10px 0px;\">\n <div class=\"search-bar flex\">\n <input class=\"width-100\" type=\"text\" placeholder=\"{{ 'APP.SEARCH' | customTranslate : 'Search' }}\" [(ngModel)]=\"searchText\"\n style=\"border:none;\">\n <img class=\"card-btn\" src=\"../assets/images/icons/general/Search.svg\">\n </div>\n </div>\n <!-- SK20FEB24 if the list is array, the list will be shown as it is -->\n <!-- SK14MAR24 fixed stylings and added Select All/ Unselect Allcheckbox -->\n <div *ngIf=\"!isArrayofObj\" style=\"{{checkBoxStyles}}\">\n <!-- SK12SEP25 card inline style modified -->\n <div class=\"flex flex-wrap\" style=\"{{contentCardStyle}}\" >\n <mat-checkbox class=\"col-md-12\" #allCheck *ngIf=\"!radioCheck\" (click)=\"$event.stopPropagation()\" (change)=\"checkAction('Select/UnSelect All', $event)\">\n <span class=\"text-wrap\" style=\"font-size: small;\" >{{\"APP.SELECT_OR_UNSELECT_ALL\" | customTranslate : 'Select/UnSelect All'}}</span>\n </mat-checkbox>\n <div *ngIf=\"radioCheck\" #allCheck ></div>\n <div class=\"{{cardInlineSize}} flex\" *ngFor=\"let list of checkboxList | searchFilter : searchText; let i = index\">\n <mat-checkbox (click)=\"$event.stopPropagation()\" (change)=\"$event ? checkboxSelection.toggle(list) : null\" (change)=\"checkAction(list, $event)\"\n [checked]=\"checkboxSelection.isSelected(list)\">\n <span class=\" text-wrap\" style=\"font-size: small;\" >{{list}}</span>\n </mat-checkbox>\n </div>\n </div>\n </div>\n <!-- SK20FEB24 if the list is array of objects, the mopdified list will be shown -->\n <!-- SK14MAR24 fixed stylings and added Select All/ Unselect Allcheckbox -->\n <div *ngIf=\"isArrayofObj\" style=\"{{checkBoxStyles}}\">\n <!-- //SK12SEP25 card inline style -->\n <div class=\"flex flex-wrap\" style=\"{{contentCardStyle}}\">\n <mat-checkbox #allCheck *ngIf=\"!radioCheck\" (click)=\"$event.stopPropagation()\" (change)=\"checkAction('Select/UnSelect All', $event)\">\n <span class=\" text-wrap\" style=\"font-size: small;\" >{{\"APP.SELECT_OR_UNSELECT_ALL\" | customTranslate : \"Select/UnSelect All\"}} </span>\n </mat-checkbox>\n <div class=\"{{cardInlineSize}} flex\" *ngFor=\"let list of checkboxList | searchFilter : searchText : (displayValues?.keyString || 'label | customTranslate : label'); let i = index\">\n <mat-checkbox class=\" flex-wrap\" (click)=\"$event.stopPropagation()\" (change)=\"$event ? checkboxSelection.toggle(list) : null\" (change)=\"checkAction(list, $event)\"\n [checked]=\"checkboxSelection.isSelected(list)\">\n <span class=\" text-wrap\" style=\"font-size: small;\" >{{ displayValues?.keyString ? (list[displayValues.keyString] | customTranslate : list[displayValues.keyString] ) : (list.labelPath || list.label | customTranslate : list.label) }}\n </span>\n </mat-checkbox>\n </div>\n </div>\n </div>\n <div class=\"m-2 d-flex justify-content-end\">\n <!-- MY 16OCT26 support button loader on save/action button and disable cancel while loading -->\n <app-fusion-button *ngFor=\"let button of buttonList\" [buttonLoadingSpinner]=\"button.buttonLoadingSpinner || button.isButtonLoadingSpinner || (button.buttonAction !== 'cancel' && (isButtonLoadingSpinner || componentData?.isButtonLoadingSpinner))\" [buttonDisable]=\"button.buttonDisable || (button.buttonAction === 'cancel' && (isButtonLoadingSpinner || componentData?.isButtonLoadingSpinner))\" [buttonType]=\"button.class\" [buttonValue]=\"button.labelPath || button.label | customTranslate : button.label\"\n (buttonClickEmit)=\"buttonClick(button)\">\n </app-fusion-button>\n </div>\n</div>\n<!-- [disabled]=\"checkboxSelection.isSelected('No Access') && days !== 'No Access'\" -->",
1234
- styles: [".row{margin-left:0;margin-right:0}.search{display:flex;justify-content:space-between;border:1px solid var(--border-color);border-radius:6px}.search-bar{display:flex;flex-direction:row;width:100%;margin:3px}.card-btn{width:18px}\n"]
1234
+ styles: [".row{margin-left:0;margin-right:0}.search{display:flex;justify-content:space-between;border:1px solid var(--fb-border-default, #e2e8f0);border-radius:6px}.search-bar{display:flex;flex-direction:row;width:100%;margin:3px}.card-btn{width:18px}\n"]
1235
1235
  }]
1236
1236
  }],
1237
1237
  ctorParameters: () => [{ type: GlobalValuesService }, { type: i0.ChangeDetectorRef }],
@@ -1645,7 +1645,7 @@ var MultipleFilterComponent = class MultipleFilterComponent {
1645
1645
  usesOnChanges: true,
1646
1646
  ngImport: i0,
1647
1647
  template: "<!-- SK03OCT24 Multi Filter component -->\n<div class=\"card flex {{cardClass}} {{cardSize}}\">\n <div>\n <div class=\"fw-bold\" style=\"padding: 5px 10px 5px;\">{{label}}</div>\n </div>\n <!-- <div class=\"search m-3\">\n <div class=\"search-bar flex\">\n <input class=\"medium-font width-100\" type=\"text\" placeholder=\"Search\" [(ngModel)]=\"searchText\"\n style=\"border:none;\">\n <img class=\"card-btn\" src=\"../assets/images/icons/general/Search.svg\">\n </div>\n </div> -->\n <div style=\"{{checkBoxStyles}}\">\n <div class=\"flex flex-wrap px-2\" *ngIf=\"!isDateFilter\">\n <div class=\"{{cardInlineSize}}\" *ngFor=\"let list of selectionData; let i = index\">\n <div class=\"\">\n <label class=\"text-wrap align-self-center\" style=\"font-size: small;\" >{{list.labelPath || list.label | customTranslate : list.label}}</label>\n <div *ngIf=\"componentData.type !== 'crossFilter'\">\n <app-drop-down [lists]=\"list.allValues\" [multipleSelectedView]=\"list.selectedValues\" selectedData=\"Select\" [multipleSelect]=\"true\" (multipleSelectDataEmit)=\"multipleSelectDataEmit($event, list)\"></app-drop-down>\n </div>\n <!-- SKS10JAN25 for cross filter check box -->\n <div *ngIf=\"componentData.type === 'crossFilter'\">\n <app-drop-down [lists]=\"list.allValues\" [multipleSelectedView]=\"list.filterFields\" selectedData=\"Select\" [controlName]=\"componentData.type\" [multipleSelect]=\"true\" (multipleSelectDataEmit)=\"multipleSelectDataEmit($event, list)\"></app-drop-down>\n </div>\n </div>\n </div>\n </div>\n <div class=\"flex flex-wrap\" *ngIf=\"isDateFilter\">\n <div class=\"d-flex justify-content-between px-2\" [class]=\"cardInlineSize\">\n <!-- SK03OCT24 startDate and endDate inputs -->\n <div class=\"field-input\">\n <label class=\"modal-field-label\" for=\"end-date\">{{'APP.START_DATE' | customTranslate : 'Start Date' }}*</label>\n <input type=\"date\" max=\"9999-12-31\" [(ngModel)]=\"startDate\" id=\"start-date\" [max]=\"endDate\" name=\"startDate\"\n format=\"mm-dd-yyyy\" class=\"input-border\" (change)=\"leaveCalc()\"/>\n </div>\n\n <div class=\"field-input\"\n [class]=\"dateErr ? 'has-error' : '' \">\n <label class=\"modal-field-label\" for=\"end-date\">{{'APP.END_DATE' | customTranslate : 'End Date' }}*</label>\n <input type=\"date\" max=\"9999-12-31\" [(ngModel)]=\"endDate\" id=\"end-date\" [min]=\"startDate\" name=\"endDate\"\n format=\"mm-dd-yyyy\" class=\"input-border\" (change)=\"leaveCalc()\" />\n <p *ngIf=\"dateErr\" class=\"error-msg\">\n <span> {{ 'APP.SELECT_VALID_DATE' | customTranslate : 'Select valid date' }}\n </span>\n </p>\n </div>\n </div>\n </div>\n </div>\n <div class=\"m-2 d-flex justify-content-end\" *ngIf=\"!isDateFilter\">\n <!-- MY 15OCT26 support button loader on button item, componentData, or multiple-filter input -->\n <app-fusion-button *ngFor=\"let button of buttonList\" [buttonLoadingSpinner]=\"button.buttonLoadingSpinner || button.isButtonLoadingSpinner || isButtonLoadingSpinner || componentData?.isButtonLoadingSpinner\" [buttonType]=\"button.class\" [buttonValue]=\"button.labelPath || button.label | customTranslate : button.label\"\n (buttonClickEmit)=\"buttonClick(button)\">\n </app-fusion-button>\n </div>\n</div>\n",
1648
- styles: [".row{margin-left:0;margin-right:0}.search{display:flex;justify-content:space-between;border:1px solid var(--border-color);border-radius:6px}.search-bar{display:flex;flex-direction:row;width:100%;margin:3px}\n"],
1648
+ styles: [".row{margin-left:0;margin-right:0}.search{display:flex;justify-content:space-between;border:1px solid var(--fb-border-default, #e2e8f0);border-radius:6px}.search-bar{display:flex;flex-direction:row;width:100%;margin:3px}\n"],
1649
1649
  dependencies: [
1650
1650
  {
1651
1651
  kind: "ngmodule",
@@ -1799,7 +1799,7 @@ i0.ɵɵngDeclareClassMetadata({
1799
1799
  CustomTranslatePipe
1800
1800
  ],
1801
1801
  template: "<!-- SK03OCT24 Multi Filter component -->\n<div class=\"card flex {{cardClass}} {{cardSize}}\">\n <div>\n <div class=\"fw-bold\" style=\"padding: 5px 10px 5px;\">{{label}}</div>\n </div>\n <!-- <div class=\"search m-3\">\n <div class=\"search-bar flex\">\n <input class=\"medium-font width-100\" type=\"text\" placeholder=\"Search\" [(ngModel)]=\"searchText\"\n style=\"border:none;\">\n <img class=\"card-btn\" src=\"../assets/images/icons/general/Search.svg\">\n </div>\n </div> -->\n <div style=\"{{checkBoxStyles}}\">\n <div class=\"flex flex-wrap px-2\" *ngIf=\"!isDateFilter\">\n <div class=\"{{cardInlineSize}}\" *ngFor=\"let list of selectionData; let i = index\">\n <div class=\"\">\n <label class=\"text-wrap align-self-center\" style=\"font-size: small;\" >{{list.labelPath || list.label | customTranslate : list.label}}</label>\n <div *ngIf=\"componentData.type !== 'crossFilter'\">\n <app-drop-down [lists]=\"list.allValues\" [multipleSelectedView]=\"list.selectedValues\" selectedData=\"Select\" [multipleSelect]=\"true\" (multipleSelectDataEmit)=\"multipleSelectDataEmit($event, list)\"></app-drop-down>\n </div>\n <!-- SKS10JAN25 for cross filter check box -->\n <div *ngIf=\"componentData.type === 'crossFilter'\">\n <app-drop-down [lists]=\"list.allValues\" [multipleSelectedView]=\"list.filterFields\" selectedData=\"Select\" [controlName]=\"componentData.type\" [multipleSelect]=\"true\" (multipleSelectDataEmit)=\"multipleSelectDataEmit($event, list)\"></app-drop-down>\n </div>\n </div>\n </div>\n </div>\n <div class=\"flex flex-wrap\" *ngIf=\"isDateFilter\">\n <div class=\"d-flex justify-content-between px-2\" [class]=\"cardInlineSize\">\n <!-- SK03OCT24 startDate and endDate inputs -->\n <div class=\"field-input\">\n <label class=\"modal-field-label\" for=\"end-date\">{{'APP.START_DATE' | customTranslate : 'Start Date' }}*</label>\n <input type=\"date\" max=\"9999-12-31\" [(ngModel)]=\"startDate\" id=\"start-date\" [max]=\"endDate\" name=\"startDate\"\n format=\"mm-dd-yyyy\" class=\"input-border\" (change)=\"leaveCalc()\"/>\n </div>\n\n <div class=\"field-input\"\n [class]=\"dateErr ? 'has-error' : '' \">\n <label class=\"modal-field-label\" for=\"end-date\">{{'APP.END_DATE' | customTranslate : 'End Date' }}*</label>\n <input type=\"date\" max=\"9999-12-31\" [(ngModel)]=\"endDate\" id=\"end-date\" [min]=\"startDate\" name=\"endDate\"\n format=\"mm-dd-yyyy\" class=\"input-border\" (change)=\"leaveCalc()\" />\n <p *ngIf=\"dateErr\" class=\"error-msg\">\n <span> {{ 'APP.SELECT_VALID_DATE' | customTranslate : 'Select valid date' }}\n </span>\n </p>\n </div>\n </div>\n </div>\n </div>\n <div class=\"m-2 d-flex justify-content-end\" *ngIf=\"!isDateFilter\">\n <!-- MY 15OCT26 support button loader on button item, componentData, or multiple-filter input -->\n <app-fusion-button *ngFor=\"let button of buttonList\" [buttonLoadingSpinner]=\"button.buttonLoadingSpinner || button.isButtonLoadingSpinner || isButtonLoadingSpinner || componentData?.isButtonLoadingSpinner\" [buttonType]=\"button.class\" [buttonValue]=\"button.labelPath || button.label | customTranslate : button.label\"\n (buttonClickEmit)=\"buttonClick(button)\">\n </app-fusion-button>\n </div>\n</div>\n",
1802
- styles: [".row{margin-left:0;margin-right:0}.search{display:flex;justify-content:space-between;border:1px solid var(--border-color);border-radius:6px}.search-bar{display:flex;flex-direction:row;width:100%;margin:3px}\n"]
1802
+ styles: [".row{margin-left:0;margin-right:0}.search{display:flex;justify-content:space-between;border:1px solid var(--fb-border-default, #e2e8f0);border-radius:6px}.search-bar{display:flex;flex-direction:row;width:100%;margin:3px}\n"]
1803
1803
  }]
1804
1804
  }],
1805
1805
  ctorParameters: () => [{ type: i0.ChangeDetectorRef }],
@@ -1910,7 +1910,7 @@ var PaginationComponent = class PaginationComponent {
1910
1910
  usesOnChanges: true,
1911
1911
  ngImport: i0,
1912
1912
  template: "<!-- SKS24JAN25 -->\n<div class=\"flex content-space-between main-cont\">\n <div class=\"info\">\n <div *ngIf=\"endIndex\">\n {{'APP.SHOWING_DATA' | customTranslate : 'Showing data'}} {{ startIndex + 1 }} {{'APP.TO' | customTranslate : 'to'}} {{ endIndex }} {{'APP.OF' | customTranslate : 'of'}} {{ collectionSize }} {{'APP.ENTRIES' | customTranslate : 'entries'}}\n </div>\n </div>\n <nav style=\"padding-top: 16px;\">\n <ul [class]=\"small ? 'pagination pagination-sm' : 'pagination'\" style=\"align-items: center;\">\n <!-- select button -->\n <label style=\"font-size: 14px; font-weight: var(--fw-400); padding-right: 10px; color: var(--fb-text-secondary, #64748b);\" for=\"perPage\">{{'APP.RESULTS_PER_PAGE' | customTranslate : 'Results per page'}}</label>\n <div class=\"dropdown-wrapper\">\n <select id=\"perPage\" [ngModel]=\"pageSize\" (ngModelChange)=\"onPageSizeChange($event)\">\n <option *ngFor=\"let size of pageSizeOptions\" [value]=\"size\">{{ size }}</option>\n </select>\n <svg class=\"dropdown-arrow\" width=\"9\" height=\"6\" viewBox=\"0 0 9 6\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M0.684136 0.767477C0.922999 0.5378 1.30282 0.545248 1.5325 0.784111L4.5 3.93431L7.4675 0.784111C7.69718 0.545248 8.077 0.5378 8.31587 0.767477C8.55473 0.997153 8.56218 1.37698 8.3325 1.61584L4.9325 5.21584C4.81938 5.33349 4.66321 5.39998 4.5 5.39998C4.33679 5.39998 4.18062 5.33349 4.0675 5.21584L0.667501 1.61584C0.437825 1.37698 0.445272 0.997153 0.684136 0.767477Z\" fill=\"currentColor\"/>\n </svg> \n </div> \n <!-- first button -->\n <li [class]=\"currentPage === 1 ? 'page-item disabled' : 'page-item'\" *ngIf=\"firstLastButtons\" >\n <button class=\"page-link\" (click)=\"selectPageNumber(1)\">««</button>\n </li>\n <!-- last button -->\n <li [class]=\"currentPage === totalPages.length ? 'page-item disabled' : 'page-item'\" *ngIf=\"firstLastButtons\">\n <button class=\"page-link\" (click)=\"selectPageNumber(totalPages.length)\">»»</button>\n </li>\n <!-- previous button -->\n <li [class]=\"currentPage === 1 ? 'page-item disabled' : 'page-item'\" *ngIf=\"nextPreviousButtons\" >\n <button class=\"page-link\" (click)=\"previous()\">«</button>\n </li>\n <!-- page numbers -->\n <ng-container *ngFor=\"let p of totalPages; index as i\">\n <li *ngIf=\"i + 1 >= currentPage - maxSize && i + 1 <= currentPage + maxSize\" [class]=\"currentPage === i + 1 ? 'page-item active' : 'page-item'\">\n <button class=\"page-link\" (click)=\"selectPageNumber(i + 1)\">\n {{ i + 1 }}\n </button>\n </li>\n </ng-container>\n <!-- next button -->\n <li [class]=\"currentPage === totalPages.length ? 'page-item disabled' : 'page-item'\" *ngIf=\"nextPreviousButtons\">\n <button class=\"page-link\" (click)=\"next()\">»</button>\n </li>\n </ul>\n </nav>\n</div>\n ",
1913
- styles: [".info{color:var(--fb-text-secondary, #64748b);font-size:var(--fs-medium);font-weight:var(--fw-500)}button{background:var(--fb-surface, #ffffff);border:1px solid var(--fb-border-default, #e2e8f0);color:var(--fb-text-primary, #0f172a);padding:2px 10px;cursor:pointer;transition:.3s}button:hover{border:1px solid var(--fb-border-strong, #cbd5e1);background:var(--fb-surface-secondary, #f8fafc);color:var(--fb-text-primary, #0f172a)!important}button:disabled{opacity:.5;color:var(--fb-text-disabled, #94a3b8);border-color:var(--fb-border-subtle, #f1f5f9);cursor:not-allowed}button.active{background:var(--fb-action, #003566);color:var(--fb-text-on-action, #ffffff);border-color:var(--fb-action, #003566)}select{margin-right:10px}select.value{font-size:2px;margin-right:10px}.main-cont{align-items:center}#perPage{font-size:var(--fs-medium);color:var(--fb-text-primary, #0f172a);background-color:var(--fb-surface, #ffffff);border:1px solid var(--fb-border-default, #e2e8f0);border-radius:4px;padding-top:2px;padding-left:7px;padding-bottom:2px;font-weight:var(--fw-400);appearance:none;-webkit-appearance:none;-moz-appearance:none;position:relative}#perPage:hover{background-color:var(--fb-surface, #ffffff);color:var(--fb-text-primary, #0f172a)!important;border-color:var(--fb-border-strong, #cbd5e1)}.dropdown-wrapper{position:relative;display:inline-block;width:60px;margin-right:10px}.dropdown-wrapper select{width:88%;padding:7px;font-size:var(--fs-primary);border:1px solid var(--fb-border-default, #e2e8f0);border-radius:4px;appearance:none;-webkit-appearance:none;-moz-appearance:none;background:none;color:var(--fb-text-primary, #0f172a)}.dropdown-wrapper .dropdown-arrow{position:absolute;right:15px;top:50%;transform:translateY(-50%);pointer-events:none;color:var(--fb-text-secondary, #64748b)}li{color:var(--fb-text-primary, #0f172a)!important;font-family:var(--ff-primary)!important;font-size:var(--fs-small)!important;padding:6px!important}::ng-deep .pagination{--bs-pagination-font-size: none !important}::ng-deep .page-item:not(:first-child) .page-link{border-radius:4px!important}.page-link{color:var(--fb-text-primary, #0f172a)!important;background-color:var(--fb-surface, #ffffff);border:1px solid var(--fb-border-default, #e2e8f0)}::ng-deep .page-link.active,.active>.page-link{background-color:var(--fb-action, #003566)!important;color:var(--fb-text-on-action, #ffffff)!important;border-color:var(--fb-action, #003566)!important}::ng-deep .page-link.active:hover,.active>.page-link:hover{background-color:var(--fb-action-hover, #00284d)!important;color:var(--fb-text-on-action, #ffffff)!important;border-color:var(--fb-action-hover, #00284d)!important}\n"],
1913
+ styles: [".info{color:var(--fb-text-secondary, #64748b);font-size:var(--fs-medium);font-weight:var(--fw-500)}button{background:var(--comp-bg-color, #ffffff);border:1px solid var(--fb-border-default, #e2e8f0);color:var(--fb-text-primary, #0f172a);padding:2px 10px;cursor:pointer;transition:.3s}button:hover{border:1px solid var(--fb-border-strong, #cbd5e1);background:var(--fb-surface-secondary, #f8fafc);color:var(--fb-text-primary, #0f172a)!important}button:disabled{opacity:.5;color:var(--fb-text-disabled, #94a3b8);border-color:var(--fb-border-subtle, #f1f5f9);cursor:not-allowed}button.active{background:var(--fb-selected-bg, #003566);color:var(--fb-selected-text, #ffffff);border-color:var(--fb-selected-border, #003566)}select{margin-right:10px}select.value{font-size:2px;margin-right:10px}.main-cont{align-items:center}#perPage{font-size:var(--fs-medium);color:var(--fb-text-primary, #0f172a);background-color:var(--comp-bg-color, #ffffff);border:1px solid var(--fb-border-default, #e2e8f0);border-radius:4px;padding-top:2px;padding-left:7px;padding-bottom:2px;font-weight:var(--fw-400);appearance:none;-webkit-appearance:none;-moz-appearance:none;position:relative}#perPage:hover{background-color:var(--comp-bg-color, #ffffff);color:var(--fb-text-primary, #0f172a)!important;border-color:var(--fb-border-strong, #cbd5e1)}.dropdown-wrapper{position:relative;display:inline-block;width:60px;margin-right:10px}.dropdown-wrapper select{width:88%;padding:7px;font-size:var(--fs-primary);border:1px solid var(--fb-border-default, #e2e8f0);border-radius:4px;appearance:none;-webkit-appearance:none;-moz-appearance:none;background:none;color:var(--fb-text-primary, #0f172a)}.dropdown-wrapper .dropdown-arrow{position:absolute;right:15px;top:50%;transform:translateY(-50%);pointer-events:none;color:var(--fb-text-secondary, #64748b)}li{color:var(--fb-text-primary, #0f172a)!important;font-family:var(--ff-primary)!important;font-size:var(--fs-small)!important;padding:6px!important}::ng-deep .pagination{--bs-pagination-font-size: none !important}::ng-deep .page-item:not(:first-child) .page-link{border-radius:4px!important}.page-link{color:var(--fb-text-primary, #0f172a)!important;background-color:var(--comp-bg-color, #ffffff);border:1px solid var(--fb-border-default, #e2e8f0)}::ng-deep .page-link.active,.active>.page-link{background-color:var(--fb-selected-bg, #003566)!important;color:var(--fb-selected-text, #ffffff)!important;border-color:var(--fb-selected-border, #003566)!important}::ng-deep .page-link.active:hover,.active>.page-link:hover{background-color:var(--fb-selected-hover, #00284d)!important;color:var(--fb-selected-text, #ffffff)!important;border-color:var(--fb-selected-hover, #00284d)!important}\n"],
1914
1914
  dependencies: [
1915
1915
  {
1916
1916
  kind: "ngmodule",
@@ -2000,7 +2000,7 @@ i0.ɵɵngDeclareClassMetadata({
2000
2000
  CustomTranslatePipe
2001
2001
  ],
2002
2002
  template: "<!-- SKS24JAN25 -->\n<div class=\"flex content-space-between main-cont\">\n <div class=\"info\">\n <div *ngIf=\"endIndex\">\n {{'APP.SHOWING_DATA' | customTranslate : 'Showing data'}} {{ startIndex + 1 }} {{'APP.TO' | customTranslate : 'to'}} {{ endIndex }} {{'APP.OF' | customTranslate : 'of'}} {{ collectionSize }} {{'APP.ENTRIES' | customTranslate : 'entries'}}\n </div>\n </div>\n <nav style=\"padding-top: 16px;\">\n <ul [class]=\"small ? 'pagination pagination-sm' : 'pagination'\" style=\"align-items: center;\">\n <!-- select button -->\n <label style=\"font-size: 14px; font-weight: var(--fw-400); padding-right: 10px; color: var(--fb-text-secondary, #64748b);\" for=\"perPage\">{{'APP.RESULTS_PER_PAGE' | customTranslate : 'Results per page'}}</label>\n <div class=\"dropdown-wrapper\">\n <select id=\"perPage\" [ngModel]=\"pageSize\" (ngModelChange)=\"onPageSizeChange($event)\">\n <option *ngFor=\"let size of pageSizeOptions\" [value]=\"size\">{{ size }}</option>\n </select>\n <svg class=\"dropdown-arrow\" width=\"9\" height=\"6\" viewBox=\"0 0 9 6\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M0.684136 0.767477C0.922999 0.5378 1.30282 0.545248 1.5325 0.784111L4.5 3.93431L7.4675 0.784111C7.69718 0.545248 8.077 0.5378 8.31587 0.767477C8.55473 0.997153 8.56218 1.37698 8.3325 1.61584L4.9325 5.21584C4.81938 5.33349 4.66321 5.39998 4.5 5.39998C4.33679 5.39998 4.18062 5.33349 4.0675 5.21584L0.667501 1.61584C0.437825 1.37698 0.445272 0.997153 0.684136 0.767477Z\" fill=\"currentColor\"/>\n </svg> \n </div> \n <!-- first button -->\n <li [class]=\"currentPage === 1 ? 'page-item disabled' : 'page-item'\" *ngIf=\"firstLastButtons\" >\n <button class=\"page-link\" (click)=\"selectPageNumber(1)\">««</button>\n </li>\n <!-- last button -->\n <li [class]=\"currentPage === totalPages.length ? 'page-item disabled' : 'page-item'\" *ngIf=\"firstLastButtons\">\n <button class=\"page-link\" (click)=\"selectPageNumber(totalPages.length)\">»»</button>\n </li>\n <!-- previous button -->\n <li [class]=\"currentPage === 1 ? 'page-item disabled' : 'page-item'\" *ngIf=\"nextPreviousButtons\" >\n <button class=\"page-link\" (click)=\"previous()\">«</button>\n </li>\n <!-- page numbers -->\n <ng-container *ngFor=\"let p of totalPages; index as i\">\n <li *ngIf=\"i + 1 >= currentPage - maxSize && i + 1 <= currentPage + maxSize\" [class]=\"currentPage === i + 1 ? 'page-item active' : 'page-item'\">\n <button class=\"page-link\" (click)=\"selectPageNumber(i + 1)\">\n {{ i + 1 }}\n </button>\n </li>\n </ng-container>\n <!-- next button -->\n <li [class]=\"currentPage === totalPages.length ? 'page-item disabled' : 'page-item'\" *ngIf=\"nextPreviousButtons\">\n <button class=\"page-link\" (click)=\"next()\">»</button>\n </li>\n </ul>\n </nav>\n</div>\n ",
2003
- styles: [".info{color:var(--fb-text-secondary, #64748b);font-size:var(--fs-medium);font-weight:var(--fw-500)}button{background:var(--fb-surface, #ffffff);border:1px solid var(--fb-border-default, #e2e8f0);color:var(--fb-text-primary, #0f172a);padding:2px 10px;cursor:pointer;transition:.3s}button:hover{border:1px solid var(--fb-border-strong, #cbd5e1);background:var(--fb-surface-secondary, #f8fafc);color:var(--fb-text-primary, #0f172a)!important}button:disabled{opacity:.5;color:var(--fb-text-disabled, #94a3b8);border-color:var(--fb-border-subtle, #f1f5f9);cursor:not-allowed}button.active{background:var(--fb-action, #003566);color:var(--fb-text-on-action, #ffffff);border-color:var(--fb-action, #003566)}select{margin-right:10px}select.value{font-size:2px;margin-right:10px}.main-cont{align-items:center}#perPage{font-size:var(--fs-medium);color:var(--fb-text-primary, #0f172a);background-color:var(--fb-surface, #ffffff);border:1px solid var(--fb-border-default, #e2e8f0);border-radius:4px;padding-top:2px;padding-left:7px;padding-bottom:2px;font-weight:var(--fw-400);appearance:none;-webkit-appearance:none;-moz-appearance:none;position:relative}#perPage:hover{background-color:var(--fb-surface, #ffffff);color:var(--fb-text-primary, #0f172a)!important;border-color:var(--fb-border-strong, #cbd5e1)}.dropdown-wrapper{position:relative;display:inline-block;width:60px;margin-right:10px}.dropdown-wrapper select{width:88%;padding:7px;font-size:var(--fs-primary);border:1px solid var(--fb-border-default, #e2e8f0);border-radius:4px;appearance:none;-webkit-appearance:none;-moz-appearance:none;background:none;color:var(--fb-text-primary, #0f172a)}.dropdown-wrapper .dropdown-arrow{position:absolute;right:15px;top:50%;transform:translateY(-50%);pointer-events:none;color:var(--fb-text-secondary, #64748b)}li{color:var(--fb-text-primary, #0f172a)!important;font-family:var(--ff-primary)!important;font-size:var(--fs-small)!important;padding:6px!important}::ng-deep .pagination{--bs-pagination-font-size: none !important}::ng-deep .page-item:not(:first-child) .page-link{border-radius:4px!important}.page-link{color:var(--fb-text-primary, #0f172a)!important;background-color:var(--fb-surface, #ffffff);border:1px solid var(--fb-border-default, #e2e8f0)}::ng-deep .page-link.active,.active>.page-link{background-color:var(--fb-action, #003566)!important;color:var(--fb-text-on-action, #ffffff)!important;border-color:var(--fb-action, #003566)!important}::ng-deep .page-link.active:hover,.active>.page-link:hover{background-color:var(--fb-action-hover, #00284d)!important;color:var(--fb-text-on-action, #ffffff)!important;border-color:var(--fb-action-hover, #00284d)!important}\n"]
2003
+ styles: [".info{color:var(--fb-text-secondary, #64748b);font-size:var(--fs-medium);font-weight:var(--fw-500)}button{background:var(--comp-bg-color, #ffffff);border:1px solid var(--fb-border-default, #e2e8f0);color:var(--fb-text-primary, #0f172a);padding:2px 10px;cursor:pointer;transition:.3s}button:hover{border:1px solid var(--fb-border-strong, #cbd5e1);background:var(--fb-surface-secondary, #f8fafc);color:var(--fb-text-primary, #0f172a)!important}button:disabled{opacity:.5;color:var(--fb-text-disabled, #94a3b8);border-color:var(--fb-border-subtle, #f1f5f9);cursor:not-allowed}button.active{background:var(--fb-selected-bg, #003566);color:var(--fb-selected-text, #ffffff);border-color:var(--fb-selected-border, #003566)}select{margin-right:10px}select.value{font-size:2px;margin-right:10px}.main-cont{align-items:center}#perPage{font-size:var(--fs-medium);color:var(--fb-text-primary, #0f172a);background-color:var(--comp-bg-color, #ffffff);border:1px solid var(--fb-border-default, #e2e8f0);border-radius:4px;padding-top:2px;padding-left:7px;padding-bottom:2px;font-weight:var(--fw-400);appearance:none;-webkit-appearance:none;-moz-appearance:none;position:relative}#perPage:hover{background-color:var(--comp-bg-color, #ffffff);color:var(--fb-text-primary, #0f172a)!important;border-color:var(--fb-border-strong, #cbd5e1)}.dropdown-wrapper{position:relative;display:inline-block;width:60px;margin-right:10px}.dropdown-wrapper select{width:88%;padding:7px;font-size:var(--fs-primary);border:1px solid var(--fb-border-default, #e2e8f0);border-radius:4px;appearance:none;-webkit-appearance:none;-moz-appearance:none;background:none;color:var(--fb-text-primary, #0f172a)}.dropdown-wrapper .dropdown-arrow{position:absolute;right:15px;top:50%;transform:translateY(-50%);pointer-events:none;color:var(--fb-text-secondary, #64748b)}li{color:var(--fb-text-primary, #0f172a)!important;font-family:var(--ff-primary)!important;font-size:var(--fs-small)!important;padding:6px!important}::ng-deep .pagination{--bs-pagination-font-size: none !important}::ng-deep .page-item:not(:first-child) .page-link{border-radius:4px!important}.page-link{color:var(--fb-text-primary, #0f172a)!important;background-color:var(--comp-bg-color, #ffffff);border:1px solid var(--fb-border-default, #e2e8f0)}::ng-deep .page-link.active,.active>.page-link{background-color:var(--fb-selected-bg, #003566)!important;color:var(--fb-selected-text, #ffffff)!important;border-color:var(--fb-selected-border, #003566)!important}::ng-deep .page-link.active:hover,.active>.page-link:hover{background-color:var(--fb-selected-hover, #00284d)!important;color:var(--fb-selected-text, #ffffff)!important;border-color:var(--fb-selected-hover, #00284d)!important}\n"]
2004
2004
  }]
2005
2005
  }],
2006
2006
  ctorParameters: () => [],
@@ -2090,7 +2090,7 @@ var PopoverComponent = class PopoverComponent {
2090
2090
  },
2091
2091
  ngImport: i0,
2092
2092
  template: "<!--SKS4FEB25 Hover Trigger Element -->\n<div cdk-overlay-origin #trigger=\"cdkOverlayOrigin\" class=\"hover-base\" \n (mouseenter)=\"openPopover()\" \n (mouseleave)=\"closePopoverWithDelay()\">\n <ng-content select=\".hover-base\"></ng-content>\n</div>\n<!--SKS4FEB25 Popover Content Template -->\n<ng-template #popoverContent>\n <ng-content select=\".hover-content\"></ng-content>\n</ng-template>\n\n\n<!-- Bootstrap Popover -->\n<div *ngIf=\"isBootstrap\" class=\"bc-popover\">\n <div class=\"btn btn-secondary me-2\" data-bs-container=\"body\" data-bs-trigger=\"hover\" data-bs-toggle=\"popover\" data-bs-placement=\"top\" [attr.data-bs-content]=\"dynamicPopover\">\n <ng-container *ngTemplateOutlet=\"popoverContent\"></ng-container>\n </div>\n</div>\n\n<!-- Fusion Custom Popover -->\n<!-- MR 19SEP26 Popover Overlay with outside-click and hover handlers -->\n<ng-template cdk-connected-overlay\n [cdkConnectedOverlayOrigin]=\"trigger\"\n [cdkConnectedOverlayOpen]=\"isPopoverOpen\"\n [cdkConnectedOverlayScrollStrategy]=\"createScrollStrategy()\"\n (overlayOutsideClick)=\"closeImmediately()\">\n <div *ngIf=\"!isBootstrap\" class=\"fusion-popover popover-base\"\n (mouseenter)=\"keepPopoverOpen()\" \n (mouseleave)=\"closePopoverWithDelay()\">\n <ng-container *ngTemplateOutlet=\"popoverContent\"></ng-container>\n </div>\n</ng-template>",
2093
- styles: [".fusion-popover{position:relative}.popover-content{display:none;position:fixed;z-index:1000;right:0;border:1px solid var(--border-color);background-color:var(--comp-bg-color);border-radius:4px}.popover-base{padding-left:10px}.popover-base:hover>.popover-content{display:block}.popover-content:has(.white-parent){border-radius:8px;background:var(--comp-bg-color);box-shadow:0 0 16px var(--box-shadow-color)}\n"],
2093
+ styles: [".fusion-popover{position:relative}.popover-content{display:none;position:fixed;z-index:1000;right:0;border:1px solid var(--fb-border-default, #e2e8f0);background-color:var(--fb-surface-elevated, #ffffff);border-radius:4px}.popover-base{padding-left:10px}.popover-base:hover>.popover-content{display:block}.popover-content:has(.white-parent){border-radius:8px;background:var(--fb-surface-elevated, #ffffff);box-shadow:0 0 16px var(--fb-backdrop, rgba(0, 0, 0, .12))}\n"],
2094
2094
  dependencies: [
2095
2095
  {
2096
2096
  kind: "ngmodule",
@@ -2192,7 +2192,7 @@ i0.ɵɵngDeclareClassMetadata({
2192
2192
  ],
2193
2193
  changeDetection: ChangeDetectionStrategy.OnPush,
2194
2194
  template: "<!--SKS4FEB25 Hover Trigger Element -->\n<div cdk-overlay-origin #trigger=\"cdkOverlayOrigin\" class=\"hover-base\" \n (mouseenter)=\"openPopover()\" \n (mouseleave)=\"closePopoverWithDelay()\">\n <ng-content select=\".hover-base\"></ng-content>\n</div>\n<!--SKS4FEB25 Popover Content Template -->\n<ng-template #popoverContent>\n <ng-content select=\".hover-content\"></ng-content>\n</ng-template>\n\n\n<!-- Bootstrap Popover -->\n<div *ngIf=\"isBootstrap\" class=\"bc-popover\">\n <div class=\"btn btn-secondary me-2\" data-bs-container=\"body\" data-bs-trigger=\"hover\" data-bs-toggle=\"popover\" data-bs-placement=\"top\" [attr.data-bs-content]=\"dynamicPopover\">\n <ng-container *ngTemplateOutlet=\"popoverContent\"></ng-container>\n </div>\n</div>\n\n<!-- Fusion Custom Popover -->\n<!-- MR 19SEP26 Popover Overlay with outside-click and hover handlers -->\n<ng-template cdk-connected-overlay\n [cdkConnectedOverlayOrigin]=\"trigger\"\n [cdkConnectedOverlayOpen]=\"isPopoverOpen\"\n [cdkConnectedOverlayScrollStrategy]=\"createScrollStrategy()\"\n (overlayOutsideClick)=\"closeImmediately()\">\n <div *ngIf=\"!isBootstrap\" class=\"fusion-popover popover-base\"\n (mouseenter)=\"keepPopoverOpen()\" \n (mouseleave)=\"closePopoverWithDelay()\">\n <ng-container *ngTemplateOutlet=\"popoverContent\"></ng-container>\n </div>\n</ng-template>",
2195
- styles: [".fusion-popover{position:relative}.popover-content{display:none;position:fixed;z-index:1000;right:0;border:1px solid var(--border-color);background-color:var(--comp-bg-color);border-radius:4px}.popover-base{padding-left:10px}.popover-base:hover>.popover-content{display:block}.popover-content:has(.white-parent){border-radius:8px;background:var(--comp-bg-color);box-shadow:0 0 16px var(--box-shadow-color)}\n"]
2195
+ styles: [".fusion-popover{position:relative}.popover-content{display:none;position:fixed;z-index:1000;right:0;border:1px solid var(--fb-border-default, #e2e8f0);background-color:var(--fb-surface-elevated, #ffffff);border-radius:4px}.popover-base{padding-left:10px}.popover-base:hover>.popover-content{display:block}.popover-content:has(.white-parent){border-radius:8px;background:var(--fb-surface-elevated, #ffffff);box-shadow:0 0 16px var(--fb-backdrop, rgba(0, 0, 0, .12))}\n"]
2196
2196
  }]
2197
2197
  }],
2198
2198
  ctorParameters: () => [{ type: i1$2.Overlay }, { type: i0.ChangeDetectorRef }],
@@ -2458,8 +2458,8 @@ var FileUploadComponent = class FileUploadComponent {
2458
2458
  radioSelectEmit: "radioSelectEmit"
2459
2459
  },
2460
2460
  ngImport: i0,
2461
- template: "<div class=\"file-modal-backdrop\" *ngIf=\"showFileModal\">\n <div class=\"file-modal\">\n <!-- Body -->\n <div class=\"file-modal-body\">\n <!-- SKS3APR26 Header -->\n <div class=\"file-modal-header\">\n <h2>{{ headerName }}</h2>\n <button class=\"close-btn\" (click)=\"close()\">\n <!-- MR 19OCT26 {refactor inline html template styling to theme tokens} -->\n <i class=\"fusion-icon fusion-icon-size-xl fusion-icon-close-square header-sub-icon\" style=\"color: var(--fc-text-color-dark, #000000);\"></i>\n </button>\n </div>\n <p *ngIf=\"bodyHeaderName\" class=\"steps-title\">{{ bodyHeaderName }}</p>\n <ol *ngIf=\"isTemplate || bodyContent.length > 1\" class=\"steps-list\" style=\"font-size: 13px;\">\n @if(isTemplate){\n <li class=\"fc-lite\" style=\"font-size: 13px;\">\n @if(templateContent){\n {{ templateContent }}\n }\n <span class=\"step-link\" style=\"font-size: 13px;\" (click)=\"downloadTemplate()\">\n {{ 'APP_HRM_EMPLOYEES_EMPLOYEES.HERE' | customTranslate : 'here'}}\n </span>.\n </li>\n }\n @if(bodyContent.length > 1 || isTemplate){\n <ng-container *ngFor=\"let cont of bodyContent\">\n <li style=\"font-size: 13px;\" class=\"fc-lite\">{{ cont }}</li>\n </ng-container>\n } \n </ol>\n @if(bodyContent.length === 1 && !isTemplate) {\n <div style=\"margin-bottom: 10px; font-size: 13px;\" class=\"fc-lite\"> {{ bodyContent?.[0] }} </div>\n }\n <nxt-file-upload [allFiles]=\"uploadedFiles\" mode=\"edit\" [fileConfig]=\"fileRestrictions\" [dragAndDrop]=\"true\"\n (selectedFileData)=\"onFileSelected($event)\" [hideSubtext]=\"true\"\n (deletedFileData)=\"deleteFile($event)\">\n </nxt-file-upload>\n <div style=\"margin-bottom: 5px; font-size: 13px;\" class=\"fc-lite\"> \n @if(allowedFileTypes.length > 0) {\n Only support {{ allowedFileTypes.join(', ') }}\n }\n </div>\n </div>\n <!-- MR 18OCT26 Refactor action button styles to theme tokens -->\n <div class=\"file-modal-footer\">\n <nxt-button class=\"data-table-fsbtn\"\n (buttonClickEmit)=\"uploadFile()\" [btnTextColor]=\"'var(--fc-text-color, #ffffff)'\"\n [buttonDisable]=\"isLoading\"\n [btnBorder]=\"'1'\" [btnBorderColor]=\"'var(--border-color)'\"\n [btnBorderRadius]=\"'8'\" \n [buttonType]=\"'custom-btn'\" [isLoading]=\"isLoading\"\n [buttonValue]=\"'APP_HRM_EMPLOYEES_EMPLOYEES.SAVE' | customTranslate :'Save'\">\n </nxt-button>\n <nxt-button (buttonClickEmit)=\"close()\" [buttonValue]=\"'APP_HRM_EMPLOYEES_EMPLOYEES.CANCEL' | customTranslate :'Cancel'\"\n [btnBgColor]=\"'var(--comp-bg-color)'\" [btnTextColor]=\"'var(--fc-primary-color)'\" [btnBorder]=\"'1'\"\n [btnBorderColor]=\"'var(--border-color)'\" [btnBorderRadius]=\"'8'\"\n [buttonType]=\"'custom-btn'\">\n </nxt-button>\n </div>\n </div>\n</div>",
2462
- styles: [".drag-drop-files{width:100%;border:2px dashed var(--fc-primary-color);border-radius:10px;padding:25px;background:color-mix(in srgb,var(--fc-primary-color),rgba(0,0,0,0) 90%);cursor:pointer;position:relative}.drag-drop-files input{padding:0;margin:0;height:.1px;width:.1px;position:absolute;top:0;left:0}.upload-preview-wrapper{margin:15px 6px 0;overflow-y:scroll;height:400px;gap:10px;justify-content:space-between;padding-block:20px}.preview-section{position:relative;overflow:scroll;min-width:180px}.preview-section .i-frame-wrapper{overflow:scroll;height:150px}.preview-section .badge{margin-top:0}.i-frame{height:78%!important;width:100%}.i-frame ::ng-deep body:has(img){margin:0;height:100%}.i-frame ::ng-deep img{object-fit:contain;width:100%;height:100%}.file-name{font-size:var(--fs-normal);color:color-mix(in srgb,var(--fc-text-color-dark),rgb(0,0,0) 80%);padding-left:10px}.upload-information span{display:inline-flex;font-size:var(--fs-small);color:color-mix(in srgb,var(--fc-text-color-dark),rgb(0,0,0) 80%)}.vertical-separator{width:1px;height:23px;background:color-mix(in srgb,var(--fc-text-color-dark),rgba(0,0,0,0) 60%);margin:2px 5px}.drag-drop-header{color:var(--fc-primary-color);font-size:18px}.or-break{position:relative;font-size:var(--fs-medium);color:color-mix(in srgb,var(--fc-text-color-dark),rgba(0,0,0,0) 60%)}.or-break:before,.or-break:after{width:75px;height:1px;background:color-mix(in srgb,var(--fc-text-color-dark),rgba(0,0,0,0) 30%);content:\"\";position:absolute;top:50%}.or-break:before{left:calc(50% - 90px)}.or-break:after{right:calc(50% - 90px)}.i-frame-wrapper .badge{border-radius:0}.file-modal-backdrop{position:fixed;inset:0;background:var(--box-shadow-color, rgba(20, 20, 20, .55));-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;justify-content:center;align-items:center;z-index:99999}.file-modal{background:var(--comp-bg-color);width:520px;max-width:95%;border-radius:var(--radius-large, 12px);padding:0;box-shadow:var(--shadow-lg);animation:fadeIn .25s ease;overflow:hidden}.file-modal-header{padding:18px 0 0;display:flex;justify-content:space-between;align-items:center}.file-modal-header h2{margin:0;font-size:17px;font-weight:700}.close-btn{background:transparent;border:none;font-size:26px;line-height:20px;cursor:pointer;color:var(--fc-text-color-dark);padding:0}.file-modal-body{padding:0 22px}.steps-title{margin-bottom:5px}.steps-list li{margin-bottom:8px;color:var(--fc-sub-lite);line-height:1.45}.step-link{color:var(--fc-primary-color);cursor:pointer;text-decoration:underline}.step-link:hover{color:var(--fc-primary-hover)!important}.file-modal-footer{padding:5px 15px 22px;gap:10px;display:flex;justify-content:center}\n"],
2461
+ template: "<div class=\"file-modal-backdrop\" *ngIf=\"showFileModal\">\n <div class=\"file-modal\">\n <!-- Body -->\n <div class=\"file-modal-body\">\n <!-- SKS3APR26 Header -->\n <div class=\"file-modal-header\">\n <h2>{{ headerName }}</h2>\n <button class=\"close-btn\" (click)=\"close()\">\n <!-- MR 16NOV26 Remediate template icon color to semantic token -->\n <i class=\"fusion-icon fusion-icon-size-xl fusion-icon-close-square header-sub-icon\" style=\"color: var(--fb-text-primary, #0f172a);\"></i>\n </button>\n </div>\n <p *ngIf=\"bodyHeaderName\" class=\"steps-title\">{{ bodyHeaderName }}</p>\n <ol *ngIf=\"isTemplate || bodyContent.length > 1\" class=\"steps-list\" style=\"font-size: 13px;\">\n @if(isTemplate){\n <li class=\"fc-lite\" style=\"font-size: 13px;\">\n @if(templateContent){\n {{ templateContent }}\n }\n <span class=\"step-link\" style=\"font-size: 13px;\" (click)=\"downloadTemplate()\">\n {{ 'APP_HRM_EMPLOYEES_EMPLOYEES.HERE' | customTranslate : 'here'}}\n </span>.\n </li>\n }\n @if(bodyContent.length > 1 || isTemplate){\n <ng-container *ngFor=\"let cont of bodyContent\">\n <li style=\"font-size: 13px;\" class=\"fc-lite\">{{ cont }}</li>\n </ng-container>\n } \n </ol>\n @if(bodyContent.length === 1 && !isTemplate) {\n <div style=\"margin-bottom: 10px; font-size: 13px;\" class=\"fc-lite\"> {{ bodyContent?.[0] }} </div>\n }\n <nxt-file-upload [allFiles]=\"uploadedFiles\" mode=\"edit\" [fileConfig]=\"fileRestrictions\" [dragAndDrop]=\"true\"\n (selectedFileData)=\"onFileSelected($event)\" [hideSubtext]=\"true\"\n (deletedFileData)=\"deleteFile($event)\">\n </nxt-file-upload>\n <div style=\"margin-bottom: 5px; font-size: 13px;\" class=\"fc-lite\"> \n @if(allowedFileTypes.length > 0) {\n Only support {{ allowedFileTypes.join(', ') }}\n }\n </div>\n </div>\n <!-- MR 18OCT26 Refactor action button styles to theme tokens -->\n <div class=\"file-modal-footer\">\n <nxt-button class=\"data-table-fsbtn\"\n (buttonClickEmit)=\"uploadFile()\" [btnTextColor]=\"'var(--fb-text-on-action, #ffffff)'\"\n [buttonDisable]=\"isLoading\"\n [btnBorder]=\"'1'\" [btnBorderColor]=\"'var(--fb-border-default, #e2e8f0)'\"\n [btnBorderRadius]=\"'8'\" \n [buttonType]=\"'custom-btn'\" [isLoading]=\"isLoading\"\n [buttonValue]=\"'APP_HRM_EMPLOYEES_EMPLOYEES.SAVE' | customTranslate :'Save'\">\n </nxt-button>\n <nxt-button (buttonClickEmit)=\"close()\" [buttonValue]=\"'APP_HRM_EMPLOYEES_EMPLOYEES.CANCEL' | customTranslate :'Cancel'\"\n [btnBgColor]=\"'var(--comp-bg-color)'\" [btnTextColor]=\"'var(--fc-primary-color)'\" [btnBorder]=\"'1'\"\n [btnBorderColor]=\"'var(--border-color)'\" [btnBorderRadius]=\"'8'\"\n [buttonType]=\"'custom-btn'\">\n </nxt-button>\n </div>\n </div>\n</div>",
2462
+ styles: [".drag-drop-files{width:100%;border:2px dashed var(--fb-action-border, #bae6fd);border-radius:10px;padding:25px;background:var(--fb-action-surface, #e0f2fe);cursor:pointer;position:relative}.drag-drop-files input{padding:0;margin:0;height:.1px;width:.1px;position:absolute;top:0;left:0}.upload-preview-wrapper{margin:15px 6px 0;overflow-y:scroll;height:400px;gap:10px;justify-content:space-between;padding-block:20px}.preview-section{position:relative;overflow:scroll;min-width:180px}.preview-section .i-frame-wrapper{overflow:scroll;height:150px}.preview-section .badge{margin-top:0}.i-frame{height:78%!important;width:100%}.i-frame ::ng-deep body:has(img){margin:0;height:100%}.i-frame ::ng-deep img{object-fit:contain;width:100%;height:100%}.file-name{font-size:var(--fs-normal);color:var(--fb-text-primary, #0f172a);padding-left:10px}.upload-information span{display:inline-flex;font-size:var(--fs-small);color:var(--fb-text-secondary, #64748b)}.vertical-separator{width:1px;height:23px;background:var(--fb-border-default, #e2e8f0);margin:2px 5px}.drag-drop-header{color:var(--fc-primary-color, #0140c1);font-size:18px}.or-break{position:relative;font-size:var(--fs-medium);color:var(--fb-text-muted, #94a3b8)}.or-break:before,.or-break:after{width:75px;height:1px;background:var(--fb-border-subtle, #f1f5f9);content:\"\";position:absolute;top:50%}.or-break:before{left:calc(50% - 90px)}.or-break:after{right:calc(50% - 90px)}.i-frame-wrapper .badge{border-radius:0}.file-modal-backdrop{position:fixed;inset:0;background:var(--fb-backdrop, rgba(0, 0, 0, .5));-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;justify-content:center;align-items:center;z-index:99999}.file-modal{background:var(--fb-surface-elevated, #ffffff);width:520px;max-width:95%;border-radius:var(--radius-large, 12px);padding:0;box-shadow:var(--shadow-lg);animation:fadeIn .25s ease;overflow:hidden}.file-modal-header{padding:18px 0 0;display:flex;justify-content:space-between;align-items:center}.file-modal-header h2{margin:0;font-size:17px;font-weight:700}.close-btn{background:transparent;border:none;font-size:26px;line-height:20px;cursor:pointer;color:var(--fb-text-primary, #0f172a);padding:0}.file-modal-body{padding:0 22px}.steps-title{margin-bottom:5px}.steps-list li{margin-bottom:8px;color:var(--fb-text-muted, #94a3b8);line-height:1.45}.step-link{color:var(--fc-primary-color, #0140c1);cursor:pointer;text-decoration:underline}.step-link:hover{color:var(--fb-action-hover, #00284d)!important}.file-modal-footer{padding:5px 15px 22px;gap:10px;display:flex;justify-content:center}\n"],
2463
2463
  dependencies: [
2464
2464
  {
2465
2465
  kind: "ngmodule",
@@ -2563,8 +2563,8 @@ i0.ɵɵngDeclareClassMetadata({
2563
2563
  NxtFileUpload,
2564
2564
  NxtButtonComponent
2565
2565
  ],
2566
- template: "<div class=\"file-modal-backdrop\" *ngIf=\"showFileModal\">\n <div class=\"file-modal\">\n <!-- Body -->\n <div class=\"file-modal-body\">\n <!-- SKS3APR26 Header -->\n <div class=\"file-modal-header\">\n <h2>{{ headerName }}</h2>\n <button class=\"close-btn\" (click)=\"close()\">\n <!-- MR 19OCT26 {refactor inline html template styling to theme tokens} -->\n <i class=\"fusion-icon fusion-icon-size-xl fusion-icon-close-square header-sub-icon\" style=\"color: var(--fc-text-color-dark, #000000);\"></i>\n </button>\n </div>\n <p *ngIf=\"bodyHeaderName\" class=\"steps-title\">{{ bodyHeaderName }}</p>\n <ol *ngIf=\"isTemplate || bodyContent.length > 1\" class=\"steps-list\" style=\"font-size: 13px;\">\n @if(isTemplate){\n <li class=\"fc-lite\" style=\"font-size: 13px;\">\n @if(templateContent){\n {{ templateContent }}\n }\n <span class=\"step-link\" style=\"font-size: 13px;\" (click)=\"downloadTemplate()\">\n {{ 'APP_HRM_EMPLOYEES_EMPLOYEES.HERE' | customTranslate : 'here'}}\n </span>.\n </li>\n }\n @if(bodyContent.length > 1 || isTemplate){\n <ng-container *ngFor=\"let cont of bodyContent\">\n <li style=\"font-size: 13px;\" class=\"fc-lite\">{{ cont }}</li>\n </ng-container>\n } \n </ol>\n @if(bodyContent.length === 1 && !isTemplate) {\n <div style=\"margin-bottom: 10px; font-size: 13px;\" class=\"fc-lite\"> {{ bodyContent?.[0] }} </div>\n }\n <nxt-file-upload [allFiles]=\"uploadedFiles\" mode=\"edit\" [fileConfig]=\"fileRestrictions\" [dragAndDrop]=\"true\"\n (selectedFileData)=\"onFileSelected($event)\" [hideSubtext]=\"true\"\n (deletedFileData)=\"deleteFile($event)\">\n </nxt-file-upload>\n <div style=\"margin-bottom: 5px; font-size: 13px;\" class=\"fc-lite\"> \n @if(allowedFileTypes.length > 0) {\n Only support {{ allowedFileTypes.join(', ') }}\n }\n </div>\n </div>\n <!-- MR 18OCT26 Refactor action button styles to theme tokens -->\n <div class=\"file-modal-footer\">\n <nxt-button class=\"data-table-fsbtn\"\n (buttonClickEmit)=\"uploadFile()\" [btnTextColor]=\"'var(--fc-text-color, #ffffff)'\"\n [buttonDisable]=\"isLoading\"\n [btnBorder]=\"'1'\" [btnBorderColor]=\"'var(--border-color)'\"\n [btnBorderRadius]=\"'8'\" \n [buttonType]=\"'custom-btn'\" [isLoading]=\"isLoading\"\n [buttonValue]=\"'APP_HRM_EMPLOYEES_EMPLOYEES.SAVE' | customTranslate :'Save'\">\n </nxt-button>\n <nxt-button (buttonClickEmit)=\"close()\" [buttonValue]=\"'APP_HRM_EMPLOYEES_EMPLOYEES.CANCEL' | customTranslate :'Cancel'\"\n [btnBgColor]=\"'var(--comp-bg-color)'\" [btnTextColor]=\"'var(--fc-primary-color)'\" [btnBorder]=\"'1'\"\n [btnBorderColor]=\"'var(--border-color)'\" [btnBorderRadius]=\"'8'\"\n [buttonType]=\"'custom-btn'\">\n </nxt-button>\n </div>\n </div>\n</div>",
2567
- styles: [".drag-drop-files{width:100%;border:2px dashed var(--fc-primary-color);border-radius:10px;padding:25px;background:color-mix(in srgb,var(--fc-primary-color),rgba(0,0,0,0) 90%);cursor:pointer;position:relative}.drag-drop-files input{padding:0;margin:0;height:.1px;width:.1px;position:absolute;top:0;left:0}.upload-preview-wrapper{margin:15px 6px 0;overflow-y:scroll;height:400px;gap:10px;justify-content:space-between;padding-block:20px}.preview-section{position:relative;overflow:scroll;min-width:180px}.preview-section .i-frame-wrapper{overflow:scroll;height:150px}.preview-section .badge{margin-top:0}.i-frame{height:78%!important;width:100%}.i-frame ::ng-deep body:has(img){margin:0;height:100%}.i-frame ::ng-deep img{object-fit:contain;width:100%;height:100%}.file-name{font-size:var(--fs-normal);color:color-mix(in srgb,var(--fc-text-color-dark),rgb(0,0,0) 80%);padding-left:10px}.upload-information span{display:inline-flex;font-size:var(--fs-small);color:color-mix(in srgb,var(--fc-text-color-dark),rgb(0,0,0) 80%)}.vertical-separator{width:1px;height:23px;background:color-mix(in srgb,var(--fc-text-color-dark),rgba(0,0,0,0) 60%);margin:2px 5px}.drag-drop-header{color:var(--fc-primary-color);font-size:18px}.or-break{position:relative;font-size:var(--fs-medium);color:color-mix(in srgb,var(--fc-text-color-dark),rgba(0,0,0,0) 60%)}.or-break:before,.or-break:after{width:75px;height:1px;background:color-mix(in srgb,var(--fc-text-color-dark),rgba(0,0,0,0) 30%);content:\"\";position:absolute;top:50%}.or-break:before{left:calc(50% - 90px)}.or-break:after{right:calc(50% - 90px)}.i-frame-wrapper .badge{border-radius:0}.file-modal-backdrop{position:fixed;inset:0;background:var(--box-shadow-color, rgba(20, 20, 20, .55));-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;justify-content:center;align-items:center;z-index:99999}.file-modal{background:var(--comp-bg-color);width:520px;max-width:95%;border-radius:var(--radius-large, 12px);padding:0;box-shadow:var(--shadow-lg);animation:fadeIn .25s ease;overflow:hidden}.file-modal-header{padding:18px 0 0;display:flex;justify-content:space-between;align-items:center}.file-modal-header h2{margin:0;font-size:17px;font-weight:700}.close-btn{background:transparent;border:none;font-size:26px;line-height:20px;cursor:pointer;color:var(--fc-text-color-dark);padding:0}.file-modal-body{padding:0 22px}.steps-title{margin-bottom:5px}.steps-list li{margin-bottom:8px;color:var(--fc-sub-lite);line-height:1.45}.step-link{color:var(--fc-primary-color);cursor:pointer;text-decoration:underline}.step-link:hover{color:var(--fc-primary-hover)!important}.file-modal-footer{padding:5px 15px 22px;gap:10px;display:flex;justify-content:center}\n"]
2566
+ template: "<div class=\"file-modal-backdrop\" *ngIf=\"showFileModal\">\n <div class=\"file-modal\">\n <!-- Body -->\n <div class=\"file-modal-body\">\n <!-- SKS3APR26 Header -->\n <div class=\"file-modal-header\">\n <h2>{{ headerName }}</h2>\n <button class=\"close-btn\" (click)=\"close()\">\n <!-- MR 16NOV26 Remediate template icon color to semantic token -->\n <i class=\"fusion-icon fusion-icon-size-xl fusion-icon-close-square header-sub-icon\" style=\"color: var(--fb-text-primary, #0f172a);\"></i>\n </button>\n </div>\n <p *ngIf=\"bodyHeaderName\" class=\"steps-title\">{{ bodyHeaderName }}</p>\n <ol *ngIf=\"isTemplate || bodyContent.length > 1\" class=\"steps-list\" style=\"font-size: 13px;\">\n @if(isTemplate){\n <li class=\"fc-lite\" style=\"font-size: 13px;\">\n @if(templateContent){\n {{ templateContent }}\n }\n <span class=\"step-link\" style=\"font-size: 13px;\" (click)=\"downloadTemplate()\">\n {{ 'APP_HRM_EMPLOYEES_EMPLOYEES.HERE' | customTranslate : 'here'}}\n </span>.\n </li>\n }\n @if(bodyContent.length > 1 || isTemplate){\n <ng-container *ngFor=\"let cont of bodyContent\">\n <li style=\"font-size: 13px;\" class=\"fc-lite\">{{ cont }}</li>\n </ng-container>\n } \n </ol>\n @if(bodyContent.length === 1 && !isTemplate) {\n <div style=\"margin-bottom: 10px; font-size: 13px;\" class=\"fc-lite\"> {{ bodyContent?.[0] }} </div>\n }\n <nxt-file-upload [allFiles]=\"uploadedFiles\" mode=\"edit\" [fileConfig]=\"fileRestrictions\" [dragAndDrop]=\"true\"\n (selectedFileData)=\"onFileSelected($event)\" [hideSubtext]=\"true\"\n (deletedFileData)=\"deleteFile($event)\">\n </nxt-file-upload>\n <div style=\"margin-bottom: 5px; font-size: 13px;\" class=\"fc-lite\"> \n @if(allowedFileTypes.length > 0) {\n Only support {{ allowedFileTypes.join(', ') }}\n }\n </div>\n </div>\n <!-- MR 18OCT26 Refactor action button styles to theme tokens -->\n <div class=\"file-modal-footer\">\n <nxt-button class=\"data-table-fsbtn\"\n (buttonClickEmit)=\"uploadFile()\" [btnTextColor]=\"'var(--fb-text-on-action, #ffffff)'\"\n [buttonDisable]=\"isLoading\"\n [btnBorder]=\"'1'\" [btnBorderColor]=\"'var(--fb-border-default, #e2e8f0)'\"\n [btnBorderRadius]=\"'8'\" \n [buttonType]=\"'custom-btn'\" [isLoading]=\"isLoading\"\n [buttonValue]=\"'APP_HRM_EMPLOYEES_EMPLOYEES.SAVE' | customTranslate :'Save'\">\n </nxt-button>\n <nxt-button (buttonClickEmit)=\"close()\" [buttonValue]=\"'APP_HRM_EMPLOYEES_EMPLOYEES.CANCEL' | customTranslate :'Cancel'\"\n [btnBgColor]=\"'var(--comp-bg-color)'\" [btnTextColor]=\"'var(--fc-primary-color)'\" [btnBorder]=\"'1'\"\n [btnBorderColor]=\"'var(--border-color)'\" [btnBorderRadius]=\"'8'\"\n [buttonType]=\"'custom-btn'\">\n </nxt-button>\n </div>\n </div>\n</div>",
2567
+ styles: [".drag-drop-files{width:100%;border:2px dashed var(--fb-action-border, #bae6fd);border-radius:10px;padding:25px;background:var(--fb-action-surface, #e0f2fe);cursor:pointer;position:relative}.drag-drop-files input{padding:0;margin:0;height:.1px;width:.1px;position:absolute;top:0;left:0}.upload-preview-wrapper{margin:15px 6px 0;overflow-y:scroll;height:400px;gap:10px;justify-content:space-between;padding-block:20px}.preview-section{position:relative;overflow:scroll;min-width:180px}.preview-section .i-frame-wrapper{overflow:scroll;height:150px}.preview-section .badge{margin-top:0}.i-frame{height:78%!important;width:100%}.i-frame ::ng-deep body:has(img){margin:0;height:100%}.i-frame ::ng-deep img{object-fit:contain;width:100%;height:100%}.file-name{font-size:var(--fs-normal);color:var(--fb-text-primary, #0f172a);padding-left:10px}.upload-information span{display:inline-flex;font-size:var(--fs-small);color:var(--fb-text-secondary, #64748b)}.vertical-separator{width:1px;height:23px;background:var(--fb-border-default, #e2e8f0);margin:2px 5px}.drag-drop-header{color:var(--fc-primary-color, #0140c1);font-size:18px}.or-break{position:relative;font-size:var(--fs-medium);color:var(--fb-text-muted, #94a3b8)}.or-break:before,.or-break:after{width:75px;height:1px;background:var(--fb-border-subtle, #f1f5f9);content:\"\";position:absolute;top:50%}.or-break:before{left:calc(50% - 90px)}.or-break:after{right:calc(50% - 90px)}.i-frame-wrapper .badge{border-radius:0}.file-modal-backdrop{position:fixed;inset:0;background:var(--fb-backdrop, rgba(0, 0, 0, .5));-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;justify-content:center;align-items:center;z-index:99999}.file-modal{background:var(--fb-surface-elevated, #ffffff);width:520px;max-width:95%;border-radius:var(--radius-large, 12px);padding:0;box-shadow:var(--shadow-lg);animation:fadeIn .25s ease;overflow:hidden}.file-modal-header{padding:18px 0 0;display:flex;justify-content:space-between;align-items:center}.file-modal-header h2{margin:0;font-size:17px;font-weight:700}.close-btn{background:transparent;border:none;font-size:26px;line-height:20px;cursor:pointer;color:var(--fb-text-primary, #0f172a);padding:0}.file-modal-body{padding:0 22px}.steps-title{margin-bottom:5px}.steps-list li{margin-bottom:8px;color:var(--fb-text-muted, #94a3b8);line-height:1.45}.step-link{color:var(--fc-primary-color, #0140c1);cursor:pointer;text-decoration:underline}.step-link:hover{color:var(--fb-action-hover, #00284d)!important}.file-modal-footer{padding:5px 15px 22px;gap:10px;display:flex;justify-content:center}\n"]
2568
2568
  }]
2569
2569
  }],
2570
2570
  ctorParameters: () => [],
@@ -3309,8 +3309,8 @@ var SideScreenComponent = class SideScreenComponent {
3309
3309
  },
3310
3310
  outputs: { sideScreenEmittedEvent: "sideScreenEmittedEvent" },
3311
3311
  ngImport: i0,
3312
- template: "<!-- <div class=\"side-screen\">\n <div class=\"side-header\">\n <p class=\"flex content-space-between mb-0\">{{headerTitle}}\n <span class=\"close-icon\"><img src=\"../assets/images/icons/general/cross-icon.svg\" (click)=\"sideScreenEmittedEvent.emit({'open': false})\" style=\"cursor: pointer;\" class=\"svg-icon-white\"></span>\n </p>\n </div>\n <div class=\"side-content\"> -->\n <form class=\"addPayRollComponent\" [formGroup]=\"addPayRollComponent\" (ngSubmit)=\"submitPayRollComponent()\">\n <!-- <div class=\"scrollable-content\"> -->\n <div class=\"row\">\n <div class=\"col-md-10\">\n <label class=\"label-txt\">{{ 'APP_HRM_PAYROLL_SETTINGS.COMPONENT_TYPE' | customTranslate : 'Component Type' }}<span style=\"color: var(--clr-error, #dc3545);\">*</span></label> \n <app-drop-down [lists]='componentTypeList' tabindex=\"1\" dropDownHeight=\"38px\" dropDownWidth=\"100%\" (dataEmit)=\"dropdownEmitFunction($event, 'type')\" [selectedData]=\"selectedComponentType\"></app-drop-down>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-md-10 mt-2\">\n <label class=\"label-txt\">{{'APP_HRM_PAYROLL_SETTINGS.COMPONENT_NAME' | customTranslate : 'Component Name' }}<span style=\"color: var(--clr-error, #dc3545);\">*</span></label>\n <app-drop-down [lists]=\"nameList\" tabindex=\"1\" dropDownHeight=\"38px\" dropDownWidth=\"100%\"\n (dataEmit)=\"dropdownEmitFunction($event, 'name')\" [selectedData]=\"selectedComp\">\n </app-drop-down>\n <div *ngIf=\"selectedComp === otherSection || selectedComp === 'Reimbursements' \" [class]=\"addPayRollComponent.controls['name'].invalid && addPayRollComponent.controls['name'].touched ? 'has-error' : '' \">\n <input [matTooltip]=\"'APP_HRM_PAYROLL_SETTINGS.COMPONENT_NAME_TOOL_TIP' | customTranslate : 'Underscores and Spaces are not allowed'\" type=\"text\" class=\"form-control\" tabindex=\"2\" [placeholder]=\"'APP_HRM_PAYROLL_SETTINGS.COMPONENT_NAME' | customTranslate : 'Component Name'\"\n aria-label=\"Text input with dropdown button\" formControlName=\"name\">\n </div>\n <p class=\"error-fields\"\n [style]=\"addPayRollComponent.controls['name'].invalid && addPayRollComponent.controls['name'].touched && addPayRollComponent.controls['name'].hasError('pattern') ? 'display: block' : 'display: none'\">{{ 'APP_HRM_PAYROLL_SETTINGS.VAL_INPUT' | customTranslate : 'Enter valid input' }}</p>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-md-10 mt-2\">\n <label class=\"label-txt\">{{'APP_HRM_PAYROLL_SETTINGS.NAME_IN_PAYSLIP' | customTranslate : 'Name in Payslip' }}<span style=\"color: var(--clr-error, #dc3545);\">*</span></label>\n <div [class]=\"addPayRollComponent.controls['nameInPaySlip'].invalid && addPayRollComponent.controls['nameInPaySlip'].touched ? 'has-error' : '' \">\n <input type=\"text\" class=\"form-control\" tabindex=\"3\" [placeholder]=\"'APP_HRM_PAYROLL_SETTINGS.NAME_IN_PAYSLIP' | customTranslate : 'Name in Payslip'\"\n aria-label=\"Text input with dropdown button\" formControlName=\"nameInPaySlip\">\n </div>\n <p class=\"error-fields\"\n [style]=\"addPayRollComponent.controls['nameInPaySlip'].invalid && addPayRollComponent.controls['nameInPaySlip'].touched ? 'display: block' : 'display: none' \">{{ 'APP_HRM_PAYROLL_SETTINGS.VAL_INPUT' | customTranslate : 'Enter valid input' }}</p>\n </div>\n </div>\n <!-- SK15JUL24 adding isVariable type -->\n <div class=\"row\" *ngIf=\"addPayRollComponent.controls['type'].value === 'Earnings'\">\n <div class=\"col-md-11 mt-2\">\n <!-- SK02JUN25 fixed and variable components added -->\n <label class=\"label-txt\">{{ 'APP_HRM_PAYROLL_SETTINGS.PAY_TYPE' | customTranslate : 'Pay Type' }}</label>\n <div class=\"ms-4\">\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"isVariablePay\" tabindex=\"12\"\n formControlName=\"isVariablePay\" [value]=\"false\" (click)=\"radioEmit('isVariablePay', false)\" />\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.FIXED_COMPONENT' | customTranslate : 'Fixed Component' }}</span>\n </label>\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"isVariablePay\" tabindex=\"11\"\n formControlName=\"isVariablePay\" [value]=\"true\" (click)=\"radioEmit('isVariablePay', true)\"/>\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.VARIABLE_COMPONENT' | customTranslate : 'Variable Component' }}</span>\n </label>\n </div>\n </div>\n </div>\n <div class=\"row\" *ngIf=\"addPayRollComponent.controls['isVariablePay'].value === true || addPayRollComponent.controls['type'].value === 'Deductions'\">\n <div class=\"col-md-11 mt-2\">\n <!-- SK02JUN25 fixed and variable components added -->\n <label class=\"label-txt\">{{ 'APP_HRM_PAYROLL_SETTINGS.IS_PART_OF_CTC' | customTranslate : 'Is Part of CTC' }}</label>\n <div class=\"ms-4\">\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"isPartOfCTC\" tabindex=\"12\"\n formControlName=\"isPartOfCTC\" [value]=\"true\" />\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.YES' | customTranslate : 'Yes' }}</span>\n </label>\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"isPartOfCTC\" tabindex=\"11\"\n formControlName=\"isPartOfCTC\" [value]=\"false\"/>\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.NO' | customTranslate : 'No' }}</span>\n </label>\n </div>\n </div>\n </div>\n <div class=\"show-only-if type-is-deduction\" *ngIf=\"addPayRollComponent.controls['type'].value == 'Allowances' || addPayRollComponent.controls['type'].value == 'Earnings' \" >\n <div class=\"col-md-11 mt-2\" *ngIf=\"addPayRollComponent.controls['isVariablePay'].value\">\n <label class=\"label-txt\">{{ 'APP_HRM_PAYROLL_SETTINGS.FREQUENCY' | customTranslate : 'Frequency' }}</label>\n <div class=\"ms-4\">\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"proRataBasis\" tabindex=\"12\"\n formControlName=\"proRataBasis\" [value]=\"'regular'\" />\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.REGULAR' | customTranslate : 'Regular' }}</span>\n </label>\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"proRataBasis\" tabindex=\"11\"\n formControlName=\"proRataBasis\" [value]=\"'oneTime'\"/>\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.ONE_TIME' | customTranslate : 'One Time' }}</span>\n </label>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-md-11 mt-2\">\n <label class=\"label-txt\">{{ 'APP_HRM_PAYROLL_SETTINGS.CALCULATION_TYPE' | customTranslate : 'Calculation Type' }}</label>\n <div class=\"flex flex-direction-row\">\n <div class=\"ms-4\">\n <label *ngIf=\"selectedComp !== basicPay \" class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"calculationType\" tabindex=\"7\"\n formControlName=\"calculationType\" [value]=\"'flat'\"\n /> <!-- (focusout)=\"handlePayType($event)\"\n (keyup)=\"handlePayType($event)\" -->\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.FLAT_AMOUNT' | customTranslate : 'Flat Amount' }}</span>\n </label>\n <label *ngIf=\"selectedComp !== basicPay \" class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"calculationType\" tabindex=\"8\"\n formControlName=\"calculationType\" [value]=\"'percentage'\"\n /> <!-- (focusout)=\"handlePayType($event)\"\n (keyup)=\"handlePayType($event)\" -->\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.PERCENTAGE_BASIC' | customTranslate : 'Percentage of Basic' }}</span>\n </label>\n <label *ngIf=\"selectedComp !== basicPay \" class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"calculationType\" tabindex=\"8\"\n formControlName=\"calculationType\" [value]=\"'basicAndDA'\"\n /> <!-- (focusout)=\"handlePayType($event)\"\n (keyup)=\"handlePayType($event)\" -->\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.PERCENTAGE_BASIC_DA' | customTranslate : 'Percentage of Basic and DA' }}</span>\n </label>\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"calculationType\" tabindex=\"9\"\n formControlName=\"calculationType\" [value]=\"'fixed'\"\n /> <!-- (focusout)=\"handlePayType($event)\"\n (keyup)=\"handlePayType($event)\" -->\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.GROSS_PER' | customTranslate : 'Percentage of Gross' }}</span>\n </label>\n <!-- SK02JUN25 % of CTC added -->\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"calculationType\" tabindex=\"9\"\n formControlName=\"calculationType\" [value]=\"'ctc'\"\n />\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.CTC_PER' | customTranslate : 'Percentage of CTC' }}</span>\n </label>\n </div>\n </div>\n <p class=\"error-msg\" *ngIf=\"addPayRollComponent.controls['calculationType'].invalid && addPayRollComponent.controls['calculationType'].touched\">\n <span>\n <img src=\"../assets/images/icons/general/warning icon.svg\">{{ 'APP_HRM_PAYROLL_SETTINGS.REQUIRED_FIELD' | customTranslate : 'This field is required.' }}\n </span>\n </p>\n </div>\n </div>\n <!-- SK25AUG25 if it is one time componente, amount input will will be disabled -->\n <div class=\"row\" *ngIf=\"addPayRollComponent.controls['proRataBasis'].value != 'oneTime' \">\n <div class=\"col-md-10 mt-2\">\n <label class=\"label-txt\">Enter {{addPayRollComponent.controls['calculationType'].value == 'flat' ? 'Amount' : 'Percentage'}}</label>\n <div [class]=\"addPayRollComponent.controls['amount'].invalid && addPayRollComponent.controls['amount'].touched ? 'has-error' : '' \" class=\"flex flex-row\">\n <input type=\"number\" class=\"form-control\" tabindex=\"10\" placeholder=\"\" [ngClass]=\"{'w-25':(addPayRollComponent.controls['calculationType'].value == 'percentage' || addPayRollComponent.controls['calculationType'].value == 'fixed' || addPayRollComponent.controls['calculationType'].value == 'ctc')}\"\n aria-label=\"Text input with dropdown button\" formControlName=\"amount\">\n <div class=\"ms-2 flex\" style=\"align-items: center;\">\n <div class=\"label-txt\" *ngIf=\"addPayRollComponent.controls['calculationType'].value == 'percentage'\">{{ 'APP_HRM_PAYROLL_SETTINGS.OF_BASIC' | customTranslate : 'of Basic' }}</div>\n <div *ngIf=\"addPayRollComponent.controls['calculationType'].value == 'fixed'\">{{ 'APP_HRM_PAYROLL_SETTINGS.OF_GROSS' | customTranslate : 'of Gross' }}</div>\n <div *ngIf=\"addPayRollComponent.controls['calculationType'].value == 'ctc'\">{{ 'APP_HRM_PAYROLL_SETTINGS.OF_CTC' | customTranslate : 'of CTC' }}</div>\n </div>\n </div>\n <p class=\"error-fields\"\n [style]=\"addPayRollComponent.controls['amount'].invalid && addPayRollComponent.controls['amount'].touched ? 'display: block' : 'display: none' \">{{ 'APP_HRM_PAYROLL_SETTINGS.ENTER_VALID_INPUT' | customTranslate : 'Enter valid input' }}</p>\n </div>\n </div>\n </div>\n <!-- <div class=\"show-only-if type-is-allowance-or-earnings\" *ngIf=\"addPayRollComponent.controls['type'].value == 'Deductions'\">\n <div class=\"row\">\n <div class=\"col-md-11 mt-2 pe-0\">\n <label class=\"label-txt\">Deduction frequency</label>\n <div class=\"flex flex-direction-row\">\n <div class=\"ms-4\">\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"deductionFrequency\" tabindex=\"4\"\n formControlName=\"deductionFrequency\" [value]=\"'recurring'\"\n />\n <span class=\"radio-text\">Recurring</span>\n </label>\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"deductionFrequency\" tabindex=\"5\"\n formControlName=\"deductionFrequency\" [value]=\"'one-time'\"\n />\n <span class=\"radio-text\">One time deduction</span>\n </label>\n </div>\n </div>\n <p class=\"error-msg\" *ngIf=\"addPayRollComponent.controls['deductionFrequency'].invalid && addPayRollComponent.controls['deductionFrequency'].touched\">\n <span>\n <img src=\"../assets/images/icons/general/warning icon.svg\">This field is required.\n </span>\n </p>\n </div>\n </div>\n </div> -->\n <div class=\"show-only-if type-is-allowance-or-reimbursements\" *ngIf=\"addPayRollComponent.controls['type'].value == 'Reimbursements'\">\n <div class=\"row\">\n <div class=\"col-md-11 mt-2 pe-0\">\n <label class=\"label-txt\">{{ 'APP_HRM_PAYROLL_SETTINGS.MAX_REIMBURSABLE_AMT' | customTranslate : 'Maximum Reimbursable Amount' }}</label>\n <div [class]=\"addPayRollComponent.controls['maxReimburse'].invalid && addPayRollComponent.controls['maxReimburse'].touched ? 'has-error' : '' \">\n <input type=\"text\" class=\"form-control\" tabindex=\"4\" placeholder=\"1000\"\n aria-label=\"Text input with dropdown button\" formControlName=\"maxReimburse\">\n </div>\n <p class=\"error-fields\"\n [style]=\"addPayRollComponent.controls['maxReimburse'].invalid && addPayRollComponent.controls['maxReimburse'].touched ? 'display: block' : 'display: none' \">{{ 'APP_HRM_PAYROLL_SETTINGS.ENTER_VALID_INPUT' | customTranslate : 'Enter valid input' }}</p>\n </div>\n </div>\n </div>\n <!-- SK20JUN25flexi benefit added -->\n <div class=\"row\" *ngIf=\"addPayRollComponent.controls['type'].value === 'Earnings' \">\n <div class=\"col-md-11 mt-2\">\n <mat-checkbox formControlName=\"isFlexiBenefitComponent\" tabindex=\"10\"><p class=\"label-txt mb-0\">{{'APP_HRM_PAYROLL_SETTINGS.IS_FLEXI_BENEFIT' | customTranslate : \"Is Flexi Benefit Component\" }}</p></mat-checkbox>\n </div>\n </div>\n <div class=\"row\" *ngIf=\"addPayRollComponent.controls['type'].value === 'Deductions' \">\n <div class=\"col-md-11 mt-2\">\n <mat-checkbox formControlName=\"isEmployerContribution\" tabindex=\"10\"><p class=\"label-txt mb-0\">{{'APP_HRM_PAYROLL_SETTINGS.IS_EMPLOYERS_CONTRIBUTION' | customTranslate : \"Is Employer's contribution\" }}</p></mat-checkbox>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-md-11 mt-2\">\n <!-- SK28FEB26 changes from 'Taxable' to 'Tax Exempted', so what components are exempted from tax is checked -->\n <mat-checkbox formControlName=\"taxable\" tabindex=\"13\" ><p class=\"label-txt mb-0\">{{ 'APP_HRM_PAYROLL_SETTINGS.TAXABLE_EXEMPTED' | customTranslate : 'Tax Exempted' }}</p></mat-checkbox>\n </div>\n </div>\n <div *ngIf=\"addPayRollComponent.controls['taxable'].value == true && addPayRollComponent.controls['type'].value == 'Deductions'\">\n <div class=\"row\">\n <div class=\"col-md-11 mt-2 pe-0\">\n <label class=\"label-txt\">{{ 'APP_HRM_PAYROLL_SETTINGS.UNDER_NEW_TAX' | customTranslate : 'Is Exempted under New Tax Regime' }}</label>\n <div class=\"flex flex-direction-row\">\n <div class=\"ms-4\">\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"isExempted\" tabindex=\"13\"\n formControlName=\"isExempted\" [value]=\"true\"\n />\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.YES' | customTranslate : 'Yes' }}</span>\n </label>\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"isExempted\" tabindex=\"14\"\n formControlName=\"isExempted\" [value]=\"false\"\n />\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.NO' | customTranslate : 'No' }}</span>\n </label>\n <!-- <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"isExempted\" tabindex=\"14\"\n formControlName=\"isExempted\" [value]=\"'bothRegime'\"\n />\n <span class=\"radio-text\">Both</span>\n </label> -->\n </div>\n </div>\n <p class=\"error-msg\" *ngIf=\"addPayRollComponent.controls['deductionFrequency'].invalid && addPayRollComponent.controls['deductionFrequency'].touched\">\n <span>\n <img src=\"../assets/images/icons/general/warning icon.svg\">{{ 'APP_HRM_PAYROLL_SETTINGS.REQUIRED_FIELD' | customTranslate : 'This field is required.' }}\n </span>\n </p>\n </div>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-md-11 mt-2\">\n <mat-checkbox formControlName=\"active\" tabindex=\"15\"><p class=\"label-txt mb-0\">{{ 'APP_HRM_PAYROLL_SETTINGS.MARK_AS_ACTIVE' | customTranslate : 'Mark this as Active' }}</p></mat-checkbox>\n </div>\n </div>\n <!-- MY 15OCT26 support button loader on save button and disable buttons while loading -->\n <div class=\"button-wrapper flex text-right mb-5\">\n <app-fusion-button [buttonLoadingSpinner]=\"buttonLoadingSpinner\" [buttonDisable]=\"!addPayRollComponent.valid || buttonLoadingSpinner\" [buttonType]=\"'ms-2 side-save-component'\" [tabIndex]=\"12\" buttonValue=\"{{ 'APP_HRM_PAYROLL_SETTINGS.SAVE' | customTranslate : 'Save' }}\" (buttonClickEmit)=\"hitPayrollSettingComponentApi($event)\"></app-fusion-button>\n <app-fusion-button [buttonDisable]=\"buttonLoadingSpinner\" [buttonType]=\"'text-only side-cancel-component'\" [tabIndex]=\"13\" buttonValue=\"{{ 'APP_HRM_PAYROLL_SETTINGS.CANCEL' | customTranslate : 'Cancel' }}\" (buttonClickEmit)=\"cancelSideScreen()\"></app-fusion-button>\n </div>\n </form>\n <!-- </div>\n</div> -->",
3313
- styles: [".side-screen{background:var(--comp-bg-color);max-width:415px;width:100%;position:absolute;right:0;top:0;height:100%;z-index:105;max-height:100vh;overflow:hidden;box-shadow:-1px 0 3px 1px var(--box-shadow-color)}.side-header{padding:12px 20px;border-bottom:1px solid var(--border-color)}.side-header .close-icon svg{transform:scale(1.5)}.side-content{padding-top:10px}.scrollable-content{max-height:calc(100vh - 190px);overflow:hidden;overflow-y:auto}.tiny-info-text{font-size:var(--fs-small);color:color-mix(in srgb,var(--fc-text-color-dark),rgb(0,0,0) 80%);font-weight:var(--fw-600)}.label-txt.increase-text,.side-content .form-control,.radio-text{font-size:var(--fs-small)}.error-fields{font-size:10px;color:red;padding:0;margin:0}.radio-text{margin-inline:5px;cursor:pointer}.addPayRollComponent .button-wrapper{margin-top:50px}\n"],
3312
+ template: "<!-- <div class=\"side-screen\">\n <div class=\"side-header\">\n <p class=\"flex content-space-between mb-0\">{{headerTitle}}\n <span class=\"close-icon\"><img src=\"../assets/images/icons/general/cross-icon.svg\" (click)=\"sideScreenEmittedEvent.emit({'open': false})\" style=\"cursor: pointer;\" class=\"svg-icon-white\"></span>\n </p>\n </div>\n <div class=\"side-content\"> -->\n <form class=\"addPayRollComponent\" [formGroup]=\"addPayRollComponent\" (ngSubmit)=\"submitPayRollComponent()\">\n <!-- <div class=\"scrollable-content\"> -->\n <div class=\"row\">\n <div class=\"col-md-10\">\n <label class=\"label-txt\">{{ 'APP_HRM_PAYROLL_SETTINGS.COMPONENT_TYPE' | customTranslate : 'Component Type' }}<span style=\"color: var(--fb-error-text, #ef4444);\">*</span></label> \n <app-drop-down [lists]='componentTypeList' tabindex=\"1\" dropDownHeight=\"38px\" dropDownWidth=\"100%\" (dataEmit)=\"dropdownEmitFunction($event, 'type')\" [selectedData]=\"selectedComponentType\"></app-drop-down>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-md-10 mt-2\">\n <label class=\"label-txt\">{{'APP_HRM_PAYROLL_SETTINGS.COMPONENT_NAME' | customTranslate : 'Component Name' }}<span style=\"color: var(--fb-error-text, #ef4444);\">*</span></label>\n <app-drop-down [lists]=\"nameList\" tabindex=\"1\" dropDownHeight=\"38px\" dropDownWidth=\"100%\"\n (dataEmit)=\"dropdownEmitFunction($event, 'name')\" [selectedData]=\"selectedComp\">\n </app-drop-down>\n <div *ngIf=\"selectedComp === otherSection || selectedComp === 'Reimbursements' \" [class]=\"addPayRollComponent.controls['name'].invalid && addPayRollComponent.controls['name'].touched ? 'has-error' : '' \">\n <input [matTooltip]=\"'APP_HRM_PAYROLL_SETTINGS.COMPONENT_NAME_TOOL_TIP' | customTranslate : 'Underscores and Spaces are not allowed'\" type=\"text\" class=\"form-control\" tabindex=\"2\" [placeholder]=\"'APP_HRM_PAYROLL_SETTINGS.COMPONENT_NAME' | customTranslate : 'Component Name'\"\n aria-label=\"Text input with dropdown button\" formControlName=\"name\">\n </div>\n <p class=\"error-fields\"\n [style]=\"addPayRollComponent.controls['name'].invalid && addPayRollComponent.controls['name'].touched && addPayRollComponent.controls['name'].hasError('pattern') ? 'display: block' : 'display: none'\">{{ 'APP_HRM_PAYROLL_SETTINGS.VAL_INPUT' | customTranslate : 'Enter valid input' }}</p>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-md-10 mt-2\">\n <label class=\"label-txt\">{{'APP_HRM_PAYROLL_SETTINGS.NAME_IN_PAYSLIP' | customTranslate : 'Name in Payslip' }}<span style=\"color: var(--fb-error-text, #ef4444);\">*</span></label>\n <div [class]=\"addPayRollComponent.controls['nameInPaySlip'].invalid && addPayRollComponent.controls['nameInPaySlip'].touched ? 'has-error' : '' \">\n <input type=\"text\" class=\"form-control\" tabindex=\"3\" [placeholder]=\"'APP_HRM_PAYROLL_SETTINGS.NAME_IN_PAYSLIP' | customTranslate : 'Name in Payslip'\"\n aria-label=\"Text input with dropdown button\" formControlName=\"nameInPaySlip\">\n </div>\n <p class=\"error-fields\"\n [style]=\"addPayRollComponent.controls['nameInPaySlip'].invalid && addPayRollComponent.controls['nameInPaySlip'].touched ? 'display: block' : 'display: none' \">{{ 'APP_HRM_PAYROLL_SETTINGS.VAL_INPUT' | customTranslate : 'Enter valid input' }}</p>\n </div>\n </div>\n <!-- SK15JUL24 adding isVariable type -->\n <div class=\"row\" *ngIf=\"addPayRollComponent.controls['type'].value === 'Earnings'\">\n <div class=\"col-md-11 mt-2\">\n <!-- SK02JUN25 fixed and variable components added -->\n <label class=\"label-txt\">{{ 'APP_HRM_PAYROLL_SETTINGS.PAY_TYPE' | customTranslate : 'Pay Type' }}</label>\n <div class=\"ms-4\">\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"isVariablePay\" tabindex=\"12\"\n formControlName=\"isVariablePay\" [value]=\"false\" (click)=\"radioEmit('isVariablePay', false)\" />\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.FIXED_COMPONENT' | customTranslate : 'Fixed Component' }}</span>\n </label>\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"isVariablePay\" tabindex=\"11\"\n formControlName=\"isVariablePay\" [value]=\"true\" (click)=\"radioEmit('isVariablePay', true)\"/>\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.VARIABLE_COMPONENT' | customTranslate : 'Variable Component' }}</span>\n </label>\n </div>\n </div>\n </div>\n <div class=\"row\" *ngIf=\"addPayRollComponent.controls['isVariablePay'].value === true || addPayRollComponent.controls['type'].value === 'Deductions'\">\n <div class=\"col-md-11 mt-2\">\n <!-- SK02JUN25 fixed and variable components added -->\n <label class=\"label-txt\">{{ 'APP_HRM_PAYROLL_SETTINGS.IS_PART_OF_CTC' | customTranslate : 'Is Part of CTC' }}</label>\n <div class=\"ms-4\">\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"isPartOfCTC\" tabindex=\"12\"\n formControlName=\"isPartOfCTC\" [value]=\"true\" />\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.YES' | customTranslate : 'Yes' }}</span>\n </label>\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"isPartOfCTC\" tabindex=\"11\"\n formControlName=\"isPartOfCTC\" [value]=\"false\"/>\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.NO' | customTranslate : 'No' }}</span>\n </label>\n </div>\n </div>\n </div>\n <div class=\"show-only-if type-is-deduction\" *ngIf=\"addPayRollComponent.controls['type'].value == 'Allowances' || addPayRollComponent.controls['type'].value == 'Earnings' \" >\n <div class=\"col-md-11 mt-2\" *ngIf=\"addPayRollComponent.controls['isVariablePay'].value\">\n <label class=\"label-txt\">{{ 'APP_HRM_PAYROLL_SETTINGS.FREQUENCY' | customTranslate : 'Frequency' }}</label>\n <div class=\"ms-4\">\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"proRataBasis\" tabindex=\"12\"\n formControlName=\"proRataBasis\" [value]=\"'regular'\" />\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.REGULAR' | customTranslate : 'Regular' }}</span>\n </label>\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"proRataBasis\" tabindex=\"11\"\n formControlName=\"proRataBasis\" [value]=\"'oneTime'\"/>\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.ONE_TIME' | customTranslate : 'One Time' }}</span>\n </label>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-md-11 mt-2\">\n <label class=\"label-txt\">{{ 'APP_HRM_PAYROLL_SETTINGS.CALCULATION_TYPE' | customTranslate : 'Calculation Type' }}</label>\n <div class=\"flex flex-direction-row\">\n <div class=\"ms-4\">\n <label *ngIf=\"selectedComp !== basicPay \" class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"calculationType\" tabindex=\"7\"\n formControlName=\"calculationType\" [value]=\"'flat'\"\n /> <!-- (focusout)=\"handlePayType($event)\"\n (keyup)=\"handlePayType($event)\" -->\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.FLAT_AMOUNT' | customTranslate : 'Flat Amount' }}</span>\n </label>\n <label *ngIf=\"selectedComp !== basicPay \" class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"calculationType\" tabindex=\"8\"\n formControlName=\"calculationType\" [value]=\"'percentage'\"\n /> <!-- (focusout)=\"handlePayType($event)\"\n (keyup)=\"handlePayType($event)\" -->\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.PERCENTAGE_BASIC' | customTranslate : 'Percentage of Basic' }}</span>\n </label>\n <label *ngIf=\"selectedComp !== basicPay \" class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"calculationType\" tabindex=\"8\"\n formControlName=\"calculationType\" [value]=\"'basicAndDA'\"\n /> <!-- (focusout)=\"handlePayType($event)\"\n (keyup)=\"handlePayType($event)\" -->\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.PERCENTAGE_BASIC_DA' | customTranslate : 'Percentage of Basic and DA' }}</span>\n </label>\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"calculationType\" tabindex=\"9\"\n formControlName=\"calculationType\" [value]=\"'fixed'\"\n /> <!-- (focusout)=\"handlePayType($event)\"\n (keyup)=\"handlePayType($event)\" -->\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.GROSS_PER' | customTranslate : 'Percentage of Gross' }}</span>\n </label>\n <!-- SK02JUN25 % of CTC added -->\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"calculationType\" tabindex=\"9\"\n formControlName=\"calculationType\" [value]=\"'ctc'\"\n />\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.CTC_PER' | customTranslate : 'Percentage of CTC' }}</span>\n </label>\n </div>\n </div>\n <p class=\"error-msg\" *ngIf=\"addPayRollComponent.controls['calculationType'].invalid && addPayRollComponent.controls['calculationType'].touched\">\n <span>\n <img src=\"../assets/images/icons/general/warning icon.svg\">{{ 'APP_HRM_PAYROLL_SETTINGS.REQUIRED_FIELD' | customTranslate : 'This field is required.' }}\n </span>\n </p>\n </div>\n </div>\n <!-- SK25AUG25 if it is one time componente, amount input will will be disabled -->\n <div class=\"row\" *ngIf=\"addPayRollComponent.controls['proRataBasis'].value != 'oneTime' \">\n <div class=\"col-md-10 mt-2\">\n <label class=\"label-txt\">Enter {{addPayRollComponent.controls['calculationType'].value == 'flat' ? 'Amount' : 'Percentage'}}</label>\n <div [class]=\"addPayRollComponent.controls['amount'].invalid && addPayRollComponent.controls['amount'].touched ? 'has-error' : '' \" class=\"flex flex-row\">\n <input type=\"number\" class=\"form-control\" tabindex=\"10\" placeholder=\"\" [ngClass]=\"{'w-25':(addPayRollComponent.controls['calculationType'].value == 'percentage' || addPayRollComponent.controls['calculationType'].value == 'fixed' || addPayRollComponent.controls['calculationType'].value == 'ctc')}\"\n aria-label=\"Text input with dropdown button\" formControlName=\"amount\">\n <div class=\"ms-2 flex\" style=\"align-items: center;\">\n <div class=\"label-txt\" *ngIf=\"addPayRollComponent.controls['calculationType'].value == 'percentage'\">{{ 'APP_HRM_PAYROLL_SETTINGS.OF_BASIC' | customTranslate : 'of Basic' }}</div>\n <div *ngIf=\"addPayRollComponent.controls['calculationType'].value == 'fixed'\">{{ 'APP_HRM_PAYROLL_SETTINGS.OF_GROSS' | customTranslate : 'of Gross' }}</div>\n <div *ngIf=\"addPayRollComponent.controls['calculationType'].value == 'ctc'\">{{ 'APP_HRM_PAYROLL_SETTINGS.OF_CTC' | customTranslate : 'of CTC' }}</div>\n </div>\n </div>\n <p class=\"error-fields\"\n [style]=\"addPayRollComponent.controls['amount'].invalid && addPayRollComponent.controls['amount'].touched ? 'display: block' : 'display: none' \">{{ 'APP_HRM_PAYROLL_SETTINGS.ENTER_VALID_INPUT' | customTranslate : 'Enter valid input' }}</p>\n </div>\n </div>\n </div>\n <!-- <div class=\"show-only-if type-is-allowance-or-earnings\" *ngIf=\"addPayRollComponent.controls['type'].value == 'Deductions'\">\n <div class=\"row\">\n <div class=\"col-md-11 mt-2 pe-0\">\n <label class=\"label-txt\">Deduction frequency</label>\n <div class=\"flex flex-direction-row\">\n <div class=\"ms-4\">\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"deductionFrequency\" tabindex=\"4\"\n formControlName=\"deductionFrequency\" [value]=\"'recurring'\"\n />\n <span class=\"radio-text\">Recurring</span>\n </label>\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"deductionFrequency\" tabindex=\"5\"\n formControlName=\"deductionFrequency\" [value]=\"'one-time'\"\n />\n <span class=\"radio-text\">One time deduction</span>\n </label>\n </div>\n </div>\n <p class=\"error-msg\" *ngIf=\"addPayRollComponent.controls['deductionFrequency'].invalid && addPayRollComponent.controls['deductionFrequency'].touched\">\n <span>\n <img src=\"../assets/images/icons/general/warning icon.svg\">This field is required.\n </span>\n </p>\n </div>\n </div>\n </div> -->\n <div class=\"show-only-if type-is-allowance-or-reimbursements\" *ngIf=\"addPayRollComponent.controls['type'].value == 'Reimbursements'\">\n <div class=\"row\">\n <div class=\"col-md-11 mt-2 pe-0\">\n <label class=\"label-txt\">{{ 'APP_HRM_PAYROLL_SETTINGS.MAX_REIMBURSABLE_AMT' | customTranslate : 'Maximum Reimbursable Amount' }}</label>\n <div [class]=\"addPayRollComponent.controls['maxReimburse'].invalid && addPayRollComponent.controls['maxReimburse'].touched ? 'has-error' : '' \">\n <input type=\"text\" class=\"form-control\" tabindex=\"4\" placeholder=\"1000\"\n aria-label=\"Text input with dropdown button\" formControlName=\"maxReimburse\">\n </div>\n <p class=\"error-fields\"\n [style]=\"addPayRollComponent.controls['maxReimburse'].invalid && addPayRollComponent.controls['maxReimburse'].touched ? 'display: block' : 'display: none' \">{{ 'APP_HRM_PAYROLL_SETTINGS.ENTER_VALID_INPUT' | customTranslate : 'Enter valid input' }}</p>\n </div>\n </div>\n </div>\n <!-- SK20JUN25flexi benefit added -->\n <div class=\"row\" *ngIf=\"addPayRollComponent.controls['type'].value === 'Earnings' \">\n <div class=\"col-md-11 mt-2\">\n <mat-checkbox formControlName=\"isFlexiBenefitComponent\" tabindex=\"10\"><p class=\"label-txt mb-0\">{{'APP_HRM_PAYROLL_SETTINGS.IS_FLEXI_BENEFIT' | customTranslate : \"Is Flexi Benefit Component\" }}</p></mat-checkbox>\n </div>\n </div>\n <div class=\"row\" *ngIf=\"addPayRollComponent.controls['type'].value === 'Deductions' \">\n <div class=\"col-md-11 mt-2\">\n <mat-checkbox formControlName=\"isEmployerContribution\" tabindex=\"10\"><p class=\"label-txt mb-0\">{{'APP_HRM_PAYROLL_SETTINGS.IS_EMPLOYERS_CONTRIBUTION' | customTranslate : \"Is Employer's contribution\" }}</p></mat-checkbox>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-md-11 mt-2\">\n <!-- SK28FEB26 changes from 'Taxable' to 'Tax Exempted', so what components are exempted from tax is checked -->\n <mat-checkbox formControlName=\"taxable\" tabindex=\"13\" ><p class=\"label-txt mb-0\">{{ 'APP_HRM_PAYROLL_SETTINGS.TAXABLE_EXEMPTED' | customTranslate : 'Tax Exempted' }}</p></mat-checkbox>\n </div>\n </div>\n <div *ngIf=\"addPayRollComponent.controls['taxable'].value == true && addPayRollComponent.controls['type'].value == 'Deductions'\">\n <div class=\"row\">\n <div class=\"col-md-11 mt-2 pe-0\">\n <label class=\"label-txt\">{{ 'APP_HRM_PAYROLL_SETTINGS.UNDER_NEW_TAX' | customTranslate : 'Is Exempted under New Tax Regime' }}</label>\n <div class=\"flex flex-direction-row\">\n <div class=\"ms-4\">\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"isExempted\" tabindex=\"13\"\n formControlName=\"isExempted\" [value]=\"true\"\n />\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.YES' | customTranslate : 'Yes' }}</span>\n </label>\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"isExempted\" tabindex=\"14\"\n formControlName=\"isExempted\" [value]=\"false\"\n />\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.NO' | customTranslate : 'No' }}</span>\n </label>\n <!-- <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"isExempted\" tabindex=\"14\"\n formControlName=\"isExempted\" [value]=\"'bothRegime'\"\n />\n <span class=\"radio-text\">Both</span>\n </label> -->\n </div>\n </div>\n <p class=\"error-msg\" *ngIf=\"addPayRollComponent.controls['deductionFrequency'].invalid && addPayRollComponent.controls['deductionFrequency'].touched\">\n <span>\n <img src=\"../assets/images/icons/general/warning icon.svg\">{{ 'APP_HRM_PAYROLL_SETTINGS.REQUIRED_FIELD' | customTranslate : 'This field is required.' }}\n </span>\n </p>\n </div>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-md-11 mt-2\">\n <mat-checkbox formControlName=\"active\" tabindex=\"15\"><p class=\"label-txt mb-0\">{{ 'APP_HRM_PAYROLL_SETTINGS.MARK_AS_ACTIVE' | customTranslate : 'Mark this as Active' }}</p></mat-checkbox>\n </div>\n </div>\n <!-- MY 15OCT26 support button loader on save button and disable buttons while loading -->\n <div class=\"button-wrapper flex text-right mb-5\">\n <app-fusion-button [buttonLoadingSpinner]=\"buttonLoadingSpinner\" [buttonDisable]=\"!addPayRollComponent.valid || buttonLoadingSpinner\" [buttonType]=\"'ms-2 side-save-component'\" [tabIndex]=\"12\" buttonValue=\"{{ 'APP_HRM_PAYROLL_SETTINGS.SAVE' | customTranslate : 'Save' }}\" (buttonClickEmit)=\"hitPayrollSettingComponentApi($event)\"></app-fusion-button>\n <app-fusion-button [buttonDisable]=\"buttonLoadingSpinner\" [buttonType]=\"'text-only side-cancel-component'\" [tabIndex]=\"13\" buttonValue=\"{{ 'APP_HRM_PAYROLL_SETTINGS.CANCEL' | customTranslate : 'Cancel' }}\" (buttonClickEmit)=\"cancelSideScreen()\"></app-fusion-button>\n </div>\n </form>\n <!-- </div>\n</div> -->",
3313
+ styles: [".side-screen{background:var(--fb-surface-elevated, #ffffff);max-width:415px;width:100%;position:absolute;right:0;top:0;height:100%;z-index:105;max-height:100vh;overflow:hidden;box-shadow:-1px 0 3px 1px var(--fb-backdrop, rgba(0, 0, 0, .12))}.side-header{padding:12px 20px;border-bottom:1px solid var(--fb-border-default, #e2e8f0)}.side-header .close-icon svg{transform:scale(1.5)}.side-content{padding-top:10px}.scrollable-content{max-height:calc(100vh - 190px);overflow:hidden;overflow-y:auto}.tiny-info-text{font-size:var(--fs-small);color:var(--fb-text-primary, #0f172a);font-weight:var(--fw-600)}.label-txt.increase-text,.side-content .form-control,.radio-text{font-size:var(--fs-small)}.error-fields{font-size:10px;color:var(--fb-error-text, #ef4444);padding:0;margin:0}.radio-text{margin-inline:5px;cursor:pointer}.addPayRollComponent .button-wrapper{margin-top:50px}\n"],
3314
3314
  dependencies: [
3315
3315
  {
3316
3316
  kind: "ngmodule",
@@ -3543,8 +3543,8 @@ i0.ɵɵngDeclareClassMetadata({
3543
3543
  CustomTranslatePipe,
3544
3544
  MatTooltipModule
3545
3545
  ],
3546
- template: "<!-- <div class=\"side-screen\">\n <div class=\"side-header\">\n <p class=\"flex content-space-between mb-0\">{{headerTitle}}\n <span class=\"close-icon\"><img src=\"../assets/images/icons/general/cross-icon.svg\" (click)=\"sideScreenEmittedEvent.emit({'open': false})\" style=\"cursor: pointer;\" class=\"svg-icon-white\"></span>\n </p>\n </div>\n <div class=\"side-content\"> -->\n <form class=\"addPayRollComponent\" [formGroup]=\"addPayRollComponent\" (ngSubmit)=\"submitPayRollComponent()\">\n <!-- <div class=\"scrollable-content\"> -->\n <div class=\"row\">\n <div class=\"col-md-10\">\n <label class=\"label-txt\">{{ 'APP_HRM_PAYROLL_SETTINGS.COMPONENT_TYPE' | customTranslate : 'Component Type' }}<span style=\"color: var(--clr-error, #dc3545);\">*</span></label> \n <app-drop-down [lists]='componentTypeList' tabindex=\"1\" dropDownHeight=\"38px\" dropDownWidth=\"100%\" (dataEmit)=\"dropdownEmitFunction($event, 'type')\" [selectedData]=\"selectedComponentType\"></app-drop-down>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-md-10 mt-2\">\n <label class=\"label-txt\">{{'APP_HRM_PAYROLL_SETTINGS.COMPONENT_NAME' | customTranslate : 'Component Name' }}<span style=\"color: var(--clr-error, #dc3545);\">*</span></label>\n <app-drop-down [lists]=\"nameList\" tabindex=\"1\" dropDownHeight=\"38px\" dropDownWidth=\"100%\"\n (dataEmit)=\"dropdownEmitFunction($event, 'name')\" [selectedData]=\"selectedComp\">\n </app-drop-down>\n <div *ngIf=\"selectedComp === otherSection || selectedComp === 'Reimbursements' \" [class]=\"addPayRollComponent.controls['name'].invalid && addPayRollComponent.controls['name'].touched ? 'has-error' : '' \">\n <input [matTooltip]=\"'APP_HRM_PAYROLL_SETTINGS.COMPONENT_NAME_TOOL_TIP' | customTranslate : 'Underscores and Spaces are not allowed'\" type=\"text\" class=\"form-control\" tabindex=\"2\" [placeholder]=\"'APP_HRM_PAYROLL_SETTINGS.COMPONENT_NAME' | customTranslate : 'Component Name'\"\n aria-label=\"Text input with dropdown button\" formControlName=\"name\">\n </div>\n <p class=\"error-fields\"\n [style]=\"addPayRollComponent.controls['name'].invalid && addPayRollComponent.controls['name'].touched && addPayRollComponent.controls['name'].hasError('pattern') ? 'display: block' : 'display: none'\">{{ 'APP_HRM_PAYROLL_SETTINGS.VAL_INPUT' | customTranslate : 'Enter valid input' }}</p>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-md-10 mt-2\">\n <label class=\"label-txt\">{{'APP_HRM_PAYROLL_SETTINGS.NAME_IN_PAYSLIP' | customTranslate : 'Name in Payslip' }}<span style=\"color: var(--clr-error, #dc3545);\">*</span></label>\n <div [class]=\"addPayRollComponent.controls['nameInPaySlip'].invalid && addPayRollComponent.controls['nameInPaySlip'].touched ? 'has-error' : '' \">\n <input type=\"text\" class=\"form-control\" tabindex=\"3\" [placeholder]=\"'APP_HRM_PAYROLL_SETTINGS.NAME_IN_PAYSLIP' | customTranslate : 'Name in Payslip'\"\n aria-label=\"Text input with dropdown button\" formControlName=\"nameInPaySlip\">\n </div>\n <p class=\"error-fields\"\n [style]=\"addPayRollComponent.controls['nameInPaySlip'].invalid && addPayRollComponent.controls['nameInPaySlip'].touched ? 'display: block' : 'display: none' \">{{ 'APP_HRM_PAYROLL_SETTINGS.VAL_INPUT' | customTranslate : 'Enter valid input' }}</p>\n </div>\n </div>\n <!-- SK15JUL24 adding isVariable type -->\n <div class=\"row\" *ngIf=\"addPayRollComponent.controls['type'].value === 'Earnings'\">\n <div class=\"col-md-11 mt-2\">\n <!-- SK02JUN25 fixed and variable components added -->\n <label class=\"label-txt\">{{ 'APP_HRM_PAYROLL_SETTINGS.PAY_TYPE' | customTranslate : 'Pay Type' }}</label>\n <div class=\"ms-4\">\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"isVariablePay\" tabindex=\"12\"\n formControlName=\"isVariablePay\" [value]=\"false\" (click)=\"radioEmit('isVariablePay', false)\" />\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.FIXED_COMPONENT' | customTranslate : 'Fixed Component' }}</span>\n </label>\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"isVariablePay\" tabindex=\"11\"\n formControlName=\"isVariablePay\" [value]=\"true\" (click)=\"radioEmit('isVariablePay', true)\"/>\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.VARIABLE_COMPONENT' | customTranslate : 'Variable Component' }}</span>\n </label>\n </div>\n </div>\n </div>\n <div class=\"row\" *ngIf=\"addPayRollComponent.controls['isVariablePay'].value === true || addPayRollComponent.controls['type'].value === 'Deductions'\">\n <div class=\"col-md-11 mt-2\">\n <!-- SK02JUN25 fixed and variable components added -->\n <label class=\"label-txt\">{{ 'APP_HRM_PAYROLL_SETTINGS.IS_PART_OF_CTC' | customTranslate : 'Is Part of CTC' }}</label>\n <div class=\"ms-4\">\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"isPartOfCTC\" tabindex=\"12\"\n formControlName=\"isPartOfCTC\" [value]=\"true\" />\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.YES' | customTranslate : 'Yes' }}</span>\n </label>\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"isPartOfCTC\" tabindex=\"11\"\n formControlName=\"isPartOfCTC\" [value]=\"false\"/>\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.NO' | customTranslate : 'No' }}</span>\n </label>\n </div>\n </div>\n </div>\n <div class=\"show-only-if type-is-deduction\" *ngIf=\"addPayRollComponent.controls['type'].value == 'Allowances' || addPayRollComponent.controls['type'].value == 'Earnings' \" >\n <div class=\"col-md-11 mt-2\" *ngIf=\"addPayRollComponent.controls['isVariablePay'].value\">\n <label class=\"label-txt\">{{ 'APP_HRM_PAYROLL_SETTINGS.FREQUENCY' | customTranslate : 'Frequency' }}</label>\n <div class=\"ms-4\">\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"proRataBasis\" tabindex=\"12\"\n formControlName=\"proRataBasis\" [value]=\"'regular'\" />\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.REGULAR' | customTranslate : 'Regular' }}</span>\n </label>\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"proRataBasis\" tabindex=\"11\"\n formControlName=\"proRataBasis\" [value]=\"'oneTime'\"/>\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.ONE_TIME' | customTranslate : 'One Time' }}</span>\n </label>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-md-11 mt-2\">\n <label class=\"label-txt\">{{ 'APP_HRM_PAYROLL_SETTINGS.CALCULATION_TYPE' | customTranslate : 'Calculation Type' }}</label>\n <div class=\"flex flex-direction-row\">\n <div class=\"ms-4\">\n <label *ngIf=\"selectedComp !== basicPay \" class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"calculationType\" tabindex=\"7\"\n formControlName=\"calculationType\" [value]=\"'flat'\"\n /> <!-- (focusout)=\"handlePayType($event)\"\n (keyup)=\"handlePayType($event)\" -->\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.FLAT_AMOUNT' | customTranslate : 'Flat Amount' }}</span>\n </label>\n <label *ngIf=\"selectedComp !== basicPay \" class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"calculationType\" tabindex=\"8\"\n formControlName=\"calculationType\" [value]=\"'percentage'\"\n /> <!-- (focusout)=\"handlePayType($event)\"\n (keyup)=\"handlePayType($event)\" -->\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.PERCENTAGE_BASIC' | customTranslate : 'Percentage of Basic' }}</span>\n </label>\n <label *ngIf=\"selectedComp !== basicPay \" class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"calculationType\" tabindex=\"8\"\n formControlName=\"calculationType\" [value]=\"'basicAndDA'\"\n /> <!-- (focusout)=\"handlePayType($event)\"\n (keyup)=\"handlePayType($event)\" -->\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.PERCENTAGE_BASIC_DA' | customTranslate : 'Percentage of Basic and DA' }}</span>\n </label>\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"calculationType\" tabindex=\"9\"\n formControlName=\"calculationType\" [value]=\"'fixed'\"\n /> <!-- (focusout)=\"handlePayType($event)\"\n (keyup)=\"handlePayType($event)\" -->\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.GROSS_PER' | customTranslate : 'Percentage of Gross' }}</span>\n </label>\n <!-- SK02JUN25 % of CTC added -->\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"calculationType\" tabindex=\"9\"\n formControlName=\"calculationType\" [value]=\"'ctc'\"\n />\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.CTC_PER' | customTranslate : 'Percentage of CTC' }}</span>\n </label>\n </div>\n </div>\n <p class=\"error-msg\" *ngIf=\"addPayRollComponent.controls['calculationType'].invalid && addPayRollComponent.controls['calculationType'].touched\">\n <span>\n <img src=\"../assets/images/icons/general/warning icon.svg\">{{ 'APP_HRM_PAYROLL_SETTINGS.REQUIRED_FIELD' | customTranslate : 'This field is required.' }}\n </span>\n </p>\n </div>\n </div>\n <!-- SK25AUG25 if it is one time componente, amount input will will be disabled -->\n <div class=\"row\" *ngIf=\"addPayRollComponent.controls['proRataBasis'].value != 'oneTime' \">\n <div class=\"col-md-10 mt-2\">\n <label class=\"label-txt\">Enter {{addPayRollComponent.controls['calculationType'].value == 'flat' ? 'Amount' : 'Percentage'}}</label>\n <div [class]=\"addPayRollComponent.controls['amount'].invalid && addPayRollComponent.controls['amount'].touched ? 'has-error' : '' \" class=\"flex flex-row\">\n <input type=\"number\" class=\"form-control\" tabindex=\"10\" placeholder=\"\" [ngClass]=\"{'w-25':(addPayRollComponent.controls['calculationType'].value == 'percentage' || addPayRollComponent.controls['calculationType'].value == 'fixed' || addPayRollComponent.controls['calculationType'].value == 'ctc')}\"\n aria-label=\"Text input with dropdown button\" formControlName=\"amount\">\n <div class=\"ms-2 flex\" style=\"align-items: center;\">\n <div class=\"label-txt\" *ngIf=\"addPayRollComponent.controls['calculationType'].value == 'percentage'\">{{ 'APP_HRM_PAYROLL_SETTINGS.OF_BASIC' | customTranslate : 'of Basic' }}</div>\n <div *ngIf=\"addPayRollComponent.controls['calculationType'].value == 'fixed'\">{{ 'APP_HRM_PAYROLL_SETTINGS.OF_GROSS' | customTranslate : 'of Gross' }}</div>\n <div *ngIf=\"addPayRollComponent.controls['calculationType'].value == 'ctc'\">{{ 'APP_HRM_PAYROLL_SETTINGS.OF_CTC' | customTranslate : 'of CTC' }}</div>\n </div>\n </div>\n <p class=\"error-fields\"\n [style]=\"addPayRollComponent.controls['amount'].invalid && addPayRollComponent.controls['amount'].touched ? 'display: block' : 'display: none' \">{{ 'APP_HRM_PAYROLL_SETTINGS.ENTER_VALID_INPUT' | customTranslate : 'Enter valid input' }}</p>\n </div>\n </div>\n </div>\n <!-- <div class=\"show-only-if type-is-allowance-or-earnings\" *ngIf=\"addPayRollComponent.controls['type'].value == 'Deductions'\">\n <div class=\"row\">\n <div class=\"col-md-11 mt-2 pe-0\">\n <label class=\"label-txt\">Deduction frequency</label>\n <div class=\"flex flex-direction-row\">\n <div class=\"ms-4\">\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"deductionFrequency\" tabindex=\"4\"\n formControlName=\"deductionFrequency\" [value]=\"'recurring'\"\n />\n <span class=\"radio-text\">Recurring</span>\n </label>\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"deductionFrequency\" tabindex=\"5\"\n formControlName=\"deductionFrequency\" [value]=\"'one-time'\"\n />\n <span class=\"radio-text\">One time deduction</span>\n </label>\n </div>\n </div>\n <p class=\"error-msg\" *ngIf=\"addPayRollComponent.controls['deductionFrequency'].invalid && addPayRollComponent.controls['deductionFrequency'].touched\">\n <span>\n <img src=\"../assets/images/icons/general/warning icon.svg\">This field is required.\n </span>\n </p>\n </div>\n </div>\n </div> -->\n <div class=\"show-only-if type-is-allowance-or-reimbursements\" *ngIf=\"addPayRollComponent.controls['type'].value == 'Reimbursements'\">\n <div class=\"row\">\n <div class=\"col-md-11 mt-2 pe-0\">\n <label class=\"label-txt\">{{ 'APP_HRM_PAYROLL_SETTINGS.MAX_REIMBURSABLE_AMT' | customTranslate : 'Maximum Reimbursable Amount' }}</label>\n <div [class]=\"addPayRollComponent.controls['maxReimburse'].invalid && addPayRollComponent.controls['maxReimburse'].touched ? 'has-error' : '' \">\n <input type=\"text\" class=\"form-control\" tabindex=\"4\" placeholder=\"1000\"\n aria-label=\"Text input with dropdown button\" formControlName=\"maxReimburse\">\n </div>\n <p class=\"error-fields\"\n [style]=\"addPayRollComponent.controls['maxReimburse'].invalid && addPayRollComponent.controls['maxReimburse'].touched ? 'display: block' : 'display: none' \">{{ 'APP_HRM_PAYROLL_SETTINGS.ENTER_VALID_INPUT' | customTranslate : 'Enter valid input' }}</p>\n </div>\n </div>\n </div>\n <!-- SK20JUN25flexi benefit added -->\n <div class=\"row\" *ngIf=\"addPayRollComponent.controls['type'].value === 'Earnings' \">\n <div class=\"col-md-11 mt-2\">\n <mat-checkbox formControlName=\"isFlexiBenefitComponent\" tabindex=\"10\"><p class=\"label-txt mb-0\">{{'APP_HRM_PAYROLL_SETTINGS.IS_FLEXI_BENEFIT' | customTranslate : \"Is Flexi Benefit Component\" }}</p></mat-checkbox>\n </div>\n </div>\n <div class=\"row\" *ngIf=\"addPayRollComponent.controls['type'].value === 'Deductions' \">\n <div class=\"col-md-11 mt-2\">\n <mat-checkbox formControlName=\"isEmployerContribution\" tabindex=\"10\"><p class=\"label-txt mb-0\">{{'APP_HRM_PAYROLL_SETTINGS.IS_EMPLOYERS_CONTRIBUTION' | customTranslate : \"Is Employer's contribution\" }}</p></mat-checkbox>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-md-11 mt-2\">\n <!-- SK28FEB26 changes from 'Taxable' to 'Tax Exempted', so what components are exempted from tax is checked -->\n <mat-checkbox formControlName=\"taxable\" tabindex=\"13\" ><p class=\"label-txt mb-0\">{{ 'APP_HRM_PAYROLL_SETTINGS.TAXABLE_EXEMPTED' | customTranslate : 'Tax Exempted' }}</p></mat-checkbox>\n </div>\n </div>\n <div *ngIf=\"addPayRollComponent.controls['taxable'].value == true && addPayRollComponent.controls['type'].value == 'Deductions'\">\n <div class=\"row\">\n <div class=\"col-md-11 mt-2 pe-0\">\n <label class=\"label-txt\">{{ 'APP_HRM_PAYROLL_SETTINGS.UNDER_NEW_TAX' | customTranslate : 'Is Exempted under New Tax Regime' }}</label>\n <div class=\"flex flex-direction-row\">\n <div class=\"ms-4\">\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"isExempted\" tabindex=\"13\"\n formControlName=\"isExempted\" [value]=\"true\"\n />\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.YES' | customTranslate : 'Yes' }}</span>\n </label>\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"isExempted\" tabindex=\"14\"\n formControlName=\"isExempted\" [value]=\"false\"\n />\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.NO' | customTranslate : 'No' }}</span>\n </label>\n <!-- <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"isExempted\" tabindex=\"14\"\n formControlName=\"isExempted\" [value]=\"'bothRegime'\"\n />\n <span class=\"radio-text\">Both</span>\n </label> -->\n </div>\n </div>\n <p class=\"error-msg\" *ngIf=\"addPayRollComponent.controls['deductionFrequency'].invalid && addPayRollComponent.controls['deductionFrequency'].touched\">\n <span>\n <img src=\"../assets/images/icons/general/warning icon.svg\">{{ 'APP_HRM_PAYROLL_SETTINGS.REQUIRED_FIELD' | customTranslate : 'This field is required.' }}\n </span>\n </p>\n </div>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-md-11 mt-2\">\n <mat-checkbox formControlName=\"active\" tabindex=\"15\"><p class=\"label-txt mb-0\">{{ 'APP_HRM_PAYROLL_SETTINGS.MARK_AS_ACTIVE' | customTranslate : 'Mark this as Active' }}</p></mat-checkbox>\n </div>\n </div>\n <!-- MY 15OCT26 support button loader on save button and disable buttons while loading -->\n <div class=\"button-wrapper flex text-right mb-5\">\n <app-fusion-button [buttonLoadingSpinner]=\"buttonLoadingSpinner\" [buttonDisable]=\"!addPayRollComponent.valid || buttonLoadingSpinner\" [buttonType]=\"'ms-2 side-save-component'\" [tabIndex]=\"12\" buttonValue=\"{{ 'APP_HRM_PAYROLL_SETTINGS.SAVE' | customTranslate : 'Save' }}\" (buttonClickEmit)=\"hitPayrollSettingComponentApi($event)\"></app-fusion-button>\n <app-fusion-button [buttonDisable]=\"buttonLoadingSpinner\" [buttonType]=\"'text-only side-cancel-component'\" [tabIndex]=\"13\" buttonValue=\"{{ 'APP_HRM_PAYROLL_SETTINGS.CANCEL' | customTranslate : 'Cancel' }}\" (buttonClickEmit)=\"cancelSideScreen()\"></app-fusion-button>\n </div>\n </form>\n <!-- </div>\n</div> -->",
3547
- styles: [".side-screen{background:var(--comp-bg-color);max-width:415px;width:100%;position:absolute;right:0;top:0;height:100%;z-index:105;max-height:100vh;overflow:hidden;box-shadow:-1px 0 3px 1px var(--box-shadow-color)}.side-header{padding:12px 20px;border-bottom:1px solid var(--border-color)}.side-header .close-icon svg{transform:scale(1.5)}.side-content{padding-top:10px}.scrollable-content{max-height:calc(100vh - 190px);overflow:hidden;overflow-y:auto}.tiny-info-text{font-size:var(--fs-small);color:color-mix(in srgb,var(--fc-text-color-dark),rgb(0,0,0) 80%);font-weight:var(--fw-600)}.label-txt.increase-text,.side-content .form-control,.radio-text{font-size:var(--fs-small)}.error-fields{font-size:10px;color:red;padding:0;margin:0}.radio-text{margin-inline:5px;cursor:pointer}.addPayRollComponent .button-wrapper{margin-top:50px}\n"]
3546
+ template: "<!-- <div class=\"side-screen\">\n <div class=\"side-header\">\n <p class=\"flex content-space-between mb-0\">{{headerTitle}}\n <span class=\"close-icon\"><img src=\"../assets/images/icons/general/cross-icon.svg\" (click)=\"sideScreenEmittedEvent.emit({'open': false})\" style=\"cursor: pointer;\" class=\"svg-icon-white\"></span>\n </p>\n </div>\n <div class=\"side-content\"> -->\n <form class=\"addPayRollComponent\" [formGroup]=\"addPayRollComponent\" (ngSubmit)=\"submitPayRollComponent()\">\n <!-- <div class=\"scrollable-content\"> -->\n <div class=\"row\">\n <div class=\"col-md-10\">\n <label class=\"label-txt\">{{ 'APP_HRM_PAYROLL_SETTINGS.COMPONENT_TYPE' | customTranslate : 'Component Type' }}<span style=\"color: var(--fb-error-text, #ef4444);\">*</span></label> \n <app-drop-down [lists]='componentTypeList' tabindex=\"1\" dropDownHeight=\"38px\" dropDownWidth=\"100%\" (dataEmit)=\"dropdownEmitFunction($event, 'type')\" [selectedData]=\"selectedComponentType\"></app-drop-down>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-md-10 mt-2\">\n <label class=\"label-txt\">{{'APP_HRM_PAYROLL_SETTINGS.COMPONENT_NAME' | customTranslate : 'Component Name' }}<span style=\"color: var(--fb-error-text, #ef4444);\">*</span></label>\n <app-drop-down [lists]=\"nameList\" tabindex=\"1\" dropDownHeight=\"38px\" dropDownWidth=\"100%\"\n (dataEmit)=\"dropdownEmitFunction($event, 'name')\" [selectedData]=\"selectedComp\">\n </app-drop-down>\n <div *ngIf=\"selectedComp === otherSection || selectedComp === 'Reimbursements' \" [class]=\"addPayRollComponent.controls['name'].invalid && addPayRollComponent.controls['name'].touched ? 'has-error' : '' \">\n <input [matTooltip]=\"'APP_HRM_PAYROLL_SETTINGS.COMPONENT_NAME_TOOL_TIP' | customTranslate : 'Underscores and Spaces are not allowed'\" type=\"text\" class=\"form-control\" tabindex=\"2\" [placeholder]=\"'APP_HRM_PAYROLL_SETTINGS.COMPONENT_NAME' | customTranslate : 'Component Name'\"\n aria-label=\"Text input with dropdown button\" formControlName=\"name\">\n </div>\n <p class=\"error-fields\"\n [style]=\"addPayRollComponent.controls['name'].invalid && addPayRollComponent.controls['name'].touched && addPayRollComponent.controls['name'].hasError('pattern') ? 'display: block' : 'display: none'\">{{ 'APP_HRM_PAYROLL_SETTINGS.VAL_INPUT' | customTranslate : 'Enter valid input' }}</p>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-md-10 mt-2\">\n <label class=\"label-txt\">{{'APP_HRM_PAYROLL_SETTINGS.NAME_IN_PAYSLIP' | customTranslate : 'Name in Payslip' }}<span style=\"color: var(--fb-error-text, #ef4444);\">*</span></label>\n <div [class]=\"addPayRollComponent.controls['nameInPaySlip'].invalid && addPayRollComponent.controls['nameInPaySlip'].touched ? 'has-error' : '' \">\n <input type=\"text\" class=\"form-control\" tabindex=\"3\" [placeholder]=\"'APP_HRM_PAYROLL_SETTINGS.NAME_IN_PAYSLIP' | customTranslate : 'Name in Payslip'\"\n aria-label=\"Text input with dropdown button\" formControlName=\"nameInPaySlip\">\n </div>\n <p class=\"error-fields\"\n [style]=\"addPayRollComponent.controls['nameInPaySlip'].invalid && addPayRollComponent.controls['nameInPaySlip'].touched ? 'display: block' : 'display: none' \">{{ 'APP_HRM_PAYROLL_SETTINGS.VAL_INPUT' | customTranslate : 'Enter valid input' }}</p>\n </div>\n </div>\n <!-- SK15JUL24 adding isVariable type -->\n <div class=\"row\" *ngIf=\"addPayRollComponent.controls['type'].value === 'Earnings'\">\n <div class=\"col-md-11 mt-2\">\n <!-- SK02JUN25 fixed and variable components added -->\n <label class=\"label-txt\">{{ 'APP_HRM_PAYROLL_SETTINGS.PAY_TYPE' | customTranslate : 'Pay Type' }}</label>\n <div class=\"ms-4\">\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"isVariablePay\" tabindex=\"12\"\n formControlName=\"isVariablePay\" [value]=\"false\" (click)=\"radioEmit('isVariablePay', false)\" />\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.FIXED_COMPONENT' | customTranslate : 'Fixed Component' }}</span>\n </label>\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"isVariablePay\" tabindex=\"11\"\n formControlName=\"isVariablePay\" [value]=\"true\" (click)=\"radioEmit('isVariablePay', true)\"/>\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.VARIABLE_COMPONENT' | customTranslate : 'Variable Component' }}</span>\n </label>\n </div>\n </div>\n </div>\n <div class=\"row\" *ngIf=\"addPayRollComponent.controls['isVariablePay'].value === true || addPayRollComponent.controls['type'].value === 'Deductions'\">\n <div class=\"col-md-11 mt-2\">\n <!-- SK02JUN25 fixed and variable components added -->\n <label class=\"label-txt\">{{ 'APP_HRM_PAYROLL_SETTINGS.IS_PART_OF_CTC' | customTranslate : 'Is Part of CTC' }}</label>\n <div class=\"ms-4\">\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"isPartOfCTC\" tabindex=\"12\"\n formControlName=\"isPartOfCTC\" [value]=\"true\" />\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.YES' | customTranslate : 'Yes' }}</span>\n </label>\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"isPartOfCTC\" tabindex=\"11\"\n formControlName=\"isPartOfCTC\" [value]=\"false\"/>\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.NO' | customTranslate : 'No' }}</span>\n </label>\n </div>\n </div>\n </div>\n <div class=\"show-only-if type-is-deduction\" *ngIf=\"addPayRollComponent.controls['type'].value == 'Allowances' || addPayRollComponent.controls['type'].value == 'Earnings' \" >\n <div class=\"col-md-11 mt-2\" *ngIf=\"addPayRollComponent.controls['isVariablePay'].value\">\n <label class=\"label-txt\">{{ 'APP_HRM_PAYROLL_SETTINGS.FREQUENCY' | customTranslate : 'Frequency' }}</label>\n <div class=\"ms-4\">\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"proRataBasis\" tabindex=\"12\"\n formControlName=\"proRataBasis\" [value]=\"'regular'\" />\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.REGULAR' | customTranslate : 'Regular' }}</span>\n </label>\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"proRataBasis\" tabindex=\"11\"\n formControlName=\"proRataBasis\" [value]=\"'oneTime'\"/>\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.ONE_TIME' | customTranslate : 'One Time' }}</span>\n </label>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-md-11 mt-2\">\n <label class=\"label-txt\">{{ 'APP_HRM_PAYROLL_SETTINGS.CALCULATION_TYPE' | customTranslate : 'Calculation Type' }}</label>\n <div class=\"flex flex-direction-row\">\n <div class=\"ms-4\">\n <label *ngIf=\"selectedComp !== basicPay \" class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"calculationType\" tabindex=\"7\"\n formControlName=\"calculationType\" [value]=\"'flat'\"\n /> <!-- (focusout)=\"handlePayType($event)\"\n (keyup)=\"handlePayType($event)\" -->\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.FLAT_AMOUNT' | customTranslate : 'Flat Amount' }}</span>\n </label>\n <label *ngIf=\"selectedComp !== basicPay \" class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"calculationType\" tabindex=\"8\"\n formControlName=\"calculationType\" [value]=\"'percentage'\"\n /> <!-- (focusout)=\"handlePayType($event)\"\n (keyup)=\"handlePayType($event)\" -->\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.PERCENTAGE_BASIC' | customTranslate : 'Percentage of Basic' }}</span>\n </label>\n <label *ngIf=\"selectedComp !== basicPay \" class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"calculationType\" tabindex=\"8\"\n formControlName=\"calculationType\" [value]=\"'basicAndDA'\"\n /> <!-- (focusout)=\"handlePayType($event)\"\n (keyup)=\"handlePayType($event)\" -->\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.PERCENTAGE_BASIC_DA' | customTranslate : 'Percentage of Basic and DA' }}</span>\n </label>\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"calculationType\" tabindex=\"9\"\n formControlName=\"calculationType\" [value]=\"'fixed'\"\n /> <!-- (focusout)=\"handlePayType($event)\"\n (keyup)=\"handlePayType($event)\" -->\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.GROSS_PER' | customTranslate : 'Percentage of Gross' }}</span>\n </label>\n <!-- SK02JUN25 % of CTC added -->\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"calculationType\" tabindex=\"9\"\n formControlName=\"calculationType\" [value]=\"'ctc'\"\n />\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.CTC_PER' | customTranslate : 'Percentage of CTC' }}</span>\n </label>\n </div>\n </div>\n <p class=\"error-msg\" *ngIf=\"addPayRollComponent.controls['calculationType'].invalid && addPayRollComponent.controls['calculationType'].touched\">\n <span>\n <img src=\"../assets/images/icons/general/warning icon.svg\">{{ 'APP_HRM_PAYROLL_SETTINGS.REQUIRED_FIELD' | customTranslate : 'This field is required.' }}\n </span>\n </p>\n </div>\n </div>\n <!-- SK25AUG25 if it is one time componente, amount input will will be disabled -->\n <div class=\"row\" *ngIf=\"addPayRollComponent.controls['proRataBasis'].value != 'oneTime' \">\n <div class=\"col-md-10 mt-2\">\n <label class=\"label-txt\">Enter {{addPayRollComponent.controls['calculationType'].value == 'flat' ? 'Amount' : 'Percentage'}}</label>\n <div [class]=\"addPayRollComponent.controls['amount'].invalid && addPayRollComponent.controls['amount'].touched ? 'has-error' : '' \" class=\"flex flex-row\">\n <input type=\"number\" class=\"form-control\" tabindex=\"10\" placeholder=\"\" [ngClass]=\"{'w-25':(addPayRollComponent.controls['calculationType'].value == 'percentage' || addPayRollComponent.controls['calculationType'].value == 'fixed' || addPayRollComponent.controls['calculationType'].value == 'ctc')}\"\n aria-label=\"Text input with dropdown button\" formControlName=\"amount\">\n <div class=\"ms-2 flex\" style=\"align-items: center;\">\n <div class=\"label-txt\" *ngIf=\"addPayRollComponent.controls['calculationType'].value == 'percentage'\">{{ 'APP_HRM_PAYROLL_SETTINGS.OF_BASIC' | customTranslate : 'of Basic' }}</div>\n <div *ngIf=\"addPayRollComponent.controls['calculationType'].value == 'fixed'\">{{ 'APP_HRM_PAYROLL_SETTINGS.OF_GROSS' | customTranslate : 'of Gross' }}</div>\n <div *ngIf=\"addPayRollComponent.controls['calculationType'].value == 'ctc'\">{{ 'APP_HRM_PAYROLL_SETTINGS.OF_CTC' | customTranslate : 'of CTC' }}</div>\n </div>\n </div>\n <p class=\"error-fields\"\n [style]=\"addPayRollComponent.controls['amount'].invalid && addPayRollComponent.controls['amount'].touched ? 'display: block' : 'display: none' \">{{ 'APP_HRM_PAYROLL_SETTINGS.ENTER_VALID_INPUT' | customTranslate : 'Enter valid input' }}</p>\n </div>\n </div>\n </div>\n <!-- <div class=\"show-only-if type-is-allowance-or-earnings\" *ngIf=\"addPayRollComponent.controls['type'].value == 'Deductions'\">\n <div class=\"row\">\n <div class=\"col-md-11 mt-2 pe-0\">\n <label class=\"label-txt\">Deduction frequency</label>\n <div class=\"flex flex-direction-row\">\n <div class=\"ms-4\">\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"deductionFrequency\" tabindex=\"4\"\n formControlName=\"deductionFrequency\" [value]=\"'recurring'\"\n />\n <span class=\"radio-text\">Recurring</span>\n </label>\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"deductionFrequency\" tabindex=\"5\"\n formControlName=\"deductionFrequency\" [value]=\"'one-time'\"\n />\n <span class=\"radio-text\">One time deduction</span>\n </label>\n </div>\n </div>\n <p class=\"error-msg\" *ngIf=\"addPayRollComponent.controls['deductionFrequency'].invalid && addPayRollComponent.controls['deductionFrequency'].touched\">\n <span>\n <img src=\"../assets/images/icons/general/warning icon.svg\">This field is required.\n </span>\n </p>\n </div>\n </div>\n </div> -->\n <div class=\"show-only-if type-is-allowance-or-reimbursements\" *ngIf=\"addPayRollComponent.controls['type'].value == 'Reimbursements'\">\n <div class=\"row\">\n <div class=\"col-md-11 mt-2 pe-0\">\n <label class=\"label-txt\">{{ 'APP_HRM_PAYROLL_SETTINGS.MAX_REIMBURSABLE_AMT' | customTranslate : 'Maximum Reimbursable Amount' }}</label>\n <div [class]=\"addPayRollComponent.controls['maxReimburse'].invalid && addPayRollComponent.controls['maxReimburse'].touched ? 'has-error' : '' \">\n <input type=\"text\" class=\"form-control\" tabindex=\"4\" placeholder=\"1000\"\n aria-label=\"Text input with dropdown button\" formControlName=\"maxReimburse\">\n </div>\n <p class=\"error-fields\"\n [style]=\"addPayRollComponent.controls['maxReimburse'].invalid && addPayRollComponent.controls['maxReimburse'].touched ? 'display: block' : 'display: none' \">{{ 'APP_HRM_PAYROLL_SETTINGS.ENTER_VALID_INPUT' | customTranslate : 'Enter valid input' }}</p>\n </div>\n </div>\n </div>\n <!-- SK20JUN25flexi benefit added -->\n <div class=\"row\" *ngIf=\"addPayRollComponent.controls['type'].value === 'Earnings' \">\n <div class=\"col-md-11 mt-2\">\n <mat-checkbox formControlName=\"isFlexiBenefitComponent\" tabindex=\"10\"><p class=\"label-txt mb-0\">{{'APP_HRM_PAYROLL_SETTINGS.IS_FLEXI_BENEFIT' | customTranslate : \"Is Flexi Benefit Component\" }}</p></mat-checkbox>\n </div>\n </div>\n <div class=\"row\" *ngIf=\"addPayRollComponent.controls['type'].value === 'Deductions' \">\n <div class=\"col-md-11 mt-2\">\n <mat-checkbox formControlName=\"isEmployerContribution\" tabindex=\"10\"><p class=\"label-txt mb-0\">{{'APP_HRM_PAYROLL_SETTINGS.IS_EMPLOYERS_CONTRIBUTION' | customTranslate : \"Is Employer's contribution\" }}</p></mat-checkbox>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-md-11 mt-2\">\n <!-- SK28FEB26 changes from 'Taxable' to 'Tax Exempted', so what components are exempted from tax is checked -->\n <mat-checkbox formControlName=\"taxable\" tabindex=\"13\" ><p class=\"label-txt mb-0\">{{ 'APP_HRM_PAYROLL_SETTINGS.TAXABLE_EXEMPTED' | customTranslate : 'Tax Exempted' }}</p></mat-checkbox>\n </div>\n </div>\n <div *ngIf=\"addPayRollComponent.controls['taxable'].value == true && addPayRollComponent.controls['type'].value == 'Deductions'\">\n <div class=\"row\">\n <div class=\"col-md-11 mt-2 pe-0\">\n <label class=\"label-txt\">{{ 'APP_HRM_PAYROLL_SETTINGS.UNDER_NEW_TAX' | customTranslate : 'Is Exempted under New Tax Regime' }}</label>\n <div class=\"flex flex-direction-row\">\n <div class=\"ms-4\">\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"isExempted\" tabindex=\"13\"\n formControlName=\"isExempted\" [value]=\"true\"\n />\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.YES' | customTranslate : 'Yes' }}</span>\n </label>\n <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"isExempted\" tabindex=\"14\"\n formControlName=\"isExempted\" [value]=\"false\"\n />\n <span class=\"radio-text\">{{ 'APP_HRM_PAYROLL_SETTINGS.NO' | customTranslate : 'No' }}</span>\n </label>\n <!-- <label class=\"label-txt increase-text flex\" style=\"margin-left:-20px;\">\n <input type=\"radio\" name=\"isExempted\" tabindex=\"14\"\n formControlName=\"isExempted\" [value]=\"'bothRegime'\"\n />\n <span class=\"radio-text\">Both</span>\n </label> -->\n </div>\n </div>\n <p class=\"error-msg\" *ngIf=\"addPayRollComponent.controls['deductionFrequency'].invalid && addPayRollComponent.controls['deductionFrequency'].touched\">\n <span>\n <img src=\"../assets/images/icons/general/warning icon.svg\">{{ 'APP_HRM_PAYROLL_SETTINGS.REQUIRED_FIELD' | customTranslate : 'This field is required.' }}\n </span>\n </p>\n </div>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-md-11 mt-2\">\n <mat-checkbox formControlName=\"active\" tabindex=\"15\"><p class=\"label-txt mb-0\">{{ 'APP_HRM_PAYROLL_SETTINGS.MARK_AS_ACTIVE' | customTranslate : 'Mark this as Active' }}</p></mat-checkbox>\n </div>\n </div>\n <!-- MY 15OCT26 support button loader on save button and disable buttons while loading -->\n <div class=\"button-wrapper flex text-right mb-5\">\n <app-fusion-button [buttonLoadingSpinner]=\"buttonLoadingSpinner\" [buttonDisable]=\"!addPayRollComponent.valid || buttonLoadingSpinner\" [buttonType]=\"'ms-2 side-save-component'\" [tabIndex]=\"12\" buttonValue=\"{{ 'APP_HRM_PAYROLL_SETTINGS.SAVE' | customTranslate : 'Save' }}\" (buttonClickEmit)=\"hitPayrollSettingComponentApi($event)\"></app-fusion-button>\n <app-fusion-button [buttonDisable]=\"buttonLoadingSpinner\" [buttonType]=\"'text-only side-cancel-component'\" [tabIndex]=\"13\" buttonValue=\"{{ 'APP_HRM_PAYROLL_SETTINGS.CANCEL' | customTranslate : 'Cancel' }}\" (buttonClickEmit)=\"cancelSideScreen()\"></app-fusion-button>\n </div>\n </form>\n <!-- </div>\n</div> -->",
3547
+ styles: [".side-screen{background:var(--fb-surface-elevated, #ffffff);max-width:415px;width:100%;position:absolute;right:0;top:0;height:100%;z-index:105;max-height:100vh;overflow:hidden;box-shadow:-1px 0 3px 1px var(--fb-backdrop, rgba(0, 0, 0, .12))}.side-header{padding:12px 20px;border-bottom:1px solid var(--fb-border-default, #e2e8f0)}.side-header .close-icon svg{transform:scale(1.5)}.side-content{padding-top:10px}.scrollable-content{max-height:calc(100vh - 190px);overflow:hidden;overflow-y:auto}.tiny-info-text{font-size:var(--fs-small);color:var(--fb-text-primary, #0f172a);font-weight:var(--fw-600)}.label-txt.increase-text,.side-content .form-control,.radio-text{font-size:var(--fs-small)}.error-fields{font-size:10px;color:var(--fb-error-text, #ef4444);padding:0;margin:0}.radio-text{margin-inline:5px;cursor:pointer}.addPayRollComponent .button-wrapper{margin-top:50px}\n"]
3548
3548
  }]
3549
3549
  }],
3550
3550
  ctorParameters: () => [{ type: i3$2.FormBuilder }],
@@ -3582,7 +3582,7 @@ var CommonScreenComponent = class CommonScreenComponent {
3582
3582
  outputs: { sideScreenEmittedEvent: "sideScreenEmittedEvent" },
3583
3583
  ngImport: i0,
3584
3584
  template: "<div class=\"side-screen\" [style]=\"dynamicScreenStyle\">\n <div class=\"side-header\">\n <p class=\"flex content-space-between mb-0\">{{headerTitle}}\n <span class=\"close-icon\"><img src=\"../assets/images/icons/general/cross-icon.svg\" (click)=\"sideScreenEmittedEvent.emit({'open': false})\" style=\"cursor: pointer; height: 25px; width: 25px;\" class=\"svg-icon-white\"></span>\n </p>\n </div>\n <div class=\"side-content\">\n <div class=\"scrollable-content\">\n <ng-content select=\".side-main-content\"></ng-content>\n </div>\n </div>\n</div>",
3585
- styles: [".side-screen{background:var(--comp-bg-color);max-width:415px;width:100%;position:absolute;right:0;top:0;height:100%;z-index:105;max-height:100vh;overflow:hidden;box-shadow:-1px 0 3px 1px var(--box-shadow-color)}.side-header{padding:12px 20px;border-bottom:1px solid var(--border-color)}.side-header .close-icon svg{transform:scale(1.5)}.side-content{padding:10px}.scrollable-content{max-height:calc(100vh - 90px);overflow:hidden;overflow-y:auto}.tiny-info-text{font-size:var(--fs-small);color:color-mix(in srgb,var(--fc-text-color-dark),rgb(0,0,0) 80%);font-weight:var(--fw-600)}.label-txt.increase-text,.side-content .form-control,.radio-text{font-size:var(--fs-normal)}.radio-text{margin-inline:5px;cursor:pointer}.addPayRollComponent .button-wrapper{margin-top:50px}\n"],
3585
+ styles: [".side-screen{background:var(--fb-surface-elevated, #ffffff);max-width:415px;width:100%;position:absolute;right:0;top:0;height:100%;z-index:105;max-height:100vh;overflow:hidden;box-shadow:-1px 0 3px 1px var(--fb-backdrop, rgba(0, 0, 0, .12))}.side-header{padding:12px 20px;border-bottom:1px solid var(--fb-border-default, #e2e8f0)}.side-header .close-icon svg{transform:scale(1.5)}.side-content{padding:10px}.scrollable-content{max-height:calc(100vh - 90px);overflow:hidden;overflow-y:auto}.tiny-info-text{font-size:var(--fs-small);color:var(--fb-text-primary, #0f172a);font-weight:var(--fw-600)}.label-txt.increase-text,.side-content .form-control,.radio-text{font-size:var(--fs-normal)}.radio-text{margin-inline:5px;cursor:pointer}.addPayRollComponent .button-wrapper{margin-top:50px}\n"],
3586
3586
  dependencies: [{
3587
3587
  kind: "ngmodule",
3588
3588
  type: CommonModule
@@ -3604,7 +3604,7 @@ i0.ɵɵngDeclareClassMetadata({
3604
3604
  standalone: true,
3605
3605
  imports: [CommonModule, AngularSvgIconModule],
3606
3606
  template: "<div class=\"side-screen\" [style]=\"dynamicScreenStyle\">\n <div class=\"side-header\">\n <p class=\"flex content-space-between mb-0\">{{headerTitle}}\n <span class=\"close-icon\"><img src=\"../assets/images/icons/general/cross-icon.svg\" (click)=\"sideScreenEmittedEvent.emit({'open': false})\" style=\"cursor: pointer; height: 25px; width: 25px;\" class=\"svg-icon-white\"></span>\n </p>\n </div>\n <div class=\"side-content\">\n <div class=\"scrollable-content\">\n <ng-content select=\".side-main-content\"></ng-content>\n </div>\n </div>\n</div>",
3607
- styles: [".side-screen{background:var(--comp-bg-color);max-width:415px;width:100%;position:absolute;right:0;top:0;height:100%;z-index:105;max-height:100vh;overflow:hidden;box-shadow:-1px 0 3px 1px var(--box-shadow-color)}.side-header{padding:12px 20px;border-bottom:1px solid var(--border-color)}.side-header .close-icon svg{transform:scale(1.5)}.side-content{padding:10px}.scrollable-content{max-height:calc(100vh - 90px);overflow:hidden;overflow-y:auto}.tiny-info-text{font-size:var(--fs-small);color:color-mix(in srgb,var(--fc-text-color-dark),rgb(0,0,0) 80%);font-weight:var(--fw-600)}.label-txt.increase-text,.side-content .form-control,.radio-text{font-size:var(--fs-normal)}.radio-text{margin-inline:5px;cursor:pointer}.addPayRollComponent .button-wrapper{margin-top:50px}\n"]
3607
+ styles: [".side-screen{background:var(--fb-surface-elevated, #ffffff);max-width:415px;width:100%;position:absolute;right:0;top:0;height:100%;z-index:105;max-height:100vh;overflow:hidden;box-shadow:-1px 0 3px 1px var(--fb-backdrop, rgba(0, 0, 0, .12))}.side-header{padding:12px 20px;border-bottom:1px solid var(--fb-border-default, #e2e8f0)}.side-header .close-icon svg{transform:scale(1.5)}.side-content{padding:10px}.scrollable-content{max-height:calc(100vh - 90px);overflow:hidden;overflow-y:auto}.tiny-info-text{font-size:var(--fs-small);color:var(--fb-text-primary, #0f172a);font-weight:var(--fw-600)}.label-txt.increase-text,.side-content .form-control,.radio-text{font-size:var(--fs-normal)}.radio-text{margin-inline:5px;cursor:pointer}.addPayRollComponent .button-wrapper{margin-top:50px}\n"]
3608
3608
  }]
3609
3609
  }],
3610
3610
  ctorParameters: () => [],
@@ -3650,7 +3650,7 @@ var ApprovalScreenComponent = class ApprovalScreenComponent {
3650
3650
  providers: [DatePipe],
3651
3651
  ngImport: i0,
3652
3652
  template: "<app-common-screen headerTitle=\"Approval Details\" (sideScreenEmittedEvent)=\"sideScreenEmitted()\">\n <div class=\"side-main-content container\">\n <div class=\"row\">\n <div class=\"col-md-12\">\n <!-- Approval Info -->\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.NAME' | customTranslate : 'Name'}}:</div>\n <div class=\"col-6 text-start\">{{ infoData.name }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.STATUS' | customTranslate : 'Status'}}:</div>\n <div class=\"col-6 text-start\">\n <span class=\"badge custom-badge\" [ngClass]=\"{\n 'bg-success': infoData.status === 'Approved', \n 'bg-warning': infoData.status === 'Pending',\n 'bg-danger': infoData.status === 'Rejected'}\">\n {{ infoData.status }}</span>\n </div>\n </div>\n <div class=\"row mb-3\" *ngIf=\"!hideFields.includes('leaveStatus')\">\n <!-- SK21DEC24 to add Approval status in side screen-->\n <div class=\"col-6 text-start\">{{'APP.APPROVAL_STATUS' | customTranslate : 'Approval Status'}}:</div>\n <div class=\"col-6 text-start\">\n <span class=\"badge custom-badge\" [ngClass]=\"{\n 'bg-success': infoData.leaveStatus === 'Approved', \n 'bg-warning': infoData.leaveStatus === 'Pending',\n 'bg-danger': infoData.leaveStatus === 'Rejected'}\">\n {{ infoData.leaveStatus || '' }}</span>\n </div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.REASON' | customTranslate : 'Reason'}}:</div>\n <div class=\"col-6 text-start\">{{ infoData.reason }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.TYPE' | customTranslate : 'Type'}}:</div>\n <div class=\"col-6 text-start\">{{ infoData.type }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.APPLIED_ON' | customTranslate : 'Applied On'}}:</div>\n <div class=\"col-6 text-start\">{{ infoData.appliedOn | date:'short' }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.APPROVED_COUNT' | customTranslate : 'Approved Count'}}:</div>\n <div class=\"col-6 text-start\">{{ infoData.approvedCount }}</div>\n </div>\n </div>\n </div>\n \n <!-- Approval Managers -->\n <!-- SK03DEC24 show approval managers list only if applicable -->\n <h3 *ngIf=\"infoData.approvalManagers != undefined && infoData.approvalManagers.length > 0\" class=\"text-center mb-3 mt-4\" style=\"font-size: 20px\">{{'APP.APPROVAL_MANAGERS' | customTranslate : 'Approval Managers'}}</h3>\n <ul *ngIf=\"infoData.approvalManagers != undefined && infoData.approvalManagers.length > 0\" class=\"list-group mt-4\">\n <li *ngFor=\"let manager of infoData.approvalManagers\" class=\"list-group-item\">\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.EMPLOYEE_ID' | customTranslate : 'Employee ID'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.employeeId }}</div>\n </div>\n <div class=\"row mb-3\">\n <!-- SK10DEC24 to show manager name -->\n <div class=\"col-6 text-start\">{{'APP.EMPLOYEE_NAME' | customTranslate : 'Employee Name'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.name }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.APPROVAL_ORDER' | customTranslate : 'Approval Order'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.approvalOrder }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.STATUS' | customTranslate : 'Status'}}:</div>\n <div class=\"col-6 text-start\">\n <span class=\"badge custom-badge\" [ngClass]=\"{\n 'bg-success': manager.status === 'Approved', \n 'bg-warning': manager.status === 'Pending',\n 'bg-danger': manager.status === 'Rejected'}\">\n {{ manager.status }}\n </span>\n </div>\n </div>\n <div class=\"row mb-3\" *ngIf=\"manager.viewedOn\">\n <div class=\"col-6 text-start\">{{'APP.VIEWED_ON' | customTranslate : 'Viewed On'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.viewedOn | date:'short' }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.IS_OPTIONAL' | customTranslate : 'Is Optional'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.isOptional ? \"Yes\" : \"No\" }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.COMMENTS' | customTranslate : 'Comments'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.rejectionReason }}</div>\n </div>\n </li>\n </ul>\n </div>\n \n \n \n </app-common-screen>",
3653
- styles: [""],
3653
+ styles: [".custom-badge.bg-success{background-color:var(--fb-success-surface, #e6f4ea)!important;color:var(--fb-success-text, #137333)!important;border:1px solid var(--fb-success-border, #a8dab5)}.custom-badge.bg-warning{background-color:var(--fb-warning-surface, #fef3c7)!important;color:var(--fb-warning-text, #92400e)!important;border:1px solid var(--fb-warning-border, #fde68a)}.custom-badge.bg-danger{background-color:var(--fb-error-surface, #fee2e2)!important;color:var(--fb-error-text, #991b1b)!important;border:1px solid var(--fb-error-border, #fecaca)}\n"],
3654
3654
  dependencies: [
3655
3655
  {
3656
3656
  kind: "component",
@@ -3718,7 +3718,8 @@ i0.ɵɵngDeclareClassMetadata({
3718
3718
  CustomTranslatePipe
3719
3719
  ],
3720
3720
  providers: [DatePipe],
3721
- template: "<app-common-screen headerTitle=\"Approval Details\" (sideScreenEmittedEvent)=\"sideScreenEmitted()\">\n <div class=\"side-main-content container\">\n <div class=\"row\">\n <div class=\"col-md-12\">\n <!-- Approval Info -->\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.NAME' | customTranslate : 'Name'}}:</div>\n <div class=\"col-6 text-start\">{{ infoData.name }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.STATUS' | customTranslate : 'Status'}}:</div>\n <div class=\"col-6 text-start\">\n <span class=\"badge custom-badge\" [ngClass]=\"{\n 'bg-success': infoData.status === 'Approved', \n 'bg-warning': infoData.status === 'Pending',\n 'bg-danger': infoData.status === 'Rejected'}\">\n {{ infoData.status }}</span>\n </div>\n </div>\n <div class=\"row mb-3\" *ngIf=\"!hideFields.includes('leaveStatus')\">\n <!-- SK21DEC24 to add Approval status in side screen-->\n <div class=\"col-6 text-start\">{{'APP.APPROVAL_STATUS' | customTranslate : 'Approval Status'}}:</div>\n <div class=\"col-6 text-start\">\n <span class=\"badge custom-badge\" [ngClass]=\"{\n 'bg-success': infoData.leaveStatus === 'Approved', \n 'bg-warning': infoData.leaveStatus === 'Pending',\n 'bg-danger': infoData.leaveStatus === 'Rejected'}\">\n {{ infoData.leaveStatus || '' }}</span>\n </div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.REASON' | customTranslate : 'Reason'}}:</div>\n <div class=\"col-6 text-start\">{{ infoData.reason }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.TYPE' | customTranslate : 'Type'}}:</div>\n <div class=\"col-6 text-start\">{{ infoData.type }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.APPLIED_ON' | customTranslate : 'Applied On'}}:</div>\n <div class=\"col-6 text-start\">{{ infoData.appliedOn | date:'short' }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.APPROVED_COUNT' | customTranslate : 'Approved Count'}}:</div>\n <div class=\"col-6 text-start\">{{ infoData.approvedCount }}</div>\n </div>\n </div>\n </div>\n \n <!-- Approval Managers -->\n <!-- SK03DEC24 show approval managers list only if applicable -->\n <h3 *ngIf=\"infoData.approvalManagers != undefined && infoData.approvalManagers.length > 0\" class=\"text-center mb-3 mt-4\" style=\"font-size: 20px\">{{'APP.APPROVAL_MANAGERS' | customTranslate : 'Approval Managers'}}</h3>\n <ul *ngIf=\"infoData.approvalManagers != undefined && infoData.approvalManagers.length > 0\" class=\"list-group mt-4\">\n <li *ngFor=\"let manager of infoData.approvalManagers\" class=\"list-group-item\">\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.EMPLOYEE_ID' | customTranslate : 'Employee ID'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.employeeId }}</div>\n </div>\n <div class=\"row mb-3\">\n <!-- SK10DEC24 to show manager name -->\n <div class=\"col-6 text-start\">{{'APP.EMPLOYEE_NAME' | customTranslate : 'Employee Name'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.name }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.APPROVAL_ORDER' | customTranslate : 'Approval Order'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.approvalOrder }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.STATUS' | customTranslate : 'Status'}}:</div>\n <div class=\"col-6 text-start\">\n <span class=\"badge custom-badge\" [ngClass]=\"{\n 'bg-success': manager.status === 'Approved', \n 'bg-warning': manager.status === 'Pending',\n 'bg-danger': manager.status === 'Rejected'}\">\n {{ manager.status }}\n </span>\n </div>\n </div>\n <div class=\"row mb-3\" *ngIf=\"manager.viewedOn\">\n <div class=\"col-6 text-start\">{{'APP.VIEWED_ON' | customTranslate : 'Viewed On'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.viewedOn | date:'short' }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.IS_OPTIONAL' | customTranslate : 'Is Optional'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.isOptional ? \"Yes\" : \"No\" }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.COMMENTS' | customTranslate : 'Comments'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.rejectionReason }}</div>\n </div>\n </li>\n </ul>\n </div>\n \n \n \n </app-common-screen>"
3721
+ template: "<app-common-screen headerTitle=\"Approval Details\" (sideScreenEmittedEvent)=\"sideScreenEmitted()\">\n <div class=\"side-main-content container\">\n <div class=\"row\">\n <div class=\"col-md-12\">\n <!-- Approval Info -->\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.NAME' | customTranslate : 'Name'}}:</div>\n <div class=\"col-6 text-start\">{{ infoData.name }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.STATUS' | customTranslate : 'Status'}}:</div>\n <div class=\"col-6 text-start\">\n <span class=\"badge custom-badge\" [ngClass]=\"{\n 'bg-success': infoData.status === 'Approved', \n 'bg-warning': infoData.status === 'Pending',\n 'bg-danger': infoData.status === 'Rejected'}\">\n {{ infoData.status }}</span>\n </div>\n </div>\n <div class=\"row mb-3\" *ngIf=\"!hideFields.includes('leaveStatus')\">\n <!-- SK21DEC24 to add Approval status in side screen-->\n <div class=\"col-6 text-start\">{{'APP.APPROVAL_STATUS' | customTranslate : 'Approval Status'}}:</div>\n <div class=\"col-6 text-start\">\n <span class=\"badge custom-badge\" [ngClass]=\"{\n 'bg-success': infoData.leaveStatus === 'Approved', \n 'bg-warning': infoData.leaveStatus === 'Pending',\n 'bg-danger': infoData.leaveStatus === 'Rejected'}\">\n {{ infoData.leaveStatus || '' }}</span>\n </div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.REASON' | customTranslate : 'Reason'}}:</div>\n <div class=\"col-6 text-start\">{{ infoData.reason }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.TYPE' | customTranslate : 'Type'}}:</div>\n <div class=\"col-6 text-start\">{{ infoData.type }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.APPLIED_ON' | customTranslate : 'Applied On'}}:</div>\n <div class=\"col-6 text-start\">{{ infoData.appliedOn | date:'short' }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.APPROVED_COUNT' | customTranslate : 'Approved Count'}}:</div>\n <div class=\"col-6 text-start\">{{ infoData.approvedCount }}</div>\n </div>\n </div>\n </div>\n \n <!-- Approval Managers -->\n <!-- SK03DEC24 show approval managers list only if applicable -->\n <h3 *ngIf=\"infoData.approvalManagers != undefined && infoData.approvalManagers.length > 0\" class=\"text-center mb-3 mt-4\" style=\"font-size: 20px\">{{'APP.APPROVAL_MANAGERS' | customTranslate : 'Approval Managers'}}</h3>\n <ul *ngIf=\"infoData.approvalManagers != undefined && infoData.approvalManagers.length > 0\" class=\"list-group mt-4\">\n <li *ngFor=\"let manager of infoData.approvalManagers\" class=\"list-group-item\">\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.EMPLOYEE_ID' | customTranslate : 'Employee ID'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.employeeId }}</div>\n </div>\n <div class=\"row mb-3\">\n <!-- SK10DEC24 to show manager name -->\n <div class=\"col-6 text-start\">{{'APP.EMPLOYEE_NAME' | customTranslate : 'Employee Name'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.name }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.APPROVAL_ORDER' | customTranslate : 'Approval Order'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.approvalOrder }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.STATUS' | customTranslate : 'Status'}}:</div>\n <div class=\"col-6 text-start\">\n <span class=\"badge custom-badge\" [ngClass]=\"{\n 'bg-success': manager.status === 'Approved', \n 'bg-warning': manager.status === 'Pending',\n 'bg-danger': manager.status === 'Rejected'}\">\n {{ manager.status }}\n </span>\n </div>\n </div>\n <div class=\"row mb-3\" *ngIf=\"manager.viewedOn\">\n <div class=\"col-6 text-start\">{{'APP.VIEWED_ON' | customTranslate : 'Viewed On'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.viewedOn | date:'short' }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.IS_OPTIONAL' | customTranslate : 'Is Optional'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.isOptional ? \"Yes\" : \"No\" }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.COMMENTS' | customTranslate : 'Comments'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.rejectionReason }}</div>\n </div>\n </li>\n </ul>\n </div>\n \n \n \n </app-common-screen>",
3722
+ styles: [".custom-badge.bg-success{background-color:var(--fb-success-surface, #e6f4ea)!important;color:var(--fb-success-text, #137333)!important;border:1px solid var(--fb-success-border, #a8dab5)}.custom-badge.bg-warning{background-color:var(--fb-warning-surface, #fef3c7)!important;color:var(--fb-warning-text, #92400e)!important;border:1px solid var(--fb-warning-border, #fde68a)}.custom-badge.bg-danger{background-color:var(--fb-error-surface, #fee2e2)!important;color:var(--fb-error-text, #991b1b)!important;border:1px solid var(--fb-error-border, #fecaca)}\n"]
3722
3723
  }]
3723
3724
  }],
3724
3725
  ctorParameters: () => [{
@@ -5172,8 +5173,8 @@ var FormsComponent = class FormsComponent {
5172
5173
  selector: "app-forms",
5173
5174
  inputs: { tab: "tab" },
5174
5175
  ngImport: i0,
5175
- template: "<div class=\"flex justify-content-between\">\n <div>\n <!-- SK05DEC25 MR 09NOV26 Standardize sub-nav tabs with modern underline indicator -->\n <ul class=\"nav sub-nav-head tab-view-buttons w-100\" role=\"tablist\">\n <li class=\"nav-item\" role=\"presentation\" *ngFor=\"let tab of tabs; let i = index\">\n <button type=\"button\"\n class=\"nav-link sub-nav\"\n [class.active]=\"eachTypeOfTab === tab.name\"\n role=\"tab\"\n [attr.aria-selected]=\"eachTypeOfTab === tab.name\"\n (click)=\"currentTabNav(tab)\">\n <span class=\"sub-tab-text\">\n {{tab.labelPath || tab.label | customTranslate : tab.label }}\n </span>\n </button>\n </li>\n </ul>\n </div>\n <div class=\"flex ms-2\">\n <!-- SK05DEC25 FY dropdown -->\n <app-drop-down class=\"me-2\" [lists]=\"fyList\" [selectedData]=\"selectedFYData\" dropDownHeight=\"32px\"\n dropFontWeight=\"500\" dropFontSize=\"12px\" dropFontColor=\"#434555\" dropBorderRadius=\"5px\"\n dropDownWidth=\"150px\" (dataEmit)=\"selectedDropdownValue($event, 'fyYear')\">\n </app-drop-down>\n <!-- SK05DEC25 Quarter Dropdown -->\n <app-drop-down class=\"me-2\" [lists]=\"['Q1', 'Q2', 'Q3', 'Q4']\" [selectedData]=\"selectedQuarterData\"\n dropDownHeight=\"32px\" dropFontWeight=\"500\" dropFontSize=\"12px\" dropFontColor=\"#434555\"\n dropBorderRadius=\"5px\" dropDownWidth=\"150px\" (dataEmit)=\"selectedDropdownValue($event, 'quarter')\">\n </app-drop-down>\n <!-- SK05DEC25 Submit Form24Q button -->\n <div class=\"align-self-center me-3\">\n <app-fusion-button [buttonValue]=\" 'APP_HRM_PAYROLL_FORM24Q.SUBMIT_24Q' | customTranslate : 'Submit 24Q' \"\n (buttonClickEmit)=\"submitClick('submit24Q')\" [buttonLoadingSpinner]=\"submitButtonLoader\">\n </app-fusion-button>\n </div>\n </div>\n</div>\n\n\n<div class=\"row\">\n <ng-container *ngFor=\"let comp of components; let j=index\">\n <!-- {{comp._id}} -->\n <div class=\"{{comp.size}}\">\n <!-- SK05DEC25 button component -->\n <div *ngIf=\"comp.type === 'buttons'\" class=\"mb-1\" style=\"display: flex; justify-content: end;\">\n <app-fusion-button *ngFor=\"let button of comp?.config?.buttons\"\n (buttonClickEmit)=\"commonButtonClickEmit(button)\" [buttonType]=\"button.class\"\n [buttonValue]=\"button.labelPath || button.namePath || button.name | customTranslate : button.label || button.name\">\n </app-fusion-button>\n </div>\n <!-- SK05DEC25 table for challans -->\n <div *ngIf=\"comp.type === 'table' && eachTypeOfTab === 'challans' \" class=\"comp-wrap mt-2\">\n <nxt-datatable [direction]=\"direction\" [languageCode]=\"languageCode\"\n [isLoading]=\"isLoading['getFormData']?.length > 0\" [searchBar]=\"comp?.config?.searchBar\"\n [withCheckBox]=\"comp?.config?.withCheckBox\" [isEditRow]=\"comp?.config?.isEditRow\"\n [isDeleteRow]=\"comp?.config?.isDeleteRow\"\n [isButtonLoading]=\"isLoading['onDeleteRecord']?.length > 0\"\n [actionButton]=\"comp?.config?.actionButton?.buttonArray?.length > 0 ? comp?.config?.actionButton : false\"\n [isButtons]=\"comp?.config?.isButtons\" [addInlineRecord]=\"comp?.config?.addInlineRecord\"\n [tableId]=\"comp?.config?.tableId\" direction=\"ltr\" [data]=tableData.challans\n [tableWidth]=\"comp?.config?.tableWidth\" [columns]=comp?.config?.columns\n [buttonArray]=comp?.config?.buttons [pagination]=\"comp?.config?.pagination\"\n (selectedValues)=\"tableCheckedDataa($event)\" (buttonEmit)=\"commonButtonClickEmit($event)\"\n (hyperLinkEmit)=\"hyperLinkColumnEmit(comp,$event)\" (onDeleteData)=\"onDeleteRecord($event,comp)\"\n (saveButtonData)=\"saveButtonData($event)\"\n (actionButtonEmit)=\"actionButtonEmit($event, comp._id)\" [multipleFilter]=multipleFilter\n [searchConfigs]=\"comp?.config?.searchConfigs\" [actionButtonArray]=comp?.config?.actionButton\n (NxtTableParamsEmit)=\"comp?.config?.pagination ? tablePageDetails(comp,$event) : tableParamsEmit(tab,$event,comp)\"\n [tableParams]=\"comp?.config?.tableParams\" [listViews]=\"listViews\"\n [tableFilterData]=\"tableFilterData\" [id]=\"comp?._id\"\n (NxtTableFilterEmit)=\"nxtTableFilterEmit($event, comp)\"\n [summaryRows]=\"comp?.config?.summaryRows\" (sideNavEmit)=\"onSideNav($event)\"\n (fileEmit)=\"emitAttachmentClick($event)\">\n </nxt-datatable>\n </div>\n <!-- SK05DEC25 table for deductees and fetched deductees -->\n <div class=\"mb-3 comp-wrap mt-2\" *ngIf=\"comp.type === 'table' && eachTypeOfTab === 'deductees' \" >\n <nxt-datatable [direction]=\"direction\" [languageCode]=\"languageCode\"\n [isLoading]=\"isLoading['getFormData']?.length > 0 || isLoading['syncDeductees']?.length > 0\" [searchBar]=\"comp?.config?.searchBar\"\n [withCheckBox]=\"comp?.config?.withCheckBox\" [isEditRow]=\"comp?.config?.isEditRow\"\n [isDeleteRow]=\"comp?.config?.isDeleteRow\"\n [isButtonLoading]=\"isLoading['onDeleteRecord']?.length > 0\"\n [actionButton]=\"comp?.config?.actionButton?.buttonArray?.length > 0 ? comp?.config?.actionButton : false\"\n [isButtons]=\"comp?.config?.isButtons\" [addInlineRecord]=\"comp?.config?.addInlineRecord\"\n [tableId]=\"comp?.config?.tableId\" direction=\"ltr\"\n [data]=\"comp.name === 'deducteeTable' ? tableData.deductees : tableData.fetchedDeductees \"\n [tableWidth]=\"comp?.config?.tableWidth\" [columns]=comp?.config?.columns\n [buttonArray]=comp?.config?.buttons [pagination]=\"comp?.config?.pagination\"\n (selectedValues)=\"tableCheckedDataa($event)\" (buttonEmit)=\"commonButtonClickEmit($event)\"\n (hyperLinkEmit)=\"hyperLinkColumnEmit(comp,$event)\" (onDeleteData)=\"onDeleteRecord($event,comp)\"\n (saveButtonData)=\"saveButtonData($event)\"\n (actionButtonEmit)=\"actionButtonEmit($event, comp._id)\" [multipleFilter]=multipleFilter\n [searchConfigs]=\"comp?.config?.searchConfigs\" [actionButtonArray]=comp?.config?.actionButton\n (NxtTableParamsEmit)=\"comp?.config?.pagination ? tablePageDetails(comp,$event) : tableParamsEmit(tab,$event,comp)\"\n [tableParams]=\"comp?.config?.tableParams\" [listViews]=\"listViews\"\n [tableFilterData]=\"tableFilterData\" [id]=\"comp?._id\"\n (NxtTableFilterEmit)=\"nxtTableFilterEmit($event, comp)\"\n [summaryRows]=\"comp?.config?.summaryRows\" (sideNavEmit)=\"onSideNav($event)\"\n (fileEmit)=\"emitAttachmentClick($event)\">\n </nxt-datatable>\n </div>\n <!-- SK05DEC25 nxtpage for details/batchheader/fileheader -->\n <div *ngIf=\"comp.type === 'nxtPage'\">\n <lib-booklet *ngIf=\"!isLoading[comp._id] && !isLoading['getFormData']\" [bookletJSON]=\"comp.config.nxtJSON\" [isEdit]=\"true\" [dataBind]=\"bookValue\"\n [languageCode]=\"languageCode\" [apiUrl]=\"apiUrl\" [direction]=\"direction\" [isLoading]=\"nxtLoader\"\n (handleBookletActionEvent)=\"nxtFormHandler($event)\">\n </lib-booklet>\n <div *ngIf=\"isLoading[comp._id]?.length > 0 || isLoading['getFormData']?.length > 0 || (modalProperties ? isLoading[modalProperties?._id]?.length > 0 : false)\" class=\"row my-1\">\n <div class=\"col-md-12\">\n <div class=\"title\" data-title>\n <div class=\"skeleton skeleton-text\"></div>\n <div class=\"skeleton skeleton-text\"></div>\n </div>\n </div>\n <div class=\"col-md-12 mt-3\">\n <div class=\"title\" data-title>\n <div class=\"skeleton skeleton-text\"></div>\n <div class=\"skeleton skeleton-text\"></div>\n </div>\n </div>\n <div class=\"col-md-12 mt-3\">\n <div class=\"title\" data-title>\n <div class=\"skeleton skeleton-text\"></div>\n <div class=\"skeleton skeleton-text\"></div>\n </div>\n </div>\n <div class=\"col-md-12 mt-3\">\n <div class=\"title\" data-title>\n <div class=\"skeleton skeleton-text\"></div>\n <div class=\"skeleton skeleton-text\"></div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </ng-container>\n</div>\n\n<!-- SK05DEC25 if condition to open modal -->\n<app-modal \n [modalTitle]=\"modalProperties?.modalTitlePath || modalProperties?.modalTitle || isLoading['deducteeSubmit']?.length > 0 || isLoading['challanSubmit']?.length > 0 || isLoading['detailSubmit']?.length > 0 || 'NXT BOOK' | customTranslate : modalProperties?.modalTitle\"\n [modalFooter]=\"modalProperties?.isModalFooter\" [saveButtonValue]=\"modalProperties?.modalSaveButtonValue\"\n [isModalOpen]=\"openModal\" (cancelButtonEmit)=\"modalClose($event)\" [modalSize]=\"modalProperties?.modalSize\">\n <div class=\"modal-body\">\n <div>\n <!-- <lib-booklet [bookletJSON]=\"nxtJSON\" [isEdit]=\"true\" [dataBind]=\"bookValue\"\n [languageCode]=\"languageCode\" [apiUrl]=\"apiUrl\" [direction]=\"direction\" [isLoading]=\"nxtLoader\"\n (handleBookletActionEvent)=\"nxtFormHandler($event)\">\n </lib-booklet> -->\n <!-- SK24JUN24 language code update to nxt -->\n <app-browse [nxtJSON]=\"nxtJSON\" [modalProperties]=\"modalProperties\" [nxtEdit]=\"true\" [bookValue]=\"bookValue\"\n [languageCode]=\"languageCode\" (nxtFormHandlerEmit)=\"nxtFormHandler($event)\">\n </app-browse>\n </div>\n </div>\n</app-modal>",
5176
- styles: [".sub-nav-head{display:flex;flex-wrap:nowrap;overflow-x:auto;border-bottom:1px solid var(--border-color, #E2E8F0);gap:4px;list-style:none;padding:0;margin:0}.sub-nav{background:transparent;border:none;border-bottom:3.5px solid transparent;margin-bottom:-1px;padding:8px 16px;font-size:var(--fs-normal, 14px);font-weight:var(--fw-500, 500);color:var(--label-text-color, #475569);cursor:pointer;display:inline-flex;align-items:center;gap:6px;transition:color .15s ease-in-out,border-color .15s ease-in-out}.sub-nav:hover{color:var(--fc-text-color-dark, #0F172A)}.sub-nav.active{color:var(--fc-primary-color, #0140C1);font-weight:var(--fw-600, 600);border-bottom:3.5px solid var(--fc-primary-color, #0140C1)}.tab-box{display:flex;flex-wrap:nowrap;border-bottom:1px solid var(--border-color, #E2E8F0)}.tabCls{cursor:pointer}.tab-text,.sub-tab-text{line-height:100%}.tab-active-color{color:var(--fc-primary-color, #0140C1);font-weight:var(--fw-600, 600)}::ng-deep .upload-preview-wrapper{height:0}\n"],
5176
+ template: "<div class=\"flex justify-content-between\">\n <div>\n <!-- SK05DEC25 MR 09NOV26 Standardize sub-nav tabs with modern underline indicator -->\n <ul class=\"nav sub-nav-head tab-view-buttons w-100\" role=\"tablist\">\n <li class=\"nav-item\" role=\"presentation\" *ngFor=\"let tab of tabs; let i = index\">\n <button type=\"button\"\n class=\"nav-link sub-nav\"\n [class.active]=\"eachTypeOfTab === tab.name\"\n role=\"tab\"\n [attr.aria-selected]=\"eachTypeOfTab === tab.name\"\n (click)=\"currentTabNav(tab)\">\n <span class=\"sub-tab-text\">\n {{tab.labelPath || tab.label | customTranslate : tab.label }}\n </span>\n </button>\n </li>\n </ul>\n </div>\n <div class=\"flex ms-2\">\n <!-- SK05DEC25 FY dropdown -->\n <!-- MR 16NOV26 Remediate hardcoded dropdown font colors to semantic theme token -->\n <app-drop-down class=\"me-2\" [lists]=\"fyList\" [selectedData]=\"selectedFYData\" dropDownHeight=\"32px\"\n dropFontWeight=\"500\" dropFontSize=\"12px\" dropFontColor=\"var(--fb-text-primary, #0f172a)\" dropBorderRadius=\"5px\"\n dropDownWidth=\"150px\" (dataEmit)=\"selectedDropdownValue($event, 'fyYear')\">\n </app-drop-down>\n <!-- SK05DEC25 Quarter Dropdown -->\n <app-drop-down class=\"me-2\" [lists]=\"['Q1', 'Q2', 'Q3', 'Q4']\" [selectedData]=\"selectedQuarterData\"\n dropDownHeight=\"32px\" dropFontWeight=\"500\" dropFontSize=\"12px\" dropFontColor=\"var(--fb-text-primary, #0f172a)\"\n dropBorderRadius=\"5px\" dropDownWidth=\"150px\" (dataEmit)=\"selectedDropdownValue($event, 'quarter')\">\n </app-drop-down>\n <!-- SK05DEC25 Submit Form24Q button -->\n <div class=\"align-self-center me-3\">\n <app-fusion-button [buttonValue]=\" 'APP_HRM_PAYROLL_FORM24Q.SUBMIT_24Q' | customTranslate : 'Submit 24Q' \"\n (buttonClickEmit)=\"submitClick('submit24Q')\" [buttonLoadingSpinner]=\"submitButtonLoader\">\n </app-fusion-button>\n </div>\n </div>\n</div>\n\n\n<div class=\"row\">\n <ng-container *ngFor=\"let comp of components; let j=index\">\n <!-- {{comp._id}} -->\n <div class=\"{{comp.size}}\">\n <!-- SK05DEC25 button component -->\n <div *ngIf=\"comp.type === 'buttons'\" class=\"mb-1\" style=\"display: flex; justify-content: end;\">\n <app-fusion-button *ngFor=\"let button of comp?.config?.buttons\"\n (buttonClickEmit)=\"commonButtonClickEmit(button)\" [buttonType]=\"button.class\"\n [buttonValue]=\"button.labelPath || button.namePath || button.name | customTranslate : button.label || button.name\">\n </app-fusion-button>\n </div>\n <!-- SK05DEC25 table for challans -->\n <div *ngIf=\"comp.type === 'table' && eachTypeOfTab === 'challans' \" class=\"comp-wrap mt-2\">\n <nxt-datatable [direction]=\"direction\" [languageCode]=\"languageCode\"\n [isLoading]=\"isLoading['getFormData']?.length > 0\" [searchBar]=\"comp?.config?.searchBar\"\n [withCheckBox]=\"comp?.config?.withCheckBox\" [isEditRow]=\"comp?.config?.isEditRow\"\n [isDeleteRow]=\"comp?.config?.isDeleteRow\"\n [isButtonLoading]=\"isLoading['onDeleteRecord']?.length > 0\"\n [actionButton]=\"comp?.config?.actionButton?.buttonArray?.length > 0 ? comp?.config?.actionButton : false\"\n [isButtons]=\"comp?.config?.isButtons\" [addInlineRecord]=\"comp?.config?.addInlineRecord\"\n [tableId]=\"comp?.config?.tableId\" direction=\"ltr\" [data]=tableData.challans\n [tableWidth]=\"comp?.config?.tableWidth\" [columns]=comp?.config?.columns\n [buttonArray]=comp?.config?.buttons [pagination]=\"comp?.config?.pagination\"\n (selectedValues)=\"tableCheckedDataa($event)\" (buttonEmit)=\"commonButtonClickEmit($event)\"\n (hyperLinkEmit)=\"hyperLinkColumnEmit(comp,$event)\" (onDeleteData)=\"onDeleteRecord($event,comp)\"\n (saveButtonData)=\"saveButtonData($event)\"\n (actionButtonEmit)=\"actionButtonEmit($event, comp._id)\" [multipleFilter]=multipleFilter\n [searchConfigs]=\"comp?.config?.searchConfigs\" [actionButtonArray]=comp?.config?.actionButton\n (NxtTableParamsEmit)=\"comp?.config?.pagination ? tablePageDetails(comp,$event) : tableParamsEmit(tab,$event,comp)\"\n [tableParams]=\"comp?.config?.tableParams\" [listViews]=\"listViews\"\n [tableFilterData]=\"tableFilterData\" [id]=\"comp?._id\"\n (NxtTableFilterEmit)=\"nxtTableFilterEmit($event, comp)\"\n [summaryRows]=\"comp?.config?.summaryRows\" (sideNavEmit)=\"onSideNav($event)\"\n (fileEmit)=\"emitAttachmentClick($event)\">\n </nxt-datatable>\n </div>\n <!-- SK05DEC25 table for deductees and fetched deductees -->\n <div class=\"mb-3 comp-wrap mt-2\" *ngIf=\"comp.type === 'table' && eachTypeOfTab === 'deductees' \" >\n <nxt-datatable [direction]=\"direction\" [languageCode]=\"languageCode\"\n [isLoading]=\"isLoading['getFormData']?.length > 0 || isLoading['syncDeductees']?.length > 0\" [searchBar]=\"comp?.config?.searchBar\"\n [withCheckBox]=\"comp?.config?.withCheckBox\" [isEditRow]=\"comp?.config?.isEditRow\"\n [isDeleteRow]=\"comp?.config?.isDeleteRow\"\n [isButtonLoading]=\"isLoading['onDeleteRecord']?.length > 0\"\n [actionButton]=\"comp?.config?.actionButton?.buttonArray?.length > 0 ? comp?.config?.actionButton : false\"\n [isButtons]=\"comp?.config?.isButtons\" [addInlineRecord]=\"comp?.config?.addInlineRecord\"\n [tableId]=\"comp?.config?.tableId\" direction=\"ltr\"\n [data]=\"comp.name === 'deducteeTable' ? tableData.deductees : tableData.fetchedDeductees \"\n [tableWidth]=\"comp?.config?.tableWidth\" [columns]=comp?.config?.columns\n [buttonArray]=comp?.config?.buttons [pagination]=\"comp?.config?.pagination\"\n (selectedValues)=\"tableCheckedDataa($event)\" (buttonEmit)=\"commonButtonClickEmit($event)\"\n (hyperLinkEmit)=\"hyperLinkColumnEmit(comp,$event)\" (onDeleteData)=\"onDeleteRecord($event,comp)\"\n (saveButtonData)=\"saveButtonData($event)\"\n (actionButtonEmit)=\"actionButtonEmit($event, comp._id)\" [multipleFilter]=multipleFilter\n [searchConfigs]=\"comp?.config?.searchConfigs\" [actionButtonArray]=comp?.config?.actionButton\n (NxtTableParamsEmit)=\"comp?.config?.pagination ? tablePageDetails(comp,$event) : tableParamsEmit(tab,$event,comp)\"\n [tableParams]=\"comp?.config?.tableParams\" [listViews]=\"listViews\"\n [tableFilterData]=\"tableFilterData\" [id]=\"comp?._id\"\n (NxtTableFilterEmit)=\"nxtTableFilterEmit($event, comp)\"\n [summaryRows]=\"comp?.config?.summaryRows\" (sideNavEmit)=\"onSideNav($event)\"\n (fileEmit)=\"emitAttachmentClick($event)\">\n </nxt-datatable>\n </div>\n <!-- SK05DEC25 nxtpage for details/batchheader/fileheader -->\n <div *ngIf=\"comp.type === 'nxtPage'\">\n <lib-booklet *ngIf=\"!isLoading[comp._id] && !isLoading['getFormData']\" [bookletJSON]=\"comp.config.nxtJSON\" [isEdit]=\"true\" [dataBind]=\"bookValue\"\n [languageCode]=\"languageCode\" [apiUrl]=\"apiUrl\" [direction]=\"direction\" [isLoading]=\"nxtLoader\"\n (handleBookletActionEvent)=\"nxtFormHandler($event)\">\n </lib-booklet>\n <div *ngIf=\"isLoading[comp._id]?.length > 0 || isLoading['getFormData']?.length > 0 || (modalProperties ? isLoading[modalProperties?._id]?.length > 0 : false)\" class=\"row my-1\">\n <div class=\"col-md-12\">\n <div class=\"title\" data-title>\n <div class=\"skeleton skeleton-text\"></div>\n <div class=\"skeleton skeleton-text\"></div>\n </div>\n </div>\n <div class=\"col-md-12 mt-3\">\n <div class=\"title\" data-title>\n <div class=\"skeleton skeleton-text\"></div>\n <div class=\"skeleton skeleton-text\"></div>\n </div>\n </div>\n <div class=\"col-md-12 mt-3\">\n <div class=\"title\" data-title>\n <div class=\"skeleton skeleton-text\"></div>\n <div class=\"skeleton skeleton-text\"></div>\n </div>\n </div>\n <div class=\"col-md-12 mt-3\">\n <div class=\"title\" data-title>\n <div class=\"skeleton skeleton-text\"></div>\n <div class=\"skeleton skeleton-text\"></div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </ng-container>\n</div>\n\n<!-- SK05DEC25 if condition to open modal -->\n<app-modal \n [modalTitle]=\"modalProperties?.modalTitlePath || modalProperties?.modalTitle || isLoading['deducteeSubmit']?.length > 0 || isLoading['challanSubmit']?.length > 0 || isLoading['detailSubmit']?.length > 0 || 'NXT BOOK' | customTranslate : modalProperties?.modalTitle\"\n [modalFooter]=\"modalProperties?.isModalFooter\" [saveButtonValue]=\"modalProperties?.modalSaveButtonValue\"\n [isModalOpen]=\"openModal\" (cancelButtonEmit)=\"modalClose($event)\" [modalSize]=\"modalProperties?.modalSize\">\n <div class=\"modal-body\">\n <div>\n <!-- <lib-booklet [bookletJSON]=\"nxtJSON\" [isEdit]=\"true\" [dataBind]=\"bookValue\"\n [languageCode]=\"languageCode\" [apiUrl]=\"apiUrl\" [direction]=\"direction\" [isLoading]=\"nxtLoader\"\n (handleBookletActionEvent)=\"nxtFormHandler($event)\">\n </lib-booklet> -->\n <!-- SK24JUN24 language code update to nxt -->\n <app-browse [nxtJSON]=\"nxtJSON\" [modalProperties]=\"modalProperties\" [nxtEdit]=\"true\" [bookValue]=\"bookValue\"\n [languageCode]=\"languageCode\" (nxtFormHandlerEmit)=\"nxtFormHandler($event)\">\n </app-browse>\n </div>\n </div>\n</app-modal>",
5177
+ styles: [".sub-nav-head{display:flex;flex-wrap:nowrap;overflow-x:auto;border-bottom:1px solid var(--fb-border-default, #e2e8f0);gap:4px;list-style:none;padding:0;margin:0}.sub-nav{background:transparent;border:none;border-bottom:3.5px solid transparent;margin-bottom:-1px;padding:8px 16px;font-size:var(--fs-normal, 14px);font-weight:var(--fw-500, 500);color:var(--fb-nav-text, #475569);cursor:pointer;display:inline-flex;align-items:center;gap:6px;transition:color .15s ease-in-out,border-color .15s ease-in-out}.sub-nav:hover{color:var(--fb-nav-hover, #0f172a)}.sub-nav.active{color:var(--fb-nav-text-active, #0140c1);font-weight:var(--fw-600, 600);border-bottom:3.5px solid var(--fb-border-on-action, #0140c1)}.tab-box{display:flex;flex-wrap:nowrap;border-bottom:1px solid var(--fb-border-default, #e2e8f0)}.tabCls{cursor:pointer}.tab-text,.sub-tab-text{line-height:100%}.tab-active-color{color:var(--fb-nav-text-active, #0140c1);font-weight:var(--fw-600, 600)}::ng-deep .upload-preview-wrapper{height:0}\n"],
5177
5178
  dependencies: [
5178
5179
  {
5179
5180
  kind: "ngmodule",
@@ -5462,8 +5463,8 @@ i0.ɵɵngDeclareClassMetadata({
5462
5463
  AngularSvgIconModule,
5463
5464
  FusionButtonComponent
5464
5465
  ],
5465
- template: "<div class=\"flex justify-content-between\">\n <div>\n <!-- SK05DEC25 MR 09NOV26 Standardize sub-nav tabs with modern underline indicator -->\n <ul class=\"nav sub-nav-head tab-view-buttons w-100\" role=\"tablist\">\n <li class=\"nav-item\" role=\"presentation\" *ngFor=\"let tab of tabs; let i = index\">\n <button type=\"button\"\n class=\"nav-link sub-nav\"\n [class.active]=\"eachTypeOfTab === tab.name\"\n role=\"tab\"\n [attr.aria-selected]=\"eachTypeOfTab === tab.name\"\n (click)=\"currentTabNav(tab)\">\n <span class=\"sub-tab-text\">\n {{tab.labelPath || tab.label | customTranslate : tab.label }}\n </span>\n </button>\n </li>\n </ul>\n </div>\n <div class=\"flex ms-2\">\n <!-- SK05DEC25 FY dropdown -->\n <app-drop-down class=\"me-2\" [lists]=\"fyList\" [selectedData]=\"selectedFYData\" dropDownHeight=\"32px\"\n dropFontWeight=\"500\" dropFontSize=\"12px\" dropFontColor=\"#434555\" dropBorderRadius=\"5px\"\n dropDownWidth=\"150px\" (dataEmit)=\"selectedDropdownValue($event, 'fyYear')\">\n </app-drop-down>\n <!-- SK05DEC25 Quarter Dropdown -->\n <app-drop-down class=\"me-2\" [lists]=\"['Q1', 'Q2', 'Q3', 'Q4']\" [selectedData]=\"selectedQuarterData\"\n dropDownHeight=\"32px\" dropFontWeight=\"500\" dropFontSize=\"12px\" dropFontColor=\"#434555\"\n dropBorderRadius=\"5px\" dropDownWidth=\"150px\" (dataEmit)=\"selectedDropdownValue($event, 'quarter')\">\n </app-drop-down>\n <!-- SK05DEC25 Submit Form24Q button -->\n <div class=\"align-self-center me-3\">\n <app-fusion-button [buttonValue]=\" 'APP_HRM_PAYROLL_FORM24Q.SUBMIT_24Q' | customTranslate : 'Submit 24Q' \"\n (buttonClickEmit)=\"submitClick('submit24Q')\" [buttonLoadingSpinner]=\"submitButtonLoader\">\n </app-fusion-button>\n </div>\n </div>\n</div>\n\n\n<div class=\"row\">\n <ng-container *ngFor=\"let comp of components; let j=index\">\n <!-- {{comp._id}} -->\n <div class=\"{{comp.size}}\">\n <!-- SK05DEC25 button component -->\n <div *ngIf=\"comp.type === 'buttons'\" class=\"mb-1\" style=\"display: flex; justify-content: end;\">\n <app-fusion-button *ngFor=\"let button of comp?.config?.buttons\"\n (buttonClickEmit)=\"commonButtonClickEmit(button)\" [buttonType]=\"button.class\"\n [buttonValue]=\"button.labelPath || button.namePath || button.name | customTranslate : button.label || button.name\">\n </app-fusion-button>\n </div>\n <!-- SK05DEC25 table for challans -->\n <div *ngIf=\"comp.type === 'table' && eachTypeOfTab === 'challans' \" class=\"comp-wrap mt-2\">\n <nxt-datatable [direction]=\"direction\" [languageCode]=\"languageCode\"\n [isLoading]=\"isLoading['getFormData']?.length > 0\" [searchBar]=\"comp?.config?.searchBar\"\n [withCheckBox]=\"comp?.config?.withCheckBox\" [isEditRow]=\"comp?.config?.isEditRow\"\n [isDeleteRow]=\"comp?.config?.isDeleteRow\"\n [isButtonLoading]=\"isLoading['onDeleteRecord']?.length > 0\"\n [actionButton]=\"comp?.config?.actionButton?.buttonArray?.length > 0 ? comp?.config?.actionButton : false\"\n [isButtons]=\"comp?.config?.isButtons\" [addInlineRecord]=\"comp?.config?.addInlineRecord\"\n [tableId]=\"comp?.config?.tableId\" direction=\"ltr\" [data]=tableData.challans\n [tableWidth]=\"comp?.config?.tableWidth\" [columns]=comp?.config?.columns\n [buttonArray]=comp?.config?.buttons [pagination]=\"comp?.config?.pagination\"\n (selectedValues)=\"tableCheckedDataa($event)\" (buttonEmit)=\"commonButtonClickEmit($event)\"\n (hyperLinkEmit)=\"hyperLinkColumnEmit(comp,$event)\" (onDeleteData)=\"onDeleteRecord($event,comp)\"\n (saveButtonData)=\"saveButtonData($event)\"\n (actionButtonEmit)=\"actionButtonEmit($event, comp._id)\" [multipleFilter]=multipleFilter\n [searchConfigs]=\"comp?.config?.searchConfigs\" [actionButtonArray]=comp?.config?.actionButton\n (NxtTableParamsEmit)=\"comp?.config?.pagination ? tablePageDetails(comp,$event) : tableParamsEmit(tab,$event,comp)\"\n [tableParams]=\"comp?.config?.tableParams\" [listViews]=\"listViews\"\n [tableFilterData]=\"tableFilterData\" [id]=\"comp?._id\"\n (NxtTableFilterEmit)=\"nxtTableFilterEmit($event, comp)\"\n [summaryRows]=\"comp?.config?.summaryRows\" (sideNavEmit)=\"onSideNav($event)\"\n (fileEmit)=\"emitAttachmentClick($event)\">\n </nxt-datatable>\n </div>\n <!-- SK05DEC25 table for deductees and fetched deductees -->\n <div class=\"mb-3 comp-wrap mt-2\" *ngIf=\"comp.type === 'table' && eachTypeOfTab === 'deductees' \" >\n <nxt-datatable [direction]=\"direction\" [languageCode]=\"languageCode\"\n [isLoading]=\"isLoading['getFormData']?.length > 0 || isLoading['syncDeductees']?.length > 0\" [searchBar]=\"comp?.config?.searchBar\"\n [withCheckBox]=\"comp?.config?.withCheckBox\" [isEditRow]=\"comp?.config?.isEditRow\"\n [isDeleteRow]=\"comp?.config?.isDeleteRow\"\n [isButtonLoading]=\"isLoading['onDeleteRecord']?.length > 0\"\n [actionButton]=\"comp?.config?.actionButton?.buttonArray?.length > 0 ? comp?.config?.actionButton : false\"\n [isButtons]=\"comp?.config?.isButtons\" [addInlineRecord]=\"comp?.config?.addInlineRecord\"\n [tableId]=\"comp?.config?.tableId\" direction=\"ltr\"\n [data]=\"comp.name === 'deducteeTable' ? tableData.deductees : tableData.fetchedDeductees \"\n [tableWidth]=\"comp?.config?.tableWidth\" [columns]=comp?.config?.columns\n [buttonArray]=comp?.config?.buttons [pagination]=\"comp?.config?.pagination\"\n (selectedValues)=\"tableCheckedDataa($event)\" (buttonEmit)=\"commonButtonClickEmit($event)\"\n (hyperLinkEmit)=\"hyperLinkColumnEmit(comp,$event)\" (onDeleteData)=\"onDeleteRecord($event,comp)\"\n (saveButtonData)=\"saveButtonData($event)\"\n (actionButtonEmit)=\"actionButtonEmit($event, comp._id)\" [multipleFilter]=multipleFilter\n [searchConfigs]=\"comp?.config?.searchConfigs\" [actionButtonArray]=comp?.config?.actionButton\n (NxtTableParamsEmit)=\"comp?.config?.pagination ? tablePageDetails(comp,$event) : tableParamsEmit(tab,$event,comp)\"\n [tableParams]=\"comp?.config?.tableParams\" [listViews]=\"listViews\"\n [tableFilterData]=\"tableFilterData\" [id]=\"comp?._id\"\n (NxtTableFilterEmit)=\"nxtTableFilterEmit($event, comp)\"\n [summaryRows]=\"comp?.config?.summaryRows\" (sideNavEmit)=\"onSideNav($event)\"\n (fileEmit)=\"emitAttachmentClick($event)\">\n </nxt-datatable>\n </div>\n <!-- SK05DEC25 nxtpage for details/batchheader/fileheader -->\n <div *ngIf=\"comp.type === 'nxtPage'\">\n <lib-booklet *ngIf=\"!isLoading[comp._id] && !isLoading['getFormData']\" [bookletJSON]=\"comp.config.nxtJSON\" [isEdit]=\"true\" [dataBind]=\"bookValue\"\n [languageCode]=\"languageCode\" [apiUrl]=\"apiUrl\" [direction]=\"direction\" [isLoading]=\"nxtLoader\"\n (handleBookletActionEvent)=\"nxtFormHandler($event)\">\n </lib-booklet>\n <div *ngIf=\"isLoading[comp._id]?.length > 0 || isLoading['getFormData']?.length > 0 || (modalProperties ? isLoading[modalProperties?._id]?.length > 0 : false)\" class=\"row my-1\">\n <div class=\"col-md-12\">\n <div class=\"title\" data-title>\n <div class=\"skeleton skeleton-text\"></div>\n <div class=\"skeleton skeleton-text\"></div>\n </div>\n </div>\n <div class=\"col-md-12 mt-3\">\n <div class=\"title\" data-title>\n <div class=\"skeleton skeleton-text\"></div>\n <div class=\"skeleton skeleton-text\"></div>\n </div>\n </div>\n <div class=\"col-md-12 mt-3\">\n <div class=\"title\" data-title>\n <div class=\"skeleton skeleton-text\"></div>\n <div class=\"skeleton skeleton-text\"></div>\n </div>\n </div>\n <div class=\"col-md-12 mt-3\">\n <div class=\"title\" data-title>\n <div class=\"skeleton skeleton-text\"></div>\n <div class=\"skeleton skeleton-text\"></div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </ng-container>\n</div>\n\n<!-- SK05DEC25 if condition to open modal -->\n<app-modal \n [modalTitle]=\"modalProperties?.modalTitlePath || modalProperties?.modalTitle || isLoading['deducteeSubmit']?.length > 0 || isLoading['challanSubmit']?.length > 0 || isLoading['detailSubmit']?.length > 0 || 'NXT BOOK' | customTranslate : modalProperties?.modalTitle\"\n [modalFooter]=\"modalProperties?.isModalFooter\" [saveButtonValue]=\"modalProperties?.modalSaveButtonValue\"\n [isModalOpen]=\"openModal\" (cancelButtonEmit)=\"modalClose($event)\" [modalSize]=\"modalProperties?.modalSize\">\n <div class=\"modal-body\">\n <div>\n <!-- <lib-booklet [bookletJSON]=\"nxtJSON\" [isEdit]=\"true\" [dataBind]=\"bookValue\"\n [languageCode]=\"languageCode\" [apiUrl]=\"apiUrl\" [direction]=\"direction\" [isLoading]=\"nxtLoader\"\n (handleBookletActionEvent)=\"nxtFormHandler($event)\">\n </lib-booklet> -->\n <!-- SK24JUN24 language code update to nxt -->\n <app-browse [nxtJSON]=\"nxtJSON\" [modalProperties]=\"modalProperties\" [nxtEdit]=\"true\" [bookValue]=\"bookValue\"\n [languageCode]=\"languageCode\" (nxtFormHandlerEmit)=\"nxtFormHandler($event)\">\n </app-browse>\n </div>\n </div>\n</app-modal>",
5466
- styles: [".sub-nav-head{display:flex;flex-wrap:nowrap;overflow-x:auto;border-bottom:1px solid var(--border-color, #E2E8F0);gap:4px;list-style:none;padding:0;margin:0}.sub-nav{background:transparent;border:none;border-bottom:3.5px solid transparent;margin-bottom:-1px;padding:8px 16px;font-size:var(--fs-normal, 14px);font-weight:var(--fw-500, 500);color:var(--label-text-color, #475569);cursor:pointer;display:inline-flex;align-items:center;gap:6px;transition:color .15s ease-in-out,border-color .15s ease-in-out}.sub-nav:hover{color:var(--fc-text-color-dark, #0F172A)}.sub-nav.active{color:var(--fc-primary-color, #0140C1);font-weight:var(--fw-600, 600);border-bottom:3.5px solid var(--fc-primary-color, #0140C1)}.tab-box{display:flex;flex-wrap:nowrap;border-bottom:1px solid var(--border-color, #E2E8F0)}.tabCls{cursor:pointer}.tab-text,.sub-tab-text{line-height:100%}.tab-active-color{color:var(--fc-primary-color, #0140C1);font-weight:var(--fw-600, 600)}::ng-deep .upload-preview-wrapper{height:0}\n"]
5466
+ template: "<div class=\"flex justify-content-between\">\n <div>\n <!-- SK05DEC25 MR 09NOV26 Standardize sub-nav tabs with modern underline indicator -->\n <ul class=\"nav sub-nav-head tab-view-buttons w-100\" role=\"tablist\">\n <li class=\"nav-item\" role=\"presentation\" *ngFor=\"let tab of tabs; let i = index\">\n <button type=\"button\"\n class=\"nav-link sub-nav\"\n [class.active]=\"eachTypeOfTab === tab.name\"\n role=\"tab\"\n [attr.aria-selected]=\"eachTypeOfTab === tab.name\"\n (click)=\"currentTabNav(tab)\">\n <span class=\"sub-tab-text\">\n {{tab.labelPath || tab.label | customTranslate : tab.label }}\n </span>\n </button>\n </li>\n </ul>\n </div>\n <div class=\"flex ms-2\">\n <!-- SK05DEC25 FY dropdown -->\n <!-- MR 16NOV26 Remediate hardcoded dropdown font colors to semantic theme token -->\n <app-drop-down class=\"me-2\" [lists]=\"fyList\" [selectedData]=\"selectedFYData\" dropDownHeight=\"32px\"\n dropFontWeight=\"500\" dropFontSize=\"12px\" dropFontColor=\"var(--fb-text-primary, #0f172a)\" dropBorderRadius=\"5px\"\n dropDownWidth=\"150px\" (dataEmit)=\"selectedDropdownValue($event, 'fyYear')\">\n </app-drop-down>\n <!-- SK05DEC25 Quarter Dropdown -->\n <app-drop-down class=\"me-2\" [lists]=\"['Q1', 'Q2', 'Q3', 'Q4']\" [selectedData]=\"selectedQuarterData\"\n dropDownHeight=\"32px\" dropFontWeight=\"500\" dropFontSize=\"12px\" dropFontColor=\"var(--fb-text-primary, #0f172a)\"\n dropBorderRadius=\"5px\" dropDownWidth=\"150px\" (dataEmit)=\"selectedDropdownValue($event, 'quarter')\">\n </app-drop-down>\n <!-- SK05DEC25 Submit Form24Q button -->\n <div class=\"align-self-center me-3\">\n <app-fusion-button [buttonValue]=\" 'APP_HRM_PAYROLL_FORM24Q.SUBMIT_24Q' | customTranslate : 'Submit 24Q' \"\n (buttonClickEmit)=\"submitClick('submit24Q')\" [buttonLoadingSpinner]=\"submitButtonLoader\">\n </app-fusion-button>\n </div>\n </div>\n</div>\n\n\n<div class=\"row\">\n <ng-container *ngFor=\"let comp of components; let j=index\">\n <!-- {{comp._id}} -->\n <div class=\"{{comp.size}}\">\n <!-- SK05DEC25 button component -->\n <div *ngIf=\"comp.type === 'buttons'\" class=\"mb-1\" style=\"display: flex; justify-content: end;\">\n <app-fusion-button *ngFor=\"let button of comp?.config?.buttons\"\n (buttonClickEmit)=\"commonButtonClickEmit(button)\" [buttonType]=\"button.class\"\n [buttonValue]=\"button.labelPath || button.namePath || button.name | customTranslate : button.label || button.name\">\n </app-fusion-button>\n </div>\n <!-- SK05DEC25 table for challans -->\n <div *ngIf=\"comp.type === 'table' && eachTypeOfTab === 'challans' \" class=\"comp-wrap mt-2\">\n <nxt-datatable [direction]=\"direction\" [languageCode]=\"languageCode\"\n [isLoading]=\"isLoading['getFormData']?.length > 0\" [searchBar]=\"comp?.config?.searchBar\"\n [withCheckBox]=\"comp?.config?.withCheckBox\" [isEditRow]=\"comp?.config?.isEditRow\"\n [isDeleteRow]=\"comp?.config?.isDeleteRow\"\n [isButtonLoading]=\"isLoading['onDeleteRecord']?.length > 0\"\n [actionButton]=\"comp?.config?.actionButton?.buttonArray?.length > 0 ? comp?.config?.actionButton : false\"\n [isButtons]=\"comp?.config?.isButtons\" [addInlineRecord]=\"comp?.config?.addInlineRecord\"\n [tableId]=\"comp?.config?.tableId\" direction=\"ltr\" [data]=tableData.challans\n [tableWidth]=\"comp?.config?.tableWidth\" [columns]=comp?.config?.columns\n [buttonArray]=comp?.config?.buttons [pagination]=\"comp?.config?.pagination\"\n (selectedValues)=\"tableCheckedDataa($event)\" (buttonEmit)=\"commonButtonClickEmit($event)\"\n (hyperLinkEmit)=\"hyperLinkColumnEmit(comp,$event)\" (onDeleteData)=\"onDeleteRecord($event,comp)\"\n (saveButtonData)=\"saveButtonData($event)\"\n (actionButtonEmit)=\"actionButtonEmit($event, comp._id)\" [multipleFilter]=multipleFilter\n [searchConfigs]=\"comp?.config?.searchConfigs\" [actionButtonArray]=comp?.config?.actionButton\n (NxtTableParamsEmit)=\"comp?.config?.pagination ? tablePageDetails(comp,$event) : tableParamsEmit(tab,$event,comp)\"\n [tableParams]=\"comp?.config?.tableParams\" [listViews]=\"listViews\"\n [tableFilterData]=\"tableFilterData\" [id]=\"comp?._id\"\n (NxtTableFilterEmit)=\"nxtTableFilterEmit($event, comp)\"\n [summaryRows]=\"comp?.config?.summaryRows\" (sideNavEmit)=\"onSideNav($event)\"\n (fileEmit)=\"emitAttachmentClick($event)\">\n </nxt-datatable>\n </div>\n <!-- SK05DEC25 table for deductees and fetched deductees -->\n <div class=\"mb-3 comp-wrap mt-2\" *ngIf=\"comp.type === 'table' && eachTypeOfTab === 'deductees' \" >\n <nxt-datatable [direction]=\"direction\" [languageCode]=\"languageCode\"\n [isLoading]=\"isLoading['getFormData']?.length > 0 || isLoading['syncDeductees']?.length > 0\" [searchBar]=\"comp?.config?.searchBar\"\n [withCheckBox]=\"comp?.config?.withCheckBox\" [isEditRow]=\"comp?.config?.isEditRow\"\n [isDeleteRow]=\"comp?.config?.isDeleteRow\"\n [isButtonLoading]=\"isLoading['onDeleteRecord']?.length > 0\"\n [actionButton]=\"comp?.config?.actionButton?.buttonArray?.length > 0 ? comp?.config?.actionButton : false\"\n [isButtons]=\"comp?.config?.isButtons\" [addInlineRecord]=\"comp?.config?.addInlineRecord\"\n [tableId]=\"comp?.config?.tableId\" direction=\"ltr\"\n [data]=\"comp.name === 'deducteeTable' ? tableData.deductees : tableData.fetchedDeductees \"\n [tableWidth]=\"comp?.config?.tableWidth\" [columns]=comp?.config?.columns\n [buttonArray]=comp?.config?.buttons [pagination]=\"comp?.config?.pagination\"\n (selectedValues)=\"tableCheckedDataa($event)\" (buttonEmit)=\"commonButtonClickEmit($event)\"\n (hyperLinkEmit)=\"hyperLinkColumnEmit(comp,$event)\" (onDeleteData)=\"onDeleteRecord($event,comp)\"\n (saveButtonData)=\"saveButtonData($event)\"\n (actionButtonEmit)=\"actionButtonEmit($event, comp._id)\" [multipleFilter]=multipleFilter\n [searchConfigs]=\"comp?.config?.searchConfigs\" [actionButtonArray]=comp?.config?.actionButton\n (NxtTableParamsEmit)=\"comp?.config?.pagination ? tablePageDetails(comp,$event) : tableParamsEmit(tab,$event,comp)\"\n [tableParams]=\"comp?.config?.tableParams\" [listViews]=\"listViews\"\n [tableFilterData]=\"tableFilterData\" [id]=\"comp?._id\"\n (NxtTableFilterEmit)=\"nxtTableFilterEmit($event, comp)\"\n [summaryRows]=\"comp?.config?.summaryRows\" (sideNavEmit)=\"onSideNav($event)\"\n (fileEmit)=\"emitAttachmentClick($event)\">\n </nxt-datatable>\n </div>\n <!-- SK05DEC25 nxtpage for details/batchheader/fileheader -->\n <div *ngIf=\"comp.type === 'nxtPage'\">\n <lib-booklet *ngIf=\"!isLoading[comp._id] && !isLoading['getFormData']\" [bookletJSON]=\"comp.config.nxtJSON\" [isEdit]=\"true\" [dataBind]=\"bookValue\"\n [languageCode]=\"languageCode\" [apiUrl]=\"apiUrl\" [direction]=\"direction\" [isLoading]=\"nxtLoader\"\n (handleBookletActionEvent)=\"nxtFormHandler($event)\">\n </lib-booklet>\n <div *ngIf=\"isLoading[comp._id]?.length > 0 || isLoading['getFormData']?.length > 0 || (modalProperties ? isLoading[modalProperties?._id]?.length > 0 : false)\" class=\"row my-1\">\n <div class=\"col-md-12\">\n <div class=\"title\" data-title>\n <div class=\"skeleton skeleton-text\"></div>\n <div class=\"skeleton skeleton-text\"></div>\n </div>\n </div>\n <div class=\"col-md-12 mt-3\">\n <div class=\"title\" data-title>\n <div class=\"skeleton skeleton-text\"></div>\n <div class=\"skeleton skeleton-text\"></div>\n </div>\n </div>\n <div class=\"col-md-12 mt-3\">\n <div class=\"title\" data-title>\n <div class=\"skeleton skeleton-text\"></div>\n <div class=\"skeleton skeleton-text\"></div>\n </div>\n </div>\n <div class=\"col-md-12 mt-3\">\n <div class=\"title\" data-title>\n <div class=\"skeleton skeleton-text\"></div>\n <div class=\"skeleton skeleton-text\"></div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </ng-container>\n</div>\n\n<!-- SK05DEC25 if condition to open modal -->\n<app-modal \n [modalTitle]=\"modalProperties?.modalTitlePath || modalProperties?.modalTitle || isLoading['deducteeSubmit']?.length > 0 || isLoading['challanSubmit']?.length > 0 || isLoading['detailSubmit']?.length > 0 || 'NXT BOOK' | customTranslate : modalProperties?.modalTitle\"\n [modalFooter]=\"modalProperties?.isModalFooter\" [saveButtonValue]=\"modalProperties?.modalSaveButtonValue\"\n [isModalOpen]=\"openModal\" (cancelButtonEmit)=\"modalClose($event)\" [modalSize]=\"modalProperties?.modalSize\">\n <div class=\"modal-body\">\n <div>\n <!-- <lib-booklet [bookletJSON]=\"nxtJSON\" [isEdit]=\"true\" [dataBind]=\"bookValue\"\n [languageCode]=\"languageCode\" [apiUrl]=\"apiUrl\" [direction]=\"direction\" [isLoading]=\"nxtLoader\"\n (handleBookletActionEvent)=\"nxtFormHandler($event)\">\n </lib-booklet> -->\n <!-- SK24JUN24 language code update to nxt -->\n <app-browse [nxtJSON]=\"nxtJSON\" [modalProperties]=\"modalProperties\" [nxtEdit]=\"true\" [bookValue]=\"bookValue\"\n [languageCode]=\"languageCode\" (nxtFormHandlerEmit)=\"nxtFormHandler($event)\">\n </app-browse>\n </div>\n </div>\n</app-modal>",
5467
+ styles: [".sub-nav-head{display:flex;flex-wrap:nowrap;overflow-x:auto;border-bottom:1px solid var(--fb-border-default, #e2e8f0);gap:4px;list-style:none;padding:0;margin:0}.sub-nav{background:transparent;border:none;border-bottom:3.5px solid transparent;margin-bottom:-1px;padding:8px 16px;font-size:var(--fs-normal, 14px);font-weight:var(--fw-500, 500);color:var(--fb-nav-text, #475569);cursor:pointer;display:inline-flex;align-items:center;gap:6px;transition:color .15s ease-in-out,border-color .15s ease-in-out}.sub-nav:hover{color:var(--fb-nav-hover, #0f172a)}.sub-nav.active{color:var(--fb-nav-text-active, #0140c1);font-weight:var(--fw-600, 600);border-bottom:3.5px solid var(--fb-border-on-action, #0140c1)}.tab-box{display:flex;flex-wrap:nowrap;border-bottom:1px solid var(--fb-border-default, #e2e8f0)}.tabCls{cursor:pointer}.tab-text,.sub-tab-text{line-height:100%}.tab-active-color{color:var(--fb-nav-text-active, #0140c1);font-weight:var(--fw-600, 600)}::ng-deep .upload-preview-wrapper{height:0}\n"]
5467
5468
  }]
5468
5469
  }],
5469
5470
  ctorParameters: () => [
@@ -6731,8 +6732,8 @@ var DataTableComponent = class DataTableComponent {
6731
6732
  ],
6732
6733
  usesOnChanges: true,
6733
6734
  ngImport: i0,
6734
- template: "<div class=\"table-layout\" [id]=\"tableId\" style=\"padding-top: 1px;\">\n <div>\n <!-- SK30JAN25 title added -->\n <div class=\"d-flex justify-content-center table-title align-text-center\">\n {{title}}\n </div>\n \n <div class=\"flex justify-content-between\" style=\"padding-bottom: 5px;\">\n <div class=\"d-flex align-items-center\">\n <!-- MR 09NOV26 table-toolbar-left projection slot -->\n <ng-content select=\"[table-toolbar-left]\"></ng-content>\n\n\n <div *ngIf=\"dateDropdown \">\n <app-drop-down class=\"field-input\" [lists]='dropdownLists' dropDownHeight=\"38px\" dropDownWidth=\"200px\"\n (dataEmit)=\"dropdownEmitFunction($event)\" [selectedData]=\"dropdownSelectedData\"></app-drop-down>\n </div>\n <!-- SC11NOV2025 if isDatePicker is true then show the date picker -->\n <div *ngIf=\"isDatePicker\">\n <app-drop-down [lists]='list' [selectedData]=\"selectedData\" dropDownHeight=\"42px\" dropFontWeight=\"500\"\n dropFontSize=\"12px\" dropFontColor=\"#434555\" dropBorderRadius=\"5px\" dropDownWidth=\"200px\"\n (dataEmit)=\"dateFilter($event)\"></app-drop-down>\n </div>\n </div>\n <!-- SKS24JAN25 show Nos in table -->\n <!-- <div style=\"display: flex; align-items: center;\">\n <p *ngIf=\"totalRecords || totalCount\" style=\"font-weight: var(--fw-500); margin-right: 5px; margin-bottom: 0px;\">{{'APP.NOS' | customTranslate : 'Nos'}} </p> <span style=\"color: var(--fc-primary-color, rgb(43, 87, 249));\">{{totalRecords || totalCount}}</span>\n </div> -->\n <!-- SKS24JAN25 search bar config and nonconfig -->\n <div style=\"margin-left:auto;\">\n <div class=\"flex\" style=\"align-items: center;\">\n <!-- MR 09NOV26 table-toolbar-right projection slot -->\n <ng-content select=\"[table-toolbar-right]\"></ng-content>\n\n\n <div class=\"search\">\n <div class=\"search-bar\">\n <img class=\"card-btn\" src=\"../assets/images/icons/general/Search.svg\">\n <input type=\"text\" placeholder=\"{{ 'APP.SEARCH' | customTranslate : 'Search' }}\" matInput\n (keyup)=\"searchConfigs ? emptySearch($event) : applyFilter($event)\"\n [value]=\" (searchConfigs || searchTextValue) ? searchBoxValue || '' : '' \" #input\n style=\"font-size: 13px !important;\">\n <img *ngIf=\"searchConfigs && searchBar\" (click)=\"onSearch(input.value)\"\n src=\"../assets/images/icons/general/configSearch.svg\" class=\"configSearch\">\n </div>\n </div>\n\n <!-- MR 09NOV26 Single toolbar button support from second-data-table -->\n <div class=\"flex\" *ngIf=\"button\">\n <app-fusion-button class=\"data-table-fsbtn ms-2 me-2\" (buttonClickEmit)=\"commonButtonClick($event, button)\"\n [buttonType]=\"button?.class || button?.buttonType\" [buttonValue]=\"button?.namePath || button?.labelPath || button?.name | customTranslate : button?.label || button?.name\"\n [buttonConfig]=\"button?.buttonConfig\" [type]=\"button?.type\" [fcBtnIconLeftSrc]=\"button?.btnIconLeftSrc || button?.fcBtnIconLeftSrc\"\n [isImageSvg]=\"button?.isImageSvg\">\n </app-fusion-button>\n </div>\n\n <!-- SKS24JAN25 single, group and dropdown dynamic buttons -->\n <div class=\"flex\" *ngIf=\"isButtons\" style=\"padding-left: 7px;\">\n <div class=\"flex\" *ngFor=\"let button of buttonArray\">\n <app-fusion-button class=\"data-table-fsbtn\" [buttonDisable]=\"button.buttonDisable\"\n [buttonLoadingSpinner]=\"buttonLoadingSpinner\" (buttonClickEmit)=\"commonButtonClick($event,button)\"\n [buttonType]=\"button.label === 'Export' ? 'grey-border rounded-3 bg-white text-dark' : button.class\"\n [buttonValue]=\"button.labelPath || button.namePath || button.name | customTranslate : button.label || button.name\"\n [buttonConfig]=\"button.buttonConfig\" [type]=\"button.type\" class=\"ms-2 me-2\"\n [fcBtnIconLeftSrc]=\"button.label === 'Export' ? '../assets/images/icons/general/upload-icon.svg' : button.fcBtnIconLeftSrc\" [isImageSvg]=\"button.label === 'Export' ? true : button.isImageSvg\">\n <!--SKS25OCT24 If the value is 'Import' or 'Export', this button does not work-->\n </app-fusion-button>\n </div>\n </div>\n \n </div>\n\n <!-- SK23FEB24 for adding new record in table -->\n <div class=\"flex cursor-pointer\" *ngIf=\"addInlineRecord\" (click)=\"addTableRecord(inlineElement)\"\n [matTooltip]=\"'APP.ADD_NEW_RECORD' | customTranslate : 'Add New Record'\">\n <div class=\"ms-1 me-1\">\n <!-- MR 30OCT26 Refactor inline html template styling to theme tokens -->\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-add-square nav-icon\"\n style=\"color: var(--fb-text-primary, #0f172a) !important;\"></i>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"table-subtitle\" *ngIf=\"titleOn && title\">\n {{ title | customTranslate : title }}\n </div>\n\n <div class=\"table-margin\">\n <div class=\"table-container\" cdkScrollable> <!-- SKS3FEB25 The search filter closes when scrolling the table-->\n <!-- MSM28JAN25 MR 09NOV26 skeleton loader condition using isTableLoading --> \n <ng-container *ngIf=\"!isTableLoading; else loadingTemplate\">\n <table mat-table [dataSource]=\"dataSource || []\" [ngStyle]=\"{ width: tableWidth }\" matSort>\n <!-- Checkbox Columns -->\n <ng-container [sticky]=\"true\" class=\"checkboxCol\" *ngIf=\"withCheckBox\" matColumnDef=\"select\" sticky>\n <th mat-header-cell *matHeaderCellDef class=\"sticky-column head-color\" style=\"border-left: 1px solid var(--fb-border-default, #e2e8f0);\">\n <input type=\"checkbox\" (click)=\"$event.stopPropagation()\" (change)=\"masterToggle()\"\n [checked]=\"selection?.hasValue()\" [indeterminate]=\"selection?.hasValue() && !isAllSelected()\"\n class=\"custom-checkbox\" />\n </th>\n <td mat-cell *matCellDef=\"let row\" class=\"body-color\" >\n <!-- SK18OCT24 check payroll Inprogress/Completed from backend data -->\n <input type=\"checkbox\" class=\"custom-checkbox\"\n [title]=\"(fromWhere === 'payrollTable' || fromWhere === 'paySlip') ? (row?.payProcessComment || '') : ''\"\n (click)=\"$event.stopPropagation()\" (change)=\"separateRowSelect(row)\"\n [checked]=\"selection.isSelected(row)\"\n [disabled]=\"(fromWhere === 'payrollTable' && row.isPayProcessed === true) || (fromWhere === 'paySlip' && row.isPayProcessed === false)\" />\n </td>\n <td mat-footer-cell *matFooterCellDef>\n {{ \"\" }}\n </td>\n </ng-container>\n\n <!-- data Columns -->\n <!-- set the matColumnDef attribute to the column name and use interpolation to dynamically generate the mat-header-cell and mat-cell elements based on the column name-->\n <ng-container *ngFor=\"let column of displayedColumns; let i=index\" [matColumnDef]=\"column\"\n [stickyEnd]=\"i === (stickyCondition - 1) ? true : false\" [sticky]=\"stickyColumns.includes(column)\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header\n style=\"border-right: 1px solid var(--fb-border-default, #e2e8f0);\" class=\"head-color ms-2 ps-2 pe-2\" \n [ngClass]=\"{'sticky-column': i === (stickyCondition - 1),'active-column': activeColumn === column,'first-header-border': i === 0}\"\n (click)=\"$event.stopPropagation(); onColumnClick(column)\">\n <span [class]=\"fromWhere === 'payrollTable' || fromWhere === 'paySlip' ? 'table-width' : '' \">{{\n (\n translatePath && translatePath[displayedColumns.indexOf(column)]\n ? translatePath[displayedColumns.indexOf(column)]\n : headerLabels[displayedColumns.indexOf(column)]\n )\n | customTranslate : headerLabels[displayedColumns.indexOf(column)]\n }}\n </span>\n <div (click)=\"$event.stopPropagation()\" class=\"position-relative\" cdk-overlay-origin\n #trigger=\"cdkOverlayOrigin\">\n <img class=\"ms-1\" *ngIf=\"filterColumns.includes(column)\" style=\"margin-bottom: 2px;\"\n (click)=\"filter(column)\" src=\"../assets/images/icons/general/filter-icon.svg\">\n </div>\n <ng-template cdk-connected-overlay [cdkConnectedOverlayOrigin]=\"trigger\"\n [cdkConnectedOverlayOpen]=\"searchFilter === true && column === selectedFilter\"\n [cdkConnectedOverlayScrollStrategy]=\"createScrollStrategy()\"\n (overlayOutsideClick)=\"searchFilter = false\" (detach)=\"searchFilter = false\">\n <app-search-filter class=\"search-component position-absolute\"\n [class]=\"searchFilter === true && column === selectedFilter ? 'd-block' : 'd-none'\"\n [filterItems]=\"filterArray\" (emitValues)=\"filteredData($event)\" (click)=\"$event.stopPropagation()\">\n </app-search-filter>\n </ng-template>\n </th>\n <ng-container *ngIf=\"dataSource.data.length > 0\">\n <td mat-cell class=\"body-color ps-2 pe-2\" *matCellDef=\"let element; let j = index\"\n [class.active-column]=\"activeColumn === column\">\n <!-- SK29OCT25 employee detail column -->\n <div *ngIf=\"column === 'employeeDetail'\">\n <div class=\"d-flex flex-row\" style=\"left:0;\">\n <div *ngIf=\"element['employeeName'] || element['name']\"\n [class]=\"hyperLinkColumns.includes(column) ? 'hyper-link' : '' \"\n style=\"font-size: var(--fs-small);color: var(--fb-text-primary, #0f172a);font-weight: var(--fw-600);\">\n {{element[\"employeeName\"] || element[\"name\"] || ''}}</div>\n <div *ngIf=\"element['employeeId']\"\n style=\"font-size: 11px;color: var(--fb-text-secondary, #64748b);font-weight: var(--fw-400);\" class=\"ms-1\">\n [{{element[\"employeeId\"] || ''}}]</div>\n </div>\n <div class=\"d-flex flex-row\" *ngIf=\"element['designation'] && element['designation'] !== ''\">\n <div style=\"font-size: 10px;color: var(--fb-text-secondary, #64748b);font-weight: var(--fw-600);\">\n {{element[\"designation\"] || ''}}\n </div>\n <div *ngIf=\"element['designation'] && element['designation'] !== '' && element['location'] && element['location'] !== ''\"\n style=\"font-size: 10px;color: var(--fb-text-secondary, #64748b);font-weight: var(--fw-600);\">,</div>\n <div *ngIf=\"element['location'] && element['location'] !== ''\" style=\"font-size: 10px;color: var(--fb-text-secondary, #64748b);font-weight: var(--fw-600);\">\n {{element[\"location\"] || ''}}\n </div>\n </div>\n </div>\n <div *ngIf=\"column !== 'combinedColumn' && column !== 'employeeDetail' && fromWhere !== 'leaveMaster' && (column !== 'active' && (fromWhere === 'hrmTaxComponent' || fromWhere === 'payrollSettingComponent' || fromWhere === 'hrm' || fromWhere === 'compensation'|| fromWhere === 'payrollTable'|| fromWhere === 'payrollCompare'|| fromWhere === 'paySlip' || fromWhere === 'approval' || fromWhere === 'leave' || fromWhere === 'expense' || fromWhere === 'expenseApproval' || fromWhere === 'leaveAllocation' ||fromWhere === 'parkingApp' ||(fromWhere === 'common' && column != 'signature')))\">\n <!-- SK10APR24 getting the table values using pipe instead of function to increase performance-->\n <div *ngIf=\" ('-' | editColumnCheck: column : editColumn) === ('') \">\n <span class=\"font-size-13 {{checkHyperlinkCheck(column) || fromWhere === 'hrm' || fromWhere === 'compensation' || fromWhere === 'parkingApp' ? ' hyper-link clickable ' : ''}} {{fromWhere === 'payrollTable' || fromWhere === 'paySlip' ? 'table-width' : '' }}\"\n *ngIf=\"hyperLinkColumns.includes(column) || isFirstCell(column)\"\n (click)=\"tableClick(element); onClickHyperlink(column,element, j, checkHyperlinkCheck(column))\">\n <!--SKS21NOV24 Use customDateTime Pipe for both Date and Time -->\n <ng-container *ngIf=\"isDateColumn(column)\">\n {{ element[column] | customDate }}\n </ng-container>\n\n <ng-container *ngIf=\"isTimeColumn(column)\">\n {{ element[column] | customTime }}\n </ng-container>\n\n <!--SKS21NOV24 For other columns, display raw value -->\n <ng-container *ngIf=\"!isDateColumn(column) && !isTimeColumn(column)\">\n {{ '-' | getValue: element : column }}\n </ng-container>\n <!--SKS27NOV24 Check if the current column is in buttonColumn array -->\n <ng-container *ngIf=\"sideScreenColumn?.includes(column)\">\n <img class=\"ms-2\" src=\"../assets/images/icons/general/info.svg\"\n (click)=\"onInfoClick(element, column, j)\">\n </ng-container>\n <!--SKS9JAN25 rightnav column -->\n <ng-container *ngIf=\"objectColumns?.includes(column)\">\n <img class=\"ms-2\" src=\"../assets/images/icons/general/info.svg\"\n (click)=\"onSideNavInfoClick(element, column, j)\">\n </ng-container>\n </span>\n <div *ngIf=\"!isFirstCell(column) && !editColumn.includes(column) && column != 'receipt'\"\n [class]=\"fromWhere === 'payrollTable' || fromWhere === 'paySlip' ? 'table-width' : '' \">\n <div *ngIf=\"!checkHyperlinkCheck(column)\" class=\"font-size-13\">\n <!--SKS21NOV24 Use customDateTime Pipe for both Date and Time -->\n <ng-container *ngIf=\"isDateColumn(column)\">\n {{ element[column] | customDate }}\n </ng-container>\n\n <ng-container *ngIf=\"isTimeColumn(column)\">\n {{ element[column] | customTime }}\n </ng-container>\n\n <!--SKS21NOV24 For other columns, display raw value -->\n <ng-container *ngIf=\"!isDateColumn(column) && !isTimeColumn(column)\">\n {{ '-' | getValue: element : column }}\n </ng-container>\n <!--SKS27NOV24 Check if the current column is in buttonColumn array -->\n <ng-container *ngIf=\"sideScreenColumn?.includes(column)\">\n <img class=\"ms-2\" src=\"../assets/images/icons/general/info.svg\"\n (click)=\"onInfoClick(element, column, j)\">\n </ng-container>\n <!--SKS9JAN25 rightnav column -->\n <ng-container *ngIf=\"objectColumns?.includes(column)\">\n <img class=\"ms-2\" src=\"../assets/images/icons/general/info.svg\"\n (click)=\"onSideNavInfoClick(element, column, j)\">\n </ng-container>\n </div>\n </div>\n </div>\n <!-- SK27FEB24 added input box for inline edit input-->\n <div *ngIf=\"editColumn.length > 0\">\n <div *ngIf=\" ('-' | editColumnCheck: column : editColumn) === ('string') \" class=\"on-edit d-flex\">\n <input #editColElement class=\"lop-input table-width\" [class]=\"element?.editRow ? 'input-box' : '' \"\n matInput [placeholder]=\"'APP.ENTER' | customTranslate : 'Enter'\" [value]=\"element[column]\"\n [(ngModel)]=\"element[column]\" [readOnly]=\"element?.editRow ? false : true\">\n </div>\n <!-- SK10APR24 In table, like text input, added drop down and time inputs as well -->\n <div *ngIf=\" ('-' | editColumnCheck: column : editColumn) === ('object') \" class=\"on-edit d-flex\">\n <input *ngIf=\" ('-' | editColumnType: column : editColumn) === ('text') \" #editColElement\n class=\"lop-input table-width\" [class]=\"element?.editRow ? 'input-box' : '' \" matInput\n [placeholder]=\"'APP.ENTER' | customTranslate : 'Enter'\" [value]=\"element[column]\"\n [(ngModel)]=\"element[column]\" [readOnly]=\"element?.editRow ? false : true\">\n <input *ngIf=\" ('-' | editColumnType: column : editColumn) === ('time') \" type=\"time\"\n class=\"lop-input table-width\" matInput [class]=\"element?.editRow ? 'input-box' : '' \"\n placeholder=\"HH:mm:ss\" [(ngModel)]=\"element[column]\"\n [disabled]=\"element?.editRow ? false : true\" />\n <div *ngIf=\" ('-' | editColumnType: column : editColumn) === ('dropdown') \">\n <select type=\"dropdown\" *ngIf=\"element?.editRow\" class=\"lop-input table-width\" matInput\n [class]=\"element?.editRow ? 'input-box' : '' \" [(ngModel)]=\"element[column]\">\n <option [disabled]=\"element?.editRow ? false : true\"\n *ngFor=\"let data of [] | editColumnDropdown: column : editColumn \"\n [value]=\"data.value || data.name\">{{data.name}}</option>\n </select>\n <input *ngIf=\"!element?.editRow\" #editColElement class=\"lop-input table-width\"\n [class]=\"element?.editRow ? 'input-box' : '' \" matInput\n [placeholder]=\"'APP.ENTER' | customTranslate : 'Enter'\" [value]=\"element[column]\"\n [(ngModel)]=\"element[column]\" [readOnly]=\"true\">\n </div>\n\n </div>\n </div>\n <app-popover\n *ngIf=\"column === 'receipt' && !editColumn.includes(column) && receiptImg == true && element[column] && element[column].length != 0\"\n [isBootstrap]=\"false\" [dynamicPopover]=\"'Popover string comes here'\">\n <div class=\"hover-base\">\n <img class=\"ms-1\" src=\"../../../assets/images/icons/general/file-attach.svg\">\n </div>\n <div class=\"hover-content\">\n <div class=\"expenseCon\">\n <div *ngFor=\"let data of element[column] || []\">\n <div class=\"cursor-pointer expense-file\" (click)=\"expenseAttachment(data,element)\">{{data?.name}}\n <!-- SK20FEB26 loader in expense list-->\n <svg *ngIf=\"data?.loader\"\n class=\"svg-spinner card-icon color\"\n width=\"22\" height=\"22\" viewBox=\"0 0 50 50\"\n style=\"cursor: wait;\">\n <circle class=\"path\" cx=\"25\" cy=\"25\" r=\"20\" fill=\"none\" stroke-width=\"4\"></circle>\n </svg>\n </div>\n </div>\n </div>\n </div>\n </app-popover>\n </div>\n <div *ngIf=\"fromWhere === 'leaveMaster' && column !== 'employeeDetail' \">\n <div [class]=\"(element[column]) === 'Week Off' ? 'weekoff-color' : '' \" class=\"font-size-13\">{{\n (column == 'default' || column == 'active' || column == 'paidLeave') ? '' : element[column] }}</div>\n <input *ngIf=\"(column === 'default' || column === 'active' || column === 'paidLeave')\"\n class=\"custom-checkbox\" [checked]=\"element[column] == true\" type=\"checkbox\" disabled>\n </div>\n <div *ngIf=\"fromWhere === 'payrollSettingComponent' && column === 'combinedColumn'\">\n <!-- for the Payroll Settings Component ( Side Screen Component )-->\n <!-- Since the last column is a combination of data and it is also conditional based on the paytype and calculation type we are using this div-->\n <!-- if Component type is Earnings and\n calculationType is 'flat' then output should be => \"'payType\": Flat, Amount of 'amount'\"\n calculationType is 'percentage' then output should be => \"'payType': 'amount' % of Basic \"\n calculationType is 'fixed' then output should be => \"'payType': 'calculationType'\" -->\n <!-- SK20JUN25 to display in table -->\n <ng-container *ngIf=\"\n element?.calculationType === 'flat' ||\n element?.calculationType === 'percentage' ||\n element?.calculationType === 'basicAndDA' ||\n element?.calculationType === 'fixed' ||\n element?.calculationType === 'ctc';\n else noCalculation\n \">\n <span class=\"spanFontSize\" *ngIf=\"element['calculationType'] == 'flat' && element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\">{{'APP_HRM_PAYROLL_SETTINGS.VARIABLE_FLAT_AMOUNT'\n | customTranslate : 'Variable: Flat Amount: ' }}{{ (element['amount'] || 0)}}</span>\n <span class=\"spanFontSize\" *ngIf=\"element['calculationType'] == 'flat' && !element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\">{{'APP_HRM_PAYROLL_SETTINGS.FIXED_FLAT_AMOUNT'\n | customTranslate : 'Fixed: Flat Amount: ' }}{{ (element['amount'] || 0)}}</span>\n\n <span class=\"spanFontSize\"\n *ngIf=\"element['calculationType'] == 'percentage' && element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\">{{'APP_HRM_PAYROLL_SETTINGS.VARIABLE' |\n customTranslate : 'Variable: ' }}{{element['amount']}}{{ 'APP_HRM_PAYROLL_SETTINGS.PER_OF_BASIC' |\n customTranslate : '% of Basic'}}</span>\n <span class=\"spanFontSize\"\n *ngIf=\"element['calculationType'] == 'percentage' && !element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\">{{'APP_HRM_PAYROLL_SETTINGS.FIXED' |\n customTranslate : 'Fixed: ' }}{{ element['amount']}}{{ 'APP_HRM_PAYROLL_SETTINGS.PER_OF_BASIC' |\n customTranslate : '% of Basic'}}</span>\n\n <span class=\"spanFontSize\"\n *ngIf=\"element['calculationType'] == 'basicAndDA' && element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\">{{'APP_HRM_PAYROLL_SETTINGS.VARIABLE' |\n customTranslate : 'Variable: ' }}{{ element['amount']}}{{\n 'APP_HRM_PAYROLL_SETTINGS.PER_OF_BASIC_AND_DA' | customTranslate : '% of Basic and DA'}}</span>\n <span class=\"spanFontSize\"\n *ngIf=\"element['calculationType'] == 'basicAndDA' && !element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\">{{'APP_HRM_PAYROLL_SETTINGS.FIXED' |\n customTranslate : 'Fixed: ' }}{{ element['amount']}}{{\n 'APP_HRM_PAYROLL_SETTINGS.PER_OF_BASIC_AND_DA' | customTranslate : '% of Basic and DA'}}</span>\n\n <span class=\"spanFontSize\" *ngIf=\"element['calculationType'] == 'fixed' && element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\">{{'APP_HRM_PAYROLL_SETTINGS.VARIABLE' |\n customTranslate : 'Variable: ' }}{{ element['amount']}}{{ 'APP_HRM_PAYROLL_SETTINGS.PER_OF_GROSS'\n | customTranslate : '% of Gross'}}</span>\n <span class=\"spanFontSize\"\n *ngIf=\"element['calculationType'] == 'fixed' && !element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\">{{'APP_HRM_PAYROLL_SETTINGS.FIXED' |\n customTranslate : 'Fixed: ' }}{{ element['amount']}}{{ 'APP_HRM_PAYROLL_SETTINGS.PER_OF_GROSS' |\n customTranslate : '% of Gross'}}</span>\n\n <span class=\"spanFontSize\" *ngIf=\"element['calculationType'] == 'ctc' && !element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\"> {{'APP_HRM_PAYROLL_SETTINGS.FIXED' |\n customTranslate : 'Fixed: ' }} {{ element['amount'] }} {{\n 'APP_HRM_PAYROLL_SETTINGS.PER_OF_FIXED_CTC' | customTranslate : '% of Fixed CTC'}}</span>\n <span class=\"spanFontSize\" *ngIf=\"element['calculationType'] == 'ctc' && element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\">{{'APP_HRM_PAYROLL_SETTINGS.VARIABLE' |\n customTranslate : 'Variable: ' }}{{ element['amount'] }}{{\n 'APP_HRM_PAYROLL_SETTINGS.PER_OF_VARIABLE_CTC' | customTranslate : '% of Variable CTC'}}</span>\n </ng-container>\n\n <ng-template #noCalculation>\n <span class=\"spanFontSize\">-</span>\n </ng-template>\n </div>\n <div *ngIf=\"fromWhere === 'payrollSettingComponent' && column === 'active'\">\n <div class=\"form-check form-switch\">\n <input class=\"custom-checkbox\" type=\"checkbox\" [checked]=\"(element != null && element['active'] === true) ? true : false\"\n (click)=\"element[column]=!element[column]; onToggleChange.emit(fromWhere === 'payrollSettingComponent' ? element : '')\">\n </div>\n </div>\n </td>\n </ng-container>\n <!-- SK16JUL24 to get the sum of column data -->\n <td class=\"ps-2 pe-2 \" mat-footer-cell *matFooterCellDef=\"let element; let j = index\">\n {{ '-' | totalColumSum: data : cumulativeDataColumns : column }}\n </td>\n </ng-container>\n <!-- action button Columns -->\n <!-- SK19MAR25 \"action\" key is changed to \"tableAction\" wherever used, since, it has duplicate error -->\n <ng-container [stickyEnd]=\"true\" *ngIf=\"actionButton || isDeleteRow || isEditRow\"\n matColumnDef=\"tableAction\">\n <th mat-header-cell *matHeaderCellDef\n class=\"head-color action-size sticky-column actionCol text-center\" style=\"border-right: 1px solid var(--border-color, rgba(0, 0, 0, 0.12));\">{{ actionColumHeader |\n customTranslate : 'Action'}}</th>\n <td mat-cell *matCellDef=\"let element; let i=index\" class=\"body-color actionCol\">\n <!-- SKS25DEC24 clone button -->\n <div class=\"d-flex flex-row actionButton\"\n [style.justify-content]=\"conditionSendButton ? 'none' : 'center'\">\n <div *ngIf=\"(!conditionCloneButton) && cloneButton\" class=\"imgBtnDiv\">\n <img style=\"padding: 0px;\" (click)=\"onClone(element , i)\"\n src=\"../assets/images/icons/general/clone.svg\" class=\"imgBtn\" data-bs-toggle=\"modal\">\n </div>\n <div *ngIf=\"(conditionCloneButton) && isConditionMet(element, conditionCloneButton.conditions)\"\n class=\"ms-2 imgBtnDiv\" style=\"margin-top: 6px;\">\n <img style=\"padding: 0px;\" (click)=\"onClone(element , i)\"\n src=\"../assets/images/icons/general/clone.svg\" class=\"imgBtn\" data-bs-toggle=\"modal\">\n </div>\n <!-- SK20FEB26 Expense edit on Pending status -->\n <div *ngIf=\"element?.status === 'Rejected'|| fromWhere === 'leaveMaster' || fromWhere === 'payrollSettingComponent' || fromWhere === 'hrmTaxComponent' || isEditRow || (fromWhere == 'expense' && element?.status === 'Pending' )\">\n <app-fusion-button *ngIf=\"fromWhere == 'leave'\" [buttonType]=\"'text-only'\"\n [buttonValue]=\"'APP.COMMENTS' | customTranslate : 'comments' \"\n (buttonClickEmit)=\"onEdit(element?.rejectionReason, i, element?.status)\" data-bs-toggle=\"modal\"\n data-bs-target=\"#rejectInfoModal\">\n </app-fusion-button>\n <div class=\"imgBtnDiv\"\n *ngIf=\"((!conditionEditButton)&& ((fromWhere == 'expense' ) || fromWhere === 'leaveMaster' || fromWhere === 'payrollSettingComponent' || fromWhere === 'hrmTaxComponent' || isEditRow)) || (conditionEditButton && isConditionMet(element, conditionEditButton.conditions))\">\n <!-- MY 23OCT26 Disable edit action when expense is already Approved -->\n <i *ngIf=\"(!conditionEditButton)&& ((fromWhere == 'expense' ) || fromWhere === 'leaveMaster' || fromWhere === 'payrollSettingComponent' || fromWhere === 'hrmTaxComponent' || isEditRow)\"\n (click)=\"(fromWhere === 'expense' && element?.status?.toLowerCase() === 'approved') ? null : onEdit(fromWhere === 'payrollSettingComponent' || isEditRow ? element : element?._id, i, element?.status)\"\n [matTooltip]=\"(fromWhere === 'expense' && element?.status?.toLowerCase() === 'approved') ? ('APP_EXPENSE.CANNOT_EDIT_APPROVED' | customTranslate : 'Approved expenses cannot be edited') : ('APP.EDIT' | customTranslate : 'Edit')\"\n [style.opacity]=\"(fromWhere === 'expense' && element?.status?.toLowerCase() === 'approved') ? '0.35' : '1'\"\n [style.cursor]=\"(fromWhere === 'expense' && element?.status?.toLowerCase() === 'approved') ? 'not-allowed' : 'pointer'\"\n class=\"fusion-icon nav-icon fusion-icon-edit_pencil\" style=\"margin: 0px !important; font-size: var(--fs-normal, 16px) !important; color: var(--fc-sub-lite, #787486);\">\n </i>\n <i *ngIf=\"conditionEditButton && isConditionMet(element, conditionEditButton.conditions)\"\n [matTooltip]=\"(fromWhere === 'expense' && element?.status?.toLowerCase() === 'approved') ? ('APP_EXPENSE.CANNOT_EDIT_APPROVED' | customTranslate : 'Approved expenses cannot be edited') : ('APP.EDIT' | customTranslate : 'Edit')\"\n [style.opacity]=\"(fromWhere === 'expense' && element?.status?.toLowerCase() === 'approved') ? '0.35' : '1'\"\n [style.cursor]=\"(fromWhere === 'expense' && element?.status?.toLowerCase() === 'approved') ? 'not-allowed' : 'pointer'\"\n (click)=\"(fromWhere === 'expense' && element?.status?.toLowerCase() === 'approved') ? null : onEdit(fromWhere === 'payrollSettingComponent' || isEditRow ? element : element?._id, i)\"\n class=\"fusion-icon nav-icon fusion-icon-edit_pencil\" style=\"margin: 0px !important; font-size: var(--fs-normal, 16px) !important; color: var(--fc-sub-lite, #787486);\">\n </i>\n </div>\n <!-- <img *ngIf=\"fromWhere == 'expense'\" (click)=\"delete(element?._id)\" src=\"../assets/images/icons/Vectordelete.svg\"> -->\n </div>\n <div *ngIf=\"element?.leaveStatus === 'New' || element?.status === 'New' || element?.status === 'Pending' || element?.leaveStatus === 'Pending' || fromWhere === 'leaveMaster' || fromWhere === 'payrollSettingComponent' || fromWhere === 'hrmTaxComponent' || fromWhere == 'expenseApproval' || isDeleteRow\">\n <app-fusion-button *ngIf=\"fromWhere == 'leave'\" [buttonType]=\"'text-only'\"\n [buttonValue]=\"'APP.CANCEL' | customTranslate : 'Cancel'\" (buttonClickEmit)=\"delete(element, i)\"\n data-bs-toggle=\"modal\" data-bs-target=\"#cancelLeave\"></app-fusion-button>\n <!-- SKS21NOV24 Conditional rendering of delete icon based on various conditions -->\n <!-- Show the delete icon if 'conditionDeleteButton' is false and 'fromWhere' matches specific components or 'isDeleteRow' is true -->\n <div class=\"imgBtnDiv\"\n *ngIf=\"((!conditionDeleteButton)&&(fromWhere == 'expense' || fromWhere === 'leaveMaster' || fromWhere === 'payrollSettingComponent' || fromWhere === 'hrmTaxComponent' || isDeleteRow) )|| (conditionDeleteButton && isConditionMet(element, conditionDeleteButton.conditions))\">\n <img\n *ngIf=\"(!conditionDeleteButton)&&(fromWhere == 'expense' || fromWhere === 'leaveMaster' || fromWhere === 'payrollSettingComponent' || fromWhere === 'hrmTaxComponent' || isDeleteRow)\"\n class=\"imgBtn\" [matTooltip]=\"'APP.DELETE_RECORD' | customTranslate : 'Delete Record'\"\n (click)=\"deleteRecord(fromWhere === 'payrollSettingComponent' || isDeleteRow ? element : element?._id, i)\"\n src=\"../assets/images/icons/Vectordelete.svg\">\n <img *ngIf=\"conditionDeleteButton && isConditionMet(element, conditionDeleteButton.conditions)\"\n [matTooltip]=\"'APP.DELETE_RECORD' | customTranslate : 'Delete Record'\"\n (click)=\"deleteRecord(isDeleteRow ? element : element?._id, i)\" class=\"imgBtn\"\n src=\"../assets/images/icons/Vectordelete.svg\">\n </div>\n <div *ngIf=\"fromWhere == 'approval' || fromWhere == 'expenseApproval'\" class=\"flex imgBtnDiv\">\n <img\n *ngIf=\"(fromWhere === 'expenseApproval' && element?.status === 'Approved'&& element?.reImbursed !== 'Reimbursed') || fromWhere == 'approval'\"\n class=\"approval-image me-2\" style=\"padding: 0px; width: 24px !important;\"\n (click)=\"onApprove( element?.employeeId, element?._id, element?.reImbursed )\"\n src=\"../assets/images/icons/general/Approved.svg\">\n <img *ngIf=\"fromWhere !== 'expenseApproval'\" class=\"approval-image\"\n style=\"padding: 0px; width: 24px !important;\"\n (click)=\"onReject( element?.employeeId, element?._id )\"\n src=\"../assets/images/icons/general/Declined.svg\" class=\"\" data-bs-toggle=\"modal\"\n data-bs-target=\"#approvalReject\">\n </div>\n </div>\n <!-- SK02APR24 added preview and download icons -->\n <div *ngIf=\"viewIcon\" class=\"ms-2 imgBtnDiv\">\n <!-- <img [src]=\"('post.svg' | svgIcon:'#000000') | async\" class=\"card-icon color\" title=\"preview\" (click)=\"viewIconClick(element)\" style=\"cursor: pointer;\" /> -->\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-eye nav-icon\" matTooltip=\"Preview\"\n matTooltipPosition=\"above\" style=\"color: var(--fc-text-color-light) !important; cursor: pointer;\"\n (click)=\"viewIconClick(element)\"></i>\n\n </div>\n <div *ngIf=\"downloadIcon\" class=\"ms-2 imgBtnDiv\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-document-download card-icon color imgBtn\"\n matTooltip=\"Download\" matTooltipPosition=\"above\"\n style=\"cursor: pointer; color: var(--fc-text-color-light) !important;\"\n (click)=\"downloadIconClick(element)\">\n </i>\n </div>\n <!-- SKS25DEC24 send button -->\n <div *ngIf=\"(!conditionSendButton) && sendButton\" class=\"ms-2 imgBtnDiv\" style=\"margin-top: 6px;\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-send-2 card-icon color imgBtn\"\n style=\"cursor: pointer\" (click)=\"onSend(element, i)\"\n [matTooltip]=\"'APP.SEND' | customTranslate : 'Send'\"></i>\n </div>\n <div\n *ngIf=\"(conditionSendButton) && isConditionMet(element, conditionSendButton.conditions) && sendButton\"\n class=\"ms-2 imgBtnDiv\" style=\"margin-top: 6px;\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-send-2 card-icon color imgBtn\"\n style=\"cursor: pointer\" (click)=\"onSend(element, i)\"\n [matTooltip]=\"'APP.SEND' | customTranslate : 'Send'\"></i>\n </div>\n <!-- SKS25DEC24 active button -->\n <div *ngIf=\"(!conditionActivateButton) && activeButton\" class=\"ms-2 imgBtnDiv\"\n style=\"margin-top: 10px;\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-group nav-icon\" style=\"color: var(--comp-bg-color, #ffffff);\"></i>\n </div>\n <div\n *ngIf=\"(conditionActivateButton) && isConditionMet(element, conditionActivateButton.conditions) && activeButton\"\n class=\"ms-2 imgBtnDiv\" style=\"margin-top: 10px;\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-group nav-icon\" style=\"color: var(--comp-bg-color, #ffffff);\"></i>\n </div>\n <!-- SKS25DEC24 deactive button -->\n <div *ngIf=\"(!conditionDeactivateButton) && deactiveButton\" class=\"ms-2 imgBtnDiv\"\n style=\"margin-top: 10px;\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-group nav-icon\" style=\"color: var(--comp-bg-color, #ffffff);\"></i>\n </div>\n <div\n *ngIf=\"(conditionDeactivateButton) && isConditionMet(element, conditionDeactivateButton.conditions) && deactiveButton\"\n class=\"ms-2 imgBtnDiv\" style=\"margin-top: 10px;\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-group nav-icon\" style=\"color: var(--comp-bg-color, #ffffff);\"></i>\n </div>\n </div>\n <div>\n\n <app-fusion-button *ngIf=\"fromWhere == 'document-icons'\" [buttonType]=\"'custom-btn'\"\n [fcBtnIconLeftSrc]=\"'../assets/images/icons/general/downloadfile.svg'\"\n (buttonClickEmit)=\"downloadPdf(element)\"></app-fusion-button>\n <app-fusion-button *ngIf=\"fromWhere == 'document-icons'\" [buttonType]=\"'custom-btn'\"\n [fcBtnIconLeftSrc]=\"'../assets/images/icons/general/pencil-icon.svg'\"\n (buttonClickEmit)=\"delete(element, i)\" data-bs-toggle=\"modal\"\n data-bs-target=\"#documentsInfoModal\"></app-fusion-button>\n <app-fusion-button *ngIf=\"fromWhere == 'document-icons'\" [buttonType]=\"'custom-btn'\"\n [fcBtnIconLeftSrc]=\"'../assets/images/icons/Vectordelete.svg'\"\n (buttonClickEmit)=\"delete(element, i)\" data-bs-toggle=\"modal\"\n data-bs-target=\"#deleteDocModal\"></app-fusion-button>\n </div>\n </td>\n <td mat-footer-cell *matFooterCellDef=\"let element; let i=index\">{{ \"\" }}\n </td>\n </ng-container>\n\n <!-- total Row -->\n <ng-container [sticky]=\"true\" matColumnDef=\"total\">\n <th mat-header-cell *matHeaderCellDef class=\"sticky-column head-color\">\n </th>\n <td mat-cell *matCellDef=\"let row\" class=\"body-color\">\n </td>\n <!-- RS27AUG24 -->\n <!-- Used the translate pipe to successfully implement the translation -->\n <td mat-footer-cell *matFooterCellDef >{{'APP.TOTAL' | customTranslate : 'Total' }}\n </td>\n </ng-container>\n\n <!-- Render the columns -->\n <!-- SK16JUL24 adding the cumulative data row as footer -->\n <!-- <ng-container *ngIf=\"dataSource?.data?.length !== 0\"> -->\n <div [ngSwitch]=\"renderColumns\">\n <div *ngSwitchCase=\"'select'\">\n <tr mat-header-row *matHeaderRowDef=\"['select'].concat(displayedColumns) sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: ['select'].concat(displayedColumns);\"></tr>\n <!-- SK19JUL24 table total update -->\n <tr\n [class]=\"cumulativeDataColumns != undefined && cumulativeDataColumns.length !== 0 ? '' : 'border border-white' \"\n mat-footer-row\n *matFooterRowDef=\"cumulativeDataColumns != undefined && cumulativeDataColumns.length !== 0 ? ['total'].concat(displayedColumns) : null \">\n </tr>\n </div>\n <div *ngSwitchCase=\"'tableAction'\">\n <tr mat-header-row\n *matHeaderRowDef=\" displayedColumns ? displayedColumns.concat(['tableAction']) : [] ;sticky: true\">\n </tr>\n <tr mat-row\n *matRowDef=\"let row; columns: displayedColumns ? displayedColumns.concat(['tableAction']) : []; \">\n </tr>\n <ng-container *ngIf=\"cumulativeDataColumns\">\n <tr\n [class]=\"cumulativeDataColumns != undefined && cumulativeDataColumns.length !== 0 ? '' : 'border border-white' \"\n mat-footer-row\n *matFooterRowDef=\"cumulativeDataColumns != undefined && cumulativeDataColumns.length !== 0 ? ['total'].concat(displayedColumns).concat('tableAction') : null\">\n </tr>\n </ng-container>\n </div>\n <!-- 30JAN24 for both checkbox and action columns-->\n <div *ngSwitchCase=\"'both'\">\n <tr mat-header-row\n *matHeaderRowDef=\"['select'].concat(displayedColumns).concat('tableAction') sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: ['select'].concat(displayedColumns).concat('tableAction')\"\n (click)=\"tableClick(row)\"></tr>\n <ng-container *ngIf=\"cumulativeDataColumns\">\n <tr\n [class]=\"cumulativeDataColumns != undefined && cumulativeDataColumns.length !== 0 ? '' : 'border border-white' \"\n mat-footer-row\n *matFooterRowDef=\"cumulativeDataColumns != undefined && cumulativeDataColumns.length !== 0 ? ['total'].concat(displayedColumns).concat('tableAction') : null\">\n </tr>\n </ng-container>\n </div>\n <div *ngSwitchDefault>\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row;let i =index; columns: displayedColumns;\"></tr>\n <ng-container *ngIf=\"cumulativeDataColumns\">\n <tr\n [class]=\"cumulativeDataColumns != undefined && cumulativeDataColumns.length !== 0 ? 'd-block' : 'border border-white' \"\n mat-footer-row\n *matFooterRowDef=\"cumulativeDataColumns != undefined && cumulativeDataColumns.length !== 0 ? ['total'].concat(displayedColumns) : null\">\n </tr>\n </ng-container>\n </div>\n </div>\n <!-- </ng-container> -->\n <!-- <tr class=\"mat-row \" *matNoDataRow> -->\n <!-- SK9JAN24 Removed attr.colspan since it throws undefined error -->\n <!-- <td class=\"mat-cell \">\n {{'APP.NO_RECORDS' | customTranslate : 'No records/data found.' }}\n </td>\n </tr> -->\n\n </table>\n <div class=\"no-data-cell text-center my-3 \" *ngIf=\"!dataSource || !dataSource.data || dataSource.data.length === 0\">\n {{ 'APP.NO_RECORDS' | customTranslate : 'No records/data found.' }}\n </div>\n </ng-container>\n <!-- MSM28JAN25 skeleton loader template -->\n <ng-template #loadingTemplate>\n <table>\n <tr style=\"height: 40px;\" *ngFor=\"let _ of [1, 2, 3, 4,5,6]\">\n <td colspan=\"3\" class=\"skeleton-card\">\n <div class=\"title\" data-title>\n <div class=\"skeleton skeleton-text\"></div>\n <div class=\"skeleton skeleton-text\"></div>\n </div>\n </td>\n </tr>\n </table>\n </ng-template>\n </div>\n <!-- SK23FEB24 table input save button changes -->\n <div class=\"d-flex justify-content-end\">\n <div class=\"flex mt-4 me-2 cursor-pointer\" *ngIf=\"addInlineRecord \" (click)=\"addTableRecord(inlineElement)\"\n [matTooltip]=\"'APP.ADD_NEW_RECORD' | customTranslate : 'Add New Record'\">\n <div class=\"ms-1 me-1\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-add-square nav-icon\"\n style=\"color: var(--fc-text-color-dark, #000000) !important;\"></i>\n </div>\n </div>\n <!-- SK27FEB24 removed button disable logic, SK13MAR24 added another condition for button showing-->\n <!-- SR06JAN2025 button disable logic for not select any employee-->\n <div class=\"d-flex justify-content-between align-items-end\">\n <div class=\"px-2\">\n {{notes}}</div>\n\n <app-fusion-button [buttonLoadingSpinner]=\"tableSaveLoadingSpinner\"\n *ngIf=\"editColumn.length > 0 || tableSaveButton\" buttonType=\"btn btn-primary mt-4 me-2\"\n [buttonDisable]=\"selection?.selected?.length === 0\" (buttonClickEmit)=\"saveButton()\"\n buttonValue=\"{{ 'APP.SAVE' | customTranslate : 'Save' }}\"></app-fusion-button>\n </div>\n </div>\n <!-- SKS24JAN25 custom paginator -->\n <app-pagination #paginator [pageSizeOptions]=\"itemsPerPage\" [collectionSize]=\"totalCount\" [pageSize]=\"pageSize\"\n [currentPage]=\"pageIndex\" [firstLastButtons]=\"true\" (event)=\"pageParams($event)\" >\n </app-pagination>\n </div>\n </div>\n</div>\n\n<!-- SK03OCT24 while clicking export button, side screen will be displayed, with fields selection and filter boxes -->\n<app-common-screen *ngIf=\"exportSidescreen\" headerTitle=\"{{'APP.EXPORT_DATA' | customTranslate : 'Export Data'}}\"\n (sideScreenEmittedEvent)=\"exportSidescreen = false\">\n <div class=\"side-main-content\">\n <!-- MY 15OCT26 export file button loader -->\n <div\n class=\"d-flex align-items-center flex-row p-3 justify-content-center cursor-pointer short-button-white-bg button-hov\"\n [class.disabled]=\"exportButtonLoadingSpinner\"\n (click)=\"!exportButtonLoadingSpinner ? exportButtonSideNav() : null\">\n <div *ngIf=\"exportButtonLoadingSpinner\" class=\"spinner-grow spinner-grow-sm me-2\" role=\"status\" aria-hidden=\"true\"></div>\n <i *ngIf=\"!exportButtonLoadingSpinner\" class=\"fusion-icon fusion-icon-size-lg fusion-icon-document-upload card-icon color me-1\"></i>\n <div>{{ exportButtonLoadingSpinner ? (('APP_SETTINGS_APPS.LOADING' | customTranslate : 'Loading') + '...') : ('APP.EXPORT_FILE' | customTranslate : 'Export File') }}</div>\n </div>\n <!-- SK03OCT24 displaying components from parent (multipleCheckBox/multipleFilter) -->\n <div *ngFor=\"let type of filterScreenConfigs\">\n <!-- MY 15OCT26 pass button loader state to multi-checkbox and multiple-filter -->\n <app-multi-checkbox *ngIf=\"type.type === 'multipleCheckBox' \" class=\"ms-2 me-2\"\n [label]=\"type?.labelPath || type?.label | customTranslate : type?.label\" [cardSize]=\"type?.cardSize\"\n [cardInlineSize]=\"type?.cardInlineSize\" [checkboxList]=\"type?.checkboxList\"\n [activeCheckboxList]=\"type?.activeCheckboxList\" [buttonList]=\"type?.buttons\"\n [displayValues]=\"type?.displayValues\" [componentData]=\"type\" [checkBoxStyles]=\"type?.checkBoxStyles\"\n [isButtonLoadingSpinner]=\"type?.isButtonLoadingSpinner || false\"\n (compDataEmit)=\"exportFieldsButtonEmit($event)\">\n </app-multi-checkbox>\n <app-multiple-filter *ngIf=\"type.type === 'multipleFilter' \" class=\"ms-2 me-2\"\n [isDateFilter]=\"type?.isDateFilter || false\"\n [label]=\"type?.labelPath || type?.label | customTranslate : type?.label\" [cardSize]=\"type?.cardSize\"\n [cardInlineSize]=\"type?.cardInlineSize\" [buttonList]=\"type?.buttons\" [displayValues]=\"type?.displayValues\"\n [componentData]=\"type\" [checkBoxStyles]=\"type?.checkBoxStyles\" [selectionData]=\"type?.selectionData\"\n [isButtonLoadingSpinner]=\"type?.isButtonLoadingSpinner || false\"\n (compDataEmit)=\"exportFilterButtonEmit($event)\" (selectedValuesEmit)=\"selectedValuesEmit($event)\"\n (filterDateEmit)=\"filterDateEmit($event)\">\n </app-multiple-filter>\n </div>\n </div>\n</app-common-screen>\n<!-- SKS15DEC25 bulk upload -->\n<app-file-upload [id]=\"'uploadEmployee'\" [headerName]=\"moudleName\" [showFileModal]=\"uploadModal\"\n (closeEmit)=\"uploadModal = false\"\n [bodyHeaderName]=\"('APP.STEPS_TO_UPLOAD' | customTranslate : 'Steps to upload')+moudleName\" [isTemplate]=true\n [templateContent]=\"('APP.DOWNLOAD_THE' | customTranslate : 'Download the')+ moudleName +('APP.TEMPLATE' | customTranslate : 'template')\"\n (templateDownload)=\"downloadTemplate()\"\n [bodyContent]=\"[(('APP.FILL_THE_APPROP' | customTranslate : 'Fill the appropriate')+moudleName+('APP.DETAILS_AND_UPLOAD_ITS_BELOW' | customTranslate : 'Details and upload it below'))]\"\n [fileRestrictions]=\"{\n allowedTypes: ['.csv', '.xlsx', '.xls'],\n maxFileSize: 10,\n maxFiles: 1\n }\" [uploadedFiles]=\"[]\" [saveButtonName]=\"'APP.UPLOAD' | customTranslate : 'Upload'\"\n (upload)=\"uploadRecordsFile($event)\">\n</app-file-upload>\n<!-- SK06NOV24 alert on deleting record -->\n<div *ngIf=\"deleteModal\" class=\"modal modal-backdrop show d-block\" id=\"deleteRecord\" tabindex=\"-1\"\n aria-labelledby=\"deleteRecordLabel\" [attr.aria-hidden]=\"!deleteModal\">\n <div class=\"modal-dialog\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <b class=\"modal-title fs-5\" id=\"deleteRecordLabel\">{{'APP.DELETE_RECORD' | customTranslate : 'Delete Record'}}</b>\n <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"\n (click)=\"deleteModal = false\"></button>\n </div>\n <div class=\"modal-body\">\n {{'APP.ARE_YOU_SURE_YOU_WANT_TO_DELETE_THE_REC' | customTranslate : 'Are you sure want to delete the record'}} ?\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\" class=\"btn btn-primary\" data-bs-dismiss=\"modal\" aria-label=\"Close\"\n (click)=\"!buttonLoadingSpinner ? deleteRecordData() : null\">\n <!-- SK04SEP25 button loader -->\n <span class=\"{{ buttonLoadingSpinner ? 'spinner-grow' : '' }} spinner-grow-sm\" role=\"buttonValue\"\n aria-hidden=\"true\"></span>\n <span>{{ buttonLoadingSpinner ? ('APP_SETTINGS_APPS.LOADING' | customTranslate : 'Loading') + '...' :\n ('APP.YES' | customTranslate : 'Yes') }}\n </span>\n </button>\n <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\" (click)=\"deleteModal = false\">{{'APP.NO'\n | customTranslate : 'No'}}</button>\n </div>\n </div>\n </div>\n</div>\n\n<app-common-screen *ngIf=\"infoSidescreen\" [headerTitle]=\"'APP.APPROVAL_DETAILS' | customTranslate : 'Approval Details'\"\n (sideScreenEmittedEvent)=\"infoSidescreen = false\">\n <div class=\"side-main-content container\">\n <div class=\"row\">\n <div class=\"col-md-12\">\n <!-- Approval Info -->\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.NAME' | customTranslate : 'Name'}}:</div>\n <div class=\"col-6 text-start\">{{ infoData.name || ''}}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.STATUS' | customTranslate : 'Status'}}:</div>\n <div class=\"col-6 text-start\">\n <span\n *ngIf=\"infoData.status === 'Approved' || infoData.status === 'Pending' || infoData.status === 'Rejected' \"\n class=\"badge custom-badge\" [ngClass]=\"{\n 'bg-success': infoData.status === 'Approved', \n 'bg-warning': infoData.status === 'Pending',\n 'bg-danger': infoData.status === 'Rejected'}\">\n {{ infoData.status }}</span>\n <span\n *ngIf=\"infoData.status !== 'Approved' && infoData.status !== 'Pending' && infoData.status !== 'Rejected' \">{{\n infoData.status || '' }}</span>\n </div>\n </div>\n <div class=\"row mb-3\">\n <!-- SK21DEC24 to add Approval status in side screen-->\n <div class=\"col-6 text-start\">{{'APP.APPROVAL_STATUS' | customTranslate : 'Approval Status'}}:</div>\n <div class=\"col-6 text-start\">\n <span\n *ngIf=\"infoData.leaveStatus === 'Approved' || infoData.leaveStatus === 'Pending' || infoData.leaveStatus === 'Rejected'\"\n class=\"badge custom-badge\" [ngClass]=\"{\n 'bg-success': infoData.leaveStatus === 'Approved', \n 'bg-warning': infoData.leaveStatus === 'Pending',\n 'bg-danger': infoData.leaveStatus === 'Rejected'}\">\n {{ infoData.leaveStatus || '' }}</span>\n <span\n *ngIf=\"infoData.leaveStatus !== 'Approved' && infoData.leaveStatus !== 'Pending' && infoData.leaveStatus !== 'Rejected'\">{{\n infoData.leaveStatus || '' }}</span>\n </div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.REASON' | customTranslate : 'Reason'}}:</div>\n <div class=\"col-6 text-start\">{{ infoData.reason || '' }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.TYPE' | customTranslate : 'Type'}}:</div>\n <div class=\"col-6 text-start\">{{ infoData.type || ''}}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.APPLIED_ON' | customTranslate : 'Applied On'}}:</div>\n <div class=\"col-6 text-start\">{{ (infoData.appliedOn | date:'short') || '' }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.APPROVED_COUNT' | customTranslate : 'Approved Count'}}:</div>\n <div class=\"col-6 text-start\">{{ infoData.approvedCount || '' }}</div>\n </div>\n </div>\n </div>\n <!-- Approval Managers -->\n <!-- SK03DEC24 show approval managers list only if applicable -->\n <h3 *ngIf=\"infoData.approvalManagers != undefined && infoData.approvalManagers.length > 0\" class=\"text-center mb-3\">\n {{'APP.APPROVAL_MANAGERS' | customTranslate : 'Approval Managers'}}</h3>\n <ul *ngIf=\"infoData.approvalManagers != undefined && infoData.approvalManagers.length > 0\" class=\"list-group\">\n <li *ngFor=\"let manager of infoData.approvalManagers\" class=\"list-group-item\">\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.EMPLOYEE_ID' | customTranslate : 'Employee ID'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.employeeId || ''}}</div>\n </div>\n <div class=\"row mb-3\">\n <!-- SK10DEC24 to show manager name -->\n <div class=\"col-6 text-start\">{{'APP.EMPLOYEE_NAME' | customTranslate : 'Employee Name'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.name || '' }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.APPROVAL_ORDER' | customTranslate : 'Approval Order'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.approvalOrder || '' }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.STATUS' | customTranslate : 'Status'}}:</div>\n <div class=\"col-6 text-start\">\n <span *ngIf=\"manager.status === 'Approved' || manager.status === 'Pending' || manager.status === 'Rejected'\"\n class=\"badge custom-badge\" [ngClass]=\"{\n 'bg-success': manager.status === 'Approved', \n 'bg-warning': manager.status === 'Pending',\n 'bg-danger': manager.status === 'Rejected'}\">\n {{ manager.status || '' }}\n </span>\n <span\n *ngIf=\"manager.status !== 'Approved' && manager.status !== 'Pending' && manager.status !== 'Rejected'\"> {{\n manager.status || '' }}</span>\n </div>\n </div>\n <div class=\"row mb-3\" *ngIf=\"manager.viewedOn\">\n <div class=\"col-6 text-start\">{{'APP.VIEWED_ON' | customTranslate : 'Viewed On'}}:</div>\n <div class=\"col-6 text-start\">{{ (manager.viewedOn | date:'short') || '' }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.IS_OPTIONAL' | customTranslate : 'Is Optional'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.isOptional ? \"Yes\" : \"No\" }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.COMMENTS' | customTranslate : 'Comments'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.rejectionReason || '' }}</div>\n </div>\n </li>\n </ul>\n </div>\n</app-common-screen>\n\n",
6735
- styles: [".table-wrapper{overflow-x:auto;max-width:100%}.table-container{border-top:1px solid var(--fb-border-default, #e2e8f0);min-height:100px;overflow:auto;width:100%;max-height:62vh}.table-layout{background:var(--fb-surface, #ffffff);border-radius:8px}.th{border-bottom:1px solid var(--fb-border-default, #e2e8f0);font-weight:var(--fw-600);font-size:var(--fs-medium);line-height:21px;color:var(--fb-text-primary, #0f172a)}.head-color{background-color:var(--fb-action-surface, #e0f2fe)!important;color:var(--fb-text-primary, #0f172a)!important}.body-color{color:var(--fb-text-primary, #0f172a);cursor:default}.search{display:flex;align-items:center;border:1px solid var(--border-color, #b1b1b1);background:var(--comp-bg-color, #ffffff);border-radius:var(--radius-medium, 7px);padding:4px 8px}.search-bar{display:flex;align-items:center;width:100%;gap:6px;margin:0}.search-bar input{background:transparent!important;border:none!important;outline:none!important;box-shadow:none!important;width:100%;font-size:13px;color:var(--fc-text-color, #1e293b);padding:2px 4px}th.mat-header-cell:last-of-type{padding:0;font-weight:var(--fw-600);font-size:var(--fs-medium);color:var(--fb-text-primary, #0f172a)}td.mat-cell:last-of-type{padding:8px;font-weight:var(--fw-400);font-size:var(--fs-medium);color:var(--fb-text-primary, #0f172a)}.table-title{font-weight:var(--fw-600);color:var(--fb-text-primary, #0f172a)}.sticky-column{background:var(--fb-surface, #ffffff)}.mat-sort-header-container{margin-left:5px}.body-color img{cursor:pointer}.head-color.action-size{color:var(--fb-text-primary, #0f172a);font-size:var(--fs-primary);font-weight:var(--fw-600)}.lop-input{border-radius:5px;color:var(--fb-text-primary, #0f172a);background-color:var(--fb-surface, #ffffff);font-weight:var(--fw-400);font-size:var(--fs-medium);transition:all .2s}::ng-deep [dir=rtl] .body-color img{margin-left:4px!important}@media screen and (min-width:600px){mat-table{font-weight:var(--fw-400);font-size:var(--fs-medium);color:var(--fb-text-primary, #0f172a)}}@media screen and (max-width:882px){mat-table{font-weight:var(--fw-400);font-size:var(--fs-medium);color:var(--fb-text-primary, #0f172a)}.mat-cell{padding:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-header-cell{padding:0}}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-right:24px}::ng-deep [dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type){padding-right:10px!important;padding-left:unset!important}.mat-sort-header-container.mat-focus-indicator.ng-tns-c139-34{margin-left:5px}.expense-file{font-size:var(--fs-small)}.expense-file:hover{font-style:italic;text-decoration:underline;color:var(--fb-action-hover, #00284d)}.expenseCon{background-color:var(--fb-surface-elevated, #ffffff);border:1px solid var(--fb-border-default, #e2e8f0);padding:5px;border-radius:3px}.hyper-link{text-decoration:none}.hyper-link:hover{color:var(--fb-action, #003566);text-decoration:underline}.clickable{cursor:pointer}.font-size-13{font-size:var(--fs-normal)}.weekoff-color{color:var(--fb-error, #ef4444)}.table-width{width:max-content}.on-edit:hover .edit-icon{visibility:visible}.edit-icon{visibility:hidden}.input-box{border:solid}.button-hov:hover{background:var(--fb-action, #003566);color:var(--fb-text-on-action, #ffffff)}.delete-icon{justify-content:center}.side-main-content{border-radius:10px}h2{font-size:28px}.list-group-item{margin-bottom:10px;padding:15px}.list-group-item p{margin-bottom:5px}.custom-badge{display:inline-block;width:50%;text-align:center;padding:.3em 0;margin-top:0!important}.bg-success{--bs-bg-opacity: 1;background-color:var(--fb-success-surface, #e6f4ea)!important;color:var(--fb-success-text, #137333)!important}.custom-search-button{background-color:var(--fb-action, #003566);color:var(--fb-text-on-action, #ffffff);border-radius:5px;font-size:var(--fs-normal);border:none}.custom-search-button:hover{background-color:var(--fb-action-hover, #00284d)}.custom-search-button:active{transform:translateY(0)}.table{border-top:1px solid var(--fb-border-default, #e2e8f0)}th,td{vertical-align:middle}.configSearch{height:22px;padding:3px;margin:10p;background-color:var(--fb-action, #003566);border-radius:4px}::ng-deep .table>:not(caption)>*>*{background-color:none!important;--bs-table-bg: var(--fb-surface, #ffffff) !important}.imgBtn{background-color:var(--fb-surface-secondary, #f8fafc);border-radius:var(--radius-small, 6px)}.imgBtnDiv{line-height:0px;padding:4px;border-radius:5px;border:1px solid var(--fb-border-default, #e2e8f0)}input::placeholder{font-size:var(--fs-small);font-weight:var(--fw-400);color:var(--fb-placeholder-text, #94a3b8)}::ng-deep .modal-backdrop{background-color:var(--fb-backdrop, #00000073)!important}::ng-deep .modal-backdrop.show{background-color:var(--fb-backdrop, #00000073)!important;opacity:1!important}::ng-deep .mat-sort-header-container .mat-sort-header-content span{color:var(--fb-text-primary, #0f172a)!important;font-weight:var(--fw-600)!important;font-size:var(--fs-primary)!important}::ng-deep .mat-mdc-cell{color:var(--fb-text-primary, #0f172a)!important;font-weight:var(--fw-400)!important;font-size:var(--fs-primary)!important;min-width:20px!important}.active-column{color:var(--fb-text-primary, #0f172a)!important;font-weight:var(--fw-600)!important;font-size:var(--fs-primary)!important}.hover-content{background:var(--fb-surface-elevated, #ffffff)}.position-relative{position:relative;display:inline-block}.filter-popup{position:absolute;top:100%;left:0;z-index:9998;background-color:var(--fb-surface-elevated, #ffffff);border:1px solid var(--fb-border-default, #e2e8f0);box-shadow:0 4px 12px var(--fb-backdrop, rgba(0, 0, 0, .08));padding:10px;min-width:200px}.spanFontSize{font-size:var(--fs-normal)}.mat-column-employees{width:200px;min-width:200px;padding-left:8px;height:57px;left:0!important}.text-start{font-size:var(--fs-normal)}.first-header-border{border-left:1px solid var(--fb-border-default, #e2e8f0)}tr{height:45px!important;text-wrap:nowrap!important}.field-input{width:min(220px,98%);min-height:50px}.svg-spinner{animation:rotate 1s linear infinite}.svg-spinner .path{stroke:var(--fb-action, #003566);stroke-linecap:round;stroke-dasharray:80 150;stroke-width:4}@keyframes rotate{to{transform:rotate(360deg)}}img{max-width:none!important;vertical-align:middle}::ng-deep .mat-mdc-row:hover{background-color:var(--fb-row-hover, #f8fafc)!important}::ng-deep .mat-mdc-row:nth-child(2n){background-color:var(--fb-row-alternate, #fcfdfe)}\n"],
6735
+ template: "<div class=\"table-layout\" [id]=\"tableId\" style=\"padding-top: 1px;\">\n <div>\n <!-- SK30JAN25 title added -->\n <div class=\"d-flex justify-content-center table-title align-text-center\">\n {{title}}\n </div>\n \n <div class=\"flex justify-content-between\" style=\"padding-bottom: 5px;\">\n <div class=\"d-flex align-items-center\">\n <!-- MR 09NOV26 table-toolbar-left projection slot -->\n <ng-content select=\"[table-toolbar-left]\"></ng-content>\n\n\n <div *ngIf=\"dateDropdown \">\n <app-drop-down class=\"field-input\" [lists]='dropdownLists' dropDownHeight=\"38px\" dropDownWidth=\"200px\"\n (dataEmit)=\"dropdownEmitFunction($event)\" [selectedData]=\"dropdownSelectedData\"></app-drop-down>\n </div>\n <!-- SC11NOV2025 if isDatePicker is true then show the date picker -->\n <div *ngIf=\"isDatePicker\">\n <app-drop-down [lists]='list' [selectedData]=\"selectedData\" dropDownHeight=\"42px\" dropFontWeight=\"500\"\n dropFontSize=\"12px\" dropFontColor=\"#434555\" dropBorderRadius=\"5px\" dropDownWidth=\"200px\"\n (dataEmit)=\"dateFilter($event)\"></app-drop-down>\n </div>\n </div>\n <!-- SKS24JAN25 show Nos in table -->\n <!-- <div style=\"display: flex; align-items: center;\">\n <p *ngIf=\"totalRecords || totalCount\" style=\"font-weight: var(--fw-500); margin-right: 5px; margin-bottom: 0px;\">{{'APP.NOS' | customTranslate : 'Nos'}} </p> <span style=\"color: var(--fc-primary-color, rgb(43, 87, 249));\">{{totalRecords || totalCount}}</span>\n </div> -->\n <!-- SKS24JAN25 search bar config and nonconfig -->\n <div style=\"margin-left:auto;\">\n <div class=\"flex\" style=\"align-items: center;\">\n <!-- MR 09NOV26 table-toolbar-right projection slot -->\n <ng-content select=\"[table-toolbar-right]\"></ng-content>\n\n\n <div class=\"search\">\n <div class=\"search-bar\">\n <img class=\"card-btn\" src=\"../assets/images/icons/general/Search.svg\">\n <input type=\"text\" placeholder=\"{{ 'APP.SEARCH' | customTranslate : 'Search' }}\" matInput\n (keyup)=\"searchConfigs ? emptySearch($event) : applyFilter($event)\"\n [value]=\" (searchConfigs || searchTextValue) ? searchBoxValue || '' : '' \" #input\n style=\"font-size: 13px !important;\">\n <img *ngIf=\"searchConfigs && searchBar\" (click)=\"onSearch(input.value)\"\n src=\"../assets/images/icons/general/configSearch.svg\" class=\"configSearch\">\n </div>\n </div>\n\n <!-- MR 09NOV26 Single toolbar button support from second-data-table -->\n <div class=\"flex\" *ngIf=\"button\">\n <app-fusion-button class=\"data-table-fsbtn ms-2 me-2\" (buttonClickEmit)=\"commonButtonClick($event, button)\"\n [buttonType]=\"button?.class || button?.buttonType\" [buttonValue]=\"button?.namePath || button?.labelPath || button?.name | customTranslate : button?.label || button?.name\"\n [buttonConfig]=\"button?.buttonConfig\" [type]=\"button?.type\" [fcBtnIconLeftSrc]=\"button?.btnIconLeftSrc || button?.fcBtnIconLeftSrc\"\n [isImageSvg]=\"button?.isImageSvg\">\n </app-fusion-button>\n </div>\n\n <!-- SKS24JAN25 single, group and dropdown dynamic buttons -->\n <div class=\"flex\" *ngIf=\"isButtons\" style=\"padding-left: 7px;\">\n <div class=\"flex\" *ngFor=\"let button of buttonArray\">\n <app-fusion-button class=\"data-table-fsbtn\" [buttonDisable]=\"button.buttonDisable\"\n [buttonLoadingSpinner]=\"buttonLoadingSpinner\" (buttonClickEmit)=\"commonButtonClick($event,button)\"\n [buttonType]=\"button.label === 'Export' ? 'grey-border rounded-3 bg-white text-dark' : button.class\"\n [buttonValue]=\"button.labelPath || button.namePath || button.name | customTranslate : button.label || button.name\"\n [buttonConfig]=\"button.buttonConfig\" [type]=\"button.type\" class=\"ms-2 me-2\"\n [fcBtnIconLeftSrc]=\"button.label === 'Export' ? '../assets/images/icons/general/upload-icon.svg' : button.fcBtnIconLeftSrc\" [isImageSvg]=\"button.label === 'Export' ? true : button.isImageSvg\">\n <!--SKS25OCT24 If the value is 'Import' or 'Export', this button does not work-->\n </app-fusion-button>\n </div>\n </div>\n \n </div>\n\n <!-- SK23FEB24 for adding new record in table -->\n <div class=\"flex cursor-pointer\" *ngIf=\"addInlineRecord\" (click)=\"addTableRecord(inlineElement)\"\n [matTooltip]=\"'APP.ADD_NEW_RECORD' | customTranslate : 'Add New Record'\">\n <div class=\"ms-1 me-1\">\n <!-- MR 30OCT26 Refactor inline html template styling to theme tokens -->\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-add-square nav-icon\"\n style=\"color: var(--fb-text-primary, #0f172a) !important;\"></i>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"table-subtitle\" *ngIf=\"titleOn && title\">\n {{ title | customTranslate : title }}\n </div>\n\n <div class=\"table-margin\">\n <div class=\"table-container\" cdkScrollable> <!-- SKS3FEB25 The search filter closes when scrolling the table-->\n <!-- MSM28JAN25 MR 09NOV26 skeleton loader condition using isTableLoading --> \n <ng-container *ngIf=\"!isTableLoading; else loadingTemplate\">\n <table mat-table [dataSource]=\"dataSource || []\" [ngStyle]=\"{ width: tableWidth }\" matSort>\n <!-- Checkbox Columns -->\n <ng-container [sticky]=\"true\" class=\"checkboxCol\" *ngIf=\"withCheckBox\" matColumnDef=\"select\" sticky>\n <th mat-header-cell *matHeaderCellDef class=\"sticky-column head-color\" style=\"border-left: 1px solid var(--fb-border-default, #e2e8f0);\">\n <input type=\"checkbox\" (click)=\"$event.stopPropagation()\" (change)=\"masterToggle()\"\n [checked]=\"selection?.hasValue()\" [indeterminate]=\"selection?.hasValue() && !isAllSelected()\"\n class=\"custom-checkbox\" />\n </th>\n <!-- MR 16NOV26 Prevent sticky column bleed-through with opaque layered surface tokens -->\n <td mat-cell *matCellDef=\"let row\" class=\"body-color sticky-column\">\n <!-- SK18OCT24 check payroll Inprogress/Completed from backend data -->\n <input type=\"checkbox\" class=\"custom-checkbox\"\n [title]=\"(fromWhere === 'payrollTable' || fromWhere === 'paySlip') ? (row?.payProcessComment || '') : ''\"\n (click)=\"$event.stopPropagation()\" (change)=\"separateRowSelect(row)\"\n [checked]=\"selection.isSelected(row)\"\n [disabled]=\"(fromWhere === 'payrollTable' && row.isPayProcessed === true) || (fromWhere === 'paySlip' && row.isPayProcessed === false)\" />\n </td>\n <td mat-footer-cell *matFooterCellDef>\n {{ \"\" }}\n </td>\n </ng-container>\n\n <!-- data Columns -->\n <!-- set the matColumnDef attribute to the column name and use interpolation to dynamically generate the mat-header-cell and mat-cell elements based on the column name-->\n <ng-container *ngFor=\"let column of displayedColumns; let i=index\" [matColumnDef]=\"column\"\n [stickyEnd]=\"i === (stickyCondition - 1) ? true : false\" [sticky]=\"stickyColumns.includes(column)\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header\n style=\"border-right: 1px solid var(--fb-border-default, #e2e8f0);\" class=\"head-color ms-2 ps-2 pe-2\" \n [ngClass]=\"{'sticky-column': i === (stickyCondition - 1) || (stickyColumns && stickyColumns.includes(column)),'active-column': activeColumn === column,'first-header-border': i === 0}\"\n (click)=\"$event.stopPropagation(); onColumnClick(column)\">\n <span [class]=\"fromWhere === 'payrollTable' || fromWhere === 'paySlip' ? 'table-width' : '' \">{{\n (\n translatePath && translatePath[displayedColumns.indexOf(column)]\n ? translatePath[displayedColumns.indexOf(column)]\n : headerLabels[displayedColumns.indexOf(column)]\n )\n | customTranslate : headerLabels[displayedColumns.indexOf(column)]\n }}\n </span>\n <div (click)=\"$event.stopPropagation()\" class=\"position-relative\" cdk-overlay-origin\n #trigger=\"cdkOverlayOrigin\">\n <img class=\"ms-1\" *ngIf=\"filterColumns.includes(column)\" style=\"margin-bottom: 2px;\"\n (click)=\"filter(column)\" src=\"../assets/images/icons/general/filter-icon.svg\">\n </div>\n <ng-template cdk-connected-overlay [cdkConnectedOverlayOrigin]=\"trigger\"\n [cdkConnectedOverlayOpen]=\"searchFilter === true && column === selectedFilter\"\n [cdkConnectedOverlayScrollStrategy]=\"createScrollStrategy()\"\n (overlayOutsideClick)=\"searchFilter = false\" (detach)=\"searchFilter = false\">\n <app-search-filter class=\"search-component position-absolute\"\n [class]=\"searchFilter === true && column === selectedFilter ? 'd-block' : 'd-none'\"\n [filterItems]=\"filterArray\" (emitValues)=\"filteredData($event)\" (click)=\"$event.stopPropagation()\">\n </app-search-filter>\n </ng-template>\n </th>\n <ng-container *ngIf=\"dataSource.data.length > 0\">\n <!-- MR 16NOV26 Prevent sticky column bleed-through with opaque layered surface tokens -->\n <td mat-cell class=\"body-color ps-2 pe-2\" *matCellDef=\"let element; let j = index\"\n [class.active-column]=\"activeColumn === column\"\n [class.sticky-column]=\"i === (stickyCondition - 1) || (stickyColumns && stickyColumns.includes(column))\">\n <!-- SK29OCT25 employee detail column -->\n <div *ngIf=\"column === 'employeeDetail'\">\n <div class=\"d-flex flex-row\" style=\"left:0;\">\n <div *ngIf=\"element['employeeName'] || element['name']\"\n [class]=\"hyperLinkColumns.includes(column) ? 'hyper-link' : '' \"\n style=\"font-size: var(--fs-small);color: var(--fb-text-primary, #0f172a);font-weight: var(--fw-600);\">\n {{element[\"employeeName\"] || element[\"name\"] || ''}}</div>\n <div *ngIf=\"element['employeeId']\"\n style=\"font-size: 11px;color: var(--fb-text-secondary, #64748b);font-weight: var(--fw-400);\" class=\"ms-1\">\n [{{element[\"employeeId\"] || ''}}]</div>\n </div>\n <div class=\"d-flex flex-row\" *ngIf=\"element['designation'] && element['designation'] !== ''\">\n <div style=\"font-size: 10px;color: var(--fb-text-secondary, #64748b);font-weight: var(--fw-600);\">\n {{element[\"designation\"] || ''}}\n </div>\n <div *ngIf=\"element['designation'] && element['designation'] !== '' && element['location'] && element['location'] !== ''\"\n style=\"font-size: 10px;color: var(--fb-text-secondary, #64748b);font-weight: var(--fw-600);\">,</div>\n <div *ngIf=\"element['location'] && element['location'] !== ''\" style=\"font-size: 10px;color: var(--fb-text-secondary, #64748b);font-weight: var(--fw-600);\">\n {{element[\"location\"] || ''}}\n </div>\n </div>\n </div>\n <div *ngIf=\"column !== 'combinedColumn' && column !== 'employeeDetail' && fromWhere !== 'leaveMaster' && (column !== 'active' && (fromWhere === 'hrmTaxComponent' || fromWhere === 'payrollSettingComponent' || fromWhere === 'hrm' || fromWhere === 'compensation'|| fromWhere === 'payrollTable'|| fromWhere === 'payrollCompare'|| fromWhere === 'paySlip' || fromWhere === 'approval' || fromWhere === 'leave' || fromWhere === 'expense' || fromWhere === 'expenseApproval' || fromWhere === 'leaveAllocation' ||fromWhere === 'parkingApp' ||(fromWhere === 'common' && column != 'signature')))\">\n <!-- SK10APR24 getting the table values using pipe instead of function to increase performance-->\n <div *ngIf=\" ('-' | editColumnCheck: column : editColumn) === ('') \">\n <span class=\"font-size-13 {{checkHyperlinkCheck(column) || fromWhere === 'hrm' || fromWhere === 'compensation' || fromWhere === 'parkingApp' ? ' hyper-link clickable ' : ''}} {{fromWhere === 'payrollTable' || fromWhere === 'paySlip' ? 'table-width' : '' }}\"\n *ngIf=\"hyperLinkColumns.includes(column) || isFirstCell(column)\"\n (click)=\"tableClick(element); onClickHyperlink(column,element, j, checkHyperlinkCheck(column))\">\n <!--SKS21NOV24 Use customDateTime Pipe for both Date and Time -->\n <ng-container *ngIf=\"isDateColumn(column)\">\n {{ element[column] | customDate }}\n </ng-container>\n\n <ng-container *ngIf=\"isTimeColumn(column)\">\n {{ element[column] | customTime }}\n </ng-container>\n\n <!--SKS21NOV24 For other columns, display raw value -->\n <ng-container *ngIf=\"!isDateColumn(column) && !isTimeColumn(column)\">\n {{ '-' | getValue: element : column }}\n </ng-container>\n <!--SKS27NOV24 Check if the current column is in buttonColumn array -->\n <ng-container *ngIf=\"sideScreenColumn?.includes(column)\">\n <img class=\"ms-2\" src=\"../assets/images/icons/general/info.svg\"\n (click)=\"onInfoClick(element, column, j)\">\n </ng-container>\n <!--SKS9JAN25 rightnav column -->\n <ng-container *ngIf=\"objectColumns?.includes(column)\">\n <img class=\"ms-2\" src=\"../assets/images/icons/general/info.svg\"\n (click)=\"onSideNavInfoClick(element, column, j)\">\n </ng-container>\n </span>\n <div *ngIf=\"!isFirstCell(column) && !editColumn.includes(column) && column != 'receipt'\"\n [class]=\"fromWhere === 'payrollTable' || fromWhere === 'paySlip' ? 'table-width' : '' \">\n <div *ngIf=\"!checkHyperlinkCheck(column)\" class=\"font-size-13\">\n <!--SKS21NOV24 Use customDateTime Pipe for both Date and Time -->\n <ng-container *ngIf=\"isDateColumn(column)\">\n {{ element[column] | customDate }}\n </ng-container>\n\n <ng-container *ngIf=\"isTimeColumn(column)\">\n {{ element[column] | customTime }}\n </ng-container>\n\n <!--SKS21NOV24 For other columns, display raw value -->\n <ng-container *ngIf=\"!isDateColumn(column) && !isTimeColumn(column)\">\n {{ '-' | getValue: element : column }}\n </ng-container>\n <!--SKS27NOV24 Check if the current column is in buttonColumn array -->\n <ng-container *ngIf=\"sideScreenColumn?.includes(column)\">\n <img class=\"ms-2\" src=\"../assets/images/icons/general/info.svg\"\n (click)=\"onInfoClick(element, column, j)\">\n </ng-container>\n <!--SKS9JAN25 rightnav column -->\n <ng-container *ngIf=\"objectColumns?.includes(column)\">\n <img class=\"ms-2\" src=\"../assets/images/icons/general/info.svg\"\n (click)=\"onSideNavInfoClick(element, column, j)\">\n </ng-container>\n </div>\n </div>\n </div>\n <!-- SK27FEB24 added input box for inline edit input-->\n <div *ngIf=\"editColumn.length > 0\">\n <div *ngIf=\" ('-' | editColumnCheck: column : editColumn) === ('string') \" class=\"on-edit d-flex\">\n <input #editColElement class=\"lop-input table-width\" [class]=\"element?.editRow ? 'input-box' : '' \"\n matInput [placeholder]=\"'APP.ENTER' | customTranslate : 'Enter'\" [value]=\"element[column]\"\n [(ngModel)]=\"element[column]\" [readOnly]=\"element?.editRow ? false : true\">\n </div>\n <!-- SK10APR24 In table, like text input, added drop down and time inputs as well -->\n <div *ngIf=\" ('-' | editColumnCheck: column : editColumn) === ('object') \" class=\"on-edit d-flex\">\n <input *ngIf=\" ('-' | editColumnType: column : editColumn) === ('text') \" #editColElement\n class=\"lop-input table-width\" [class]=\"element?.editRow ? 'input-box' : '' \" matInput\n [placeholder]=\"'APP.ENTER' | customTranslate : 'Enter'\" [value]=\"element[column]\"\n [(ngModel)]=\"element[column]\" [readOnly]=\"element?.editRow ? false : true\">\n <input *ngIf=\" ('-' | editColumnType: column : editColumn) === ('time') \" type=\"time\"\n class=\"lop-input table-width\" matInput [class]=\"element?.editRow ? 'input-box' : '' \"\n placeholder=\"HH:mm:ss\" [(ngModel)]=\"element[column]\"\n [disabled]=\"element?.editRow ? false : true\" />\n <div *ngIf=\" ('-' | editColumnType: column : editColumn) === ('dropdown') \">\n <select type=\"dropdown\" *ngIf=\"element?.editRow\" class=\"lop-input table-width\" matInput\n [class]=\"element?.editRow ? 'input-box' : '' \" [(ngModel)]=\"element[column]\">\n <option [disabled]=\"element?.editRow ? false : true\"\n *ngFor=\"let data of [] | editColumnDropdown: column : editColumn \"\n [value]=\"data.value || data.name\">{{data.name}}</option>\n </select>\n <input *ngIf=\"!element?.editRow\" #editColElement class=\"lop-input table-width\"\n [class]=\"element?.editRow ? 'input-box' : '' \" matInput\n [placeholder]=\"'APP.ENTER' | customTranslate : 'Enter'\" [value]=\"element[column]\"\n [(ngModel)]=\"element[column]\" [readOnly]=\"true\">\n </div>\n\n </div>\n </div>\n <app-popover\n *ngIf=\"column === 'receipt' && !editColumn.includes(column) && receiptImg == true && element[column] && element[column].length != 0\"\n [isBootstrap]=\"false\" [dynamicPopover]=\"'Popover string comes here'\">\n <div class=\"hover-base\">\n <img class=\"ms-1\" src=\"../../../assets/images/icons/general/file-attach.svg\">\n </div>\n <div class=\"hover-content\">\n <div class=\"expenseCon\">\n <div *ngFor=\"let data of element[column] || []\">\n <div class=\"cursor-pointer expense-file\" (click)=\"expenseAttachment(data,element)\">{{data?.name}}\n <!-- SK20FEB26 loader in expense list-->\n <svg *ngIf=\"data?.loader\"\n class=\"svg-spinner card-icon color\"\n width=\"22\" height=\"22\" viewBox=\"0 0 50 50\"\n style=\"cursor: wait;\">\n <circle class=\"path\" cx=\"25\" cy=\"25\" r=\"20\" fill=\"none\" stroke-width=\"4\"></circle>\n </svg>\n </div>\n </div>\n </div>\n </div>\n </app-popover>\n </div>\n <div *ngIf=\"fromWhere === 'leaveMaster' && column !== 'employeeDetail' \">\n <div [class]=\"(element[column]) === 'Week Off' ? 'weekoff-color' : '' \" class=\"font-size-13\">{{\n (column == 'default' || column == 'active' || column == 'paidLeave') ? '' : element[column] }}</div>\n <input *ngIf=\"(column === 'default' || column === 'active' || column === 'paidLeave')\"\n class=\"custom-checkbox\" [checked]=\"element[column] == true\" type=\"checkbox\" disabled>\n </div>\n <div *ngIf=\"fromWhere === 'payrollSettingComponent' && column === 'combinedColumn'\">\n <!-- for the Payroll Settings Component ( Side Screen Component )-->\n <!-- Since the last column is a combination of data and it is also conditional based on the paytype and calculation type we are using this div-->\n <!-- if Component type is Earnings and\n calculationType is 'flat' then output should be => \"'payType\": Flat, Amount of 'amount'\"\n calculationType is 'percentage' then output should be => \"'payType': 'amount' % of Basic \"\n calculationType is 'fixed' then output should be => \"'payType': 'calculationType'\" -->\n <!-- SK20JUN25 to display in table -->\n <ng-container *ngIf=\"\n element?.calculationType === 'flat' ||\n element?.calculationType === 'percentage' ||\n element?.calculationType === 'basicAndDA' ||\n element?.calculationType === 'fixed' ||\n element?.calculationType === 'ctc';\n else noCalculation\n \">\n <span class=\"spanFontSize\" *ngIf=\"element['calculationType'] == 'flat' && element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\">{{'APP_HRM_PAYROLL_SETTINGS.VARIABLE_FLAT_AMOUNT'\n | customTranslate : 'Variable: Flat Amount: ' }}{{ (element['amount'] || 0)}}</span>\n <span class=\"spanFontSize\" *ngIf=\"element['calculationType'] == 'flat' && !element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\">{{'APP_HRM_PAYROLL_SETTINGS.FIXED_FLAT_AMOUNT'\n | customTranslate : 'Fixed: Flat Amount: ' }}{{ (element['amount'] || 0)}}</span>\n\n <span class=\"spanFontSize\"\n *ngIf=\"element['calculationType'] == 'percentage' && element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\">{{'APP_HRM_PAYROLL_SETTINGS.VARIABLE' |\n customTranslate : 'Variable: ' }}{{element['amount']}}{{ 'APP_HRM_PAYROLL_SETTINGS.PER_OF_BASIC' |\n customTranslate : '% of Basic'}}</span>\n <span class=\"spanFontSize\"\n *ngIf=\"element['calculationType'] == 'percentage' && !element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\">{{'APP_HRM_PAYROLL_SETTINGS.FIXED' |\n customTranslate : 'Fixed: ' }}{{ element['amount']}}{{ 'APP_HRM_PAYROLL_SETTINGS.PER_OF_BASIC' |\n customTranslate : '% of Basic'}}</span>\n\n <span class=\"spanFontSize\"\n *ngIf=\"element['calculationType'] == 'basicAndDA' && element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\">{{'APP_HRM_PAYROLL_SETTINGS.VARIABLE' |\n customTranslate : 'Variable: ' }}{{ element['amount']}}{{\n 'APP_HRM_PAYROLL_SETTINGS.PER_OF_BASIC_AND_DA' | customTranslate : '% of Basic and DA'}}</span>\n <span class=\"spanFontSize\"\n *ngIf=\"element['calculationType'] == 'basicAndDA' && !element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\">{{'APP_HRM_PAYROLL_SETTINGS.FIXED' |\n customTranslate : 'Fixed: ' }}{{ element['amount']}}{{\n 'APP_HRM_PAYROLL_SETTINGS.PER_OF_BASIC_AND_DA' | customTranslate : '% of Basic and DA'}}</span>\n\n <span class=\"spanFontSize\" *ngIf=\"element['calculationType'] == 'fixed' && element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\">{{'APP_HRM_PAYROLL_SETTINGS.VARIABLE' |\n customTranslate : 'Variable: ' }}{{ element['amount']}}{{ 'APP_HRM_PAYROLL_SETTINGS.PER_OF_GROSS'\n | customTranslate : '% of Gross'}}</span>\n <span class=\"spanFontSize\"\n *ngIf=\"element['calculationType'] == 'fixed' && !element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\">{{'APP_HRM_PAYROLL_SETTINGS.FIXED' |\n customTranslate : 'Fixed: ' }}{{ element['amount']}}{{ 'APP_HRM_PAYROLL_SETTINGS.PER_OF_GROSS' |\n customTranslate : '% of Gross'}}</span>\n\n <span class=\"spanFontSize\" *ngIf=\"element['calculationType'] == 'ctc' && !element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\"> {{'APP_HRM_PAYROLL_SETTINGS.FIXED' |\n customTranslate : 'Fixed: ' }} {{ element['amount'] }} {{\n 'APP_HRM_PAYROLL_SETTINGS.PER_OF_FIXED_CTC' | customTranslate : '% of Fixed CTC'}}</span>\n <span class=\"spanFontSize\" *ngIf=\"element['calculationType'] == 'ctc' && element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\">{{'APP_HRM_PAYROLL_SETTINGS.VARIABLE' |\n customTranslate : 'Variable: ' }}{{ element['amount'] }}{{\n 'APP_HRM_PAYROLL_SETTINGS.PER_OF_VARIABLE_CTC' | customTranslate : '% of Variable CTC'}}</span>\n </ng-container>\n\n <ng-template #noCalculation>\n <span class=\"spanFontSize\">-</span>\n </ng-template>\n </div>\n <div *ngIf=\"fromWhere === 'payrollSettingComponent' && column === 'active'\">\n <div class=\"form-check form-switch\">\n <input class=\"custom-checkbox\" type=\"checkbox\" [checked]=\"(element != null && element['active'] === true) ? true : false\"\n (click)=\"element[column]=!element[column]; onToggleChange.emit(fromWhere === 'payrollSettingComponent' ? element : '')\">\n </div>\n </div>\n </td>\n </ng-container>\n <!-- SK16JUL24 to get the sum of column data -->\n <td class=\"ps-2 pe-2 \" mat-footer-cell *matFooterCellDef=\"let element; let j = index\">\n {{ '-' | totalColumSum: data : cumulativeDataColumns : column }}\n </td>\n </ng-container>\n <!-- action button Columns -->\n <!-- SK19MAR25 \"action\" key is changed to \"tableAction\" wherever used, since, it has duplicate error -->\n <ng-container [stickyEnd]=\"true\" *ngIf=\"actionButton || isDeleteRow || isEditRow\"\n matColumnDef=\"tableAction\">\n <th mat-header-cell *matHeaderCellDef\n class=\"head-color action-size sticky-column actionCol text-center\" style=\"border-right: 1px solid var(--border-color, rgba(0, 0, 0, 0.12));\">{{ actionColumHeader |\n customTranslate : 'Action'}}</th>\n <!-- MR 16NOV26 Prevent sticky column bleed-through with opaque layered surface tokens -->\n <td mat-cell *matCellDef=\"let element; let i=index\" class=\"body-color sticky-column actionCol\">\n <!-- SKS25DEC24 clone button -->\n <div class=\"d-flex flex-row actionButton\"\n [style.justify-content]=\"conditionSendButton ? 'none' : 'center'\">\n <div *ngIf=\"(!conditionCloneButton) && cloneButton\" class=\"imgBtnDiv\">\n <img style=\"padding: 0px;\" (click)=\"onClone(element , i)\"\n src=\"../assets/images/icons/general/clone.svg\" class=\"imgBtn\" data-bs-toggle=\"modal\">\n </div>\n <div *ngIf=\"(conditionCloneButton) && isConditionMet(element, conditionCloneButton.conditions)\"\n class=\"ms-2 imgBtnDiv\" style=\"margin-top: 6px;\">\n <img style=\"padding: 0px;\" (click)=\"onClone(element , i)\"\n src=\"../assets/images/icons/general/clone.svg\" class=\"imgBtn\" data-bs-toggle=\"modal\">\n </div>\n <!-- SK20FEB26 Expense edit on Pending status -->\n <div *ngIf=\"element?.status === 'Rejected'|| fromWhere === 'leaveMaster' || fromWhere === 'payrollSettingComponent' || fromWhere === 'hrmTaxComponent' || isEditRow || (fromWhere == 'expense' && element?.status === 'Pending' )\">\n <app-fusion-button *ngIf=\"fromWhere == 'leave'\" [buttonType]=\"'text-only'\"\n [buttonValue]=\"'APP.COMMENTS' | customTranslate : 'comments' \"\n (buttonClickEmit)=\"onEdit(element?.rejectionReason, i, element?.status)\" data-bs-toggle=\"modal\"\n data-bs-target=\"#rejectInfoModal\">\n </app-fusion-button>\n <div class=\"imgBtnDiv\"\n *ngIf=\"((!conditionEditButton)&& ((fromWhere == 'expense' ) || fromWhere === 'leaveMaster' || fromWhere === 'payrollSettingComponent' || fromWhere === 'hrmTaxComponent' || isEditRow)) || (conditionEditButton && isConditionMet(element, conditionEditButton.conditions))\">\n <!-- MY 23OCT26 Disable edit action when expense is already Approved -->\n <i *ngIf=\"(!conditionEditButton)&& ((fromWhere == 'expense' ) || fromWhere === 'leaveMaster' || fromWhere === 'payrollSettingComponent' || fromWhere === 'hrmTaxComponent' || isEditRow)\"\n (click)=\"(fromWhere === 'expense' && element?.status?.toLowerCase() === 'approved') ? null : onEdit(fromWhere === 'payrollSettingComponent' || isEditRow ? element : element?._id, i, element?.status)\"\n [matTooltip]=\"(fromWhere === 'expense' && element?.status?.toLowerCase() === 'approved') ? ('APP_EXPENSE.CANNOT_EDIT_APPROVED' | customTranslate : 'Approved expenses cannot be edited') : ('APP.EDIT' | customTranslate : 'Edit')\"\n [style.opacity]=\"(fromWhere === 'expense' && element?.status?.toLowerCase() === 'approved') ? '0.35' : '1'\"\n [style.cursor]=\"(fromWhere === 'expense' && element?.status?.toLowerCase() === 'approved') ? 'not-allowed' : 'pointer'\"\n class=\"fusion-icon nav-icon fusion-icon-edit_pencil\" style=\"margin: 0px !important; font-size: var(--fs-normal, 16px) !important; color: var(--fc-sub-lite, #787486);\">\n </i>\n <i *ngIf=\"conditionEditButton && isConditionMet(element, conditionEditButton.conditions)\"\n [matTooltip]=\"(fromWhere === 'expense' && element?.status?.toLowerCase() === 'approved') ? ('APP_EXPENSE.CANNOT_EDIT_APPROVED' | customTranslate : 'Approved expenses cannot be edited') : ('APP.EDIT' | customTranslate : 'Edit')\"\n [style.opacity]=\"(fromWhere === 'expense' && element?.status?.toLowerCase() === 'approved') ? '0.35' : '1'\"\n [style.cursor]=\"(fromWhere === 'expense' && element?.status?.toLowerCase() === 'approved') ? 'not-allowed' : 'pointer'\"\n (click)=\"(fromWhere === 'expense' && element?.status?.toLowerCase() === 'approved') ? null : onEdit(fromWhere === 'payrollSettingComponent' || isEditRow ? element : element?._id, i)\"\n class=\"fusion-icon nav-icon fusion-icon-edit_pencil\" style=\"margin: 0px !important; font-size: var(--fs-normal, 16px) !important; color: var(--fc-sub-lite, #787486);\">\n </i>\n </div>\n <!-- <img *ngIf=\"fromWhere == 'expense'\" (click)=\"delete(element?._id)\" src=\"../assets/images/icons/Vectordelete.svg\"> -->\n </div>\n <div *ngIf=\"element?.leaveStatus === 'New' || element?.status === 'New' || element?.status === 'Pending' || element?.leaveStatus === 'Pending' || fromWhere === 'leaveMaster' || fromWhere === 'payrollSettingComponent' || fromWhere === 'hrmTaxComponent' || fromWhere == 'expenseApproval' || isDeleteRow\">\n <app-fusion-button *ngIf=\"fromWhere == 'leave'\" [buttonType]=\"'text-only'\"\n [buttonValue]=\"'APP.CANCEL' | customTranslate : 'Cancel'\" (buttonClickEmit)=\"delete(element, i)\"\n data-bs-toggle=\"modal\" data-bs-target=\"#cancelLeave\"></app-fusion-button>\n <!-- SKS21NOV24 Conditional rendering of delete icon based on various conditions -->\n <!-- Show the delete icon if 'conditionDeleteButton' is false and 'fromWhere' matches specific components or 'isDeleteRow' is true -->\n <div class=\"imgBtnDiv\"\n *ngIf=\"((!conditionDeleteButton)&&(fromWhere == 'expense' || fromWhere === 'leaveMaster' || fromWhere === 'payrollSettingComponent' || fromWhere === 'hrmTaxComponent' || isDeleteRow) )|| (conditionDeleteButton && isConditionMet(element, conditionDeleteButton.conditions))\">\n <img\n *ngIf=\"(!conditionDeleteButton)&&(fromWhere == 'expense' || fromWhere === 'leaveMaster' || fromWhere === 'payrollSettingComponent' || fromWhere === 'hrmTaxComponent' || isDeleteRow)\"\n class=\"imgBtn\" [matTooltip]=\"'APP.DELETE_RECORD' | customTranslate : 'Delete Record'\"\n (click)=\"deleteRecord(fromWhere === 'payrollSettingComponent' || isDeleteRow ? element : element?._id, i)\"\n src=\"../assets/images/icons/Vectordelete.svg\">\n <img *ngIf=\"conditionDeleteButton && isConditionMet(element, conditionDeleteButton.conditions)\"\n [matTooltip]=\"'APP.DELETE_RECORD' | customTranslate : 'Delete Record'\"\n (click)=\"deleteRecord(isDeleteRow ? element : element?._id, i)\" class=\"imgBtn\"\n src=\"../assets/images/icons/Vectordelete.svg\">\n </div>\n <div *ngIf=\"fromWhere == 'approval' || fromWhere == 'expenseApproval'\" class=\"flex imgBtnDiv\">\n <img\n *ngIf=\"(fromWhere === 'expenseApproval' && element?.status === 'Approved'&& element?.reImbursed !== 'Reimbursed') || fromWhere == 'approval'\"\n class=\"approval-image me-2\" style=\"padding: 0px; width: 24px !important;\"\n (click)=\"onApprove( element?.employeeId, element?._id, element?.reImbursed )\"\n src=\"../assets/images/icons/general/Approved.svg\">\n <img *ngIf=\"fromWhere !== 'expenseApproval'\" class=\"approval-image\"\n style=\"padding: 0px; width: 24px !important;\"\n (click)=\"onReject( element?.employeeId, element?._id )\"\n src=\"../assets/images/icons/general/Declined.svg\" class=\"\" data-bs-toggle=\"modal\"\n data-bs-target=\"#approvalReject\">\n </div>\n </div>\n <!-- SK02APR24 added preview and download icons -->\n <div *ngIf=\"viewIcon\" class=\"ms-2 imgBtnDiv\">\n <!-- <img [src]=\"('post.svg' | svgIcon:'#000000') | async\" class=\"card-icon color\" title=\"preview\" (click)=\"viewIconClick(element)\" style=\"cursor: pointer;\" /> -->\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-eye nav-icon\" matTooltip=\"Preview\"\n matTooltipPosition=\"above\" style=\"color: var(--fc-text-color-light) !important; cursor: pointer;\"\n (click)=\"viewIconClick(element)\"></i>\n\n </div>\n <div *ngIf=\"downloadIcon\" class=\"ms-2 imgBtnDiv\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-document-download card-icon color imgBtn\"\n matTooltip=\"Download\" matTooltipPosition=\"above\"\n style=\"cursor: pointer; color: var(--fc-text-color-light) !important;\"\n (click)=\"downloadIconClick(element)\">\n </i>\n </div>\n <!-- SKS25DEC24 send button -->\n <div *ngIf=\"(!conditionSendButton) && sendButton\" class=\"ms-2 imgBtnDiv\" style=\"margin-top: 6px;\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-send-2 card-icon color imgBtn\"\n style=\"cursor: pointer\" (click)=\"onSend(element, i)\"\n [matTooltip]=\"'APP.SEND' | customTranslate : 'Send'\"></i>\n </div>\n <div\n *ngIf=\"(conditionSendButton) && isConditionMet(element, conditionSendButton.conditions) && sendButton\"\n class=\"ms-2 imgBtnDiv\" style=\"margin-top: 6px;\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-send-2 card-icon color imgBtn\"\n style=\"cursor: pointer\" (click)=\"onSend(element, i)\"\n [matTooltip]=\"'APP.SEND' | customTranslate : 'Send'\"></i>\n </div>\n <!-- SKS25DEC24 active button -->\n <div *ngIf=\"(!conditionActivateButton) && activeButton\" class=\"ms-2 imgBtnDiv\"\n style=\"margin-top: 10px;\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-group nav-icon\" style=\"color: var(--comp-bg-color, #ffffff);\"></i>\n </div>\n <div\n *ngIf=\"(conditionActivateButton) && isConditionMet(element, conditionActivateButton.conditions) && activeButton\"\n class=\"ms-2 imgBtnDiv\" style=\"margin-top: 10px;\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-group nav-icon\" style=\"color: var(--comp-bg-color, #ffffff);\"></i>\n </div>\n <!-- SKS25DEC24 deactive button -->\n <div *ngIf=\"(!conditionDeactivateButton) && deactiveButton\" class=\"ms-2 imgBtnDiv\"\n style=\"margin-top: 10px;\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-group nav-icon\" style=\"color: var(--comp-bg-color, #ffffff);\"></i>\n </div>\n <div\n *ngIf=\"(conditionDeactivateButton) && isConditionMet(element, conditionDeactivateButton.conditions) && deactiveButton\"\n class=\"ms-2 imgBtnDiv\" style=\"margin-top: 10px;\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-group nav-icon\" style=\"color: var(--comp-bg-color, #ffffff);\"></i>\n </div>\n </div>\n <div>\n\n <app-fusion-button *ngIf=\"fromWhere == 'document-icons'\" [buttonType]=\"'custom-btn'\"\n [fcBtnIconLeftSrc]=\"'../assets/images/icons/general/downloadfile.svg'\"\n (buttonClickEmit)=\"downloadPdf(element)\"></app-fusion-button>\n <app-fusion-button *ngIf=\"fromWhere == 'document-icons'\" [buttonType]=\"'custom-btn'\"\n [fcBtnIconLeftSrc]=\"'../assets/images/icons/general/pencil-icon.svg'\"\n (buttonClickEmit)=\"delete(element, i)\" data-bs-toggle=\"modal\"\n data-bs-target=\"#documentsInfoModal\"></app-fusion-button>\n <app-fusion-button *ngIf=\"fromWhere == 'document-icons'\" [buttonType]=\"'custom-btn'\"\n [fcBtnIconLeftSrc]=\"'../assets/images/icons/Vectordelete.svg'\"\n (buttonClickEmit)=\"delete(element, i)\" data-bs-toggle=\"modal\"\n data-bs-target=\"#deleteDocModal\"></app-fusion-button>\n </div>\n </td>\n <td mat-footer-cell *matFooterCellDef=\"let element; let i=index\">{{ \"\" }}\n </td>\n </ng-container>\n\n <!-- total Row -->\n <ng-container [sticky]=\"true\" matColumnDef=\"total\">\n <th mat-header-cell *matHeaderCellDef class=\"sticky-column head-color\">\n </th>\n <!-- MR 16NOV26 Prevent sticky column bleed-through with opaque layered surface tokens -->\n <td mat-cell *matCellDef=\"let row\" class=\"body-color sticky-column\">\n </td>\n <!-- RS27AUG24 -->\n <!-- Used the translate pipe to successfully implement the translation -->\n <td mat-footer-cell *matFooterCellDef >{{'APP.TOTAL' | customTranslate : 'Total' }}\n </td>\n </ng-container>\n\n <!-- Render the columns -->\n <!-- SK16JUL24 adding the cumulative data row as footer -->\n <!-- <ng-container *ngIf=\"dataSource?.data?.length !== 0\"> -->\n <div [ngSwitch]=\"renderColumns\">\n <div *ngSwitchCase=\"'select'\">\n <tr mat-header-row *matHeaderRowDef=\"['select'].concat(displayedColumns) sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: ['select'].concat(displayedColumns);\"></tr>\n <!-- SK19JUL24 table total update -->\n <tr\n [class]=\"cumulativeDataColumns != undefined && cumulativeDataColumns.length !== 0 ? '' : 'border border-white' \"\n mat-footer-row\n *matFooterRowDef=\"cumulativeDataColumns != undefined && cumulativeDataColumns.length !== 0 ? ['total'].concat(displayedColumns) : null \">\n </tr>\n </div>\n <div *ngSwitchCase=\"'tableAction'\">\n <tr mat-header-row\n *matHeaderRowDef=\" displayedColumns ? displayedColumns.concat(['tableAction']) : [] ;sticky: true\">\n </tr>\n <tr mat-row\n *matRowDef=\"let row; columns: displayedColumns ? displayedColumns.concat(['tableAction']) : []; \">\n </tr>\n <ng-container *ngIf=\"cumulativeDataColumns\">\n <tr\n [class]=\"cumulativeDataColumns != undefined && cumulativeDataColumns.length !== 0 ? '' : 'border border-white' \"\n mat-footer-row\n *matFooterRowDef=\"cumulativeDataColumns != undefined && cumulativeDataColumns.length !== 0 ? ['total'].concat(displayedColumns).concat('tableAction') : null\">\n </tr>\n </ng-container>\n </div>\n <!-- 30JAN24 for both checkbox and action columns-->\n <div *ngSwitchCase=\"'both'\">\n <tr mat-header-row\n *matHeaderRowDef=\"['select'].concat(displayedColumns).concat('tableAction') sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: ['select'].concat(displayedColumns).concat('tableAction')\"\n (click)=\"tableClick(row)\"></tr>\n <ng-container *ngIf=\"cumulativeDataColumns\">\n <tr\n [class]=\"cumulativeDataColumns != undefined && cumulativeDataColumns.length !== 0 ? '' : 'border border-white' \"\n mat-footer-row\n *matFooterRowDef=\"cumulativeDataColumns != undefined && cumulativeDataColumns.length !== 0 ? ['total'].concat(displayedColumns).concat('tableAction') : null\">\n </tr>\n </ng-container>\n </div>\n <div *ngSwitchDefault>\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row;let i =index; columns: displayedColumns;\"></tr>\n <ng-container *ngIf=\"cumulativeDataColumns\">\n <tr\n [class]=\"cumulativeDataColumns != undefined && cumulativeDataColumns.length !== 0 ? 'd-block' : 'border border-white' \"\n mat-footer-row\n *matFooterRowDef=\"cumulativeDataColumns != undefined && cumulativeDataColumns.length !== 0 ? ['total'].concat(displayedColumns) : null\">\n </tr>\n </ng-container>\n </div>\n </div>\n <!-- </ng-container> -->\n <!-- <tr class=\"mat-row \" *matNoDataRow> -->\n <!-- SK9JAN24 Removed attr.colspan since it throws undefined error -->\n <!-- <td class=\"mat-cell \">\n {{'APP.NO_RECORDS' | customTranslate : 'No records/data found.' }}\n </td>\n </tr> -->\n\n </table>\n <div class=\"no-data-cell text-center my-3 \" *ngIf=\"!dataSource || !dataSource.data || dataSource.data.length === 0\">\n {{ 'APP.NO_RECORDS' | customTranslate : 'No records/data found.' }}\n </div>\n </ng-container>\n <!-- MSM28JAN25 skeleton loader template -->\n <ng-template #loadingTemplate>\n <table>\n <tr style=\"height: 40px;\" *ngFor=\"let _ of [1, 2, 3, 4,5,6]\">\n <td colspan=\"3\" class=\"skeleton-card\">\n <div class=\"title\" data-title>\n <div class=\"skeleton skeleton-text\"></div>\n <div class=\"skeleton skeleton-text\"></div>\n </div>\n </td>\n </tr>\n </table>\n </ng-template>\n </div>\n <!-- SK23FEB24 table input save button changes -->\n <div class=\"d-flex justify-content-end\">\n <div class=\"flex mt-4 me-2 cursor-pointer\" *ngIf=\"addInlineRecord \" (click)=\"addTableRecord(inlineElement)\"\n [matTooltip]=\"'APP.ADD_NEW_RECORD' | customTranslate : 'Add New Record'\">\n <div class=\"ms-1 me-1\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-add-square nav-icon\"\n style=\"color: var(--fc-text-color-dark, #000000) !important;\"></i>\n </div>\n </div>\n <!-- SK27FEB24 removed button disable logic, SK13MAR24 added another condition for button showing-->\n <!-- SR06JAN2025 button disable logic for not select any employee-->\n <div class=\"d-flex justify-content-between align-items-end\">\n <div class=\"px-2\">\n {{notes}}</div>\n\n <app-fusion-button [buttonLoadingSpinner]=\"tableSaveLoadingSpinner\"\n *ngIf=\"editColumn.length > 0 || tableSaveButton\" buttonType=\"btn btn-primary mt-4 me-2\"\n [buttonDisable]=\"selection?.selected?.length === 0\" (buttonClickEmit)=\"saveButton()\"\n buttonValue=\"{{ 'APP.SAVE' | customTranslate : 'Save' }}\"></app-fusion-button>\n </div>\n </div>\n <!-- SKS24JAN25 custom paginator -->\n <app-pagination #paginator [pageSizeOptions]=\"itemsPerPage\" [collectionSize]=\"totalCount\" [pageSize]=\"pageSize\"\n [currentPage]=\"pageIndex\" [firstLastButtons]=\"true\" (event)=\"pageParams($event)\" >\n </app-pagination>\n </div>\n </div>\n</div>\n\n<!-- SK03OCT24 while clicking export button, side screen will be displayed, with fields selection and filter boxes -->\n<app-common-screen *ngIf=\"exportSidescreen\" headerTitle=\"{{'APP.EXPORT_DATA' | customTranslate : 'Export Data'}}\"\n (sideScreenEmittedEvent)=\"exportSidescreen = false\">\n <div class=\"side-main-content\">\n <!-- MY 15OCT26 export file button loader -->\n <div\n class=\"d-flex align-items-center flex-row p-3 justify-content-center cursor-pointer short-button-white-bg button-hov\"\n [class.disabled]=\"exportButtonLoadingSpinner\"\n (click)=\"!exportButtonLoadingSpinner ? exportButtonSideNav() : null\">\n <div *ngIf=\"exportButtonLoadingSpinner\" class=\"spinner-grow spinner-grow-sm me-2\" role=\"status\" aria-hidden=\"true\"></div>\n <i *ngIf=\"!exportButtonLoadingSpinner\" class=\"fusion-icon fusion-icon-size-lg fusion-icon-document-upload card-icon color me-1\"></i>\n <div>{{ exportButtonLoadingSpinner ? (('APP_SETTINGS_APPS.LOADING' | customTranslate : 'Loading') + '...') : ('APP.EXPORT_FILE' | customTranslate : 'Export File') }}</div>\n </div>\n <!-- SK03OCT24 displaying components from parent (multipleCheckBox/multipleFilter) -->\n <div *ngFor=\"let type of filterScreenConfigs\">\n <!-- MY 15OCT26 pass button loader state to multi-checkbox and multiple-filter -->\n <app-multi-checkbox *ngIf=\"type.type === 'multipleCheckBox' \" class=\"ms-2 me-2\"\n [label]=\"type?.labelPath || type?.label | customTranslate : type?.label\" [cardSize]=\"type?.cardSize\"\n [cardInlineSize]=\"type?.cardInlineSize\" [checkboxList]=\"type?.checkboxList\"\n [activeCheckboxList]=\"type?.activeCheckboxList\" [buttonList]=\"type?.buttons\"\n [displayValues]=\"type?.displayValues\" [componentData]=\"type\" [checkBoxStyles]=\"type?.checkBoxStyles\"\n [isButtonLoadingSpinner]=\"type?.isButtonLoadingSpinner || false\"\n (compDataEmit)=\"exportFieldsButtonEmit($event)\">\n </app-multi-checkbox>\n <app-multiple-filter *ngIf=\"type.type === 'multipleFilter' \" class=\"ms-2 me-2\"\n [isDateFilter]=\"type?.isDateFilter || false\"\n [label]=\"type?.labelPath || type?.label | customTranslate : type?.label\" [cardSize]=\"type?.cardSize\"\n [cardInlineSize]=\"type?.cardInlineSize\" [buttonList]=\"type?.buttons\" [displayValues]=\"type?.displayValues\"\n [componentData]=\"type\" [checkBoxStyles]=\"type?.checkBoxStyles\" [selectionData]=\"type?.selectionData\"\n [isButtonLoadingSpinner]=\"type?.isButtonLoadingSpinner || false\"\n (compDataEmit)=\"exportFilterButtonEmit($event)\" (selectedValuesEmit)=\"selectedValuesEmit($event)\"\n (filterDateEmit)=\"filterDateEmit($event)\">\n </app-multiple-filter>\n </div>\n </div>\n</app-common-screen>\n<!-- SKS15DEC25 bulk upload -->\n<app-file-upload [id]=\"'uploadEmployee'\" [headerName]=\"moudleName\" [showFileModal]=\"uploadModal\"\n (closeEmit)=\"uploadModal = false\"\n [bodyHeaderName]=\"('APP.STEPS_TO_UPLOAD' | customTranslate : 'Steps to upload')+moudleName\" [isTemplate]=true\n [templateContent]=\"('APP.DOWNLOAD_THE' | customTranslate : 'Download the')+ moudleName +('APP.TEMPLATE' | customTranslate : 'template')\"\n (templateDownload)=\"downloadTemplate()\"\n [bodyContent]=\"[(('APP.FILL_THE_APPROP' | customTranslate : 'Fill the appropriate')+moudleName+('APP.DETAILS_AND_UPLOAD_ITS_BELOW' | customTranslate : 'Details and upload it below'))]\"\n [fileRestrictions]=\"{\n allowedTypes: ['.csv', '.xlsx', '.xls'],\n maxFileSize: 10,\n maxFiles: 1\n }\" [uploadedFiles]=\"[]\" [saveButtonName]=\"'APP.UPLOAD' | customTranslate : 'Upload'\"\n (upload)=\"uploadRecordsFile($event)\">\n</app-file-upload>\n<!-- SK06NOV24 alert on deleting record -->\n<div *ngIf=\"deleteModal\" class=\"modal modal-backdrop show d-block\" id=\"deleteRecord\" tabindex=\"-1\"\n aria-labelledby=\"deleteRecordLabel\" [attr.aria-hidden]=\"!deleteModal\">\n <div class=\"modal-dialog\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <b class=\"modal-title fs-5\" id=\"deleteRecordLabel\">{{'APP.DELETE_RECORD' | customTranslate : 'Delete Record'}}</b>\n <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"\n (click)=\"deleteModal = false\"></button>\n </div>\n <div class=\"modal-body\">\n {{'APP.ARE_YOU_SURE_YOU_WANT_TO_DELETE_THE_REC' | customTranslate : 'Are you sure want to delete the record'}} ?\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\" class=\"btn btn-primary\" data-bs-dismiss=\"modal\" aria-label=\"Close\"\n (click)=\"!buttonLoadingSpinner ? deleteRecordData() : null\">\n <!-- SK04SEP25 button loader -->\n <span class=\"{{ buttonLoadingSpinner ? 'spinner-grow' : '' }} spinner-grow-sm\" role=\"buttonValue\"\n aria-hidden=\"true\"></span>\n <span>{{ buttonLoadingSpinner ? ('APP_SETTINGS_APPS.LOADING' | customTranslate : 'Loading') + '...' :\n ('APP.YES' | customTranslate : 'Yes') }}\n </span>\n </button>\n <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\" (click)=\"deleteModal = false\">{{'APP.NO'\n | customTranslate : 'No'}}</button>\n </div>\n </div>\n </div>\n</div>\n\n<app-common-screen *ngIf=\"infoSidescreen\" [headerTitle]=\"'APP.APPROVAL_DETAILS' | customTranslate : 'Approval Details'\"\n (sideScreenEmittedEvent)=\"infoSidescreen = false\">\n <div class=\"side-main-content container\">\n <div class=\"row\">\n <div class=\"col-md-12\">\n <!-- Approval Info -->\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.NAME' | customTranslate : 'Name'}}:</div>\n <div class=\"col-6 text-start\">{{ infoData.name || ''}}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.STATUS' | customTranslate : 'Status'}}:</div>\n <div class=\"col-6 text-start\">\n <span\n *ngIf=\"infoData.status === 'Approved' || infoData.status === 'Pending' || infoData.status === 'Rejected' \"\n class=\"badge custom-badge\" [ngClass]=\"{\n 'bg-success': infoData.status === 'Approved', \n 'bg-warning': infoData.status === 'Pending',\n 'bg-danger': infoData.status === 'Rejected'}\">\n {{ infoData.status }}</span>\n <span\n *ngIf=\"infoData.status !== 'Approved' && infoData.status !== 'Pending' && infoData.status !== 'Rejected' \">{{\n infoData.status || '' }}</span>\n </div>\n </div>\n <div class=\"row mb-3\">\n <!-- SK21DEC24 to add Approval status in side screen-->\n <div class=\"col-6 text-start\">{{'APP.APPROVAL_STATUS' | customTranslate : 'Approval Status'}}:</div>\n <div class=\"col-6 text-start\">\n <span\n *ngIf=\"infoData.leaveStatus === 'Approved' || infoData.leaveStatus === 'Pending' || infoData.leaveStatus === 'Rejected'\"\n class=\"badge custom-badge\" [ngClass]=\"{\n 'bg-success': infoData.leaveStatus === 'Approved', \n 'bg-warning': infoData.leaveStatus === 'Pending',\n 'bg-danger': infoData.leaveStatus === 'Rejected'}\">\n {{ infoData.leaveStatus || '' }}</span>\n <span\n *ngIf=\"infoData.leaveStatus !== 'Approved' && infoData.leaveStatus !== 'Pending' && infoData.leaveStatus !== 'Rejected'\">{{\n infoData.leaveStatus || '' }}</span>\n </div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.REASON' | customTranslate : 'Reason'}}:</div>\n <div class=\"col-6 text-start\">{{ infoData.reason || '' }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.TYPE' | customTranslate : 'Type'}}:</div>\n <div class=\"col-6 text-start\">{{ infoData.type || ''}}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.APPLIED_ON' | customTranslate : 'Applied On'}}:</div>\n <div class=\"col-6 text-start\">{{ (infoData.appliedOn | date:'short') || '' }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.APPROVED_COUNT' | customTranslate : 'Approved Count'}}:</div>\n <div class=\"col-6 text-start\">{{ infoData.approvedCount || '' }}</div>\n </div>\n </div>\n </div>\n <!-- Approval Managers -->\n <!-- SK03DEC24 show approval managers list only if applicable -->\n <h3 *ngIf=\"infoData.approvalManagers != undefined && infoData.approvalManagers.length > 0\" class=\"text-center mb-3\">\n {{'APP.APPROVAL_MANAGERS' | customTranslate : 'Approval Managers'}}</h3>\n <ul *ngIf=\"infoData.approvalManagers != undefined && infoData.approvalManagers.length > 0\" class=\"list-group\">\n <li *ngFor=\"let manager of infoData.approvalManagers\" class=\"list-group-item\">\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.EMPLOYEE_ID' | customTranslate : 'Employee ID'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.employeeId || ''}}</div>\n </div>\n <div class=\"row mb-3\">\n <!-- SK10DEC24 to show manager name -->\n <div class=\"col-6 text-start\">{{'APP.EMPLOYEE_NAME' | customTranslate : 'Employee Name'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.name || '' }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.APPROVAL_ORDER' | customTranslate : 'Approval Order'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.approvalOrder || '' }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.STATUS' | customTranslate : 'Status'}}:</div>\n <div class=\"col-6 text-start\">\n <span *ngIf=\"manager.status === 'Approved' || manager.status === 'Pending' || manager.status === 'Rejected'\"\n class=\"badge custom-badge\" [ngClass]=\"{\n 'bg-success': manager.status === 'Approved', \n 'bg-warning': manager.status === 'Pending',\n 'bg-danger': manager.status === 'Rejected'}\">\n {{ manager.status || '' }}\n </span>\n <span\n *ngIf=\"manager.status !== 'Approved' && manager.status !== 'Pending' && manager.status !== 'Rejected'\"> {{\n manager.status || '' }}</span>\n </div>\n </div>\n <div class=\"row mb-3\" *ngIf=\"manager.viewedOn\">\n <div class=\"col-6 text-start\">{{'APP.VIEWED_ON' | customTranslate : 'Viewed On'}}:</div>\n <div class=\"col-6 text-start\">{{ (manager.viewedOn | date:'short') || '' }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.IS_OPTIONAL' | customTranslate : 'Is Optional'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.isOptional ? \"Yes\" : \"No\" }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.COMMENTS' | customTranslate : 'Comments'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.rejectionReason || '' }}</div>\n </div>\n </li>\n </ul>\n </div>\n</app-common-screen>\n\n",
6736
+ styles: [".table-wrapper{overflow-x:auto;max-width:100%}.table-container{border-top:1px solid var(--fb-border-default, #e2e8f0);min-height:100px;overflow:auto;width:100%;max-height:62vh}.table-layout{background:var(--fb-surface, #ffffff);border-radius:8px}.th{border-bottom:1px solid var(--fb-border-default, #e2e8f0);font-weight:var(--fw-600);font-size:var(--fs-medium);line-height:21px;color:var(--fb-text-primary, #0f172a)}.head-color{background:linear-gradient(var(--fb-action-surface, #e0f2fe),var(--fb-action-surface, #e0f2fe)),var(--fb-surface, #ffffff)!important;color:var(--fb-text-primary, #0f172a)!important}tr.mat-header-row,.mat-mdc-header-row{background:linear-gradient(var(--fb-action-surface, #e0f2fe),var(--fb-action-surface, #e0f2fe)),var(--fb-surface, #ffffff)!important}.body-color{color:var(--fb-text-primary, #0f172a);cursor:default}.search{display:flex;align-items:center;border:1px solid var(--border-color, #b1b1b1);background:var(--comp-bg-color, #ffffff);border-radius:var(--radius-medium, 7px);padding:4px 8px}.search-bar{display:flex;align-items:center;width:100%;gap:6px;margin:0}.search-bar input{background:transparent!important;border:none!important;outline:none!important;box-shadow:none!important;width:100%;font-size:13px;color:var(--fc-text-color, #1e293b);padding:2px 4px}th.mat-header-cell:last-of-type{padding:0;font-weight:var(--fw-600);font-size:var(--fs-medium);color:var(--fb-text-primary, #0f172a)}td.mat-cell:last-of-type{padding:8px;font-weight:var(--fw-400);font-size:var(--fs-medium);color:var(--fb-text-primary, #0f172a)}.table-title{font-weight:var(--fw-600);color:var(--fb-text-primary, #0f172a)}.sticky-column,td.actionCol{background-color:var(--fb-surface, #ffffff)}th.sticky-column,th.actionCol{background:linear-gradient(var(--fb-action-surface, #e0f2fe),var(--fb-action-surface, #e0f2fe)),var(--fb-surface, #ffffff)!important}.mat-sort-header-container{margin-left:5px}.body-color img{cursor:pointer}.head-color.action-size{color:var(--fb-text-primary, #0f172a);font-size:var(--fs-primary);font-weight:var(--fw-600)}.lop-input{border-radius:5px;color:var(--fb-text-primary, #0f172a);background-color:var(--fb-surface, #ffffff);font-weight:var(--fw-400);font-size:var(--fs-medium);transition:all .2s}::ng-deep [dir=rtl] .body-color img{margin-left:4px!important}@media screen and (min-width:600px){mat-table{font-weight:var(--fw-400);font-size:var(--fs-medium);color:var(--fb-text-primary, #0f172a)}}@media screen and (max-width:882px){mat-table{font-weight:var(--fw-400);font-size:var(--fs-medium);color:var(--fb-text-primary, #0f172a)}.mat-cell{padding:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-header-cell{padding:0}}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-right:24px}::ng-deep [dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type){padding-right:10px!important;padding-left:unset!important}.mat-sort-header-container.mat-focus-indicator.ng-tns-c139-34{margin-left:5px}.expense-file{font-size:var(--fs-small)}.expense-file:hover{font-style:italic;text-decoration:underline;color:var(--fb-action-hover, #00284d)}.expenseCon{background-color:var(--fb-surface-elevated, #ffffff);border:1px solid var(--fb-border-default, #e2e8f0);padding:5px;border-radius:3px}.hyper-link{text-decoration:none}.hyper-link:hover{color:var(--fb-action, #003566);text-decoration:underline}.clickable{cursor:pointer}.font-size-13{font-size:var(--fs-normal)}.weekoff-color{color:var(--fb-error, #ef4444)}.table-width{width:max-content}.on-edit:hover .edit-icon{visibility:visible}.edit-icon{visibility:hidden}.input-box{border:solid}.button-hov:hover{background:var(--fb-action, #003566);color:var(--fb-text-on-action, #ffffff)}.delete-icon{justify-content:center}.side-main-content{border-radius:10px}h2{font-size:28px}.list-group-item{margin-bottom:10px;padding:15px}.list-group-item p{margin-bottom:5px}.custom-badge{display:inline-block;width:50%;text-align:center;padding:.3em 0;margin-top:0!important}.bg-success{--bs-bg-opacity: 1;background-color:var(--fb-success-surface, #e6f4ea)!important;color:var(--fb-success-text, #137333)!important}.custom-search-button{background-color:var(--fb-action, #003566);color:var(--fb-text-on-action, #ffffff);border-radius:5px;font-size:var(--fs-normal);border:none}.custom-search-button:hover{background-color:var(--fb-action-hover, #00284d)}.custom-search-button:active{transform:translateY(0)}.table{border-top:1px solid var(--fb-border-default, #e2e8f0)}th,td{vertical-align:middle}.configSearch{height:22px;padding:3px;margin:10p;background-color:var(--fb-action, #003566);border-radius:4px}::ng-deep .table>:not(caption)>*>*{background-color:none!important;--bs-table-bg: var(--fb-surface, #ffffff) !important}.imgBtn{background-color:var(--fb-surface-secondary, #f8fafc);border-radius:var(--radius-small, 6px)}.imgBtnDiv{line-height:0px;padding:4px;border-radius:5px;border:1px solid var(--fb-border-default, #e2e8f0)}input::placeholder{font-size:var(--fs-small);font-weight:var(--fw-400);color:var(--fb-placeholder-text, #94a3b8)}::ng-deep .modal-backdrop{background-color:var(--fb-backdrop, #00000073)!important}::ng-deep .modal-backdrop.show{background-color:var(--fb-backdrop, #00000073)!important;opacity:1!important}::ng-deep .mat-sort-header-container .mat-sort-header-content span{color:var(--fb-text-primary, #0f172a)!important;font-weight:var(--fw-600)!important;font-size:var(--fs-primary)!important}::ng-deep .mat-mdc-cell{color:var(--fb-text-primary, #0f172a)!important;font-weight:var(--fw-400)!important;font-size:var(--fs-primary)!important;min-width:20px!important}.active-column{color:var(--fb-text-primary, #0f172a)!important;font-weight:var(--fw-600)!important;font-size:var(--fs-primary)!important}.hover-content{background:var(--fb-surface-elevated, #ffffff)}.position-relative{position:relative;display:inline-block}.filter-popup{position:absolute;top:100%;left:0;z-index:9998;background-color:var(--fb-surface-elevated, #ffffff);border:1px solid var(--fb-border-default, #e2e8f0);box-shadow:0 4px 12px var(--fb-backdrop, rgba(0, 0, 0, .08));padding:10px;min-width:200px}.spanFontSize{font-size:var(--fs-normal)}.mat-column-employees{width:200px;min-width:200px;padding-left:8px;height:57px;left:0!important}.text-start{font-size:var(--fs-normal)}.first-header-border{border-left:1px solid var(--fb-border-default, #e2e8f0)}tr{height:45px!important;text-wrap:nowrap!important}.field-input{width:min(220px,98%);min-height:50px}.svg-spinner{animation:rotate 1s linear infinite}.svg-spinner .path{stroke:var(--fb-action, #003566);stroke-linecap:round;stroke-dasharray:80 150;stroke-width:4}@keyframes rotate{to{transform:rotate(360deg)}}img{max-width:none!important;vertical-align:middle}::ng-deep .mat-mdc-row:hover,::ng-deep .mat-row:hover{background-color:var(--fb-row-hover, #f8fafc)!important}::ng-deep .mat-mdc-row:nth-child(2n),::ng-deep .mat-row:nth-child(2n){background-color:var(--fb-row-alternate, #fcfdfe)}::ng-deep .mat-mdc-row:hover td.sticky-column,::ng-deep .mat-row:hover td.sticky-column,::ng-deep .mat-mdc-row:hover td.actionCol,::ng-deep .mat-row:hover td.actionCol{background-color:var(--fb-row-hover, #f8fafc)!important}::ng-deep .mat-mdc-row:nth-child(2n) td.sticky-column,::ng-deep .mat-row:nth-child(2n) td.sticky-column,::ng-deep .mat-mdc-row:nth-child(2n) td.actionCol,::ng-deep .mat-row:nth-child(2n) td.actionCol{background-color:var(--fb-row-alternate, #fcfdfe)}\n"],
6736
6737
  dependencies: [
6737
6738
  {
6738
6739
  kind: "ngmodule",
@@ -7314,8 +7315,8 @@ i0.ɵɵngDeclareClassMetadata({
7314
7315
  provide: MatPaginatorIntl,
7315
7316
  useClass: CustomPaginatorIntl
7316
7317
  }],
7317
- template: "<div class=\"table-layout\" [id]=\"tableId\" style=\"padding-top: 1px;\">\n <div>\n <!-- SK30JAN25 title added -->\n <div class=\"d-flex justify-content-center table-title align-text-center\">\n {{title}}\n </div>\n \n <div class=\"flex justify-content-between\" style=\"padding-bottom: 5px;\">\n <div class=\"d-flex align-items-center\">\n <!-- MR 09NOV26 table-toolbar-left projection slot -->\n <ng-content select=\"[table-toolbar-left]\"></ng-content>\n\n\n <div *ngIf=\"dateDropdown \">\n <app-drop-down class=\"field-input\" [lists]='dropdownLists' dropDownHeight=\"38px\" dropDownWidth=\"200px\"\n (dataEmit)=\"dropdownEmitFunction($event)\" [selectedData]=\"dropdownSelectedData\"></app-drop-down>\n </div>\n <!-- SC11NOV2025 if isDatePicker is true then show the date picker -->\n <div *ngIf=\"isDatePicker\">\n <app-drop-down [lists]='list' [selectedData]=\"selectedData\" dropDownHeight=\"42px\" dropFontWeight=\"500\"\n dropFontSize=\"12px\" dropFontColor=\"#434555\" dropBorderRadius=\"5px\" dropDownWidth=\"200px\"\n (dataEmit)=\"dateFilter($event)\"></app-drop-down>\n </div>\n </div>\n <!-- SKS24JAN25 show Nos in table -->\n <!-- <div style=\"display: flex; align-items: center;\">\n <p *ngIf=\"totalRecords || totalCount\" style=\"font-weight: var(--fw-500); margin-right: 5px; margin-bottom: 0px;\">{{'APP.NOS' | customTranslate : 'Nos'}} </p> <span style=\"color: var(--fc-primary-color, rgb(43, 87, 249));\">{{totalRecords || totalCount}}</span>\n </div> -->\n <!-- SKS24JAN25 search bar config and nonconfig -->\n <div style=\"margin-left:auto;\">\n <div class=\"flex\" style=\"align-items: center;\">\n <!-- MR 09NOV26 table-toolbar-right projection slot -->\n <ng-content select=\"[table-toolbar-right]\"></ng-content>\n\n\n <div class=\"search\">\n <div class=\"search-bar\">\n <img class=\"card-btn\" src=\"../assets/images/icons/general/Search.svg\">\n <input type=\"text\" placeholder=\"{{ 'APP.SEARCH' | customTranslate : 'Search' }}\" matInput\n (keyup)=\"searchConfigs ? emptySearch($event) : applyFilter($event)\"\n [value]=\" (searchConfigs || searchTextValue) ? searchBoxValue || '' : '' \" #input\n style=\"font-size: 13px !important;\">\n <img *ngIf=\"searchConfigs && searchBar\" (click)=\"onSearch(input.value)\"\n src=\"../assets/images/icons/general/configSearch.svg\" class=\"configSearch\">\n </div>\n </div>\n\n <!-- MR 09NOV26 Single toolbar button support from second-data-table -->\n <div class=\"flex\" *ngIf=\"button\">\n <app-fusion-button class=\"data-table-fsbtn ms-2 me-2\" (buttonClickEmit)=\"commonButtonClick($event, button)\"\n [buttonType]=\"button?.class || button?.buttonType\" [buttonValue]=\"button?.namePath || button?.labelPath || button?.name | customTranslate : button?.label || button?.name\"\n [buttonConfig]=\"button?.buttonConfig\" [type]=\"button?.type\" [fcBtnIconLeftSrc]=\"button?.btnIconLeftSrc || button?.fcBtnIconLeftSrc\"\n [isImageSvg]=\"button?.isImageSvg\">\n </app-fusion-button>\n </div>\n\n <!-- SKS24JAN25 single, group and dropdown dynamic buttons -->\n <div class=\"flex\" *ngIf=\"isButtons\" style=\"padding-left: 7px;\">\n <div class=\"flex\" *ngFor=\"let button of buttonArray\">\n <app-fusion-button class=\"data-table-fsbtn\" [buttonDisable]=\"button.buttonDisable\"\n [buttonLoadingSpinner]=\"buttonLoadingSpinner\" (buttonClickEmit)=\"commonButtonClick($event,button)\"\n [buttonType]=\"button.label === 'Export' ? 'grey-border rounded-3 bg-white text-dark' : button.class\"\n [buttonValue]=\"button.labelPath || button.namePath || button.name | customTranslate : button.label || button.name\"\n [buttonConfig]=\"button.buttonConfig\" [type]=\"button.type\" class=\"ms-2 me-2\"\n [fcBtnIconLeftSrc]=\"button.label === 'Export' ? '../assets/images/icons/general/upload-icon.svg' : button.fcBtnIconLeftSrc\" [isImageSvg]=\"button.label === 'Export' ? true : button.isImageSvg\">\n <!--SKS25OCT24 If the value is 'Import' or 'Export', this button does not work-->\n </app-fusion-button>\n </div>\n </div>\n \n </div>\n\n <!-- SK23FEB24 for adding new record in table -->\n <div class=\"flex cursor-pointer\" *ngIf=\"addInlineRecord\" (click)=\"addTableRecord(inlineElement)\"\n [matTooltip]=\"'APP.ADD_NEW_RECORD' | customTranslate : 'Add New Record'\">\n <div class=\"ms-1 me-1\">\n <!-- MR 30OCT26 Refactor inline html template styling to theme tokens -->\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-add-square nav-icon\"\n style=\"color: var(--fb-text-primary, #0f172a) !important;\"></i>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"table-subtitle\" *ngIf=\"titleOn && title\">\n {{ title | customTranslate : title }}\n </div>\n\n <div class=\"table-margin\">\n <div class=\"table-container\" cdkScrollable> <!-- SKS3FEB25 The search filter closes when scrolling the table-->\n <!-- MSM28JAN25 MR 09NOV26 skeleton loader condition using isTableLoading --> \n <ng-container *ngIf=\"!isTableLoading; else loadingTemplate\">\n <table mat-table [dataSource]=\"dataSource || []\" [ngStyle]=\"{ width: tableWidth }\" matSort>\n <!-- Checkbox Columns -->\n <ng-container [sticky]=\"true\" class=\"checkboxCol\" *ngIf=\"withCheckBox\" matColumnDef=\"select\" sticky>\n <th mat-header-cell *matHeaderCellDef class=\"sticky-column head-color\" style=\"border-left: 1px solid var(--fb-border-default, #e2e8f0);\">\n <input type=\"checkbox\" (click)=\"$event.stopPropagation()\" (change)=\"masterToggle()\"\n [checked]=\"selection?.hasValue()\" [indeterminate]=\"selection?.hasValue() && !isAllSelected()\"\n class=\"custom-checkbox\" />\n </th>\n <td mat-cell *matCellDef=\"let row\" class=\"body-color\" >\n <!-- SK18OCT24 check payroll Inprogress/Completed from backend data -->\n <input type=\"checkbox\" class=\"custom-checkbox\"\n [title]=\"(fromWhere === 'payrollTable' || fromWhere === 'paySlip') ? (row?.payProcessComment || '') : ''\"\n (click)=\"$event.stopPropagation()\" (change)=\"separateRowSelect(row)\"\n [checked]=\"selection.isSelected(row)\"\n [disabled]=\"(fromWhere === 'payrollTable' && row.isPayProcessed === true) || (fromWhere === 'paySlip' && row.isPayProcessed === false)\" />\n </td>\n <td mat-footer-cell *matFooterCellDef>\n {{ \"\" }}\n </td>\n </ng-container>\n\n <!-- data Columns -->\n <!-- set the matColumnDef attribute to the column name and use interpolation to dynamically generate the mat-header-cell and mat-cell elements based on the column name-->\n <ng-container *ngFor=\"let column of displayedColumns; let i=index\" [matColumnDef]=\"column\"\n [stickyEnd]=\"i === (stickyCondition - 1) ? true : false\" [sticky]=\"stickyColumns.includes(column)\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header\n style=\"border-right: 1px solid var(--fb-border-default, #e2e8f0);\" class=\"head-color ms-2 ps-2 pe-2\" \n [ngClass]=\"{'sticky-column': i === (stickyCondition - 1),'active-column': activeColumn === column,'first-header-border': i === 0}\"\n (click)=\"$event.stopPropagation(); onColumnClick(column)\">\n <span [class]=\"fromWhere === 'payrollTable' || fromWhere === 'paySlip' ? 'table-width' : '' \">{{\n (\n translatePath && translatePath[displayedColumns.indexOf(column)]\n ? translatePath[displayedColumns.indexOf(column)]\n : headerLabels[displayedColumns.indexOf(column)]\n )\n | customTranslate : headerLabels[displayedColumns.indexOf(column)]\n }}\n </span>\n <div (click)=\"$event.stopPropagation()\" class=\"position-relative\" cdk-overlay-origin\n #trigger=\"cdkOverlayOrigin\">\n <img class=\"ms-1\" *ngIf=\"filterColumns.includes(column)\" style=\"margin-bottom: 2px;\"\n (click)=\"filter(column)\" src=\"../assets/images/icons/general/filter-icon.svg\">\n </div>\n <ng-template cdk-connected-overlay [cdkConnectedOverlayOrigin]=\"trigger\"\n [cdkConnectedOverlayOpen]=\"searchFilter === true && column === selectedFilter\"\n [cdkConnectedOverlayScrollStrategy]=\"createScrollStrategy()\"\n (overlayOutsideClick)=\"searchFilter = false\" (detach)=\"searchFilter = false\">\n <app-search-filter class=\"search-component position-absolute\"\n [class]=\"searchFilter === true && column === selectedFilter ? 'd-block' : 'd-none'\"\n [filterItems]=\"filterArray\" (emitValues)=\"filteredData($event)\" (click)=\"$event.stopPropagation()\">\n </app-search-filter>\n </ng-template>\n </th>\n <ng-container *ngIf=\"dataSource.data.length > 0\">\n <td mat-cell class=\"body-color ps-2 pe-2\" *matCellDef=\"let element; let j = index\"\n [class.active-column]=\"activeColumn === column\">\n <!-- SK29OCT25 employee detail column -->\n <div *ngIf=\"column === 'employeeDetail'\">\n <div class=\"d-flex flex-row\" style=\"left:0;\">\n <div *ngIf=\"element['employeeName'] || element['name']\"\n [class]=\"hyperLinkColumns.includes(column) ? 'hyper-link' : '' \"\n style=\"font-size: var(--fs-small);color: var(--fb-text-primary, #0f172a);font-weight: var(--fw-600);\">\n {{element[\"employeeName\"] || element[\"name\"] || ''}}</div>\n <div *ngIf=\"element['employeeId']\"\n style=\"font-size: 11px;color: var(--fb-text-secondary, #64748b);font-weight: var(--fw-400);\" class=\"ms-1\">\n [{{element[\"employeeId\"] || ''}}]</div>\n </div>\n <div class=\"d-flex flex-row\" *ngIf=\"element['designation'] && element['designation'] !== ''\">\n <div style=\"font-size: 10px;color: var(--fb-text-secondary, #64748b);font-weight: var(--fw-600);\">\n {{element[\"designation\"] || ''}}\n </div>\n <div *ngIf=\"element['designation'] && element['designation'] !== '' && element['location'] && element['location'] !== ''\"\n style=\"font-size: 10px;color: var(--fb-text-secondary, #64748b);font-weight: var(--fw-600);\">,</div>\n <div *ngIf=\"element['location'] && element['location'] !== ''\" style=\"font-size: 10px;color: var(--fb-text-secondary, #64748b);font-weight: var(--fw-600);\">\n {{element[\"location\"] || ''}}\n </div>\n </div>\n </div>\n <div *ngIf=\"column !== 'combinedColumn' && column !== 'employeeDetail' && fromWhere !== 'leaveMaster' && (column !== 'active' && (fromWhere === 'hrmTaxComponent' || fromWhere === 'payrollSettingComponent' || fromWhere === 'hrm' || fromWhere === 'compensation'|| fromWhere === 'payrollTable'|| fromWhere === 'payrollCompare'|| fromWhere === 'paySlip' || fromWhere === 'approval' || fromWhere === 'leave' || fromWhere === 'expense' || fromWhere === 'expenseApproval' || fromWhere === 'leaveAllocation' ||fromWhere === 'parkingApp' ||(fromWhere === 'common' && column != 'signature')))\">\n <!-- SK10APR24 getting the table values using pipe instead of function to increase performance-->\n <div *ngIf=\" ('-' | editColumnCheck: column : editColumn) === ('') \">\n <span class=\"font-size-13 {{checkHyperlinkCheck(column) || fromWhere === 'hrm' || fromWhere === 'compensation' || fromWhere === 'parkingApp' ? ' hyper-link clickable ' : ''}} {{fromWhere === 'payrollTable' || fromWhere === 'paySlip' ? 'table-width' : '' }}\"\n *ngIf=\"hyperLinkColumns.includes(column) || isFirstCell(column)\"\n (click)=\"tableClick(element); onClickHyperlink(column,element, j, checkHyperlinkCheck(column))\">\n <!--SKS21NOV24 Use customDateTime Pipe for both Date and Time -->\n <ng-container *ngIf=\"isDateColumn(column)\">\n {{ element[column] | customDate }}\n </ng-container>\n\n <ng-container *ngIf=\"isTimeColumn(column)\">\n {{ element[column] | customTime }}\n </ng-container>\n\n <!--SKS21NOV24 For other columns, display raw value -->\n <ng-container *ngIf=\"!isDateColumn(column) && !isTimeColumn(column)\">\n {{ '-' | getValue: element : column }}\n </ng-container>\n <!--SKS27NOV24 Check if the current column is in buttonColumn array -->\n <ng-container *ngIf=\"sideScreenColumn?.includes(column)\">\n <img class=\"ms-2\" src=\"../assets/images/icons/general/info.svg\"\n (click)=\"onInfoClick(element, column, j)\">\n </ng-container>\n <!--SKS9JAN25 rightnav column -->\n <ng-container *ngIf=\"objectColumns?.includes(column)\">\n <img class=\"ms-2\" src=\"../assets/images/icons/general/info.svg\"\n (click)=\"onSideNavInfoClick(element, column, j)\">\n </ng-container>\n </span>\n <div *ngIf=\"!isFirstCell(column) && !editColumn.includes(column) && column != 'receipt'\"\n [class]=\"fromWhere === 'payrollTable' || fromWhere === 'paySlip' ? 'table-width' : '' \">\n <div *ngIf=\"!checkHyperlinkCheck(column)\" class=\"font-size-13\">\n <!--SKS21NOV24 Use customDateTime Pipe for both Date and Time -->\n <ng-container *ngIf=\"isDateColumn(column)\">\n {{ element[column] | customDate }}\n </ng-container>\n\n <ng-container *ngIf=\"isTimeColumn(column)\">\n {{ element[column] | customTime }}\n </ng-container>\n\n <!--SKS21NOV24 For other columns, display raw value -->\n <ng-container *ngIf=\"!isDateColumn(column) && !isTimeColumn(column)\">\n {{ '-' | getValue: element : column }}\n </ng-container>\n <!--SKS27NOV24 Check if the current column is in buttonColumn array -->\n <ng-container *ngIf=\"sideScreenColumn?.includes(column)\">\n <img class=\"ms-2\" src=\"../assets/images/icons/general/info.svg\"\n (click)=\"onInfoClick(element, column, j)\">\n </ng-container>\n <!--SKS9JAN25 rightnav column -->\n <ng-container *ngIf=\"objectColumns?.includes(column)\">\n <img class=\"ms-2\" src=\"../assets/images/icons/general/info.svg\"\n (click)=\"onSideNavInfoClick(element, column, j)\">\n </ng-container>\n </div>\n </div>\n </div>\n <!-- SK27FEB24 added input box for inline edit input-->\n <div *ngIf=\"editColumn.length > 0\">\n <div *ngIf=\" ('-' | editColumnCheck: column : editColumn) === ('string') \" class=\"on-edit d-flex\">\n <input #editColElement class=\"lop-input table-width\" [class]=\"element?.editRow ? 'input-box' : '' \"\n matInput [placeholder]=\"'APP.ENTER' | customTranslate : 'Enter'\" [value]=\"element[column]\"\n [(ngModel)]=\"element[column]\" [readOnly]=\"element?.editRow ? false : true\">\n </div>\n <!-- SK10APR24 In table, like text input, added drop down and time inputs as well -->\n <div *ngIf=\" ('-' | editColumnCheck: column : editColumn) === ('object') \" class=\"on-edit d-flex\">\n <input *ngIf=\" ('-' | editColumnType: column : editColumn) === ('text') \" #editColElement\n class=\"lop-input table-width\" [class]=\"element?.editRow ? 'input-box' : '' \" matInput\n [placeholder]=\"'APP.ENTER' | customTranslate : 'Enter'\" [value]=\"element[column]\"\n [(ngModel)]=\"element[column]\" [readOnly]=\"element?.editRow ? false : true\">\n <input *ngIf=\" ('-' | editColumnType: column : editColumn) === ('time') \" type=\"time\"\n class=\"lop-input table-width\" matInput [class]=\"element?.editRow ? 'input-box' : '' \"\n placeholder=\"HH:mm:ss\" [(ngModel)]=\"element[column]\"\n [disabled]=\"element?.editRow ? false : true\" />\n <div *ngIf=\" ('-' | editColumnType: column : editColumn) === ('dropdown') \">\n <select type=\"dropdown\" *ngIf=\"element?.editRow\" class=\"lop-input table-width\" matInput\n [class]=\"element?.editRow ? 'input-box' : '' \" [(ngModel)]=\"element[column]\">\n <option [disabled]=\"element?.editRow ? false : true\"\n *ngFor=\"let data of [] | editColumnDropdown: column : editColumn \"\n [value]=\"data.value || data.name\">{{data.name}}</option>\n </select>\n <input *ngIf=\"!element?.editRow\" #editColElement class=\"lop-input table-width\"\n [class]=\"element?.editRow ? 'input-box' : '' \" matInput\n [placeholder]=\"'APP.ENTER' | customTranslate : 'Enter'\" [value]=\"element[column]\"\n [(ngModel)]=\"element[column]\" [readOnly]=\"true\">\n </div>\n\n </div>\n </div>\n <app-popover\n *ngIf=\"column === 'receipt' && !editColumn.includes(column) && receiptImg == true && element[column] && element[column].length != 0\"\n [isBootstrap]=\"false\" [dynamicPopover]=\"'Popover string comes here'\">\n <div class=\"hover-base\">\n <img class=\"ms-1\" src=\"../../../assets/images/icons/general/file-attach.svg\">\n </div>\n <div class=\"hover-content\">\n <div class=\"expenseCon\">\n <div *ngFor=\"let data of element[column] || []\">\n <div class=\"cursor-pointer expense-file\" (click)=\"expenseAttachment(data,element)\">{{data?.name}}\n <!-- SK20FEB26 loader in expense list-->\n <svg *ngIf=\"data?.loader\"\n class=\"svg-spinner card-icon color\"\n width=\"22\" height=\"22\" viewBox=\"0 0 50 50\"\n style=\"cursor: wait;\">\n <circle class=\"path\" cx=\"25\" cy=\"25\" r=\"20\" fill=\"none\" stroke-width=\"4\"></circle>\n </svg>\n </div>\n </div>\n </div>\n </div>\n </app-popover>\n </div>\n <div *ngIf=\"fromWhere === 'leaveMaster' && column !== 'employeeDetail' \">\n <div [class]=\"(element[column]) === 'Week Off' ? 'weekoff-color' : '' \" class=\"font-size-13\">{{\n (column == 'default' || column == 'active' || column == 'paidLeave') ? '' : element[column] }}</div>\n <input *ngIf=\"(column === 'default' || column === 'active' || column === 'paidLeave')\"\n class=\"custom-checkbox\" [checked]=\"element[column] == true\" type=\"checkbox\" disabled>\n </div>\n <div *ngIf=\"fromWhere === 'payrollSettingComponent' && column === 'combinedColumn'\">\n <!-- for the Payroll Settings Component ( Side Screen Component )-->\n <!-- Since the last column is a combination of data and it is also conditional based on the paytype and calculation type we are using this div-->\n <!-- if Component type is Earnings and\n calculationType is 'flat' then output should be => \"'payType\": Flat, Amount of 'amount'\"\n calculationType is 'percentage' then output should be => \"'payType': 'amount' % of Basic \"\n calculationType is 'fixed' then output should be => \"'payType': 'calculationType'\" -->\n <!-- SK20JUN25 to display in table -->\n <ng-container *ngIf=\"\n element?.calculationType === 'flat' ||\n element?.calculationType === 'percentage' ||\n element?.calculationType === 'basicAndDA' ||\n element?.calculationType === 'fixed' ||\n element?.calculationType === 'ctc';\n else noCalculation\n \">\n <span class=\"spanFontSize\" *ngIf=\"element['calculationType'] == 'flat' && element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\">{{'APP_HRM_PAYROLL_SETTINGS.VARIABLE_FLAT_AMOUNT'\n | customTranslate : 'Variable: Flat Amount: ' }}{{ (element['amount'] || 0)}}</span>\n <span class=\"spanFontSize\" *ngIf=\"element['calculationType'] == 'flat' && !element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\">{{'APP_HRM_PAYROLL_SETTINGS.FIXED_FLAT_AMOUNT'\n | customTranslate : 'Fixed: Flat Amount: ' }}{{ (element['amount'] || 0)}}</span>\n\n <span class=\"spanFontSize\"\n *ngIf=\"element['calculationType'] == 'percentage' && element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\">{{'APP_HRM_PAYROLL_SETTINGS.VARIABLE' |\n customTranslate : 'Variable: ' }}{{element['amount']}}{{ 'APP_HRM_PAYROLL_SETTINGS.PER_OF_BASIC' |\n customTranslate : '% of Basic'}}</span>\n <span class=\"spanFontSize\"\n *ngIf=\"element['calculationType'] == 'percentage' && !element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\">{{'APP_HRM_PAYROLL_SETTINGS.FIXED' |\n customTranslate : 'Fixed: ' }}{{ element['amount']}}{{ 'APP_HRM_PAYROLL_SETTINGS.PER_OF_BASIC' |\n customTranslate : '% of Basic'}}</span>\n\n <span class=\"spanFontSize\"\n *ngIf=\"element['calculationType'] == 'basicAndDA' && element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\">{{'APP_HRM_PAYROLL_SETTINGS.VARIABLE' |\n customTranslate : 'Variable: ' }}{{ element['amount']}}{{\n 'APP_HRM_PAYROLL_SETTINGS.PER_OF_BASIC_AND_DA' | customTranslate : '% of Basic and DA'}}</span>\n <span class=\"spanFontSize\"\n *ngIf=\"element['calculationType'] == 'basicAndDA' && !element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\">{{'APP_HRM_PAYROLL_SETTINGS.FIXED' |\n customTranslate : 'Fixed: ' }}{{ element['amount']}}{{\n 'APP_HRM_PAYROLL_SETTINGS.PER_OF_BASIC_AND_DA' | customTranslate : '% of Basic and DA'}}</span>\n\n <span class=\"spanFontSize\" *ngIf=\"element['calculationType'] == 'fixed' && element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\">{{'APP_HRM_PAYROLL_SETTINGS.VARIABLE' |\n customTranslate : 'Variable: ' }}{{ element['amount']}}{{ 'APP_HRM_PAYROLL_SETTINGS.PER_OF_GROSS'\n | customTranslate : '% of Gross'}}</span>\n <span class=\"spanFontSize\"\n *ngIf=\"element['calculationType'] == 'fixed' && !element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\">{{'APP_HRM_PAYROLL_SETTINGS.FIXED' |\n customTranslate : 'Fixed: ' }}{{ element['amount']}}{{ 'APP_HRM_PAYROLL_SETTINGS.PER_OF_GROSS' |\n customTranslate : '% of Gross'}}</span>\n\n <span class=\"spanFontSize\" *ngIf=\"element['calculationType'] == 'ctc' && !element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\"> {{'APP_HRM_PAYROLL_SETTINGS.FIXED' |\n customTranslate : 'Fixed: ' }} {{ element['amount'] }} {{\n 'APP_HRM_PAYROLL_SETTINGS.PER_OF_FIXED_CTC' | customTranslate : '% of Fixed CTC'}}</span>\n <span class=\"spanFontSize\" *ngIf=\"element['calculationType'] == 'ctc' && element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\">{{'APP_HRM_PAYROLL_SETTINGS.VARIABLE' |\n customTranslate : 'Variable: ' }}{{ element['amount'] }}{{\n 'APP_HRM_PAYROLL_SETTINGS.PER_OF_VARIABLE_CTC' | customTranslate : '% of Variable CTC'}}</span>\n </ng-container>\n\n <ng-template #noCalculation>\n <span class=\"spanFontSize\">-</span>\n </ng-template>\n </div>\n <div *ngIf=\"fromWhere === 'payrollSettingComponent' && column === 'active'\">\n <div class=\"form-check form-switch\">\n <input class=\"custom-checkbox\" type=\"checkbox\" [checked]=\"(element != null && element['active'] === true) ? true : false\"\n (click)=\"element[column]=!element[column]; onToggleChange.emit(fromWhere === 'payrollSettingComponent' ? element : '')\">\n </div>\n </div>\n </td>\n </ng-container>\n <!-- SK16JUL24 to get the sum of column data -->\n <td class=\"ps-2 pe-2 \" mat-footer-cell *matFooterCellDef=\"let element; let j = index\">\n {{ '-' | totalColumSum: data : cumulativeDataColumns : column }}\n </td>\n </ng-container>\n <!-- action button Columns -->\n <!-- SK19MAR25 \"action\" key is changed to \"tableAction\" wherever used, since, it has duplicate error -->\n <ng-container [stickyEnd]=\"true\" *ngIf=\"actionButton || isDeleteRow || isEditRow\"\n matColumnDef=\"tableAction\">\n <th mat-header-cell *matHeaderCellDef\n class=\"head-color action-size sticky-column actionCol text-center\" style=\"border-right: 1px solid var(--border-color, rgba(0, 0, 0, 0.12));\">{{ actionColumHeader |\n customTranslate : 'Action'}}</th>\n <td mat-cell *matCellDef=\"let element; let i=index\" class=\"body-color actionCol\">\n <!-- SKS25DEC24 clone button -->\n <div class=\"d-flex flex-row actionButton\"\n [style.justify-content]=\"conditionSendButton ? 'none' : 'center'\">\n <div *ngIf=\"(!conditionCloneButton) && cloneButton\" class=\"imgBtnDiv\">\n <img style=\"padding: 0px;\" (click)=\"onClone(element , i)\"\n src=\"../assets/images/icons/general/clone.svg\" class=\"imgBtn\" data-bs-toggle=\"modal\">\n </div>\n <div *ngIf=\"(conditionCloneButton) && isConditionMet(element, conditionCloneButton.conditions)\"\n class=\"ms-2 imgBtnDiv\" style=\"margin-top: 6px;\">\n <img style=\"padding: 0px;\" (click)=\"onClone(element , i)\"\n src=\"../assets/images/icons/general/clone.svg\" class=\"imgBtn\" data-bs-toggle=\"modal\">\n </div>\n <!-- SK20FEB26 Expense edit on Pending status -->\n <div *ngIf=\"element?.status === 'Rejected'|| fromWhere === 'leaveMaster' || fromWhere === 'payrollSettingComponent' || fromWhere === 'hrmTaxComponent' || isEditRow || (fromWhere == 'expense' && element?.status === 'Pending' )\">\n <app-fusion-button *ngIf=\"fromWhere == 'leave'\" [buttonType]=\"'text-only'\"\n [buttonValue]=\"'APP.COMMENTS' | customTranslate : 'comments' \"\n (buttonClickEmit)=\"onEdit(element?.rejectionReason, i, element?.status)\" data-bs-toggle=\"modal\"\n data-bs-target=\"#rejectInfoModal\">\n </app-fusion-button>\n <div class=\"imgBtnDiv\"\n *ngIf=\"((!conditionEditButton)&& ((fromWhere == 'expense' ) || fromWhere === 'leaveMaster' || fromWhere === 'payrollSettingComponent' || fromWhere === 'hrmTaxComponent' || isEditRow)) || (conditionEditButton && isConditionMet(element, conditionEditButton.conditions))\">\n <!-- MY 23OCT26 Disable edit action when expense is already Approved -->\n <i *ngIf=\"(!conditionEditButton)&& ((fromWhere == 'expense' ) || fromWhere === 'leaveMaster' || fromWhere === 'payrollSettingComponent' || fromWhere === 'hrmTaxComponent' || isEditRow)\"\n (click)=\"(fromWhere === 'expense' && element?.status?.toLowerCase() === 'approved') ? null : onEdit(fromWhere === 'payrollSettingComponent' || isEditRow ? element : element?._id, i, element?.status)\"\n [matTooltip]=\"(fromWhere === 'expense' && element?.status?.toLowerCase() === 'approved') ? ('APP_EXPENSE.CANNOT_EDIT_APPROVED' | customTranslate : 'Approved expenses cannot be edited') : ('APP.EDIT' | customTranslate : 'Edit')\"\n [style.opacity]=\"(fromWhere === 'expense' && element?.status?.toLowerCase() === 'approved') ? '0.35' : '1'\"\n [style.cursor]=\"(fromWhere === 'expense' && element?.status?.toLowerCase() === 'approved') ? 'not-allowed' : 'pointer'\"\n class=\"fusion-icon nav-icon fusion-icon-edit_pencil\" style=\"margin: 0px !important; font-size: var(--fs-normal, 16px) !important; color: var(--fc-sub-lite, #787486);\">\n </i>\n <i *ngIf=\"conditionEditButton && isConditionMet(element, conditionEditButton.conditions)\"\n [matTooltip]=\"(fromWhere === 'expense' && element?.status?.toLowerCase() === 'approved') ? ('APP_EXPENSE.CANNOT_EDIT_APPROVED' | customTranslate : 'Approved expenses cannot be edited') : ('APP.EDIT' | customTranslate : 'Edit')\"\n [style.opacity]=\"(fromWhere === 'expense' && element?.status?.toLowerCase() === 'approved') ? '0.35' : '1'\"\n [style.cursor]=\"(fromWhere === 'expense' && element?.status?.toLowerCase() === 'approved') ? 'not-allowed' : 'pointer'\"\n (click)=\"(fromWhere === 'expense' && element?.status?.toLowerCase() === 'approved') ? null : onEdit(fromWhere === 'payrollSettingComponent' || isEditRow ? element : element?._id, i)\"\n class=\"fusion-icon nav-icon fusion-icon-edit_pencil\" style=\"margin: 0px !important; font-size: var(--fs-normal, 16px) !important; color: var(--fc-sub-lite, #787486);\">\n </i>\n </div>\n <!-- <img *ngIf=\"fromWhere == 'expense'\" (click)=\"delete(element?._id)\" src=\"../assets/images/icons/Vectordelete.svg\"> -->\n </div>\n <div *ngIf=\"element?.leaveStatus === 'New' || element?.status === 'New' || element?.status === 'Pending' || element?.leaveStatus === 'Pending' || fromWhere === 'leaveMaster' || fromWhere === 'payrollSettingComponent' || fromWhere === 'hrmTaxComponent' || fromWhere == 'expenseApproval' || isDeleteRow\">\n <app-fusion-button *ngIf=\"fromWhere == 'leave'\" [buttonType]=\"'text-only'\"\n [buttonValue]=\"'APP.CANCEL' | customTranslate : 'Cancel'\" (buttonClickEmit)=\"delete(element, i)\"\n data-bs-toggle=\"modal\" data-bs-target=\"#cancelLeave\"></app-fusion-button>\n <!-- SKS21NOV24 Conditional rendering of delete icon based on various conditions -->\n <!-- Show the delete icon if 'conditionDeleteButton' is false and 'fromWhere' matches specific components or 'isDeleteRow' is true -->\n <div class=\"imgBtnDiv\"\n *ngIf=\"((!conditionDeleteButton)&&(fromWhere == 'expense' || fromWhere === 'leaveMaster' || fromWhere === 'payrollSettingComponent' || fromWhere === 'hrmTaxComponent' || isDeleteRow) )|| (conditionDeleteButton && isConditionMet(element, conditionDeleteButton.conditions))\">\n <img\n *ngIf=\"(!conditionDeleteButton)&&(fromWhere == 'expense' || fromWhere === 'leaveMaster' || fromWhere === 'payrollSettingComponent' || fromWhere === 'hrmTaxComponent' || isDeleteRow)\"\n class=\"imgBtn\" [matTooltip]=\"'APP.DELETE_RECORD' | customTranslate : 'Delete Record'\"\n (click)=\"deleteRecord(fromWhere === 'payrollSettingComponent' || isDeleteRow ? element : element?._id, i)\"\n src=\"../assets/images/icons/Vectordelete.svg\">\n <img *ngIf=\"conditionDeleteButton && isConditionMet(element, conditionDeleteButton.conditions)\"\n [matTooltip]=\"'APP.DELETE_RECORD' | customTranslate : 'Delete Record'\"\n (click)=\"deleteRecord(isDeleteRow ? element : element?._id, i)\" class=\"imgBtn\"\n src=\"../assets/images/icons/Vectordelete.svg\">\n </div>\n <div *ngIf=\"fromWhere == 'approval' || fromWhere == 'expenseApproval'\" class=\"flex imgBtnDiv\">\n <img\n *ngIf=\"(fromWhere === 'expenseApproval' && element?.status === 'Approved'&& element?.reImbursed !== 'Reimbursed') || fromWhere == 'approval'\"\n class=\"approval-image me-2\" style=\"padding: 0px; width: 24px !important;\"\n (click)=\"onApprove( element?.employeeId, element?._id, element?.reImbursed )\"\n src=\"../assets/images/icons/general/Approved.svg\">\n <img *ngIf=\"fromWhere !== 'expenseApproval'\" class=\"approval-image\"\n style=\"padding: 0px; width: 24px !important;\"\n (click)=\"onReject( element?.employeeId, element?._id )\"\n src=\"../assets/images/icons/general/Declined.svg\" class=\"\" data-bs-toggle=\"modal\"\n data-bs-target=\"#approvalReject\">\n </div>\n </div>\n <!-- SK02APR24 added preview and download icons -->\n <div *ngIf=\"viewIcon\" class=\"ms-2 imgBtnDiv\">\n <!-- <img [src]=\"('post.svg' | svgIcon:'#000000') | async\" class=\"card-icon color\" title=\"preview\" (click)=\"viewIconClick(element)\" style=\"cursor: pointer;\" /> -->\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-eye nav-icon\" matTooltip=\"Preview\"\n matTooltipPosition=\"above\" style=\"color: var(--fc-text-color-light) !important; cursor: pointer;\"\n (click)=\"viewIconClick(element)\"></i>\n\n </div>\n <div *ngIf=\"downloadIcon\" class=\"ms-2 imgBtnDiv\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-document-download card-icon color imgBtn\"\n matTooltip=\"Download\" matTooltipPosition=\"above\"\n style=\"cursor: pointer; color: var(--fc-text-color-light) !important;\"\n (click)=\"downloadIconClick(element)\">\n </i>\n </div>\n <!-- SKS25DEC24 send button -->\n <div *ngIf=\"(!conditionSendButton) && sendButton\" class=\"ms-2 imgBtnDiv\" style=\"margin-top: 6px;\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-send-2 card-icon color imgBtn\"\n style=\"cursor: pointer\" (click)=\"onSend(element, i)\"\n [matTooltip]=\"'APP.SEND' | customTranslate : 'Send'\"></i>\n </div>\n <div\n *ngIf=\"(conditionSendButton) && isConditionMet(element, conditionSendButton.conditions) && sendButton\"\n class=\"ms-2 imgBtnDiv\" style=\"margin-top: 6px;\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-send-2 card-icon color imgBtn\"\n style=\"cursor: pointer\" (click)=\"onSend(element, i)\"\n [matTooltip]=\"'APP.SEND' | customTranslate : 'Send'\"></i>\n </div>\n <!-- SKS25DEC24 active button -->\n <div *ngIf=\"(!conditionActivateButton) && activeButton\" class=\"ms-2 imgBtnDiv\"\n style=\"margin-top: 10px;\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-group nav-icon\" style=\"color: var(--comp-bg-color, #ffffff);\"></i>\n </div>\n <div\n *ngIf=\"(conditionActivateButton) && isConditionMet(element, conditionActivateButton.conditions) && activeButton\"\n class=\"ms-2 imgBtnDiv\" style=\"margin-top: 10px;\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-group nav-icon\" style=\"color: var(--comp-bg-color, #ffffff);\"></i>\n </div>\n <!-- SKS25DEC24 deactive button -->\n <div *ngIf=\"(!conditionDeactivateButton) && deactiveButton\" class=\"ms-2 imgBtnDiv\"\n style=\"margin-top: 10px;\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-group nav-icon\" style=\"color: var(--comp-bg-color, #ffffff);\"></i>\n </div>\n <div\n *ngIf=\"(conditionDeactivateButton) && isConditionMet(element, conditionDeactivateButton.conditions) && deactiveButton\"\n class=\"ms-2 imgBtnDiv\" style=\"margin-top: 10px;\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-group nav-icon\" style=\"color: var(--comp-bg-color, #ffffff);\"></i>\n </div>\n </div>\n <div>\n\n <app-fusion-button *ngIf=\"fromWhere == 'document-icons'\" [buttonType]=\"'custom-btn'\"\n [fcBtnIconLeftSrc]=\"'../assets/images/icons/general/downloadfile.svg'\"\n (buttonClickEmit)=\"downloadPdf(element)\"></app-fusion-button>\n <app-fusion-button *ngIf=\"fromWhere == 'document-icons'\" [buttonType]=\"'custom-btn'\"\n [fcBtnIconLeftSrc]=\"'../assets/images/icons/general/pencil-icon.svg'\"\n (buttonClickEmit)=\"delete(element, i)\" data-bs-toggle=\"modal\"\n data-bs-target=\"#documentsInfoModal\"></app-fusion-button>\n <app-fusion-button *ngIf=\"fromWhere == 'document-icons'\" [buttonType]=\"'custom-btn'\"\n [fcBtnIconLeftSrc]=\"'../assets/images/icons/Vectordelete.svg'\"\n (buttonClickEmit)=\"delete(element, i)\" data-bs-toggle=\"modal\"\n data-bs-target=\"#deleteDocModal\"></app-fusion-button>\n </div>\n </td>\n <td mat-footer-cell *matFooterCellDef=\"let element; let i=index\">{{ \"\" }}\n </td>\n </ng-container>\n\n <!-- total Row -->\n <ng-container [sticky]=\"true\" matColumnDef=\"total\">\n <th mat-header-cell *matHeaderCellDef class=\"sticky-column head-color\">\n </th>\n <td mat-cell *matCellDef=\"let row\" class=\"body-color\">\n </td>\n <!-- RS27AUG24 -->\n <!-- Used the translate pipe to successfully implement the translation -->\n <td mat-footer-cell *matFooterCellDef >{{'APP.TOTAL' | customTranslate : 'Total' }}\n </td>\n </ng-container>\n\n <!-- Render the columns -->\n <!-- SK16JUL24 adding the cumulative data row as footer -->\n <!-- <ng-container *ngIf=\"dataSource?.data?.length !== 0\"> -->\n <div [ngSwitch]=\"renderColumns\">\n <div *ngSwitchCase=\"'select'\">\n <tr mat-header-row *matHeaderRowDef=\"['select'].concat(displayedColumns) sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: ['select'].concat(displayedColumns);\"></tr>\n <!-- SK19JUL24 table total update -->\n <tr\n [class]=\"cumulativeDataColumns != undefined && cumulativeDataColumns.length !== 0 ? '' : 'border border-white' \"\n mat-footer-row\n *matFooterRowDef=\"cumulativeDataColumns != undefined && cumulativeDataColumns.length !== 0 ? ['total'].concat(displayedColumns) : null \">\n </tr>\n </div>\n <div *ngSwitchCase=\"'tableAction'\">\n <tr mat-header-row\n *matHeaderRowDef=\" displayedColumns ? displayedColumns.concat(['tableAction']) : [] ;sticky: true\">\n </tr>\n <tr mat-row\n *matRowDef=\"let row; columns: displayedColumns ? displayedColumns.concat(['tableAction']) : []; \">\n </tr>\n <ng-container *ngIf=\"cumulativeDataColumns\">\n <tr\n [class]=\"cumulativeDataColumns != undefined && cumulativeDataColumns.length !== 0 ? '' : 'border border-white' \"\n mat-footer-row\n *matFooterRowDef=\"cumulativeDataColumns != undefined && cumulativeDataColumns.length !== 0 ? ['total'].concat(displayedColumns).concat('tableAction') : null\">\n </tr>\n </ng-container>\n </div>\n <!-- 30JAN24 for both checkbox and action columns-->\n <div *ngSwitchCase=\"'both'\">\n <tr mat-header-row\n *matHeaderRowDef=\"['select'].concat(displayedColumns).concat('tableAction') sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: ['select'].concat(displayedColumns).concat('tableAction')\"\n (click)=\"tableClick(row)\"></tr>\n <ng-container *ngIf=\"cumulativeDataColumns\">\n <tr\n [class]=\"cumulativeDataColumns != undefined && cumulativeDataColumns.length !== 0 ? '' : 'border border-white' \"\n mat-footer-row\n *matFooterRowDef=\"cumulativeDataColumns != undefined && cumulativeDataColumns.length !== 0 ? ['total'].concat(displayedColumns).concat('tableAction') : null\">\n </tr>\n </ng-container>\n </div>\n <div *ngSwitchDefault>\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row;let i =index; columns: displayedColumns;\"></tr>\n <ng-container *ngIf=\"cumulativeDataColumns\">\n <tr\n [class]=\"cumulativeDataColumns != undefined && cumulativeDataColumns.length !== 0 ? 'd-block' : 'border border-white' \"\n mat-footer-row\n *matFooterRowDef=\"cumulativeDataColumns != undefined && cumulativeDataColumns.length !== 0 ? ['total'].concat(displayedColumns) : null\">\n </tr>\n </ng-container>\n </div>\n </div>\n <!-- </ng-container> -->\n <!-- <tr class=\"mat-row \" *matNoDataRow> -->\n <!-- SK9JAN24 Removed attr.colspan since it throws undefined error -->\n <!-- <td class=\"mat-cell \">\n {{'APP.NO_RECORDS' | customTranslate : 'No records/data found.' }}\n </td>\n </tr> -->\n\n </table>\n <div class=\"no-data-cell text-center my-3 \" *ngIf=\"!dataSource || !dataSource.data || dataSource.data.length === 0\">\n {{ 'APP.NO_RECORDS' | customTranslate : 'No records/data found.' }}\n </div>\n </ng-container>\n <!-- MSM28JAN25 skeleton loader template -->\n <ng-template #loadingTemplate>\n <table>\n <tr style=\"height: 40px;\" *ngFor=\"let _ of [1, 2, 3, 4,5,6]\">\n <td colspan=\"3\" class=\"skeleton-card\">\n <div class=\"title\" data-title>\n <div class=\"skeleton skeleton-text\"></div>\n <div class=\"skeleton skeleton-text\"></div>\n </div>\n </td>\n </tr>\n </table>\n </ng-template>\n </div>\n <!-- SK23FEB24 table input save button changes -->\n <div class=\"d-flex justify-content-end\">\n <div class=\"flex mt-4 me-2 cursor-pointer\" *ngIf=\"addInlineRecord \" (click)=\"addTableRecord(inlineElement)\"\n [matTooltip]=\"'APP.ADD_NEW_RECORD' | customTranslate : 'Add New Record'\">\n <div class=\"ms-1 me-1\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-add-square nav-icon\"\n style=\"color: var(--fc-text-color-dark, #000000) !important;\"></i>\n </div>\n </div>\n <!-- SK27FEB24 removed button disable logic, SK13MAR24 added another condition for button showing-->\n <!-- SR06JAN2025 button disable logic for not select any employee-->\n <div class=\"d-flex justify-content-between align-items-end\">\n <div class=\"px-2\">\n {{notes}}</div>\n\n <app-fusion-button [buttonLoadingSpinner]=\"tableSaveLoadingSpinner\"\n *ngIf=\"editColumn.length > 0 || tableSaveButton\" buttonType=\"btn btn-primary mt-4 me-2\"\n [buttonDisable]=\"selection?.selected?.length === 0\" (buttonClickEmit)=\"saveButton()\"\n buttonValue=\"{{ 'APP.SAVE' | customTranslate : 'Save' }}\"></app-fusion-button>\n </div>\n </div>\n <!-- SKS24JAN25 custom paginator -->\n <app-pagination #paginator [pageSizeOptions]=\"itemsPerPage\" [collectionSize]=\"totalCount\" [pageSize]=\"pageSize\"\n [currentPage]=\"pageIndex\" [firstLastButtons]=\"true\" (event)=\"pageParams($event)\" >\n </app-pagination>\n </div>\n </div>\n</div>\n\n<!-- SK03OCT24 while clicking export button, side screen will be displayed, with fields selection and filter boxes -->\n<app-common-screen *ngIf=\"exportSidescreen\" headerTitle=\"{{'APP.EXPORT_DATA' | customTranslate : 'Export Data'}}\"\n (sideScreenEmittedEvent)=\"exportSidescreen = false\">\n <div class=\"side-main-content\">\n <!-- MY 15OCT26 export file button loader -->\n <div\n class=\"d-flex align-items-center flex-row p-3 justify-content-center cursor-pointer short-button-white-bg button-hov\"\n [class.disabled]=\"exportButtonLoadingSpinner\"\n (click)=\"!exportButtonLoadingSpinner ? exportButtonSideNav() : null\">\n <div *ngIf=\"exportButtonLoadingSpinner\" class=\"spinner-grow spinner-grow-sm me-2\" role=\"status\" aria-hidden=\"true\"></div>\n <i *ngIf=\"!exportButtonLoadingSpinner\" class=\"fusion-icon fusion-icon-size-lg fusion-icon-document-upload card-icon color me-1\"></i>\n <div>{{ exportButtonLoadingSpinner ? (('APP_SETTINGS_APPS.LOADING' | customTranslate : 'Loading') + '...') : ('APP.EXPORT_FILE' | customTranslate : 'Export File') }}</div>\n </div>\n <!-- SK03OCT24 displaying components from parent (multipleCheckBox/multipleFilter) -->\n <div *ngFor=\"let type of filterScreenConfigs\">\n <!-- MY 15OCT26 pass button loader state to multi-checkbox and multiple-filter -->\n <app-multi-checkbox *ngIf=\"type.type === 'multipleCheckBox' \" class=\"ms-2 me-2\"\n [label]=\"type?.labelPath || type?.label | customTranslate : type?.label\" [cardSize]=\"type?.cardSize\"\n [cardInlineSize]=\"type?.cardInlineSize\" [checkboxList]=\"type?.checkboxList\"\n [activeCheckboxList]=\"type?.activeCheckboxList\" [buttonList]=\"type?.buttons\"\n [displayValues]=\"type?.displayValues\" [componentData]=\"type\" [checkBoxStyles]=\"type?.checkBoxStyles\"\n [isButtonLoadingSpinner]=\"type?.isButtonLoadingSpinner || false\"\n (compDataEmit)=\"exportFieldsButtonEmit($event)\">\n </app-multi-checkbox>\n <app-multiple-filter *ngIf=\"type.type === 'multipleFilter' \" class=\"ms-2 me-2\"\n [isDateFilter]=\"type?.isDateFilter || false\"\n [label]=\"type?.labelPath || type?.label | customTranslate : type?.label\" [cardSize]=\"type?.cardSize\"\n [cardInlineSize]=\"type?.cardInlineSize\" [buttonList]=\"type?.buttons\" [displayValues]=\"type?.displayValues\"\n [componentData]=\"type\" [checkBoxStyles]=\"type?.checkBoxStyles\" [selectionData]=\"type?.selectionData\"\n [isButtonLoadingSpinner]=\"type?.isButtonLoadingSpinner || false\"\n (compDataEmit)=\"exportFilterButtonEmit($event)\" (selectedValuesEmit)=\"selectedValuesEmit($event)\"\n (filterDateEmit)=\"filterDateEmit($event)\">\n </app-multiple-filter>\n </div>\n </div>\n</app-common-screen>\n<!-- SKS15DEC25 bulk upload -->\n<app-file-upload [id]=\"'uploadEmployee'\" [headerName]=\"moudleName\" [showFileModal]=\"uploadModal\"\n (closeEmit)=\"uploadModal = false\"\n [bodyHeaderName]=\"('APP.STEPS_TO_UPLOAD' | customTranslate : 'Steps to upload')+moudleName\" [isTemplate]=true\n [templateContent]=\"('APP.DOWNLOAD_THE' | customTranslate : 'Download the')+ moudleName +('APP.TEMPLATE' | customTranslate : 'template')\"\n (templateDownload)=\"downloadTemplate()\"\n [bodyContent]=\"[(('APP.FILL_THE_APPROP' | customTranslate : 'Fill the appropriate')+moudleName+('APP.DETAILS_AND_UPLOAD_ITS_BELOW' | customTranslate : 'Details and upload it below'))]\"\n [fileRestrictions]=\"{\n allowedTypes: ['.csv', '.xlsx', '.xls'],\n maxFileSize: 10,\n maxFiles: 1\n }\" [uploadedFiles]=\"[]\" [saveButtonName]=\"'APP.UPLOAD' | customTranslate : 'Upload'\"\n (upload)=\"uploadRecordsFile($event)\">\n</app-file-upload>\n<!-- SK06NOV24 alert on deleting record -->\n<div *ngIf=\"deleteModal\" class=\"modal modal-backdrop show d-block\" id=\"deleteRecord\" tabindex=\"-1\"\n aria-labelledby=\"deleteRecordLabel\" [attr.aria-hidden]=\"!deleteModal\">\n <div class=\"modal-dialog\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <b class=\"modal-title fs-5\" id=\"deleteRecordLabel\">{{'APP.DELETE_RECORD' | customTranslate : 'Delete Record'}}</b>\n <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"\n (click)=\"deleteModal = false\"></button>\n </div>\n <div class=\"modal-body\">\n {{'APP.ARE_YOU_SURE_YOU_WANT_TO_DELETE_THE_REC' | customTranslate : 'Are you sure want to delete the record'}} ?\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\" class=\"btn btn-primary\" data-bs-dismiss=\"modal\" aria-label=\"Close\"\n (click)=\"!buttonLoadingSpinner ? deleteRecordData() : null\">\n <!-- SK04SEP25 button loader -->\n <span class=\"{{ buttonLoadingSpinner ? 'spinner-grow' : '' }} spinner-grow-sm\" role=\"buttonValue\"\n aria-hidden=\"true\"></span>\n <span>{{ buttonLoadingSpinner ? ('APP_SETTINGS_APPS.LOADING' | customTranslate : 'Loading') + '...' :\n ('APP.YES' | customTranslate : 'Yes') }}\n </span>\n </button>\n <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\" (click)=\"deleteModal = false\">{{'APP.NO'\n | customTranslate : 'No'}}</button>\n </div>\n </div>\n </div>\n</div>\n\n<app-common-screen *ngIf=\"infoSidescreen\" [headerTitle]=\"'APP.APPROVAL_DETAILS' | customTranslate : 'Approval Details'\"\n (sideScreenEmittedEvent)=\"infoSidescreen = false\">\n <div class=\"side-main-content container\">\n <div class=\"row\">\n <div class=\"col-md-12\">\n <!-- Approval Info -->\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.NAME' | customTranslate : 'Name'}}:</div>\n <div class=\"col-6 text-start\">{{ infoData.name || ''}}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.STATUS' | customTranslate : 'Status'}}:</div>\n <div class=\"col-6 text-start\">\n <span\n *ngIf=\"infoData.status === 'Approved' || infoData.status === 'Pending' || infoData.status === 'Rejected' \"\n class=\"badge custom-badge\" [ngClass]=\"{\n 'bg-success': infoData.status === 'Approved', \n 'bg-warning': infoData.status === 'Pending',\n 'bg-danger': infoData.status === 'Rejected'}\">\n {{ infoData.status }}</span>\n <span\n *ngIf=\"infoData.status !== 'Approved' && infoData.status !== 'Pending' && infoData.status !== 'Rejected' \">{{\n infoData.status || '' }}</span>\n </div>\n </div>\n <div class=\"row mb-3\">\n <!-- SK21DEC24 to add Approval status in side screen-->\n <div class=\"col-6 text-start\">{{'APP.APPROVAL_STATUS' | customTranslate : 'Approval Status'}}:</div>\n <div class=\"col-6 text-start\">\n <span\n *ngIf=\"infoData.leaveStatus === 'Approved' || infoData.leaveStatus === 'Pending' || infoData.leaveStatus === 'Rejected'\"\n class=\"badge custom-badge\" [ngClass]=\"{\n 'bg-success': infoData.leaveStatus === 'Approved', \n 'bg-warning': infoData.leaveStatus === 'Pending',\n 'bg-danger': infoData.leaveStatus === 'Rejected'}\">\n {{ infoData.leaveStatus || '' }}</span>\n <span\n *ngIf=\"infoData.leaveStatus !== 'Approved' && infoData.leaveStatus !== 'Pending' && infoData.leaveStatus !== 'Rejected'\">{{\n infoData.leaveStatus || '' }}</span>\n </div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.REASON' | customTranslate : 'Reason'}}:</div>\n <div class=\"col-6 text-start\">{{ infoData.reason || '' }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.TYPE' | customTranslate : 'Type'}}:</div>\n <div class=\"col-6 text-start\">{{ infoData.type || ''}}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.APPLIED_ON' | customTranslate : 'Applied On'}}:</div>\n <div class=\"col-6 text-start\">{{ (infoData.appliedOn | date:'short') || '' }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.APPROVED_COUNT' | customTranslate : 'Approved Count'}}:</div>\n <div class=\"col-6 text-start\">{{ infoData.approvedCount || '' }}</div>\n </div>\n </div>\n </div>\n <!-- Approval Managers -->\n <!-- SK03DEC24 show approval managers list only if applicable -->\n <h3 *ngIf=\"infoData.approvalManagers != undefined && infoData.approvalManagers.length > 0\" class=\"text-center mb-3\">\n {{'APP.APPROVAL_MANAGERS' | customTranslate : 'Approval Managers'}}</h3>\n <ul *ngIf=\"infoData.approvalManagers != undefined && infoData.approvalManagers.length > 0\" class=\"list-group\">\n <li *ngFor=\"let manager of infoData.approvalManagers\" class=\"list-group-item\">\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.EMPLOYEE_ID' | customTranslate : 'Employee ID'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.employeeId || ''}}</div>\n </div>\n <div class=\"row mb-3\">\n <!-- SK10DEC24 to show manager name -->\n <div class=\"col-6 text-start\">{{'APP.EMPLOYEE_NAME' | customTranslate : 'Employee Name'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.name || '' }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.APPROVAL_ORDER' | customTranslate : 'Approval Order'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.approvalOrder || '' }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.STATUS' | customTranslate : 'Status'}}:</div>\n <div class=\"col-6 text-start\">\n <span *ngIf=\"manager.status === 'Approved' || manager.status === 'Pending' || manager.status === 'Rejected'\"\n class=\"badge custom-badge\" [ngClass]=\"{\n 'bg-success': manager.status === 'Approved', \n 'bg-warning': manager.status === 'Pending',\n 'bg-danger': manager.status === 'Rejected'}\">\n {{ manager.status || '' }}\n </span>\n <span\n *ngIf=\"manager.status !== 'Approved' && manager.status !== 'Pending' && manager.status !== 'Rejected'\"> {{\n manager.status || '' }}</span>\n </div>\n </div>\n <div class=\"row mb-3\" *ngIf=\"manager.viewedOn\">\n <div class=\"col-6 text-start\">{{'APP.VIEWED_ON' | customTranslate : 'Viewed On'}}:</div>\n <div class=\"col-6 text-start\">{{ (manager.viewedOn | date:'short') || '' }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.IS_OPTIONAL' | customTranslate : 'Is Optional'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.isOptional ? \"Yes\" : \"No\" }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.COMMENTS' | customTranslate : 'Comments'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.rejectionReason || '' }}</div>\n </div>\n </li>\n </ul>\n </div>\n</app-common-screen>\n\n",
7318
- styles: [".table-wrapper{overflow-x:auto;max-width:100%}.table-container{border-top:1px solid var(--fb-border-default, #e2e8f0);min-height:100px;overflow:auto;width:100%;max-height:62vh}.table-layout{background:var(--fb-surface, #ffffff);border-radius:8px}.th{border-bottom:1px solid var(--fb-border-default, #e2e8f0);font-weight:var(--fw-600);font-size:var(--fs-medium);line-height:21px;color:var(--fb-text-primary, #0f172a)}.head-color{background-color:var(--fb-action-surface, #e0f2fe)!important;color:var(--fb-text-primary, #0f172a)!important}.body-color{color:var(--fb-text-primary, #0f172a);cursor:default}.search{display:flex;align-items:center;border:1px solid var(--border-color, #b1b1b1);background:var(--comp-bg-color, #ffffff);border-radius:var(--radius-medium, 7px);padding:4px 8px}.search-bar{display:flex;align-items:center;width:100%;gap:6px;margin:0}.search-bar input{background:transparent!important;border:none!important;outline:none!important;box-shadow:none!important;width:100%;font-size:13px;color:var(--fc-text-color, #1e293b);padding:2px 4px}th.mat-header-cell:last-of-type{padding:0;font-weight:var(--fw-600);font-size:var(--fs-medium);color:var(--fb-text-primary, #0f172a)}td.mat-cell:last-of-type{padding:8px;font-weight:var(--fw-400);font-size:var(--fs-medium);color:var(--fb-text-primary, #0f172a)}.table-title{font-weight:var(--fw-600);color:var(--fb-text-primary, #0f172a)}.sticky-column{background:var(--fb-surface, #ffffff)}.mat-sort-header-container{margin-left:5px}.body-color img{cursor:pointer}.head-color.action-size{color:var(--fb-text-primary, #0f172a);font-size:var(--fs-primary);font-weight:var(--fw-600)}.lop-input{border-radius:5px;color:var(--fb-text-primary, #0f172a);background-color:var(--fb-surface, #ffffff);font-weight:var(--fw-400);font-size:var(--fs-medium);transition:all .2s}::ng-deep [dir=rtl] .body-color img{margin-left:4px!important}@media screen and (min-width:600px){mat-table{font-weight:var(--fw-400);font-size:var(--fs-medium);color:var(--fb-text-primary, #0f172a)}}@media screen and (max-width:882px){mat-table{font-weight:var(--fw-400);font-size:var(--fs-medium);color:var(--fb-text-primary, #0f172a)}.mat-cell{padding:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-header-cell{padding:0}}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-right:24px}::ng-deep [dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type){padding-right:10px!important;padding-left:unset!important}.mat-sort-header-container.mat-focus-indicator.ng-tns-c139-34{margin-left:5px}.expense-file{font-size:var(--fs-small)}.expense-file:hover{font-style:italic;text-decoration:underline;color:var(--fb-action-hover, #00284d)}.expenseCon{background-color:var(--fb-surface-elevated, #ffffff);border:1px solid var(--fb-border-default, #e2e8f0);padding:5px;border-radius:3px}.hyper-link{text-decoration:none}.hyper-link:hover{color:var(--fb-action, #003566);text-decoration:underline}.clickable{cursor:pointer}.font-size-13{font-size:var(--fs-normal)}.weekoff-color{color:var(--fb-error, #ef4444)}.table-width{width:max-content}.on-edit:hover .edit-icon{visibility:visible}.edit-icon{visibility:hidden}.input-box{border:solid}.button-hov:hover{background:var(--fb-action, #003566);color:var(--fb-text-on-action, #ffffff)}.delete-icon{justify-content:center}.side-main-content{border-radius:10px}h2{font-size:28px}.list-group-item{margin-bottom:10px;padding:15px}.list-group-item p{margin-bottom:5px}.custom-badge{display:inline-block;width:50%;text-align:center;padding:.3em 0;margin-top:0!important}.bg-success{--bs-bg-opacity: 1;background-color:var(--fb-success-surface, #e6f4ea)!important;color:var(--fb-success-text, #137333)!important}.custom-search-button{background-color:var(--fb-action, #003566);color:var(--fb-text-on-action, #ffffff);border-radius:5px;font-size:var(--fs-normal);border:none}.custom-search-button:hover{background-color:var(--fb-action-hover, #00284d)}.custom-search-button:active{transform:translateY(0)}.table{border-top:1px solid var(--fb-border-default, #e2e8f0)}th,td{vertical-align:middle}.configSearch{height:22px;padding:3px;margin:10p;background-color:var(--fb-action, #003566);border-radius:4px}::ng-deep .table>:not(caption)>*>*{background-color:none!important;--bs-table-bg: var(--fb-surface, #ffffff) !important}.imgBtn{background-color:var(--fb-surface-secondary, #f8fafc);border-radius:var(--radius-small, 6px)}.imgBtnDiv{line-height:0px;padding:4px;border-radius:5px;border:1px solid var(--fb-border-default, #e2e8f0)}input::placeholder{font-size:var(--fs-small);font-weight:var(--fw-400);color:var(--fb-placeholder-text, #94a3b8)}::ng-deep .modal-backdrop{background-color:var(--fb-backdrop, #00000073)!important}::ng-deep .modal-backdrop.show{background-color:var(--fb-backdrop, #00000073)!important;opacity:1!important}::ng-deep .mat-sort-header-container .mat-sort-header-content span{color:var(--fb-text-primary, #0f172a)!important;font-weight:var(--fw-600)!important;font-size:var(--fs-primary)!important}::ng-deep .mat-mdc-cell{color:var(--fb-text-primary, #0f172a)!important;font-weight:var(--fw-400)!important;font-size:var(--fs-primary)!important;min-width:20px!important}.active-column{color:var(--fb-text-primary, #0f172a)!important;font-weight:var(--fw-600)!important;font-size:var(--fs-primary)!important}.hover-content{background:var(--fb-surface-elevated, #ffffff)}.position-relative{position:relative;display:inline-block}.filter-popup{position:absolute;top:100%;left:0;z-index:9998;background-color:var(--fb-surface-elevated, #ffffff);border:1px solid var(--fb-border-default, #e2e8f0);box-shadow:0 4px 12px var(--fb-backdrop, rgba(0, 0, 0, .08));padding:10px;min-width:200px}.spanFontSize{font-size:var(--fs-normal)}.mat-column-employees{width:200px;min-width:200px;padding-left:8px;height:57px;left:0!important}.text-start{font-size:var(--fs-normal)}.first-header-border{border-left:1px solid var(--fb-border-default, #e2e8f0)}tr{height:45px!important;text-wrap:nowrap!important}.field-input{width:min(220px,98%);min-height:50px}.svg-spinner{animation:rotate 1s linear infinite}.svg-spinner .path{stroke:var(--fb-action, #003566);stroke-linecap:round;stroke-dasharray:80 150;stroke-width:4}@keyframes rotate{to{transform:rotate(360deg)}}img{max-width:none!important;vertical-align:middle}::ng-deep .mat-mdc-row:hover{background-color:var(--fb-row-hover, #f8fafc)!important}::ng-deep .mat-mdc-row:nth-child(2n){background-color:var(--fb-row-alternate, #fcfdfe)}\n"]
7318
+ template: "<div class=\"table-layout\" [id]=\"tableId\" style=\"padding-top: 1px;\">\n <div>\n <!-- SK30JAN25 title added -->\n <div class=\"d-flex justify-content-center table-title align-text-center\">\n {{title}}\n </div>\n \n <div class=\"flex justify-content-between\" style=\"padding-bottom: 5px;\">\n <div class=\"d-flex align-items-center\">\n <!-- MR 09NOV26 table-toolbar-left projection slot -->\n <ng-content select=\"[table-toolbar-left]\"></ng-content>\n\n\n <div *ngIf=\"dateDropdown \">\n <app-drop-down class=\"field-input\" [lists]='dropdownLists' dropDownHeight=\"38px\" dropDownWidth=\"200px\"\n (dataEmit)=\"dropdownEmitFunction($event)\" [selectedData]=\"dropdownSelectedData\"></app-drop-down>\n </div>\n <!-- SC11NOV2025 if isDatePicker is true then show the date picker -->\n <div *ngIf=\"isDatePicker\">\n <app-drop-down [lists]='list' [selectedData]=\"selectedData\" dropDownHeight=\"42px\" dropFontWeight=\"500\"\n dropFontSize=\"12px\" dropFontColor=\"#434555\" dropBorderRadius=\"5px\" dropDownWidth=\"200px\"\n (dataEmit)=\"dateFilter($event)\"></app-drop-down>\n </div>\n </div>\n <!-- SKS24JAN25 show Nos in table -->\n <!-- <div style=\"display: flex; align-items: center;\">\n <p *ngIf=\"totalRecords || totalCount\" style=\"font-weight: var(--fw-500); margin-right: 5px; margin-bottom: 0px;\">{{'APP.NOS' | customTranslate : 'Nos'}} </p> <span style=\"color: var(--fc-primary-color, rgb(43, 87, 249));\">{{totalRecords || totalCount}}</span>\n </div> -->\n <!-- SKS24JAN25 search bar config and nonconfig -->\n <div style=\"margin-left:auto;\">\n <div class=\"flex\" style=\"align-items: center;\">\n <!-- MR 09NOV26 table-toolbar-right projection slot -->\n <ng-content select=\"[table-toolbar-right]\"></ng-content>\n\n\n <div class=\"search\">\n <div class=\"search-bar\">\n <img class=\"card-btn\" src=\"../assets/images/icons/general/Search.svg\">\n <input type=\"text\" placeholder=\"{{ 'APP.SEARCH' | customTranslate : 'Search' }}\" matInput\n (keyup)=\"searchConfigs ? emptySearch($event) : applyFilter($event)\"\n [value]=\" (searchConfigs || searchTextValue) ? searchBoxValue || '' : '' \" #input\n style=\"font-size: 13px !important;\">\n <img *ngIf=\"searchConfigs && searchBar\" (click)=\"onSearch(input.value)\"\n src=\"../assets/images/icons/general/configSearch.svg\" class=\"configSearch\">\n </div>\n </div>\n\n <!-- MR 09NOV26 Single toolbar button support from second-data-table -->\n <div class=\"flex\" *ngIf=\"button\">\n <app-fusion-button class=\"data-table-fsbtn ms-2 me-2\" (buttonClickEmit)=\"commonButtonClick($event, button)\"\n [buttonType]=\"button?.class || button?.buttonType\" [buttonValue]=\"button?.namePath || button?.labelPath || button?.name | customTranslate : button?.label || button?.name\"\n [buttonConfig]=\"button?.buttonConfig\" [type]=\"button?.type\" [fcBtnIconLeftSrc]=\"button?.btnIconLeftSrc || button?.fcBtnIconLeftSrc\"\n [isImageSvg]=\"button?.isImageSvg\">\n </app-fusion-button>\n </div>\n\n <!-- SKS24JAN25 single, group and dropdown dynamic buttons -->\n <div class=\"flex\" *ngIf=\"isButtons\" style=\"padding-left: 7px;\">\n <div class=\"flex\" *ngFor=\"let button of buttonArray\">\n <app-fusion-button class=\"data-table-fsbtn\" [buttonDisable]=\"button.buttonDisable\"\n [buttonLoadingSpinner]=\"buttonLoadingSpinner\" (buttonClickEmit)=\"commonButtonClick($event,button)\"\n [buttonType]=\"button.label === 'Export' ? 'grey-border rounded-3 bg-white text-dark' : button.class\"\n [buttonValue]=\"button.labelPath || button.namePath || button.name | customTranslate : button.label || button.name\"\n [buttonConfig]=\"button.buttonConfig\" [type]=\"button.type\" class=\"ms-2 me-2\"\n [fcBtnIconLeftSrc]=\"button.label === 'Export' ? '../assets/images/icons/general/upload-icon.svg' : button.fcBtnIconLeftSrc\" [isImageSvg]=\"button.label === 'Export' ? true : button.isImageSvg\">\n <!--SKS25OCT24 If the value is 'Import' or 'Export', this button does not work-->\n </app-fusion-button>\n </div>\n </div>\n \n </div>\n\n <!-- SK23FEB24 for adding new record in table -->\n <div class=\"flex cursor-pointer\" *ngIf=\"addInlineRecord\" (click)=\"addTableRecord(inlineElement)\"\n [matTooltip]=\"'APP.ADD_NEW_RECORD' | customTranslate : 'Add New Record'\">\n <div class=\"ms-1 me-1\">\n <!-- MR 30OCT26 Refactor inline html template styling to theme tokens -->\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-add-square nav-icon\"\n style=\"color: var(--fb-text-primary, #0f172a) !important;\"></i>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"table-subtitle\" *ngIf=\"titleOn && title\">\n {{ title | customTranslate : title }}\n </div>\n\n <div class=\"table-margin\">\n <div class=\"table-container\" cdkScrollable> <!-- SKS3FEB25 The search filter closes when scrolling the table-->\n <!-- MSM28JAN25 MR 09NOV26 skeleton loader condition using isTableLoading --> \n <ng-container *ngIf=\"!isTableLoading; else loadingTemplate\">\n <table mat-table [dataSource]=\"dataSource || []\" [ngStyle]=\"{ width: tableWidth }\" matSort>\n <!-- Checkbox Columns -->\n <ng-container [sticky]=\"true\" class=\"checkboxCol\" *ngIf=\"withCheckBox\" matColumnDef=\"select\" sticky>\n <th mat-header-cell *matHeaderCellDef class=\"sticky-column head-color\" style=\"border-left: 1px solid var(--fb-border-default, #e2e8f0);\">\n <input type=\"checkbox\" (click)=\"$event.stopPropagation()\" (change)=\"masterToggle()\"\n [checked]=\"selection?.hasValue()\" [indeterminate]=\"selection?.hasValue() && !isAllSelected()\"\n class=\"custom-checkbox\" />\n </th>\n <!-- MR 16NOV26 Prevent sticky column bleed-through with opaque layered surface tokens -->\n <td mat-cell *matCellDef=\"let row\" class=\"body-color sticky-column\">\n <!-- SK18OCT24 check payroll Inprogress/Completed from backend data -->\n <input type=\"checkbox\" class=\"custom-checkbox\"\n [title]=\"(fromWhere === 'payrollTable' || fromWhere === 'paySlip') ? (row?.payProcessComment || '') : ''\"\n (click)=\"$event.stopPropagation()\" (change)=\"separateRowSelect(row)\"\n [checked]=\"selection.isSelected(row)\"\n [disabled]=\"(fromWhere === 'payrollTable' && row.isPayProcessed === true) || (fromWhere === 'paySlip' && row.isPayProcessed === false)\" />\n </td>\n <td mat-footer-cell *matFooterCellDef>\n {{ \"\" }}\n </td>\n </ng-container>\n\n <!-- data Columns -->\n <!-- set the matColumnDef attribute to the column name and use interpolation to dynamically generate the mat-header-cell and mat-cell elements based on the column name-->\n <ng-container *ngFor=\"let column of displayedColumns; let i=index\" [matColumnDef]=\"column\"\n [stickyEnd]=\"i === (stickyCondition - 1) ? true : false\" [sticky]=\"stickyColumns.includes(column)\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header\n style=\"border-right: 1px solid var(--fb-border-default, #e2e8f0);\" class=\"head-color ms-2 ps-2 pe-2\" \n [ngClass]=\"{'sticky-column': i === (stickyCondition - 1) || (stickyColumns && stickyColumns.includes(column)),'active-column': activeColumn === column,'first-header-border': i === 0}\"\n (click)=\"$event.stopPropagation(); onColumnClick(column)\">\n <span [class]=\"fromWhere === 'payrollTable' || fromWhere === 'paySlip' ? 'table-width' : '' \">{{\n (\n translatePath && translatePath[displayedColumns.indexOf(column)]\n ? translatePath[displayedColumns.indexOf(column)]\n : headerLabels[displayedColumns.indexOf(column)]\n )\n | customTranslate : headerLabels[displayedColumns.indexOf(column)]\n }}\n </span>\n <div (click)=\"$event.stopPropagation()\" class=\"position-relative\" cdk-overlay-origin\n #trigger=\"cdkOverlayOrigin\">\n <img class=\"ms-1\" *ngIf=\"filterColumns.includes(column)\" style=\"margin-bottom: 2px;\"\n (click)=\"filter(column)\" src=\"../assets/images/icons/general/filter-icon.svg\">\n </div>\n <ng-template cdk-connected-overlay [cdkConnectedOverlayOrigin]=\"trigger\"\n [cdkConnectedOverlayOpen]=\"searchFilter === true && column === selectedFilter\"\n [cdkConnectedOverlayScrollStrategy]=\"createScrollStrategy()\"\n (overlayOutsideClick)=\"searchFilter = false\" (detach)=\"searchFilter = false\">\n <app-search-filter class=\"search-component position-absolute\"\n [class]=\"searchFilter === true && column === selectedFilter ? 'd-block' : 'd-none'\"\n [filterItems]=\"filterArray\" (emitValues)=\"filteredData($event)\" (click)=\"$event.stopPropagation()\">\n </app-search-filter>\n </ng-template>\n </th>\n <ng-container *ngIf=\"dataSource.data.length > 0\">\n <!-- MR 16NOV26 Prevent sticky column bleed-through with opaque layered surface tokens -->\n <td mat-cell class=\"body-color ps-2 pe-2\" *matCellDef=\"let element; let j = index\"\n [class.active-column]=\"activeColumn === column\"\n [class.sticky-column]=\"i === (stickyCondition - 1) || (stickyColumns && stickyColumns.includes(column))\">\n <!-- SK29OCT25 employee detail column -->\n <div *ngIf=\"column === 'employeeDetail'\">\n <div class=\"d-flex flex-row\" style=\"left:0;\">\n <div *ngIf=\"element['employeeName'] || element['name']\"\n [class]=\"hyperLinkColumns.includes(column) ? 'hyper-link' : '' \"\n style=\"font-size: var(--fs-small);color: var(--fb-text-primary, #0f172a);font-weight: var(--fw-600);\">\n {{element[\"employeeName\"] || element[\"name\"] || ''}}</div>\n <div *ngIf=\"element['employeeId']\"\n style=\"font-size: 11px;color: var(--fb-text-secondary, #64748b);font-weight: var(--fw-400);\" class=\"ms-1\">\n [{{element[\"employeeId\"] || ''}}]</div>\n </div>\n <div class=\"d-flex flex-row\" *ngIf=\"element['designation'] && element['designation'] !== ''\">\n <div style=\"font-size: 10px;color: var(--fb-text-secondary, #64748b);font-weight: var(--fw-600);\">\n {{element[\"designation\"] || ''}}\n </div>\n <div *ngIf=\"element['designation'] && element['designation'] !== '' && element['location'] && element['location'] !== ''\"\n style=\"font-size: 10px;color: var(--fb-text-secondary, #64748b);font-weight: var(--fw-600);\">,</div>\n <div *ngIf=\"element['location'] && element['location'] !== ''\" style=\"font-size: 10px;color: var(--fb-text-secondary, #64748b);font-weight: var(--fw-600);\">\n {{element[\"location\"] || ''}}\n </div>\n </div>\n </div>\n <div *ngIf=\"column !== 'combinedColumn' && column !== 'employeeDetail' && fromWhere !== 'leaveMaster' && (column !== 'active' && (fromWhere === 'hrmTaxComponent' || fromWhere === 'payrollSettingComponent' || fromWhere === 'hrm' || fromWhere === 'compensation'|| fromWhere === 'payrollTable'|| fromWhere === 'payrollCompare'|| fromWhere === 'paySlip' || fromWhere === 'approval' || fromWhere === 'leave' || fromWhere === 'expense' || fromWhere === 'expenseApproval' || fromWhere === 'leaveAllocation' ||fromWhere === 'parkingApp' ||(fromWhere === 'common' && column != 'signature')))\">\n <!-- SK10APR24 getting the table values using pipe instead of function to increase performance-->\n <div *ngIf=\" ('-' | editColumnCheck: column : editColumn) === ('') \">\n <span class=\"font-size-13 {{checkHyperlinkCheck(column) || fromWhere === 'hrm' || fromWhere === 'compensation' || fromWhere === 'parkingApp' ? ' hyper-link clickable ' : ''}} {{fromWhere === 'payrollTable' || fromWhere === 'paySlip' ? 'table-width' : '' }}\"\n *ngIf=\"hyperLinkColumns.includes(column) || isFirstCell(column)\"\n (click)=\"tableClick(element); onClickHyperlink(column,element, j, checkHyperlinkCheck(column))\">\n <!--SKS21NOV24 Use customDateTime Pipe for both Date and Time -->\n <ng-container *ngIf=\"isDateColumn(column)\">\n {{ element[column] | customDate }}\n </ng-container>\n\n <ng-container *ngIf=\"isTimeColumn(column)\">\n {{ element[column] | customTime }}\n </ng-container>\n\n <!--SKS21NOV24 For other columns, display raw value -->\n <ng-container *ngIf=\"!isDateColumn(column) && !isTimeColumn(column)\">\n {{ '-' | getValue: element : column }}\n </ng-container>\n <!--SKS27NOV24 Check if the current column is in buttonColumn array -->\n <ng-container *ngIf=\"sideScreenColumn?.includes(column)\">\n <img class=\"ms-2\" src=\"../assets/images/icons/general/info.svg\"\n (click)=\"onInfoClick(element, column, j)\">\n </ng-container>\n <!--SKS9JAN25 rightnav column -->\n <ng-container *ngIf=\"objectColumns?.includes(column)\">\n <img class=\"ms-2\" src=\"../assets/images/icons/general/info.svg\"\n (click)=\"onSideNavInfoClick(element, column, j)\">\n </ng-container>\n </span>\n <div *ngIf=\"!isFirstCell(column) && !editColumn.includes(column) && column != 'receipt'\"\n [class]=\"fromWhere === 'payrollTable' || fromWhere === 'paySlip' ? 'table-width' : '' \">\n <div *ngIf=\"!checkHyperlinkCheck(column)\" class=\"font-size-13\">\n <!--SKS21NOV24 Use customDateTime Pipe for both Date and Time -->\n <ng-container *ngIf=\"isDateColumn(column)\">\n {{ element[column] | customDate }}\n </ng-container>\n\n <ng-container *ngIf=\"isTimeColumn(column)\">\n {{ element[column] | customTime }}\n </ng-container>\n\n <!--SKS21NOV24 For other columns, display raw value -->\n <ng-container *ngIf=\"!isDateColumn(column) && !isTimeColumn(column)\">\n {{ '-' | getValue: element : column }}\n </ng-container>\n <!--SKS27NOV24 Check if the current column is in buttonColumn array -->\n <ng-container *ngIf=\"sideScreenColumn?.includes(column)\">\n <img class=\"ms-2\" src=\"../assets/images/icons/general/info.svg\"\n (click)=\"onInfoClick(element, column, j)\">\n </ng-container>\n <!--SKS9JAN25 rightnav column -->\n <ng-container *ngIf=\"objectColumns?.includes(column)\">\n <img class=\"ms-2\" src=\"../assets/images/icons/general/info.svg\"\n (click)=\"onSideNavInfoClick(element, column, j)\">\n </ng-container>\n </div>\n </div>\n </div>\n <!-- SK27FEB24 added input box for inline edit input-->\n <div *ngIf=\"editColumn.length > 0\">\n <div *ngIf=\" ('-' | editColumnCheck: column : editColumn) === ('string') \" class=\"on-edit d-flex\">\n <input #editColElement class=\"lop-input table-width\" [class]=\"element?.editRow ? 'input-box' : '' \"\n matInput [placeholder]=\"'APP.ENTER' | customTranslate : 'Enter'\" [value]=\"element[column]\"\n [(ngModel)]=\"element[column]\" [readOnly]=\"element?.editRow ? false : true\">\n </div>\n <!-- SK10APR24 In table, like text input, added drop down and time inputs as well -->\n <div *ngIf=\" ('-' | editColumnCheck: column : editColumn) === ('object') \" class=\"on-edit d-flex\">\n <input *ngIf=\" ('-' | editColumnType: column : editColumn) === ('text') \" #editColElement\n class=\"lop-input table-width\" [class]=\"element?.editRow ? 'input-box' : '' \" matInput\n [placeholder]=\"'APP.ENTER' | customTranslate : 'Enter'\" [value]=\"element[column]\"\n [(ngModel)]=\"element[column]\" [readOnly]=\"element?.editRow ? false : true\">\n <input *ngIf=\" ('-' | editColumnType: column : editColumn) === ('time') \" type=\"time\"\n class=\"lop-input table-width\" matInput [class]=\"element?.editRow ? 'input-box' : '' \"\n placeholder=\"HH:mm:ss\" [(ngModel)]=\"element[column]\"\n [disabled]=\"element?.editRow ? false : true\" />\n <div *ngIf=\" ('-' | editColumnType: column : editColumn) === ('dropdown') \">\n <select type=\"dropdown\" *ngIf=\"element?.editRow\" class=\"lop-input table-width\" matInput\n [class]=\"element?.editRow ? 'input-box' : '' \" [(ngModel)]=\"element[column]\">\n <option [disabled]=\"element?.editRow ? false : true\"\n *ngFor=\"let data of [] | editColumnDropdown: column : editColumn \"\n [value]=\"data.value || data.name\">{{data.name}}</option>\n </select>\n <input *ngIf=\"!element?.editRow\" #editColElement class=\"lop-input table-width\"\n [class]=\"element?.editRow ? 'input-box' : '' \" matInput\n [placeholder]=\"'APP.ENTER' | customTranslate : 'Enter'\" [value]=\"element[column]\"\n [(ngModel)]=\"element[column]\" [readOnly]=\"true\">\n </div>\n\n </div>\n </div>\n <app-popover\n *ngIf=\"column === 'receipt' && !editColumn.includes(column) && receiptImg == true && element[column] && element[column].length != 0\"\n [isBootstrap]=\"false\" [dynamicPopover]=\"'Popover string comes here'\">\n <div class=\"hover-base\">\n <img class=\"ms-1\" src=\"../../../assets/images/icons/general/file-attach.svg\">\n </div>\n <div class=\"hover-content\">\n <div class=\"expenseCon\">\n <div *ngFor=\"let data of element[column] || []\">\n <div class=\"cursor-pointer expense-file\" (click)=\"expenseAttachment(data,element)\">{{data?.name}}\n <!-- SK20FEB26 loader in expense list-->\n <svg *ngIf=\"data?.loader\"\n class=\"svg-spinner card-icon color\"\n width=\"22\" height=\"22\" viewBox=\"0 0 50 50\"\n style=\"cursor: wait;\">\n <circle class=\"path\" cx=\"25\" cy=\"25\" r=\"20\" fill=\"none\" stroke-width=\"4\"></circle>\n </svg>\n </div>\n </div>\n </div>\n </div>\n </app-popover>\n </div>\n <div *ngIf=\"fromWhere === 'leaveMaster' && column !== 'employeeDetail' \">\n <div [class]=\"(element[column]) === 'Week Off' ? 'weekoff-color' : '' \" class=\"font-size-13\">{{\n (column == 'default' || column == 'active' || column == 'paidLeave') ? '' : element[column] }}</div>\n <input *ngIf=\"(column === 'default' || column === 'active' || column === 'paidLeave')\"\n class=\"custom-checkbox\" [checked]=\"element[column] == true\" type=\"checkbox\" disabled>\n </div>\n <div *ngIf=\"fromWhere === 'payrollSettingComponent' && column === 'combinedColumn'\">\n <!-- for the Payroll Settings Component ( Side Screen Component )-->\n <!-- Since the last column is a combination of data and it is also conditional based on the paytype and calculation type we are using this div-->\n <!-- if Component type is Earnings and\n calculationType is 'flat' then output should be => \"'payType\": Flat, Amount of 'amount'\"\n calculationType is 'percentage' then output should be => \"'payType': 'amount' % of Basic \"\n calculationType is 'fixed' then output should be => \"'payType': 'calculationType'\" -->\n <!-- SK20JUN25 to display in table -->\n <ng-container *ngIf=\"\n element?.calculationType === 'flat' ||\n element?.calculationType === 'percentage' ||\n element?.calculationType === 'basicAndDA' ||\n element?.calculationType === 'fixed' ||\n element?.calculationType === 'ctc';\n else noCalculation\n \">\n <span class=\"spanFontSize\" *ngIf=\"element['calculationType'] == 'flat' && element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\">{{'APP_HRM_PAYROLL_SETTINGS.VARIABLE_FLAT_AMOUNT'\n | customTranslate : 'Variable: Flat Amount: ' }}{{ (element['amount'] || 0)}}</span>\n <span class=\"spanFontSize\" *ngIf=\"element['calculationType'] == 'flat' && !element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\">{{'APP_HRM_PAYROLL_SETTINGS.FIXED_FLAT_AMOUNT'\n | customTranslate : 'Fixed: Flat Amount: ' }}{{ (element['amount'] || 0)}}</span>\n\n <span class=\"spanFontSize\"\n *ngIf=\"element['calculationType'] == 'percentage' && element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\">{{'APP_HRM_PAYROLL_SETTINGS.VARIABLE' |\n customTranslate : 'Variable: ' }}{{element['amount']}}{{ 'APP_HRM_PAYROLL_SETTINGS.PER_OF_BASIC' |\n customTranslate : '% of Basic'}}</span>\n <span class=\"spanFontSize\"\n *ngIf=\"element['calculationType'] == 'percentage' && !element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\">{{'APP_HRM_PAYROLL_SETTINGS.FIXED' |\n customTranslate : 'Fixed: ' }}{{ element['amount']}}{{ 'APP_HRM_PAYROLL_SETTINGS.PER_OF_BASIC' |\n customTranslate : '% of Basic'}}</span>\n\n <span class=\"spanFontSize\"\n *ngIf=\"element['calculationType'] == 'basicAndDA' && element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\">{{'APP_HRM_PAYROLL_SETTINGS.VARIABLE' |\n customTranslate : 'Variable: ' }}{{ element['amount']}}{{\n 'APP_HRM_PAYROLL_SETTINGS.PER_OF_BASIC_AND_DA' | customTranslate : '% of Basic and DA'}}</span>\n <span class=\"spanFontSize\"\n *ngIf=\"element['calculationType'] == 'basicAndDA' && !element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\">{{'APP_HRM_PAYROLL_SETTINGS.FIXED' |\n customTranslate : 'Fixed: ' }}{{ element['amount']}}{{\n 'APP_HRM_PAYROLL_SETTINGS.PER_OF_BASIC_AND_DA' | customTranslate : '% of Basic and DA'}}</span>\n\n <span class=\"spanFontSize\" *ngIf=\"element['calculationType'] == 'fixed' && element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\">{{'APP_HRM_PAYROLL_SETTINGS.VARIABLE' |\n customTranslate : 'Variable: ' }}{{ element['amount']}}{{ 'APP_HRM_PAYROLL_SETTINGS.PER_OF_GROSS'\n | customTranslate : '% of Gross'}}</span>\n <span class=\"spanFontSize\"\n *ngIf=\"element['calculationType'] == 'fixed' && !element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\">{{'APP_HRM_PAYROLL_SETTINGS.FIXED' |\n customTranslate : 'Fixed: ' }}{{ element['amount']}}{{ 'APP_HRM_PAYROLL_SETTINGS.PER_OF_GROSS' |\n customTranslate : '% of Gross'}}</span>\n\n <span class=\"spanFontSize\" *ngIf=\"element['calculationType'] == 'ctc' && !element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\"> {{'APP_HRM_PAYROLL_SETTINGS.FIXED' |\n customTranslate : 'Fixed: ' }} {{ element['amount'] }} {{\n 'APP_HRM_PAYROLL_SETTINGS.PER_OF_FIXED_CTC' | customTranslate : '% of Fixed CTC'}}</span>\n <span class=\"spanFontSize\" *ngIf=\"element['calculationType'] == 'ctc' && element['isVariablePay']\"\n [class]=\"'calculationType-'+element['calculationType']\">{{'APP_HRM_PAYROLL_SETTINGS.VARIABLE' |\n customTranslate : 'Variable: ' }}{{ element['amount'] }}{{\n 'APP_HRM_PAYROLL_SETTINGS.PER_OF_VARIABLE_CTC' | customTranslate : '% of Variable CTC'}}</span>\n </ng-container>\n\n <ng-template #noCalculation>\n <span class=\"spanFontSize\">-</span>\n </ng-template>\n </div>\n <div *ngIf=\"fromWhere === 'payrollSettingComponent' && column === 'active'\">\n <div class=\"form-check form-switch\">\n <input class=\"custom-checkbox\" type=\"checkbox\" [checked]=\"(element != null && element['active'] === true) ? true : false\"\n (click)=\"element[column]=!element[column]; onToggleChange.emit(fromWhere === 'payrollSettingComponent' ? element : '')\">\n </div>\n </div>\n </td>\n </ng-container>\n <!-- SK16JUL24 to get the sum of column data -->\n <td class=\"ps-2 pe-2 \" mat-footer-cell *matFooterCellDef=\"let element; let j = index\">\n {{ '-' | totalColumSum: data : cumulativeDataColumns : column }}\n </td>\n </ng-container>\n <!-- action button Columns -->\n <!-- SK19MAR25 \"action\" key is changed to \"tableAction\" wherever used, since, it has duplicate error -->\n <ng-container [stickyEnd]=\"true\" *ngIf=\"actionButton || isDeleteRow || isEditRow\"\n matColumnDef=\"tableAction\">\n <th mat-header-cell *matHeaderCellDef\n class=\"head-color action-size sticky-column actionCol text-center\" style=\"border-right: 1px solid var(--border-color, rgba(0, 0, 0, 0.12));\">{{ actionColumHeader |\n customTranslate : 'Action'}}</th>\n <!-- MR 16NOV26 Prevent sticky column bleed-through with opaque layered surface tokens -->\n <td mat-cell *matCellDef=\"let element; let i=index\" class=\"body-color sticky-column actionCol\">\n <!-- SKS25DEC24 clone button -->\n <div class=\"d-flex flex-row actionButton\"\n [style.justify-content]=\"conditionSendButton ? 'none' : 'center'\">\n <div *ngIf=\"(!conditionCloneButton) && cloneButton\" class=\"imgBtnDiv\">\n <img style=\"padding: 0px;\" (click)=\"onClone(element , i)\"\n src=\"../assets/images/icons/general/clone.svg\" class=\"imgBtn\" data-bs-toggle=\"modal\">\n </div>\n <div *ngIf=\"(conditionCloneButton) && isConditionMet(element, conditionCloneButton.conditions)\"\n class=\"ms-2 imgBtnDiv\" style=\"margin-top: 6px;\">\n <img style=\"padding: 0px;\" (click)=\"onClone(element , i)\"\n src=\"../assets/images/icons/general/clone.svg\" class=\"imgBtn\" data-bs-toggle=\"modal\">\n </div>\n <!-- SK20FEB26 Expense edit on Pending status -->\n <div *ngIf=\"element?.status === 'Rejected'|| fromWhere === 'leaveMaster' || fromWhere === 'payrollSettingComponent' || fromWhere === 'hrmTaxComponent' || isEditRow || (fromWhere == 'expense' && element?.status === 'Pending' )\">\n <app-fusion-button *ngIf=\"fromWhere == 'leave'\" [buttonType]=\"'text-only'\"\n [buttonValue]=\"'APP.COMMENTS' | customTranslate : 'comments' \"\n (buttonClickEmit)=\"onEdit(element?.rejectionReason, i, element?.status)\" data-bs-toggle=\"modal\"\n data-bs-target=\"#rejectInfoModal\">\n </app-fusion-button>\n <div class=\"imgBtnDiv\"\n *ngIf=\"((!conditionEditButton)&& ((fromWhere == 'expense' ) || fromWhere === 'leaveMaster' || fromWhere === 'payrollSettingComponent' || fromWhere === 'hrmTaxComponent' || isEditRow)) || (conditionEditButton && isConditionMet(element, conditionEditButton.conditions))\">\n <!-- MY 23OCT26 Disable edit action when expense is already Approved -->\n <i *ngIf=\"(!conditionEditButton)&& ((fromWhere == 'expense' ) || fromWhere === 'leaveMaster' || fromWhere === 'payrollSettingComponent' || fromWhere === 'hrmTaxComponent' || isEditRow)\"\n (click)=\"(fromWhere === 'expense' && element?.status?.toLowerCase() === 'approved') ? null : onEdit(fromWhere === 'payrollSettingComponent' || isEditRow ? element : element?._id, i, element?.status)\"\n [matTooltip]=\"(fromWhere === 'expense' && element?.status?.toLowerCase() === 'approved') ? ('APP_EXPENSE.CANNOT_EDIT_APPROVED' | customTranslate : 'Approved expenses cannot be edited') : ('APP.EDIT' | customTranslate : 'Edit')\"\n [style.opacity]=\"(fromWhere === 'expense' && element?.status?.toLowerCase() === 'approved') ? '0.35' : '1'\"\n [style.cursor]=\"(fromWhere === 'expense' && element?.status?.toLowerCase() === 'approved') ? 'not-allowed' : 'pointer'\"\n class=\"fusion-icon nav-icon fusion-icon-edit_pencil\" style=\"margin: 0px !important; font-size: var(--fs-normal, 16px) !important; color: var(--fc-sub-lite, #787486);\">\n </i>\n <i *ngIf=\"conditionEditButton && isConditionMet(element, conditionEditButton.conditions)\"\n [matTooltip]=\"(fromWhere === 'expense' && element?.status?.toLowerCase() === 'approved') ? ('APP_EXPENSE.CANNOT_EDIT_APPROVED' | customTranslate : 'Approved expenses cannot be edited') : ('APP.EDIT' | customTranslate : 'Edit')\"\n [style.opacity]=\"(fromWhere === 'expense' && element?.status?.toLowerCase() === 'approved') ? '0.35' : '1'\"\n [style.cursor]=\"(fromWhere === 'expense' && element?.status?.toLowerCase() === 'approved') ? 'not-allowed' : 'pointer'\"\n (click)=\"(fromWhere === 'expense' && element?.status?.toLowerCase() === 'approved') ? null : onEdit(fromWhere === 'payrollSettingComponent' || isEditRow ? element : element?._id, i)\"\n class=\"fusion-icon nav-icon fusion-icon-edit_pencil\" style=\"margin: 0px !important; font-size: var(--fs-normal, 16px) !important; color: var(--fc-sub-lite, #787486);\">\n </i>\n </div>\n <!-- <img *ngIf=\"fromWhere == 'expense'\" (click)=\"delete(element?._id)\" src=\"../assets/images/icons/Vectordelete.svg\"> -->\n </div>\n <div *ngIf=\"element?.leaveStatus === 'New' || element?.status === 'New' || element?.status === 'Pending' || element?.leaveStatus === 'Pending' || fromWhere === 'leaveMaster' || fromWhere === 'payrollSettingComponent' || fromWhere === 'hrmTaxComponent' || fromWhere == 'expenseApproval' || isDeleteRow\">\n <app-fusion-button *ngIf=\"fromWhere == 'leave'\" [buttonType]=\"'text-only'\"\n [buttonValue]=\"'APP.CANCEL' | customTranslate : 'Cancel'\" (buttonClickEmit)=\"delete(element, i)\"\n data-bs-toggle=\"modal\" data-bs-target=\"#cancelLeave\"></app-fusion-button>\n <!-- SKS21NOV24 Conditional rendering of delete icon based on various conditions -->\n <!-- Show the delete icon if 'conditionDeleteButton' is false and 'fromWhere' matches specific components or 'isDeleteRow' is true -->\n <div class=\"imgBtnDiv\"\n *ngIf=\"((!conditionDeleteButton)&&(fromWhere == 'expense' || fromWhere === 'leaveMaster' || fromWhere === 'payrollSettingComponent' || fromWhere === 'hrmTaxComponent' || isDeleteRow) )|| (conditionDeleteButton && isConditionMet(element, conditionDeleteButton.conditions))\">\n <img\n *ngIf=\"(!conditionDeleteButton)&&(fromWhere == 'expense' || fromWhere === 'leaveMaster' || fromWhere === 'payrollSettingComponent' || fromWhere === 'hrmTaxComponent' || isDeleteRow)\"\n class=\"imgBtn\" [matTooltip]=\"'APP.DELETE_RECORD' | customTranslate : 'Delete Record'\"\n (click)=\"deleteRecord(fromWhere === 'payrollSettingComponent' || isDeleteRow ? element : element?._id, i)\"\n src=\"../assets/images/icons/Vectordelete.svg\">\n <img *ngIf=\"conditionDeleteButton && isConditionMet(element, conditionDeleteButton.conditions)\"\n [matTooltip]=\"'APP.DELETE_RECORD' | customTranslate : 'Delete Record'\"\n (click)=\"deleteRecord(isDeleteRow ? element : element?._id, i)\" class=\"imgBtn\"\n src=\"../assets/images/icons/Vectordelete.svg\">\n </div>\n <div *ngIf=\"fromWhere == 'approval' || fromWhere == 'expenseApproval'\" class=\"flex imgBtnDiv\">\n <img\n *ngIf=\"(fromWhere === 'expenseApproval' && element?.status === 'Approved'&& element?.reImbursed !== 'Reimbursed') || fromWhere == 'approval'\"\n class=\"approval-image me-2\" style=\"padding: 0px; width: 24px !important;\"\n (click)=\"onApprove( element?.employeeId, element?._id, element?.reImbursed )\"\n src=\"../assets/images/icons/general/Approved.svg\">\n <img *ngIf=\"fromWhere !== 'expenseApproval'\" class=\"approval-image\"\n style=\"padding: 0px; width: 24px !important;\"\n (click)=\"onReject( element?.employeeId, element?._id )\"\n src=\"../assets/images/icons/general/Declined.svg\" class=\"\" data-bs-toggle=\"modal\"\n data-bs-target=\"#approvalReject\">\n </div>\n </div>\n <!-- SK02APR24 added preview and download icons -->\n <div *ngIf=\"viewIcon\" class=\"ms-2 imgBtnDiv\">\n <!-- <img [src]=\"('post.svg' | svgIcon:'#000000') | async\" class=\"card-icon color\" title=\"preview\" (click)=\"viewIconClick(element)\" style=\"cursor: pointer;\" /> -->\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-eye nav-icon\" matTooltip=\"Preview\"\n matTooltipPosition=\"above\" style=\"color: var(--fc-text-color-light) !important; cursor: pointer;\"\n (click)=\"viewIconClick(element)\"></i>\n\n </div>\n <div *ngIf=\"downloadIcon\" class=\"ms-2 imgBtnDiv\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-document-download card-icon color imgBtn\"\n matTooltip=\"Download\" matTooltipPosition=\"above\"\n style=\"cursor: pointer; color: var(--fc-text-color-light) !important;\"\n (click)=\"downloadIconClick(element)\">\n </i>\n </div>\n <!-- SKS25DEC24 send button -->\n <div *ngIf=\"(!conditionSendButton) && sendButton\" class=\"ms-2 imgBtnDiv\" style=\"margin-top: 6px;\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-send-2 card-icon color imgBtn\"\n style=\"cursor: pointer\" (click)=\"onSend(element, i)\"\n [matTooltip]=\"'APP.SEND' | customTranslate : 'Send'\"></i>\n </div>\n <div\n *ngIf=\"(conditionSendButton) && isConditionMet(element, conditionSendButton.conditions) && sendButton\"\n class=\"ms-2 imgBtnDiv\" style=\"margin-top: 6px;\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-send-2 card-icon color imgBtn\"\n style=\"cursor: pointer\" (click)=\"onSend(element, i)\"\n [matTooltip]=\"'APP.SEND' | customTranslate : 'Send'\"></i>\n </div>\n <!-- SKS25DEC24 active button -->\n <div *ngIf=\"(!conditionActivateButton) && activeButton\" class=\"ms-2 imgBtnDiv\"\n style=\"margin-top: 10px;\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-group nav-icon\" style=\"color: var(--comp-bg-color, #ffffff);\"></i>\n </div>\n <div\n *ngIf=\"(conditionActivateButton) && isConditionMet(element, conditionActivateButton.conditions) && activeButton\"\n class=\"ms-2 imgBtnDiv\" style=\"margin-top: 10px;\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-group nav-icon\" style=\"color: var(--comp-bg-color, #ffffff);\"></i>\n </div>\n <!-- SKS25DEC24 deactive button -->\n <div *ngIf=\"(!conditionDeactivateButton) && deactiveButton\" class=\"ms-2 imgBtnDiv\"\n style=\"margin-top: 10px;\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-group nav-icon\" style=\"color: var(--comp-bg-color, #ffffff);\"></i>\n </div>\n <div\n *ngIf=\"(conditionDeactivateButton) && isConditionMet(element, conditionDeactivateButton.conditions) && deactiveButton\"\n class=\"ms-2 imgBtnDiv\" style=\"margin-top: 10px;\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-group nav-icon\" style=\"color: var(--comp-bg-color, #ffffff);\"></i>\n </div>\n </div>\n <div>\n\n <app-fusion-button *ngIf=\"fromWhere == 'document-icons'\" [buttonType]=\"'custom-btn'\"\n [fcBtnIconLeftSrc]=\"'../assets/images/icons/general/downloadfile.svg'\"\n (buttonClickEmit)=\"downloadPdf(element)\"></app-fusion-button>\n <app-fusion-button *ngIf=\"fromWhere == 'document-icons'\" [buttonType]=\"'custom-btn'\"\n [fcBtnIconLeftSrc]=\"'../assets/images/icons/general/pencil-icon.svg'\"\n (buttonClickEmit)=\"delete(element, i)\" data-bs-toggle=\"modal\"\n data-bs-target=\"#documentsInfoModal\"></app-fusion-button>\n <app-fusion-button *ngIf=\"fromWhere == 'document-icons'\" [buttonType]=\"'custom-btn'\"\n [fcBtnIconLeftSrc]=\"'../assets/images/icons/Vectordelete.svg'\"\n (buttonClickEmit)=\"delete(element, i)\" data-bs-toggle=\"modal\"\n data-bs-target=\"#deleteDocModal\"></app-fusion-button>\n </div>\n </td>\n <td mat-footer-cell *matFooterCellDef=\"let element; let i=index\">{{ \"\" }}\n </td>\n </ng-container>\n\n <!-- total Row -->\n <ng-container [sticky]=\"true\" matColumnDef=\"total\">\n <th mat-header-cell *matHeaderCellDef class=\"sticky-column head-color\">\n </th>\n <!-- MR 16NOV26 Prevent sticky column bleed-through with opaque layered surface tokens -->\n <td mat-cell *matCellDef=\"let row\" class=\"body-color sticky-column\">\n </td>\n <!-- RS27AUG24 -->\n <!-- Used the translate pipe to successfully implement the translation -->\n <td mat-footer-cell *matFooterCellDef >{{'APP.TOTAL' | customTranslate : 'Total' }}\n </td>\n </ng-container>\n\n <!-- Render the columns -->\n <!-- SK16JUL24 adding the cumulative data row as footer -->\n <!-- <ng-container *ngIf=\"dataSource?.data?.length !== 0\"> -->\n <div [ngSwitch]=\"renderColumns\">\n <div *ngSwitchCase=\"'select'\">\n <tr mat-header-row *matHeaderRowDef=\"['select'].concat(displayedColumns) sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: ['select'].concat(displayedColumns);\"></tr>\n <!-- SK19JUL24 table total update -->\n <tr\n [class]=\"cumulativeDataColumns != undefined && cumulativeDataColumns.length !== 0 ? '' : 'border border-white' \"\n mat-footer-row\n *matFooterRowDef=\"cumulativeDataColumns != undefined && cumulativeDataColumns.length !== 0 ? ['total'].concat(displayedColumns) : null \">\n </tr>\n </div>\n <div *ngSwitchCase=\"'tableAction'\">\n <tr mat-header-row\n *matHeaderRowDef=\" displayedColumns ? displayedColumns.concat(['tableAction']) : [] ;sticky: true\">\n </tr>\n <tr mat-row\n *matRowDef=\"let row; columns: displayedColumns ? displayedColumns.concat(['tableAction']) : []; \">\n </tr>\n <ng-container *ngIf=\"cumulativeDataColumns\">\n <tr\n [class]=\"cumulativeDataColumns != undefined && cumulativeDataColumns.length !== 0 ? '' : 'border border-white' \"\n mat-footer-row\n *matFooterRowDef=\"cumulativeDataColumns != undefined && cumulativeDataColumns.length !== 0 ? ['total'].concat(displayedColumns).concat('tableAction') : null\">\n </tr>\n </ng-container>\n </div>\n <!-- 30JAN24 for both checkbox and action columns-->\n <div *ngSwitchCase=\"'both'\">\n <tr mat-header-row\n *matHeaderRowDef=\"['select'].concat(displayedColumns).concat('tableAction') sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: ['select'].concat(displayedColumns).concat('tableAction')\"\n (click)=\"tableClick(row)\"></tr>\n <ng-container *ngIf=\"cumulativeDataColumns\">\n <tr\n [class]=\"cumulativeDataColumns != undefined && cumulativeDataColumns.length !== 0 ? '' : 'border border-white' \"\n mat-footer-row\n *matFooterRowDef=\"cumulativeDataColumns != undefined && cumulativeDataColumns.length !== 0 ? ['total'].concat(displayedColumns).concat('tableAction') : null\">\n </tr>\n </ng-container>\n </div>\n <div *ngSwitchDefault>\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row;let i =index; columns: displayedColumns;\"></tr>\n <ng-container *ngIf=\"cumulativeDataColumns\">\n <tr\n [class]=\"cumulativeDataColumns != undefined && cumulativeDataColumns.length !== 0 ? 'd-block' : 'border border-white' \"\n mat-footer-row\n *matFooterRowDef=\"cumulativeDataColumns != undefined && cumulativeDataColumns.length !== 0 ? ['total'].concat(displayedColumns) : null\">\n </tr>\n </ng-container>\n </div>\n </div>\n <!-- </ng-container> -->\n <!-- <tr class=\"mat-row \" *matNoDataRow> -->\n <!-- SK9JAN24 Removed attr.colspan since it throws undefined error -->\n <!-- <td class=\"mat-cell \">\n {{'APP.NO_RECORDS' | customTranslate : 'No records/data found.' }}\n </td>\n </tr> -->\n\n </table>\n <div class=\"no-data-cell text-center my-3 \" *ngIf=\"!dataSource || !dataSource.data || dataSource.data.length === 0\">\n {{ 'APP.NO_RECORDS' | customTranslate : 'No records/data found.' }}\n </div>\n </ng-container>\n <!-- MSM28JAN25 skeleton loader template -->\n <ng-template #loadingTemplate>\n <table>\n <tr style=\"height: 40px;\" *ngFor=\"let _ of [1, 2, 3, 4,5,6]\">\n <td colspan=\"3\" class=\"skeleton-card\">\n <div class=\"title\" data-title>\n <div class=\"skeleton skeleton-text\"></div>\n <div class=\"skeleton skeleton-text\"></div>\n </div>\n </td>\n </tr>\n </table>\n </ng-template>\n </div>\n <!-- SK23FEB24 table input save button changes -->\n <div class=\"d-flex justify-content-end\">\n <div class=\"flex mt-4 me-2 cursor-pointer\" *ngIf=\"addInlineRecord \" (click)=\"addTableRecord(inlineElement)\"\n [matTooltip]=\"'APP.ADD_NEW_RECORD' | customTranslate : 'Add New Record'\">\n <div class=\"ms-1 me-1\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-add-square nav-icon\"\n style=\"color: var(--fc-text-color-dark, #000000) !important;\"></i>\n </div>\n </div>\n <!-- SK27FEB24 removed button disable logic, SK13MAR24 added another condition for button showing-->\n <!-- SR06JAN2025 button disable logic for not select any employee-->\n <div class=\"d-flex justify-content-between align-items-end\">\n <div class=\"px-2\">\n {{notes}}</div>\n\n <app-fusion-button [buttonLoadingSpinner]=\"tableSaveLoadingSpinner\"\n *ngIf=\"editColumn.length > 0 || tableSaveButton\" buttonType=\"btn btn-primary mt-4 me-2\"\n [buttonDisable]=\"selection?.selected?.length === 0\" (buttonClickEmit)=\"saveButton()\"\n buttonValue=\"{{ 'APP.SAVE' | customTranslate : 'Save' }}\"></app-fusion-button>\n </div>\n </div>\n <!-- SKS24JAN25 custom paginator -->\n <app-pagination #paginator [pageSizeOptions]=\"itemsPerPage\" [collectionSize]=\"totalCount\" [pageSize]=\"pageSize\"\n [currentPage]=\"pageIndex\" [firstLastButtons]=\"true\" (event)=\"pageParams($event)\" >\n </app-pagination>\n </div>\n </div>\n</div>\n\n<!-- SK03OCT24 while clicking export button, side screen will be displayed, with fields selection and filter boxes -->\n<app-common-screen *ngIf=\"exportSidescreen\" headerTitle=\"{{'APP.EXPORT_DATA' | customTranslate : 'Export Data'}}\"\n (sideScreenEmittedEvent)=\"exportSidescreen = false\">\n <div class=\"side-main-content\">\n <!-- MY 15OCT26 export file button loader -->\n <div\n class=\"d-flex align-items-center flex-row p-3 justify-content-center cursor-pointer short-button-white-bg button-hov\"\n [class.disabled]=\"exportButtonLoadingSpinner\"\n (click)=\"!exportButtonLoadingSpinner ? exportButtonSideNav() : null\">\n <div *ngIf=\"exportButtonLoadingSpinner\" class=\"spinner-grow spinner-grow-sm me-2\" role=\"status\" aria-hidden=\"true\"></div>\n <i *ngIf=\"!exportButtonLoadingSpinner\" class=\"fusion-icon fusion-icon-size-lg fusion-icon-document-upload card-icon color me-1\"></i>\n <div>{{ exportButtonLoadingSpinner ? (('APP_SETTINGS_APPS.LOADING' | customTranslate : 'Loading') + '...') : ('APP.EXPORT_FILE' | customTranslate : 'Export File') }}</div>\n </div>\n <!-- SK03OCT24 displaying components from parent (multipleCheckBox/multipleFilter) -->\n <div *ngFor=\"let type of filterScreenConfigs\">\n <!-- MY 15OCT26 pass button loader state to multi-checkbox and multiple-filter -->\n <app-multi-checkbox *ngIf=\"type.type === 'multipleCheckBox' \" class=\"ms-2 me-2\"\n [label]=\"type?.labelPath || type?.label | customTranslate : type?.label\" [cardSize]=\"type?.cardSize\"\n [cardInlineSize]=\"type?.cardInlineSize\" [checkboxList]=\"type?.checkboxList\"\n [activeCheckboxList]=\"type?.activeCheckboxList\" [buttonList]=\"type?.buttons\"\n [displayValues]=\"type?.displayValues\" [componentData]=\"type\" [checkBoxStyles]=\"type?.checkBoxStyles\"\n [isButtonLoadingSpinner]=\"type?.isButtonLoadingSpinner || false\"\n (compDataEmit)=\"exportFieldsButtonEmit($event)\">\n </app-multi-checkbox>\n <app-multiple-filter *ngIf=\"type.type === 'multipleFilter' \" class=\"ms-2 me-2\"\n [isDateFilter]=\"type?.isDateFilter || false\"\n [label]=\"type?.labelPath || type?.label | customTranslate : type?.label\" [cardSize]=\"type?.cardSize\"\n [cardInlineSize]=\"type?.cardInlineSize\" [buttonList]=\"type?.buttons\" [displayValues]=\"type?.displayValues\"\n [componentData]=\"type\" [checkBoxStyles]=\"type?.checkBoxStyles\" [selectionData]=\"type?.selectionData\"\n [isButtonLoadingSpinner]=\"type?.isButtonLoadingSpinner || false\"\n (compDataEmit)=\"exportFilterButtonEmit($event)\" (selectedValuesEmit)=\"selectedValuesEmit($event)\"\n (filterDateEmit)=\"filterDateEmit($event)\">\n </app-multiple-filter>\n </div>\n </div>\n</app-common-screen>\n<!-- SKS15DEC25 bulk upload -->\n<app-file-upload [id]=\"'uploadEmployee'\" [headerName]=\"moudleName\" [showFileModal]=\"uploadModal\"\n (closeEmit)=\"uploadModal = false\"\n [bodyHeaderName]=\"('APP.STEPS_TO_UPLOAD' | customTranslate : 'Steps to upload')+moudleName\" [isTemplate]=true\n [templateContent]=\"('APP.DOWNLOAD_THE' | customTranslate : 'Download the')+ moudleName +('APP.TEMPLATE' | customTranslate : 'template')\"\n (templateDownload)=\"downloadTemplate()\"\n [bodyContent]=\"[(('APP.FILL_THE_APPROP' | customTranslate : 'Fill the appropriate')+moudleName+('APP.DETAILS_AND_UPLOAD_ITS_BELOW' | customTranslate : 'Details and upload it below'))]\"\n [fileRestrictions]=\"{\n allowedTypes: ['.csv', '.xlsx', '.xls'],\n maxFileSize: 10,\n maxFiles: 1\n }\" [uploadedFiles]=\"[]\" [saveButtonName]=\"'APP.UPLOAD' | customTranslate : 'Upload'\"\n (upload)=\"uploadRecordsFile($event)\">\n</app-file-upload>\n<!-- SK06NOV24 alert on deleting record -->\n<div *ngIf=\"deleteModal\" class=\"modal modal-backdrop show d-block\" id=\"deleteRecord\" tabindex=\"-1\"\n aria-labelledby=\"deleteRecordLabel\" [attr.aria-hidden]=\"!deleteModal\">\n <div class=\"modal-dialog\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <b class=\"modal-title fs-5\" id=\"deleteRecordLabel\">{{'APP.DELETE_RECORD' | customTranslate : 'Delete Record'}}</b>\n <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"\n (click)=\"deleteModal = false\"></button>\n </div>\n <div class=\"modal-body\">\n {{'APP.ARE_YOU_SURE_YOU_WANT_TO_DELETE_THE_REC' | customTranslate : 'Are you sure want to delete the record'}} ?\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\" class=\"btn btn-primary\" data-bs-dismiss=\"modal\" aria-label=\"Close\"\n (click)=\"!buttonLoadingSpinner ? deleteRecordData() : null\">\n <!-- SK04SEP25 button loader -->\n <span class=\"{{ buttonLoadingSpinner ? 'spinner-grow' : '' }} spinner-grow-sm\" role=\"buttonValue\"\n aria-hidden=\"true\"></span>\n <span>{{ buttonLoadingSpinner ? ('APP_SETTINGS_APPS.LOADING' | customTranslate : 'Loading') + '...' :\n ('APP.YES' | customTranslate : 'Yes') }}\n </span>\n </button>\n <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\" (click)=\"deleteModal = false\">{{'APP.NO'\n | customTranslate : 'No'}}</button>\n </div>\n </div>\n </div>\n</div>\n\n<app-common-screen *ngIf=\"infoSidescreen\" [headerTitle]=\"'APP.APPROVAL_DETAILS' | customTranslate : 'Approval Details'\"\n (sideScreenEmittedEvent)=\"infoSidescreen = false\">\n <div class=\"side-main-content container\">\n <div class=\"row\">\n <div class=\"col-md-12\">\n <!-- Approval Info -->\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.NAME' | customTranslate : 'Name'}}:</div>\n <div class=\"col-6 text-start\">{{ infoData.name || ''}}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.STATUS' | customTranslate : 'Status'}}:</div>\n <div class=\"col-6 text-start\">\n <span\n *ngIf=\"infoData.status === 'Approved' || infoData.status === 'Pending' || infoData.status === 'Rejected' \"\n class=\"badge custom-badge\" [ngClass]=\"{\n 'bg-success': infoData.status === 'Approved', \n 'bg-warning': infoData.status === 'Pending',\n 'bg-danger': infoData.status === 'Rejected'}\">\n {{ infoData.status }}</span>\n <span\n *ngIf=\"infoData.status !== 'Approved' && infoData.status !== 'Pending' && infoData.status !== 'Rejected' \">{{\n infoData.status || '' }}</span>\n </div>\n </div>\n <div class=\"row mb-3\">\n <!-- SK21DEC24 to add Approval status in side screen-->\n <div class=\"col-6 text-start\">{{'APP.APPROVAL_STATUS' | customTranslate : 'Approval Status'}}:</div>\n <div class=\"col-6 text-start\">\n <span\n *ngIf=\"infoData.leaveStatus === 'Approved' || infoData.leaveStatus === 'Pending' || infoData.leaveStatus === 'Rejected'\"\n class=\"badge custom-badge\" [ngClass]=\"{\n 'bg-success': infoData.leaveStatus === 'Approved', \n 'bg-warning': infoData.leaveStatus === 'Pending',\n 'bg-danger': infoData.leaveStatus === 'Rejected'}\">\n {{ infoData.leaveStatus || '' }}</span>\n <span\n *ngIf=\"infoData.leaveStatus !== 'Approved' && infoData.leaveStatus !== 'Pending' && infoData.leaveStatus !== 'Rejected'\">{{\n infoData.leaveStatus || '' }}</span>\n </div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.REASON' | customTranslate : 'Reason'}}:</div>\n <div class=\"col-6 text-start\">{{ infoData.reason || '' }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.TYPE' | customTranslate : 'Type'}}:</div>\n <div class=\"col-6 text-start\">{{ infoData.type || ''}}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.APPLIED_ON' | customTranslate : 'Applied On'}}:</div>\n <div class=\"col-6 text-start\">{{ (infoData.appliedOn | date:'short') || '' }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.APPROVED_COUNT' | customTranslate : 'Approved Count'}}:</div>\n <div class=\"col-6 text-start\">{{ infoData.approvedCount || '' }}</div>\n </div>\n </div>\n </div>\n <!-- Approval Managers -->\n <!-- SK03DEC24 show approval managers list only if applicable -->\n <h3 *ngIf=\"infoData.approvalManagers != undefined && infoData.approvalManagers.length > 0\" class=\"text-center mb-3\">\n {{'APP.APPROVAL_MANAGERS' | customTranslate : 'Approval Managers'}}</h3>\n <ul *ngIf=\"infoData.approvalManagers != undefined && infoData.approvalManagers.length > 0\" class=\"list-group\">\n <li *ngFor=\"let manager of infoData.approvalManagers\" class=\"list-group-item\">\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.EMPLOYEE_ID' | customTranslate : 'Employee ID'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.employeeId || ''}}</div>\n </div>\n <div class=\"row mb-3\">\n <!-- SK10DEC24 to show manager name -->\n <div class=\"col-6 text-start\">{{'APP.EMPLOYEE_NAME' | customTranslate : 'Employee Name'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.name || '' }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.APPROVAL_ORDER' | customTranslate : 'Approval Order'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.approvalOrder || '' }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.STATUS' | customTranslate : 'Status'}}:</div>\n <div class=\"col-6 text-start\">\n <span *ngIf=\"manager.status === 'Approved' || manager.status === 'Pending' || manager.status === 'Rejected'\"\n class=\"badge custom-badge\" [ngClass]=\"{\n 'bg-success': manager.status === 'Approved', \n 'bg-warning': manager.status === 'Pending',\n 'bg-danger': manager.status === 'Rejected'}\">\n {{ manager.status || '' }}\n </span>\n <span\n *ngIf=\"manager.status !== 'Approved' && manager.status !== 'Pending' && manager.status !== 'Rejected'\"> {{\n manager.status || '' }}</span>\n </div>\n </div>\n <div class=\"row mb-3\" *ngIf=\"manager.viewedOn\">\n <div class=\"col-6 text-start\">{{'APP.VIEWED_ON' | customTranslate : 'Viewed On'}}:</div>\n <div class=\"col-6 text-start\">{{ (manager.viewedOn | date:'short') || '' }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.IS_OPTIONAL' | customTranslate : 'Is Optional'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.isOptional ? \"Yes\" : \"No\" }}</div>\n </div>\n <div class=\"row mb-3\">\n <div class=\"col-6 text-start\">{{'APP.COMMENTS' | customTranslate : 'Comments'}}:</div>\n <div class=\"col-6 text-start\">{{ manager.rejectionReason || '' }}</div>\n </div>\n </li>\n </ul>\n </div>\n</app-common-screen>\n\n",
7319
+ styles: [".table-wrapper{overflow-x:auto;max-width:100%}.table-container{border-top:1px solid var(--fb-border-default, #e2e8f0);min-height:100px;overflow:auto;width:100%;max-height:62vh}.table-layout{background:var(--fb-surface, #ffffff);border-radius:8px}.th{border-bottom:1px solid var(--fb-border-default, #e2e8f0);font-weight:var(--fw-600);font-size:var(--fs-medium);line-height:21px;color:var(--fb-text-primary, #0f172a)}.head-color{background:linear-gradient(var(--fb-action-surface, #e0f2fe),var(--fb-action-surface, #e0f2fe)),var(--fb-surface, #ffffff)!important;color:var(--fb-text-primary, #0f172a)!important}tr.mat-header-row,.mat-mdc-header-row{background:linear-gradient(var(--fb-action-surface, #e0f2fe),var(--fb-action-surface, #e0f2fe)),var(--fb-surface, #ffffff)!important}.body-color{color:var(--fb-text-primary, #0f172a);cursor:default}.search{display:flex;align-items:center;border:1px solid var(--border-color, #b1b1b1);background:var(--comp-bg-color, #ffffff);border-radius:var(--radius-medium, 7px);padding:4px 8px}.search-bar{display:flex;align-items:center;width:100%;gap:6px;margin:0}.search-bar input{background:transparent!important;border:none!important;outline:none!important;box-shadow:none!important;width:100%;font-size:13px;color:var(--fc-text-color, #1e293b);padding:2px 4px}th.mat-header-cell:last-of-type{padding:0;font-weight:var(--fw-600);font-size:var(--fs-medium);color:var(--fb-text-primary, #0f172a)}td.mat-cell:last-of-type{padding:8px;font-weight:var(--fw-400);font-size:var(--fs-medium);color:var(--fb-text-primary, #0f172a)}.table-title{font-weight:var(--fw-600);color:var(--fb-text-primary, #0f172a)}.sticky-column,td.actionCol{background-color:var(--fb-surface, #ffffff)}th.sticky-column,th.actionCol{background:linear-gradient(var(--fb-action-surface, #e0f2fe),var(--fb-action-surface, #e0f2fe)),var(--fb-surface, #ffffff)!important}.mat-sort-header-container{margin-left:5px}.body-color img{cursor:pointer}.head-color.action-size{color:var(--fb-text-primary, #0f172a);font-size:var(--fs-primary);font-weight:var(--fw-600)}.lop-input{border-radius:5px;color:var(--fb-text-primary, #0f172a);background-color:var(--fb-surface, #ffffff);font-weight:var(--fw-400);font-size:var(--fs-medium);transition:all .2s}::ng-deep [dir=rtl] .body-color img{margin-left:4px!important}@media screen and (min-width:600px){mat-table{font-weight:var(--fw-400);font-size:var(--fs-medium);color:var(--fb-text-primary, #0f172a)}}@media screen and (max-width:882px){mat-table{font-weight:var(--fw-400);font-size:var(--fs-medium);color:var(--fb-text-primary, #0f172a)}.mat-cell{padding:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-header-cell{padding:0}}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-right:24px}::ng-deep [dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type){padding-right:10px!important;padding-left:unset!important}.mat-sort-header-container.mat-focus-indicator.ng-tns-c139-34{margin-left:5px}.expense-file{font-size:var(--fs-small)}.expense-file:hover{font-style:italic;text-decoration:underline;color:var(--fb-action-hover, #00284d)}.expenseCon{background-color:var(--fb-surface-elevated, #ffffff);border:1px solid var(--fb-border-default, #e2e8f0);padding:5px;border-radius:3px}.hyper-link{text-decoration:none}.hyper-link:hover{color:var(--fb-action, #003566);text-decoration:underline}.clickable{cursor:pointer}.font-size-13{font-size:var(--fs-normal)}.weekoff-color{color:var(--fb-error, #ef4444)}.table-width{width:max-content}.on-edit:hover .edit-icon{visibility:visible}.edit-icon{visibility:hidden}.input-box{border:solid}.button-hov:hover{background:var(--fb-action, #003566);color:var(--fb-text-on-action, #ffffff)}.delete-icon{justify-content:center}.side-main-content{border-radius:10px}h2{font-size:28px}.list-group-item{margin-bottom:10px;padding:15px}.list-group-item p{margin-bottom:5px}.custom-badge{display:inline-block;width:50%;text-align:center;padding:.3em 0;margin-top:0!important}.bg-success{--bs-bg-opacity: 1;background-color:var(--fb-success-surface, #e6f4ea)!important;color:var(--fb-success-text, #137333)!important}.custom-search-button{background-color:var(--fb-action, #003566);color:var(--fb-text-on-action, #ffffff);border-radius:5px;font-size:var(--fs-normal);border:none}.custom-search-button:hover{background-color:var(--fb-action-hover, #00284d)}.custom-search-button:active{transform:translateY(0)}.table{border-top:1px solid var(--fb-border-default, #e2e8f0)}th,td{vertical-align:middle}.configSearch{height:22px;padding:3px;margin:10p;background-color:var(--fb-action, #003566);border-radius:4px}::ng-deep .table>:not(caption)>*>*{background-color:none!important;--bs-table-bg: var(--fb-surface, #ffffff) !important}.imgBtn{background-color:var(--fb-surface-secondary, #f8fafc);border-radius:var(--radius-small, 6px)}.imgBtnDiv{line-height:0px;padding:4px;border-radius:5px;border:1px solid var(--fb-border-default, #e2e8f0)}input::placeholder{font-size:var(--fs-small);font-weight:var(--fw-400);color:var(--fb-placeholder-text, #94a3b8)}::ng-deep .modal-backdrop{background-color:var(--fb-backdrop, #00000073)!important}::ng-deep .modal-backdrop.show{background-color:var(--fb-backdrop, #00000073)!important;opacity:1!important}::ng-deep .mat-sort-header-container .mat-sort-header-content span{color:var(--fb-text-primary, #0f172a)!important;font-weight:var(--fw-600)!important;font-size:var(--fs-primary)!important}::ng-deep .mat-mdc-cell{color:var(--fb-text-primary, #0f172a)!important;font-weight:var(--fw-400)!important;font-size:var(--fs-primary)!important;min-width:20px!important}.active-column{color:var(--fb-text-primary, #0f172a)!important;font-weight:var(--fw-600)!important;font-size:var(--fs-primary)!important}.hover-content{background:var(--fb-surface-elevated, #ffffff)}.position-relative{position:relative;display:inline-block}.filter-popup{position:absolute;top:100%;left:0;z-index:9998;background-color:var(--fb-surface-elevated, #ffffff);border:1px solid var(--fb-border-default, #e2e8f0);box-shadow:0 4px 12px var(--fb-backdrop, rgba(0, 0, 0, .08));padding:10px;min-width:200px}.spanFontSize{font-size:var(--fs-normal)}.mat-column-employees{width:200px;min-width:200px;padding-left:8px;height:57px;left:0!important}.text-start{font-size:var(--fs-normal)}.first-header-border{border-left:1px solid var(--fb-border-default, #e2e8f0)}tr{height:45px!important;text-wrap:nowrap!important}.field-input{width:min(220px,98%);min-height:50px}.svg-spinner{animation:rotate 1s linear infinite}.svg-spinner .path{stroke:var(--fb-action, #003566);stroke-linecap:round;stroke-dasharray:80 150;stroke-width:4}@keyframes rotate{to{transform:rotate(360deg)}}img{max-width:none!important;vertical-align:middle}::ng-deep .mat-mdc-row:hover,::ng-deep .mat-row:hover{background-color:var(--fb-row-hover, #f8fafc)!important}::ng-deep .mat-mdc-row:nth-child(2n),::ng-deep .mat-row:nth-child(2n){background-color:var(--fb-row-alternate, #fcfdfe)}::ng-deep .mat-mdc-row:hover td.sticky-column,::ng-deep .mat-row:hover td.sticky-column,::ng-deep .mat-mdc-row:hover td.actionCol,::ng-deep .mat-row:hover td.actionCol{background-color:var(--fb-row-hover, #f8fafc)!important}::ng-deep .mat-mdc-row:nth-child(2n) td.sticky-column,::ng-deep .mat-row:nth-child(2n) td.sticky-column,::ng-deep .mat-mdc-row:nth-child(2n) td.actionCol,::ng-deep .mat-row:nth-child(2n) td.actionCol{background-color:var(--fb-row-alternate, #fcfdfe)}\n"]
7319
7320
  }]
7320
7321
  }],
7321
7322
  ctorParameters: () => [
@@ -8062,8 +8063,8 @@ var AttendanceTableComponent = class AttendanceTableComponent {
8062
8063
  }],
8063
8064
  usesOnChanges: true,
8064
8065
  ngImport: i0,
8065
- template: "<!-- MR 10NOV26 Port exact DataTableTwoComponent template from host testMaster -->\n<div class=\"table-layout w-100\" [id]=\"tableId\">\n <div>\n <div class=\"d-flex justify-content-between\" style=\"padding-bottom: 5px\">\n <div class=\"d-flex\">\n <!-- SC19NOV2025 replace the month year seperate dropdown into month year picker -->\n <div class=\"picker-container\">\n <i class=\" arrow-btn fusion-icon fusion-icon-size-lg fusion-icon-arrow-left-1 nav-icon\"\n (click)=\"prevMonth()\" style=\"color: var(--fc-text-color-dar) !important;\"></i>\n <span class=\"month-label\" (click)=\"togglePopup()\">\n {{ months[selectedMonth] }} {{ selectedYear }}\n </span>\n <i class=\" arrow-btn fusion-icon fusion-icon-size-lg fusion-icon-arrow-right-1 nav-icon\"\n (click)=\"nextMonth()\" style=\"color: var(--fc-text-color-dar) !important;\"></i>\n </div>\n <div class=\"popup\" *ngIf=\"popupOpen\">\n <div class=\"year-section\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-arrow-left-1 nav-icon\" (click)=\"changeYear(-1)\"\n style=\"color: var(--fc-text-color-dar) !important;\"></i>\n <span>{{ selectedYear }}</span>\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-arrow-right-1 nav-icon\" (click)=\"changeYear(1)\"\n style=\"color: var(--fc-text-color-dar) !important;\"></i>\n </div>\n\n <div class=\"month-grid\">\n <div class=\"month-item\" *ngFor=\"let m of (monthArray && monthArray.length > 0 ? monthArray : months); let i = index\" [class.active]=\"i === selectedMonth\"\n (click)=\"selectMonth(i)\">\n {{ m | slice:0:3 }} </div>\n </div>\n </div>\n </div>\n <!-- SK10APR24 import and export button added inside table -->\n <div class=\"d-flex gap-2 align-items-center\">\n <div class=\"search\" *ngIf=\"searchBar\">\n <div class=\"search-bar\">\n <input type=\"text\" placeholder=\"{{ 'APP_HRM_ATTENDANCE_TABLE.SEARCH' | customTranslate : 'Search' }}\"\n matInput (keyup)=\"applyFilter($event)\" #input [value]=\"searchTextValue || ''\">\n <img class=\"card-btn\" src=\"../assets/images/icons/general/Search.svg\">\n </div>\n </div>\n <button *ngIf=\"isSandwichLeave && isCheckButton !== false\" class=\"btn btn-primary me-2\"\n (click)=\"confirmModal = true\">{{ 'APP_HRM_ATTENDANCE.CHECK' | customTranslate : 'Check' }}</button>\n <div class=\"flex\">\n <!-- MR 18OCT26 Add clear tooltips for Import and Export toolbar buttons -->\n <nxt-button class=\"data-table-fsbtn ms-2 me-2\" (buttonClickEmit)=\"commonButtonClick($event)\"\n [buttonType]=\"button?.class\" [buttonValue]=\"button?.namePath\" [buttonConfig]=\"button?.buttonConfig\"\n [type]=\"button?.type\" [btnIconLeftSrc]=\"button?.btnIconLeftSrc\"\n [isImageSvg]=\"button?.isImageSvg\">\n </nxt-button>\n </div>\n </div>\n </div>\n\n <!-- MR 18OCT26 Reposition legend to top bar with matching chips and contextual title -->\n <div class=\"d-flex justify-content-between align-items-center top-legend-bar\">\n <div class=\"d-flex align-items-center gap-3 flex-wrap\">\n <div class=\"d-flex align-items-center gap-1\">\n <span class=\"attendance-chip attendance-present\">&#10003;</span>\n <span class=\"legend-text\">{{ 'APP_HRM_ATTENDANCE_TABLE.PREsENT' | customTranslate : 'Present' }}</span>\n </div>\n <div class=\"d-flex align-items-center gap-1\">\n <span class=\"attendance-chip attendance-absent\">&#10005;</span>\n <span class=\"legend-text\">{{ 'APP_HRM_ATTENDANCE_TABLE.ABSENT' | customTranslate : 'Absent' }}</span>\n </div>\n <div class=\"d-flex align-items-center gap-1\">\n <span class=\"attendance-chip attendance-half\">½</span>\n <span class=\"legend-text\">{{ 'APP_HRM_ATTENDANCE_TABLE.HALF_DAY' | customTranslate : 'Half day' }}</span>\n </div>\n <div class=\"d-flex align-items-center gap-1\">\n <span class=\"attendance-chip attendance-holiday\">H</span>\n <span class=\"legend-text\">{{ 'APP_HRM_ATTENDANCE_TABLE.HOLIDAY' | customTranslate : 'Holiday' }}</span>\n </div>\n <div class=\"d-flex align-items-center gap-1\">\n <span class=\"attendance-chip attendance-weekoff\">-</span>\n <span class=\"legend-text\">{{ 'APP_HRM_ATTENDANCE_TABLE.WEEK_OFF' | customTranslate : 'Week Off' }}</span>\n </div>\n </div>\n <div class=\"table-subtitle\" *ngIf=\"titleOn && title\">\n {{ title | customTranslate : title }}\n </div>\n </div>\n\n <div class=\"table-margin\">\n <div class=\"table-container\">\n <!-- MR 18OCT26 Single unified MatTable eliminates header style discrepancy and checkbox shadow -->\n <table mat-table [dataSource]=\"dataSource\" [style.width]=\"tableWidth\" matSort class=\"mat-elevation-z8\">\n <!-- Checkbox Columns -->\n <!-- SK06MAR24 made checkbox sticky -->\n <ng-container *ngIf=\"withCheckBox\" matColumnDef=\"select\" sticky>\n <th mat-header-cell *matHeaderCellDef class=\"head-color sticky-column mat-column-select\">\n <mat-checkbox (change)=\"masterToggle()\" [checked]=\"selection.hasValue()\"\n [indeterminate]=\"selection.hasValue() && !isAllSelected()\">\n </mat-checkbox>\n </th>\n <td mat-cell *matCellDef=\"let row\" class=\"sticky-col sticky-select mat-column-select\">\n <ng-container *ngIf=\"!row?.isSkeleton; else skeletonSelect\">\n <mat-checkbox (click)=\"$event.stopPropagation()\"\n (change)=\"separateRowSelect(selection.toggle(row), row)\"\n [checked]=\"selection.isSelected(row)\">\n </mat-checkbox>\n </ng-container>\n <ng-template #skeletonSelect>\n <div class=\"skeleton\" style=\"width: 14px; height: 14px; border-radius: 2px; margin: 0 auto;\"></div>\n </ng-template>\n </td>\n </ng-container>\n <!-- data Columns -->\n <ng-container *ngFor=\"let column of displayedColumns; let i=index\" [matColumnDef]=\"column\"\n [sticky]=\"isColumnSticky(column)\" [stickyEnd]=\"column === 'summary' || i === (stickyCondition - 1)\">\n <!-- MR 18OCT26 Upgraded header with today accent, weekend shading, and weekday letter hierarchy -->\n <th mat-header-cell *matHeaderCellDef\n class=\"head-color ms-2 sticky-col {{ column != 'employeeDetail' ? 'th-td' : '' }} sticky-column\"\n [class.week-off]=\"isWeekend(column)\"\n (click)=\"$event.stopPropagation()\"\n style=\"padding: 0px !important;\">\n <div class=\"d-flex flex-column {{column === 'employeeDetail' ? 'align-items-start ps-2' : 'align-items-center'}}\">\n <ng-container *ngIf=\"column === 'employeeDetail'\">\n <span class=\"head-employee-label\">{{ 'APP_HRM_ATTENDANCE.EMPLOYEE' | customTranslate : 'Employee' }}</span>\n </ng-container>\n <ng-container *ngIf=\"column !== 'employeeDetail' && column !== 'summary'\">\n <span class=\"head-day-letter\" [class.head-muted]=\"isWeekend(column)\">\n {{ headerLabels && displayedColumns ? headerLabels[displayedColumns.indexOf(column)]?.day : '' }}\n </span>\n <span class=\"head-date-num\" [class.head-today]=\"isToday(column)\" [class.head-muted]=\"isWeekend(column)\">\n {{ headerLabels && displayedColumns ? headerLabels[displayedColumns.indexOf(column)]?.date : '' }}\n </span>\n </ng-container>\n <ng-container *ngIf=\"column === 'summary'\">\n <span class=\"head-day-letter\" title=\"Present / Working Days\">{{ 'APP_HRM_ATTENDANCE_TABLE.DAYS' | customTranslate : 'Days' }}</span>\n <i class=\"fusion-icon fusion-icon-size-md fusion-icon-attendance nav-icon mt-1\" style=\"color: var(--label-text-color);\" title=\"Present / Working Days\"></i>\n </ng-container>\n </div>\n </th>\n <!-- MR 18OCT26 Attendance body cell with initials avatar, softened chips, weekend suppression, and summary pill -->\n <td mat-cell class=\"body-color {{ column != 'employeeDetail' ? 'th-td' : '' }}\"\n [class.week-off]=\"isWeekend(column)\"\n style=\"text-align: center; padding: 0px !important;\" *matCellDef=\"let element\">\n <ng-container *ngIf=\"!element?.isSkeleton; else skeletonCell\">\n <!-- Employee Detail Column with Avatar and Metadata -->\n <div *ngIf=\"column === 'employeeDetail'\" class=\"emp-cell-container\">\n <div class=\"emp-avatar\">\n {{ getInitials(element[column]?.empName || element.employeeName || element.name) }}\n </div>\n <div class=\"emp-meta\">\n <div class=\"emp-name-row\">\n <span class=\"emp-name\" [class.hyper-link]=\"hyperLinkColumns.includes(column)\"\n (click)=\"hyperLinkColumns.includes(column) ? hyperLinkClick(element, column, i) : ''\"\n [title]=\"element[column]?.empName || element.employeeName || element.name\">\n {{ element[column]?.empName || element.employeeName || element.name }}\n </span>\n <span *ngIf=\"element[column]?.empId || element.employeeId || element.empId\" class=\"emp-id-tag\">\n {{ element[column]?.empId || element.employeeId || element.empId }}\n </span>\n </div>\n <div class=\"emp-sub-row\" [title]=\"(element[column]?.desig || element.designation || '') + ((element[column]?.loc || element.location) ? (', ' + (element[column]?.loc || element.location)) : '')\">\n <span>{{ element[column]?.desig || element.designation }}</span>\n <span *ngIf=\"(element[column]?.desig || element.designation) && (element[column]?.loc || element.location)\">, </span>\n <span>{{ element[column]?.loc || element.location }}</span>\n </div>\n </div>\n </div>\n\n <!-- Summary Pill Column -->\n <div *ngIf=\"column === 'summary'\" class=\"flex justify-center\">\n <span class=\"summary-pill\" [class.summary-pill--target]=\"isNearTarget(element.workingDays ?? element.presentDays, element.totalCompanyWorkingDays ?? element.totalWorkingDays)\"\n [title]=\"'Present: ' + (element.workingDays ?? element.presentDays ?? 0) + ' / Total Working Days: ' + (element.totalCompanyWorkingDays ?? element.totalWorkingDays ?? 0)\">\n {{element.workingDays ?? element.presentDays ?? 0}}/{{element.totalCompanyWorkingDays ?? element.totalWorkingDays ?? 0}}\n </span>\n </div>\n\n <!-- Attendance Day Columns -->\n <div *ngIf=\"column != 'summary' && column != 'employeeDetail' && column != 'employeeName' && column != 'employeeId' && column != 'designation' && column != 'location'\"\n (click)=\"doubleClickFunction(element, column, element[column])\">\n <!-- Weekend column with weekoff status: suppress chip, show subtle dash -->\n <ng-container *ngIf=\"isWeekend(column) && (!element?.[column]?.['value'] || ['weekoff'].includes((element?.[column]?.['value']?.status || '').toLowerCase()) || element?.[column]?.['value'] === '')\">\n <span class=\"att-dash\">-</span>\n </ng-container>\n\n <!-- Non-weekend future day without data: faint dot -->\n <ng-container *ngIf=\"!isWeekend(column) && isFutureDate(column) && (!element?.[column]?.['value'] || element?.[column]?.['value'] === '' || element?.[column]?.['value']?.status === 'Nil')\">\n <span class=\"att-future\">·</span>\n </ng-container>\n\n <!-- Non-weekend past day with missing log: subtle dashed outline -->\n <ng-container *ngIf=\"!isWeekend(column) && !isFutureDate(column) && (!element?.[column]?.['value'] || element?.[column]?.['value'] === '' || element?.[column]?.['value']?.status === 'Nil')\">\n <span class=\"att-missing\" title=\"No Record\"></span>\n </ng-container>\n\n <!-- Present State -->\n <span *ngIf=\"element?.[column]?.['value'] && ['present'].includes((element?.[column]?.['value']?.status || '').toLowerCase()) && element?.[column]?.['value']?.halfDay === false\"\n class=\"attendance-chip attendance-present\" title=\"Present\">&#10003;</span>\n\n <!-- Review State -->\n <span *ngIf=\"element?.[column]?.['value'] && ['review'].includes((element?.[column]?.['value']?.status || '').toLowerCase()) && element?.[column]?.['value']?.halfDay === false\"\n class=\"attendance-chip attendance-review\" title=\"Review\">!</span>\n\n <!-- Absent / Leave State -->\n <span *ngIf=\"element?.[column]?.['value'] && (isLeaveType(element?.[column]?.['value']?.status) && (element?.[column]?.['value']?.halfDay !== true) || element?.[column]?.['value']?.isSplitLeave)\"\n class=\"attendance-chip attendance-absent\" [title]=\"element?.[column]?.['value']?.status || 'Absent'\">&#10005;</span>\n\n <!-- Holiday State -->\n <span *ngIf=\"element?.[column]?.['value'] && ['holiday'].includes((element?.[column]?.['value']?.status || '').toLowerCase())\"\n class=\"attendance-chip attendance-holiday\" title=\"Holiday\">H</span>\n\n <!-- Half Day State -->\n <span *ngIf=\"element?.[column]?.['value']?.halfDay === true && !element?.[column]?.['value']?.isSplitLeave\"\n class=\"attendance-chip attendance-half\" title=\"Half Day\">½</span>\n\n <!-- Week Off State on non-weekend columns -->\n <span *ngIf=\"!isWeekend(column) && element?.[column]?.['value'] && ['weekoff'].includes((element?.[column]?.['value']?.status || '').toLowerCase())\"\n class=\"attendance-chip attendance-weekoff\" title=\"Week Off\">-</span>\n\n <!-- Total Hours or Numeric Values -->\n <div *ngIf=\"column === 'totalHours'\" style=\"font-size: var(--fs-small); color: var(--label-text-color); font-weight: var(--fw-600);\">\n {{element?.[column]?.['value']}}\n </div>\n <div *ngIf=\"containsOnlyNumbers(element?.[column]?.['value'])\" style=\"font-size: var(--fs-small); color: var(--label-text-color); font-weight: var(--fw-600);\">\n {{element?.[column]?.['value']}}\n </div>\n </div>\n </ng-container>\n\n <!-- Skeleton Loader Cell matching new layout -->\n <ng-template #skeletonCell>\n <div *ngIf=\"column === 'employeeDetail'\" class=\"emp-cell-container\">\n <div class=\"skeleton\" style=\"width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;\"></div>\n <div class=\"emp-meta\" style=\"flex: 1;\">\n <div class=\"skeleton skeleton-text\" style=\"width: 120px; height: 12px; margin-bottom: 4px; border-radius: 2px;\"></div>\n <div class=\"skeleton skeleton-text\" style=\"width: 80px; height: 10px; border-radius: 2px;\"></div>\n </div>\n </div>\n <div *ngIf=\"column === 'summary'\" class=\"flex justify-center\">\n <div class=\"skeleton skeleton-text\" style=\"width: 36px; height: 16px; margin: 0 auto; border-radius: 20px;\"></div>\n </div>\n <div *ngIf=\"column != 'employeeDetail' && column != 'summary'\" class=\"flex justify-center\">\n <div class=\"skeleton\" style=\"width: 22px; height: 22px; border-radius: 6px; margin: 0 auto;\"></div>\n </div>\n </ng-template>\n </td>\n </ng-container>\n <!-- Render the columns -->\n <div [ngSwitch]=\"renderColumns\">\n <div *ngSwitchCase=\"'select'\">\n <tr mat-header-row *matHeaderRowDef=\"['select'].concat(displayedColumns) sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: ['select'].concat(displayedColumns)\"\n (click)=\"tableClick(row)\">\n </tr>\n </div>\n <div *ngSwitchDefault>\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns\" (click)=\"tableClick(row)\"></tr>\n </div>\n </div>\n <!-- SKS10FEB26 No Data Row -->\n <tr class=\"mat-row\" *matNoDataRow>\n <td class=\"mat-cell\" [attr.colspan]=\"displayedColumns.length + 1\">\n <div class=\"flex\" style=\"display: flex; justify-content: center; align-items: center; height: 100px;\">\n <div>\n No data/ records found\n </div>\n </div>\n </td>\n </tr>\n </table>\n </div>\n <div class=\"d-flex justify-content-end Legend-div\">\n <mat-paginator #paginator [pageSizeOptions]=\"itemsPerPage\" [length]=\"totalCount\" [pageSize]=\"pageSize\"\n [pageIndex]=\"pageIndex\" showFirstLastButtons (page)=\"pageParams($event)\"></mat-paginator>\n </div>\n </div>\n </div>\n</div>\n\n\n<!-- SK03OCT24 side screen for filter while export button clicked -->\n<app-common-screen *ngIf=\"exportSidescreen\" headerTitle=\"Export Data\"\n (sideScreenEmittedEvent)=\"exportSidescreen = false\">\n <div class=\"side-main-content\">\n <!-- MY 15OCT26 export file button loader -->\n <div\n class=\"d-flex align-items-center flex-row p-3 justify-content-center cursor-pointer short-button-white-bg button-hov\"\n [class.disabled]=\"exportButtonLoadingSpinner\"\n (click)=\"!exportButtonLoadingSpinner ? exportButtonSideNav() : null\">\n <div *ngIf=\"exportButtonLoadingSpinner\" class=\"spinner-grow spinner-grow-sm me-2\" role=\"status\" aria-hidden=\"true\"></div>\n <img *ngIf=\"!exportButtonLoadingSpinner\" src=\"../assets/images/icons/general/upload-icon.svg \" class=\"card-icon color me-1\"\n title=\"download\">\n <div>{{ exportButtonLoadingSpinner ? (('APP_SETTINGS_APPS.LOADING' | customTranslate : 'Loading') + '...') : ('APP_HRM_ATTENDANCE_TABLE.EXPORT_FILE' | customTranslate : 'Export File') }}</div>\n </div>\n <!-- SK03OCT24 components to be displayed in side screen -->\n <div *ngFor=\"let type of filterScreenConfigs\">\n <!-- MY 15OCT26 pass button loader state to multi-checkbox and multiple-filter -->\n <app-multi-checkbox *ngIf=\"type.type === 'multipleCheckBox' \" class=\"ms-2 me-2\"\n [label]=\"type?.labelPath || type?.label | customTranslate : type?.label\" [cardSize]=\"type?.cardSize\"\n [cardInlineSize]=\"type?.cardInlineSize\" [checkboxList]=\"type?.checkboxList\"\n [activeCheckboxList]=\"type?.activeCheckboxList\" [buttonList]=\"type?.buttons\"\n [displayValues]=\"type?.displayValues\" [componentData]=\"type\" [checkBoxStyles]=\"type?.checkBoxStyles\"\n [isButtonLoadingSpinner]=\"type?.isButtonLoadingSpinner || false\"\n (compDataEmit)=\"exportFieldsButtonEmit($event)\">\n </app-multi-checkbox>\n <app-multiple-filter *ngIf=\"type.type === 'multipleFilter' \" class=\"ms-2 me-2\" [isDateFilter]=\"type?.isDateFilter\"\n [label]=\"type?.labelPath || type?.label | customTranslate : type?.label\" [cardSize]=\"type?.cardSize\"\n [cardInlineSize]=\"type?.cardInlineSize\" [buttonList]=\"type?.buttons\" [displayValues]=\"type?.displayValues\"\n [componentData]=\"type\" [checkBoxStyles]=\"type?.checkBoxStyles\" [selectionData]=\"type?.selectionData\"\n [isButtonLoadingSpinner]=\"type?.isButtonLoadingSpinner || false\"\n (compDataEmit)=\"exportFilterButtonEmit($event)\" (selectedValuesEmit)=\"selectedValuesEmit($event)\"\n (filterDateEmit)=\"filterDateEmit($event)\">\n </app-multiple-filter>\n </div>\n </div>\n</app-common-screen>\n\n<!-- SK24OCT25 Sandwich confirm pop up -->\n<div *ngIf=\"confirmModal\" class=\"modal modal-backdrop show d-block\" id=\"confirmRecord\" tabindex=\"-1\"\n aria-labelledby=\"confirmRecordLabel\" [attr.aria-hidden]=\"!confirmModal\">\n <div class=\"modal-dialog\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <b class=\"modal-title fs-5\" id=\"confirmRecordLabel\">{{'APP.CONFIRM_SADWICH' | customTranslate : 'Confirm Sandwich'}}</b>\n <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"\n (click)=\"confirmModal = false\"></button>\n </div>\n <div class=\"modal-body\">\n {{'APP.ARE_YOU_SURE_YOU_WANT_TO_CONVERT_THE_SANDWICH' | customTranslate : 'Are you sure want to convert sandwich leaves for the month'}} ?\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\" class=\"btn btn-primary\" data-bs-dismiss=\"modal\" aria-label=\"Close\"\n (click)=\"!buttonLoadingSpinner ? checkButtonClicked() : null\">\n <span class=\"{{ buttonLoadingSpinner ? 'spinner-grow' : '' }} spinner-grow-sm\" role=\"buttonValue\"\n aria-hidden=\"true\"></span>\n <span>{{ buttonLoadingSpinner ? ('APP_SETTINGS_APPS.LOADING' | customTranslate : 'Loading') + '...' :\n ('APP.YES' | customTranslate : 'Yes') }}\n </span>\n </button>\n <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\"\n (click)=\"confirmModal = false\">{{'APP.NO' | customTranslate : 'No'}}</button>\n </div>\n </div>\n </div>\n</div>\n",
8066
- styles: [".table-wrapper{overflow-x:auto;max-width:100%}.table-container{max-height:600px;overflow-y:auto;display:block;width:100%}.table-layout{background:var(--fb-surface, #ffffff);border-radius:8px}.th{border-bottom:1px solid var(--fb-border-default, #e2e8f0);font-weight:var(--fw-600);font-size:var(--fs-normal);line-height:21px;color:var(--fb-text-primary, #0f172a)}.head-color{background:var(--fb-action-surface, #e0f2fe)!important;color:var(--fb-text-primary, #0f172a)!important}.body-color{color:var(--fb-text-primary, #0f172a);cursor:default}.search{display:flex;justify-content:space-between;border:1px solid var(--fb-border-default, #e2e8f0);background:var(--fb-surface, #ffffff);border-radius:6px;align-self:center}.search-bar{display:flex;flex-direction:row;align-items:center;width:100%;margin:5px}.card-btn{height:18px;width:18px}td.mat-cell:last-of-type{padding:8px;font-size:var(--fs-medium)}.table-title{font-weight:var(--fw-600);font-size:var(--fs-medium)}.search-component{top:20px;width:max-content;right:-30%}.sticky-column{background:var(--fb-surface, #ffffff)}.mat-sort-header-container{margin-left:5px}.body-color img{width:25px;padding:5px;cursor:pointer}.head-color.action-size{color:var(--fb-text-primary, #0f172a);font-size:var(--fs-primary);font-weight:var(--fw-600)}.lop-input{border:none;color:var(--fb-text-primary, #0f172a);max-width:50px}.mat-cell{padding:8px;white-space:nowrap;text-overflow:ellipsis}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-right:24px}::ng-deep [dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type){padding-right:10px!important;padding-left:unset!important}.mat-sort-header-container.mat-focus-indicator.ng-tns-c139-34{margin-left:5px}.mat-column-select{width:44px!important;min-width:44px!important;max-width:44px!important;text-align:center;padding:0!important;overflow:clip!important;text-overflow:clip!important}.mat-column-employeeDetail{width:260px!important;min-width:260px!important;max-width:260px!important;left:44px!important;padding-left:8px!important;padding-right:8px!important}.mat-column-summary{width:64px!important;min-width:64px!important;max-width:64px!important;text-align:center;padding:0 4px!important}.th-td{width:36px!important;min-width:36px!important;max-width:36px!important;text-align:center;padding:0!important}::ng-deep .mdc-data-table__cell,.mdc-data-table__header-cell{padding:0!important}::ng-deep .mat-mdc-checkbox-touch-target{height:28px!important}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding:0 8px}.mat-row{height:56px!important;min-height:56px!important;transition:background-color .15s ease}.mat-row:hover,.mat-row:hover .sticky-column,.mat-row:hover .sticky-col{background-color:var(--fb-row-hover, #f8fafc)!important}.mat-cell{height:56px!important;padding:0 2px!important;white-space:nowrap;color:var(--fb-text-primary, #0f172a)}.mat-header-row{height:52px!important;position:sticky;top:0;background:var(--fb-action-surface, #e0f2fe);z-index:20;border-bottom:1px solid var(--fb-border-default, #e2e8f0);color:var(--fb-text-primary, #0f172a)}.sticky-select .mdc-checkbox{opacity:.55;transition:opacity .15s ease}.mat-row:hover .sticky-select .mdc-checkbox,.sticky-select .mdc-checkbox--selected,.sticky-select .mdc-checkbox--indeterminate{opacity:1!important}.week-off{background:var(--week-off, #f8fafc)!important}.holiday{background:color-mix(in srgb,var(--holiday, #0284c7),var(--comp-bg-color, #ffffff) 88%)!important;color:var(--holiday, #0284c7)}.attendance-chip{width:22px;height:22px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;font-size:var(--fs-Usmall, 11px);font-weight:var(--fw-600, 600);cursor:pointer;transition:transform .1s ease;-webkit-user-select:none;user-select:none}.attendance-chip:hover{transform:scale(1.1)}.attendance-chip.attendance-present{background:color-mix(in srgb,var(--attendance-present, #16a34a),var(--comp-bg-color, #ffffff) 88%);color:var(--attendance-present, #16a34a)}.attendance-chip.attendance-absent{background:color-mix(in srgb,var(--attendance-absent, #ef4444),var(--comp-bg-color, #ffffff) 88%);color:var(--attendance-absent, #ef4444)}.attendance-chip.attendance-half{background:color-mix(in srgb,var(--attendance-half, #f59e0b),var(--comp-bg-color, #ffffff) 85%);color:color-mix(in srgb,var(--attendance-half, #f59e0b),black 45%)}.attendance-chip.attendance-holiday{background:color-mix(in srgb,var(--holiday, #0284c7),var(--comp-bg-color, #ffffff) 88%);color:var(--holiday, #0284c7)}.attendance-chip.attendance-review{background:color-mix(in srgb,var(--clr-warning, #f59e0b),var(--comp-bg-color, #ffffff) 85%);color:var(--clr-warning, #f59e0b)}.attendance-chip.attendance-weekoff{background:color-mix(in srgb,var(--attendance-weekoff, #64748b),var(--comp-bg-color, #ffffff) 90%);color:var(--attendance-weekoff, #64748b)}.att-missing{width:20px;height:20px;border:1px dashed color-mix(in srgb,var(--border-color, #e2e8f0),black 15%);border-radius:6px;display:inline-block}.att-future{color:var(--fc-text-color-light, #94a3b8);font-size:16px;line-height:1;display:inline-block;opacity:.5}.att-dash{color:var(--label-text-color-light, #64748b);font-size:14px}.emp-cell-container{display:flex;align-items:center;gap:10px;width:100%;padding:0 4px}.emp-avatar{width:32px;height:32px;min-width:32px;border-radius:50%;font-size:var(--fs-small, 12px);font-weight:var(--fw-600, 600);background:var(--fb-action-surface, #e0f2fe);color:var(--fb-action, #003566);display:flex;align-items:center;justify-content:center;flex-shrink:0}.emp-meta{display:flex;flex-direction:column;overflow:hidden;text-align:left;line-height:1.25;min-width:0}.emp-name-row{display:flex;align-items:center;gap:6px;overflow:hidden}.emp-name{font-size:var(--fs-normal, 13px);font-weight:var(--fw-600, 600);color:var(--fc-text-color-dark, #0f172a);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.emp-id-tag{font-size:var(--fs-Usmall, 11px);font-weight:var(--fw-500, 500);background:var(--hover-module-bg, #f1f5f9);color:var(--label-text-color, #475569);padding:1px 5px;border-radius:4px;border:1px solid var(--border-color, #e2e8f0);flex-shrink:0}.emp-sub-row{font-size:var(--fs-Usmall, 11px);color:var(--label-text-color-light, #64748b);font-weight:var(--fw-500, 500);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}.summary-pill{padding:2px 8px;border-radius:20px;font-size:var(--fs-Usmall, 11px);font-weight:var(--fw-600, 600);background:var(--hover-module-bg, #f1f5f9);color:var(--label-text-color, #475569);border:1px solid var(--border-color, #e2e8f0);display:inline-block;white-space:nowrap}.summary-pill--target{background:color-mix(in srgb,var(--attendance-present, #16a34a),var(--comp-bg-color, #ffffff) 88%);color:var(--attendance-present, #16a34a);border-color:color-mix(in srgb,var(--attendance-present, #16a34a),var(--comp-bg-color, #ffffff) 70%)}.head-employee-label{font-size:var(--fs-small, 12px);font-weight:var(--fw-600, 600);color:var(--fc-text-color-dark, #0f172a)}.head-day-letter{font-size:var(--fs-Usmall, 11px);color:var(--fc-text-color-light, #64748b);font-weight:var(--fw-500, 500);line-height:1;text-transform:uppercase}.head-date-num{font-size:var(--fs-normal, 13px);font-weight:var(--fw-600, 600);color:var(--fc-text-color-dark, #0f172a);line-height:1.4;margin-top:2px}.head-today{background:var(--fb-action, #003566)!important;color:var(--fb-text-on-action, #ffffff)!important;border-radius:50%;width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center}.head-muted{color:var(--fb-text-muted, #94a3b8)!important}.top-legend-bar{border-top:1px solid var(--fb-border-default, #e2e8f0);padding:8px 12px;font-size:var(--fs-small, 12px);background:var(--fb-surface, #ffffff)}.legend-text{font-size:var(--fs-small, 12px);color:var(--fc-text-color-dark, #0f172a);font-weight:var(--fw-500, 500)}.table-subtitle{font-size:var(--fs-normal, 13px);color:var(--label-text-color-light, #64748b);font-weight:var(--fw-500, 500)}@media screen and (min-width:600px){mat-table{font-size:18px}}@media screen and (max-width:882px){mat-table{font-size:var(--fs-medium)}.mat-column-name,.mat-column-weight{display:none}.mat-header-cell{padding:8px}}.hyper-link{text-decoration:none}.hyper-link:hover{color:var(--fb-action, #003566);text-decoration:underline;cursor:pointer}.button-hov:hover{background:var(--fb-action, #003566);color:var(--fb-text-on-action, #ffffff)}.btn-primary{color:var(--fb-text-on-action, #ffffff)!important;background-color:var(--fb-action, #003566)!important;border-color:var(--fb-action, #003566)!important;padding:4px 9px;border-radius:.375rem}.btn-primary:hover{color:var(--fb-text-on-action, #ffffff)!important;background-color:var(--fb-action-hover, #00284d)!important;border-color:var(--fb-action-hover, #00284d)!important}.btn-primary:active,.btn-primary.active,.show>.btn-primary.dropdown-toggle{color:var(--fb-text-on-action, #ffffff)!important;background-color:var(--fb-action-pressed, #001f3f)!important;border-color:var(--fb-action-pressed, #001f3f)!important}.btn-primary:disabled,.btn-primary.disabled{color:var(--fb-text-disabled, #94a3b8)!important;background-color:var(--fb-action-disabled, #e2e8f0)!important;border-color:var(--fb-action-disabled, #e2e8f0)!important}::ng-deep .clickable-img{height:36px!important;transition:unset!important;border:unset!important;border-radius:0!important}::ng-deep nxt-button.ms-2,::ng-deep nxt-button.me-2{margin-left:0!important;margin-right:0!important}.body-color img{border-radius:8px!important}.modal-backdrop{opacity:.9}.mat-table{width:100%;border-spacing:0}.mat-header-row{position:sticky;top:0;background:var(--fb-action-surface, #e0f2fe);color:var(--fb-text-primary, #0f172a);z-index:2}.picker-container{display:flex;align-items:center;font-size:18px;font-weight:600;border:1px solid var(--fb-border-default, #e2e8f0);border-radius:8px}.month-label{cursor:pointer;min-width:100px;text-align:center;font-size:var(--fs-medium, 14px)}.arrow-btn{border:none;background:transparent;font-size:20px;cursor:pointer}.popup{position:absolute;margin-top:45px;background:var(--fb-surface-elevated, #ffffff);padding:15px;box-shadow:0 4px 12px var(--fb-backdrop, rgba(0,0,0,.12));border-radius:var(--radius-medium, 8px);width:200px;z-index:1000}.year-section{display:flex;justify-content:center;align-items:center;gap:12px;margin-bottom:10px;font-size:var(--fs-medium, 14px)}.year-section button{background:var(--fb-surface-secondary, #f8fafc);color:var(--fb-text-primary, #0f172a);border:none;padding:3px 8px;font-size:14px;cursor:pointer}.month-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;font-size:var(--fs-medium, 14px)}.month-item{padding:6px;border-radius:4px;text-align:center;cursor:pointer;background-color:var(--fb-surface-secondary, #f8fafc)}.month-item.active{background:var(--fb-action, #003566);color:var(--fb-text-on-action, #ffffff)}.Legend-font{font-size:var(--fs-normal, 13px)}.table-margin,.Legend-div{border-top:solid .5px var(--fb-border-default, #e2e8f0)}.sticky-checkbox{position:sticky;left:0;z-index:1000;background:var(--fb-surface, #ffffff);min-width:48px;width:48px}th.sticky-checkbox{z-index:1100}\n"],
8066
+ template: "<!-- MR 10NOV26 Port exact DataTableTwoComponent template from host testMaster -->\n<div class=\"table-layout w-100\" [id]=\"tableId\">\n <div>\n <div class=\"d-flex justify-content-between\" style=\"padding-bottom: 5px\">\n <div class=\"d-flex\">\n <!-- SC19NOV2025 replace the month year seperate dropdown into month year picker -->\n <div class=\"picker-container\">\n <i class=\" arrow-btn fusion-icon fusion-icon-size-lg fusion-icon-arrow-left-1 nav-icon\"\n (click)=\"prevMonth()\" style=\"color: var(--fc-text-color-dar) !important;\"></i>\n <span class=\"month-label\" (click)=\"togglePopup()\">\n {{ months[selectedMonth] }} {{ selectedYear }}\n </span>\n <i class=\" arrow-btn fusion-icon fusion-icon-size-lg fusion-icon-arrow-right-1 nav-icon\"\n (click)=\"nextMonth()\" style=\"color: var(--fc-text-color-dar) !important;\"></i>\n </div>\n <div class=\"popup\" *ngIf=\"popupOpen\">\n <div class=\"year-section\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-arrow-left-1 nav-icon\" (click)=\"changeYear(-1)\"\n style=\"color: var(--fc-text-color-dar) !important;\"></i>\n <span>{{ selectedYear }}</span>\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-arrow-right-1 nav-icon\" (click)=\"changeYear(1)\"\n style=\"color: var(--fc-text-color-dar) !important;\"></i>\n </div>\n\n <div class=\"month-grid\">\n <div class=\"month-item\" *ngFor=\"let m of (monthArray && monthArray.length > 0 ? monthArray : months); let i = index\" [class.active]=\"i === selectedMonth\"\n (click)=\"selectMonth(i)\">\n {{ m | slice:0:3 }} </div>\n </div>\n </div>\n </div>\n <!-- SK10APR24 import and export button added inside table -->\n <div class=\"d-flex gap-2 align-items-center\">\n <div class=\"search\" *ngIf=\"searchBar\">\n <div class=\"search-bar\">\n <input type=\"text\" placeholder=\"{{ 'APP_HRM_ATTENDANCE_TABLE.SEARCH' | customTranslate : 'Search' }}\"\n matInput (keyup)=\"applyFilter($event)\" #input [value]=\"searchTextValue || ''\">\n <img class=\"card-btn\" src=\"../assets/images/icons/general/Search.svg\">\n </div>\n </div>\n <button *ngIf=\"isSandwichLeave && isCheckButton !== false\" class=\"btn btn-primary me-2\"\n (click)=\"confirmModal = true\">{{ 'APP_HRM_ATTENDANCE.CHECK' | customTranslate : 'Check' }}</button>\n <div class=\"flex\">\n <!-- MR 18OCT26 Add clear tooltips for Import and Export toolbar buttons -->\n <nxt-button class=\"data-table-fsbtn ms-2 me-2\" (buttonClickEmit)=\"commonButtonClick($event)\"\n [buttonType]=\"button?.class\" [buttonValue]=\"button?.namePath\" [buttonConfig]=\"button?.buttonConfig\"\n [type]=\"button?.type\" [btnIconLeftSrc]=\"button?.btnIconLeftSrc\"\n [isImageSvg]=\"button?.isImageSvg\">\n </nxt-button>\n </div>\n </div>\n </div>\n\n <!-- MR 18OCT26 Reposition legend to top bar with matching chips and contextual title -->\n <div class=\"d-flex justify-content-between align-items-center top-legend-bar\">\n <div class=\"d-flex align-items-center gap-3 flex-wrap\">\n <div class=\"d-flex align-items-center gap-1\">\n <span class=\"attendance-chip attendance-present\">&#10003;</span>\n <span class=\"legend-text\">{{ 'APP_HRM_ATTENDANCE_TABLE.PREsENT' | customTranslate : 'Present' }}</span>\n </div>\n <div class=\"d-flex align-items-center gap-1\">\n <span class=\"attendance-chip attendance-absent\">&#10005;</span>\n <span class=\"legend-text\">{{ 'APP_HRM_ATTENDANCE_TABLE.ABSENT' | customTranslate : 'Absent' }}</span>\n </div>\n <div class=\"d-flex align-items-center gap-1\">\n <span class=\"attendance-chip attendance-half\">½</span>\n <span class=\"legend-text\">{{ 'APP_HRM_ATTENDANCE_TABLE.HALF_DAY' | customTranslate : 'Half day' }}</span>\n </div>\n <div class=\"d-flex align-items-center gap-1\">\n <span class=\"attendance-chip attendance-holiday\">H</span>\n <span class=\"legend-text\">{{ 'APP_HRM_ATTENDANCE_TABLE.HOLIDAY' | customTranslate : 'Holiday' }}</span>\n </div>\n <div class=\"d-flex align-items-center gap-1\">\n <span class=\"attendance-chip attendance-weekoff\">-</span>\n <span class=\"legend-text\">{{ 'APP_HRM_ATTENDANCE_TABLE.WEEK_OFF' | customTranslate : 'Week Off' }}</span>\n </div>\n </div>\n <div class=\"table-subtitle\" *ngIf=\"titleOn && title\">\n {{ title | customTranslate : title }}\n </div>\n </div>\n\n <div class=\"table-margin\">\n <div class=\"table-container\">\n <!-- MR 18OCT26 Single unified MatTable eliminates header style discrepancy and checkbox shadow -->\n <table mat-table [dataSource]=\"dataSource\" [style.width]=\"tableWidth\" matSort class=\"mat-elevation-z8\">\n <!-- Checkbox Columns -->\n <!-- SK06MAR24 made checkbox sticky -->\n <ng-container *ngIf=\"withCheckBox\" matColumnDef=\"select\" sticky>\n <th mat-header-cell *matHeaderCellDef class=\"head-color sticky-column mat-column-select\">\n <mat-checkbox (change)=\"masterToggle()\" [checked]=\"selection.hasValue()\"\n [indeterminate]=\"selection.hasValue() && !isAllSelected()\">\n </mat-checkbox>\n </th>\n <td mat-cell *matCellDef=\"let row\" class=\"sticky-col sticky-select mat-column-select\">\n <ng-container *ngIf=\"!row?.isSkeleton; else skeletonSelect\">\n <mat-checkbox (click)=\"$event.stopPropagation()\"\n (change)=\"separateRowSelect(selection.toggle(row), row)\"\n [checked]=\"selection.isSelected(row)\">\n </mat-checkbox>\n </ng-container>\n <ng-template #skeletonSelect>\n <div class=\"skeleton\" style=\"width: 14px; height: 14px; border-radius: 2px; margin: 0 auto;\"></div>\n </ng-template>\n </td>\n </ng-container>\n <!-- data Columns -->\n <ng-container *ngFor=\"let column of displayedColumns; let i=index\" [matColumnDef]=\"column\"\n [sticky]=\"isColumnSticky(column)\" [stickyEnd]=\"column === 'summary' || i === (stickyCondition - 1)\">\n <!-- MR 18OCT26 Upgraded header with today accent, weekend shading, and weekday letter hierarchy -->\n <th mat-header-cell *matHeaderCellDef\n class=\"head-color ms-2 sticky-col {{ column != 'employeeDetail' ? 'th-td' : '' }} sticky-column\"\n [class.week-off]=\"isWeekend(column)\"\n (click)=\"$event.stopPropagation()\"\n style=\"padding: 0px !important;\">\n <div class=\"d-flex flex-column {{column === 'employeeDetail' ? 'align-items-start ps-2' : 'align-items-center'}}\">\n <ng-container *ngIf=\"column === 'employeeDetail'\">\n <span class=\"head-employee-label\">{{ 'APP_HRM_ATTENDANCE.EMPLOYEE' | customTranslate : 'Employee' }}</span>\n </ng-container>\n <ng-container *ngIf=\"column !== 'employeeDetail' && column !== 'summary'\">\n <span class=\"head-day-letter\" [class.head-muted]=\"isWeekend(column)\">\n {{ headerLabels && displayedColumns ? headerLabels[displayedColumns.indexOf(column)]?.day : '' }}\n </span>\n <span class=\"head-date-num\" [class.head-today]=\"isToday(column)\" [class.head-muted]=\"isWeekend(column)\">\n {{ headerLabels && displayedColumns ? headerLabels[displayedColumns.indexOf(column)]?.date : '' }}\n </span>\n </ng-container>\n <ng-container *ngIf=\"column === 'summary'\">\n <span class=\"head-day-letter\" title=\"Present / Working Days\">{{ 'APP_HRM_ATTENDANCE_TABLE.DAYS' | customTranslate : 'Days' }}</span>\n <i class=\"fusion-icon fusion-icon-size-md fusion-icon-attendance nav-icon mt-1\" style=\"color: var(--label-text-color);\" title=\"Present / Working Days\"></i>\n </ng-container>\n </div>\n </th>\n <!-- MR 18OCT26 Attendance body cell with initials avatar, softened chips, weekend suppression, and summary pill -->\n <!-- MR 16NOV26 Prevent sticky column bleed-through with opaque layered surface tokens -->\n <td mat-cell class=\"body-color {{ column != 'employeeDetail' ? 'th-td' : '' }}\"\n [class.sticky-column]=\"isColumnSticky(column) || column === 'summary' || i === (stickyCondition - 1)\"\n [class.week-off]=\"isWeekend(column)\"\n style=\"text-align: center; padding: 0px !important;\" *matCellDef=\"let element\">\n <ng-container *ngIf=\"!element?.isSkeleton; else skeletonCell\">\n <!-- Employee Detail Column with Avatar and Metadata -->\n <div *ngIf=\"column === 'employeeDetail'\" class=\"emp-cell-container\">\n <div class=\"emp-avatar\">\n {{ getInitials(element[column]?.empName || element.employeeName || element.name) }}\n </div>\n <div class=\"emp-meta\">\n <div class=\"emp-name-row\">\n <span class=\"emp-name\" [class.hyper-link]=\"hyperLinkColumns.includes(column)\"\n (click)=\"hyperLinkColumns.includes(column) ? hyperLinkClick(element, column, i) : ''\"\n [title]=\"element[column]?.empName || element.employeeName || element.name\">\n {{ element[column]?.empName || element.employeeName || element.name }}\n </span>\n <span *ngIf=\"element[column]?.empId || element.employeeId || element.empId\" class=\"emp-id-tag\">\n {{ element[column]?.empId || element.employeeId || element.empId }}\n </span>\n </div>\n <div class=\"emp-sub-row\" [title]=\"(element[column]?.desig || element.designation || '') + ((element[column]?.loc || element.location) ? (', ' + (element[column]?.loc || element.location)) : '')\">\n <span>{{ element[column]?.desig || element.designation }}</span>\n <span *ngIf=\"(element[column]?.desig || element.designation) && (element[column]?.loc || element.location)\">, </span>\n <span>{{ element[column]?.loc || element.location }}</span>\n </div>\n </div>\n </div>\n\n <!-- Summary Pill Column -->\n <div *ngIf=\"column === 'summary'\" class=\"flex justify-center\">\n <span class=\"summary-pill\" [class.summary-pill--target]=\"isNearTarget(element.workingDays ?? element.presentDays, element.totalCompanyWorkingDays ?? element.totalWorkingDays)\"\n [title]=\"'Present: ' + (element.workingDays ?? element.presentDays ?? 0) + ' / Total Working Days: ' + (element.totalCompanyWorkingDays ?? element.totalWorkingDays ?? 0)\">\n {{element.workingDays ?? element.presentDays ?? 0}}/{{element.totalCompanyWorkingDays ?? element.totalWorkingDays ?? 0}}\n </span>\n </div>\n\n <!-- Attendance Day Columns -->\n <div *ngIf=\"column != 'summary' && column != 'employeeDetail' && column != 'employeeName' && column != 'employeeId' && column != 'designation' && column != 'location'\"\n (click)=\"doubleClickFunction(element, column, element[column])\">\n <!-- Weekend column with weekoff status: suppress chip, show subtle dash -->\n <ng-container *ngIf=\"isWeekend(column) && (!element?.[column]?.['value'] || ['weekoff'].includes((element?.[column]?.['value']?.status || '').toLowerCase()) || element?.[column]?.['value'] === '')\">\n <span class=\"att-dash\">-</span>\n </ng-container>\n\n <!-- Non-weekend future day without data: faint dot -->\n <ng-container *ngIf=\"!isWeekend(column) && isFutureDate(column) && (!element?.[column]?.['value'] || element?.[column]?.['value'] === '' || element?.[column]?.['value']?.status === 'Nil')\">\n <span class=\"att-future\">·</span>\n </ng-container>\n\n <!-- Non-weekend past day with missing log: subtle dashed outline -->\n <ng-container *ngIf=\"!isWeekend(column) && !isFutureDate(column) && (!element?.[column]?.['value'] || element?.[column]?.['value'] === '' || element?.[column]?.['value']?.status === 'Nil')\">\n <span class=\"att-missing\" title=\"No Record\"></span>\n </ng-container>\n\n <!-- Present State -->\n <span *ngIf=\"element?.[column]?.['value'] && ['present'].includes((element?.[column]?.['value']?.status || '').toLowerCase()) && element?.[column]?.['value']?.halfDay === false\"\n class=\"attendance-chip attendance-present\" title=\"Present\">&#10003;</span>\n\n <!-- Review State -->\n <span *ngIf=\"element?.[column]?.['value'] && ['review'].includes((element?.[column]?.['value']?.status || '').toLowerCase()) && element?.[column]?.['value']?.halfDay === false\"\n class=\"attendance-chip attendance-review\" title=\"Review\">!</span>\n\n <!-- Absent / Leave State -->\n <span *ngIf=\"element?.[column]?.['value'] && (isLeaveType(element?.[column]?.['value']?.status) && (element?.[column]?.['value']?.halfDay !== true) || element?.[column]?.['value']?.isSplitLeave)\"\n class=\"attendance-chip attendance-absent\" [title]=\"element?.[column]?.['value']?.status || 'Absent'\">&#10005;</span>\n\n <!-- Holiday State -->\n <span *ngIf=\"element?.[column]?.['value'] && ['holiday'].includes((element?.[column]?.['value']?.status || '').toLowerCase())\"\n class=\"attendance-chip attendance-holiday\" title=\"Holiday\">H</span>\n\n <!-- Half Day State -->\n <span *ngIf=\"element?.[column]?.['value']?.halfDay === true && !element?.[column]?.['value']?.isSplitLeave\"\n class=\"attendance-chip attendance-half\" title=\"Half Day\">½</span>\n\n <!-- Week Off State on non-weekend columns -->\n <span *ngIf=\"!isWeekend(column) && element?.[column]?.['value'] && ['weekoff'].includes((element?.[column]?.['value']?.status || '').toLowerCase())\"\n class=\"attendance-chip attendance-weekoff\" title=\"Week Off\">-</span>\n\n <!-- Total Hours or Numeric Values -->\n <div *ngIf=\"column === 'totalHours'\" style=\"font-size: var(--fs-small); color: var(--label-text-color); font-weight: var(--fw-600);\">\n {{element?.[column]?.['value']}}\n </div>\n <div *ngIf=\"containsOnlyNumbers(element?.[column]?.['value'])\" style=\"font-size: var(--fs-small); color: var(--label-text-color); font-weight: var(--fw-600);\">\n {{element?.[column]?.['value']}}\n </div>\n </div>\n </ng-container>\n\n <!-- Skeleton Loader Cell matching new layout -->\n <ng-template #skeletonCell>\n <div *ngIf=\"column === 'employeeDetail'\" class=\"emp-cell-container\">\n <div class=\"skeleton\" style=\"width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;\"></div>\n <div class=\"emp-meta\" style=\"flex: 1;\">\n <div class=\"skeleton skeleton-text\" style=\"width: 120px; height: 12px; margin-bottom: 4px; border-radius: 2px;\"></div>\n <div class=\"skeleton skeleton-text\" style=\"width: 80px; height: 10px; border-radius: 2px;\"></div>\n </div>\n </div>\n <div *ngIf=\"column === 'summary'\" class=\"flex justify-center\">\n <div class=\"skeleton skeleton-text\" style=\"width: 36px; height: 16px; margin: 0 auto; border-radius: 20px;\"></div>\n </div>\n <div *ngIf=\"column != 'employeeDetail' && column != 'summary'\" class=\"flex justify-center\">\n <div class=\"skeleton\" style=\"width: 22px; height: 22px; border-radius: 6px; margin: 0 auto;\"></div>\n </div>\n </ng-template>\n </td>\n </ng-container>\n <!-- Render the columns -->\n <div [ngSwitch]=\"renderColumns\">\n <div *ngSwitchCase=\"'select'\">\n <tr mat-header-row *matHeaderRowDef=\"['select'].concat(displayedColumns) sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: ['select'].concat(displayedColumns)\"\n (click)=\"tableClick(row)\">\n </tr>\n </div>\n <div *ngSwitchDefault>\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns\" (click)=\"tableClick(row)\"></tr>\n </div>\n </div>\n <!-- SKS10FEB26 No Data Row -->\n <tr class=\"mat-row\" *matNoDataRow>\n <td class=\"mat-cell\" [attr.colspan]=\"displayedColumns.length + 1\">\n <div class=\"flex\" style=\"display: flex; justify-content: center; align-items: center; height: 100px;\">\n <div>\n No data/ records found\n </div>\n </div>\n </td>\n </tr>\n </table>\n </div>\n <div class=\"d-flex justify-content-end Legend-div\">\n <mat-paginator #paginator [pageSizeOptions]=\"itemsPerPage\" [length]=\"totalCount\" [pageSize]=\"pageSize\"\n [pageIndex]=\"pageIndex\" showFirstLastButtons (page)=\"pageParams($event)\"></mat-paginator>\n </div>\n </div>\n </div>\n</div>\n\n\n<!-- SK03OCT24 side screen for filter while export button clicked -->\n<app-common-screen *ngIf=\"exportSidescreen\" headerTitle=\"Export Data\"\n (sideScreenEmittedEvent)=\"exportSidescreen = false\">\n <div class=\"side-main-content\">\n <!-- MY 15OCT26 export file button loader -->\n <div\n class=\"d-flex align-items-center flex-row p-3 justify-content-center cursor-pointer short-button-white-bg button-hov\"\n [class.disabled]=\"exportButtonLoadingSpinner\"\n (click)=\"!exportButtonLoadingSpinner ? exportButtonSideNav() : null\">\n <div *ngIf=\"exportButtonLoadingSpinner\" class=\"spinner-grow spinner-grow-sm me-2\" role=\"status\" aria-hidden=\"true\"></div>\n <img *ngIf=\"!exportButtonLoadingSpinner\" src=\"../assets/images/icons/general/upload-icon.svg \" class=\"card-icon color me-1\"\n title=\"download\">\n <div>{{ exportButtonLoadingSpinner ? (('APP_SETTINGS_APPS.LOADING' | customTranslate : 'Loading') + '...') : ('APP_HRM_ATTENDANCE_TABLE.EXPORT_FILE' | customTranslate : 'Export File') }}</div>\n </div>\n <!-- SK03OCT24 components to be displayed in side screen -->\n <div *ngFor=\"let type of filterScreenConfigs\">\n <!-- MY 15OCT26 pass button loader state to multi-checkbox and multiple-filter -->\n <app-multi-checkbox *ngIf=\"type.type === 'multipleCheckBox' \" class=\"ms-2 me-2\"\n [label]=\"type?.labelPath || type?.label | customTranslate : type?.label\" [cardSize]=\"type?.cardSize\"\n [cardInlineSize]=\"type?.cardInlineSize\" [checkboxList]=\"type?.checkboxList\"\n [activeCheckboxList]=\"type?.activeCheckboxList\" [buttonList]=\"type?.buttons\"\n [displayValues]=\"type?.displayValues\" [componentData]=\"type\" [checkBoxStyles]=\"type?.checkBoxStyles\"\n [isButtonLoadingSpinner]=\"type?.isButtonLoadingSpinner || false\"\n (compDataEmit)=\"exportFieldsButtonEmit($event)\">\n </app-multi-checkbox>\n <app-multiple-filter *ngIf=\"type.type === 'multipleFilter' \" class=\"ms-2 me-2\" [isDateFilter]=\"type?.isDateFilter\"\n [label]=\"type?.labelPath || type?.label | customTranslate : type?.label\" [cardSize]=\"type?.cardSize\"\n [cardInlineSize]=\"type?.cardInlineSize\" [buttonList]=\"type?.buttons\" [displayValues]=\"type?.displayValues\"\n [componentData]=\"type\" [checkBoxStyles]=\"type?.checkBoxStyles\" [selectionData]=\"type?.selectionData\"\n [isButtonLoadingSpinner]=\"type?.isButtonLoadingSpinner || false\"\n (compDataEmit)=\"exportFilterButtonEmit($event)\" (selectedValuesEmit)=\"selectedValuesEmit($event)\"\n (filterDateEmit)=\"filterDateEmit($event)\">\n </app-multiple-filter>\n </div>\n </div>\n</app-common-screen>\n\n<!-- SK24OCT25 Sandwich confirm pop up -->\n<div *ngIf=\"confirmModal\" class=\"modal modal-backdrop show d-block\" id=\"confirmRecord\" tabindex=\"-1\"\n aria-labelledby=\"confirmRecordLabel\" [attr.aria-hidden]=\"!confirmModal\">\n <div class=\"modal-dialog\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <b class=\"modal-title fs-5\" id=\"confirmRecordLabel\">{{'APP.CONFIRM_SADWICH' | customTranslate : 'Confirm Sandwich'}}</b>\n <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"\n (click)=\"confirmModal = false\"></button>\n </div>\n <div class=\"modal-body\">\n {{'APP.ARE_YOU_SURE_YOU_WANT_TO_CONVERT_THE_SANDWICH' | customTranslate : 'Are you sure want to convert sandwich leaves for the month'}} ?\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\" class=\"btn btn-primary\" data-bs-dismiss=\"modal\" aria-label=\"Close\"\n (click)=\"!buttonLoadingSpinner ? checkButtonClicked() : null\">\n <span class=\"{{ buttonLoadingSpinner ? 'spinner-grow' : '' }} spinner-grow-sm\" role=\"buttonValue\"\n aria-hidden=\"true\"></span>\n <span>{{ buttonLoadingSpinner ? ('APP_SETTINGS_APPS.LOADING' | customTranslate : 'Loading') + '...' :\n ('APP.YES' | customTranslate : 'Yes') }}\n </span>\n </button>\n <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\"\n (click)=\"confirmModal = false\">{{'APP.NO' | customTranslate : 'No'}}</button>\n </div>\n </div>\n </div>\n</div>\n",
8067
+ styles: [".table-wrapper{overflow-x:auto;max-width:100%}.table-container{max-height:600px;overflow-y:auto;display:block;width:100%}.table-layout{background:var(--fb-surface, #ffffff);border-radius:8px}.th{border-bottom:1px solid var(--fb-border-default, #e2e8f0);font-weight:var(--fw-600);font-size:var(--fs-normal);line-height:21px;color:var(--fb-text-primary, #0f172a)}.head-color{background:linear-gradient(var(--fb-action-surface, #e0f2fe),var(--fb-action-surface, #e0f2fe)),var(--fb-surface, #ffffff)!important;color:var(--fb-text-primary, #0f172a)!important}.body-color{color:var(--fb-text-primary, #0f172a);cursor:default}.search{display:flex;justify-content:space-between;border:1px solid var(--fb-border-default, #e2e8f0);background:var(--fb-surface, #ffffff);border-radius:6px;align-self:center}.search-bar{display:flex;flex-direction:row;align-items:center;width:100%;margin:5px}.card-btn{height:18px;width:18px}td.mat-cell:last-of-type{padding:8px;font-size:var(--fs-medium)}.table-title{font-weight:var(--fw-600);font-size:var(--fs-medium)}.search-component{top:20px;width:max-content;right:-30%}.sticky-column{background-color:var(--fb-surface, #ffffff)}th.sticky-column{background:linear-gradient(var(--fb-action-surface, #e0f2fe),var(--fb-action-surface, #e0f2fe)),var(--fb-surface, #ffffff)!important}.mat-sort-header-container{margin-left:5px}.body-color img{width:25px;padding:5px;cursor:pointer}.head-color.action-size{color:var(--fb-text-primary, #0f172a);font-size:var(--fs-primary);font-weight:var(--fw-600)}.lop-input{border:none;color:var(--fb-text-primary, #0f172a);max-width:50px}.mat-cell{padding:8px;white-space:nowrap;text-overflow:ellipsis}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-right:24px}::ng-deep [dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type){padding-right:10px!important;padding-left:unset!important}.mat-sort-header-container.mat-focus-indicator.ng-tns-c139-34{margin-left:5px}.mat-column-select{width:44px!important;min-width:44px!important;max-width:44px!important;text-align:center;padding:0!important;overflow:clip!important;text-overflow:clip!important}.mat-column-employeeDetail{width:260px!important;min-width:260px!important;max-width:260px!important;left:44px!important;padding-left:8px!important;padding-right:8px!important}.mat-column-summary{width:64px!important;min-width:64px!important;max-width:64px!important;text-align:center;padding:0 4px!important}.th-td{width:36px!important;min-width:36px!important;max-width:36px!important;text-align:center;padding:0!important}::ng-deep .mdc-data-table__cell,.mdc-data-table__header-cell{padding:0!important}::ng-deep .mat-mdc-checkbox-touch-target{height:28px!important}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding:0 8px}.mat-row{height:56px!important;min-height:56px!important;transition:background-color .15s ease}.mat-row:hover,.mat-row:hover .sticky-column,.mat-row:hover .sticky-col{background-color:var(--fb-row-hover, #f8fafc)!important}.mat-cell{height:56px!important;padding:0 2px!important;white-space:nowrap;color:var(--fb-text-primary, #0f172a)}.mat-header-row{height:52px!important;position:sticky;top:0;background:linear-gradient(var(--fb-action-surface, #e0f2fe),var(--fb-action-surface, #e0f2fe)),var(--fb-surface, #ffffff)!important;z-index:20;border-bottom:1px solid var(--fb-border-default, #e2e8f0);color:var(--fb-text-primary, #0f172a)}.sticky-select .mdc-checkbox{opacity:.55;transition:opacity .15s ease}.mat-row:hover .sticky-select .mdc-checkbox,.sticky-select .mdc-checkbox--selected,.sticky-select .mdc-checkbox--indeterminate{opacity:1!important}.week-off{background:var(--week-off, #f8fafc)!important}.holiday{background:color-mix(in srgb,var(--holiday, #0284c7),var(--comp-bg-color, #ffffff) 88%)!important;color:var(--holiday, #0284c7)}.attendance-chip{width:22px;height:22px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;font-size:var(--fs-Usmall, 11px);font-weight:var(--fw-600, 600);cursor:pointer;transition:transform .1s ease;-webkit-user-select:none;user-select:none}.attendance-chip:hover{transform:scale(1.1)}.attendance-chip.attendance-present{background:color-mix(in srgb,var(--attendance-present, #16a34a),var(--comp-bg-color, #ffffff) 88%);color:var(--attendance-present, #16a34a)}.attendance-chip.attendance-absent{background:color-mix(in srgb,var(--attendance-absent, #ef4444),var(--comp-bg-color, #ffffff) 88%);color:var(--attendance-absent, #ef4444)}.attendance-chip.attendance-half{background:color-mix(in srgb,var(--attendance-half, #f59e0b),var(--comp-bg-color, #ffffff) 85%);color:color-mix(in srgb,var(--attendance-half, #f59e0b),black 45%)}.attendance-chip.attendance-holiday{background:color-mix(in srgb,var(--holiday, #0284c7),var(--comp-bg-color, #ffffff) 88%);color:var(--holiday, #0284c7)}.attendance-chip.attendance-review{background:color-mix(in srgb,var(--clr-warning, #f59e0b),var(--comp-bg-color, #ffffff) 85%);color:var(--clr-warning, #f59e0b)}.attendance-chip.attendance-weekoff{background:color-mix(in srgb,var(--attendance-weekoff, #64748b),var(--comp-bg-color, #ffffff) 90%);color:var(--attendance-weekoff, #64748b)}.att-missing{width:20px;height:20px;border:1px dashed color-mix(in srgb,var(--border-color, #e2e8f0),black 15%);border-radius:6px;display:inline-block}.att-future{color:var(--fc-text-color-light, #94a3b8);font-size:16px;line-height:1;display:inline-block;opacity:.5}.att-dash{color:var(--label-text-color-light, #64748b);font-size:14px}.emp-cell-container{display:flex;align-items:center;gap:10px;width:100%;padding:0 4px}.emp-avatar{width:32px;height:32px;min-width:32px;border-radius:50%;font-size:var(--fs-small, 12px);font-weight:var(--fw-600, 600);background:var(--fb-action-surface, #e0f2fe);color:var(--fb-action, #003566);display:flex;align-items:center;justify-content:center;flex-shrink:0}.emp-meta{display:flex;flex-direction:column;overflow:hidden;text-align:left;line-height:1.25;min-width:0}.emp-name-row{display:flex;align-items:center;gap:6px;overflow:hidden}.emp-name{font-size:var(--fs-normal, 13px);font-weight:var(--fw-600, 600);color:var(--fc-text-color-dark, #0f172a);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.emp-id-tag{font-size:var(--fs-Usmall, 11px);font-weight:var(--fw-500, 500);background:var(--hover-module-bg, #f1f5f9);color:var(--label-text-color, #475569);padding:1px 5px;border-radius:4px;border:1px solid var(--border-color, #e2e8f0);flex-shrink:0}.emp-sub-row{font-size:var(--fs-Usmall, 11px);color:var(--label-text-color-light, #64748b);font-weight:var(--fw-500, 500);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}.summary-pill{padding:2px 8px;border-radius:20px;font-size:var(--fs-Usmall, 11px);font-weight:var(--fw-600, 600);background:var(--hover-module-bg, #f1f5f9);color:var(--label-text-color, #475569);border:1px solid var(--border-color, #e2e8f0);display:inline-block;white-space:nowrap}.summary-pill--target{background:color-mix(in srgb,var(--attendance-present, #16a34a),var(--comp-bg-color, #ffffff) 88%);color:var(--attendance-present, #16a34a);border-color:color-mix(in srgb,var(--attendance-present, #16a34a),var(--comp-bg-color, #ffffff) 70%)}.head-employee-label{font-size:var(--fs-small, 12px);font-weight:var(--fw-600, 600);color:var(--fc-text-color-dark, #0f172a)}.head-day-letter{font-size:var(--fs-Usmall, 11px);color:var(--fc-text-color-light, #64748b);font-weight:var(--fw-500, 500);line-height:1;text-transform:uppercase}.head-date-num{font-size:var(--fs-normal, 13px);font-weight:var(--fw-600, 600);color:var(--fc-text-color-dark, #0f172a);line-height:1.4;margin-top:2px}.head-today{background:var(--fb-action, #003566)!important;color:var(--fb-text-on-action, #ffffff)!important;border-radius:50%;width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center}.head-muted{color:var(--fb-text-muted, #94a3b8)!important}.top-legend-bar{border-top:1px solid var(--fb-border-default, #e2e8f0);padding:8px 12px;font-size:var(--fs-small, 12px);background:var(--fb-surface, #ffffff)}.legend-text{font-size:var(--fs-small, 12px);color:var(--fc-text-color-dark, #0f172a);font-weight:var(--fw-500, 500)}.table-subtitle{font-size:var(--fs-normal, 13px);color:var(--label-text-color-light, #64748b);font-weight:var(--fw-500, 500)}@media screen and (min-width:600px){mat-table{font-size:18px}}@media screen and (max-width:882px){mat-table{font-size:var(--fs-medium)}.mat-column-name,.mat-column-weight{display:none}.mat-header-cell{padding:8px}}.hyper-link{text-decoration:none}.hyper-link:hover{color:var(--fb-action, #003566);text-decoration:underline;cursor:pointer}.button-hov:hover{background:var(--fb-action, #003566);color:var(--fb-text-on-action, #ffffff)}.btn-primary{color:var(--fb-text-on-action, #ffffff)!important;background-color:var(--fb-action, #003566)!important;border-color:var(--fb-action, #003566)!important;padding:4px 9px;border-radius:.375rem}.btn-primary:hover{color:var(--fb-text-on-action, #ffffff)!important;background-color:var(--fb-action-hover, #00284d)!important;border-color:var(--fb-action-hover, #00284d)!important}.btn-primary:active,.btn-primary.active,.show>.btn-primary.dropdown-toggle{color:var(--fb-text-on-action, #ffffff)!important;background-color:var(--fb-action-pressed, #001f3f)!important;border-color:var(--fb-action-pressed, #001f3f)!important}.btn-primary:disabled,.btn-primary.disabled{color:var(--fb-text-disabled, #94a3b8)!important;background-color:var(--fb-action-disabled, #e2e8f0)!important;border-color:var(--fb-action-disabled, #e2e8f0)!important}::ng-deep .clickable-img{height:36px!important;transition:unset!important;border:unset!important;border-radius:0!important}::ng-deep nxt-button.ms-2,::ng-deep nxt-button.me-2{margin-left:0!important;margin-right:0!important}.body-color img{border-radius:8px!important}.modal-backdrop{opacity:.9}.mat-table{width:100%;border-spacing:0}.mat-header-row{position:sticky;top:0;background:var(--fb-action-surface, #e0f2fe);color:var(--fb-text-primary, #0f172a);z-index:2}.picker-container{display:flex;align-items:center;font-size:18px;font-weight:600;border:1px solid var(--fb-border-default, #e2e8f0);border-radius:8px}.month-label{cursor:pointer;min-width:100px;text-align:center;font-size:var(--fs-medium, 14px)}.arrow-btn{border:none;background:transparent;font-size:20px;cursor:pointer}.popup{position:absolute;margin-top:45px;background:var(--fb-surface-elevated, #ffffff);padding:15px;box-shadow:0 4px 12px var(--fb-backdrop, rgba(0,0,0,.12));border-radius:var(--radius-medium, 8px);width:200px;z-index:1000}.year-section{display:flex;justify-content:center;align-items:center;gap:12px;margin-bottom:10px;font-size:var(--fs-medium, 14px)}.year-section button{background:var(--fb-surface-secondary, #f8fafc);color:var(--fb-text-primary, #0f172a);border:none;padding:3px 8px;font-size:14px;cursor:pointer}.month-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;font-size:var(--fs-medium, 14px)}.month-item{padding:6px;border-radius:4px;text-align:center;cursor:pointer;background-color:var(--fb-surface-secondary, #f8fafc)}.month-item.active{background:var(--fb-action, #003566);color:var(--fb-text-on-action, #ffffff)}.Legend-font{font-size:var(--fs-normal, 13px)}.table-margin,.Legend-div{border-top:solid .5px var(--fb-border-default, #e2e8f0)}.sticky-checkbox{position:sticky;left:0;z-index:1000;background:var(--fb-surface, #ffffff);min-width:48px;width:48px}th.sticky-checkbox{z-index:1100}\n"],
8067
8068
  dependencies: [
8068
8069
  {
8069
8070
  kind: "ngmodule",
@@ -8389,8 +8390,8 @@ i0.ɵɵngDeclareClassMetadata({
8389
8390
  provide: MatPaginatorIntl,
8390
8391
  useClass: CustomPaginatorIntl
8391
8392
  }],
8392
- template: "<!-- MR 10NOV26 Port exact DataTableTwoComponent template from host testMaster -->\n<div class=\"table-layout w-100\" [id]=\"tableId\">\n <div>\n <div class=\"d-flex justify-content-between\" style=\"padding-bottom: 5px\">\n <div class=\"d-flex\">\n <!-- SC19NOV2025 replace the month year seperate dropdown into month year picker -->\n <div class=\"picker-container\">\n <i class=\" arrow-btn fusion-icon fusion-icon-size-lg fusion-icon-arrow-left-1 nav-icon\"\n (click)=\"prevMonth()\" style=\"color: var(--fc-text-color-dar) !important;\"></i>\n <span class=\"month-label\" (click)=\"togglePopup()\">\n {{ months[selectedMonth] }} {{ selectedYear }}\n </span>\n <i class=\" arrow-btn fusion-icon fusion-icon-size-lg fusion-icon-arrow-right-1 nav-icon\"\n (click)=\"nextMonth()\" style=\"color: var(--fc-text-color-dar) !important;\"></i>\n </div>\n <div class=\"popup\" *ngIf=\"popupOpen\">\n <div class=\"year-section\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-arrow-left-1 nav-icon\" (click)=\"changeYear(-1)\"\n style=\"color: var(--fc-text-color-dar) !important;\"></i>\n <span>{{ selectedYear }}</span>\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-arrow-right-1 nav-icon\" (click)=\"changeYear(1)\"\n style=\"color: var(--fc-text-color-dar) !important;\"></i>\n </div>\n\n <div class=\"month-grid\">\n <div class=\"month-item\" *ngFor=\"let m of (monthArray && monthArray.length > 0 ? monthArray : months); let i = index\" [class.active]=\"i === selectedMonth\"\n (click)=\"selectMonth(i)\">\n {{ m | slice:0:3 }} </div>\n </div>\n </div>\n </div>\n <!-- SK10APR24 import and export button added inside table -->\n <div class=\"d-flex gap-2 align-items-center\">\n <div class=\"search\" *ngIf=\"searchBar\">\n <div class=\"search-bar\">\n <input type=\"text\" placeholder=\"{{ 'APP_HRM_ATTENDANCE_TABLE.SEARCH' | customTranslate : 'Search' }}\"\n matInput (keyup)=\"applyFilter($event)\" #input [value]=\"searchTextValue || ''\">\n <img class=\"card-btn\" src=\"../assets/images/icons/general/Search.svg\">\n </div>\n </div>\n <button *ngIf=\"isSandwichLeave && isCheckButton !== false\" class=\"btn btn-primary me-2\"\n (click)=\"confirmModal = true\">{{ 'APP_HRM_ATTENDANCE.CHECK' | customTranslate : 'Check' }}</button>\n <div class=\"flex\">\n <!-- MR 18OCT26 Add clear tooltips for Import and Export toolbar buttons -->\n <nxt-button class=\"data-table-fsbtn ms-2 me-2\" (buttonClickEmit)=\"commonButtonClick($event)\"\n [buttonType]=\"button?.class\" [buttonValue]=\"button?.namePath\" [buttonConfig]=\"button?.buttonConfig\"\n [type]=\"button?.type\" [btnIconLeftSrc]=\"button?.btnIconLeftSrc\"\n [isImageSvg]=\"button?.isImageSvg\">\n </nxt-button>\n </div>\n </div>\n </div>\n\n <!-- MR 18OCT26 Reposition legend to top bar with matching chips and contextual title -->\n <div class=\"d-flex justify-content-between align-items-center top-legend-bar\">\n <div class=\"d-flex align-items-center gap-3 flex-wrap\">\n <div class=\"d-flex align-items-center gap-1\">\n <span class=\"attendance-chip attendance-present\">&#10003;</span>\n <span class=\"legend-text\">{{ 'APP_HRM_ATTENDANCE_TABLE.PREsENT' | customTranslate : 'Present' }}</span>\n </div>\n <div class=\"d-flex align-items-center gap-1\">\n <span class=\"attendance-chip attendance-absent\">&#10005;</span>\n <span class=\"legend-text\">{{ 'APP_HRM_ATTENDANCE_TABLE.ABSENT' | customTranslate : 'Absent' }}</span>\n </div>\n <div class=\"d-flex align-items-center gap-1\">\n <span class=\"attendance-chip attendance-half\">½</span>\n <span class=\"legend-text\">{{ 'APP_HRM_ATTENDANCE_TABLE.HALF_DAY' | customTranslate : 'Half day' }}</span>\n </div>\n <div class=\"d-flex align-items-center gap-1\">\n <span class=\"attendance-chip attendance-holiday\">H</span>\n <span class=\"legend-text\">{{ 'APP_HRM_ATTENDANCE_TABLE.HOLIDAY' | customTranslate : 'Holiday' }}</span>\n </div>\n <div class=\"d-flex align-items-center gap-1\">\n <span class=\"attendance-chip attendance-weekoff\">-</span>\n <span class=\"legend-text\">{{ 'APP_HRM_ATTENDANCE_TABLE.WEEK_OFF' | customTranslate : 'Week Off' }}</span>\n </div>\n </div>\n <div class=\"table-subtitle\" *ngIf=\"titleOn && title\">\n {{ title | customTranslate : title }}\n </div>\n </div>\n\n <div class=\"table-margin\">\n <div class=\"table-container\">\n <!-- MR 18OCT26 Single unified MatTable eliminates header style discrepancy and checkbox shadow -->\n <table mat-table [dataSource]=\"dataSource\" [style.width]=\"tableWidth\" matSort class=\"mat-elevation-z8\">\n <!-- Checkbox Columns -->\n <!-- SK06MAR24 made checkbox sticky -->\n <ng-container *ngIf=\"withCheckBox\" matColumnDef=\"select\" sticky>\n <th mat-header-cell *matHeaderCellDef class=\"head-color sticky-column mat-column-select\">\n <mat-checkbox (change)=\"masterToggle()\" [checked]=\"selection.hasValue()\"\n [indeterminate]=\"selection.hasValue() && !isAllSelected()\">\n </mat-checkbox>\n </th>\n <td mat-cell *matCellDef=\"let row\" class=\"sticky-col sticky-select mat-column-select\">\n <ng-container *ngIf=\"!row?.isSkeleton; else skeletonSelect\">\n <mat-checkbox (click)=\"$event.stopPropagation()\"\n (change)=\"separateRowSelect(selection.toggle(row), row)\"\n [checked]=\"selection.isSelected(row)\">\n </mat-checkbox>\n </ng-container>\n <ng-template #skeletonSelect>\n <div class=\"skeleton\" style=\"width: 14px; height: 14px; border-radius: 2px; margin: 0 auto;\"></div>\n </ng-template>\n </td>\n </ng-container>\n <!-- data Columns -->\n <ng-container *ngFor=\"let column of displayedColumns; let i=index\" [matColumnDef]=\"column\"\n [sticky]=\"isColumnSticky(column)\" [stickyEnd]=\"column === 'summary' || i === (stickyCondition - 1)\">\n <!-- MR 18OCT26 Upgraded header with today accent, weekend shading, and weekday letter hierarchy -->\n <th mat-header-cell *matHeaderCellDef\n class=\"head-color ms-2 sticky-col {{ column != 'employeeDetail' ? 'th-td' : '' }} sticky-column\"\n [class.week-off]=\"isWeekend(column)\"\n (click)=\"$event.stopPropagation()\"\n style=\"padding: 0px !important;\">\n <div class=\"d-flex flex-column {{column === 'employeeDetail' ? 'align-items-start ps-2' : 'align-items-center'}}\">\n <ng-container *ngIf=\"column === 'employeeDetail'\">\n <span class=\"head-employee-label\">{{ 'APP_HRM_ATTENDANCE.EMPLOYEE' | customTranslate : 'Employee' }}</span>\n </ng-container>\n <ng-container *ngIf=\"column !== 'employeeDetail' && column !== 'summary'\">\n <span class=\"head-day-letter\" [class.head-muted]=\"isWeekend(column)\">\n {{ headerLabels && displayedColumns ? headerLabels[displayedColumns.indexOf(column)]?.day : '' }}\n </span>\n <span class=\"head-date-num\" [class.head-today]=\"isToday(column)\" [class.head-muted]=\"isWeekend(column)\">\n {{ headerLabels && displayedColumns ? headerLabels[displayedColumns.indexOf(column)]?.date : '' }}\n </span>\n </ng-container>\n <ng-container *ngIf=\"column === 'summary'\">\n <span class=\"head-day-letter\" title=\"Present / Working Days\">{{ 'APP_HRM_ATTENDANCE_TABLE.DAYS' | customTranslate : 'Days' }}</span>\n <i class=\"fusion-icon fusion-icon-size-md fusion-icon-attendance nav-icon mt-1\" style=\"color: var(--label-text-color);\" title=\"Present / Working Days\"></i>\n </ng-container>\n </div>\n </th>\n <!-- MR 18OCT26 Attendance body cell with initials avatar, softened chips, weekend suppression, and summary pill -->\n <td mat-cell class=\"body-color {{ column != 'employeeDetail' ? 'th-td' : '' }}\"\n [class.week-off]=\"isWeekend(column)\"\n style=\"text-align: center; padding: 0px !important;\" *matCellDef=\"let element\">\n <ng-container *ngIf=\"!element?.isSkeleton; else skeletonCell\">\n <!-- Employee Detail Column with Avatar and Metadata -->\n <div *ngIf=\"column === 'employeeDetail'\" class=\"emp-cell-container\">\n <div class=\"emp-avatar\">\n {{ getInitials(element[column]?.empName || element.employeeName || element.name) }}\n </div>\n <div class=\"emp-meta\">\n <div class=\"emp-name-row\">\n <span class=\"emp-name\" [class.hyper-link]=\"hyperLinkColumns.includes(column)\"\n (click)=\"hyperLinkColumns.includes(column) ? hyperLinkClick(element, column, i) : ''\"\n [title]=\"element[column]?.empName || element.employeeName || element.name\">\n {{ element[column]?.empName || element.employeeName || element.name }}\n </span>\n <span *ngIf=\"element[column]?.empId || element.employeeId || element.empId\" class=\"emp-id-tag\">\n {{ element[column]?.empId || element.employeeId || element.empId }}\n </span>\n </div>\n <div class=\"emp-sub-row\" [title]=\"(element[column]?.desig || element.designation || '') + ((element[column]?.loc || element.location) ? (', ' + (element[column]?.loc || element.location)) : '')\">\n <span>{{ element[column]?.desig || element.designation }}</span>\n <span *ngIf=\"(element[column]?.desig || element.designation) && (element[column]?.loc || element.location)\">, </span>\n <span>{{ element[column]?.loc || element.location }}</span>\n </div>\n </div>\n </div>\n\n <!-- Summary Pill Column -->\n <div *ngIf=\"column === 'summary'\" class=\"flex justify-center\">\n <span class=\"summary-pill\" [class.summary-pill--target]=\"isNearTarget(element.workingDays ?? element.presentDays, element.totalCompanyWorkingDays ?? element.totalWorkingDays)\"\n [title]=\"'Present: ' + (element.workingDays ?? element.presentDays ?? 0) + ' / Total Working Days: ' + (element.totalCompanyWorkingDays ?? element.totalWorkingDays ?? 0)\">\n {{element.workingDays ?? element.presentDays ?? 0}}/{{element.totalCompanyWorkingDays ?? element.totalWorkingDays ?? 0}}\n </span>\n </div>\n\n <!-- Attendance Day Columns -->\n <div *ngIf=\"column != 'summary' && column != 'employeeDetail' && column != 'employeeName' && column != 'employeeId' && column != 'designation' && column != 'location'\"\n (click)=\"doubleClickFunction(element, column, element[column])\">\n <!-- Weekend column with weekoff status: suppress chip, show subtle dash -->\n <ng-container *ngIf=\"isWeekend(column) && (!element?.[column]?.['value'] || ['weekoff'].includes((element?.[column]?.['value']?.status || '').toLowerCase()) || element?.[column]?.['value'] === '')\">\n <span class=\"att-dash\">-</span>\n </ng-container>\n\n <!-- Non-weekend future day without data: faint dot -->\n <ng-container *ngIf=\"!isWeekend(column) && isFutureDate(column) && (!element?.[column]?.['value'] || element?.[column]?.['value'] === '' || element?.[column]?.['value']?.status === 'Nil')\">\n <span class=\"att-future\">·</span>\n </ng-container>\n\n <!-- Non-weekend past day with missing log: subtle dashed outline -->\n <ng-container *ngIf=\"!isWeekend(column) && !isFutureDate(column) && (!element?.[column]?.['value'] || element?.[column]?.['value'] === '' || element?.[column]?.['value']?.status === 'Nil')\">\n <span class=\"att-missing\" title=\"No Record\"></span>\n </ng-container>\n\n <!-- Present State -->\n <span *ngIf=\"element?.[column]?.['value'] && ['present'].includes((element?.[column]?.['value']?.status || '').toLowerCase()) && element?.[column]?.['value']?.halfDay === false\"\n class=\"attendance-chip attendance-present\" title=\"Present\">&#10003;</span>\n\n <!-- Review State -->\n <span *ngIf=\"element?.[column]?.['value'] && ['review'].includes((element?.[column]?.['value']?.status || '').toLowerCase()) && element?.[column]?.['value']?.halfDay === false\"\n class=\"attendance-chip attendance-review\" title=\"Review\">!</span>\n\n <!-- Absent / Leave State -->\n <span *ngIf=\"element?.[column]?.['value'] && (isLeaveType(element?.[column]?.['value']?.status) && (element?.[column]?.['value']?.halfDay !== true) || element?.[column]?.['value']?.isSplitLeave)\"\n class=\"attendance-chip attendance-absent\" [title]=\"element?.[column]?.['value']?.status || 'Absent'\">&#10005;</span>\n\n <!-- Holiday State -->\n <span *ngIf=\"element?.[column]?.['value'] && ['holiday'].includes((element?.[column]?.['value']?.status || '').toLowerCase())\"\n class=\"attendance-chip attendance-holiday\" title=\"Holiday\">H</span>\n\n <!-- Half Day State -->\n <span *ngIf=\"element?.[column]?.['value']?.halfDay === true && !element?.[column]?.['value']?.isSplitLeave\"\n class=\"attendance-chip attendance-half\" title=\"Half Day\">½</span>\n\n <!-- Week Off State on non-weekend columns -->\n <span *ngIf=\"!isWeekend(column) && element?.[column]?.['value'] && ['weekoff'].includes((element?.[column]?.['value']?.status || '').toLowerCase())\"\n class=\"attendance-chip attendance-weekoff\" title=\"Week Off\">-</span>\n\n <!-- Total Hours or Numeric Values -->\n <div *ngIf=\"column === 'totalHours'\" style=\"font-size: var(--fs-small); color: var(--label-text-color); font-weight: var(--fw-600);\">\n {{element?.[column]?.['value']}}\n </div>\n <div *ngIf=\"containsOnlyNumbers(element?.[column]?.['value'])\" style=\"font-size: var(--fs-small); color: var(--label-text-color); font-weight: var(--fw-600);\">\n {{element?.[column]?.['value']}}\n </div>\n </div>\n </ng-container>\n\n <!-- Skeleton Loader Cell matching new layout -->\n <ng-template #skeletonCell>\n <div *ngIf=\"column === 'employeeDetail'\" class=\"emp-cell-container\">\n <div class=\"skeleton\" style=\"width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;\"></div>\n <div class=\"emp-meta\" style=\"flex: 1;\">\n <div class=\"skeleton skeleton-text\" style=\"width: 120px; height: 12px; margin-bottom: 4px; border-radius: 2px;\"></div>\n <div class=\"skeleton skeleton-text\" style=\"width: 80px; height: 10px; border-radius: 2px;\"></div>\n </div>\n </div>\n <div *ngIf=\"column === 'summary'\" class=\"flex justify-center\">\n <div class=\"skeleton skeleton-text\" style=\"width: 36px; height: 16px; margin: 0 auto; border-radius: 20px;\"></div>\n </div>\n <div *ngIf=\"column != 'employeeDetail' && column != 'summary'\" class=\"flex justify-center\">\n <div class=\"skeleton\" style=\"width: 22px; height: 22px; border-radius: 6px; margin: 0 auto;\"></div>\n </div>\n </ng-template>\n </td>\n </ng-container>\n <!-- Render the columns -->\n <div [ngSwitch]=\"renderColumns\">\n <div *ngSwitchCase=\"'select'\">\n <tr mat-header-row *matHeaderRowDef=\"['select'].concat(displayedColumns) sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: ['select'].concat(displayedColumns)\"\n (click)=\"tableClick(row)\">\n </tr>\n </div>\n <div *ngSwitchDefault>\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns\" (click)=\"tableClick(row)\"></tr>\n </div>\n </div>\n <!-- SKS10FEB26 No Data Row -->\n <tr class=\"mat-row\" *matNoDataRow>\n <td class=\"mat-cell\" [attr.colspan]=\"displayedColumns.length + 1\">\n <div class=\"flex\" style=\"display: flex; justify-content: center; align-items: center; height: 100px;\">\n <div>\n No data/ records found\n </div>\n </div>\n </td>\n </tr>\n </table>\n </div>\n <div class=\"d-flex justify-content-end Legend-div\">\n <mat-paginator #paginator [pageSizeOptions]=\"itemsPerPage\" [length]=\"totalCount\" [pageSize]=\"pageSize\"\n [pageIndex]=\"pageIndex\" showFirstLastButtons (page)=\"pageParams($event)\"></mat-paginator>\n </div>\n </div>\n </div>\n</div>\n\n\n<!-- SK03OCT24 side screen for filter while export button clicked -->\n<app-common-screen *ngIf=\"exportSidescreen\" headerTitle=\"Export Data\"\n (sideScreenEmittedEvent)=\"exportSidescreen = false\">\n <div class=\"side-main-content\">\n <!-- MY 15OCT26 export file button loader -->\n <div\n class=\"d-flex align-items-center flex-row p-3 justify-content-center cursor-pointer short-button-white-bg button-hov\"\n [class.disabled]=\"exportButtonLoadingSpinner\"\n (click)=\"!exportButtonLoadingSpinner ? exportButtonSideNav() : null\">\n <div *ngIf=\"exportButtonLoadingSpinner\" class=\"spinner-grow spinner-grow-sm me-2\" role=\"status\" aria-hidden=\"true\"></div>\n <img *ngIf=\"!exportButtonLoadingSpinner\" src=\"../assets/images/icons/general/upload-icon.svg \" class=\"card-icon color me-1\"\n title=\"download\">\n <div>{{ exportButtonLoadingSpinner ? (('APP_SETTINGS_APPS.LOADING' | customTranslate : 'Loading') + '...') : ('APP_HRM_ATTENDANCE_TABLE.EXPORT_FILE' | customTranslate : 'Export File') }}</div>\n </div>\n <!-- SK03OCT24 components to be displayed in side screen -->\n <div *ngFor=\"let type of filterScreenConfigs\">\n <!-- MY 15OCT26 pass button loader state to multi-checkbox and multiple-filter -->\n <app-multi-checkbox *ngIf=\"type.type === 'multipleCheckBox' \" class=\"ms-2 me-2\"\n [label]=\"type?.labelPath || type?.label | customTranslate : type?.label\" [cardSize]=\"type?.cardSize\"\n [cardInlineSize]=\"type?.cardInlineSize\" [checkboxList]=\"type?.checkboxList\"\n [activeCheckboxList]=\"type?.activeCheckboxList\" [buttonList]=\"type?.buttons\"\n [displayValues]=\"type?.displayValues\" [componentData]=\"type\" [checkBoxStyles]=\"type?.checkBoxStyles\"\n [isButtonLoadingSpinner]=\"type?.isButtonLoadingSpinner || false\"\n (compDataEmit)=\"exportFieldsButtonEmit($event)\">\n </app-multi-checkbox>\n <app-multiple-filter *ngIf=\"type.type === 'multipleFilter' \" class=\"ms-2 me-2\" [isDateFilter]=\"type?.isDateFilter\"\n [label]=\"type?.labelPath || type?.label | customTranslate : type?.label\" [cardSize]=\"type?.cardSize\"\n [cardInlineSize]=\"type?.cardInlineSize\" [buttonList]=\"type?.buttons\" [displayValues]=\"type?.displayValues\"\n [componentData]=\"type\" [checkBoxStyles]=\"type?.checkBoxStyles\" [selectionData]=\"type?.selectionData\"\n [isButtonLoadingSpinner]=\"type?.isButtonLoadingSpinner || false\"\n (compDataEmit)=\"exportFilterButtonEmit($event)\" (selectedValuesEmit)=\"selectedValuesEmit($event)\"\n (filterDateEmit)=\"filterDateEmit($event)\">\n </app-multiple-filter>\n </div>\n </div>\n</app-common-screen>\n\n<!-- SK24OCT25 Sandwich confirm pop up -->\n<div *ngIf=\"confirmModal\" class=\"modal modal-backdrop show d-block\" id=\"confirmRecord\" tabindex=\"-1\"\n aria-labelledby=\"confirmRecordLabel\" [attr.aria-hidden]=\"!confirmModal\">\n <div class=\"modal-dialog\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <b class=\"modal-title fs-5\" id=\"confirmRecordLabel\">{{'APP.CONFIRM_SADWICH' | customTranslate : 'Confirm Sandwich'}}</b>\n <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"\n (click)=\"confirmModal = false\"></button>\n </div>\n <div class=\"modal-body\">\n {{'APP.ARE_YOU_SURE_YOU_WANT_TO_CONVERT_THE_SANDWICH' | customTranslate : 'Are you sure want to convert sandwich leaves for the month'}} ?\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\" class=\"btn btn-primary\" data-bs-dismiss=\"modal\" aria-label=\"Close\"\n (click)=\"!buttonLoadingSpinner ? checkButtonClicked() : null\">\n <span class=\"{{ buttonLoadingSpinner ? 'spinner-grow' : '' }} spinner-grow-sm\" role=\"buttonValue\"\n aria-hidden=\"true\"></span>\n <span>{{ buttonLoadingSpinner ? ('APP_SETTINGS_APPS.LOADING' | customTranslate : 'Loading') + '...' :\n ('APP.YES' | customTranslate : 'Yes') }}\n </span>\n </button>\n <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\"\n (click)=\"confirmModal = false\">{{'APP.NO' | customTranslate : 'No'}}</button>\n </div>\n </div>\n </div>\n</div>\n",
8393
- styles: [".table-wrapper{overflow-x:auto;max-width:100%}.table-container{max-height:600px;overflow-y:auto;display:block;width:100%}.table-layout{background:var(--fb-surface, #ffffff);border-radius:8px}.th{border-bottom:1px solid var(--fb-border-default, #e2e8f0);font-weight:var(--fw-600);font-size:var(--fs-normal);line-height:21px;color:var(--fb-text-primary, #0f172a)}.head-color{background:var(--fb-action-surface, #e0f2fe)!important;color:var(--fb-text-primary, #0f172a)!important}.body-color{color:var(--fb-text-primary, #0f172a);cursor:default}.search{display:flex;justify-content:space-between;border:1px solid var(--fb-border-default, #e2e8f0);background:var(--fb-surface, #ffffff);border-radius:6px;align-self:center}.search-bar{display:flex;flex-direction:row;align-items:center;width:100%;margin:5px}.card-btn{height:18px;width:18px}td.mat-cell:last-of-type{padding:8px;font-size:var(--fs-medium)}.table-title{font-weight:var(--fw-600);font-size:var(--fs-medium)}.search-component{top:20px;width:max-content;right:-30%}.sticky-column{background:var(--fb-surface, #ffffff)}.mat-sort-header-container{margin-left:5px}.body-color img{width:25px;padding:5px;cursor:pointer}.head-color.action-size{color:var(--fb-text-primary, #0f172a);font-size:var(--fs-primary);font-weight:var(--fw-600)}.lop-input{border:none;color:var(--fb-text-primary, #0f172a);max-width:50px}.mat-cell{padding:8px;white-space:nowrap;text-overflow:ellipsis}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-right:24px}::ng-deep [dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type){padding-right:10px!important;padding-left:unset!important}.mat-sort-header-container.mat-focus-indicator.ng-tns-c139-34{margin-left:5px}.mat-column-select{width:44px!important;min-width:44px!important;max-width:44px!important;text-align:center;padding:0!important;overflow:clip!important;text-overflow:clip!important}.mat-column-employeeDetail{width:260px!important;min-width:260px!important;max-width:260px!important;left:44px!important;padding-left:8px!important;padding-right:8px!important}.mat-column-summary{width:64px!important;min-width:64px!important;max-width:64px!important;text-align:center;padding:0 4px!important}.th-td{width:36px!important;min-width:36px!important;max-width:36px!important;text-align:center;padding:0!important}::ng-deep .mdc-data-table__cell,.mdc-data-table__header-cell{padding:0!important}::ng-deep .mat-mdc-checkbox-touch-target{height:28px!important}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding:0 8px}.mat-row{height:56px!important;min-height:56px!important;transition:background-color .15s ease}.mat-row:hover,.mat-row:hover .sticky-column,.mat-row:hover .sticky-col{background-color:var(--fb-row-hover, #f8fafc)!important}.mat-cell{height:56px!important;padding:0 2px!important;white-space:nowrap;color:var(--fb-text-primary, #0f172a)}.mat-header-row{height:52px!important;position:sticky;top:0;background:var(--fb-action-surface, #e0f2fe);z-index:20;border-bottom:1px solid var(--fb-border-default, #e2e8f0);color:var(--fb-text-primary, #0f172a)}.sticky-select .mdc-checkbox{opacity:.55;transition:opacity .15s ease}.mat-row:hover .sticky-select .mdc-checkbox,.sticky-select .mdc-checkbox--selected,.sticky-select .mdc-checkbox--indeterminate{opacity:1!important}.week-off{background:var(--week-off, #f8fafc)!important}.holiday{background:color-mix(in srgb,var(--holiday, #0284c7),var(--comp-bg-color, #ffffff) 88%)!important;color:var(--holiday, #0284c7)}.attendance-chip{width:22px;height:22px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;font-size:var(--fs-Usmall, 11px);font-weight:var(--fw-600, 600);cursor:pointer;transition:transform .1s ease;-webkit-user-select:none;user-select:none}.attendance-chip:hover{transform:scale(1.1)}.attendance-chip.attendance-present{background:color-mix(in srgb,var(--attendance-present, #16a34a),var(--comp-bg-color, #ffffff) 88%);color:var(--attendance-present, #16a34a)}.attendance-chip.attendance-absent{background:color-mix(in srgb,var(--attendance-absent, #ef4444),var(--comp-bg-color, #ffffff) 88%);color:var(--attendance-absent, #ef4444)}.attendance-chip.attendance-half{background:color-mix(in srgb,var(--attendance-half, #f59e0b),var(--comp-bg-color, #ffffff) 85%);color:color-mix(in srgb,var(--attendance-half, #f59e0b),black 45%)}.attendance-chip.attendance-holiday{background:color-mix(in srgb,var(--holiday, #0284c7),var(--comp-bg-color, #ffffff) 88%);color:var(--holiday, #0284c7)}.attendance-chip.attendance-review{background:color-mix(in srgb,var(--clr-warning, #f59e0b),var(--comp-bg-color, #ffffff) 85%);color:var(--clr-warning, #f59e0b)}.attendance-chip.attendance-weekoff{background:color-mix(in srgb,var(--attendance-weekoff, #64748b),var(--comp-bg-color, #ffffff) 90%);color:var(--attendance-weekoff, #64748b)}.att-missing{width:20px;height:20px;border:1px dashed color-mix(in srgb,var(--border-color, #e2e8f0),black 15%);border-radius:6px;display:inline-block}.att-future{color:var(--fc-text-color-light, #94a3b8);font-size:16px;line-height:1;display:inline-block;opacity:.5}.att-dash{color:var(--label-text-color-light, #64748b);font-size:14px}.emp-cell-container{display:flex;align-items:center;gap:10px;width:100%;padding:0 4px}.emp-avatar{width:32px;height:32px;min-width:32px;border-radius:50%;font-size:var(--fs-small, 12px);font-weight:var(--fw-600, 600);background:var(--fb-action-surface, #e0f2fe);color:var(--fb-action, #003566);display:flex;align-items:center;justify-content:center;flex-shrink:0}.emp-meta{display:flex;flex-direction:column;overflow:hidden;text-align:left;line-height:1.25;min-width:0}.emp-name-row{display:flex;align-items:center;gap:6px;overflow:hidden}.emp-name{font-size:var(--fs-normal, 13px);font-weight:var(--fw-600, 600);color:var(--fc-text-color-dark, #0f172a);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.emp-id-tag{font-size:var(--fs-Usmall, 11px);font-weight:var(--fw-500, 500);background:var(--hover-module-bg, #f1f5f9);color:var(--label-text-color, #475569);padding:1px 5px;border-radius:4px;border:1px solid var(--border-color, #e2e8f0);flex-shrink:0}.emp-sub-row{font-size:var(--fs-Usmall, 11px);color:var(--label-text-color-light, #64748b);font-weight:var(--fw-500, 500);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}.summary-pill{padding:2px 8px;border-radius:20px;font-size:var(--fs-Usmall, 11px);font-weight:var(--fw-600, 600);background:var(--hover-module-bg, #f1f5f9);color:var(--label-text-color, #475569);border:1px solid var(--border-color, #e2e8f0);display:inline-block;white-space:nowrap}.summary-pill--target{background:color-mix(in srgb,var(--attendance-present, #16a34a),var(--comp-bg-color, #ffffff) 88%);color:var(--attendance-present, #16a34a);border-color:color-mix(in srgb,var(--attendance-present, #16a34a),var(--comp-bg-color, #ffffff) 70%)}.head-employee-label{font-size:var(--fs-small, 12px);font-weight:var(--fw-600, 600);color:var(--fc-text-color-dark, #0f172a)}.head-day-letter{font-size:var(--fs-Usmall, 11px);color:var(--fc-text-color-light, #64748b);font-weight:var(--fw-500, 500);line-height:1;text-transform:uppercase}.head-date-num{font-size:var(--fs-normal, 13px);font-weight:var(--fw-600, 600);color:var(--fc-text-color-dark, #0f172a);line-height:1.4;margin-top:2px}.head-today{background:var(--fb-action, #003566)!important;color:var(--fb-text-on-action, #ffffff)!important;border-radius:50%;width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center}.head-muted{color:var(--fb-text-muted, #94a3b8)!important}.top-legend-bar{border-top:1px solid var(--fb-border-default, #e2e8f0);padding:8px 12px;font-size:var(--fs-small, 12px);background:var(--fb-surface, #ffffff)}.legend-text{font-size:var(--fs-small, 12px);color:var(--fc-text-color-dark, #0f172a);font-weight:var(--fw-500, 500)}.table-subtitle{font-size:var(--fs-normal, 13px);color:var(--label-text-color-light, #64748b);font-weight:var(--fw-500, 500)}@media screen and (min-width:600px){mat-table{font-size:18px}}@media screen and (max-width:882px){mat-table{font-size:var(--fs-medium)}.mat-column-name,.mat-column-weight{display:none}.mat-header-cell{padding:8px}}.hyper-link{text-decoration:none}.hyper-link:hover{color:var(--fb-action, #003566);text-decoration:underline;cursor:pointer}.button-hov:hover{background:var(--fb-action, #003566);color:var(--fb-text-on-action, #ffffff)}.btn-primary{color:var(--fb-text-on-action, #ffffff)!important;background-color:var(--fb-action, #003566)!important;border-color:var(--fb-action, #003566)!important;padding:4px 9px;border-radius:.375rem}.btn-primary:hover{color:var(--fb-text-on-action, #ffffff)!important;background-color:var(--fb-action-hover, #00284d)!important;border-color:var(--fb-action-hover, #00284d)!important}.btn-primary:active,.btn-primary.active,.show>.btn-primary.dropdown-toggle{color:var(--fb-text-on-action, #ffffff)!important;background-color:var(--fb-action-pressed, #001f3f)!important;border-color:var(--fb-action-pressed, #001f3f)!important}.btn-primary:disabled,.btn-primary.disabled{color:var(--fb-text-disabled, #94a3b8)!important;background-color:var(--fb-action-disabled, #e2e8f0)!important;border-color:var(--fb-action-disabled, #e2e8f0)!important}::ng-deep .clickable-img{height:36px!important;transition:unset!important;border:unset!important;border-radius:0!important}::ng-deep nxt-button.ms-2,::ng-deep nxt-button.me-2{margin-left:0!important;margin-right:0!important}.body-color img{border-radius:8px!important}.modal-backdrop{opacity:.9}.mat-table{width:100%;border-spacing:0}.mat-header-row{position:sticky;top:0;background:var(--fb-action-surface, #e0f2fe);color:var(--fb-text-primary, #0f172a);z-index:2}.picker-container{display:flex;align-items:center;font-size:18px;font-weight:600;border:1px solid var(--fb-border-default, #e2e8f0);border-radius:8px}.month-label{cursor:pointer;min-width:100px;text-align:center;font-size:var(--fs-medium, 14px)}.arrow-btn{border:none;background:transparent;font-size:20px;cursor:pointer}.popup{position:absolute;margin-top:45px;background:var(--fb-surface-elevated, #ffffff);padding:15px;box-shadow:0 4px 12px var(--fb-backdrop, rgba(0,0,0,.12));border-radius:var(--radius-medium, 8px);width:200px;z-index:1000}.year-section{display:flex;justify-content:center;align-items:center;gap:12px;margin-bottom:10px;font-size:var(--fs-medium, 14px)}.year-section button{background:var(--fb-surface-secondary, #f8fafc);color:var(--fb-text-primary, #0f172a);border:none;padding:3px 8px;font-size:14px;cursor:pointer}.month-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;font-size:var(--fs-medium, 14px)}.month-item{padding:6px;border-radius:4px;text-align:center;cursor:pointer;background-color:var(--fb-surface-secondary, #f8fafc)}.month-item.active{background:var(--fb-action, #003566);color:var(--fb-text-on-action, #ffffff)}.Legend-font{font-size:var(--fs-normal, 13px)}.table-margin,.Legend-div{border-top:solid .5px var(--fb-border-default, #e2e8f0)}.sticky-checkbox{position:sticky;left:0;z-index:1000;background:var(--fb-surface, #ffffff);min-width:48px;width:48px}th.sticky-checkbox{z-index:1100}\n"]
8393
+ template: "<!-- MR 10NOV26 Port exact DataTableTwoComponent template from host testMaster -->\n<div class=\"table-layout w-100\" [id]=\"tableId\">\n <div>\n <div class=\"d-flex justify-content-between\" style=\"padding-bottom: 5px\">\n <div class=\"d-flex\">\n <!-- SC19NOV2025 replace the month year seperate dropdown into month year picker -->\n <div class=\"picker-container\">\n <i class=\" arrow-btn fusion-icon fusion-icon-size-lg fusion-icon-arrow-left-1 nav-icon\"\n (click)=\"prevMonth()\" style=\"color: var(--fc-text-color-dar) !important;\"></i>\n <span class=\"month-label\" (click)=\"togglePopup()\">\n {{ months[selectedMonth] }} {{ selectedYear }}\n </span>\n <i class=\" arrow-btn fusion-icon fusion-icon-size-lg fusion-icon-arrow-right-1 nav-icon\"\n (click)=\"nextMonth()\" style=\"color: var(--fc-text-color-dar) !important;\"></i>\n </div>\n <div class=\"popup\" *ngIf=\"popupOpen\">\n <div class=\"year-section\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-arrow-left-1 nav-icon\" (click)=\"changeYear(-1)\"\n style=\"color: var(--fc-text-color-dar) !important;\"></i>\n <span>{{ selectedYear }}</span>\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-arrow-right-1 nav-icon\" (click)=\"changeYear(1)\"\n style=\"color: var(--fc-text-color-dar) !important;\"></i>\n </div>\n\n <div class=\"month-grid\">\n <div class=\"month-item\" *ngFor=\"let m of (monthArray && monthArray.length > 0 ? monthArray : months); let i = index\" [class.active]=\"i === selectedMonth\"\n (click)=\"selectMonth(i)\">\n {{ m | slice:0:3 }} </div>\n </div>\n </div>\n </div>\n <!-- SK10APR24 import and export button added inside table -->\n <div class=\"d-flex gap-2 align-items-center\">\n <div class=\"search\" *ngIf=\"searchBar\">\n <div class=\"search-bar\">\n <input type=\"text\" placeholder=\"{{ 'APP_HRM_ATTENDANCE_TABLE.SEARCH' | customTranslate : 'Search' }}\"\n matInput (keyup)=\"applyFilter($event)\" #input [value]=\"searchTextValue || ''\">\n <img class=\"card-btn\" src=\"../assets/images/icons/general/Search.svg\">\n </div>\n </div>\n <button *ngIf=\"isSandwichLeave && isCheckButton !== false\" class=\"btn btn-primary me-2\"\n (click)=\"confirmModal = true\">{{ 'APP_HRM_ATTENDANCE.CHECK' | customTranslate : 'Check' }}</button>\n <div class=\"flex\">\n <!-- MR 18OCT26 Add clear tooltips for Import and Export toolbar buttons -->\n <nxt-button class=\"data-table-fsbtn ms-2 me-2\" (buttonClickEmit)=\"commonButtonClick($event)\"\n [buttonType]=\"button?.class\" [buttonValue]=\"button?.namePath\" [buttonConfig]=\"button?.buttonConfig\"\n [type]=\"button?.type\" [btnIconLeftSrc]=\"button?.btnIconLeftSrc\"\n [isImageSvg]=\"button?.isImageSvg\">\n </nxt-button>\n </div>\n </div>\n </div>\n\n <!-- MR 18OCT26 Reposition legend to top bar with matching chips and contextual title -->\n <div class=\"d-flex justify-content-between align-items-center top-legend-bar\">\n <div class=\"d-flex align-items-center gap-3 flex-wrap\">\n <div class=\"d-flex align-items-center gap-1\">\n <span class=\"attendance-chip attendance-present\">&#10003;</span>\n <span class=\"legend-text\">{{ 'APP_HRM_ATTENDANCE_TABLE.PREsENT' | customTranslate : 'Present' }}</span>\n </div>\n <div class=\"d-flex align-items-center gap-1\">\n <span class=\"attendance-chip attendance-absent\">&#10005;</span>\n <span class=\"legend-text\">{{ 'APP_HRM_ATTENDANCE_TABLE.ABSENT' | customTranslate : 'Absent' }}</span>\n </div>\n <div class=\"d-flex align-items-center gap-1\">\n <span class=\"attendance-chip attendance-half\">½</span>\n <span class=\"legend-text\">{{ 'APP_HRM_ATTENDANCE_TABLE.HALF_DAY' | customTranslate : 'Half day' }}</span>\n </div>\n <div class=\"d-flex align-items-center gap-1\">\n <span class=\"attendance-chip attendance-holiday\">H</span>\n <span class=\"legend-text\">{{ 'APP_HRM_ATTENDANCE_TABLE.HOLIDAY' | customTranslate : 'Holiday' }}</span>\n </div>\n <div class=\"d-flex align-items-center gap-1\">\n <span class=\"attendance-chip attendance-weekoff\">-</span>\n <span class=\"legend-text\">{{ 'APP_HRM_ATTENDANCE_TABLE.WEEK_OFF' | customTranslate : 'Week Off' }}</span>\n </div>\n </div>\n <div class=\"table-subtitle\" *ngIf=\"titleOn && title\">\n {{ title | customTranslate : title }}\n </div>\n </div>\n\n <div class=\"table-margin\">\n <div class=\"table-container\">\n <!-- MR 18OCT26 Single unified MatTable eliminates header style discrepancy and checkbox shadow -->\n <table mat-table [dataSource]=\"dataSource\" [style.width]=\"tableWidth\" matSort class=\"mat-elevation-z8\">\n <!-- Checkbox Columns -->\n <!-- SK06MAR24 made checkbox sticky -->\n <ng-container *ngIf=\"withCheckBox\" matColumnDef=\"select\" sticky>\n <th mat-header-cell *matHeaderCellDef class=\"head-color sticky-column mat-column-select\">\n <mat-checkbox (change)=\"masterToggle()\" [checked]=\"selection.hasValue()\"\n [indeterminate]=\"selection.hasValue() && !isAllSelected()\">\n </mat-checkbox>\n </th>\n <td mat-cell *matCellDef=\"let row\" class=\"sticky-col sticky-select mat-column-select\">\n <ng-container *ngIf=\"!row?.isSkeleton; else skeletonSelect\">\n <mat-checkbox (click)=\"$event.stopPropagation()\"\n (change)=\"separateRowSelect(selection.toggle(row), row)\"\n [checked]=\"selection.isSelected(row)\">\n </mat-checkbox>\n </ng-container>\n <ng-template #skeletonSelect>\n <div class=\"skeleton\" style=\"width: 14px; height: 14px; border-radius: 2px; margin: 0 auto;\"></div>\n </ng-template>\n </td>\n </ng-container>\n <!-- data Columns -->\n <ng-container *ngFor=\"let column of displayedColumns; let i=index\" [matColumnDef]=\"column\"\n [sticky]=\"isColumnSticky(column)\" [stickyEnd]=\"column === 'summary' || i === (stickyCondition - 1)\">\n <!-- MR 18OCT26 Upgraded header with today accent, weekend shading, and weekday letter hierarchy -->\n <th mat-header-cell *matHeaderCellDef\n class=\"head-color ms-2 sticky-col {{ column != 'employeeDetail' ? 'th-td' : '' }} sticky-column\"\n [class.week-off]=\"isWeekend(column)\"\n (click)=\"$event.stopPropagation()\"\n style=\"padding: 0px !important;\">\n <div class=\"d-flex flex-column {{column === 'employeeDetail' ? 'align-items-start ps-2' : 'align-items-center'}}\">\n <ng-container *ngIf=\"column === 'employeeDetail'\">\n <span class=\"head-employee-label\">{{ 'APP_HRM_ATTENDANCE.EMPLOYEE' | customTranslate : 'Employee' }}</span>\n </ng-container>\n <ng-container *ngIf=\"column !== 'employeeDetail' && column !== 'summary'\">\n <span class=\"head-day-letter\" [class.head-muted]=\"isWeekend(column)\">\n {{ headerLabels && displayedColumns ? headerLabels[displayedColumns.indexOf(column)]?.day : '' }}\n </span>\n <span class=\"head-date-num\" [class.head-today]=\"isToday(column)\" [class.head-muted]=\"isWeekend(column)\">\n {{ headerLabels && displayedColumns ? headerLabels[displayedColumns.indexOf(column)]?.date : '' }}\n </span>\n </ng-container>\n <ng-container *ngIf=\"column === 'summary'\">\n <span class=\"head-day-letter\" title=\"Present / Working Days\">{{ 'APP_HRM_ATTENDANCE_TABLE.DAYS' | customTranslate : 'Days' }}</span>\n <i class=\"fusion-icon fusion-icon-size-md fusion-icon-attendance nav-icon mt-1\" style=\"color: var(--label-text-color);\" title=\"Present / Working Days\"></i>\n </ng-container>\n </div>\n </th>\n <!-- MR 18OCT26 Attendance body cell with initials avatar, softened chips, weekend suppression, and summary pill -->\n <!-- MR 16NOV26 Prevent sticky column bleed-through with opaque layered surface tokens -->\n <td mat-cell class=\"body-color {{ column != 'employeeDetail' ? 'th-td' : '' }}\"\n [class.sticky-column]=\"isColumnSticky(column) || column === 'summary' || i === (stickyCondition - 1)\"\n [class.week-off]=\"isWeekend(column)\"\n style=\"text-align: center; padding: 0px !important;\" *matCellDef=\"let element\">\n <ng-container *ngIf=\"!element?.isSkeleton; else skeletonCell\">\n <!-- Employee Detail Column with Avatar and Metadata -->\n <div *ngIf=\"column === 'employeeDetail'\" class=\"emp-cell-container\">\n <div class=\"emp-avatar\">\n {{ getInitials(element[column]?.empName || element.employeeName || element.name) }}\n </div>\n <div class=\"emp-meta\">\n <div class=\"emp-name-row\">\n <span class=\"emp-name\" [class.hyper-link]=\"hyperLinkColumns.includes(column)\"\n (click)=\"hyperLinkColumns.includes(column) ? hyperLinkClick(element, column, i) : ''\"\n [title]=\"element[column]?.empName || element.employeeName || element.name\">\n {{ element[column]?.empName || element.employeeName || element.name }}\n </span>\n <span *ngIf=\"element[column]?.empId || element.employeeId || element.empId\" class=\"emp-id-tag\">\n {{ element[column]?.empId || element.employeeId || element.empId }}\n </span>\n </div>\n <div class=\"emp-sub-row\" [title]=\"(element[column]?.desig || element.designation || '') + ((element[column]?.loc || element.location) ? (', ' + (element[column]?.loc || element.location)) : '')\">\n <span>{{ element[column]?.desig || element.designation }}</span>\n <span *ngIf=\"(element[column]?.desig || element.designation) && (element[column]?.loc || element.location)\">, </span>\n <span>{{ element[column]?.loc || element.location }}</span>\n </div>\n </div>\n </div>\n\n <!-- Summary Pill Column -->\n <div *ngIf=\"column === 'summary'\" class=\"flex justify-center\">\n <span class=\"summary-pill\" [class.summary-pill--target]=\"isNearTarget(element.workingDays ?? element.presentDays, element.totalCompanyWorkingDays ?? element.totalWorkingDays)\"\n [title]=\"'Present: ' + (element.workingDays ?? element.presentDays ?? 0) + ' / Total Working Days: ' + (element.totalCompanyWorkingDays ?? element.totalWorkingDays ?? 0)\">\n {{element.workingDays ?? element.presentDays ?? 0}}/{{element.totalCompanyWorkingDays ?? element.totalWorkingDays ?? 0}}\n </span>\n </div>\n\n <!-- Attendance Day Columns -->\n <div *ngIf=\"column != 'summary' && column != 'employeeDetail' && column != 'employeeName' && column != 'employeeId' && column != 'designation' && column != 'location'\"\n (click)=\"doubleClickFunction(element, column, element[column])\">\n <!-- Weekend column with weekoff status: suppress chip, show subtle dash -->\n <ng-container *ngIf=\"isWeekend(column) && (!element?.[column]?.['value'] || ['weekoff'].includes((element?.[column]?.['value']?.status || '').toLowerCase()) || element?.[column]?.['value'] === '')\">\n <span class=\"att-dash\">-</span>\n </ng-container>\n\n <!-- Non-weekend future day without data: faint dot -->\n <ng-container *ngIf=\"!isWeekend(column) && isFutureDate(column) && (!element?.[column]?.['value'] || element?.[column]?.['value'] === '' || element?.[column]?.['value']?.status === 'Nil')\">\n <span class=\"att-future\">·</span>\n </ng-container>\n\n <!-- Non-weekend past day with missing log: subtle dashed outline -->\n <ng-container *ngIf=\"!isWeekend(column) && !isFutureDate(column) && (!element?.[column]?.['value'] || element?.[column]?.['value'] === '' || element?.[column]?.['value']?.status === 'Nil')\">\n <span class=\"att-missing\" title=\"No Record\"></span>\n </ng-container>\n\n <!-- Present State -->\n <span *ngIf=\"element?.[column]?.['value'] && ['present'].includes((element?.[column]?.['value']?.status || '').toLowerCase()) && element?.[column]?.['value']?.halfDay === false\"\n class=\"attendance-chip attendance-present\" title=\"Present\">&#10003;</span>\n\n <!-- Review State -->\n <span *ngIf=\"element?.[column]?.['value'] && ['review'].includes((element?.[column]?.['value']?.status || '').toLowerCase()) && element?.[column]?.['value']?.halfDay === false\"\n class=\"attendance-chip attendance-review\" title=\"Review\">!</span>\n\n <!-- Absent / Leave State -->\n <span *ngIf=\"element?.[column]?.['value'] && (isLeaveType(element?.[column]?.['value']?.status) && (element?.[column]?.['value']?.halfDay !== true) || element?.[column]?.['value']?.isSplitLeave)\"\n class=\"attendance-chip attendance-absent\" [title]=\"element?.[column]?.['value']?.status || 'Absent'\">&#10005;</span>\n\n <!-- Holiday State -->\n <span *ngIf=\"element?.[column]?.['value'] && ['holiday'].includes((element?.[column]?.['value']?.status || '').toLowerCase())\"\n class=\"attendance-chip attendance-holiday\" title=\"Holiday\">H</span>\n\n <!-- Half Day State -->\n <span *ngIf=\"element?.[column]?.['value']?.halfDay === true && !element?.[column]?.['value']?.isSplitLeave\"\n class=\"attendance-chip attendance-half\" title=\"Half Day\">½</span>\n\n <!-- Week Off State on non-weekend columns -->\n <span *ngIf=\"!isWeekend(column) && element?.[column]?.['value'] && ['weekoff'].includes((element?.[column]?.['value']?.status || '').toLowerCase())\"\n class=\"attendance-chip attendance-weekoff\" title=\"Week Off\">-</span>\n\n <!-- Total Hours or Numeric Values -->\n <div *ngIf=\"column === 'totalHours'\" style=\"font-size: var(--fs-small); color: var(--label-text-color); font-weight: var(--fw-600);\">\n {{element?.[column]?.['value']}}\n </div>\n <div *ngIf=\"containsOnlyNumbers(element?.[column]?.['value'])\" style=\"font-size: var(--fs-small); color: var(--label-text-color); font-weight: var(--fw-600);\">\n {{element?.[column]?.['value']}}\n </div>\n </div>\n </ng-container>\n\n <!-- Skeleton Loader Cell matching new layout -->\n <ng-template #skeletonCell>\n <div *ngIf=\"column === 'employeeDetail'\" class=\"emp-cell-container\">\n <div class=\"skeleton\" style=\"width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;\"></div>\n <div class=\"emp-meta\" style=\"flex: 1;\">\n <div class=\"skeleton skeleton-text\" style=\"width: 120px; height: 12px; margin-bottom: 4px; border-radius: 2px;\"></div>\n <div class=\"skeleton skeleton-text\" style=\"width: 80px; height: 10px; border-radius: 2px;\"></div>\n </div>\n </div>\n <div *ngIf=\"column === 'summary'\" class=\"flex justify-center\">\n <div class=\"skeleton skeleton-text\" style=\"width: 36px; height: 16px; margin: 0 auto; border-radius: 20px;\"></div>\n </div>\n <div *ngIf=\"column != 'employeeDetail' && column != 'summary'\" class=\"flex justify-center\">\n <div class=\"skeleton\" style=\"width: 22px; height: 22px; border-radius: 6px; margin: 0 auto;\"></div>\n </div>\n </ng-template>\n </td>\n </ng-container>\n <!-- Render the columns -->\n <div [ngSwitch]=\"renderColumns\">\n <div *ngSwitchCase=\"'select'\">\n <tr mat-header-row *matHeaderRowDef=\"['select'].concat(displayedColumns) sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: ['select'].concat(displayedColumns)\"\n (click)=\"tableClick(row)\">\n </tr>\n </div>\n <div *ngSwitchDefault>\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns\" (click)=\"tableClick(row)\"></tr>\n </div>\n </div>\n <!-- SKS10FEB26 No Data Row -->\n <tr class=\"mat-row\" *matNoDataRow>\n <td class=\"mat-cell\" [attr.colspan]=\"displayedColumns.length + 1\">\n <div class=\"flex\" style=\"display: flex; justify-content: center; align-items: center; height: 100px;\">\n <div>\n No data/ records found\n </div>\n </div>\n </td>\n </tr>\n </table>\n </div>\n <div class=\"d-flex justify-content-end Legend-div\">\n <mat-paginator #paginator [pageSizeOptions]=\"itemsPerPage\" [length]=\"totalCount\" [pageSize]=\"pageSize\"\n [pageIndex]=\"pageIndex\" showFirstLastButtons (page)=\"pageParams($event)\"></mat-paginator>\n </div>\n </div>\n </div>\n</div>\n\n\n<!-- SK03OCT24 side screen for filter while export button clicked -->\n<app-common-screen *ngIf=\"exportSidescreen\" headerTitle=\"Export Data\"\n (sideScreenEmittedEvent)=\"exportSidescreen = false\">\n <div class=\"side-main-content\">\n <!-- MY 15OCT26 export file button loader -->\n <div\n class=\"d-flex align-items-center flex-row p-3 justify-content-center cursor-pointer short-button-white-bg button-hov\"\n [class.disabled]=\"exportButtonLoadingSpinner\"\n (click)=\"!exportButtonLoadingSpinner ? exportButtonSideNav() : null\">\n <div *ngIf=\"exportButtonLoadingSpinner\" class=\"spinner-grow spinner-grow-sm me-2\" role=\"status\" aria-hidden=\"true\"></div>\n <img *ngIf=\"!exportButtonLoadingSpinner\" src=\"../assets/images/icons/general/upload-icon.svg \" class=\"card-icon color me-1\"\n title=\"download\">\n <div>{{ exportButtonLoadingSpinner ? (('APP_SETTINGS_APPS.LOADING' | customTranslate : 'Loading') + '...') : ('APP_HRM_ATTENDANCE_TABLE.EXPORT_FILE' | customTranslate : 'Export File') }}</div>\n </div>\n <!-- SK03OCT24 components to be displayed in side screen -->\n <div *ngFor=\"let type of filterScreenConfigs\">\n <!-- MY 15OCT26 pass button loader state to multi-checkbox and multiple-filter -->\n <app-multi-checkbox *ngIf=\"type.type === 'multipleCheckBox' \" class=\"ms-2 me-2\"\n [label]=\"type?.labelPath || type?.label | customTranslate : type?.label\" [cardSize]=\"type?.cardSize\"\n [cardInlineSize]=\"type?.cardInlineSize\" [checkboxList]=\"type?.checkboxList\"\n [activeCheckboxList]=\"type?.activeCheckboxList\" [buttonList]=\"type?.buttons\"\n [displayValues]=\"type?.displayValues\" [componentData]=\"type\" [checkBoxStyles]=\"type?.checkBoxStyles\"\n [isButtonLoadingSpinner]=\"type?.isButtonLoadingSpinner || false\"\n (compDataEmit)=\"exportFieldsButtonEmit($event)\">\n </app-multi-checkbox>\n <app-multiple-filter *ngIf=\"type.type === 'multipleFilter' \" class=\"ms-2 me-2\" [isDateFilter]=\"type?.isDateFilter\"\n [label]=\"type?.labelPath || type?.label | customTranslate : type?.label\" [cardSize]=\"type?.cardSize\"\n [cardInlineSize]=\"type?.cardInlineSize\" [buttonList]=\"type?.buttons\" [displayValues]=\"type?.displayValues\"\n [componentData]=\"type\" [checkBoxStyles]=\"type?.checkBoxStyles\" [selectionData]=\"type?.selectionData\"\n [isButtonLoadingSpinner]=\"type?.isButtonLoadingSpinner || false\"\n (compDataEmit)=\"exportFilterButtonEmit($event)\" (selectedValuesEmit)=\"selectedValuesEmit($event)\"\n (filterDateEmit)=\"filterDateEmit($event)\">\n </app-multiple-filter>\n </div>\n </div>\n</app-common-screen>\n\n<!-- SK24OCT25 Sandwich confirm pop up -->\n<div *ngIf=\"confirmModal\" class=\"modal modal-backdrop show d-block\" id=\"confirmRecord\" tabindex=\"-1\"\n aria-labelledby=\"confirmRecordLabel\" [attr.aria-hidden]=\"!confirmModal\">\n <div class=\"modal-dialog\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <b class=\"modal-title fs-5\" id=\"confirmRecordLabel\">{{'APP.CONFIRM_SADWICH' | customTranslate : 'Confirm Sandwich'}}</b>\n <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"\n (click)=\"confirmModal = false\"></button>\n </div>\n <div class=\"modal-body\">\n {{'APP.ARE_YOU_SURE_YOU_WANT_TO_CONVERT_THE_SANDWICH' | customTranslate : 'Are you sure want to convert sandwich leaves for the month'}} ?\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\" class=\"btn btn-primary\" data-bs-dismiss=\"modal\" aria-label=\"Close\"\n (click)=\"!buttonLoadingSpinner ? checkButtonClicked() : null\">\n <span class=\"{{ buttonLoadingSpinner ? 'spinner-grow' : '' }} spinner-grow-sm\" role=\"buttonValue\"\n aria-hidden=\"true\"></span>\n <span>{{ buttonLoadingSpinner ? ('APP_SETTINGS_APPS.LOADING' | customTranslate : 'Loading') + '...' :\n ('APP.YES' | customTranslate : 'Yes') }}\n </span>\n </button>\n <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\"\n (click)=\"confirmModal = false\">{{'APP.NO' | customTranslate : 'No'}}</button>\n </div>\n </div>\n </div>\n</div>\n",
8394
+ styles: [".table-wrapper{overflow-x:auto;max-width:100%}.table-container{max-height:600px;overflow-y:auto;display:block;width:100%}.table-layout{background:var(--fb-surface, #ffffff);border-radius:8px}.th{border-bottom:1px solid var(--fb-border-default, #e2e8f0);font-weight:var(--fw-600);font-size:var(--fs-normal);line-height:21px;color:var(--fb-text-primary, #0f172a)}.head-color{background:linear-gradient(var(--fb-action-surface, #e0f2fe),var(--fb-action-surface, #e0f2fe)),var(--fb-surface, #ffffff)!important;color:var(--fb-text-primary, #0f172a)!important}.body-color{color:var(--fb-text-primary, #0f172a);cursor:default}.search{display:flex;justify-content:space-between;border:1px solid var(--fb-border-default, #e2e8f0);background:var(--fb-surface, #ffffff);border-radius:6px;align-self:center}.search-bar{display:flex;flex-direction:row;align-items:center;width:100%;margin:5px}.card-btn{height:18px;width:18px}td.mat-cell:last-of-type{padding:8px;font-size:var(--fs-medium)}.table-title{font-weight:var(--fw-600);font-size:var(--fs-medium)}.search-component{top:20px;width:max-content;right:-30%}.sticky-column{background-color:var(--fb-surface, #ffffff)}th.sticky-column{background:linear-gradient(var(--fb-action-surface, #e0f2fe),var(--fb-action-surface, #e0f2fe)),var(--fb-surface, #ffffff)!important}.mat-sort-header-container{margin-left:5px}.body-color img{width:25px;padding:5px;cursor:pointer}.head-color.action-size{color:var(--fb-text-primary, #0f172a);font-size:var(--fs-primary);font-weight:var(--fw-600)}.lop-input{border:none;color:var(--fb-text-primary, #0f172a);max-width:50px}.mat-cell{padding:8px;white-space:nowrap;text-overflow:ellipsis}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-right:24px}::ng-deep [dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type){padding-right:10px!important;padding-left:unset!important}.mat-sort-header-container.mat-focus-indicator.ng-tns-c139-34{margin-left:5px}.mat-column-select{width:44px!important;min-width:44px!important;max-width:44px!important;text-align:center;padding:0!important;overflow:clip!important;text-overflow:clip!important}.mat-column-employeeDetail{width:260px!important;min-width:260px!important;max-width:260px!important;left:44px!important;padding-left:8px!important;padding-right:8px!important}.mat-column-summary{width:64px!important;min-width:64px!important;max-width:64px!important;text-align:center;padding:0 4px!important}.th-td{width:36px!important;min-width:36px!important;max-width:36px!important;text-align:center;padding:0!important}::ng-deep .mdc-data-table__cell,.mdc-data-table__header-cell{padding:0!important}::ng-deep .mat-mdc-checkbox-touch-target{height:28px!important}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding:0 8px}.mat-row{height:56px!important;min-height:56px!important;transition:background-color .15s ease}.mat-row:hover,.mat-row:hover .sticky-column,.mat-row:hover .sticky-col{background-color:var(--fb-row-hover, #f8fafc)!important}.mat-cell{height:56px!important;padding:0 2px!important;white-space:nowrap;color:var(--fb-text-primary, #0f172a)}.mat-header-row{height:52px!important;position:sticky;top:0;background:linear-gradient(var(--fb-action-surface, #e0f2fe),var(--fb-action-surface, #e0f2fe)),var(--fb-surface, #ffffff)!important;z-index:20;border-bottom:1px solid var(--fb-border-default, #e2e8f0);color:var(--fb-text-primary, #0f172a)}.sticky-select .mdc-checkbox{opacity:.55;transition:opacity .15s ease}.mat-row:hover .sticky-select .mdc-checkbox,.sticky-select .mdc-checkbox--selected,.sticky-select .mdc-checkbox--indeterminate{opacity:1!important}.week-off{background:var(--week-off, #f8fafc)!important}.holiday{background:color-mix(in srgb,var(--holiday, #0284c7),var(--comp-bg-color, #ffffff) 88%)!important;color:var(--holiday, #0284c7)}.attendance-chip{width:22px;height:22px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;font-size:var(--fs-Usmall, 11px);font-weight:var(--fw-600, 600);cursor:pointer;transition:transform .1s ease;-webkit-user-select:none;user-select:none}.attendance-chip:hover{transform:scale(1.1)}.attendance-chip.attendance-present{background:color-mix(in srgb,var(--attendance-present, #16a34a),var(--comp-bg-color, #ffffff) 88%);color:var(--attendance-present, #16a34a)}.attendance-chip.attendance-absent{background:color-mix(in srgb,var(--attendance-absent, #ef4444),var(--comp-bg-color, #ffffff) 88%);color:var(--attendance-absent, #ef4444)}.attendance-chip.attendance-half{background:color-mix(in srgb,var(--attendance-half, #f59e0b),var(--comp-bg-color, #ffffff) 85%);color:color-mix(in srgb,var(--attendance-half, #f59e0b),black 45%)}.attendance-chip.attendance-holiday{background:color-mix(in srgb,var(--holiday, #0284c7),var(--comp-bg-color, #ffffff) 88%);color:var(--holiday, #0284c7)}.attendance-chip.attendance-review{background:color-mix(in srgb,var(--clr-warning, #f59e0b),var(--comp-bg-color, #ffffff) 85%);color:var(--clr-warning, #f59e0b)}.attendance-chip.attendance-weekoff{background:color-mix(in srgb,var(--attendance-weekoff, #64748b),var(--comp-bg-color, #ffffff) 90%);color:var(--attendance-weekoff, #64748b)}.att-missing{width:20px;height:20px;border:1px dashed color-mix(in srgb,var(--border-color, #e2e8f0),black 15%);border-radius:6px;display:inline-block}.att-future{color:var(--fc-text-color-light, #94a3b8);font-size:16px;line-height:1;display:inline-block;opacity:.5}.att-dash{color:var(--label-text-color-light, #64748b);font-size:14px}.emp-cell-container{display:flex;align-items:center;gap:10px;width:100%;padding:0 4px}.emp-avatar{width:32px;height:32px;min-width:32px;border-radius:50%;font-size:var(--fs-small, 12px);font-weight:var(--fw-600, 600);background:var(--fb-action-surface, #e0f2fe);color:var(--fb-action, #003566);display:flex;align-items:center;justify-content:center;flex-shrink:0}.emp-meta{display:flex;flex-direction:column;overflow:hidden;text-align:left;line-height:1.25;min-width:0}.emp-name-row{display:flex;align-items:center;gap:6px;overflow:hidden}.emp-name{font-size:var(--fs-normal, 13px);font-weight:var(--fw-600, 600);color:var(--fc-text-color-dark, #0f172a);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.emp-id-tag{font-size:var(--fs-Usmall, 11px);font-weight:var(--fw-500, 500);background:var(--hover-module-bg, #f1f5f9);color:var(--label-text-color, #475569);padding:1px 5px;border-radius:4px;border:1px solid var(--border-color, #e2e8f0);flex-shrink:0}.emp-sub-row{font-size:var(--fs-Usmall, 11px);color:var(--label-text-color-light, #64748b);font-weight:var(--fw-500, 500);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}.summary-pill{padding:2px 8px;border-radius:20px;font-size:var(--fs-Usmall, 11px);font-weight:var(--fw-600, 600);background:var(--hover-module-bg, #f1f5f9);color:var(--label-text-color, #475569);border:1px solid var(--border-color, #e2e8f0);display:inline-block;white-space:nowrap}.summary-pill--target{background:color-mix(in srgb,var(--attendance-present, #16a34a),var(--comp-bg-color, #ffffff) 88%);color:var(--attendance-present, #16a34a);border-color:color-mix(in srgb,var(--attendance-present, #16a34a),var(--comp-bg-color, #ffffff) 70%)}.head-employee-label{font-size:var(--fs-small, 12px);font-weight:var(--fw-600, 600);color:var(--fc-text-color-dark, #0f172a)}.head-day-letter{font-size:var(--fs-Usmall, 11px);color:var(--fc-text-color-light, #64748b);font-weight:var(--fw-500, 500);line-height:1;text-transform:uppercase}.head-date-num{font-size:var(--fs-normal, 13px);font-weight:var(--fw-600, 600);color:var(--fc-text-color-dark, #0f172a);line-height:1.4;margin-top:2px}.head-today{background:var(--fb-action, #003566)!important;color:var(--fb-text-on-action, #ffffff)!important;border-radius:50%;width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center}.head-muted{color:var(--fb-text-muted, #94a3b8)!important}.top-legend-bar{border-top:1px solid var(--fb-border-default, #e2e8f0);padding:8px 12px;font-size:var(--fs-small, 12px);background:var(--fb-surface, #ffffff)}.legend-text{font-size:var(--fs-small, 12px);color:var(--fc-text-color-dark, #0f172a);font-weight:var(--fw-500, 500)}.table-subtitle{font-size:var(--fs-normal, 13px);color:var(--label-text-color-light, #64748b);font-weight:var(--fw-500, 500)}@media screen and (min-width:600px){mat-table{font-size:18px}}@media screen and (max-width:882px){mat-table{font-size:var(--fs-medium)}.mat-column-name,.mat-column-weight{display:none}.mat-header-cell{padding:8px}}.hyper-link{text-decoration:none}.hyper-link:hover{color:var(--fb-action, #003566);text-decoration:underline;cursor:pointer}.button-hov:hover{background:var(--fb-action, #003566);color:var(--fb-text-on-action, #ffffff)}.btn-primary{color:var(--fb-text-on-action, #ffffff)!important;background-color:var(--fb-action, #003566)!important;border-color:var(--fb-action, #003566)!important;padding:4px 9px;border-radius:.375rem}.btn-primary:hover{color:var(--fb-text-on-action, #ffffff)!important;background-color:var(--fb-action-hover, #00284d)!important;border-color:var(--fb-action-hover, #00284d)!important}.btn-primary:active,.btn-primary.active,.show>.btn-primary.dropdown-toggle{color:var(--fb-text-on-action, #ffffff)!important;background-color:var(--fb-action-pressed, #001f3f)!important;border-color:var(--fb-action-pressed, #001f3f)!important}.btn-primary:disabled,.btn-primary.disabled{color:var(--fb-text-disabled, #94a3b8)!important;background-color:var(--fb-action-disabled, #e2e8f0)!important;border-color:var(--fb-action-disabled, #e2e8f0)!important}::ng-deep .clickable-img{height:36px!important;transition:unset!important;border:unset!important;border-radius:0!important}::ng-deep nxt-button.ms-2,::ng-deep nxt-button.me-2{margin-left:0!important;margin-right:0!important}.body-color img{border-radius:8px!important}.modal-backdrop{opacity:.9}.mat-table{width:100%;border-spacing:0}.mat-header-row{position:sticky;top:0;background:var(--fb-action-surface, #e0f2fe);color:var(--fb-text-primary, #0f172a);z-index:2}.picker-container{display:flex;align-items:center;font-size:18px;font-weight:600;border:1px solid var(--fb-border-default, #e2e8f0);border-radius:8px}.month-label{cursor:pointer;min-width:100px;text-align:center;font-size:var(--fs-medium, 14px)}.arrow-btn{border:none;background:transparent;font-size:20px;cursor:pointer}.popup{position:absolute;margin-top:45px;background:var(--fb-surface-elevated, #ffffff);padding:15px;box-shadow:0 4px 12px var(--fb-backdrop, rgba(0,0,0,.12));border-radius:var(--radius-medium, 8px);width:200px;z-index:1000}.year-section{display:flex;justify-content:center;align-items:center;gap:12px;margin-bottom:10px;font-size:var(--fs-medium, 14px)}.year-section button{background:var(--fb-surface-secondary, #f8fafc);color:var(--fb-text-primary, #0f172a);border:none;padding:3px 8px;font-size:14px;cursor:pointer}.month-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;font-size:var(--fs-medium, 14px)}.month-item{padding:6px;border-radius:4px;text-align:center;cursor:pointer;background-color:var(--fb-surface-secondary, #f8fafc)}.month-item.active{background:var(--fb-action, #003566);color:var(--fb-text-on-action, #ffffff)}.Legend-font{font-size:var(--fs-normal, 13px)}.table-margin,.Legend-div{border-top:solid .5px var(--fb-border-default, #e2e8f0)}.sticky-checkbox{position:sticky;left:0;z-index:1000;background:var(--fb-surface, #ffffff);min-width:48px;width:48px}th.sticky-checkbox{z-index:1100}\n"]
8394
8395
  }]
8395
8396
  }],
8396
8397
  ctorParameters: () => [
@@ -8702,8 +8703,8 @@ var FusionCardComponent = class FusionCardComponent {
8702
8703
  descendants: true
8703
8704
  }],
8704
8705
  ngImport: i0,
8705
- template: "<!-- MR 09NOV26 Migration of Datatables and Tier 1 Primitives to fusion-ui -->\n<div *ngIf=\"!(isCardLoading?.[comp?._id]?.length > 0) && (!cardData || cardData.length === 0)\" class=\"no-records-container\">\n <div class=\"text-center p-4\">\n <div class=\"no-records-message\">\n <div class=\"mt-3 mb-2\">{{'APP.NO_RECORDS_AVAILABLE' | customTranslate : 'No Records Available'}}</div>\n </div>\n </div>\n</div>\n<div *ngIf=\"isCardLoading?.[comp?._id]?.length > 0; else viewCard\">\n <div class=\"card fc-card fc-card-light skeleton-card\" style=\"height: 200px; border: none;\">\n <div *ngFor=\"let n of [1, 2]\" class=\"flex\" style=\"padding: 25px 0px;\">\n <div *ngFor=\"let e of [1, 2]\" style=\"width: 50%; padding: 5px;\">\n <div class=\"\" style=\"height: 25px;\">\n <div class=\"title\" data-title>\n <div class=\"skeleton skeleton-text\" style=\"width: 95%;\"></div>\n <div class=\"skeleton skeleton-text\" style=\"width: 65%;\"></div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n<ng-template #viewCard>\n <div *ngIf=\"cardData && cardData.length > 0\" [class.col-md-12]=\"cardData.length > 0\" [class.dashboard-card-grid]=\"from === 'dashboard'\" style=\"height: 100%;\">\n <div class=\"row\" [ngClass]=\"{\n 'g-2': cardData.length > 1 && from !== 'dashboard',\n 'gutter-remove': from === 'dashboard'\n }\">\n <div *ngFor=\"let card of cardData; let i = index\" class=\"{{card.cardSize}} inside-card\" [ngClass]=\"{'no-padding-margin':from ==='dashboard' ? cardData.length === 1 : false, 'multy-card':from ==='dashboard' ? cardData.length > 1 : false}\" style=\"height: 100%;\" [ngStyle]=\"{'margin-top': card.marginTop}\">\n <div *ngIf=\"card?.config?.details\" style=\"height: 100%;\">\n <div class=\"width-100\" [ngClass]=\"{'static-width-for-card': from === 'dashboard' ? cardData.length != 1 : true}\" [style.border]=\"(from === 'dashboard' && cardData.length === 1 ) ? 'none' : ''\" style=\"height: 100%;\" [ngStyle]=\"from === 'dashboard' && cardData.length === 1 \n ? {\n position: 'absolute',\n top: '50%',\n left: '50%',\n transform: 'translate(-50%, -50%)'\n } \n : null\">\n <div *ngIf=\"card.isTitleHide ? card.isTitleHide === 'true' ? false : true : true\" class=\"header-section flex content-space-between\" style=\"align-items: center;\">\n <div class=\"section-title\">{{card.labelPath || card.label | customTranslate : card.label}}</div>\n <div class=\"actionButton\" style=\"display: flex; align-items: center;\">\n <div *ngFor=\"let button of card?.actionButton?.buttonArray; let i = index\">\n <div *ngIf=\"i < card?.actionButton?.size\"\n style=\"margin-left: 3px; margin-right: 3px;\">\n <div *ngIf=\"isConditionMet(card, button.conditions)\"\n [matTooltip]=\"button.tooltipPath || button.tooltip | customTranslate : button.tooltip\"\n (click)=\"actionButtonClicked(button,card)\"\n (mouseenter)=\"onMouseEnter($event,'border', button.hoverBorderColor)\"\n (mouseleave)=\"onMouseLeave($event,'border', button.borderColor)\"\n style=\"padding: 2px; border-radius: {{button.borderRadius}}px; border: 1px solid {{button.borderColor}};\">\n <div (mouseenter)=\"onMouseEnter($event,'backgroundColor', button.hoverBackgroundColor)\"\n (mouseleave)=\"onMouseLeave($event,'backgroundColor', button.backgroundColor)\"\n style=\"padding: {{button.padding}}px; border-radius: {{button.borderRadius}}px; background-color: {{button.backgroundColor}}; display: flex; gap: 2px; align-items: center;\">\n <img *ngIf=\"button.iconSrc && (button.iconSrc?.startsWith('data:') || button.iconSrc?.startsWith('http'))\"\n #imgElement\n [src]=\"button.iconSrc\"\n style=\"cursor: pointer;\"\n (mouseenter)=\"imgElement.src = button.hoverIconSrc || button.iconSrc\"\n (mouseleave)=\"imgElement.src = button.iconSrc\"/>\n <i *ngIf=\"!(button.iconSrc?.startsWith('data:') || button.iconSrc?.startsWith('http'))\"\n class=\"fusion-icon nav-icon\"\n [ngClass]=\"button.iconSrc\"\n style=\"margin: 0px !important; font-size: var(--fs-normal, 16px) !important; color: var(--fc-sub-lite, #787486);\">\n </i>\n <div *ngIf=\"button.isLabel\" style=\"color: {{button.labelColor}}; font-size: 12px;\"> {{button.label || button.tooltip | customTranslate : button.label || button.tooltip}}</div>\n </div>\n </div>\n </div>\n </div>\n <div *ngIf=\"card?.actionButton?.buttonArray && card?.actionButton?.buttonArray?.length > 0 && card?.actionButton?.buttonArray?.slice(card?.actionButton?.size) && card?.actionButton?.buttonArray?.slice(card?.actionButton?.size).length > 0\"\n class=\"dropdown\">\n <div class=\"clickable-img\" (click)=\"toggleDropdown(i)\"\n style=\"margin-left: 3px; margin-right: 3px;\">\n <div style=\"background-color: var(--comp-bg-secondary, #f5f5f5); padding: 2px 2px; border-radius: var(--radius-small, 5px);\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-arrow-square-down nav-icon\" style=\"background-color: var(--comp-bg-secondary, #f5f5f5); border-radius: var(--radius-small, 5px); border: 1px solid var(--border-color, #6c757d);\"></i>\n </div>\n </div>\n\n <div class=\"dropdown-menu\"\n [style.right]=\"(((card?.actionButton?.size ?? 0) - (card?.actionButton?.buttonArray?.size ?? 0) + ((card?.actionButton?.buttonArray?.slice(card?.actionButton?.size)?.length ?? 0) > 0 ? 1 : 0)) * 100) + '%'\"\n *ngIf=\"currentOpenIndex === i\">\n <div *ngFor=\"let btn of card?.actionButton?.buttonArray?.slice(card?.actionButton?.size)\">\n <button *ngIf=\"isConditionMet(card, btn.conditions)\" \n style=\"display: flex;\" type=\"button\"\n class=\"btn btn-icon {{btn.buttonType}} tooltip-container\"\n [matTooltip]=\"btn.tooltipPath || btn.tooltip | customTranslate : btn.tooltip\" [disabled]=\"btn.buttonDisable\"\n (click)=\"actionButtonClicked(btn,card)\">\n <img *ngIf=\"btn.iconSrc\" [src]=\"btn.iconSrc\">\n <div class=\"fc-btn-text\" style=\"padding-left: 10px;\">\n {{btn.labelPath || btn.namePath || btn.name | customTranslate : btn.label || btn.name}}</div>\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"body-section card-text\" style=\"height: 100%;\" [ngStyle]=\"{ padding: card?.config?.padding || null }\">\n <div class=\"flex w-100\" [ngClass]=\"{\n 'row': card?.config?.details?.length > 1,\n 'gutter-remove': from === 'dashboard' && card?.config?.details?.length > 1\n }\" style=\"height: 100%;\">\n <ng-container *ngFor=\"let detail of card?.config?.details\">\n <div *ngIf=\"!detail?.hideFromCard\" class=\"{{detail.size || card.cardInlineSize}} card-detail d-flex flex-column\" [ngClass]=\"detail.alignment\">\n <div *ngIf=\"detail.iconSrc && detail.iconPosition !== 'end'\" class=\"icon-container d-flex\">\n <div class=\"icon-wrapper\" [style.border]=\"'4px solid gray'\">\n <img [src]=\"detail.iconSrc\" alt=\"Icon\">\n </div>\n </div>\n\n <div *ngIf=\"!detail.isLabelHide && detail?.type !== 'image'\" class=\"label-head\" [ngClass]=\"detail.labelFont\">{{detail.labelPath || detail.label | customTranslate : detail.label}}</div>\n\n <div [ngClass]=\"detail?.type !== 'image' && detail?.type !== 'file' ? 'flex-column' : ''\" [class.detail-value-wrapper]=\"detail?.type !== 'image' && detail.truncate\">\n <div *ngIf=\"detail?.type !== 'date' && detail?.type !== 'time' && detail?.type !== 'datetime' && detail?.type !== 'label' && detail?.type !== 'image' && detail?.type !== 'file'\" class=\"label-sub\" [ngClass]=\"detail.valueFont\" [class.truncate]=\"detail.truncate\">\n {{\n (detail?.type === 'boolean' || (detail?.value === true || detail?.value === false))\n ? (detail?.value === true ? 'True' : 'False')\n : (detail?.value || detail.value === 0)\n ? detail.value\n : '-'\n }}\n </div>\n <div *ngIf=\"detail?.type === 'date'\" class=\"label-sub\" [ngClass]=\"detail.valueFont\" [class.truncate]=\"detail.truncate\">{{ (detail?.value | customDate) || '-' }}</div>\n <div *ngIf=\"detail?.type === 'datetime'\" class=\"label-sub\" [ngClass]=\"detail.valueFont\" [class.truncate]=\"detail.truncate\">{{ (detail?.value | customDate : 'datetime') || '-' }}</div>\n <div *ngIf=\"detail?.type === 'time'\" class=\"label-sub\" [ngClass]=\"detail.valueFont\" [class.truncate]=\"detail.truncate\">{{ (detail?.value | customDate : 'time') || '-' }}</div>\n <div *ngIf=\"detail?.type === 'link'\" class=\"ms-2\">\n <a *ngIf=\"detail?.redirectOnClick\"\n [href]=\"'//'+detail?.value\"\n [target]=\"detail?.openInNewTab ? '_blank' : '_self'\"\n class=\"form-label label-head\">\n <img [src]=\"detail?.srcImg\" />\n </a>\n </div>\n <div *ngIf=\"detail?.type === 'image'\">\n <img [style.height.%]=\"detail.imgHeight\" [src]=\"(detail?.value || detail?.defaultValue)\" style=\"width: 100%; max-height: 100%; object-fit: contain;\"/>\n </div>\n <div *ngIf=\"detail?.type === 'file'\">\n <div class=\"cursor-pointer label-sub\" [ngClass]=\"detail.valueFont\" [class.truncate]=\"detail.truncate\" (click)=\"fileClick(detail.value, i)\">{{detail?.isLabel ? detail.value.name : ''}}</div>\n <div class=\"flex\" *ngIf=\"detail?.value\">\n <img *ngIf=\"detail?.type === 'file' && !isLoading[i]\"\n src=\"../assets/images/icons/general/download-icon.svg\"\n class=\"card-icon color\"\n title=\"download\"\n (click)=\"downloadFile(detail.value, i)\"\n style=\"cursor: pointer; width:17px\">\n <svg *ngIf=\"detail?.type === 'file' && isLoading[i]\"\n class=\"svg-spinner card-icon color\"\n width=\"22\" height=\"22\" viewBox=\"0 0 50 50\"\n style=\"cursor: wait;\">\n <circle class=\"path\" cx=\"25\" cy=\"25\" r=\"20\" fill=\"none\" stroke-width=\"4\"></circle>\n </svg>\n <img *ngIf=\"detail?.isView && !isViewLoading[i]\"\n src=\"../assets/images/icons/general/preview.svg\"\n class=\"card-icon color\"\n title=\"preview\"\n (click)=\"fileClick(detail.value, i)\"\n style=\"cursor: pointer; width:20px\">\n <svg *ngIf=\"detail?.isView && isViewLoading[i]\"\n class=\"svg-spinner card-icon color\"\n width=\"22\" height=\"22\" viewBox=\"0 0 50 50\"\n style=\"cursor: wait;\">\n <circle class=\"path\" cx=\"25\" cy=\"25\" r=\"20\" fill=\"none\" stroke-width=\"4\"></circle>\n </svg>\n </div>\n </div>\n </div>\n <div *ngIf=\"detail.iconSrc && detail.iconPosition === 'end'\" class=\"icon-container d-flex\">\n <div class=\"icon-wrapper\" [style.border]=\"'4px solid gray'\">\n <img [src]=\"detail.iconSrc\" alt=\"Icon\">\n </div>\n </div>\n </div>\n </ng-container>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</ng-template>\n\n<div *ngIf=\"deleteModal\" class=\"custom-modal-overlay\">\n <div class=\"custom-modal\">\n <div class=\"custom-modal-header\">\n <b>{{ 'APP.DELETE_RECORD'| customTranslate : 'Delete Record'}}</b>\n <button class=\"close-button\" (click)=\"deleteModal = false\">×</button>\n </div>\n <div class=\"custom-modal-body\">\n {{ 'APP.ARE_YOU_SURE_YOU_WANT_TO_DELETE_THE_REC'| customTranslate : 'Are you sure you want to delete the record'}} ?\n </div>\n <div class=\"custom-modal-footer\">\n <button class=\"confirm-button\" (click)=\"deleteRecordData()\">{{ 'APP.YES'| customTranslate : 'Yes'}}</button>\n <button class=\"cancel-button\" (click)=\"deleteModal = false\">{{ 'APP.NO'| customTranslate : 'No'}}</button>\n </div>\n </div>\n</div>\n\n<div class=\"modal fade container-sm\" id=\"file\" aria-labelledby=\"file\" \naria-hidden=\"true\" #file>\n <div class=\"modal-dialog modal-lg\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <div class=\"modal-title fs-5\" id=\"expenseReceiptModelLabel\">{{popupTitle}}</div>\n <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" (click)=\"closeModal()\" aria-label=\"Close\"></button>\n </div>\n <div class=\"modal-body\">\n <iframe class=\"receipt-view\" *ngIf=\"safeSrc\" [src]=\"safeSrc\" style=\"width: 100%; height: 500px; border: none;\"></iframe>\n </div>\n </div>\n </div>\n</div>\n\n",
8706
- styles: [".dropdown-menu{left:unset!important;right:300%;top:12.5px;background-color:var(--comp-bg-color, #ffffff);border:1px solid var(--border-color, #e2e8f0);border-radius:var(--radius-small, 4px);box-shadow:0 4px 8px var(--box-shadow-color, rgba(0, 0, 0, .1))}.dropdown .dropdown-menu{display:block}.dropdown-menu .btn{display:block;padding:10px;width:100%;text-align:left;background:transparent;border:none;cursor:pointer}.clickable-img{position:relative;cursor:pointer;padding:2px;border:1px solid var(--border-color, #e2e8f0);border-radius:5px}.clickable-img:hover{border:1px solid var(--fc-primary-color, rgb(31, 105, 255));border-radius:var(--radius-small, 5px)}.card-icon.color path{fill:var(--fc-primary-color, #2563eb)}.card-icon.color{margin-left:15px}.custom-modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:var(--box-shadow-color, rgba(0, 0, 0, .4));display:flex;align-items:start;justify-content:center;z-index:1050}.custom-modal{background:var(--comp-bg-color, #ffffff);border-radius:8px;width:550px;max-width:90%;margin-top:30px;box-shadow:0 5px 15px var(--box-shadow-color, rgba(0, 0, 0, .2));overflow:hidden}.custom-modal-header{border-bottom:solid .5px var(--border-color, #e2e8f0)}.custom-modal-footer{border-top:solid .5px var(--border-color, #e2e8f0)}.custom-modal-header,.custom-modal-footer{padding:.7rem;display:flex;justify-content:space-between;align-items:center}.custom-modal-body{padding:1rem;font-size:1rem}.close-button{background:none;border:none;font-size:1.25rem;cursor:pointer}.cancel-button,.confirm-button{padding:.5rem 1rem;border:none;border-radius:4px;cursor:pointer}.cancel-button{background:var(--comp-bg-color, #ffffff);color:var(--fc-text-color-dark, #000000)}.confirm-button{background:var(--clr-error, #d9534f);color:var(--comp-bg-color, #ffffff)}.text-center{text-align:center!important;border:solid .5px var(--border-color, #94a3b8);border-radius:var(--radius-medium, 10px);margin:10px 0;color:var(--fc-text-color-light, #94a3b8)}.receipt-view{width:100%;height:600px}.icon-container{position:relative;margin-top:100px;z-index:1}.card-detail{margin-top:5px;margin-bottom:5px;min-width:0;overflow:hidden}.svg-spinner{animation:rotate 1s linear infinite}.svg-spinner .path{stroke:var(--fc-primary-color, #2563eb);stroke-linecap:round;stroke-dasharray:80 150;stroke-width:4}@keyframes rotate{to{transform:rotate(360deg)}}.no-padding-margin{margin:0!important;padding:0!important}.static-width-for-card{border:1px solid var(--border-color, #e2e8f0);border-radius:8px}.header-section{padding:8px 8px 0}.section-title{font-size:var(--fs-primary, 14px);font-weight:500}.body-section{padding:8px}.label-sub{white-space:normal;overflow-wrap:anywhere}.row.gutter-remove{--bs-gutter-x: 0rem !important;margin-top:0!important}.row{--bs-gutter-y: 0 !important}.inside-card.multy-card{margin-top:5px!important}.detail-value-wrapper{min-width:0;overflow:hidden;width:100%}.row>[class*=col]{min-width:0}.label-sub.truncate{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;overflow-wrap:unset!important;display:block;max-width:100%}\n"],
8706
+ template: "<!-- MR 09NOV26 Migration of Datatables and Tier 1 Primitives to fusion-ui -->\n<div *ngIf=\"!(isCardLoading?.[comp?._id]?.length > 0) && (!cardData || cardData.length === 0)\" class=\"no-records-container\">\n <div class=\"text-center p-4\">\n <div class=\"no-records-message\">\n <div class=\"mt-3 mb-2\">{{'APP.NO_RECORDS_AVAILABLE' | customTranslate : 'No Records Available'}}</div>\n </div>\n </div>\n</div>\n<div *ngIf=\"isCardLoading?.[comp?._id]?.length > 0; else viewCard\">\n <div class=\"card fc-card fc-card-light skeleton-card\" style=\"height: 200px; border: none;\">\n <div *ngFor=\"let n of [1, 2]\" class=\"flex\" style=\"padding: 25px 0px;\">\n <div *ngFor=\"let e of [1, 2]\" style=\"width: 50%; padding: 5px;\">\n <div class=\"\" style=\"height: 25px;\">\n <div class=\"title\" data-title>\n <div class=\"skeleton skeleton-text\" style=\"width: 95%;\"></div>\n <div class=\"skeleton skeleton-text\" style=\"width: 65%;\"></div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n<ng-template #viewCard>\n <div *ngIf=\"cardData && cardData.length > 0\" [class.col-md-12]=\"cardData.length > 0\" [class.dashboard-card-grid]=\"from === 'dashboard'\" style=\"height: 100%;\">\n <div class=\"row\" [ngClass]=\"{\n 'g-2': cardData.length > 1 && from !== 'dashboard',\n 'gutter-remove': from === 'dashboard'\n }\">\n <div *ngFor=\"let card of cardData; let i = index\" class=\"{{card.cardSize}} inside-card\" [ngClass]=\"{'no-padding-margin':from ==='dashboard' ? cardData.length === 1 : false, 'multy-card':from ==='dashboard' ? cardData.length > 1 : false}\" style=\"height: 100%;\" [ngStyle]=\"{'margin-top': card.marginTop}\">\n <div *ngIf=\"card?.config?.details\" style=\"height: 100%;\">\n <div class=\"width-100\" [ngClass]=\"{'static-width-for-card': from === 'dashboard' ? cardData.length != 1 : true}\" [style.border]=\"(from === 'dashboard' && cardData.length === 1 ) ? 'none' : ''\" style=\"height: 100%;\" [ngStyle]=\"from === 'dashboard' && cardData.length === 1 \n ? {\n position: 'absolute',\n top: '50%',\n left: '50%',\n transform: 'translate(-50%, -50%)'\n } \n : null\">\n <div *ngIf=\"card.isTitleHide ? card.isTitleHide === 'true' ? false : true : true\" class=\"header-section flex content-space-between\" style=\"align-items: center;\">\n <div class=\"section-title\">{{card.labelPath || card.label | customTranslate : card.label}}</div>\n <div class=\"actionButton\" style=\"display: flex; align-items: center;\">\n <div *ngFor=\"let button of card?.actionButton?.buttonArray; let i = index\">\n <div *ngIf=\"i < card?.actionButton?.size\"\n style=\"margin-left: 3px; margin-right: 3px;\">\n <div *ngIf=\"isConditionMet(card, button.conditions)\"\n [matTooltip]=\"button.tooltipPath || button.tooltip | customTranslate : button.tooltip\"\n (click)=\"actionButtonClicked(button,card)\"\n (mouseenter)=\"onMouseEnter($event,'border', button.hoverBorderColor)\"\n (mouseleave)=\"onMouseLeave($event,'border', button.borderColor)\"\n style=\"padding: 2px; border-radius: {{button.borderRadius}}px; border: 1px solid {{button.borderColor}};\">\n <div (mouseenter)=\"onMouseEnter($event,'backgroundColor', button.hoverBackgroundColor)\"\n (mouseleave)=\"onMouseLeave($event,'backgroundColor', button.backgroundColor)\"\n style=\"padding: {{button.padding}}px; border-radius: {{button.borderRadius}}px; background-color: {{button.backgroundColor}}; display: flex; gap: 2px; align-items: center;\">\n <img *ngIf=\"button.iconSrc && (button.iconSrc?.startsWith('data:') || button.iconSrc?.startsWith('http'))\"\n #imgElement\n [src]=\"button.iconSrc\"\n style=\"cursor: pointer;\"\n (mouseenter)=\"imgElement.src = button.hoverIconSrc || button.iconSrc\"\n (mouseleave)=\"imgElement.src = button.iconSrc\"/>\n <i *ngIf=\"!(button.iconSrc?.startsWith('data:') || button.iconSrc?.startsWith('http'))\"\n class=\"fusion-icon nav-icon\"\n [ngClass]=\"button.iconSrc\"\n style=\"margin: 0px !important; font-size: var(--fs-normal, 16px) !important; color: var(--fb-text-muted, #787486);\">\n </i>\n <div *ngIf=\"button.isLabel\" style=\"color: {{button.labelColor}}; font-size: 12px;\"> {{button.label || button.tooltip | customTranslate : button.label || button.tooltip}}</div>\n </div>\n </div>\n </div>\n </div>\n <div *ngIf=\"card?.actionButton?.buttonArray && card?.actionButton?.buttonArray?.length > 0 && card?.actionButton?.buttonArray?.slice(card?.actionButton?.size) && card?.actionButton?.buttonArray?.slice(card?.actionButton?.size).length > 0\"\n class=\"dropdown\">\n <div class=\"clickable-img\" (click)=\"toggleDropdown(i)\"\n style=\"margin-left: 3px; margin-right: 3px;\">\n <!-- MR 16NOV26 Remediate dropdown icon container to semantic tokens -->\n <div style=\"background-color: var(--fb-surface-secondary, #f8fafc); padding: 2px 2px; border-radius: var(--radius-small, 5px);\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-arrow-square-down nav-icon\" style=\"background-color: var(--fb-surface-secondary, #f8fafc); border-radius: var(--radius-small, 5px); border: 1px solid var(--fb-border-default, #e2e8f0);\"></i>\n </div>\n </div>\n\n <div class=\"dropdown-menu\"\n [style.right]=\"(((card?.actionButton?.size ?? 0) - (card?.actionButton?.buttonArray?.size ?? 0) + ((card?.actionButton?.buttonArray?.slice(card?.actionButton?.size)?.length ?? 0) > 0 ? 1 : 0)) * 100) + '%'\"\n *ngIf=\"currentOpenIndex === i\">\n <div *ngFor=\"let btn of card?.actionButton?.buttonArray?.slice(card?.actionButton?.size)\">\n <button *ngIf=\"isConditionMet(card, btn.conditions)\" \n style=\"display: flex;\" type=\"button\"\n class=\"btn btn-icon {{btn.buttonType}} tooltip-container\"\n [matTooltip]=\"btn.tooltipPath || btn.tooltip | customTranslate : btn.tooltip\" [disabled]=\"btn.buttonDisable\"\n (click)=\"actionButtonClicked(btn,card)\">\n <img *ngIf=\"btn.iconSrc\" [src]=\"btn.iconSrc\">\n <div class=\"fc-btn-text\" style=\"padding-left: 10px;\">\n {{btn.labelPath || btn.namePath || btn.name | customTranslate : btn.label || btn.name}}</div>\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"body-section card-text\" style=\"height: 100%;\" [ngStyle]=\"{ padding: card?.config?.padding || null }\">\n <div class=\"flex w-100\" [ngClass]=\"{\n 'row': card?.config?.details?.length > 1,\n 'gutter-remove': from === 'dashboard' && card?.config?.details?.length > 1\n }\" style=\"height: 100%;\">\n <ng-container *ngFor=\"let detail of card?.config?.details\">\n <div *ngIf=\"!detail?.hideFromCard\" class=\"{{detail.size || card.cardInlineSize}} card-detail d-flex flex-column\" [ngClass]=\"detail.alignment\">\n <div *ngIf=\"detail.iconSrc && detail.iconPosition !== 'end'\" class=\"icon-container d-flex\">\n <div class=\"icon-wrapper\" [style.border]=\"'4px solid gray'\">\n <img [src]=\"detail.iconSrc\" alt=\"Icon\">\n </div>\n </div>\n\n <div *ngIf=\"!detail.isLabelHide && detail?.type !== 'image'\" class=\"label-head\" [ngClass]=\"detail.labelFont\">{{detail.labelPath || detail.label | customTranslate : detail.label}}</div>\n\n <div [ngClass]=\"detail?.type !== 'image' && detail?.type !== 'file' ? 'flex-column' : ''\" [class.detail-value-wrapper]=\"detail?.type !== 'image' && detail.truncate\">\n <div *ngIf=\"detail?.type !== 'date' && detail?.type !== 'time' && detail?.type !== 'datetime' && detail?.type !== 'label' && detail?.type !== 'image' && detail?.type !== 'file'\" class=\"label-sub\" [ngClass]=\"detail.valueFont\" [class.truncate]=\"detail.truncate\">\n {{\n (detail?.type === 'boolean' || (detail?.value === true || detail?.value === false))\n ? (detail?.value === true ? 'True' : 'False')\n : (detail?.value || detail.value === 0)\n ? detail.value\n : '-'\n }}\n </div>\n <div *ngIf=\"detail?.type === 'date'\" class=\"label-sub\" [ngClass]=\"detail.valueFont\" [class.truncate]=\"detail.truncate\">{{ (detail?.value | customDate) || '-' }}</div>\n <div *ngIf=\"detail?.type === 'datetime'\" class=\"label-sub\" [ngClass]=\"detail.valueFont\" [class.truncate]=\"detail.truncate\">{{ (detail?.value | customDate : 'datetime') || '-' }}</div>\n <div *ngIf=\"detail?.type === 'time'\" class=\"label-sub\" [ngClass]=\"detail.valueFont\" [class.truncate]=\"detail.truncate\">{{ (detail?.value | customDate : 'time') || '-' }}</div>\n <div *ngIf=\"detail?.type === 'link'\" class=\"ms-2\">\n <a *ngIf=\"detail?.redirectOnClick\"\n [href]=\"'//'+detail?.value\"\n [target]=\"detail?.openInNewTab ? '_blank' : '_self'\"\n class=\"form-label label-head\">\n <img [src]=\"detail?.srcImg\" />\n </a>\n </div>\n <div *ngIf=\"detail?.type === 'image'\">\n <img [style.height.%]=\"detail.imgHeight\" [src]=\"(detail?.value || detail?.defaultValue)\" style=\"width: 100%; max-height: 100%; object-fit: contain;\"/>\n </div>\n <div *ngIf=\"detail?.type === 'file'\">\n <div class=\"cursor-pointer label-sub\" [ngClass]=\"detail.valueFont\" [class.truncate]=\"detail.truncate\" (click)=\"fileClick(detail.value, i)\">{{detail?.isLabel ? detail.value.name : ''}}</div>\n <div class=\"flex\" *ngIf=\"detail?.value\">\n <img *ngIf=\"detail?.type === 'file' && !isLoading[i]\"\n src=\"../assets/images/icons/general/download-icon.svg\"\n class=\"card-icon color\"\n title=\"download\"\n (click)=\"downloadFile(detail.value, i)\"\n style=\"cursor: pointer; width:17px\">\n <svg *ngIf=\"detail?.type === 'file' && isLoading[i]\"\n class=\"svg-spinner card-icon color\"\n width=\"22\" height=\"22\" viewBox=\"0 0 50 50\"\n style=\"cursor: wait;\">\n <circle class=\"path\" cx=\"25\" cy=\"25\" r=\"20\" fill=\"none\" stroke-width=\"4\"></circle>\n </svg>\n <img *ngIf=\"detail?.isView && !isViewLoading[i]\"\n src=\"../assets/images/icons/general/preview.svg\"\n class=\"card-icon color\"\n title=\"preview\"\n (click)=\"fileClick(detail.value, i)\"\n style=\"cursor: pointer; width:20px\">\n <svg *ngIf=\"detail?.isView && isViewLoading[i]\"\n class=\"svg-spinner card-icon color\"\n width=\"22\" height=\"22\" viewBox=\"0 0 50 50\"\n style=\"cursor: wait;\">\n <circle class=\"path\" cx=\"25\" cy=\"25\" r=\"20\" fill=\"none\" stroke-width=\"4\"></circle>\n </svg>\n </div>\n </div>\n </div>\n <div *ngIf=\"detail.iconSrc && detail.iconPosition === 'end'\" class=\"icon-container d-flex\">\n <div class=\"icon-wrapper\" [style.border]=\"'4px solid gray'\">\n <img [src]=\"detail.iconSrc\" alt=\"Icon\">\n </div>\n </div>\n </div>\n </ng-container>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</ng-template>\n\n<div *ngIf=\"deleteModal\" class=\"custom-modal-overlay\">\n <div class=\"custom-modal\">\n <div class=\"custom-modal-header\">\n <b>{{ 'APP.DELETE_RECORD'| customTranslate : 'Delete Record'}}</b>\n <button class=\"close-button\" (click)=\"deleteModal = false\">×</button>\n </div>\n <div class=\"custom-modal-body\">\n {{ 'APP.ARE_YOU_SURE_YOU_WANT_TO_DELETE_THE_REC'| customTranslate : 'Are you sure you want to delete the record'}} ?\n </div>\n <div class=\"custom-modal-footer\">\n <button class=\"confirm-button\" (click)=\"deleteRecordData()\">{{ 'APP.YES'| customTranslate : 'Yes'}}</button>\n <button class=\"cancel-button\" (click)=\"deleteModal = false\">{{ 'APP.NO'| customTranslate : 'No'}}</button>\n </div>\n </div>\n</div>\n\n<div class=\"modal fade container-sm\" id=\"file\" aria-labelledby=\"file\" \naria-hidden=\"true\" #file>\n <div class=\"modal-dialog modal-lg\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <div class=\"modal-title fs-5\" id=\"expenseReceiptModelLabel\">{{popupTitle}}</div>\n <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" (click)=\"closeModal()\" aria-label=\"Close\"></button>\n </div>\n <div class=\"modal-body\">\n <iframe class=\"receipt-view\" *ngIf=\"safeSrc\" [src]=\"safeSrc\" style=\"width: 100%; height: 500px; border: none;\"></iframe>\n </div>\n </div>\n </div>\n</div>\n\n",
8707
+ styles: [".dropdown-menu{left:unset!important;right:300%;top:12.5px;background-color:var(--fb-surface-elevated, #ffffff);border:1px solid var(--fb-border-default, #e2e8f0);border-radius:var(--radius-small, 4px);box-shadow:0 4px 8px var(--fb-backdrop, rgba(0, 0, 0, .1))}.dropdown .dropdown-menu{display:block}.dropdown-menu .btn{display:block;padding:10px;width:100%;text-align:left;background:transparent;border:none;cursor:pointer}.clickable-img{position:relative;cursor:pointer;padding:2px;border:1px solid var(--fb-border-default, #e2e8f0);border-radius:5px}.clickable-img:hover{border:1px solid var(--fb-action-border, #1f69ff);border-radius:var(--radius-small, 5px)}.card-icon.color path{fill:var(--fc-primary-color, #2563eb)}.card-icon.color{margin-left:15px}.custom-modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:var(--fb-backdrop, rgba(0, 0, 0, .4));display:flex;align-items:start;justify-content:center;z-index:1050}.custom-modal{background:var(--fb-surface-elevated, #ffffff);border-radius:8px;width:550px;max-width:90%;margin-top:30px;box-shadow:0 5px 15px var(--fb-backdrop, rgba(0, 0, 0, .2));overflow:hidden}.custom-modal-header{border-bottom:solid .5px var(--fb-border-default, #e2e8f0)}.custom-modal-footer{border-top:solid .5px var(--fb-border-default, #e2e8f0)}.custom-modal-header,.custom-modal-footer{padding:.7rem;display:flex;justify-content:space-between;align-items:center}.custom-modal-body{padding:1rem;font-size:1rem}.close-button{background:none;border:none;font-size:1.25rem;cursor:pointer}.cancel-button,.confirm-button{padding:.5rem 1rem;border:none;border-radius:4px;cursor:pointer}.cancel-button{background:var(--fb-surface-secondary, #ffffff);color:var(--fb-text-primary, #0f172a)}.confirm-button{background:var(--fb-error-surface, #d9534f);color:var(--fb-text-on-action, #ffffff)}.text-center{text-align:center!important;border:solid .5px var(--fb-border-default, #94a3b8);border-radius:var(--radius-medium, 10px);margin:10px 0;color:var(--fb-text-muted, #94a3b8)}.receipt-view{width:100%;height:600px}.icon-container{position:relative;margin-top:100px;z-index:1}.card-detail{margin-top:5px;margin-bottom:5px;min-width:0;overflow:hidden}.svg-spinner{animation:rotate 1s linear infinite}.svg-spinner .path{stroke:var(--fc-primary-color, #2563eb);stroke-linecap:round;stroke-dasharray:80 150;stroke-width:4}@keyframes rotate{to{transform:rotate(360deg)}}.no-padding-margin{margin:0!important;padding:0!important}.static-width-for-card{border:1px solid var(--fb-border-default, #e2e8f0);border-radius:8px}.header-section{padding:8px 8px 0}.section-title{font-size:var(--fs-primary, 14px);font-weight:500}.body-section{padding:8px}.label-sub{white-space:normal;overflow-wrap:anywhere}.row.gutter-remove{--bs-gutter-x: 0rem !important;margin-top:0!important}.row{--bs-gutter-y: 0 !important}.inside-card.multy-card{margin-top:5px!important}.detail-value-wrapper{min-width:0;overflow:hidden;width:100%}.row>[class*=col]{min-width:0}.label-sub.truncate{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;overflow-wrap:unset!important;display:block;max-width:100%}\n"],
8707
8708
  dependencies: [
8708
8709
  {
8709
8710
  kind: "ngmodule",
@@ -8791,8 +8792,8 @@ i0.ɵɵngDeclareClassMetadata({
8791
8792
  CustomDatePipe
8792
8793
  ],
8793
8794
  providers: [DatePipe],
8794
- template: "<!-- MR 09NOV26 Migration of Datatables and Tier 1 Primitives to fusion-ui -->\n<div *ngIf=\"!(isCardLoading?.[comp?._id]?.length > 0) && (!cardData || cardData.length === 0)\" class=\"no-records-container\">\n <div class=\"text-center p-4\">\n <div class=\"no-records-message\">\n <div class=\"mt-3 mb-2\">{{'APP.NO_RECORDS_AVAILABLE' | customTranslate : 'No Records Available'}}</div>\n </div>\n </div>\n</div>\n<div *ngIf=\"isCardLoading?.[comp?._id]?.length > 0; else viewCard\">\n <div class=\"card fc-card fc-card-light skeleton-card\" style=\"height: 200px; border: none;\">\n <div *ngFor=\"let n of [1, 2]\" class=\"flex\" style=\"padding: 25px 0px;\">\n <div *ngFor=\"let e of [1, 2]\" style=\"width: 50%; padding: 5px;\">\n <div class=\"\" style=\"height: 25px;\">\n <div class=\"title\" data-title>\n <div class=\"skeleton skeleton-text\" style=\"width: 95%;\"></div>\n <div class=\"skeleton skeleton-text\" style=\"width: 65%;\"></div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n<ng-template #viewCard>\n <div *ngIf=\"cardData && cardData.length > 0\" [class.col-md-12]=\"cardData.length > 0\" [class.dashboard-card-grid]=\"from === 'dashboard'\" style=\"height: 100%;\">\n <div class=\"row\" [ngClass]=\"{\n 'g-2': cardData.length > 1 && from !== 'dashboard',\n 'gutter-remove': from === 'dashboard'\n }\">\n <div *ngFor=\"let card of cardData; let i = index\" class=\"{{card.cardSize}} inside-card\" [ngClass]=\"{'no-padding-margin':from ==='dashboard' ? cardData.length === 1 : false, 'multy-card':from ==='dashboard' ? cardData.length > 1 : false}\" style=\"height: 100%;\" [ngStyle]=\"{'margin-top': card.marginTop}\">\n <div *ngIf=\"card?.config?.details\" style=\"height: 100%;\">\n <div class=\"width-100\" [ngClass]=\"{'static-width-for-card': from === 'dashboard' ? cardData.length != 1 : true}\" [style.border]=\"(from === 'dashboard' && cardData.length === 1 ) ? 'none' : ''\" style=\"height: 100%;\" [ngStyle]=\"from === 'dashboard' && cardData.length === 1 \n ? {\n position: 'absolute',\n top: '50%',\n left: '50%',\n transform: 'translate(-50%, -50%)'\n } \n : null\">\n <div *ngIf=\"card.isTitleHide ? card.isTitleHide === 'true' ? false : true : true\" class=\"header-section flex content-space-between\" style=\"align-items: center;\">\n <div class=\"section-title\">{{card.labelPath || card.label | customTranslate : card.label}}</div>\n <div class=\"actionButton\" style=\"display: flex; align-items: center;\">\n <div *ngFor=\"let button of card?.actionButton?.buttonArray; let i = index\">\n <div *ngIf=\"i < card?.actionButton?.size\"\n style=\"margin-left: 3px; margin-right: 3px;\">\n <div *ngIf=\"isConditionMet(card, button.conditions)\"\n [matTooltip]=\"button.tooltipPath || button.tooltip | customTranslate : button.tooltip\"\n (click)=\"actionButtonClicked(button,card)\"\n (mouseenter)=\"onMouseEnter($event,'border', button.hoverBorderColor)\"\n (mouseleave)=\"onMouseLeave($event,'border', button.borderColor)\"\n style=\"padding: 2px; border-radius: {{button.borderRadius}}px; border: 1px solid {{button.borderColor}};\">\n <div (mouseenter)=\"onMouseEnter($event,'backgroundColor', button.hoverBackgroundColor)\"\n (mouseleave)=\"onMouseLeave($event,'backgroundColor', button.backgroundColor)\"\n style=\"padding: {{button.padding}}px; border-radius: {{button.borderRadius}}px; background-color: {{button.backgroundColor}}; display: flex; gap: 2px; align-items: center;\">\n <img *ngIf=\"button.iconSrc && (button.iconSrc?.startsWith('data:') || button.iconSrc?.startsWith('http'))\"\n #imgElement\n [src]=\"button.iconSrc\"\n style=\"cursor: pointer;\"\n (mouseenter)=\"imgElement.src = button.hoverIconSrc || button.iconSrc\"\n (mouseleave)=\"imgElement.src = button.iconSrc\"/>\n <i *ngIf=\"!(button.iconSrc?.startsWith('data:') || button.iconSrc?.startsWith('http'))\"\n class=\"fusion-icon nav-icon\"\n [ngClass]=\"button.iconSrc\"\n style=\"margin: 0px !important; font-size: var(--fs-normal, 16px) !important; color: var(--fc-sub-lite, #787486);\">\n </i>\n <div *ngIf=\"button.isLabel\" style=\"color: {{button.labelColor}}; font-size: 12px;\"> {{button.label || button.tooltip | customTranslate : button.label || button.tooltip}}</div>\n </div>\n </div>\n </div>\n </div>\n <div *ngIf=\"card?.actionButton?.buttonArray && card?.actionButton?.buttonArray?.length > 0 && card?.actionButton?.buttonArray?.slice(card?.actionButton?.size) && card?.actionButton?.buttonArray?.slice(card?.actionButton?.size).length > 0\"\n class=\"dropdown\">\n <div class=\"clickable-img\" (click)=\"toggleDropdown(i)\"\n style=\"margin-left: 3px; margin-right: 3px;\">\n <div style=\"background-color: var(--comp-bg-secondary, #f5f5f5); padding: 2px 2px; border-radius: var(--radius-small, 5px);\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-arrow-square-down nav-icon\" style=\"background-color: var(--comp-bg-secondary, #f5f5f5); border-radius: var(--radius-small, 5px); border: 1px solid var(--border-color, #6c757d);\"></i>\n </div>\n </div>\n\n <div class=\"dropdown-menu\"\n [style.right]=\"(((card?.actionButton?.size ?? 0) - (card?.actionButton?.buttonArray?.size ?? 0) + ((card?.actionButton?.buttonArray?.slice(card?.actionButton?.size)?.length ?? 0) > 0 ? 1 : 0)) * 100) + '%'\"\n *ngIf=\"currentOpenIndex === i\">\n <div *ngFor=\"let btn of card?.actionButton?.buttonArray?.slice(card?.actionButton?.size)\">\n <button *ngIf=\"isConditionMet(card, btn.conditions)\" \n style=\"display: flex;\" type=\"button\"\n class=\"btn btn-icon {{btn.buttonType}} tooltip-container\"\n [matTooltip]=\"btn.tooltipPath || btn.tooltip | customTranslate : btn.tooltip\" [disabled]=\"btn.buttonDisable\"\n (click)=\"actionButtonClicked(btn,card)\">\n <img *ngIf=\"btn.iconSrc\" [src]=\"btn.iconSrc\">\n <div class=\"fc-btn-text\" style=\"padding-left: 10px;\">\n {{btn.labelPath || btn.namePath || btn.name | customTranslate : btn.label || btn.name}}</div>\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"body-section card-text\" style=\"height: 100%;\" [ngStyle]=\"{ padding: card?.config?.padding || null }\">\n <div class=\"flex w-100\" [ngClass]=\"{\n 'row': card?.config?.details?.length > 1,\n 'gutter-remove': from === 'dashboard' && card?.config?.details?.length > 1\n }\" style=\"height: 100%;\">\n <ng-container *ngFor=\"let detail of card?.config?.details\">\n <div *ngIf=\"!detail?.hideFromCard\" class=\"{{detail.size || card.cardInlineSize}} card-detail d-flex flex-column\" [ngClass]=\"detail.alignment\">\n <div *ngIf=\"detail.iconSrc && detail.iconPosition !== 'end'\" class=\"icon-container d-flex\">\n <div class=\"icon-wrapper\" [style.border]=\"'4px solid gray'\">\n <img [src]=\"detail.iconSrc\" alt=\"Icon\">\n </div>\n </div>\n\n <div *ngIf=\"!detail.isLabelHide && detail?.type !== 'image'\" class=\"label-head\" [ngClass]=\"detail.labelFont\">{{detail.labelPath || detail.label | customTranslate : detail.label}}</div>\n\n <div [ngClass]=\"detail?.type !== 'image' && detail?.type !== 'file' ? 'flex-column' : ''\" [class.detail-value-wrapper]=\"detail?.type !== 'image' && detail.truncate\">\n <div *ngIf=\"detail?.type !== 'date' && detail?.type !== 'time' && detail?.type !== 'datetime' && detail?.type !== 'label' && detail?.type !== 'image' && detail?.type !== 'file'\" class=\"label-sub\" [ngClass]=\"detail.valueFont\" [class.truncate]=\"detail.truncate\">\n {{\n (detail?.type === 'boolean' || (detail?.value === true || detail?.value === false))\n ? (detail?.value === true ? 'True' : 'False')\n : (detail?.value || detail.value === 0)\n ? detail.value\n : '-'\n }}\n </div>\n <div *ngIf=\"detail?.type === 'date'\" class=\"label-sub\" [ngClass]=\"detail.valueFont\" [class.truncate]=\"detail.truncate\">{{ (detail?.value | customDate) || '-' }}</div>\n <div *ngIf=\"detail?.type === 'datetime'\" class=\"label-sub\" [ngClass]=\"detail.valueFont\" [class.truncate]=\"detail.truncate\">{{ (detail?.value | customDate : 'datetime') || '-' }}</div>\n <div *ngIf=\"detail?.type === 'time'\" class=\"label-sub\" [ngClass]=\"detail.valueFont\" [class.truncate]=\"detail.truncate\">{{ (detail?.value | customDate : 'time') || '-' }}</div>\n <div *ngIf=\"detail?.type === 'link'\" class=\"ms-2\">\n <a *ngIf=\"detail?.redirectOnClick\"\n [href]=\"'//'+detail?.value\"\n [target]=\"detail?.openInNewTab ? '_blank' : '_self'\"\n class=\"form-label label-head\">\n <img [src]=\"detail?.srcImg\" />\n </a>\n </div>\n <div *ngIf=\"detail?.type === 'image'\">\n <img [style.height.%]=\"detail.imgHeight\" [src]=\"(detail?.value || detail?.defaultValue)\" style=\"width: 100%; max-height: 100%; object-fit: contain;\"/>\n </div>\n <div *ngIf=\"detail?.type === 'file'\">\n <div class=\"cursor-pointer label-sub\" [ngClass]=\"detail.valueFont\" [class.truncate]=\"detail.truncate\" (click)=\"fileClick(detail.value, i)\">{{detail?.isLabel ? detail.value.name : ''}}</div>\n <div class=\"flex\" *ngIf=\"detail?.value\">\n <img *ngIf=\"detail?.type === 'file' && !isLoading[i]\"\n src=\"../assets/images/icons/general/download-icon.svg\"\n class=\"card-icon color\"\n title=\"download\"\n (click)=\"downloadFile(detail.value, i)\"\n style=\"cursor: pointer; width:17px\">\n <svg *ngIf=\"detail?.type === 'file' && isLoading[i]\"\n class=\"svg-spinner card-icon color\"\n width=\"22\" height=\"22\" viewBox=\"0 0 50 50\"\n style=\"cursor: wait;\">\n <circle class=\"path\" cx=\"25\" cy=\"25\" r=\"20\" fill=\"none\" stroke-width=\"4\"></circle>\n </svg>\n <img *ngIf=\"detail?.isView && !isViewLoading[i]\"\n src=\"../assets/images/icons/general/preview.svg\"\n class=\"card-icon color\"\n title=\"preview\"\n (click)=\"fileClick(detail.value, i)\"\n style=\"cursor: pointer; width:20px\">\n <svg *ngIf=\"detail?.isView && isViewLoading[i]\"\n class=\"svg-spinner card-icon color\"\n width=\"22\" height=\"22\" viewBox=\"0 0 50 50\"\n style=\"cursor: wait;\">\n <circle class=\"path\" cx=\"25\" cy=\"25\" r=\"20\" fill=\"none\" stroke-width=\"4\"></circle>\n </svg>\n </div>\n </div>\n </div>\n <div *ngIf=\"detail.iconSrc && detail.iconPosition === 'end'\" class=\"icon-container d-flex\">\n <div class=\"icon-wrapper\" [style.border]=\"'4px solid gray'\">\n <img [src]=\"detail.iconSrc\" alt=\"Icon\">\n </div>\n </div>\n </div>\n </ng-container>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</ng-template>\n\n<div *ngIf=\"deleteModal\" class=\"custom-modal-overlay\">\n <div class=\"custom-modal\">\n <div class=\"custom-modal-header\">\n <b>{{ 'APP.DELETE_RECORD'| customTranslate : 'Delete Record'}}</b>\n <button class=\"close-button\" (click)=\"deleteModal = false\">×</button>\n </div>\n <div class=\"custom-modal-body\">\n {{ 'APP.ARE_YOU_SURE_YOU_WANT_TO_DELETE_THE_REC'| customTranslate : 'Are you sure you want to delete the record'}} ?\n </div>\n <div class=\"custom-modal-footer\">\n <button class=\"confirm-button\" (click)=\"deleteRecordData()\">{{ 'APP.YES'| customTranslate : 'Yes'}}</button>\n <button class=\"cancel-button\" (click)=\"deleteModal = false\">{{ 'APP.NO'| customTranslate : 'No'}}</button>\n </div>\n </div>\n</div>\n\n<div class=\"modal fade container-sm\" id=\"file\" aria-labelledby=\"file\" \naria-hidden=\"true\" #file>\n <div class=\"modal-dialog modal-lg\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <div class=\"modal-title fs-5\" id=\"expenseReceiptModelLabel\">{{popupTitle}}</div>\n <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" (click)=\"closeModal()\" aria-label=\"Close\"></button>\n </div>\n <div class=\"modal-body\">\n <iframe class=\"receipt-view\" *ngIf=\"safeSrc\" [src]=\"safeSrc\" style=\"width: 100%; height: 500px; border: none;\"></iframe>\n </div>\n </div>\n </div>\n</div>\n\n",
8795
- styles: [".dropdown-menu{left:unset!important;right:300%;top:12.5px;background-color:var(--comp-bg-color, #ffffff);border:1px solid var(--border-color, #e2e8f0);border-radius:var(--radius-small, 4px);box-shadow:0 4px 8px var(--box-shadow-color, rgba(0, 0, 0, .1))}.dropdown .dropdown-menu{display:block}.dropdown-menu .btn{display:block;padding:10px;width:100%;text-align:left;background:transparent;border:none;cursor:pointer}.clickable-img{position:relative;cursor:pointer;padding:2px;border:1px solid var(--border-color, #e2e8f0);border-radius:5px}.clickable-img:hover{border:1px solid var(--fc-primary-color, rgb(31, 105, 255));border-radius:var(--radius-small, 5px)}.card-icon.color path{fill:var(--fc-primary-color, #2563eb)}.card-icon.color{margin-left:15px}.custom-modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:var(--box-shadow-color, rgba(0, 0, 0, .4));display:flex;align-items:start;justify-content:center;z-index:1050}.custom-modal{background:var(--comp-bg-color, #ffffff);border-radius:8px;width:550px;max-width:90%;margin-top:30px;box-shadow:0 5px 15px var(--box-shadow-color, rgba(0, 0, 0, .2));overflow:hidden}.custom-modal-header{border-bottom:solid .5px var(--border-color, #e2e8f0)}.custom-modal-footer{border-top:solid .5px var(--border-color, #e2e8f0)}.custom-modal-header,.custom-modal-footer{padding:.7rem;display:flex;justify-content:space-between;align-items:center}.custom-modal-body{padding:1rem;font-size:1rem}.close-button{background:none;border:none;font-size:1.25rem;cursor:pointer}.cancel-button,.confirm-button{padding:.5rem 1rem;border:none;border-radius:4px;cursor:pointer}.cancel-button{background:var(--comp-bg-color, #ffffff);color:var(--fc-text-color-dark, #000000)}.confirm-button{background:var(--clr-error, #d9534f);color:var(--comp-bg-color, #ffffff)}.text-center{text-align:center!important;border:solid .5px var(--border-color, #94a3b8);border-radius:var(--radius-medium, 10px);margin:10px 0;color:var(--fc-text-color-light, #94a3b8)}.receipt-view{width:100%;height:600px}.icon-container{position:relative;margin-top:100px;z-index:1}.card-detail{margin-top:5px;margin-bottom:5px;min-width:0;overflow:hidden}.svg-spinner{animation:rotate 1s linear infinite}.svg-spinner .path{stroke:var(--fc-primary-color, #2563eb);stroke-linecap:round;stroke-dasharray:80 150;stroke-width:4}@keyframes rotate{to{transform:rotate(360deg)}}.no-padding-margin{margin:0!important;padding:0!important}.static-width-for-card{border:1px solid var(--border-color, #e2e8f0);border-radius:8px}.header-section{padding:8px 8px 0}.section-title{font-size:var(--fs-primary, 14px);font-weight:500}.body-section{padding:8px}.label-sub{white-space:normal;overflow-wrap:anywhere}.row.gutter-remove{--bs-gutter-x: 0rem !important;margin-top:0!important}.row{--bs-gutter-y: 0 !important}.inside-card.multy-card{margin-top:5px!important}.detail-value-wrapper{min-width:0;overflow:hidden;width:100%}.row>[class*=col]{min-width:0}.label-sub.truncate{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;overflow-wrap:unset!important;display:block;max-width:100%}\n"]
8795
+ template: "<!-- MR 09NOV26 Migration of Datatables and Tier 1 Primitives to fusion-ui -->\n<div *ngIf=\"!(isCardLoading?.[comp?._id]?.length > 0) && (!cardData || cardData.length === 0)\" class=\"no-records-container\">\n <div class=\"text-center p-4\">\n <div class=\"no-records-message\">\n <div class=\"mt-3 mb-2\">{{'APP.NO_RECORDS_AVAILABLE' | customTranslate : 'No Records Available'}}</div>\n </div>\n </div>\n</div>\n<div *ngIf=\"isCardLoading?.[comp?._id]?.length > 0; else viewCard\">\n <div class=\"card fc-card fc-card-light skeleton-card\" style=\"height: 200px; border: none;\">\n <div *ngFor=\"let n of [1, 2]\" class=\"flex\" style=\"padding: 25px 0px;\">\n <div *ngFor=\"let e of [1, 2]\" style=\"width: 50%; padding: 5px;\">\n <div class=\"\" style=\"height: 25px;\">\n <div class=\"title\" data-title>\n <div class=\"skeleton skeleton-text\" style=\"width: 95%;\"></div>\n <div class=\"skeleton skeleton-text\" style=\"width: 65%;\"></div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n<ng-template #viewCard>\n <div *ngIf=\"cardData && cardData.length > 0\" [class.col-md-12]=\"cardData.length > 0\" [class.dashboard-card-grid]=\"from === 'dashboard'\" style=\"height: 100%;\">\n <div class=\"row\" [ngClass]=\"{\n 'g-2': cardData.length > 1 && from !== 'dashboard',\n 'gutter-remove': from === 'dashboard'\n }\">\n <div *ngFor=\"let card of cardData; let i = index\" class=\"{{card.cardSize}} inside-card\" [ngClass]=\"{'no-padding-margin':from ==='dashboard' ? cardData.length === 1 : false, 'multy-card':from ==='dashboard' ? cardData.length > 1 : false}\" style=\"height: 100%;\" [ngStyle]=\"{'margin-top': card.marginTop}\">\n <div *ngIf=\"card?.config?.details\" style=\"height: 100%;\">\n <div class=\"width-100\" [ngClass]=\"{'static-width-for-card': from === 'dashboard' ? cardData.length != 1 : true}\" [style.border]=\"(from === 'dashboard' && cardData.length === 1 ) ? 'none' : ''\" style=\"height: 100%;\" [ngStyle]=\"from === 'dashboard' && cardData.length === 1 \n ? {\n position: 'absolute',\n top: '50%',\n left: '50%',\n transform: 'translate(-50%, -50%)'\n } \n : null\">\n <div *ngIf=\"card.isTitleHide ? card.isTitleHide === 'true' ? false : true : true\" class=\"header-section flex content-space-between\" style=\"align-items: center;\">\n <div class=\"section-title\">{{card.labelPath || card.label | customTranslate : card.label}}</div>\n <div class=\"actionButton\" style=\"display: flex; align-items: center;\">\n <div *ngFor=\"let button of card?.actionButton?.buttonArray; let i = index\">\n <div *ngIf=\"i < card?.actionButton?.size\"\n style=\"margin-left: 3px; margin-right: 3px;\">\n <div *ngIf=\"isConditionMet(card, button.conditions)\"\n [matTooltip]=\"button.tooltipPath || button.tooltip | customTranslate : button.tooltip\"\n (click)=\"actionButtonClicked(button,card)\"\n (mouseenter)=\"onMouseEnter($event,'border', button.hoverBorderColor)\"\n (mouseleave)=\"onMouseLeave($event,'border', button.borderColor)\"\n style=\"padding: 2px; border-radius: {{button.borderRadius}}px; border: 1px solid {{button.borderColor}};\">\n <div (mouseenter)=\"onMouseEnter($event,'backgroundColor', button.hoverBackgroundColor)\"\n (mouseleave)=\"onMouseLeave($event,'backgroundColor', button.backgroundColor)\"\n style=\"padding: {{button.padding}}px; border-radius: {{button.borderRadius}}px; background-color: {{button.backgroundColor}}; display: flex; gap: 2px; align-items: center;\">\n <img *ngIf=\"button.iconSrc && (button.iconSrc?.startsWith('data:') || button.iconSrc?.startsWith('http'))\"\n #imgElement\n [src]=\"button.iconSrc\"\n style=\"cursor: pointer;\"\n (mouseenter)=\"imgElement.src = button.hoverIconSrc || button.iconSrc\"\n (mouseleave)=\"imgElement.src = button.iconSrc\"/>\n <i *ngIf=\"!(button.iconSrc?.startsWith('data:') || button.iconSrc?.startsWith('http'))\"\n class=\"fusion-icon nav-icon\"\n [ngClass]=\"button.iconSrc\"\n style=\"margin: 0px !important; font-size: var(--fs-normal, 16px) !important; color: var(--fb-text-muted, #787486);\">\n </i>\n <div *ngIf=\"button.isLabel\" style=\"color: {{button.labelColor}}; font-size: 12px;\"> {{button.label || button.tooltip | customTranslate : button.label || button.tooltip}}</div>\n </div>\n </div>\n </div>\n </div>\n <div *ngIf=\"card?.actionButton?.buttonArray && card?.actionButton?.buttonArray?.length > 0 && card?.actionButton?.buttonArray?.slice(card?.actionButton?.size) && card?.actionButton?.buttonArray?.slice(card?.actionButton?.size).length > 0\"\n class=\"dropdown\">\n <div class=\"clickable-img\" (click)=\"toggleDropdown(i)\"\n style=\"margin-left: 3px; margin-right: 3px;\">\n <!-- MR 16NOV26 Remediate dropdown icon container to semantic tokens -->\n <div style=\"background-color: var(--fb-surface-secondary, #f8fafc); padding: 2px 2px; border-radius: var(--radius-small, 5px);\">\n <i class=\"fusion-icon fusion-icon-size-lg fusion-icon-arrow-square-down nav-icon\" style=\"background-color: var(--fb-surface-secondary, #f8fafc); border-radius: var(--radius-small, 5px); border: 1px solid var(--fb-border-default, #e2e8f0);\"></i>\n </div>\n </div>\n\n <div class=\"dropdown-menu\"\n [style.right]=\"(((card?.actionButton?.size ?? 0) - (card?.actionButton?.buttonArray?.size ?? 0) + ((card?.actionButton?.buttonArray?.slice(card?.actionButton?.size)?.length ?? 0) > 0 ? 1 : 0)) * 100) + '%'\"\n *ngIf=\"currentOpenIndex === i\">\n <div *ngFor=\"let btn of card?.actionButton?.buttonArray?.slice(card?.actionButton?.size)\">\n <button *ngIf=\"isConditionMet(card, btn.conditions)\" \n style=\"display: flex;\" type=\"button\"\n class=\"btn btn-icon {{btn.buttonType}} tooltip-container\"\n [matTooltip]=\"btn.tooltipPath || btn.tooltip | customTranslate : btn.tooltip\" [disabled]=\"btn.buttonDisable\"\n (click)=\"actionButtonClicked(btn,card)\">\n <img *ngIf=\"btn.iconSrc\" [src]=\"btn.iconSrc\">\n <div class=\"fc-btn-text\" style=\"padding-left: 10px;\">\n {{btn.labelPath || btn.namePath || btn.name | customTranslate : btn.label || btn.name}}</div>\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"body-section card-text\" style=\"height: 100%;\" [ngStyle]=\"{ padding: card?.config?.padding || null }\">\n <div class=\"flex w-100\" [ngClass]=\"{\n 'row': card?.config?.details?.length > 1,\n 'gutter-remove': from === 'dashboard' && card?.config?.details?.length > 1\n }\" style=\"height: 100%;\">\n <ng-container *ngFor=\"let detail of card?.config?.details\">\n <div *ngIf=\"!detail?.hideFromCard\" class=\"{{detail.size || card.cardInlineSize}} card-detail d-flex flex-column\" [ngClass]=\"detail.alignment\">\n <div *ngIf=\"detail.iconSrc && detail.iconPosition !== 'end'\" class=\"icon-container d-flex\">\n <div class=\"icon-wrapper\" [style.border]=\"'4px solid gray'\">\n <img [src]=\"detail.iconSrc\" alt=\"Icon\">\n </div>\n </div>\n\n <div *ngIf=\"!detail.isLabelHide && detail?.type !== 'image'\" class=\"label-head\" [ngClass]=\"detail.labelFont\">{{detail.labelPath || detail.label | customTranslate : detail.label}}</div>\n\n <div [ngClass]=\"detail?.type !== 'image' && detail?.type !== 'file' ? 'flex-column' : ''\" [class.detail-value-wrapper]=\"detail?.type !== 'image' && detail.truncate\">\n <div *ngIf=\"detail?.type !== 'date' && detail?.type !== 'time' && detail?.type !== 'datetime' && detail?.type !== 'label' && detail?.type !== 'image' && detail?.type !== 'file'\" class=\"label-sub\" [ngClass]=\"detail.valueFont\" [class.truncate]=\"detail.truncate\">\n {{\n (detail?.type === 'boolean' || (detail?.value === true || detail?.value === false))\n ? (detail?.value === true ? 'True' : 'False')\n : (detail?.value || detail.value === 0)\n ? detail.value\n : '-'\n }}\n </div>\n <div *ngIf=\"detail?.type === 'date'\" class=\"label-sub\" [ngClass]=\"detail.valueFont\" [class.truncate]=\"detail.truncate\">{{ (detail?.value | customDate) || '-' }}</div>\n <div *ngIf=\"detail?.type === 'datetime'\" class=\"label-sub\" [ngClass]=\"detail.valueFont\" [class.truncate]=\"detail.truncate\">{{ (detail?.value | customDate : 'datetime') || '-' }}</div>\n <div *ngIf=\"detail?.type === 'time'\" class=\"label-sub\" [ngClass]=\"detail.valueFont\" [class.truncate]=\"detail.truncate\">{{ (detail?.value | customDate : 'time') || '-' }}</div>\n <div *ngIf=\"detail?.type === 'link'\" class=\"ms-2\">\n <a *ngIf=\"detail?.redirectOnClick\"\n [href]=\"'//'+detail?.value\"\n [target]=\"detail?.openInNewTab ? '_blank' : '_self'\"\n class=\"form-label label-head\">\n <img [src]=\"detail?.srcImg\" />\n </a>\n </div>\n <div *ngIf=\"detail?.type === 'image'\">\n <img [style.height.%]=\"detail.imgHeight\" [src]=\"(detail?.value || detail?.defaultValue)\" style=\"width: 100%; max-height: 100%; object-fit: contain;\"/>\n </div>\n <div *ngIf=\"detail?.type === 'file'\">\n <div class=\"cursor-pointer label-sub\" [ngClass]=\"detail.valueFont\" [class.truncate]=\"detail.truncate\" (click)=\"fileClick(detail.value, i)\">{{detail?.isLabel ? detail.value.name : ''}}</div>\n <div class=\"flex\" *ngIf=\"detail?.value\">\n <img *ngIf=\"detail?.type === 'file' && !isLoading[i]\"\n src=\"../assets/images/icons/general/download-icon.svg\"\n class=\"card-icon color\"\n title=\"download\"\n (click)=\"downloadFile(detail.value, i)\"\n style=\"cursor: pointer; width:17px\">\n <svg *ngIf=\"detail?.type === 'file' && isLoading[i]\"\n class=\"svg-spinner card-icon color\"\n width=\"22\" height=\"22\" viewBox=\"0 0 50 50\"\n style=\"cursor: wait;\">\n <circle class=\"path\" cx=\"25\" cy=\"25\" r=\"20\" fill=\"none\" stroke-width=\"4\"></circle>\n </svg>\n <img *ngIf=\"detail?.isView && !isViewLoading[i]\"\n src=\"../assets/images/icons/general/preview.svg\"\n class=\"card-icon color\"\n title=\"preview\"\n (click)=\"fileClick(detail.value, i)\"\n style=\"cursor: pointer; width:20px\">\n <svg *ngIf=\"detail?.isView && isViewLoading[i]\"\n class=\"svg-spinner card-icon color\"\n width=\"22\" height=\"22\" viewBox=\"0 0 50 50\"\n style=\"cursor: wait;\">\n <circle class=\"path\" cx=\"25\" cy=\"25\" r=\"20\" fill=\"none\" stroke-width=\"4\"></circle>\n </svg>\n </div>\n </div>\n </div>\n <div *ngIf=\"detail.iconSrc && detail.iconPosition === 'end'\" class=\"icon-container d-flex\">\n <div class=\"icon-wrapper\" [style.border]=\"'4px solid gray'\">\n <img [src]=\"detail.iconSrc\" alt=\"Icon\">\n </div>\n </div>\n </div>\n </ng-container>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</ng-template>\n\n<div *ngIf=\"deleteModal\" class=\"custom-modal-overlay\">\n <div class=\"custom-modal\">\n <div class=\"custom-modal-header\">\n <b>{{ 'APP.DELETE_RECORD'| customTranslate : 'Delete Record'}}</b>\n <button class=\"close-button\" (click)=\"deleteModal = false\">×</button>\n </div>\n <div class=\"custom-modal-body\">\n {{ 'APP.ARE_YOU_SURE_YOU_WANT_TO_DELETE_THE_REC'| customTranslate : 'Are you sure you want to delete the record'}} ?\n </div>\n <div class=\"custom-modal-footer\">\n <button class=\"confirm-button\" (click)=\"deleteRecordData()\">{{ 'APP.YES'| customTranslate : 'Yes'}}</button>\n <button class=\"cancel-button\" (click)=\"deleteModal = false\">{{ 'APP.NO'| customTranslate : 'No'}}</button>\n </div>\n </div>\n</div>\n\n<div class=\"modal fade container-sm\" id=\"file\" aria-labelledby=\"file\" \naria-hidden=\"true\" #file>\n <div class=\"modal-dialog modal-lg\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <div class=\"modal-title fs-5\" id=\"expenseReceiptModelLabel\">{{popupTitle}}</div>\n <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" (click)=\"closeModal()\" aria-label=\"Close\"></button>\n </div>\n <div class=\"modal-body\">\n <iframe class=\"receipt-view\" *ngIf=\"safeSrc\" [src]=\"safeSrc\" style=\"width: 100%; height: 500px; border: none;\"></iframe>\n </div>\n </div>\n </div>\n</div>\n\n",
8796
+ styles: [".dropdown-menu{left:unset!important;right:300%;top:12.5px;background-color:var(--fb-surface-elevated, #ffffff);border:1px solid var(--fb-border-default, #e2e8f0);border-radius:var(--radius-small, 4px);box-shadow:0 4px 8px var(--fb-backdrop, rgba(0, 0, 0, .1))}.dropdown .dropdown-menu{display:block}.dropdown-menu .btn{display:block;padding:10px;width:100%;text-align:left;background:transparent;border:none;cursor:pointer}.clickable-img{position:relative;cursor:pointer;padding:2px;border:1px solid var(--fb-border-default, #e2e8f0);border-radius:5px}.clickable-img:hover{border:1px solid var(--fb-action-border, #1f69ff);border-radius:var(--radius-small, 5px)}.card-icon.color path{fill:var(--fc-primary-color, #2563eb)}.card-icon.color{margin-left:15px}.custom-modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:var(--fb-backdrop, rgba(0, 0, 0, .4));display:flex;align-items:start;justify-content:center;z-index:1050}.custom-modal{background:var(--fb-surface-elevated, #ffffff);border-radius:8px;width:550px;max-width:90%;margin-top:30px;box-shadow:0 5px 15px var(--fb-backdrop, rgba(0, 0, 0, .2));overflow:hidden}.custom-modal-header{border-bottom:solid .5px var(--fb-border-default, #e2e8f0)}.custom-modal-footer{border-top:solid .5px var(--fb-border-default, #e2e8f0)}.custom-modal-header,.custom-modal-footer{padding:.7rem;display:flex;justify-content:space-between;align-items:center}.custom-modal-body{padding:1rem;font-size:1rem}.close-button{background:none;border:none;font-size:1.25rem;cursor:pointer}.cancel-button,.confirm-button{padding:.5rem 1rem;border:none;border-radius:4px;cursor:pointer}.cancel-button{background:var(--fb-surface-secondary, #ffffff);color:var(--fb-text-primary, #0f172a)}.confirm-button{background:var(--fb-error-surface, #d9534f);color:var(--fb-text-on-action, #ffffff)}.text-center{text-align:center!important;border:solid .5px var(--fb-border-default, #94a3b8);border-radius:var(--radius-medium, 10px);margin:10px 0;color:var(--fb-text-muted, #94a3b8)}.receipt-view{width:100%;height:600px}.icon-container{position:relative;margin-top:100px;z-index:1}.card-detail{margin-top:5px;margin-bottom:5px;min-width:0;overflow:hidden}.svg-spinner{animation:rotate 1s linear infinite}.svg-spinner .path{stroke:var(--fc-primary-color, #2563eb);stroke-linecap:round;stroke-dasharray:80 150;stroke-width:4}@keyframes rotate{to{transform:rotate(360deg)}}.no-padding-margin{margin:0!important;padding:0!important}.static-width-for-card{border:1px solid var(--fb-border-default, #e2e8f0);border-radius:8px}.header-section{padding:8px 8px 0}.section-title{font-size:var(--fs-primary, 14px);font-weight:500}.body-section{padding:8px}.label-sub{white-space:normal;overflow-wrap:anywhere}.row.gutter-remove{--bs-gutter-x: 0rem !important;margin-top:0!important}.row{--bs-gutter-y: 0 !important}.inside-card.multy-card{margin-top:5px!important}.detail-value-wrapper{min-width:0;overflow:hidden;width:100%}.row>[class*=col]{min-width:0}.label-sub.truncate{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;overflow-wrap:unset!important;display:block;max-width:100%}\n"]
8796
8797
  }]
8797
8798
  }],
8798
8799
  ctorParameters: () => [
@@ -9048,8 +9049,8 @@ var ToastComponent = class ToastComponent {
9048
9049
  defaultDuration: "defaultDuration"
9049
9050
  },
9050
9051
  ngImport: i0,
9051
- template: "<!-- MR 09NOV26 Migration of Datatables and Tier 1 Primitives to fusion-ui -->\n<div class=\"toast-container\" [class]=\"positionClass\">\n <div\n class=\"toast\"\n *ngFor=\"let t of toasts; trackBy: trackById\"\n [class.leaving]=\"t._leaving\"\n [attr.data-type]=\"t.type\"\n [style.background]=\"t.background || ''\"\n [style.color]=\"t.textColor || ''\"\n (mouseenter)=\"onMouseEnter(t, $event)\"\n (mouseleave)=\"onMouseLeave(t, $event)\"\n >\n <div style=\"display: flex; width: 100%; align-items: center;\">\n <div class=\"toast-left\">\n <i *ngIf=\"t.icon\" class=\"fusion-icon fusion-icon-size-lg {{t.icon}} nav-icon icon\" style=\"color: var(--fc-text-color-dark, #000000) !important;\"></i>\n <div class=\"icon default\" *ngIf=\"!t.icon\">\n @switch (t.type) {\n @case ('success') {\n <svg viewBox=\"0 0 24 24\" class=\"default-svg\">\n <path fill=\"currentColor\" d=\"M9 16.2l-3.5-3.5L4 14l5 5 12-12-1.5-1.5z\"/>\n </svg>\n }\n @case ('error') {\n <svg viewBox=\"0 0 24 24\" class=\"default-svg\">\n <path fill=\"currentColor\" d=\"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm5 13.6L13.6 17 12 15.4 10.4 17 7 13.6 8.6 12 7 10.4 10.4 7 12 8.6 13.6 7 17 10.4 15.4 12 17 13.6z\"/>\n </svg>\n }\n @case ('warning') {\n <svg viewBox=\"0 0 24 24\" class=\"default-svg\">\n <path fill=\"currentColor\" d=\"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z\"/>\n </svg>\n }\n @default {\n <svg viewBox=\"0 0 24 24\" class=\"default-svg\">\n <path fill=\"currentColor\" d=\"M12 2v20M2 12h20\"/>\n </svg>\n }\n }\n </div>\n </div>\n\n <div class=\"toast-body\">\n <div class=\"title\" *ngIf=\"t.title\">{{ t.title }}</div>\n <div class=\"message\">{{ t.message }}</div>\n </div>\n\n <button class=\"close\" (click)=\"dismiss(t.id)\" aria-label=\"Close\">×</button>\n </div>\n\n <div class=\"progress\" *ngIf=\"t.duration && t.duration > 0\">\n <div class=\"bar\" [style.--toast-duration]=\"t.duration + 'ms'\" [style.animation-play-state]=\"progressState()\"></div>\n </div>\n </div>\n</div>\n\n",
9052
- styles: [":host{display:block}.toast-container{position:fixed;width:360px;display:flex;flex-direction:column;gap:12px;z-index:1100;pointer-events:none}.toast-container.top-right{inset:65px 16px auto auto}.toast-container.top-left{inset:16px auto auto 16px}.toast-container.bottom-right{inset:auto 16px 16px auto}.toast-container.bottom-left{inset:auto auto 16px 16px}.toast{pointer-events:auto;display:flex;flex-direction:column;gap:12px;padding:12px;border-radius:var(--radius-large, 12px);box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;background:var(--comp-bg-color, #ffffff);color:var(--fc-text-color-dark, #0f172a);overflow:hidden;border:1px solid var(--border-color, #e2e8f0);position:relative;transform:translate(8px);opacity:0;animation:toast-in .22s cubic-bezier(.2,.9,.2,1) forwards}.toast.leaving{animation:toast-out .18s ease-in forwards}@keyframes toast-in{0%{opacity:0;transform:translateY(-8px) translate(8px)}to{opacity:1;transform:translateY(0) translate(0)}}@keyframes toast-out{0%{opacity:1;transform:translateY(0) translate(0)}to{opacity:0;transform:translateY(-6px) translate(6px)}}.toast[data-type=success]{border-left:6px solid var(--clr-success, #22c55e)}.toast[data-type=error]{border-left:6px solid var(--clr-error, #ef4444)}.toast[data-type=warning]{border-left:6px solid var(--clr-warning, #f59e0b)}.toast[data-type=info]{border-left:6px solid var(--clr-info, #3b82f6)}.toast-left{display:flex;align-items:center}.icon{width:36px;height:36px;display:flex;align-items:center;justify-content:center}.icon svg{width:22px;height:22px}.default-svg{opacity:.95}.toast-body{flex:1;min-width:0;padding:0 8px}.title{font-weight:700;font-size:14px;margin-bottom:4px}.message{font-size:13px;color:inherit;opacity:.88;word-break:break-word}.close{background:none;border:0;font-size:18px;line-height:1;padding:4px 6px;cursor:pointer;color:inherit}.progress{position:absolute;left:0;right:0;bottom:0;height:4px;background:#0000000d}.progress .bar{height:100%;width:100%;background:var(--fc-primary-color, #3b82f6);transform-origin:left;animation-name:progress-shrink;animation-timing-function:linear;animation-duration:var(--toast-duration, 5s);animation-play-state:var(--toast-playstate, running)}@keyframes progress-shrink{0%{transform:scaleX(1)}to{transform:scaleX(0)}}@media(max-width:420px){.toast-container{width:calc(100% - 32px);left:16px;right:16px}}\n"],
9052
+ template: "<!-- MR 09NOV26 Migration of Datatables and Tier 1 Primitives to fusion-ui -->\n<div class=\"toast-container\" [class]=\"positionClass\">\n <div\n class=\"toast\"\n *ngFor=\"let t of toasts; trackBy: trackById\"\n [class.leaving]=\"t._leaving\"\n [attr.data-type]=\"t.type\"\n [style.background]=\"t.background || ''\"\n [style.color]=\"t.textColor || ''\"\n (mouseenter)=\"onMouseEnter(t, $event)\"\n (mouseleave)=\"onMouseLeave(t, $event)\"\n >\n <div style=\"display: flex; width: 100%; align-items: center;\">\n <div class=\"toast-left\">\n <!-- MR 16NOV26 Remediate toast icon color to semantic textPrimary token -->\n <i *ngIf=\"t.icon\" class=\"fusion-icon fusion-icon-size-lg {{t.icon}} nav-icon icon\" style=\"color: var(--fb-text-primary, #0f172a) !important;\"></i>\n <div class=\"icon default\" *ngIf=\"!t.icon\">\n @switch (t.type) {\n @case ('success') {\n <svg viewBox=\"0 0 24 24\" class=\"default-svg\">\n <path fill=\"currentColor\" d=\"M9 16.2l-3.5-3.5L4 14l5 5 12-12-1.5-1.5z\"/>\n </svg>\n }\n @case ('error') {\n <svg viewBox=\"0 0 24 24\" class=\"default-svg\">\n <path fill=\"currentColor\" d=\"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm5 13.6L13.6 17 12 15.4 10.4 17 7 13.6 8.6 12 7 10.4 10.4 7 12 8.6 13.6 7 17 10.4 15.4 12 17 13.6z\"/>\n </svg>\n }\n @case ('warning') {\n <svg viewBox=\"0 0 24 24\" class=\"default-svg\">\n <path fill=\"currentColor\" d=\"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z\"/>\n </svg>\n }\n @default {\n <svg viewBox=\"0 0 24 24\" class=\"default-svg\">\n <path fill=\"currentColor\" d=\"M12 2v20M2 12h20\"/>\n </svg>\n }\n }\n </div>\n </div>\n\n <div class=\"toast-body\">\n <div class=\"title\" *ngIf=\"t.title\">{{ t.title }}</div>\n <div class=\"message\">{{ t.message }}</div>\n </div>\n\n <button class=\"close\" (click)=\"dismiss(t.id)\" aria-label=\"Close\">×</button>\n </div>\n\n <div class=\"progress\" *ngIf=\"t.duration && t.duration > 0\">\n <div class=\"bar\" [style.--toast-duration]=\"t.duration + 'ms'\" [style.animation-play-state]=\"progressState()\"></div>\n </div>\n </div>\n</div>\n\n",
9053
+ styles: [":host{display:block}.toast-container{position:fixed;width:360px;display:flex;flex-direction:column;gap:12px;z-index:1100;pointer-events:none}.toast-container.top-right{inset:65px 16px auto auto}.toast-container.top-left{inset:16px auto auto 16px}.toast-container.bottom-right{inset:auto 16px 16px auto}.toast-container.bottom-left{inset:auto auto 16px 16px}.toast{pointer-events:auto;display:flex;flex-direction:column;gap:12px;padding:12px;border-radius:var(--radius-large, 12px);box-shadow:0 10px 15px -3px var(--fb-backdrop, rgba(0, 0, 0, .1)),0 4px 6px -2px var(--fb-backdrop, rgba(0, 0, 0, .05));background:var(--fb-surface-elevated, #ffffff);color:var(--fb-text-primary, #0f172a);overflow:hidden;border:1px solid var(--fb-border-default, #e2e8f0);position:relative;transform:translate(8px);opacity:0;animation:toast-in .22s cubic-bezier(.2,.9,.2,1) forwards}.toast.leaving{animation:toast-out .18s ease-in forwards}@keyframes toast-in{0%{opacity:0;transform:translateY(-8px) translate(8px)}to{opacity:1;transform:translateY(0) translate(0)}}@keyframes toast-out{0%{opacity:1;transform:translateY(0) translate(0)}to{opacity:0;transform:translateY(-6px) translate(6px)}}.toast[data-type=success]{border-left:6px solid var(--fb-success-border, #22c55e)}.toast[data-type=error]{border-left:6px solid var(--fb-error-border, #ef4444)}.toast[data-type=warning]{border-left:6px solid var(--fb-warning-border, #f59e0b)}.toast[data-type=info]{border-left:6px solid var(--fb-info-border, #3b82f6)}.toast-left{display:flex;align-items:center}.icon{width:36px;height:36px;display:flex;align-items:center;justify-content:center}.icon svg{width:22px;height:22px}.default-svg{opacity:.95}.toast-body{flex:1;min-width:0;padding:0 8px}.title{font-weight:700;font-size:14px;margin-bottom:4px}.message{font-size:13px;color:inherit;opacity:.88;word-break:break-word}.close{background:none;border:0;font-size:18px;line-height:1;padding:4px 6px;cursor:pointer;color:inherit}.progress{position:absolute;left:0;right:0;bottom:0;height:4px;background:var(--fb-border-subtle, rgba(0, 0, 0, .05))}.progress .bar{height:100%;width:100%;background:var(--fc-primary-color, #3b82f6);transform-origin:left;animation-name:progress-shrink;animation-timing-function:linear;animation-duration:var(--toast-duration, 5s);animation-play-state:var(--toast-playstate, running)}@keyframes progress-shrink{0%{transform:scaleX(1)}to{transform:scaleX(0)}}@media(max-width:420px){.toast-container{width:calc(100% - 32px);left:16px;right:16px}}\n"],
9053
9054
  dependencies: [
9054
9055
  {
9055
9056
  kind: "ngmodule",
@@ -9091,8 +9092,8 @@ i0.ɵɵngDeclareClassMetadata({
9091
9092
  standalone: true,
9092
9093
  imports: [CommonModule],
9093
9094
  changeDetection: ChangeDetectionStrategy.OnPush,
9094
- template: "<!-- MR 09NOV26 Migration of Datatables and Tier 1 Primitives to fusion-ui -->\n<div class=\"toast-container\" [class]=\"positionClass\">\n <div\n class=\"toast\"\n *ngFor=\"let t of toasts; trackBy: trackById\"\n [class.leaving]=\"t._leaving\"\n [attr.data-type]=\"t.type\"\n [style.background]=\"t.background || ''\"\n [style.color]=\"t.textColor || ''\"\n (mouseenter)=\"onMouseEnter(t, $event)\"\n (mouseleave)=\"onMouseLeave(t, $event)\"\n >\n <div style=\"display: flex; width: 100%; align-items: center;\">\n <div class=\"toast-left\">\n <i *ngIf=\"t.icon\" class=\"fusion-icon fusion-icon-size-lg {{t.icon}} nav-icon icon\" style=\"color: var(--fc-text-color-dark, #000000) !important;\"></i>\n <div class=\"icon default\" *ngIf=\"!t.icon\">\n @switch (t.type) {\n @case ('success') {\n <svg viewBox=\"0 0 24 24\" class=\"default-svg\">\n <path fill=\"currentColor\" d=\"M9 16.2l-3.5-3.5L4 14l5 5 12-12-1.5-1.5z\"/>\n </svg>\n }\n @case ('error') {\n <svg viewBox=\"0 0 24 24\" class=\"default-svg\">\n <path fill=\"currentColor\" d=\"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm5 13.6L13.6 17 12 15.4 10.4 17 7 13.6 8.6 12 7 10.4 10.4 7 12 8.6 13.6 7 17 10.4 15.4 12 17 13.6z\"/>\n </svg>\n }\n @case ('warning') {\n <svg viewBox=\"0 0 24 24\" class=\"default-svg\">\n <path fill=\"currentColor\" d=\"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z\"/>\n </svg>\n }\n @default {\n <svg viewBox=\"0 0 24 24\" class=\"default-svg\">\n <path fill=\"currentColor\" d=\"M12 2v20M2 12h20\"/>\n </svg>\n }\n }\n </div>\n </div>\n\n <div class=\"toast-body\">\n <div class=\"title\" *ngIf=\"t.title\">{{ t.title }}</div>\n <div class=\"message\">{{ t.message }}</div>\n </div>\n\n <button class=\"close\" (click)=\"dismiss(t.id)\" aria-label=\"Close\">×</button>\n </div>\n\n <div class=\"progress\" *ngIf=\"t.duration && t.duration > 0\">\n <div class=\"bar\" [style.--toast-duration]=\"t.duration + 'ms'\" [style.animation-play-state]=\"progressState()\"></div>\n </div>\n </div>\n</div>\n\n",
9095
- styles: [":host{display:block}.toast-container{position:fixed;width:360px;display:flex;flex-direction:column;gap:12px;z-index:1100;pointer-events:none}.toast-container.top-right{inset:65px 16px auto auto}.toast-container.top-left{inset:16px auto auto 16px}.toast-container.bottom-right{inset:auto 16px 16px auto}.toast-container.bottom-left{inset:auto auto 16px 16px}.toast{pointer-events:auto;display:flex;flex-direction:column;gap:12px;padding:12px;border-radius:var(--radius-large, 12px);box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;background:var(--comp-bg-color, #ffffff);color:var(--fc-text-color-dark, #0f172a);overflow:hidden;border:1px solid var(--border-color, #e2e8f0);position:relative;transform:translate(8px);opacity:0;animation:toast-in .22s cubic-bezier(.2,.9,.2,1) forwards}.toast.leaving{animation:toast-out .18s ease-in forwards}@keyframes toast-in{0%{opacity:0;transform:translateY(-8px) translate(8px)}to{opacity:1;transform:translateY(0) translate(0)}}@keyframes toast-out{0%{opacity:1;transform:translateY(0) translate(0)}to{opacity:0;transform:translateY(-6px) translate(6px)}}.toast[data-type=success]{border-left:6px solid var(--clr-success, #22c55e)}.toast[data-type=error]{border-left:6px solid var(--clr-error, #ef4444)}.toast[data-type=warning]{border-left:6px solid var(--clr-warning, #f59e0b)}.toast[data-type=info]{border-left:6px solid var(--clr-info, #3b82f6)}.toast-left{display:flex;align-items:center}.icon{width:36px;height:36px;display:flex;align-items:center;justify-content:center}.icon svg{width:22px;height:22px}.default-svg{opacity:.95}.toast-body{flex:1;min-width:0;padding:0 8px}.title{font-weight:700;font-size:14px;margin-bottom:4px}.message{font-size:13px;color:inherit;opacity:.88;word-break:break-word}.close{background:none;border:0;font-size:18px;line-height:1;padding:4px 6px;cursor:pointer;color:inherit}.progress{position:absolute;left:0;right:0;bottom:0;height:4px;background:#0000000d}.progress .bar{height:100%;width:100%;background:var(--fc-primary-color, #3b82f6);transform-origin:left;animation-name:progress-shrink;animation-timing-function:linear;animation-duration:var(--toast-duration, 5s);animation-play-state:var(--toast-playstate, running)}@keyframes progress-shrink{0%{transform:scaleX(1)}to{transform:scaleX(0)}}@media(max-width:420px){.toast-container{width:calc(100% - 32px);left:16px;right:16px}}\n"]
9095
+ template: "<!-- MR 09NOV26 Migration of Datatables and Tier 1 Primitives to fusion-ui -->\n<div class=\"toast-container\" [class]=\"positionClass\">\n <div\n class=\"toast\"\n *ngFor=\"let t of toasts; trackBy: trackById\"\n [class.leaving]=\"t._leaving\"\n [attr.data-type]=\"t.type\"\n [style.background]=\"t.background || ''\"\n [style.color]=\"t.textColor || ''\"\n (mouseenter)=\"onMouseEnter(t, $event)\"\n (mouseleave)=\"onMouseLeave(t, $event)\"\n >\n <div style=\"display: flex; width: 100%; align-items: center;\">\n <div class=\"toast-left\">\n <!-- MR 16NOV26 Remediate toast icon color to semantic textPrimary token -->\n <i *ngIf=\"t.icon\" class=\"fusion-icon fusion-icon-size-lg {{t.icon}} nav-icon icon\" style=\"color: var(--fb-text-primary, #0f172a) !important;\"></i>\n <div class=\"icon default\" *ngIf=\"!t.icon\">\n @switch (t.type) {\n @case ('success') {\n <svg viewBox=\"0 0 24 24\" class=\"default-svg\">\n <path fill=\"currentColor\" d=\"M9 16.2l-3.5-3.5L4 14l5 5 12-12-1.5-1.5z\"/>\n </svg>\n }\n @case ('error') {\n <svg viewBox=\"0 0 24 24\" class=\"default-svg\">\n <path fill=\"currentColor\" d=\"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm5 13.6L13.6 17 12 15.4 10.4 17 7 13.6 8.6 12 7 10.4 10.4 7 12 8.6 13.6 7 17 10.4 15.4 12 17 13.6z\"/>\n </svg>\n }\n @case ('warning') {\n <svg viewBox=\"0 0 24 24\" class=\"default-svg\">\n <path fill=\"currentColor\" d=\"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z\"/>\n </svg>\n }\n @default {\n <svg viewBox=\"0 0 24 24\" class=\"default-svg\">\n <path fill=\"currentColor\" d=\"M12 2v20M2 12h20\"/>\n </svg>\n }\n }\n </div>\n </div>\n\n <div class=\"toast-body\">\n <div class=\"title\" *ngIf=\"t.title\">{{ t.title }}</div>\n <div class=\"message\">{{ t.message }}</div>\n </div>\n\n <button class=\"close\" (click)=\"dismiss(t.id)\" aria-label=\"Close\">×</button>\n </div>\n\n <div class=\"progress\" *ngIf=\"t.duration && t.duration > 0\">\n <div class=\"bar\" [style.--toast-duration]=\"t.duration + 'ms'\" [style.animation-play-state]=\"progressState()\"></div>\n </div>\n </div>\n</div>\n\n",
9096
+ styles: [":host{display:block}.toast-container{position:fixed;width:360px;display:flex;flex-direction:column;gap:12px;z-index:1100;pointer-events:none}.toast-container.top-right{inset:65px 16px auto auto}.toast-container.top-left{inset:16px auto auto 16px}.toast-container.bottom-right{inset:auto 16px 16px auto}.toast-container.bottom-left{inset:auto auto 16px 16px}.toast{pointer-events:auto;display:flex;flex-direction:column;gap:12px;padding:12px;border-radius:var(--radius-large, 12px);box-shadow:0 10px 15px -3px var(--fb-backdrop, rgba(0, 0, 0, .1)),0 4px 6px -2px var(--fb-backdrop, rgba(0, 0, 0, .05));background:var(--fb-surface-elevated, #ffffff);color:var(--fb-text-primary, #0f172a);overflow:hidden;border:1px solid var(--fb-border-default, #e2e8f0);position:relative;transform:translate(8px);opacity:0;animation:toast-in .22s cubic-bezier(.2,.9,.2,1) forwards}.toast.leaving{animation:toast-out .18s ease-in forwards}@keyframes toast-in{0%{opacity:0;transform:translateY(-8px) translate(8px)}to{opacity:1;transform:translateY(0) translate(0)}}@keyframes toast-out{0%{opacity:1;transform:translateY(0) translate(0)}to{opacity:0;transform:translateY(-6px) translate(6px)}}.toast[data-type=success]{border-left:6px solid var(--fb-success-border, #22c55e)}.toast[data-type=error]{border-left:6px solid var(--fb-error-border, #ef4444)}.toast[data-type=warning]{border-left:6px solid var(--fb-warning-border, #f59e0b)}.toast[data-type=info]{border-left:6px solid var(--fb-info-border, #3b82f6)}.toast-left{display:flex;align-items:center}.icon{width:36px;height:36px;display:flex;align-items:center;justify-content:center}.icon svg{width:22px;height:22px}.default-svg{opacity:.95}.toast-body{flex:1;min-width:0;padding:0 8px}.title{font-weight:700;font-size:14px;margin-bottom:4px}.message{font-size:13px;color:inherit;opacity:.88;word-break:break-word}.close{background:none;border:0;font-size:18px;line-height:1;padding:4px 6px;cursor:pointer;color:inherit}.progress{position:absolute;left:0;right:0;bottom:0;height:4px;background:var(--fb-border-subtle, rgba(0, 0, 0, .05))}.progress .bar{height:100%;width:100%;background:var(--fc-primary-color, #3b82f6);transform-origin:left;animation-name:progress-shrink;animation-timing-function:linear;animation-duration:var(--toast-duration, 5s);animation-play-state:var(--toast-playstate, running)}@keyframes progress-shrink{0%{transform:scaleX(1)}to{transform:scaleX(0)}}@media(max-width:420px){.toast-container{width:calc(100% - 32px);left:16px;right:16px}}\n"]
9096
9097
  }]
9097
9098
  }],
9098
9099
  ctorParameters: () => [
@@ -9205,8 +9206,8 @@ var MultiSelectDropdownComponent = class MultiSelectDropdownComponent {
9205
9206
  outputs: { shareCheckedList: "shareCheckedList" },
9206
9207
  usesOnChanges: true,
9207
9208
  ngImport: i0,
9208
- template: "<!-- MR 09NOV26 Migration of Datatables and Tier 1 Primitives to fusion-ui -->\n<mat-form-field style=\"width: 100%;\">\n <mat-label>{{ label }}</mat-label>\n\n <div style=\"margin-bottom: 5px;\">\n @for (selectedItem of selectedItemList; track selectedItem) {\n <mat-chip style=\"margin: 5px;\" [removable]=\"true\" (removed)=\"removeChip(selectedItem)\">\n {{ selectedItem._id }} ({{ selectedItem.label }})\n <mat-icon matChipRemove>cancel</mat-icon>\n </mat-chip>\n }\n </div>\n\n <mat-select [formControl]=\"control\" multiple [compareWith]=\"compareItems\">\n <mat-select-trigger></mat-select-trigger>\n\n <mat-form-field style=\"width: 100%;\" appearance=\"outline\">\n <mat-label>Search {{ label }}</mat-label>\n <input matInput type=\"text\" [(ngModel)]=\"value\" (ngModelChange)=\"onFilterChange($event)\" />\n @if (value) {\n <button style=\"position: absolute; right: -10px; top: 5px;\" mat-icon-button aria-label=\"Clear\"\n (click)=\"clearFilter()\">\n <mat-icon>close</mat-icon>\n </button>\n }\n </mat-form-field>\n\n @if (filteredItemList.length > 0 && isAll) {\n <mat-checkbox color=\"primary\" style=\"user-select: none; width: 100%; cursor: pointer; padding: 5px;\" matRipple\n [checked]=\"isAllSelected()\" (click)=\"toggleSelectAll()\">\n <span [style.color]=\"isAllSelected() ? 'var(--fc-primary-color, #0070d2)' : 'inherit'\" style=\"font-size: var(--fs-normal, 16px);\">All</span>\n </mat-checkbox>\n }\n\n @for (item of filteredItemList; track item) {\n <mat-option [value]=\"item\">\n {{ item._id }} ({{ item.label }})\n </mat-option>\n }\n\n @if (filteredItemList.length == 0) {\n <div style=\"padding: 5px 10px;\">No results found!</div>\n }\n </mat-select>\n</mat-form-field>\n\n",
9209
- styles: ["::ng-deep mat-checkbox:hover{background-color:var(--mat-option-focus-state-layer-color, rgba(0, 0, 0, .04))}::ng-deep mat-option span{white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}.selected-option{background-color:#0070d21f!important;color:var(--fc-primary-color, #0070d2)!important}\n"],
9209
+ template: "<!-- MR 09NOV26 Migration of Datatables and Tier 1 Primitives to fusion-ui -->\n<mat-form-field style=\"width: 100%;\">\n <mat-label>{{ label }}</mat-label>\n\n <div style=\"margin-bottom: 5px;\">\n @for (selectedItem of selectedItemList; track selectedItem) {\n <mat-chip style=\"margin: 5px;\" [removable]=\"true\" (removed)=\"removeChip(selectedItem)\">\n {{ selectedItem._id }} ({{ selectedItem.label }})\n <mat-icon matChipRemove>cancel</mat-icon>\n </mat-chip>\n }\n </div>\n\n <mat-select [formControl]=\"control\" multiple [compareWith]=\"compareItems\">\n <mat-select-trigger></mat-select-trigger>\n\n <mat-form-field style=\"width: 100%;\" appearance=\"outline\">\n <mat-label>Search {{ label }}</mat-label>\n <input matInput type=\"text\" [(ngModel)]=\"value\" (ngModelChange)=\"onFilterChange($event)\" />\n @if (value) {\n <button style=\"position: absolute; right: -10px; top: 5px;\" mat-icon-button aria-label=\"Clear\"\n (click)=\"clearFilter()\">\n <mat-icon>close</mat-icon>\n </button>\n }\n </mat-form-field>\n\n @if (filteredItemList.length > 0 && isAll) {\n <mat-checkbox color=\"primary\" style=\"user-select: none; width: 100%; cursor: pointer; padding: 5px;\" matRipple\n [checked]=\"isAllSelected()\" (click)=\"toggleSelectAll()\">\n <!-- MR 16NOV26 Remediate select-all text color to semantic token -->\n <span [style.color]=\"isAllSelected() ? 'var(--fb-selected-text, #0070d2)' : 'inherit'\" style=\"font-size: var(--fs-normal, 16px);\">All</span>\n </mat-checkbox>\n }\n\n @for (item of filteredItemList; track item) {\n <mat-option [value]=\"item\">\n {{ item._id }} ({{ item.label }})\n </mat-option>\n }\n\n @if (filteredItemList.length == 0) {\n <div style=\"padding: 5px 10px;\">No results found!</div>\n }\n </mat-select>\n</mat-form-field>\n\n",
9210
+ styles: ["::ng-deep mat-checkbox:hover{background-color:var(--fb-action-surface-hover, rgba(0, 0, 0, .04))}::ng-deep mat-option span{white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}.selected-option{background-color:var(--fb-selected-bg, rgba(0, 112, 210, .12))!important;color:var(--fb-selected-text, #0070d2)!important}\n"],
9210
9211
  dependencies: [
9211
9212
  {
9212
9213
  kind: "ngmodule",
@@ -9490,8 +9491,8 @@ i0.ɵɵngDeclareClassMetadata({
9490
9491
  MatChipsModule
9491
9492
  ],
9492
9493
  changeDetection: ChangeDetectionStrategy.OnPush,
9493
- template: "<!-- MR 09NOV26 Migration of Datatables and Tier 1 Primitives to fusion-ui -->\n<mat-form-field style=\"width: 100%;\">\n <mat-label>{{ label }}</mat-label>\n\n <div style=\"margin-bottom: 5px;\">\n @for (selectedItem of selectedItemList; track selectedItem) {\n <mat-chip style=\"margin: 5px;\" [removable]=\"true\" (removed)=\"removeChip(selectedItem)\">\n {{ selectedItem._id }} ({{ selectedItem.label }})\n <mat-icon matChipRemove>cancel</mat-icon>\n </mat-chip>\n }\n </div>\n\n <mat-select [formControl]=\"control\" multiple [compareWith]=\"compareItems\">\n <mat-select-trigger></mat-select-trigger>\n\n <mat-form-field style=\"width: 100%;\" appearance=\"outline\">\n <mat-label>Search {{ label }}</mat-label>\n <input matInput type=\"text\" [(ngModel)]=\"value\" (ngModelChange)=\"onFilterChange($event)\" />\n @if (value) {\n <button style=\"position: absolute; right: -10px; top: 5px;\" mat-icon-button aria-label=\"Clear\"\n (click)=\"clearFilter()\">\n <mat-icon>close</mat-icon>\n </button>\n }\n </mat-form-field>\n\n @if (filteredItemList.length > 0 && isAll) {\n <mat-checkbox color=\"primary\" style=\"user-select: none; width: 100%; cursor: pointer; padding: 5px;\" matRipple\n [checked]=\"isAllSelected()\" (click)=\"toggleSelectAll()\">\n <span [style.color]=\"isAllSelected() ? 'var(--fc-primary-color, #0070d2)' : 'inherit'\" style=\"font-size: var(--fs-normal, 16px);\">All</span>\n </mat-checkbox>\n }\n\n @for (item of filteredItemList; track item) {\n <mat-option [value]=\"item\">\n {{ item._id }} ({{ item.label }})\n </mat-option>\n }\n\n @if (filteredItemList.length == 0) {\n <div style=\"padding: 5px 10px;\">No results found!</div>\n }\n </mat-select>\n</mat-form-field>\n\n",
9494
- styles: ["::ng-deep mat-checkbox:hover{background-color:var(--mat-option-focus-state-layer-color, rgba(0, 0, 0, .04))}::ng-deep mat-option span{white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}.selected-option{background-color:#0070d21f!important;color:var(--fc-primary-color, #0070d2)!important}\n"]
9494
+ template: "<!-- MR 09NOV26 Migration of Datatables and Tier 1 Primitives to fusion-ui -->\n<mat-form-field style=\"width: 100%;\">\n <mat-label>{{ label }}</mat-label>\n\n <div style=\"margin-bottom: 5px;\">\n @for (selectedItem of selectedItemList; track selectedItem) {\n <mat-chip style=\"margin: 5px;\" [removable]=\"true\" (removed)=\"removeChip(selectedItem)\">\n {{ selectedItem._id }} ({{ selectedItem.label }})\n <mat-icon matChipRemove>cancel</mat-icon>\n </mat-chip>\n }\n </div>\n\n <mat-select [formControl]=\"control\" multiple [compareWith]=\"compareItems\">\n <mat-select-trigger></mat-select-trigger>\n\n <mat-form-field style=\"width: 100%;\" appearance=\"outline\">\n <mat-label>Search {{ label }}</mat-label>\n <input matInput type=\"text\" [(ngModel)]=\"value\" (ngModelChange)=\"onFilterChange($event)\" />\n @if (value) {\n <button style=\"position: absolute; right: -10px; top: 5px;\" mat-icon-button aria-label=\"Clear\"\n (click)=\"clearFilter()\">\n <mat-icon>close</mat-icon>\n </button>\n }\n </mat-form-field>\n\n @if (filteredItemList.length > 0 && isAll) {\n <mat-checkbox color=\"primary\" style=\"user-select: none; width: 100%; cursor: pointer; padding: 5px;\" matRipple\n [checked]=\"isAllSelected()\" (click)=\"toggleSelectAll()\">\n <!-- MR 16NOV26 Remediate select-all text color to semantic token -->\n <span [style.color]=\"isAllSelected() ? 'var(--fb-selected-text, #0070d2)' : 'inherit'\" style=\"font-size: var(--fs-normal, 16px);\">All</span>\n </mat-checkbox>\n }\n\n @for (item of filteredItemList; track item) {\n <mat-option [value]=\"item\">\n {{ item._id }} ({{ item.label }})\n </mat-option>\n }\n\n @if (filteredItemList.length == 0) {\n <div style=\"padding: 5px 10px;\">No results found!</div>\n }\n </mat-select>\n</mat-form-field>\n\n",
9495
+ styles: ["::ng-deep mat-checkbox:hover{background-color:var(--fb-action-surface-hover, rgba(0, 0, 0, .04))}::ng-deep mat-option span{white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}.selected-option{background-color:var(--fb-selected-bg, rgba(0, 112, 210, .12))!important;color:var(--fb-selected-text, #0070d2)!important}\n"]
9495
9496
  }]
9496
9497
  }],
9497
9498
  ctorParameters: () => [{ type: i0.ChangeDetectorRef }],
@@ -9564,7 +9565,7 @@ var AlertMessageComponent = class AlertMessageComponent {
9564
9565
  outputs: { dismiss: "dismiss" },
9565
9566
  ngImport: i0,
9566
9567
  template: "<!-- MR 09NOV26 Migration of Datatables and Tier 1 Primitives to fusion-ui -->\n<div *ngIf=\"visible && (message || true)\" class=\"alert alert-dismissible fade show form-submission-message\" [ngClass]=\"normalizedType\" role=\"alert\">\n <div class=\"info\">\n <div class=\"alert-icon\">\n <ng-content select=\"[alert-icon]\">\n @switch (normalizedType) {\n @case ('success') {\n <svg class=\"icon-svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M9 16.2l-3.5-3.5L4 14l5 5 12-12-1.5-1.5z\"/>\n </svg>\n }\n @case ('failure') {\n <svg class=\"icon-svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm5 13.6L13.6 17 12 15.4 10.4 17 7 13.6 8.6 12 7 10.4 10.4 7 12 8.6 13.6 7 17 10.4 15.4 12 17 13.6z\"/>\n </svg>\n }\n @case ('warning') {\n <svg class=\"icon-svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z\"/>\n </svg>\n }\n @default {\n <svg class=\"icon-svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M12 2v20M2 12h20\"/>\n </svg>\n }\n }\n </ng-content>\n </div>\n\n <div class=\"alert-content\">\n <ng-content>{{ message }}</ng-content>\n </div>\n\n <button *ngIf=\"dismissible\" type=\"button\" class=\"close-btn\" (click)=\"onDismiss()\" aria-label=\"Close\">\n <svg viewBox=\"0 0 24 24\" class=\"cross-icon\">\n <path fill=\"currentColor\" d=\"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z\"/>\n </svg>\n </button>\n </div>\n</div>\n\n",
9567
- styles: [":host{display:block}.form-submission-message{margin:8px 0;padding:10px 14px;border-radius:var(--radius-medium, 8px);position:relative;border:1px solid transparent}.form-submission-message.success{background-color:var(--fb-action-surface, #e0f2fe);color:var(--fb-action, #003566);border-color:#bae6fd}.form-submission-message.failure{background-color:#fee2e2;color:#991b1b;border-color:#fecaca}.form-submission-message.warning{background-color:#fef3c7;color:#92400e;border-color:#fde68a}.form-submission-message.info{background-color:#f1f5f9;color:#1e293b;border-color:#e2e8f0}.info{display:flex;align-items:center;gap:10px;width:100%}.alert-icon{display:flex;align-items:center;flex-shrink:0}.icon-svg{width:20px;height:20px}.alert-content{flex:1;font-size:13px;font-weight:500;line-height:1.4}.close-btn{background:transparent;border:none;cursor:pointer;padding:4px;display:flex;align-items:center;color:inherit;opacity:.7}.close-btn:hover{opacity:1}.cross-icon{width:16px;height:16px}\n"],
9568
+ styles: [":host{display:block}.form-submission-message{margin:8px 0;padding:10px 14px;border-radius:var(--radius-medium, 8px);position:relative;border:1px solid transparent}.form-submission-message.success{background-color:var(--fb-success-surface, #e6f4ea);color:var(--fb-success-text, #137333);border-color:var(--fb-success-border, #a8dab5)}.form-submission-message.failure{background-color:var(--fb-error-surface, #fee2e2);color:var(--fb-error-text, #991b1b);border-color:var(--fb-error-border, #fecaca)}.form-submission-message.warning{background-color:var(--fb-warning-surface, #fef3c7);color:var(--fb-warning-text, #92400e);border-color:var(--fb-warning-border, #fde68a)}.form-submission-message.info{background-color:var(--fb-info-surface, #f1f5f9);color:var(--fb-info-text, #1e293b);border-color:var(--fb-info-border, #e2e8f0)}.info{display:flex;align-items:center;gap:10px;width:100%}.alert-icon{display:flex;align-items:center;flex-shrink:0}.icon-svg{width:20px;height:20px}.alert-content{flex:1;font-size:13px;font-weight:500;line-height:1.4}.close-btn{background:transparent;border:none;cursor:pointer;padding:4px;display:flex;align-items:center;color:inherit;opacity:.7}.close-btn:hover{opacity:1}.cross-icon{width:16px;height:16px}\n"],
9568
9569
  dependencies: [
9569
9570
  {
9570
9571
  kind: "ngmodule",
@@ -9603,7 +9604,7 @@ i0.ɵɵngDeclareClassMetadata({
9603
9604
  imports: [CommonModule],
9604
9605
  changeDetection: ChangeDetectionStrategy.OnPush,
9605
9606
  template: "<!-- MR 09NOV26 Migration of Datatables and Tier 1 Primitives to fusion-ui -->\n<div *ngIf=\"visible && (message || true)\" class=\"alert alert-dismissible fade show form-submission-message\" [ngClass]=\"normalizedType\" role=\"alert\">\n <div class=\"info\">\n <div class=\"alert-icon\">\n <ng-content select=\"[alert-icon]\">\n @switch (normalizedType) {\n @case ('success') {\n <svg class=\"icon-svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M9 16.2l-3.5-3.5L4 14l5 5 12-12-1.5-1.5z\"/>\n </svg>\n }\n @case ('failure') {\n <svg class=\"icon-svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm5 13.6L13.6 17 12 15.4 10.4 17 7 13.6 8.6 12 7 10.4 10.4 7 12 8.6 13.6 7 17 10.4 15.4 12 17 13.6z\"/>\n </svg>\n }\n @case ('warning') {\n <svg class=\"icon-svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z\"/>\n </svg>\n }\n @default {\n <svg class=\"icon-svg\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M12 2v20M2 12h20\"/>\n </svg>\n }\n }\n </ng-content>\n </div>\n\n <div class=\"alert-content\">\n <ng-content>{{ message }}</ng-content>\n </div>\n\n <button *ngIf=\"dismissible\" type=\"button\" class=\"close-btn\" (click)=\"onDismiss()\" aria-label=\"Close\">\n <svg viewBox=\"0 0 24 24\" class=\"cross-icon\">\n <path fill=\"currentColor\" d=\"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z\"/>\n </svg>\n </button>\n </div>\n</div>\n\n",
9606
- styles: [":host{display:block}.form-submission-message{margin:8px 0;padding:10px 14px;border-radius:var(--radius-medium, 8px);position:relative;border:1px solid transparent}.form-submission-message.success{background-color:var(--fb-action-surface, #e0f2fe);color:var(--fb-action, #003566);border-color:#bae6fd}.form-submission-message.failure{background-color:#fee2e2;color:#991b1b;border-color:#fecaca}.form-submission-message.warning{background-color:#fef3c7;color:#92400e;border-color:#fde68a}.form-submission-message.info{background-color:#f1f5f9;color:#1e293b;border-color:#e2e8f0}.info{display:flex;align-items:center;gap:10px;width:100%}.alert-icon{display:flex;align-items:center;flex-shrink:0}.icon-svg{width:20px;height:20px}.alert-content{flex:1;font-size:13px;font-weight:500;line-height:1.4}.close-btn{background:transparent;border:none;cursor:pointer;padding:4px;display:flex;align-items:center;color:inherit;opacity:.7}.close-btn:hover{opacity:1}.cross-icon{width:16px;height:16px}\n"]
9607
+ styles: [":host{display:block}.form-submission-message{margin:8px 0;padding:10px 14px;border-radius:var(--radius-medium, 8px);position:relative;border:1px solid transparent}.form-submission-message.success{background-color:var(--fb-success-surface, #e6f4ea);color:var(--fb-success-text, #137333);border-color:var(--fb-success-border, #a8dab5)}.form-submission-message.failure{background-color:var(--fb-error-surface, #fee2e2);color:var(--fb-error-text, #991b1b);border-color:var(--fb-error-border, #fecaca)}.form-submission-message.warning{background-color:var(--fb-warning-surface, #fef3c7);color:var(--fb-warning-text, #92400e);border-color:var(--fb-warning-border, #fde68a)}.form-submission-message.info{background-color:var(--fb-info-surface, #f1f5f9);color:var(--fb-info-text, #1e293b);border-color:var(--fb-info-border, #e2e8f0)}.info{display:flex;align-items:center;gap:10px;width:100%}.alert-icon{display:flex;align-items:center;flex-shrink:0}.icon-svg{width:20px;height:20px}.alert-content{flex:1;font-size:13px;font-weight:500;line-height:1.4}.close-btn{background:transparent;border:none;cursor:pointer;padding:4px;display:flex;align-items:center;color:inherit;opacity:.7}.close-btn:hover{opacity:1}.cross-icon{width:16px;height:16px}\n"]
9607
9608
  }]
9608
9609
  }],
9609
9610
  ctorParameters: () => [{ type: i0.ChangeDetectorRef }, {