@ruc-lib/grid-list 2.0.0 → 3.2.0

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.
@@ -336,7 +336,7 @@ class RuclibGridListComponent {
336
336
  }
337
337
  }
338
338
  RuclibGridListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RuclibGridListComponent, deps: [{ token: i1.MatDialog }, { token: GridListService }], target: i0.ɵɵFactoryTarget.Component });
339
- RuclibGridListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RuclibGridListComponent, selector: "uxp-ruclib-grid-list", inputs: { columnConfig: "columnConfig", inputData: "inputData", gridConfig: "gridConfig", chartConfig: "chartConfig", customTheme: "customTheme", rucInputData: "rucInputData" }, outputs: { rowExpanded: "rowExpanded", infoClicked: "infoClicked", rucEvent: "rucEvent" }, queries: [{ propertyName: "cellTemplate", predicate: GridColumnComponent }], viewQueries: [{ propertyName: "paginator", first: true, predicate: MatPaginator, descendants: true }, { propertyName: "sort", first: true, predicate: MatSort, descendants: true }], ngImport: i0, template: "<div class=\"grid-list-container\" class={{customTheme}}>\r\n <div class=\"header-container\">\r\n <mat-form-field *ngIf=\"gridConfig.showFilter\" appearance=\"outline\">\r\n <input matInput [(ngModel)]=\"search\" (keyup)=\"applyFilter($event)\" placeholder=\"Search\">\r\n </mat-form-field>\r\n\r\n <div *ngIf=\"gridConfig.showGridView\" class=\"icon-container\">\r\n <div (click)=\"listView=true\"\r\n [style.background-color]=\"listView ? gridCardConfig.style?.icon.color : 'white'\"\r\n [class.active-icon]=\"listView\" class=\"icon list\">\r\n <mat-icon>view_list</mat-icon>\r\n </div>\r\n <div (click)=\"listView=false;createGridViewData()\"\r\n [style.background-color]=\"!listView ? gridCardConfig.style?.icon.color : 'white'\"\r\n [class.active-icon]=\"!listView\" class=\"icon grid\">\r\n <mat-icon>grid_on</mat-icon>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div [hidden]=\"!listView\" class=\"mat-elevation-z8\" class=\"overflow\">\r\n <table mat-table [dataSource]=\"dataSource\" multiTemplateDataRows matSort (matSortChange)=\"onSortChange($event)\">\r\n <ng-container matColumnDef=\"select\" *ngIf=\"gridConfig.isSelectable\">\r\n <th mat-header-cell *matHeaderCellDef>\r\n <mat-checkbox color=\"primary\" (change)=\"$event ? toggleAllRows() : null\"\r\n [checked]=\"selection.hasValue() && isAllSelected()\"\r\n [indeterminate]=\"selection.hasValue() && !isAllSelected()\" [aria-label]=\"checkboxLabel()\">\r\n </mat-checkbox>\r\n </th>\r\n <td mat-cell *matCellDef=\"let row\">\r\n <mat-checkbox color=\"primary\" (click)=\"$event.stopPropagation()\"\r\n (change)=\"$event ? selection.toggle(row) : null\" [checked]=\"selection.isSelected(row)\"\r\n [aria-label]=\"checkboxLabel(row)\">\r\n </mat-checkbox>\r\n </td>\r\n </ng-container>\r\n <ng-container *ngFor=\"let column of columnConfig\">\r\n <ng-container [matColumnDef]=\"column.name\" [sticky]=\"\">\r\n\r\n <!--table headers start-->\r\n <th [ngStyle]=\"column?.headerStyle\" mat-header-cell *matHeaderCellDef mat-sort-header>\r\n {{column.header}} </th>\r\n <!--table headers end-->\r\n\r\n\r\n <!--table rows start-->\r\n <ng-container *ngIf=\"!column.isCustom; else customColumn\">\r\n <ng-container *ngIf=\"!column.actionColumn; else actionColumn\">\r\n <td #tooltip=\"matTooltip\" matTooltip=\"{{row[column.name]!}}\" mat-cell *matCellDef=\"let row\">\r\n {{row[column.name]!}} </td>\r\n </ng-container>\r\n\r\n <!--table action rows start-->\r\n <ng-template #actionColumn>\r\n <td mat-cell *matCellDef=\"let row\">\r\n <div class=\"icons\">\r\n <mat-icon [style]=\"gridCardConfig.style?.icon\" *ngFor=\"let action of column.action\"\r\n (click)=\"action?.handler($event, row)\">{{action.icon}}</mat-icon>\r\n </div>\r\n </td>\r\n </ng-template>\r\n <!--table action rows end-->\r\n\r\n </ng-container>\r\n <!--table rows end-->\r\n\r\n\r\n <!--table custom column start-->\r\n <ng-template #customColumn>\r\n <td mat-cell *matCellDef=\"let element\">\r\n <ng-container [ngTemplateOutlet]=\"customColumnMap[column.name]\"\r\n [ngTemplateOutletContext]=\"{element: element}\"></ng-container>\r\n </td>\r\n </ng-template>\r\n <!--table custom column end-->\r\n\r\n </ng-container>\r\n </ng-container>\r\n\r\n\r\n <ng-container matColumnDef=\"expand\">\r\n <th mat-header-cell *matHeaderCellDef aria-label=\"row actions\">&nbsp;</th>\r\n <td mat-cell *matCellDef=\"let element; let i = index\">\r\n <button mat-icon-button aria-label=\"expand row\"\r\n (click)=\"(expandedElement = expandedElement === element ? null : element); $event.stopPropagation();handleClick(i,expandedElement, element)\">\r\n <mat-icon *ngIf=\"expandedElement !== element\">keyboard_arrow_down</mat-icon>\r\n <mat-icon *ngIf=\"expandedElement === element\">keyboard_arrow_up</mat-icon>\r\n </button>\r\n </td>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"expandedDetail\">\r\n <td mat-cell *matCellDef=\"let element; let i = index\"\r\n [attr.colspan]=\"columnsToDisplayWithExpand.length\">\r\n <div class=\"example-element-detail\"\r\n [@detailExpand]=\"element == expandedElement ? 'expanded' : 'collapsed'\">\r\n Expanded\r\n <ng-container *ngIf=\"element === expandedElement && (chartConfig && chartConfig.length); else noChartData\">\r\n <div *ngFor=\"let config of chartConfig; let i=index\">\r\n <ruc-grid-chart [index]=\"i\" [chartConfig]=\"config\"></ruc-grid-chart>\r\n </div>\r\n </ng-container>\r\n <ng-template #noChartData>\r\n No Chart Data exist for this element\r\n </ng-template>\r\n </div>\r\n </td>\r\n </ng-container>\r\n\r\n <tr mat-header-row *matHeaderRowDef=\"columnsToDisplayWithExpand\"></tr>\r\n <tr mat-row *matRowDef=\"let element; columns: columnsToDisplayWithExpand;\" class=\"example-element-row\"\r\n [class.example-expanded-row]=\"expandedElement === element\">\r\n </tr>\r\n <tr mat-row *matRowDef=\"let row; columns: ['expandedDetail']\" class=\"expanded-content\"></tr>\r\n\r\n </table>\r\n </div>\r\n\r\n <div [hidden]=\"listView\">\r\n <div #ref><ng-content select=\"[customCard]\"></ng-content></div>\r\n <div *ngIf=\"!ref.children.length\" class=\"grid\">\r\n <ruc-grid-cards *ngFor=\"let data of gridViewData\" class=\"grid-view-container\" [gridItem]=\"data\"\r\n [config]=\"gridCardConfig\" [header]=\"columnConfig\" [data]=\"gridViewData\">\r\n </ruc-grid-cards>\r\n </div>\r\n \r\n </div>\r\n\r\n <mat-paginator (page)=\"pageChangeHandler($event)\" *ngIf=\"gridConfig.pagination\" [pageSizeOptions]=\"[5, 10, 25, 100]\"\r\n aria-label=\"Select page of users\"></mat-paginator>\r\n</div>", styles: [".mat-table{width:100%}.header-container{display:flex;justify-content:end;gap:16px;margin-bottom:24px}.icon-container{border:1px solid gray;border-radius:16px;display:flex;justify-content:center;align-items:center;width:120px;height:56px}.icon-container :first-child{border-top-left-radius:16px;border-bottom-left-radius:16px}.icon-container :nth-child(2){border-top-right-radius:16px;border-bottom-right-radius:16px}.icon{display:flex;height:100%;align-items:center;width:100%;justify-content:center}.active-icon mat-icon{color:#fff}mat-icon{cursor:pointer}::ng-deep .mat-form-field-appearance-outline .mat-form-field-wrapper{margin:0!important}::ng-deep .mat-form-field-wrapper{padding-bottom:0}.grid-view-container{display:flex;gap:16px;flex-wrap:wrap}.grid-view-container .grid{cursor:pointer}.grid-view-container .grid :hover{background-color:#ffdfb4}.icons{width:fit-content;display:flex;gap:12px}.icons mat-icon{visibility:hidden}.mat-mdc-row:hover{background-color:#008fd51f;border:2px solid #008fd5!important;border-radius:4px}.mat-mdc-row:hover .icons mat-icon{visibility:visible}.mat-column-action{width:100px}.mat-cell{padding-right:20px}.overflow{overflow-x:auto}.grid{display:flex;flex-wrap:wrap;gap:15px}table{width:100%}.expanded-content{height:0!important}tr.example-element-row:not(.example-expanded-row):hover{background:whitesmoke}tr.example-element-row:not(.example-expanded-row):active{background:#efefef}.example-element-row td{border-bottom-width:0}.example-element-detail{overflow:hidden;display:flex}\n"], dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i5.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "component", type: i6.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i6.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i6.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i6.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { kind: "directive", type: i6.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i6.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i6.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i6.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i6.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i6.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: i7.MatPaginator, selector: "mat-paginator", inputs: ["disabled"], exportAs: ["matPaginator"] }, { kind: "directive", type: i8.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i10.MatSort, selector: "[matSort]", inputs: ["matSortDisabled", "matSortActive", "matSortStart", "matSortDirection", "matSortDisableClear"], outputs: ["matSortChange"], exportAs: ["matSort"] }, { kind: "component", type: i10.MatSortHeader, selector: "[mat-sort-header]", inputs: ["disabled", "mat-sort-header", "arrowPosition", "start", "sortActionDescription", "disableClear"], exportAs: ["matSortHeader"] }, { kind: "component", type: i3$2.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i12.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "directive", type: i13.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "component", type: GridCardsComponent, selector: "ruc-grid-cards", inputs: ["data", "gridItem", "config", "header"] }, { kind: "component", type: GridChartComponent, selector: "ruc-grid-chart", inputs: ["index", "chartConfig"] }], animations: [
339
+ RuclibGridListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RuclibGridListComponent, selector: "uxp-ruclib-grid-list", inputs: { columnConfig: "columnConfig", inputData: "inputData", gridConfig: "gridConfig", chartConfig: "chartConfig", customTheme: "customTheme", rucInputData: "rucInputData" }, outputs: { rowExpanded: "rowExpanded", infoClicked: "infoClicked", rucEvent: "rucEvent" }, queries: [{ propertyName: "cellTemplate", predicate: GridColumnComponent }], viewQueries: [{ propertyName: "paginator", first: true, predicate: MatPaginator, descendants: true }, { propertyName: "sort", first: true, predicate: MatSort, descendants: true }], ngImport: i0, template: "<div class=\"main\">\r\n<div class=\"grid-list-container\" class={{customTheme}}>\r\n <div class=\"header-container\">\r\n <mat-form-field *ngIf=\"gridConfig.showFilter\" appearance=\"outline\">\r\n <input matInput [(ngModel)]=\"search\" (keyup)=\"applyFilter($event)\" placeholder=\"Search\">\r\n </mat-form-field>\r\n\r\n <div *ngIf=\"gridConfig.showGridView\" class=\"icon-container\">\r\n <div (click)=\"listView=true\"\r\n [style.background-color]=\"listView ? gridCardConfig.style?.icon.color : 'white'\"\r\n [class.active-icon]=\"listView\" class=\"icon list\">\r\n <mat-icon>view_list</mat-icon>\r\n </div>\r\n <div (click)=\"listView=false;createGridViewData()\"\r\n [style.background-color]=\"!listView ? gridCardConfig.style?.icon.color : 'white'\"\r\n [class.active-icon]=\"!listView\" class=\"icon grid\">\r\n <mat-icon>grid_on</mat-icon>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div [hidden]=\"!listView\" class=\"mat-elevation-z8\" class=\"overflow\">\r\n <table mat-table [dataSource]=\"dataSource\" multiTemplateDataRows matSort (matSortChange)=\"onSortChange($event)\">\r\n <ng-container matColumnDef=\"select\" *ngIf=\"gridConfig.isSelectable\">\r\n <th mat-header-cell *matHeaderCellDef>\r\n <mat-checkbox color=\"primary\" (change)=\"$event ? toggleAllRows() : null\"\r\n [checked]=\"selection.hasValue() && isAllSelected()\"\r\n [indeterminate]=\"selection.hasValue() && !isAllSelected()\" [aria-label]=\"checkboxLabel()\">\r\n </mat-checkbox>\r\n </th>\r\n <td mat-cell *matCellDef=\"let row\">\r\n <mat-checkbox color=\"primary\" (click)=\"$event.stopPropagation()\"\r\n (change)=\"$event ? selection.toggle(row) : null\" [checked]=\"selection.isSelected(row)\"\r\n [aria-label]=\"checkboxLabel(row)\">\r\n </mat-checkbox>\r\n </td>\r\n </ng-container>\r\n <ng-container *ngFor=\"let column of columnConfig\">\r\n <ng-container [matColumnDef]=\"column.name\" [sticky]=\"\">\r\n\r\n <!--table headers start-->\r\n <th [ngStyle]=\"column?.headerStyle\" mat-header-cell *matHeaderCellDef mat-sort-header>\r\n {{column.header}} </th>\r\n <!--table headers end-->\r\n\r\n\r\n <!--table rows start-->\r\n <ng-container *ngIf=\"!column.isCustom; else customColumn\">\r\n <ng-container *ngIf=\"!column.actionColumn; else actionColumn\">\r\n <td #tooltip=\"matTooltip\" matTooltip=\"{{row[column.name]!}}\" mat-cell *matCellDef=\"let row\">\r\n {{row[column.name]!}} </td>\r\n </ng-container>\r\n\r\n <!--table action rows start-->\r\n <ng-template #actionColumn>\r\n <td mat-cell *matCellDef=\"let row\">\r\n <div class=\"icons\">\r\n <mat-icon [style]=\"gridCardConfig.style?.icon\" *ngFor=\"let action of column.action\"\r\n (click)=\"action?.handler($event, row)\">{{action.icon}}</mat-icon>\r\n </div>\r\n </td>\r\n </ng-template>\r\n <!--table action rows end-->\r\n\r\n </ng-container>\r\n <!--table rows end-->\r\n\r\n\r\n <!--table custom column start-->\r\n <ng-template #customColumn>\r\n <td mat-cell *matCellDef=\"let element\">\r\n <ng-container [ngTemplateOutlet]=\"customColumnMap[column.name]\"\r\n [ngTemplateOutletContext]=\"{element: element}\"></ng-container>\r\n </td>\r\n </ng-template>\r\n <!--table custom column end-->\r\n\r\n </ng-container>\r\n </ng-container>\r\n\r\n\r\n <ng-container matColumnDef=\"expand\">\r\n <th mat-header-cell *matHeaderCellDef aria-label=\"row actions\">&nbsp;</th>\r\n <td mat-cell *matCellDef=\"let element; let i = index\">\r\n <button mat-icon-button aria-label=\"expand row\"\r\n (click)=\"(expandedElement = expandedElement === element ? null : element); $event.stopPropagation();handleClick(i,expandedElement, element)\">\r\n <mat-icon *ngIf=\"expandedElement !== element\">keyboard_arrow_down</mat-icon>\r\n <mat-icon *ngIf=\"expandedElement === element\">keyboard_arrow_up</mat-icon>\r\n </button>\r\n </td>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"expandedDetail\">\r\n <td mat-cell *matCellDef=\"let element; let i = index\"\r\n [attr.colspan]=\"columnsToDisplayWithExpand.length\">\r\n <div class=\"example-element-detail\"\r\n [@detailExpand]=\"element == expandedElement ? 'expanded' : 'collapsed'\">\r\n Expanded\r\n <ng-container *ngIf=\"element === expandedElement && (chartConfig && chartConfig.length); else noChartData\">\r\n <div *ngFor=\"let config of chartConfig; let i=index\">\r\n <ruc-grid-chart [index]=\"i\" [chartConfig]=\"config\"></ruc-grid-chart>\r\n </div>\r\n </ng-container>\r\n <ng-template #noChartData>\r\n No Chart Data exist for this element\r\n </ng-template>\r\n </div>\r\n </td>\r\n </ng-container>\r\n\r\n <tr mat-header-row *matHeaderRowDef=\"columnsToDisplayWithExpand\"></tr>\r\n <tr mat-row *matRowDef=\"let element; columns: columnsToDisplayWithExpand;\" class=\"example-element-row\"\r\n [class.example-expanded-row]=\"expandedElement === element\">\r\n </tr>\r\n <tr mat-row *matRowDef=\"let row; columns: ['expandedDetail']\" class=\"expanded-content\"></tr>\r\n\r\n </table>\r\n </div>\r\n\r\n <div [hidden]=\"listView\">\r\n <div #ref><ng-content select=\"[customCard]\"></ng-content></div>\r\n <div *ngIf=\"!ref.children.length\" class=\"grid\">\r\n <ruc-grid-cards *ngFor=\"let data of gridViewData\" class=\"grid-view-container\" [gridItem]=\"data\"\r\n [config]=\"gridCardConfig\" [header]=\"columnConfig\" [data]=\"gridViewData\">\r\n </ruc-grid-cards>\r\n </div>\r\n \r\n </div>\r\n\r\n <mat-paginator (page)=\"pageChangeHandler($event)\" *ngIf=\"gridConfig.pagination\" [pageSizeOptions]=\"[5, 10, 25, 100]\"\r\n aria-label=\"Select page of users\"></mat-paginator>\r\n</div>\r\n</div>\r\n", styles: [".mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0)}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator{position:relative}.mat-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus:before{content:\"\"}.cdk-high-contrast-active{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator{position:relative}.mat-mdc-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator:focus:before{content:\"\"}.cdk-high-contrast-active{--mat-mdc-focus-indicator-display: block}.main{font-size:16px;font-weight:400;line-height:24px;font-family:Roboto,sans-serif;letter-spacing:.03125em}.ruc-custom-theme{font-size:14px;font-weight:400;line-height:20px;font-family:Roboto,sans-serif;letter-spacing:normal}.ruc-custom-theme .mat-mdc-option{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body1-font-size, 15px);line-height:var(--mdc-typography-body1-line-height, 24px);font-weight:var(--mdc-typography-body1-font-weight, 400);letter-spacing:var(--mdc-typography-body1-letter-spacing, normal)}.ruc-custom-theme .mat-mdc-card-title{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-headline6-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-headline6-font-size, 20px);line-height:var(--mdc-typography-headline6-line-height, 32px);font-weight:var(--mdc-typography-headline6-font-weight, 500);letter-spacing:var(--mdc-typography-headline6-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-headline6-text-decoration, inherit);text-decoration:var(--mdc-typography-headline6-text-decoration, inherit);text-transform:var(--mdc-typography-headline6-text-transform, none)}.ruc-custom-theme .mat-mdc-card-subtitle{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-subtitle2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-subtitle2-font-size, 20px);line-height:var(--mdc-typography-subtitle2-line-height, 24px);font-weight:var(--mdc-typography-subtitle2-font-weight, 500);letter-spacing:var(--mdc-typography-subtitle2-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-subtitle2-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle2-text-decoration, inherit);text-transform:var(--mdc-typography-subtitle2-text-transform, none)}.ruc-custom-theme .mat-mdc-tooltip{--mdc-plain-tooltip-supporting-text-font: Roboto, sans-serif;--mdc-plain-tooltip-supporting-text-size: 12px;--mdc-plain-tooltip-supporting-text-weight: 400;--mdc-plain-tooltip-supporting-text-tracking: normal}.ruc-custom-theme .mat-mdc-form-field-infix{min-height:56px}.ruc-custom-theme .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:28px}.ruc-custom-theme .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY( -34.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.ruc-custom-theme .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:16px;padding-bottom:16px}.ruc-custom-theme .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix{padding-top:24px;padding-bottom:8px}.ruc-custom-theme .mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix{padding-top:16px;padding-bottom:16px}.ruc-custom-theme .mdc-text-field__input,.ruc-custom-theme .mdc-text-field__affix{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-subtitle1-font-size, 16px);font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:var(--mdc-typography-subtitle1-text-transform, none)}.ruc-custom-theme .mdc-text-field--textarea .mdc-text-field__input{line-height:1.5rem}.ruc-custom-theme .mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-subtitle1-font-size, 16px);font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:var(--mdc-typography-subtitle1-text-transform, none)}.ruc-custom-theme .mat-mdc-form-field-subscript-wrapper,.ruc-custom-theme .mat-mdc-form-field-bottom-align:before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-caption-font-size, 12px);line-height:var(--mdc-typography-caption-line-height, 20px);font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:var(--mdc-typography-caption-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:var(--mdc-typography-caption-text-transform, none)}.ruc-custom-theme .mat-mdc-form-field,.ruc-custom-theme .mat-mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body1-font-size, 15px);line-height:var(--mdc-typography-body1-line-height, 24px);font-weight:var(--mdc-typography-body1-font-weight, 400);letter-spacing:var(--mdc-typography-body1-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-transform:var(--mdc-typography-body1-text-transform, none)}.ruc-custom-theme .mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(15px * var(--mat-mdc-form-field-floating-label-scale, .75))}.ruc-custom-theme .mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:15px}.ruc-custom-theme .mat-mdc-select-panel{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-subtitle1-font-size, 16px);line-height:var(--mdc-typography-subtitle1-line-height, 28px);font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:var(--mdc-typography-subtitle1-text-transform, none);line-height:24px}.ruc-custom-theme .mat-mdc-select{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body1-font-size, 15px);line-height:var(--mdc-typography-body1-line-height, 24px);font-weight:var(--mdc-typography-body1-font-weight, 400);letter-spacing:var(--mdc-typography-body1-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-transform:var(--mdc-typography-body1-text-transform, none)}.ruc-custom-theme .mat-mdc-autocomplete-panel{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-subtitle1-font-size, 16px);line-height:var(--mdc-typography-subtitle1-line-height, 28px);font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:var(--mdc-typography-subtitle1-text-transform, none);line-height:24px}.ruc-custom-theme .mat-mdc-dialog-container{--mdc-dialog-subhead-font: Roboto, sans-serif;--mdc-dialog-subhead-line-height: 32px;--mdc-dialog-subhead-size: 20px;--mdc-dialog-subhead-weight: 500;--mdc-dialog-subhead-tracking: normal;--mdc-dialog-supporting-text-font: Roboto, sans-serif;--mdc-dialog-supporting-text-line-height: 24px;--mdc-dialog-supporting-text-size: 15px;--mdc-dialog-supporting-text-weight: 400;--mdc-dialog-supporting-text-tracking: normal}.ruc-custom-theme .mat-mdc-chip{height:32px}.ruc-custom-theme .mat-mdc-standard-chip{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body2-font-size, 14px);line-height:var(--mdc-typography-body2-line-height, 20px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.ruc-custom-theme .mat-mdc-slide-toggle{--mdc-switch-state-layer-size: 48px}.ruc-custom-theme .mat-mdc-radio-button .mdc-radio{padding:10px}.ruc-custom-theme .mat-mdc-radio-button .mdc-radio .mdc-radio__background:before{top:-10px;left:-10px;width:40px;height:40px}.ruc-custom-theme .mat-mdc-radio-button .mdc-radio .mdc-radio__native-control{top:0;right:0;left:0;width:40px;height:40px}.ruc-custom-theme .mat-mdc-slider{--mdc-slider-label-label-text-font: Roboto, sans-serif;--mdc-slider-label-label-text-size: 20px;--mdc-slider-label-label-text-line-height: 24px;--mdc-slider-label-label-text-tracking: normal;--mdc-slider-label-label-text-weight: 500}.ruc-custom-theme .mat-mdc-menu-content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-subtitle1-font-size, 16px);line-height:var(--mdc-typography-subtitle1-line-height, 28px);font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:var(--mdc-typography-subtitle1-text-transform, none);line-height:24px}.ruc-custom-theme .mat-mdc-menu-content,.ruc-custom-theme .mat-mdc-menu-content .mat-mdc-menu-item .mdc-list-item__primary-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body1-font-size, 15px);line-height:var(--mdc-typography-body1-line-height, 24px);font-weight:var(--mdc-typography-body1-font-weight, 400);letter-spacing:var(--mdc-typography-body1-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-transform:var(--mdc-typography-body1-text-transform, none)}.ruc-custom-theme .mat-mdc-list-base{--mdc-list-list-item-one-line-container-height: 48px;--mdc-list-list-item-two-line-container-height: 64px;--mdc-list-list-item-three-line-container-height: 88px}.ruc-custom-theme .mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line,.ruc-custom-theme .mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line,.ruc-custom-theme .mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.ruc-custom-theme .mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines,.ruc-custom-theme .mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines,.ruc-custom-theme .mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.ruc-custom-theme .mat-mdc-list-base{--mdc-list-list-item-label-text-font: Roboto, sans-serif;--mdc-list-list-item-label-text-line-height: 24px;--mdc-list-list-item-label-text-size: 15px;--mdc-list-list-item-label-text-tracking: normal;--mdc-list-list-item-label-text-weight: 400;--mdc-list-list-item-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-supporting-text-line-height: 20px;--mdc-list-list-item-supporting-text-size: 14px;--mdc-list-list-item-supporting-text-tracking: normal;--mdc-list-list-item-supporting-text-weight: 400;--mdc-list-list-item-trailing-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-trailing-supporting-text-line-height: 20px;--mdc-list-list-item-trailing-supporting-text-size: 12px;--mdc-list-list-item-trailing-supporting-text-tracking: normal;--mdc-list-list-item-trailing-supporting-text-weight: 400}.ruc-custom-theme .mdc-list-group__subheader{font-size:16px;font-weight:400;line-height:28px;font-family:Roboto,sans-serif;letter-spacing:normal}.ruc-custom-theme .mat-mdc-paginator .mat-mdc-form-field-infix{min-height:40px}.ruc-custom-theme .mat-mdc-paginator .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:20px}.ruc-custom-theme .mat-mdc-paginator .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY( -26.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.ruc-custom-theme .mat-mdc-paginator .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.ruc-custom-theme .mat-mdc-paginator .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.ruc-custom-theme .mat-mdc-paginator .mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.ruc-custom-theme .mat-mdc-paginator .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-floating-label{display:none}.ruc-custom-theme .mat-mdc-paginator-container{min-height:56px}.ruc-custom-theme .mat-mdc-paginator{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-caption-font-size, 12px);line-height:var(--mdc-typography-caption-line-height, 20px);font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:var(--mdc-typography-caption-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:var(--mdc-typography-caption-text-transform, none)}.ruc-custom-theme .mat-mdc-paginator .mat-mdc-select-value{font-size:12px}.ruc-custom-theme .mat-mdc-tab-header .mdc-tab{height:48px}.ruc-custom-theme .mdc-tab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-button-font-size, 20px);line-height:var(--mdc-typography-button-line-height, 60px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.ruc-custom-theme .mat-mdc-checkbox .mdc-checkbox{padding:calc((var(--mdc-checkbox-ripple-size, 40px) - 18px) / 2);margin:calc((var(--mdc-checkbox-touch-target-size, 40px) - 40px) / 2)}.ruc-custom-theme .mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-ripple-size, 40px) - 18px) / 2);left:calc((var(--mdc-checkbox-ripple-size, 40px) - 18px) / 2)}.ruc-custom-theme .mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control{top:calc((40px - var(--mdc-checkbox-touch-target-size, 40px)) / 2);right:calc((40px - var(--mdc-checkbox-touch-target-size, 40px)) / 2);left:calc((40px - var(--mdc-checkbox-touch-target-size, 40px)) / 2);width:var(--mdc-checkbox-touch-target-size, 40px);height:var(--mdc-checkbox-touch-target-size, 40px)}@media all and (-ms-high-contrast: none){.ruc-custom-theme .mdc-checkbox .mdc-checkbox__focus-ring{display:none}}.ruc-custom-theme .mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body2-font-size, 14px);line-height:var(--mdc-typography-body2-line-height, 20px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.ruc-custom-theme .mat-mdc-button.mat-mdc-button-base,.ruc-custom-theme .mat-mdc-raised-button.mat-mdc-button-base,.ruc-custom-theme .mat-mdc-unelevated-button.mat-mdc-button-base,.ruc-custom-theme .mat-mdc-outlined-button.mat-mdc-button-base{height:36px}.ruc-custom-theme .mdc-button{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-button-font-size, 20px);line-height:var(--mdc-typography-button-line-height, 60px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.ruc-custom-theme .mat-mdc-icon-button.mat-mdc-button-base{width:48px;height:48px;padding:12px}.ruc-custom-theme .mat-mdc-icon-button.mat-mdc-button-base .mdc-icon-button__focus-ring{max-height:48px;max-width:48px}.ruc-custom-theme .mat-mdc-icon-button.mat-mdc-button-base.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin:4px}.ruc-custom-theme .mat-mdc-icon-button.mat-mdc-button-base.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.ruc-custom-theme .mat-mdc-icon-button.mat-mdc-button-base .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%,-50%)}.ruc-custom-theme .mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-button-font-size, 20px);line-height:var(--mdc-typography-button-line-height, 60px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.ruc-custom-theme .mat-mdc-snack-bar-container{--mdc-snackbar-supporting-text-font: Roboto, sans-serif;--mdc-snackbar-supporting-text-line-height: 20px;--mdc-snackbar-supporting-text-size: 14px;--mdc-snackbar-supporting-text-weight: 400}.ruc-custom-theme .mat-mdc-table .mdc-data-table__row{height:52px}.ruc-custom-theme .mat-mdc-table .mdc-data-table__pagination{min-height:52px}.ruc-custom-theme .mat-mdc-table .mdc-data-table__header-row{height:56px}.ruc-custom-theme .mdc-data-table__content,.ruc-custom-theme .mdc-data-table__cell{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body2-font-size, 14px);line-height:var(--mdc-typography-body2-line-height, 20px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.ruc-custom-theme .mdc-data-table__header-cell{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-subtitle2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-subtitle2-font-size, 20px);line-height:var(--mdc-typography-subtitle2-line-height, 24px);font-weight:var(--mdc-typography-subtitle2-font-weight, 500);letter-spacing:var(--mdc-typography-subtitle2-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-subtitle2-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle2-text-decoration, inherit);text-transform:var(--mdc-typography-subtitle2-text-transform, none)}.ruc-custom-theme .mat-badge{position:relative}.ruc-custom-theme .mat-badge.mat-badge{overflow:visible}.ruc-custom-theme .mat-badge-hidden .mat-badge-content{display:none}.ruc-custom-theme .mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.ruc-custom-theme .ng-animate-disabled .mat-badge-content,.ruc-custom-theme .mat-badge-content._mat-animation-noopable{transition:none}.ruc-custom-theme .mat-badge-content.mat-badge-active{transform:none}.ruc-custom-theme .mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.ruc-custom-theme .mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.ruc-custom-theme .mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.ruc-custom-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .ruc-custom-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.ruc-custom-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .ruc-custom-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.ruc-custom-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .ruc-custom-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.ruc-custom-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .ruc-custom-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.ruc-custom-theme .mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.ruc-custom-theme .mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.ruc-custom-theme .mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.ruc-custom-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .ruc-custom-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.ruc-custom-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .ruc-custom-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.ruc-custom-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .ruc-custom-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.ruc-custom-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .ruc-custom-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.ruc-custom-theme .mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.ruc-custom-theme .mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.ruc-custom-theme .mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.ruc-custom-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .ruc-custom-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.ruc-custom-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .ruc-custom-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.ruc-custom-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .ruc-custom-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.ruc-custom-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .ruc-custom-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.ruc-custom-theme .mat-badge-content{font-weight:600;font-size:12px;font-family:Roboto,sans-serif}.ruc-custom-theme .mat-badge-small .mat-badge-content{font-size:9px}.ruc-custom-theme .mat-badge-large .mat-badge-content{font-size:24px}.ruc-custom-theme .mat-bottom-sheet-container{font-size:14px;font-weight:400;line-height:20px;font-family:Roboto,sans-serif;letter-spacing:normal}.ruc-custom-theme .mat-button-toggle-appearance-standard .mat-button-toggle-label-content{line-height:48px}.ruc-custom-theme .mat-button-toggle{font-family:Roboto,sans-serif}.ruc-custom-theme .mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base{width:40px;height:40px;padding:8px}.ruc-custom-theme .mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.ruc-custom-theme .mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin:0}.ruc-custom-theme .mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.ruc-custom-theme .mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base .mdc-icon-button__touch{position:absolute;top:50%;height:40px;left:50%;width:40px;transform:translate(-50%,-50%)}.ruc-custom-theme .mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base .mat-mdc-button-touch-target{display:none}.ruc-custom-theme .mat-calendar{font-family:Roboto,sans-serif}.ruc-custom-theme .mat-calendar-body{font-size:13px}.ruc-custom-theme .mat-calendar-body-label,.ruc-custom-theme .mat-calendar-period-button{font-size:20px;font-weight:500}.ruc-custom-theme .mat-calendar-table-header th{font-size:11px;font-weight:400}.ruc-custom-theme .mat-expansion-panel-header{height:48px}.ruc-custom-theme .mat-expansion-panel-header.mat-expanded{height:64px}.ruc-custom-theme .mat-expansion-panel-header{font-family:Roboto,sans-serif;font-size:15px;font-weight:400}.ruc-custom-theme .mat-expansion-panel-content{font-size:14px;font-weight:400;line-height:20px;font-family:Roboto,sans-serif;letter-spacing:normal}.ruc-custom-theme .mat-grid-tile-header,.ruc-custom-theme .mat-grid-tile-footer{font-size:14px}.ruc-custom-theme .mat-grid-tile-header .mat-line,.ruc-custom-theme .mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.ruc-custom-theme .mat-grid-tile-header .mat-line:nth-child(n+2),.ruc-custom-theme .mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:12px}.ruc-custom-theme .mat-horizontal-stepper-header{height:72px}.ruc-custom-theme .mat-stepper-label-position-bottom .mat-horizontal-stepper-header,.ruc-custom-theme .mat-vertical-stepper-header{padding:24px}.ruc-custom-theme .mat-stepper-vertical-line:before{top:-16px;bottom:-16px}.ruc-custom-theme .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:after,.ruc-custom-theme .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:before{top:36px}.ruc-custom-theme .mat-stepper-label-position-bottom .mat-stepper-horizontal-line{top:36px}.ruc-custom-theme .mat-stepper-vertical,.ruc-custom-theme .mat-stepper-horizontal{font-family:Roboto,sans-serif}.ruc-custom-theme .mat-step-label{font-size:14px;font-weight:400}.ruc-custom-theme .mat-step-sub-label-error{font-weight:400}.ruc-custom-theme .mat-step-label-error{font-size:20px}.ruc-custom-theme .mat-step-label-selected{font-size:20px;font-weight:500}.ruc-custom-theme .mat-toolbar-multiple-rows{min-height:64px}.ruc-custom-theme .mat-toolbar-row,.ruc-custom-theme .mat-toolbar-single-row{height:64px}@media (max-width: 599px){.ruc-custom-theme .mat-toolbar-multiple-rows{min-height:56px}.ruc-custom-theme .mat-toolbar-row,.ruc-custom-theme .mat-toolbar-single-row{height:56px}}.ruc-custom-theme .mat-toolbar,.ruc-custom-theme .mat-toolbar h1,.ruc-custom-theme .mat-toolbar h2,.ruc-custom-theme .mat-toolbar h3,.ruc-custom-theme .mat-toolbar h4,.ruc-custom-theme .mat-toolbar h5,.ruc-custom-theme .mat-toolbar h6{font-size:20px;font-weight:500;line-height:32px;font-family:Roboto,sans-serif;letter-spacing:normal;margin:0}.ruc-custom-theme .mat-tree-node{min-height:48px}.ruc-custom-theme .mat-tree{font-family:Roboto,sans-serif}.ruc-custom-theme .mat-tree-node,.ruc-custom-theme .mat-nested-tree-node{font-weight:400;font-size:14px}.mat-table{width:100%}.header-container{display:flex;justify-content:end;gap:16px;margin-bottom:24px}.icon-container{border:1px solid gray;border-radius:16px;display:flex;justify-content:center;align-items:center;width:120px;height:56px}.icon-container :first-child{border-top-left-radius:16px;border-bottom-left-radius:16px}.icon-container :nth-child(2){border-top-right-radius:16px;border-bottom-right-radius:16px}.icon{display:flex;height:100%;align-items:center;width:100%;justify-content:center}.active-icon mat-icon{color:#fff}mat-icon{cursor:pointer}::ng-deep .mat-form-field-appearance-outline .mat-form-field-wrapper{margin:0!important}::ng-deep .mat-form-field-wrapper{padding-bottom:0}.grid-view-container{display:flex;gap:16px;flex-wrap:wrap}.grid-view-container .grid{cursor:pointer}.grid-view-container .grid :hover{background-color:#ffdfb4}.icons{width:fit-content;display:flex;gap:12px}.icons mat-icon{visibility:hidden}.mat-mdc-row:hover{background-color:#008fd51f;border:2px solid #008fd5!important;border-radius:4px}.mat-mdc-row:hover .icons mat-icon{visibility:visible}.mat-column-action{width:100px}.mat-cell{padding-right:20px}.overflow{overflow-x:auto}.grid{display:flex;flex-wrap:wrap;gap:15px}table{width:100%}.expanded-content{height:0!important}tr.example-element-row:not(.example-expanded-row):hover{background:whitesmoke}tr.example-element-row:not(.example-expanded-row):active{background:#efefef}.example-element-row td{border-bottom-width:0}.example-element-detail{overflow:hidden;display:flex}\n"], dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i5.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "component", type: i6.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i6.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i6.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i6.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { kind: "directive", type: i6.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i6.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i6.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i6.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i6.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i6.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: i7.MatPaginator, selector: "mat-paginator", inputs: ["disabled"], exportAs: ["matPaginator"] }, { kind: "directive", type: i8.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i10.MatSort, selector: "[matSort]", inputs: ["matSortDisabled", "matSortActive", "matSortStart", "matSortDirection", "matSortDisableClear"], outputs: ["matSortChange"], exportAs: ["matSort"] }, { kind: "component", type: i10.MatSortHeader, selector: "[mat-sort-header]", inputs: ["disabled", "mat-sort-header", "arrowPosition", "start", "sortActionDescription", "disableClear"], exportAs: ["matSortHeader"] }, { kind: "component", type: i3$2.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i12.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "directive", type: i13.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "component", type: GridCardsComponent, selector: "ruc-grid-cards", inputs: ["data", "gridItem", "config", "header"] }, { kind: "component", type: GridChartComponent, selector: "ruc-grid-chart", inputs: ["index", "chartConfig"] }], animations: [
340
340
  trigger('detailExpand', [
341
341
  state('collapsed', style({ height: '0px', minHeight: '0' })),
342
342
  state('expanded', style({ height: '*' })),
@@ -351,7 +351,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
351
351
  state('expanded', style({ height: '*' })),
352
352
  transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)')),
353
353
  ]),
354
- ], template: "<div class=\"grid-list-container\" class={{customTheme}}>\r\n <div class=\"header-container\">\r\n <mat-form-field *ngIf=\"gridConfig.showFilter\" appearance=\"outline\">\r\n <input matInput [(ngModel)]=\"search\" (keyup)=\"applyFilter($event)\" placeholder=\"Search\">\r\n </mat-form-field>\r\n\r\n <div *ngIf=\"gridConfig.showGridView\" class=\"icon-container\">\r\n <div (click)=\"listView=true\"\r\n [style.background-color]=\"listView ? gridCardConfig.style?.icon.color : 'white'\"\r\n [class.active-icon]=\"listView\" class=\"icon list\">\r\n <mat-icon>view_list</mat-icon>\r\n </div>\r\n <div (click)=\"listView=false;createGridViewData()\"\r\n [style.background-color]=\"!listView ? gridCardConfig.style?.icon.color : 'white'\"\r\n [class.active-icon]=\"!listView\" class=\"icon grid\">\r\n <mat-icon>grid_on</mat-icon>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div [hidden]=\"!listView\" class=\"mat-elevation-z8\" class=\"overflow\">\r\n <table mat-table [dataSource]=\"dataSource\" multiTemplateDataRows matSort (matSortChange)=\"onSortChange($event)\">\r\n <ng-container matColumnDef=\"select\" *ngIf=\"gridConfig.isSelectable\">\r\n <th mat-header-cell *matHeaderCellDef>\r\n <mat-checkbox color=\"primary\" (change)=\"$event ? toggleAllRows() : null\"\r\n [checked]=\"selection.hasValue() && isAllSelected()\"\r\n [indeterminate]=\"selection.hasValue() && !isAllSelected()\" [aria-label]=\"checkboxLabel()\">\r\n </mat-checkbox>\r\n </th>\r\n <td mat-cell *matCellDef=\"let row\">\r\n <mat-checkbox color=\"primary\" (click)=\"$event.stopPropagation()\"\r\n (change)=\"$event ? selection.toggle(row) : null\" [checked]=\"selection.isSelected(row)\"\r\n [aria-label]=\"checkboxLabel(row)\">\r\n </mat-checkbox>\r\n </td>\r\n </ng-container>\r\n <ng-container *ngFor=\"let column of columnConfig\">\r\n <ng-container [matColumnDef]=\"column.name\" [sticky]=\"\">\r\n\r\n <!--table headers start-->\r\n <th [ngStyle]=\"column?.headerStyle\" mat-header-cell *matHeaderCellDef mat-sort-header>\r\n {{column.header}} </th>\r\n <!--table headers end-->\r\n\r\n\r\n <!--table rows start-->\r\n <ng-container *ngIf=\"!column.isCustom; else customColumn\">\r\n <ng-container *ngIf=\"!column.actionColumn; else actionColumn\">\r\n <td #tooltip=\"matTooltip\" matTooltip=\"{{row[column.name]!}}\" mat-cell *matCellDef=\"let row\">\r\n {{row[column.name]!}} </td>\r\n </ng-container>\r\n\r\n <!--table action rows start-->\r\n <ng-template #actionColumn>\r\n <td mat-cell *matCellDef=\"let row\">\r\n <div class=\"icons\">\r\n <mat-icon [style]=\"gridCardConfig.style?.icon\" *ngFor=\"let action of column.action\"\r\n (click)=\"action?.handler($event, row)\">{{action.icon}}</mat-icon>\r\n </div>\r\n </td>\r\n </ng-template>\r\n <!--table action rows end-->\r\n\r\n </ng-container>\r\n <!--table rows end-->\r\n\r\n\r\n <!--table custom column start-->\r\n <ng-template #customColumn>\r\n <td mat-cell *matCellDef=\"let element\">\r\n <ng-container [ngTemplateOutlet]=\"customColumnMap[column.name]\"\r\n [ngTemplateOutletContext]=\"{element: element}\"></ng-container>\r\n </td>\r\n </ng-template>\r\n <!--table custom column end-->\r\n\r\n </ng-container>\r\n </ng-container>\r\n\r\n\r\n <ng-container matColumnDef=\"expand\">\r\n <th mat-header-cell *matHeaderCellDef aria-label=\"row actions\">&nbsp;</th>\r\n <td mat-cell *matCellDef=\"let element; let i = index\">\r\n <button mat-icon-button aria-label=\"expand row\"\r\n (click)=\"(expandedElement = expandedElement === element ? null : element); $event.stopPropagation();handleClick(i,expandedElement, element)\">\r\n <mat-icon *ngIf=\"expandedElement !== element\">keyboard_arrow_down</mat-icon>\r\n <mat-icon *ngIf=\"expandedElement === element\">keyboard_arrow_up</mat-icon>\r\n </button>\r\n </td>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"expandedDetail\">\r\n <td mat-cell *matCellDef=\"let element; let i = index\"\r\n [attr.colspan]=\"columnsToDisplayWithExpand.length\">\r\n <div class=\"example-element-detail\"\r\n [@detailExpand]=\"element == expandedElement ? 'expanded' : 'collapsed'\">\r\n Expanded\r\n <ng-container *ngIf=\"element === expandedElement && (chartConfig && chartConfig.length); else noChartData\">\r\n <div *ngFor=\"let config of chartConfig; let i=index\">\r\n <ruc-grid-chart [index]=\"i\" [chartConfig]=\"config\"></ruc-grid-chart>\r\n </div>\r\n </ng-container>\r\n <ng-template #noChartData>\r\n No Chart Data exist for this element\r\n </ng-template>\r\n </div>\r\n </td>\r\n </ng-container>\r\n\r\n <tr mat-header-row *matHeaderRowDef=\"columnsToDisplayWithExpand\"></tr>\r\n <tr mat-row *matRowDef=\"let element; columns: columnsToDisplayWithExpand;\" class=\"example-element-row\"\r\n [class.example-expanded-row]=\"expandedElement === element\">\r\n </tr>\r\n <tr mat-row *matRowDef=\"let row; columns: ['expandedDetail']\" class=\"expanded-content\"></tr>\r\n\r\n </table>\r\n </div>\r\n\r\n <div [hidden]=\"listView\">\r\n <div #ref><ng-content select=\"[customCard]\"></ng-content></div>\r\n <div *ngIf=\"!ref.children.length\" class=\"grid\">\r\n <ruc-grid-cards *ngFor=\"let data of gridViewData\" class=\"grid-view-container\" [gridItem]=\"data\"\r\n [config]=\"gridCardConfig\" [header]=\"columnConfig\" [data]=\"gridViewData\">\r\n </ruc-grid-cards>\r\n </div>\r\n \r\n </div>\r\n\r\n <mat-paginator (page)=\"pageChangeHandler($event)\" *ngIf=\"gridConfig.pagination\" [pageSizeOptions]=\"[5, 10, 25, 100]\"\r\n aria-label=\"Select page of users\"></mat-paginator>\r\n</div>", styles: [".mat-table{width:100%}.header-container{display:flex;justify-content:end;gap:16px;margin-bottom:24px}.icon-container{border:1px solid gray;border-radius:16px;display:flex;justify-content:center;align-items:center;width:120px;height:56px}.icon-container :first-child{border-top-left-radius:16px;border-bottom-left-radius:16px}.icon-container :nth-child(2){border-top-right-radius:16px;border-bottom-right-radius:16px}.icon{display:flex;height:100%;align-items:center;width:100%;justify-content:center}.active-icon mat-icon{color:#fff}mat-icon{cursor:pointer}::ng-deep .mat-form-field-appearance-outline .mat-form-field-wrapper{margin:0!important}::ng-deep .mat-form-field-wrapper{padding-bottom:0}.grid-view-container{display:flex;gap:16px;flex-wrap:wrap}.grid-view-container .grid{cursor:pointer}.grid-view-container .grid :hover{background-color:#ffdfb4}.icons{width:fit-content;display:flex;gap:12px}.icons mat-icon{visibility:hidden}.mat-mdc-row:hover{background-color:#008fd51f;border:2px solid #008fd5!important;border-radius:4px}.mat-mdc-row:hover .icons mat-icon{visibility:visible}.mat-column-action{width:100px}.mat-cell{padding-right:20px}.overflow{overflow-x:auto}.grid{display:flex;flex-wrap:wrap;gap:15px}table{width:100%}.expanded-content{height:0!important}tr.example-element-row:not(.example-expanded-row):hover{background:whitesmoke}tr.example-element-row:not(.example-expanded-row):active{background:#efefef}.example-element-row td{border-bottom-width:0}.example-element-detail{overflow:hidden;display:flex}\n"] }]
354
+ ], template: "<div class=\"main\">\r\n<div class=\"grid-list-container\" class={{customTheme}}>\r\n <div class=\"header-container\">\r\n <mat-form-field *ngIf=\"gridConfig.showFilter\" appearance=\"outline\">\r\n <input matInput [(ngModel)]=\"search\" (keyup)=\"applyFilter($event)\" placeholder=\"Search\">\r\n </mat-form-field>\r\n\r\n <div *ngIf=\"gridConfig.showGridView\" class=\"icon-container\">\r\n <div (click)=\"listView=true\"\r\n [style.background-color]=\"listView ? gridCardConfig.style?.icon.color : 'white'\"\r\n [class.active-icon]=\"listView\" class=\"icon list\">\r\n <mat-icon>view_list</mat-icon>\r\n </div>\r\n <div (click)=\"listView=false;createGridViewData()\"\r\n [style.background-color]=\"!listView ? gridCardConfig.style?.icon.color : 'white'\"\r\n [class.active-icon]=\"!listView\" class=\"icon grid\">\r\n <mat-icon>grid_on</mat-icon>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div [hidden]=\"!listView\" class=\"mat-elevation-z8\" class=\"overflow\">\r\n <table mat-table [dataSource]=\"dataSource\" multiTemplateDataRows matSort (matSortChange)=\"onSortChange($event)\">\r\n <ng-container matColumnDef=\"select\" *ngIf=\"gridConfig.isSelectable\">\r\n <th mat-header-cell *matHeaderCellDef>\r\n <mat-checkbox color=\"primary\" (change)=\"$event ? toggleAllRows() : null\"\r\n [checked]=\"selection.hasValue() && isAllSelected()\"\r\n [indeterminate]=\"selection.hasValue() && !isAllSelected()\" [aria-label]=\"checkboxLabel()\">\r\n </mat-checkbox>\r\n </th>\r\n <td mat-cell *matCellDef=\"let row\">\r\n <mat-checkbox color=\"primary\" (click)=\"$event.stopPropagation()\"\r\n (change)=\"$event ? selection.toggle(row) : null\" [checked]=\"selection.isSelected(row)\"\r\n [aria-label]=\"checkboxLabel(row)\">\r\n </mat-checkbox>\r\n </td>\r\n </ng-container>\r\n <ng-container *ngFor=\"let column of columnConfig\">\r\n <ng-container [matColumnDef]=\"column.name\" [sticky]=\"\">\r\n\r\n <!--table headers start-->\r\n <th [ngStyle]=\"column?.headerStyle\" mat-header-cell *matHeaderCellDef mat-sort-header>\r\n {{column.header}} </th>\r\n <!--table headers end-->\r\n\r\n\r\n <!--table rows start-->\r\n <ng-container *ngIf=\"!column.isCustom; else customColumn\">\r\n <ng-container *ngIf=\"!column.actionColumn; else actionColumn\">\r\n <td #tooltip=\"matTooltip\" matTooltip=\"{{row[column.name]!}}\" mat-cell *matCellDef=\"let row\">\r\n {{row[column.name]!}} </td>\r\n </ng-container>\r\n\r\n <!--table action rows start-->\r\n <ng-template #actionColumn>\r\n <td mat-cell *matCellDef=\"let row\">\r\n <div class=\"icons\">\r\n <mat-icon [style]=\"gridCardConfig.style?.icon\" *ngFor=\"let action of column.action\"\r\n (click)=\"action?.handler($event, row)\">{{action.icon}}</mat-icon>\r\n </div>\r\n </td>\r\n </ng-template>\r\n <!--table action rows end-->\r\n\r\n </ng-container>\r\n <!--table rows end-->\r\n\r\n\r\n <!--table custom column start-->\r\n <ng-template #customColumn>\r\n <td mat-cell *matCellDef=\"let element\">\r\n <ng-container [ngTemplateOutlet]=\"customColumnMap[column.name]\"\r\n [ngTemplateOutletContext]=\"{element: element}\"></ng-container>\r\n </td>\r\n </ng-template>\r\n <!--table custom column end-->\r\n\r\n </ng-container>\r\n </ng-container>\r\n\r\n\r\n <ng-container matColumnDef=\"expand\">\r\n <th mat-header-cell *matHeaderCellDef aria-label=\"row actions\">&nbsp;</th>\r\n <td mat-cell *matCellDef=\"let element; let i = index\">\r\n <button mat-icon-button aria-label=\"expand row\"\r\n (click)=\"(expandedElement = expandedElement === element ? null : element); $event.stopPropagation();handleClick(i,expandedElement, element)\">\r\n <mat-icon *ngIf=\"expandedElement !== element\">keyboard_arrow_down</mat-icon>\r\n <mat-icon *ngIf=\"expandedElement === element\">keyboard_arrow_up</mat-icon>\r\n </button>\r\n </td>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"expandedDetail\">\r\n <td mat-cell *matCellDef=\"let element; let i = index\"\r\n [attr.colspan]=\"columnsToDisplayWithExpand.length\">\r\n <div class=\"example-element-detail\"\r\n [@detailExpand]=\"element == expandedElement ? 'expanded' : 'collapsed'\">\r\n Expanded\r\n <ng-container *ngIf=\"element === expandedElement && (chartConfig && chartConfig.length); else noChartData\">\r\n <div *ngFor=\"let config of chartConfig; let i=index\">\r\n <ruc-grid-chart [index]=\"i\" [chartConfig]=\"config\"></ruc-grid-chart>\r\n </div>\r\n </ng-container>\r\n <ng-template #noChartData>\r\n No Chart Data exist for this element\r\n </ng-template>\r\n </div>\r\n </td>\r\n </ng-container>\r\n\r\n <tr mat-header-row *matHeaderRowDef=\"columnsToDisplayWithExpand\"></tr>\r\n <tr mat-row *matRowDef=\"let element; columns: columnsToDisplayWithExpand;\" class=\"example-element-row\"\r\n [class.example-expanded-row]=\"expandedElement === element\">\r\n </tr>\r\n <tr mat-row *matRowDef=\"let row; columns: ['expandedDetail']\" class=\"expanded-content\"></tr>\r\n\r\n </table>\r\n </div>\r\n\r\n <div [hidden]=\"listView\">\r\n <div #ref><ng-content select=\"[customCard]\"></ng-content></div>\r\n <div *ngIf=\"!ref.children.length\" class=\"grid\">\r\n <ruc-grid-cards *ngFor=\"let data of gridViewData\" class=\"grid-view-container\" [gridItem]=\"data\"\r\n [config]=\"gridCardConfig\" [header]=\"columnConfig\" [data]=\"gridViewData\">\r\n </ruc-grid-cards>\r\n </div>\r\n \r\n </div>\r\n\r\n <mat-paginator (page)=\"pageChangeHandler($event)\" *ngIf=\"gridConfig.pagination\" [pageSizeOptions]=\"[5, 10, 25, 100]\"\r\n aria-label=\"Select page of users\"></mat-paginator>\r\n</div>\r\n</div>\r\n", styles: [".mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0)}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator{position:relative}.mat-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus:before{content:\"\"}.cdk-high-contrast-active{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator{position:relative}.mat-mdc-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator:focus:before{content:\"\"}.cdk-high-contrast-active{--mat-mdc-focus-indicator-display: block}.main{font-size:16px;font-weight:400;line-height:24px;font-family:Roboto,sans-serif;letter-spacing:.03125em}.ruc-custom-theme{font-size:14px;font-weight:400;line-height:20px;font-family:Roboto,sans-serif;letter-spacing:normal}.ruc-custom-theme .mat-mdc-option{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body1-font-size, 15px);line-height:var(--mdc-typography-body1-line-height, 24px);font-weight:var(--mdc-typography-body1-font-weight, 400);letter-spacing:var(--mdc-typography-body1-letter-spacing, normal)}.ruc-custom-theme .mat-mdc-card-title{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-headline6-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-headline6-font-size, 20px);line-height:var(--mdc-typography-headline6-line-height, 32px);font-weight:var(--mdc-typography-headline6-font-weight, 500);letter-spacing:var(--mdc-typography-headline6-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-headline6-text-decoration, inherit);text-decoration:var(--mdc-typography-headline6-text-decoration, inherit);text-transform:var(--mdc-typography-headline6-text-transform, none)}.ruc-custom-theme .mat-mdc-card-subtitle{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-subtitle2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-subtitle2-font-size, 20px);line-height:var(--mdc-typography-subtitle2-line-height, 24px);font-weight:var(--mdc-typography-subtitle2-font-weight, 500);letter-spacing:var(--mdc-typography-subtitle2-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-subtitle2-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle2-text-decoration, inherit);text-transform:var(--mdc-typography-subtitle2-text-transform, none)}.ruc-custom-theme .mat-mdc-tooltip{--mdc-plain-tooltip-supporting-text-font: Roboto, sans-serif;--mdc-plain-tooltip-supporting-text-size: 12px;--mdc-plain-tooltip-supporting-text-weight: 400;--mdc-plain-tooltip-supporting-text-tracking: normal}.ruc-custom-theme .mat-mdc-form-field-infix{min-height:56px}.ruc-custom-theme .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:28px}.ruc-custom-theme .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY( -34.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.ruc-custom-theme .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:16px;padding-bottom:16px}.ruc-custom-theme .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix{padding-top:24px;padding-bottom:8px}.ruc-custom-theme .mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix{padding-top:16px;padding-bottom:16px}.ruc-custom-theme .mdc-text-field__input,.ruc-custom-theme .mdc-text-field__affix{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-subtitle1-font-size, 16px);font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:var(--mdc-typography-subtitle1-text-transform, none)}.ruc-custom-theme .mdc-text-field--textarea .mdc-text-field__input{line-height:1.5rem}.ruc-custom-theme .mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-subtitle1-font-size, 16px);font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:var(--mdc-typography-subtitle1-text-transform, none)}.ruc-custom-theme .mat-mdc-form-field-subscript-wrapper,.ruc-custom-theme .mat-mdc-form-field-bottom-align:before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-caption-font-size, 12px);line-height:var(--mdc-typography-caption-line-height, 20px);font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:var(--mdc-typography-caption-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:var(--mdc-typography-caption-text-transform, none)}.ruc-custom-theme .mat-mdc-form-field,.ruc-custom-theme .mat-mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body1-font-size, 15px);line-height:var(--mdc-typography-body1-line-height, 24px);font-weight:var(--mdc-typography-body1-font-weight, 400);letter-spacing:var(--mdc-typography-body1-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-transform:var(--mdc-typography-body1-text-transform, none)}.ruc-custom-theme .mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(15px * var(--mat-mdc-form-field-floating-label-scale, .75))}.ruc-custom-theme .mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:15px}.ruc-custom-theme .mat-mdc-select-panel{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-subtitle1-font-size, 16px);line-height:var(--mdc-typography-subtitle1-line-height, 28px);font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:var(--mdc-typography-subtitle1-text-transform, none);line-height:24px}.ruc-custom-theme .mat-mdc-select{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body1-font-size, 15px);line-height:var(--mdc-typography-body1-line-height, 24px);font-weight:var(--mdc-typography-body1-font-weight, 400);letter-spacing:var(--mdc-typography-body1-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-transform:var(--mdc-typography-body1-text-transform, none)}.ruc-custom-theme .mat-mdc-autocomplete-panel{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-subtitle1-font-size, 16px);line-height:var(--mdc-typography-subtitle1-line-height, 28px);font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:var(--mdc-typography-subtitle1-text-transform, none);line-height:24px}.ruc-custom-theme .mat-mdc-dialog-container{--mdc-dialog-subhead-font: Roboto, sans-serif;--mdc-dialog-subhead-line-height: 32px;--mdc-dialog-subhead-size: 20px;--mdc-dialog-subhead-weight: 500;--mdc-dialog-subhead-tracking: normal;--mdc-dialog-supporting-text-font: Roboto, sans-serif;--mdc-dialog-supporting-text-line-height: 24px;--mdc-dialog-supporting-text-size: 15px;--mdc-dialog-supporting-text-weight: 400;--mdc-dialog-supporting-text-tracking: normal}.ruc-custom-theme .mat-mdc-chip{height:32px}.ruc-custom-theme .mat-mdc-standard-chip{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body2-font-size, 14px);line-height:var(--mdc-typography-body2-line-height, 20px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.ruc-custom-theme .mat-mdc-slide-toggle{--mdc-switch-state-layer-size: 48px}.ruc-custom-theme .mat-mdc-radio-button .mdc-radio{padding:10px}.ruc-custom-theme .mat-mdc-radio-button .mdc-radio .mdc-radio__background:before{top:-10px;left:-10px;width:40px;height:40px}.ruc-custom-theme .mat-mdc-radio-button .mdc-radio .mdc-radio__native-control{top:0;right:0;left:0;width:40px;height:40px}.ruc-custom-theme .mat-mdc-slider{--mdc-slider-label-label-text-font: Roboto, sans-serif;--mdc-slider-label-label-text-size: 20px;--mdc-slider-label-label-text-line-height: 24px;--mdc-slider-label-label-text-tracking: normal;--mdc-slider-label-label-text-weight: 500}.ruc-custom-theme .mat-mdc-menu-content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-subtitle1-font-size, 16px);line-height:var(--mdc-typography-subtitle1-line-height, 28px);font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:var(--mdc-typography-subtitle1-text-transform, none);line-height:24px}.ruc-custom-theme .mat-mdc-menu-content,.ruc-custom-theme .mat-mdc-menu-content .mat-mdc-menu-item .mdc-list-item__primary-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body1-font-size, 15px);line-height:var(--mdc-typography-body1-line-height, 24px);font-weight:var(--mdc-typography-body1-font-weight, 400);letter-spacing:var(--mdc-typography-body1-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-decoration:var(--mdc-typography-body1-text-decoration, inherit);text-transform:var(--mdc-typography-body1-text-transform, none)}.ruc-custom-theme .mat-mdc-list-base{--mdc-list-list-item-one-line-container-height: 48px;--mdc-list-list-item-two-line-container-height: 64px;--mdc-list-list-item-three-line-container-height: 88px}.ruc-custom-theme .mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line,.ruc-custom-theme .mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line,.ruc-custom-theme .mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.ruc-custom-theme .mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines,.ruc-custom-theme .mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines,.ruc-custom-theme .mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.ruc-custom-theme .mat-mdc-list-base{--mdc-list-list-item-label-text-font: Roboto, sans-serif;--mdc-list-list-item-label-text-line-height: 24px;--mdc-list-list-item-label-text-size: 15px;--mdc-list-list-item-label-text-tracking: normal;--mdc-list-list-item-label-text-weight: 400;--mdc-list-list-item-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-supporting-text-line-height: 20px;--mdc-list-list-item-supporting-text-size: 14px;--mdc-list-list-item-supporting-text-tracking: normal;--mdc-list-list-item-supporting-text-weight: 400;--mdc-list-list-item-trailing-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-trailing-supporting-text-line-height: 20px;--mdc-list-list-item-trailing-supporting-text-size: 12px;--mdc-list-list-item-trailing-supporting-text-tracking: normal;--mdc-list-list-item-trailing-supporting-text-weight: 400}.ruc-custom-theme .mdc-list-group__subheader{font-size:16px;font-weight:400;line-height:28px;font-family:Roboto,sans-serif;letter-spacing:normal}.ruc-custom-theme .mat-mdc-paginator .mat-mdc-form-field-infix{min-height:40px}.ruc-custom-theme .mat-mdc-paginator .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:20px}.ruc-custom-theme .mat-mdc-paginator .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY( -26.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.ruc-custom-theme .mat-mdc-paginator .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.ruc-custom-theme .mat-mdc-paginator .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.ruc-custom-theme .mat-mdc-paginator .mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.ruc-custom-theme .mat-mdc-paginator .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-floating-label{display:none}.ruc-custom-theme .mat-mdc-paginator-container{min-height:56px}.ruc-custom-theme .mat-mdc-paginator{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-caption-font-size, 12px);line-height:var(--mdc-typography-caption-line-height, 20px);font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:var(--mdc-typography-caption-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:var(--mdc-typography-caption-text-transform, none)}.ruc-custom-theme .mat-mdc-paginator .mat-mdc-select-value{font-size:12px}.ruc-custom-theme .mat-mdc-tab-header .mdc-tab{height:48px}.ruc-custom-theme .mdc-tab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-button-font-size, 20px);line-height:var(--mdc-typography-button-line-height, 60px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.ruc-custom-theme .mat-mdc-checkbox .mdc-checkbox{padding:calc((var(--mdc-checkbox-ripple-size, 40px) - 18px) / 2);margin:calc((var(--mdc-checkbox-touch-target-size, 40px) - 40px) / 2)}.ruc-custom-theme .mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-ripple-size, 40px) - 18px) / 2);left:calc((var(--mdc-checkbox-ripple-size, 40px) - 18px) / 2)}.ruc-custom-theme .mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control{top:calc((40px - var(--mdc-checkbox-touch-target-size, 40px)) / 2);right:calc((40px - var(--mdc-checkbox-touch-target-size, 40px)) / 2);left:calc((40px - var(--mdc-checkbox-touch-target-size, 40px)) / 2);width:var(--mdc-checkbox-touch-target-size, 40px);height:var(--mdc-checkbox-touch-target-size, 40px)}@media all and (-ms-high-contrast: none){.ruc-custom-theme .mdc-checkbox .mdc-checkbox__focus-ring{display:none}}.ruc-custom-theme .mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body2-font-size, 14px);line-height:var(--mdc-typography-body2-line-height, 20px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.ruc-custom-theme .mat-mdc-button.mat-mdc-button-base,.ruc-custom-theme .mat-mdc-raised-button.mat-mdc-button-base,.ruc-custom-theme .mat-mdc-unelevated-button.mat-mdc-button-base,.ruc-custom-theme .mat-mdc-outlined-button.mat-mdc-button-base{height:36px}.ruc-custom-theme .mdc-button{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-button-font-size, 20px);line-height:var(--mdc-typography-button-line-height, 60px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.ruc-custom-theme .mat-mdc-icon-button.mat-mdc-button-base{width:48px;height:48px;padding:12px}.ruc-custom-theme .mat-mdc-icon-button.mat-mdc-button-base .mdc-icon-button__focus-ring{max-height:48px;max-width:48px}.ruc-custom-theme .mat-mdc-icon-button.mat-mdc-button-base.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin:4px}.ruc-custom-theme .mat-mdc-icon-button.mat-mdc-button-base.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.ruc-custom-theme .mat-mdc-icon-button.mat-mdc-button-base .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%,-50%)}.ruc-custom-theme .mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-button-font-size, 20px);line-height:var(--mdc-typography-button-line-height, 60px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.ruc-custom-theme .mat-mdc-snack-bar-container{--mdc-snackbar-supporting-text-font: Roboto, sans-serif;--mdc-snackbar-supporting-text-line-height: 20px;--mdc-snackbar-supporting-text-size: 14px;--mdc-snackbar-supporting-text-weight: 400}.ruc-custom-theme .mat-mdc-table .mdc-data-table__row{height:52px}.ruc-custom-theme .mat-mdc-table .mdc-data-table__pagination{min-height:52px}.ruc-custom-theme .mat-mdc-table .mdc-data-table__header-row{height:56px}.ruc-custom-theme .mdc-data-table__content,.ruc-custom-theme .mdc-data-table__cell{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body2-font-size, 14px);line-height:var(--mdc-typography-body2-line-height, 20px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.ruc-custom-theme .mdc-data-table__header-cell{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-subtitle2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-subtitle2-font-size, 20px);line-height:var(--mdc-typography-subtitle2-line-height, 24px);font-weight:var(--mdc-typography-subtitle2-font-weight, 500);letter-spacing:var(--mdc-typography-subtitle2-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-subtitle2-text-decoration, inherit);text-decoration:var(--mdc-typography-subtitle2-text-decoration, inherit);text-transform:var(--mdc-typography-subtitle2-text-transform, none)}.ruc-custom-theme .mat-badge{position:relative}.ruc-custom-theme .mat-badge.mat-badge{overflow:visible}.ruc-custom-theme .mat-badge-hidden .mat-badge-content{display:none}.ruc-custom-theme .mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.ruc-custom-theme .ng-animate-disabled .mat-badge-content,.ruc-custom-theme .mat-badge-content._mat-animation-noopable{transition:none}.ruc-custom-theme .mat-badge-content.mat-badge-active{transform:none}.ruc-custom-theme .mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.ruc-custom-theme .mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.ruc-custom-theme .mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.ruc-custom-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .ruc-custom-theme .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.ruc-custom-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .ruc-custom-theme .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.ruc-custom-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .ruc-custom-theme .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.ruc-custom-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .ruc-custom-theme .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.ruc-custom-theme .mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.ruc-custom-theme .mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.ruc-custom-theme .mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.ruc-custom-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .ruc-custom-theme .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.ruc-custom-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .ruc-custom-theme .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.ruc-custom-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .ruc-custom-theme .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.ruc-custom-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .ruc-custom-theme .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.ruc-custom-theme .mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.ruc-custom-theme .mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.ruc-custom-theme .mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.ruc-custom-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .ruc-custom-theme .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.ruc-custom-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .ruc-custom-theme .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.ruc-custom-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .ruc-custom-theme .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.ruc-custom-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .ruc-custom-theme .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.ruc-custom-theme .mat-badge-content{font-weight:600;font-size:12px;font-family:Roboto,sans-serif}.ruc-custom-theme .mat-badge-small .mat-badge-content{font-size:9px}.ruc-custom-theme .mat-badge-large .mat-badge-content{font-size:24px}.ruc-custom-theme .mat-bottom-sheet-container{font-size:14px;font-weight:400;line-height:20px;font-family:Roboto,sans-serif;letter-spacing:normal}.ruc-custom-theme .mat-button-toggle-appearance-standard .mat-button-toggle-label-content{line-height:48px}.ruc-custom-theme .mat-button-toggle{font-family:Roboto,sans-serif}.ruc-custom-theme .mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base{width:40px;height:40px;padding:8px}.ruc-custom-theme .mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.ruc-custom-theme .mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin:0}.ruc-custom-theme .mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.ruc-custom-theme .mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base .mdc-icon-button__touch{position:absolute;top:50%;height:40px;left:50%;width:40px;transform:translate(-50%,-50%)}.ruc-custom-theme .mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base .mat-mdc-button-touch-target{display:none}.ruc-custom-theme .mat-calendar{font-family:Roboto,sans-serif}.ruc-custom-theme .mat-calendar-body{font-size:13px}.ruc-custom-theme .mat-calendar-body-label,.ruc-custom-theme .mat-calendar-period-button{font-size:20px;font-weight:500}.ruc-custom-theme .mat-calendar-table-header th{font-size:11px;font-weight:400}.ruc-custom-theme .mat-expansion-panel-header{height:48px}.ruc-custom-theme .mat-expansion-panel-header.mat-expanded{height:64px}.ruc-custom-theme .mat-expansion-panel-header{font-family:Roboto,sans-serif;font-size:15px;font-weight:400}.ruc-custom-theme .mat-expansion-panel-content{font-size:14px;font-weight:400;line-height:20px;font-family:Roboto,sans-serif;letter-spacing:normal}.ruc-custom-theme .mat-grid-tile-header,.ruc-custom-theme .mat-grid-tile-footer{font-size:14px}.ruc-custom-theme .mat-grid-tile-header .mat-line,.ruc-custom-theme .mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.ruc-custom-theme .mat-grid-tile-header .mat-line:nth-child(n+2),.ruc-custom-theme .mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:12px}.ruc-custom-theme .mat-horizontal-stepper-header{height:72px}.ruc-custom-theme .mat-stepper-label-position-bottom .mat-horizontal-stepper-header,.ruc-custom-theme .mat-vertical-stepper-header{padding:24px}.ruc-custom-theme .mat-stepper-vertical-line:before{top:-16px;bottom:-16px}.ruc-custom-theme .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:after,.ruc-custom-theme .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:before{top:36px}.ruc-custom-theme .mat-stepper-label-position-bottom .mat-stepper-horizontal-line{top:36px}.ruc-custom-theme .mat-stepper-vertical,.ruc-custom-theme .mat-stepper-horizontal{font-family:Roboto,sans-serif}.ruc-custom-theme .mat-step-label{font-size:14px;font-weight:400}.ruc-custom-theme .mat-step-sub-label-error{font-weight:400}.ruc-custom-theme .mat-step-label-error{font-size:20px}.ruc-custom-theme .mat-step-label-selected{font-size:20px;font-weight:500}.ruc-custom-theme .mat-toolbar-multiple-rows{min-height:64px}.ruc-custom-theme .mat-toolbar-row,.ruc-custom-theme .mat-toolbar-single-row{height:64px}@media (max-width: 599px){.ruc-custom-theme .mat-toolbar-multiple-rows{min-height:56px}.ruc-custom-theme .mat-toolbar-row,.ruc-custom-theme .mat-toolbar-single-row{height:56px}}.ruc-custom-theme .mat-toolbar,.ruc-custom-theme .mat-toolbar h1,.ruc-custom-theme .mat-toolbar h2,.ruc-custom-theme .mat-toolbar h3,.ruc-custom-theme .mat-toolbar h4,.ruc-custom-theme .mat-toolbar h5,.ruc-custom-theme .mat-toolbar h6{font-size:20px;font-weight:500;line-height:32px;font-family:Roboto,sans-serif;letter-spacing:normal;margin:0}.ruc-custom-theme .mat-tree-node{min-height:48px}.ruc-custom-theme .mat-tree{font-family:Roboto,sans-serif}.ruc-custom-theme .mat-tree-node,.ruc-custom-theme .mat-nested-tree-node{font-weight:400;font-size:14px}.mat-table{width:100%}.header-container{display:flex;justify-content:end;gap:16px;margin-bottom:24px}.icon-container{border:1px solid gray;border-radius:16px;display:flex;justify-content:center;align-items:center;width:120px;height:56px}.icon-container :first-child{border-top-left-radius:16px;border-bottom-left-radius:16px}.icon-container :nth-child(2){border-top-right-radius:16px;border-bottom-right-radius:16px}.icon{display:flex;height:100%;align-items:center;width:100%;justify-content:center}.active-icon mat-icon{color:#fff}mat-icon{cursor:pointer}::ng-deep .mat-form-field-appearance-outline .mat-form-field-wrapper{margin:0!important}::ng-deep .mat-form-field-wrapper{padding-bottom:0}.grid-view-container{display:flex;gap:16px;flex-wrap:wrap}.grid-view-container .grid{cursor:pointer}.grid-view-container .grid :hover{background-color:#ffdfb4}.icons{width:fit-content;display:flex;gap:12px}.icons mat-icon{visibility:hidden}.mat-mdc-row:hover{background-color:#008fd51f;border:2px solid #008fd5!important;border-radius:4px}.mat-mdc-row:hover .icons mat-icon{visibility:visible}.mat-column-action{width:100px}.mat-cell{padding-right:20px}.overflow{overflow-x:auto}.grid{display:flex;flex-wrap:wrap;gap:15px}table{width:100%}.expanded-content{height:0!important}tr.example-element-row:not(.example-expanded-row):hover{background:whitesmoke}tr.example-element-row:not(.example-expanded-row):active{background:#efefef}.example-element-row td{border-bottom-width:0}.example-element-detail{overflow:hidden;display:flex}\n"] }]
355
355
  }], ctorParameters: function () { return [{ type: i1.MatDialog }, { type: GridListService }]; }, propDecorators: { paginator: [{
356
356
  type: ViewChild,
357
357
  args: [MatPaginator]
@@ -1 +1 @@
1
- {"version":3,"file":"ruc-lib-grid-list.mjs","sources":["../../src/models/grid-default.config.ts","../../src/lib/grid-cards/grid-cards.component.ts","../../src/lib/grid-cards/grid-cards.component.html","../../src/lib/grid-column/grid-column.component.ts","../../src/lib/grid-column/grid-column.component.html","../../src/lib/grid-chart-dialog/grid-chart-dialog.component.ts","../../src/lib/grid-chart-dialog/grid-chart-dialog.component.html","../../src/service-ui/grid-list.service.ts","../../src/lib/grid-chart/grid-chart.component.ts","../../src/lib/grid-chart/grid-chart.component.html","../../src/lib/ruclib-grid-list/ruclib-grid-list.component.ts","../../src/lib/ruclib-grid-list/ruclib-grid-list.component.html","../../src/lib/ruclib-grid-list.module.ts","../../src/ruc-lib-grid-list.ts"],"sourcesContent":["import { PageEvent } from \"@angular/material/paginator\";\r\n\r\nexport class GridColumnConfig {\r\n name!: string;\r\n header!: string;\r\n headerStyle?: any;\r\n isCustom?: boolean;\r\n sticky?: boolean;\r\n isSort?: boolean;\r\n actionColumn?: boolean;\r\n action?: GridListActions[];\r\n showInCardView!: boolean\r\n}\r\n\r\nexport class GridCardConfig{\r\n title?:string;\r\n actions?: GridListActions[];\r\n style?: GridCardStyle\r\n}\r\n\r\nexport class GridCardStyle{\r\n card?: any;\r\n icon?: any\r\n}\r\n\r\nexport class GridListActions {\r\n icon!: string;\r\n title!: string;\r\n handler?: (event?: any, rowData?: any) => void;\r\n}\r\n\r\n\r\nexport class GridConfig<T> {\r\n showFilter: boolean = true;\r\n\r\n showGridView: boolean = true;\r\n\r\n pagination: boolean = true;\r\n\r\n isPaginatedApi: boolean = false;\r\n\r\n isExpandable = false;\r\n\r\n isSelectable = true;\r\n \r\n stickyTableHeader = true;\r\n\r\n cardStyle: any = {};\r\n\r\n loadData!: (event?: PageEvent) => any;\r\n\r\n data?: any;\r\n\r\n showListView: boolean = false;\r\n\r\n loadChartData!: () => any;\r\n}\r\n","import { AfterViewInit, Component, Input, OnInit } from '@angular/core';\r\nimport { GridCardConfig } from '../../models/grid-default.config';\r\n\r\n@Component({\r\n selector: 'ruc-grid-cards',\r\n templateUrl: './grid-cards.component.html',\r\n styleUrls: ['./grid-cards.component.scss']\r\n})\r\nexport class GridCardsComponent implements OnInit, AfterViewInit {\r\n\r\n @Input()\r\n data: any = [];\r\n\r\n @Input()\r\n gridItem: any;\r\n\r\n @Input()\r\n config: GridCardConfig = {};\r\n\r\n @Input()\r\n header!: any;\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {}\r\n\r\n}\r\n"," <mat-card [style]=\"config.style?.card\">\r\n <mat-card-content>\r\n <div class=\"card-top\">\r\n <span>{{gridItem.title}}</span>\r\n <div>\r\n <mat-icon [style]=\"config.style?.icon\" *ngFor=\"let icon of config.actions\" (click)=\"icon?.handler($event, gridItem)\">{{icon.icon}}</mat-icon>\r\n </div>\r\n \r\n </div>\r\n <div *ngFor=\"let value of header\">\r\n <p *ngIf=\"value.showInCardView\">\r\n {{value['header']}} : {{gridItem[value['name']]}}\r\n </p>\r\n </div>\r\n </mat-card-content>\r\n </mat-card>\r\n\r\n","import { Component, ContentChild, Input, TemplateRef } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ruc-grid-column',\r\n templateUrl: './grid-column.component.html',\r\n styleUrls: ['./grid-column.component.scss']\r\n})\r\nexport class GridColumnComponent {\r\n\r\n //column field name, field name should be same as field name in column config.\r\n @Input()\r\n name!: string;\r\n\r\n //content child of column template.\r\n @ContentChild('cellTemplate')\r\n cellTemplate!: TemplateRef<any>;\r\n\r\n\r\n}\r\n","","import { AfterViewInit, Component, Inject, OnDestroy, OnInit } from '@angular/core';\r\nimport { FormControl, FormGroup } from '@angular/forms';\r\nimport { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';\r\nimport { Chart } from 'chart.js';\r\n\r\n@Component({\r\n selector: 'ruclib-grid-chart-dialog',\r\n templateUrl: './grid-chart-dialog.component.html',\r\n styleUrls: ['./grid-chart-dialog.component.scss']\r\n})\r\nexport class RucGridChartDialogComponent implements OnInit, AfterViewInit {\r\n newItemForm!: FormGroup;\r\n constructor(public dialogRef: MatDialogRef<RucGridChartDialogComponent>,\r\n @Inject(MAT_DIALOG_DATA) public data: any) { }\r\n\r\n chart: any;\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.data.chartConfig.forEach((chartData: any, index: number) => {\r\n const ctx = document.getElementById(`chart${index}`) as HTMLCanvasElement;\r\n new Chart(ctx, chartData);\r\n });\r\n }\r\n\r\n onCancel(): void {\r\n this.dialogRef.close(null);\r\n }\r\n}\r\n","<div class=\"chart-container\">\r\n <div *ngFor=\"let chart of data.chartConfig; let i = index\" style=\"position: relative; height:50vh; width:40vw\">\r\n <canvas id=\"chart{{i}}\"></canvas>\r\n </div>\r\n</div>\r\n<button mat-button (click)=\"onCancel()\">Cancel</button>","import { Injectable } from '@angular/core';\r\nimport { Subject } from 'rxjs';\r\n\r\n/**\r\n * This service will handle the tabData\r\n */\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class GridListService {\r\n\r\n private gridChartDetails = new Subject();\r\n gridChartDetails$ = this.gridChartDetails.asObservable();\r\n\r\n constructor() { }\r\n\r\n /**\r\n * method for handling the tabData which will have tabData as argument \r\n */\r\n sendGridChartData(dataSource?: any) {\r\n this.gridChartDetails.next(dataSource);\r\n }\r\n}","import { AfterContentChecked, AfterContentInit, AfterViewInit, Component, DoCheck, Input, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';\r\nimport { GridCardConfig } from '../../models/grid-default.config';\r\nimport Chart from 'chart.js/auto';\r\n\r\n@Component({\r\n selector: 'ruc-grid-chart',\r\n templateUrl: './grid-chart.component.html',\r\n styleUrls: ['./grid-chart.component.scss']\r\n})\r\nexport class GridChartComponent implements OnInit, AfterViewInit, OnDestroy{\r\n\r\n constructor() { }\r\n chart: any;\r\n @Input()\r\n index = 0;\r\n\r\n @Input()\r\n chartConfig: any;\r\n\r\n ngOnInit(): void {}\r\n\r\n\r\n \r\n ngAfterViewInit(): void {\r\n this.chart = new Chart('canvas' + this.index, this.chartConfig);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.chart.destroy();\r\n this.chart = null;\r\n this.chartConfig = null;\r\n }\r\n}","<div style=\"position: relative; height:50vh; width:40vw\">\r\n <canvas id=\"canvas{{index}}\">{{chart}}</canvas>\r\n</div>\r\n\r\n","import { SelectionModel } from \"@angular/cdk/collections\";\r\nimport { AfterContentInit, AfterViewInit, Component, ContentChildren, EventEmitter, Input, OnInit, Output, QueryList, ViewChild } from \"@angular/core\";\r\nimport { MatTableDataSource } from \"@angular/material/table\";\r\nimport { GridColumnComponent } from \"../grid-column/grid-column.component\";\r\nimport { MatPaginator, PageEvent } from '@angular/material/paginator';\r\nimport { MatSort } from '@angular/material/sort';\r\nimport { GridCardConfig, GridColumnConfig, GridConfig } from \"../../models/grid-default.config\";\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { animate, state, style, transition, trigger } from \"@angular/animations\";\r\nimport { GridData } from \"../../models/grid-list-default-data\";\r\nimport { GridChartComponent } from \"../grid-chart/grid-chart.component\";\r\nimport { RucGridChartDialogComponent } from \"../grid-chart-dialog/grid-chart-dialog.component\";\r\nimport { GridListService } from \"../../service-ui/grid-list.service\";\r\n\r\n\r\n\r\n@Component({\r\n selector: 'uxp-ruclib-grid-list',\r\n templateUrl: './ruclib-grid-list.component.html',\r\n styleUrls: ['./ruclib-grid-list.component.scss'],\r\n animations: [\r\n trigger('detailExpand', [\r\n state('collapsed', style({ height: '0px', minHeight: '0' })),\r\n state('expanded', style({ height: '*' })),\r\n transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)')),\r\n ]),\r\n ],\r\n\r\n})\r\nexport class RuclibGridListComponent implements AfterContentInit, OnInit, AfterViewInit {\r\n\r\n displayedColumns: string[] = [];\r\n dataSource:any;\r\n search = '';\r\n selection = new SelectionModel<any>(true, []);\r\n\r\n gridViewData: any = [];\r\n\r\n @ViewChild(MatPaginator) paginator!: MatPaginator;\r\n\r\n @ViewChild(MatSort) sort!: MatSort;\r\n\r\n @ContentChildren(GridColumnComponent)\r\n cellTemplate!: QueryList<GridColumnComponent>;\r\n\r\n @Output()\r\n rowExpanded = new EventEmitter(false);\r\n\r\n @Input()\r\n columnConfig!: GridColumnConfig[];\r\n\r\n @Input()\r\n inputData: any;\r\n\r\n gridCardConfig: GridCardConfig = {};\r\n\r\n @Input()\r\n gridConfig = new GridConfig<any>();\r\n\r\n @Input()\r\n chartConfig: any;\r\n\r\n @Input()\r\n customTheme: any;\r\n\r\n\r\n @Input()\r\n rucInputData: any;\r\n\r\n customColumnMap: any = [];\r\n\r\n listView = true;\r\n\r\n expandedElement: any;\r\n\r\n columnsToDisplayWithExpand: any;\r\n\r\n expanded = false;\r\n\r\n currentStateObj: any;\r\n\r\n @Output()\r\n infoClicked = new EventEmitter();\r\n\r\n @Output() rucEvent = new EventEmitter<any>();\r\n\r\n\r\n constructor(private dialog: MatDialog, private gridListService: GridListService) { }\r\n\r\n ngOnInit(): void {\r\n this.columnConfig = this.rucInputData.columnConfig;\r\n this.gridConfig = this.rucInputData.gridConfig;\r\n this.listView = !this.gridConfig.showListView;\r\n this.currentStateObj = {};\r\n \r\n this.dataSource = new MatTableDataSource(this.inputData);\r\n this.displayedColumns = this.columnConfig.map(column => column.name);\r\n if (this.gridConfig.isSelectable) {\r\n this.displayedColumns = ['select', ...this.displayedColumns];\r\n }\r\n this.columnsToDisplayWithExpand = [...this.displayedColumns, 'expand'];\r\n const cardActions = this.columnConfig.filter(x => x.actionColumn)[0].action;\r\n this.gridCardConfig.actions = cardActions;\r\n this.gridCardConfig.title = 'transformation';\r\n this.gridCardConfig.style = this.gridConfig.cardStyle;\r\n this.gridListService.gridChartDetails$.subscribe(res=>{\r\n this.dialog.open(RucGridChartDialogComponent, {\r\n data: {\r\n chartConfig: res\r\n }\r\n })\r\n }) \r\n }\r\n\r\n ngAfterViewInit() {\r\n this.dataSource.paginator = this.paginator;\r\n this.dataSource.sort = this.sort;\r\n if(!this.listView){\r\n this.createGridViewData();\r\n }\r\n }\r\n\r\n ngAfterContentInit(): void {\r\n this.cellTemplate.forEach(oColumn => {\r\n this.customColumnMap[oColumn.name] = oColumn.cellTemplate;\r\n })\r\n }\r\n\r\n /**\r\n * \r\n * @param event \r\n * @param rowData \r\n */\r\n infoClickHandler(event: any, rowData: GridData){\r\n this.infoClicked.emit(rowData);\r\n }\r\n\r\n /**\r\n * \r\n * @param event \r\n */\r\n onSortChange(event: any) {\r\n this.currentStateObj.sortOrder = event.direction;\r\n this.currentStateObj.sortBy = event.active;\r\n this.rucEvent.emit({ 'eventName': 'sortByColumn', 'eventOutput': event })\r\n this.rucEvent.emit({ 'eventName': 'currentStateObjChange', 'eventOutput': this.currentStateObj });\r\n }\r\n\r\n /**\r\n * Filter Table\r\n * @param event \r\n */\r\n applyFilter(event: Event) {\r\n const filterValue = (event.target as HTMLInputElement).value;\r\n this.currentStateObj.searchText = filterValue ? filterValue.trim().toLowerCase() : '';\r\n this.dataSource.filter = filterValue.trim().toLowerCase();\r\n this.rucEvent.emit({ 'eventName': 'currentStateObjChange', 'eventOutput': this.currentStateObj });\r\n this.createGridViewData(this.dataSource.filteredData);\r\n\r\n if (this.dataSource.paginator) {\r\n this.dataSource.paginator.firstPage();\r\n }\r\n }\r\n\r\n /**\r\n * pagination handler\r\n * @param event \r\n * @returns \r\n */\r\n pageChangeHandler(event: PageEvent) {\r\n this.createGridViewData();\r\n if (!this.gridConfig.isPaginatedApi) return;\r\n if(this.gridConfig.isPaginatedApi){\r\n this.rucEvent.emit({ 'eventName': 'paginatorChange', 'eventOutput': { pageIndex: event } });\r\n }\r\n this.inputData = this.gridConfig.data;\r\n this.dataSource = new MatTableDataSource(this.inputData);\r\n }\r\n\r\n /**\r\n * Create Grid view\r\n * @param filteredData \r\n */\r\n createGridViewData(filteredData?: any) {\r\n filteredData = this.search ? this.dataSource.filteredData : this.dataSource.data;\r\n const data: any = this.cloneDeep(filteredData);\r\n const pageSize = this.dataSource.paginator?.pageSize;\r\n const currentPageIndex = this.dataSource.paginator?.pageIndex;\r\n if (pageSize !== undefined && currentPageIndex !== undefined) {\r\n const start = pageSize * currentPageIndex;\r\n const end = (currentPageIndex + 1) * pageSize;\r\n this.gridViewData = data.slice(start, end);\r\n }\r\n }\r\n\r\n /**\r\n * \r\n * @param data \r\n * @returns \r\n */\r\n cloneDeep(data: any) {\r\n return JSON.parse(JSON.stringify(data));\r\n }\r\n\r\n /**\r\n * \r\n * @returns \r\n */\r\n isAllSelected() {\r\n const numSelected = this.selection.selected.length;\r\n const numRows = this.dataSource.data.length;\r\n return numSelected === numRows;\r\n }\r\n\r\n /**\r\n * \r\n * @returns \r\n */\r\n toggleAllRows() {\r\n if (this.isAllSelected()) {\r\n this.selection.clear();\r\n return;\r\n }\r\n this.selection.select(...this.dataSource.data);\r\n }\r\n\r\n /** The label for the checkbox on the passed row */\r\n checkboxLabel(row?: any): string {\r\n if (!row) {\r\n return `${this.isAllSelected() ? 'deselect' : 'select'} all`;\r\n }\r\n // return `${this.selection.isSelected(row) ? 'deselect' : 'select'} row ${row.position + 1}`;\r\n return `${this.selection.isSelected(row) ? 'deselect' : 'select'} row`;\r\n }\r\n\r\n /**\r\n * \r\n * @param i \r\n * @param expandedElement \r\n * @param element \r\n */\r\n handleClick(i: number, expandedElement: any, element: any) {\r\n if (expandedElement != element) { //expand the row\r\n this.expanded = false;\r\n this.rowExpanded.emit({...element, isExpanded: false});\r\n }\r\n else {\r\n this.expanded = true;\r\n this.rowExpanded.emit({...element, isExpanded: true});\r\n }\r\n }\r\n}\r\n\r\n","<div class=\"grid-list-container\" class={{customTheme}}>\r\n <div class=\"header-container\">\r\n <mat-form-field *ngIf=\"gridConfig.showFilter\" appearance=\"outline\">\r\n <input matInput [(ngModel)]=\"search\" (keyup)=\"applyFilter($event)\" placeholder=\"Search\">\r\n </mat-form-field>\r\n\r\n <div *ngIf=\"gridConfig.showGridView\" class=\"icon-container\">\r\n <div (click)=\"listView=true\"\r\n [style.background-color]=\"listView ? gridCardConfig.style?.icon.color : 'white'\"\r\n [class.active-icon]=\"listView\" class=\"icon list\">\r\n <mat-icon>view_list</mat-icon>\r\n </div>\r\n <div (click)=\"listView=false;createGridViewData()\"\r\n [style.background-color]=\"!listView ? gridCardConfig.style?.icon.color : 'white'\"\r\n [class.active-icon]=\"!listView\" class=\"icon grid\">\r\n <mat-icon>grid_on</mat-icon>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div [hidden]=\"!listView\" class=\"mat-elevation-z8\" class=\"overflow\">\r\n <table mat-table [dataSource]=\"dataSource\" multiTemplateDataRows matSort (matSortChange)=\"onSortChange($event)\">\r\n <ng-container matColumnDef=\"select\" *ngIf=\"gridConfig.isSelectable\">\r\n <th mat-header-cell *matHeaderCellDef>\r\n <mat-checkbox color=\"primary\" (change)=\"$event ? toggleAllRows() : null\"\r\n [checked]=\"selection.hasValue() && isAllSelected()\"\r\n [indeterminate]=\"selection.hasValue() && !isAllSelected()\" [aria-label]=\"checkboxLabel()\">\r\n </mat-checkbox>\r\n </th>\r\n <td mat-cell *matCellDef=\"let row\">\r\n <mat-checkbox color=\"primary\" (click)=\"$event.stopPropagation()\"\r\n (change)=\"$event ? selection.toggle(row) : null\" [checked]=\"selection.isSelected(row)\"\r\n [aria-label]=\"checkboxLabel(row)\">\r\n </mat-checkbox>\r\n </td>\r\n </ng-container>\r\n <ng-container *ngFor=\"let column of columnConfig\">\r\n <ng-container [matColumnDef]=\"column.name\" [sticky]=\"\">\r\n\r\n <!--table headers start-->\r\n <th [ngStyle]=\"column?.headerStyle\" mat-header-cell *matHeaderCellDef mat-sort-header>\r\n {{column.header}} </th>\r\n <!--table headers end-->\r\n\r\n\r\n <!--table rows start-->\r\n <ng-container *ngIf=\"!column.isCustom; else customColumn\">\r\n <ng-container *ngIf=\"!column.actionColumn; else actionColumn\">\r\n <td #tooltip=\"matTooltip\" matTooltip=\"{{row[column.name]!}}\" mat-cell *matCellDef=\"let row\">\r\n {{row[column.name]!}} </td>\r\n </ng-container>\r\n\r\n <!--table action rows start-->\r\n <ng-template #actionColumn>\r\n <td mat-cell *matCellDef=\"let row\">\r\n <div class=\"icons\">\r\n <mat-icon [style]=\"gridCardConfig.style?.icon\" *ngFor=\"let action of column.action\"\r\n (click)=\"action?.handler($event, row)\">{{action.icon}}</mat-icon>\r\n </div>\r\n </td>\r\n </ng-template>\r\n <!--table action rows end-->\r\n\r\n </ng-container>\r\n <!--table rows end-->\r\n\r\n\r\n <!--table custom column start-->\r\n <ng-template #customColumn>\r\n <td mat-cell *matCellDef=\"let element\">\r\n <ng-container [ngTemplateOutlet]=\"customColumnMap[column.name]\"\r\n [ngTemplateOutletContext]=\"{element: element}\"></ng-container>\r\n </td>\r\n </ng-template>\r\n <!--table custom column end-->\r\n\r\n </ng-container>\r\n </ng-container>\r\n\r\n\r\n <ng-container matColumnDef=\"expand\">\r\n <th mat-header-cell *matHeaderCellDef aria-label=\"row actions\">&nbsp;</th>\r\n <td mat-cell *matCellDef=\"let element; let i = index\">\r\n <button mat-icon-button aria-label=\"expand row\"\r\n (click)=\"(expandedElement = expandedElement === element ? null : element); $event.stopPropagation();handleClick(i,expandedElement, element)\">\r\n <mat-icon *ngIf=\"expandedElement !== element\">keyboard_arrow_down</mat-icon>\r\n <mat-icon *ngIf=\"expandedElement === element\">keyboard_arrow_up</mat-icon>\r\n </button>\r\n </td>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"expandedDetail\">\r\n <td mat-cell *matCellDef=\"let element; let i = index\"\r\n [attr.colspan]=\"columnsToDisplayWithExpand.length\">\r\n <div class=\"example-element-detail\"\r\n [@detailExpand]=\"element == expandedElement ? 'expanded' : 'collapsed'\">\r\n Expanded\r\n <ng-container *ngIf=\"element === expandedElement && (chartConfig && chartConfig.length); else noChartData\">\r\n <div *ngFor=\"let config of chartConfig; let i=index\">\r\n <ruc-grid-chart [index]=\"i\" [chartConfig]=\"config\"></ruc-grid-chart>\r\n </div>\r\n </ng-container>\r\n <ng-template #noChartData>\r\n No Chart Data exist for this element\r\n </ng-template>\r\n </div>\r\n </td>\r\n </ng-container>\r\n\r\n <tr mat-header-row *matHeaderRowDef=\"columnsToDisplayWithExpand\"></tr>\r\n <tr mat-row *matRowDef=\"let element; columns: columnsToDisplayWithExpand;\" class=\"example-element-row\"\r\n [class.example-expanded-row]=\"expandedElement === element\">\r\n </tr>\r\n <tr mat-row *matRowDef=\"let row; columns: ['expandedDetail']\" class=\"expanded-content\"></tr>\r\n\r\n </table>\r\n </div>\r\n\r\n <div [hidden]=\"listView\">\r\n <div #ref><ng-content select=\"[customCard]\"></ng-content></div>\r\n <div *ngIf=\"!ref.children.length\" class=\"grid\">\r\n <ruc-grid-cards *ngFor=\"let data of gridViewData\" class=\"grid-view-container\" [gridItem]=\"data\"\r\n [config]=\"gridCardConfig\" [header]=\"columnConfig\" [data]=\"gridViewData\">\r\n </ruc-grid-cards>\r\n </div>\r\n \r\n </div>\r\n\r\n <mat-paginator (page)=\"pageChangeHandler($event)\" *ngIf=\"gridConfig.pagination\" [pageSizeOptions]=\"[5, 10, 25, 100]\"\r\n aria-label=\"Select page of users\"></mat-paginator>\r\n</div>","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatTableModule } from '@angular/material/table';\r\nimport { MatPaginatorModule } from '@angular/material/paginator';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatSortModule } from '@angular/material/sort';\r\nimport { MatCardModule } from '@angular/material/card';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatCheckboxModule } from '@angular/material/checkbox';\r\nimport { MatTooltipModule} from '@angular/material/tooltip';\r\nimport { GridCardsComponent } from './grid-cards/grid-cards.component';\r\nimport { GridColumnComponent } from './grid-column/grid-column.component';\r\nimport { RuclibGridListComponent } from './ruclib-grid-list/ruclib-grid-list.component';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { GridChartComponent } from './grid-chart/grid-chart.component';\r\nimport { RucGridChartDialogComponent } from './grid-chart-dialog/grid-chart-dialog.component';\r\n \r\n\r\n\r\n@NgModule({\r\n declarations:[\r\n RuclibGridListComponent,\r\n GridColumnComponent,\r\n GridCardsComponent,\r\n GridChartComponent,\r\n RucGridChartDialogComponent\r\n ],\r\n imports: [ CommonModule,\r\n FormsModule,\r\n MatFormFieldModule,\r\n MatTableModule,\r\n MatPaginatorModule,\r\n MatInputModule,\r\n MatIconModule,\r\n MatSortModule,\r\n MatCardModule,\r\n MatButtonModule,\r\n ReactiveFormsModule,\r\n MatCheckboxModule,\r\n MatTooltipModule,\r\n MatDialogModule,\r\n],\r\nexports: [RuclibGridListComponent, GridColumnComponent]\r\n})\r\nexport class RuclibGridListModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i3","i2","Chart","i2.GridListService","i9","i11","i14.GridCardsComponent","i15.GridChartComponent"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEa,gBAAgB,CAAA;AAU5B,CAAA;MAEY,cAAc,CAAA;AAI1B,CAAA;MAEY,aAAa,CAAA;AAGzB,CAAA;MAEY,eAAe,CAAA;AAI3B,CAAA;MAGY,UAAU,CAAA;AAAvB,IAAA,WAAA,GAAA;QACI,IAAU,CAAA,UAAA,GAAY,IAAI,CAAC;QAE3B,IAAY,CAAA,YAAA,GAAY,IAAI,CAAC;QAE7B,IAAU,CAAA,UAAA,GAAY,IAAI,CAAC;QAE3B,IAAc,CAAA,cAAA,GAAY,KAAK,CAAC;QAEhC,IAAY,CAAA,YAAA,GAAG,KAAK,CAAC;QAErB,IAAY,CAAA,YAAA,GAAG,IAAI,CAAC;QAEpB,IAAiB,CAAA,iBAAA,GAAG,IAAI,CAAC;QAEzB,IAAS,CAAA,SAAA,GAAQ,EAAE,CAAC;QAMpB,IAAY,CAAA,YAAA,GAAY,KAAK,CAAC;KAGjC;AAAA;;MChDY,kBAAkB,CAAA;AAc7B,IAAA,WAAA,GAAA;QAXA,IAAI,CAAA,IAAA,GAAQ,EAAE,CAAC;QAMf,IAAM,CAAA,MAAA,GAAmB,EAAE,CAAC;KAKX;IAEjB,QAAQ,GAAA;KACP;AAED,IAAA,eAAe,MAAW;;gHAnB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,mBAAmB;wBACnB,iBAAiB;wBACjB,gBAAgB;wBAChB,eAAe;AAClB,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,uBAAuB,EAAE,mBAAmB,CAAC;AACtD,iBAAA,CAAA;;;AC9CD;;AAEG;;;;"}
1
+ {"version":3,"file":"ruc-lib-grid-list.mjs","sources":["../../src/models/grid-default.config.ts","../../src/lib/grid-cards/grid-cards.component.ts","../../src/lib/grid-cards/grid-cards.component.html","../../src/lib/grid-column/grid-column.component.ts","../../src/lib/grid-column/grid-column.component.html","../../src/lib/grid-chart-dialog/grid-chart-dialog.component.ts","../../src/lib/grid-chart-dialog/grid-chart-dialog.component.html","../../src/service-ui/grid-list.service.ts","../../src/lib/grid-chart/grid-chart.component.ts","../../src/lib/grid-chart/grid-chart.component.html","../../src/lib/ruclib-grid-list/ruclib-grid-list.component.ts","../../src/lib/ruclib-grid-list/ruclib-grid-list.component.html","../../src/lib/ruclib-grid-list.module.ts","../../src/ruc-lib-grid-list.ts"],"sourcesContent":["import { PageEvent } from \"@angular/material/paginator\";\r\n\r\nexport class GridColumnConfig {\r\n name!: string;\r\n header!: string;\r\n headerStyle?: any;\r\n isCustom?: boolean;\r\n sticky?: boolean;\r\n isSort?: boolean;\r\n actionColumn?: boolean;\r\n action?: GridListActions[];\r\n showInCardView!: boolean\r\n}\r\n\r\nexport class GridCardConfig{\r\n title?:string;\r\n actions?: GridListActions[];\r\n style?: GridCardStyle\r\n}\r\n\r\nexport class GridCardStyle{\r\n card?: any;\r\n icon?: any\r\n}\r\n\r\nexport class GridListActions {\r\n icon!: string;\r\n title!: string;\r\n handler?: (event?: any, rowData?: any) => void;\r\n}\r\n\r\n\r\nexport class GridConfig<T> {\r\n showFilter: boolean = true;\r\n\r\n showGridView: boolean = true;\r\n\r\n pagination: boolean = true;\r\n\r\n isPaginatedApi: boolean = false;\r\n\r\n isExpandable = false;\r\n\r\n isSelectable = true;\r\n \r\n stickyTableHeader = true;\r\n\r\n cardStyle: any = {};\r\n\r\n loadData!: (event?: PageEvent) => any;\r\n\r\n data?: any;\r\n\r\n showListView: boolean = false;\r\n\r\n loadChartData!: () => any;\r\n}\r\n","import { AfterViewInit, Component, Input, OnInit } from '@angular/core';\r\nimport { GridCardConfig } from '../../models/grid-default.config';\r\n\r\n@Component({\r\n selector: 'ruc-grid-cards',\r\n templateUrl: './grid-cards.component.html',\r\n styleUrls: ['./grid-cards.component.scss']\r\n})\r\nexport class GridCardsComponent implements OnInit, AfterViewInit {\r\n\r\n @Input()\r\n data: any = [];\r\n\r\n @Input()\r\n gridItem: any;\r\n\r\n @Input()\r\n config: GridCardConfig = {};\r\n\r\n @Input()\r\n header!: any;\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {}\r\n\r\n}\r\n"," <mat-card [style]=\"config.style?.card\">\r\n <mat-card-content>\r\n <div class=\"card-top\">\r\n <span>{{gridItem.title}}</span>\r\n <div>\r\n <mat-icon [style]=\"config.style?.icon\" *ngFor=\"let icon of config.actions\" (click)=\"icon?.handler($event, gridItem)\">{{icon.icon}}</mat-icon>\r\n </div>\r\n \r\n </div>\r\n <div *ngFor=\"let value of header\">\r\n <p *ngIf=\"value.showInCardView\">\r\n {{value['header']}} : {{gridItem[value['name']]}}\r\n </p>\r\n </div>\r\n </mat-card-content>\r\n </mat-card>\r\n\r\n","import { Component, ContentChild, Input, TemplateRef } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ruc-grid-column',\r\n templateUrl: './grid-column.component.html',\r\n styleUrls: ['./grid-column.component.scss']\r\n})\r\nexport class GridColumnComponent {\r\n\r\n //column field name, field name should be same as field name in column config.\r\n @Input()\r\n name!: string;\r\n\r\n //content child of column template.\r\n @ContentChild('cellTemplate')\r\n cellTemplate!: TemplateRef<any>;\r\n\r\n\r\n}\r\n","","import { AfterViewInit, Component, Inject, OnDestroy, OnInit } from '@angular/core';\r\nimport { FormControl, FormGroup } from '@angular/forms';\r\nimport { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';\r\nimport { Chart } from 'chart.js';\r\n\r\n@Component({\r\n selector: 'ruclib-grid-chart-dialog',\r\n templateUrl: './grid-chart-dialog.component.html',\r\n styleUrls: ['./grid-chart-dialog.component.scss']\r\n})\r\nexport class RucGridChartDialogComponent implements OnInit, AfterViewInit {\r\n newItemForm!: FormGroup;\r\n constructor(public dialogRef: MatDialogRef<RucGridChartDialogComponent>,\r\n @Inject(MAT_DIALOG_DATA) public data: any) { }\r\n\r\n chart: any;\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.data.chartConfig.forEach((chartData: any, index: number) => {\r\n const ctx = document.getElementById(`chart${index}`) as HTMLCanvasElement;\r\n new Chart(ctx, chartData);\r\n });\r\n }\r\n\r\n onCancel(): void {\r\n this.dialogRef.close(null);\r\n }\r\n}\r\n","<div class=\"chart-container\">\r\n <div *ngFor=\"let chart of data.chartConfig; let i = index\" style=\"position: relative; height:50vh; width:40vw\">\r\n <canvas id=\"chart{{i}}\"></canvas>\r\n </div>\r\n</div>\r\n<button mat-button (click)=\"onCancel()\">Cancel</button>","import { Injectable } from '@angular/core';\r\nimport { Subject } from 'rxjs';\r\n\r\n/**\r\n * This service will handle the tabData\r\n */\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class GridListService {\r\n\r\n private gridChartDetails = new Subject();\r\n gridChartDetails$ = this.gridChartDetails.asObservable();\r\n\r\n constructor() { }\r\n\r\n /**\r\n * method for handling the tabData which will have tabData as argument \r\n */\r\n sendGridChartData(dataSource?: any) {\r\n this.gridChartDetails.next(dataSource);\r\n }\r\n}","import { AfterContentChecked, AfterContentInit, AfterViewInit, Component, DoCheck, Input, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';\r\nimport { GridCardConfig } from '../../models/grid-default.config';\r\nimport Chart from 'chart.js/auto';\r\n\r\n@Component({\r\n selector: 'ruc-grid-chart',\r\n templateUrl: './grid-chart.component.html',\r\n styleUrls: ['./grid-chart.component.scss']\r\n})\r\nexport class GridChartComponent implements OnInit, AfterViewInit, OnDestroy{\r\n\r\n constructor() { }\r\n chart: any;\r\n @Input()\r\n index = 0;\r\n\r\n @Input()\r\n chartConfig: any;\r\n\r\n ngOnInit(): void {}\r\n\r\n\r\n \r\n ngAfterViewInit(): void {\r\n this.chart = new Chart('canvas' + this.index, this.chartConfig);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.chart.destroy();\r\n this.chart = null;\r\n this.chartConfig = null;\r\n }\r\n}","<div style=\"position: relative; height:50vh; width:40vw\">\r\n <canvas id=\"canvas{{index}}\">{{chart}}</canvas>\r\n</div>\r\n\r\n","import { SelectionModel } from \"@angular/cdk/collections\";\r\nimport { AfterContentInit, AfterViewInit, Component, ContentChildren, EventEmitter, Input, OnInit, Output, QueryList, ViewChild } from \"@angular/core\";\r\nimport { MatTableDataSource } from \"@angular/material/table\";\r\nimport { GridColumnComponent } from \"../grid-column/grid-column.component\";\r\nimport { MatPaginator, PageEvent } from '@angular/material/paginator';\r\nimport { MatSort } from '@angular/material/sort';\r\nimport { GridCardConfig, GridColumnConfig, GridConfig } from \"../../models/grid-default.config\";\r\nimport { MatDialog } from '@angular/material/dialog';\r\nimport { animate, state, style, transition, trigger } from \"@angular/animations\";\r\nimport { GridData } from \"../../models/grid-list-default-data\";\r\nimport { GridChartComponent } from \"../grid-chart/grid-chart.component\";\r\nimport { RucGridChartDialogComponent } from \"../grid-chart-dialog/grid-chart-dialog.component\";\r\nimport { GridListService } from \"../../service-ui/grid-list.service\";\r\n\r\n\r\n\r\n@Component({\r\n selector: 'uxp-ruclib-grid-list',\r\n templateUrl: './ruclib-grid-list.component.html',\r\n styleUrls: ['./ruclib-grid-list.component.scss'],\r\n animations: [\r\n trigger('detailExpand', [\r\n state('collapsed', style({ height: '0px', minHeight: '0' })),\r\n state('expanded', style({ height: '*' })),\r\n transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)')),\r\n ]),\r\n ],\r\n\r\n})\r\nexport class RuclibGridListComponent implements AfterContentInit, OnInit, AfterViewInit {\r\n\r\n displayedColumns: string[] = [];\r\n dataSource:any;\r\n search = '';\r\n selection = new SelectionModel<any>(true, []);\r\n\r\n gridViewData: any = [];\r\n\r\n @ViewChild(MatPaginator) paginator!: MatPaginator;\r\n\r\n @ViewChild(MatSort) sort!: MatSort;\r\n\r\n @ContentChildren(GridColumnComponent)\r\n cellTemplate!: QueryList<GridColumnComponent>;\r\n\r\n @Output()\r\n rowExpanded = new EventEmitter(false);\r\n\r\n @Input()\r\n columnConfig!: GridColumnConfig[];\r\n\r\n @Input()\r\n inputData: any;\r\n\r\n gridCardConfig: GridCardConfig = {};\r\n\r\n @Input()\r\n gridConfig = new GridConfig<any>();\r\n\r\n @Input()\r\n chartConfig: any;\r\n\r\n @Input()\r\n customTheme: any;\r\n\r\n\r\n @Input()\r\n rucInputData: any;\r\n\r\n customColumnMap: any = [];\r\n\r\n listView = true;\r\n\r\n expandedElement: any;\r\n\r\n columnsToDisplayWithExpand: any;\r\n\r\n expanded = false;\r\n\r\n currentStateObj: any;\r\n\r\n @Output()\r\n infoClicked = new EventEmitter();\r\n\r\n @Output() rucEvent = new EventEmitter<any>();\r\n\r\n\r\n constructor(private dialog: MatDialog, private gridListService: GridListService) { }\r\n\r\n ngOnInit(): void {\r\n this.columnConfig = this.rucInputData.columnConfig;\r\n this.gridConfig = this.rucInputData.gridConfig;\r\n this.listView = !this.gridConfig.showListView;\r\n this.currentStateObj = {};\r\n \r\n this.dataSource = new MatTableDataSource(this.inputData);\r\n this.displayedColumns = this.columnConfig.map(column => column.name);\r\n if (this.gridConfig.isSelectable) {\r\n this.displayedColumns = ['select', ...this.displayedColumns];\r\n }\r\n this.columnsToDisplayWithExpand = [...this.displayedColumns, 'expand'];\r\n const cardActions = this.columnConfig.filter(x => x.actionColumn)[0].action;\r\n this.gridCardConfig.actions = cardActions;\r\n this.gridCardConfig.title = 'transformation';\r\n this.gridCardConfig.style = this.gridConfig.cardStyle;\r\n this.gridListService.gridChartDetails$.subscribe(res=>{\r\n this.dialog.open(RucGridChartDialogComponent, {\r\n data: {\r\n chartConfig: res\r\n }\r\n })\r\n }) \r\n }\r\n\r\n ngAfterViewInit() {\r\n this.dataSource.paginator = this.paginator;\r\n this.dataSource.sort = this.sort;\r\n if(!this.listView){\r\n this.createGridViewData();\r\n }\r\n }\r\n\r\n ngAfterContentInit(): void {\r\n this.cellTemplate.forEach(oColumn => {\r\n this.customColumnMap[oColumn.name] = oColumn.cellTemplate;\r\n })\r\n }\r\n\r\n /**\r\n * \r\n * @param event \r\n * @param rowData \r\n */\r\n infoClickHandler(event: any, rowData: GridData){\r\n this.infoClicked.emit(rowData);\r\n }\r\n\r\n /**\r\n * \r\n * @param event \r\n */\r\n onSortChange(event: any) {\r\n this.currentStateObj.sortOrder = event.direction;\r\n this.currentStateObj.sortBy = event.active;\r\n this.rucEvent.emit({ 'eventName': 'sortByColumn', 'eventOutput': event })\r\n this.rucEvent.emit({ 'eventName': 'currentStateObjChange', 'eventOutput': this.currentStateObj });\r\n }\r\n\r\n /**\r\n * Filter Table\r\n * @param event \r\n */\r\n applyFilter(event: Event) {\r\n const filterValue = (event.target as HTMLInputElement).value;\r\n this.currentStateObj.searchText = filterValue ? filterValue.trim().toLowerCase() : '';\r\n this.dataSource.filter = filterValue.trim().toLowerCase();\r\n this.rucEvent.emit({ 'eventName': 'currentStateObjChange', 'eventOutput': this.currentStateObj });\r\n this.createGridViewData(this.dataSource.filteredData);\r\n\r\n if (this.dataSource.paginator) {\r\n this.dataSource.paginator.firstPage();\r\n }\r\n }\r\n\r\n /**\r\n * pagination handler\r\n * @param event \r\n * @returns \r\n */\r\n pageChangeHandler(event: PageEvent) {\r\n this.createGridViewData();\r\n if (!this.gridConfig.isPaginatedApi) return;\r\n if(this.gridConfig.isPaginatedApi){\r\n this.rucEvent.emit({ 'eventName': 'paginatorChange', 'eventOutput': { pageIndex: event } });\r\n }\r\n this.inputData = this.gridConfig.data;\r\n this.dataSource = new MatTableDataSource(this.inputData);\r\n }\r\n\r\n /**\r\n * Create Grid view\r\n * @param filteredData \r\n */\r\n createGridViewData(filteredData?: any) {\r\n filteredData = this.search ? this.dataSource.filteredData : this.dataSource.data;\r\n const data: any = this.cloneDeep(filteredData);\r\n const pageSize = this.dataSource.paginator?.pageSize;\r\n const currentPageIndex = this.dataSource.paginator?.pageIndex;\r\n if (pageSize !== undefined && currentPageIndex !== undefined) {\r\n const start = pageSize * currentPageIndex;\r\n const end = (currentPageIndex + 1) * pageSize;\r\n this.gridViewData = data.slice(start, end);\r\n }\r\n }\r\n\r\n /**\r\n * \r\n * @param data \r\n * @returns \r\n */\r\n cloneDeep(data: any) {\r\n return JSON.parse(JSON.stringify(data));\r\n }\r\n\r\n /**\r\n * \r\n * @returns \r\n */\r\n isAllSelected() {\r\n const numSelected = this.selection.selected.length;\r\n const numRows = this.dataSource.data.length;\r\n return numSelected === numRows;\r\n }\r\n\r\n /**\r\n * \r\n * @returns \r\n */\r\n toggleAllRows() {\r\n if (this.isAllSelected()) {\r\n this.selection.clear();\r\n return;\r\n }\r\n this.selection.select(...this.dataSource.data);\r\n }\r\n\r\n /** The label for the checkbox on the passed row */\r\n checkboxLabel(row?: any): string {\r\n if (!row) {\r\n return `${this.isAllSelected() ? 'deselect' : 'select'} all`;\r\n }\r\n // return `${this.selection.isSelected(row) ? 'deselect' : 'select'} row ${row.position + 1}`;\r\n return `${this.selection.isSelected(row) ? 'deselect' : 'select'} row`;\r\n }\r\n\r\n /**\r\n * \r\n * @param i \r\n * @param expandedElement \r\n * @param element \r\n */\r\n handleClick(i: number, expandedElement: any, element: any) {\r\n if (expandedElement != element) { //expand the row\r\n this.expanded = false;\r\n this.rowExpanded.emit({...element, isExpanded: false});\r\n }\r\n else {\r\n this.expanded = true;\r\n this.rowExpanded.emit({...element, isExpanded: true});\r\n }\r\n }\r\n}\r\n\r\n","<div class=\"main\">\r\n<div class=\"grid-list-container\" class={{customTheme}}>\r\n <div class=\"header-container\">\r\n <mat-form-field *ngIf=\"gridConfig.showFilter\" appearance=\"outline\">\r\n <input matInput [(ngModel)]=\"search\" (keyup)=\"applyFilter($event)\" placeholder=\"Search\">\r\n </mat-form-field>\r\n\r\n <div *ngIf=\"gridConfig.showGridView\" class=\"icon-container\">\r\n <div (click)=\"listView=true\"\r\n [style.background-color]=\"listView ? gridCardConfig.style?.icon.color : 'white'\"\r\n [class.active-icon]=\"listView\" class=\"icon list\">\r\n <mat-icon>view_list</mat-icon>\r\n </div>\r\n <div (click)=\"listView=false;createGridViewData()\"\r\n [style.background-color]=\"!listView ? gridCardConfig.style?.icon.color : 'white'\"\r\n [class.active-icon]=\"!listView\" class=\"icon grid\">\r\n <mat-icon>grid_on</mat-icon>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div [hidden]=\"!listView\" class=\"mat-elevation-z8\" class=\"overflow\">\r\n <table mat-table [dataSource]=\"dataSource\" multiTemplateDataRows matSort (matSortChange)=\"onSortChange($event)\">\r\n <ng-container matColumnDef=\"select\" *ngIf=\"gridConfig.isSelectable\">\r\n <th mat-header-cell *matHeaderCellDef>\r\n <mat-checkbox color=\"primary\" (change)=\"$event ? toggleAllRows() : null\"\r\n [checked]=\"selection.hasValue() && isAllSelected()\"\r\n [indeterminate]=\"selection.hasValue() && !isAllSelected()\" [aria-label]=\"checkboxLabel()\">\r\n </mat-checkbox>\r\n </th>\r\n <td mat-cell *matCellDef=\"let row\">\r\n <mat-checkbox color=\"primary\" (click)=\"$event.stopPropagation()\"\r\n (change)=\"$event ? selection.toggle(row) : null\" [checked]=\"selection.isSelected(row)\"\r\n [aria-label]=\"checkboxLabel(row)\">\r\n </mat-checkbox>\r\n </td>\r\n </ng-container>\r\n <ng-container *ngFor=\"let column of columnConfig\">\r\n <ng-container [matColumnDef]=\"column.name\" [sticky]=\"\">\r\n\r\n <!--table headers start-->\r\n <th [ngStyle]=\"column?.headerStyle\" mat-header-cell *matHeaderCellDef mat-sort-header>\r\n {{column.header}} </th>\r\n <!--table headers end-->\r\n\r\n\r\n <!--table rows start-->\r\n <ng-container *ngIf=\"!column.isCustom; else customColumn\">\r\n <ng-container *ngIf=\"!column.actionColumn; else actionColumn\">\r\n <td #tooltip=\"matTooltip\" matTooltip=\"{{row[column.name]!}}\" mat-cell *matCellDef=\"let row\">\r\n {{row[column.name]!}} </td>\r\n </ng-container>\r\n\r\n <!--table action rows start-->\r\n <ng-template #actionColumn>\r\n <td mat-cell *matCellDef=\"let row\">\r\n <div class=\"icons\">\r\n <mat-icon [style]=\"gridCardConfig.style?.icon\" *ngFor=\"let action of column.action\"\r\n (click)=\"action?.handler($event, row)\">{{action.icon}}</mat-icon>\r\n </div>\r\n </td>\r\n </ng-template>\r\n <!--table action rows end-->\r\n\r\n </ng-container>\r\n <!--table rows end-->\r\n\r\n\r\n <!--table custom column start-->\r\n <ng-template #customColumn>\r\n <td mat-cell *matCellDef=\"let element\">\r\n <ng-container [ngTemplateOutlet]=\"customColumnMap[column.name]\"\r\n [ngTemplateOutletContext]=\"{element: element}\"></ng-container>\r\n </td>\r\n </ng-template>\r\n <!--table custom column end-->\r\n\r\n </ng-container>\r\n </ng-container>\r\n\r\n\r\n <ng-container matColumnDef=\"expand\">\r\n <th mat-header-cell *matHeaderCellDef aria-label=\"row actions\">&nbsp;</th>\r\n <td mat-cell *matCellDef=\"let element; let i = index\">\r\n <button mat-icon-button aria-label=\"expand row\"\r\n (click)=\"(expandedElement = expandedElement === element ? null : element); $event.stopPropagation();handleClick(i,expandedElement, element)\">\r\n <mat-icon *ngIf=\"expandedElement !== element\">keyboard_arrow_down</mat-icon>\r\n <mat-icon *ngIf=\"expandedElement === element\">keyboard_arrow_up</mat-icon>\r\n </button>\r\n </td>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"expandedDetail\">\r\n <td mat-cell *matCellDef=\"let element; let i = index\"\r\n [attr.colspan]=\"columnsToDisplayWithExpand.length\">\r\n <div class=\"example-element-detail\"\r\n [@detailExpand]=\"element == expandedElement ? 'expanded' : 'collapsed'\">\r\n Expanded\r\n <ng-container *ngIf=\"element === expandedElement && (chartConfig && chartConfig.length); else noChartData\">\r\n <div *ngFor=\"let config of chartConfig; let i=index\">\r\n <ruc-grid-chart [index]=\"i\" [chartConfig]=\"config\"></ruc-grid-chart>\r\n </div>\r\n </ng-container>\r\n <ng-template #noChartData>\r\n No Chart Data exist for this element\r\n </ng-template>\r\n </div>\r\n </td>\r\n </ng-container>\r\n\r\n <tr mat-header-row *matHeaderRowDef=\"columnsToDisplayWithExpand\"></tr>\r\n <tr mat-row *matRowDef=\"let element; columns: columnsToDisplayWithExpand;\" class=\"example-element-row\"\r\n [class.example-expanded-row]=\"expandedElement === element\">\r\n </tr>\r\n <tr mat-row *matRowDef=\"let row; columns: ['expandedDetail']\" class=\"expanded-content\"></tr>\r\n\r\n </table>\r\n </div>\r\n\r\n <div [hidden]=\"listView\">\r\n <div #ref><ng-content select=\"[customCard]\"></ng-content></div>\r\n <div *ngIf=\"!ref.children.length\" class=\"grid\">\r\n <ruc-grid-cards *ngFor=\"let data of gridViewData\" class=\"grid-view-container\" [gridItem]=\"data\"\r\n [config]=\"gridCardConfig\" [header]=\"columnConfig\" [data]=\"gridViewData\">\r\n </ruc-grid-cards>\r\n </div>\r\n \r\n </div>\r\n\r\n <mat-paginator (page)=\"pageChangeHandler($event)\" *ngIf=\"gridConfig.pagination\" [pageSizeOptions]=\"[5, 10, 25, 100]\"\r\n aria-label=\"Select page of users\"></mat-paginator>\r\n</div>\r\n</div>\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatTableModule } from '@angular/material/table';\r\nimport { MatPaginatorModule } from '@angular/material/paginator';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatSortModule } from '@angular/material/sort';\r\nimport { MatCardModule } from '@angular/material/card';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatCheckboxModule } from '@angular/material/checkbox';\r\nimport { MatTooltipModule} from '@angular/material/tooltip';\r\nimport { GridCardsComponent } from './grid-cards/grid-cards.component';\r\nimport { GridColumnComponent } from './grid-column/grid-column.component';\r\nimport { RuclibGridListComponent } from './ruclib-grid-list/ruclib-grid-list.component';\r\nimport { MatDialogModule } from '@angular/material/dialog';\r\nimport { GridChartComponent } from './grid-chart/grid-chart.component';\r\nimport { RucGridChartDialogComponent } from './grid-chart-dialog/grid-chart-dialog.component';\r\n \r\n\r\n\r\n@NgModule({\r\n declarations:[\r\n RuclibGridListComponent,\r\n GridColumnComponent,\r\n GridCardsComponent,\r\n GridChartComponent,\r\n RucGridChartDialogComponent\r\n ],\r\n imports: [ CommonModule,\r\n FormsModule,\r\n MatFormFieldModule,\r\n MatTableModule,\r\n MatPaginatorModule,\r\n MatInputModule,\r\n MatIconModule,\r\n MatSortModule,\r\n MatCardModule,\r\n MatButtonModule,\r\n ReactiveFormsModule,\r\n MatCheckboxModule,\r\n MatTooltipModule,\r\n MatDialogModule,\r\n],\r\nexports: [RuclibGridListComponent, GridColumnComponent]\r\n})\r\nexport class RuclibGridListModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i3","i2","Chart","i2.GridListService","i9","i11","i14.GridCardsComponent","i15.GridChartComponent"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEa,gBAAgB,CAAA;AAU5B,CAAA;MAEY,cAAc,CAAA;AAI1B,CAAA;MAEY,aAAa,CAAA;AAGzB,CAAA;MAEY,eAAe,CAAA;AAI3B,CAAA;MAGY,UAAU,CAAA;AAAvB,IAAA,WAAA,GAAA;QACI,IAAU,CAAA,UAAA,GAAY,IAAI,CAAC;QAE3B,IAAY,CAAA,YAAA,GAAY,IAAI,CAAC;QAE7B,IAAU,CAAA,U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,kBAAkB;QAClB,cAAc;QACd,aAAa;QACb,aAAa;QACb,aAAa;QACb,eAAe;QACf,mBAAmB;QACnB,iBAAiB;QACjB,gBAAgB;QAChB,eAAe,CAAA,EAAA,CAAA,CAAA;4FAIN,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAzBhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAC;wBACX,uBAAuB;wBACvB,mBAAmB;wBACnB,kBAAkB;wBAClB,kBAAkB;wBAClB,2BAA2B;AAC5B,qBAAA;oBACD,OAAO,EAAE,CAAE,YAAY;wBACrB,WAAW;wBACX,kBAAkB;wBAClB,cAAc;wBACd,kBAAkB;wBAClB,cAAc;wBACd,aAAa;wBACb,aAAa;wBACb,aAAa;wBACb,eAAe;wBACf,mBAAmB;wBACnB,iBAAiB;wBACjB,gBAAgB;wBAChB,eAAe;AAClB,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,uBAAuB,EAAE,mBAAmB,CAAC;AACtD,iBAAA,CAAA;;;AC9CD;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ruc-lib/grid-list",
3
- "version": "2.0.0",
3
+ "version": "3.2.0",
4
4
  "license": "MIT",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^17.0.0 || ^16.0.0 || ^15.0.0",