ngx-techlify-core 22.6.0 → 22.8.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.
@@ -1,9 +1,9 @@
1
- import { $ as ActionPopupComponent, A as MaterialModule, B as HttpCacheService, C as AuthenticationGuard, D as CustomIconModule, E as TechlifyIconModule, F as HttpService, G as LogLevel, H as ErrorHandlerService, I as TokenInterceptor, J as EnvironmentService, K as Logger, L as CredentialsService, M as FormConfigurationForFormComponent, N as FileDropperComponent, O as TechlifyIconComponent, P as HTTP_DYNAMIC_INTERCEPTORS, Q as SuccessSnackComponent, R as ApiPrefixInterceptor, S as User, T as SnackModule, U as ConfigService, V as ErrorHandlerInterceptor, W as TechlifyConfig, X as AlertService, Y as FormValidatorService, Z as ErrorSnackComponent, _ as FilterService, a as TimelineFilterModule, b as CurrentUserService, c as ExportExcelModule, d as ActionPopupModule, et as ActionPopup, f as TechlifyFormButtonComponent, g as TechlifyDeleteButtonComponent, h as Timeline, i as SearchableSelectorComponent, j as ReadMoreComponent, k as CustomIconComponent, l as ExportExcelButtonComponent, m as calculateTimeline, n as FormConfigurationForFormModule, o as ReadMoreModule, p as TimelineFilterComponent, q as DocumentViewerComponent, r as SearchableSelectorModule, s as FileDropperModule, t as SharedModule, u as DocumentViewerModule, v as RouteReusableStrategy, w as AppUpdateService, x as StorageService, y as AuthenticationService, z as CacheInterceptor } from "./ngx-techlify-core-shared.module-C0uAKgWi.mjs";
2
- import { a as RequestHelperService, c as TechlifyFormComponent, i as TechlifyListComponent, l as TechlifyService, n as TechlifyShowComponent, o as parseLocalDate, r as techlifyListContract, s as techlifyFormContract, t as techlifyShowContract } from "./ngx-techlify-core-base-model-DfODc3ll.mjs";
3
- import { a as UserClientsListComponent, c as UserFormComponent, d as LoginHistoryForUserComponent, f as AuditLogListComponent, i as UserSessionsComponent, l as UserService, m as AuditLogService, n as UserClientsListModule, o as UserClientEnableDisableButtonComponent, p as AuditLogListFilterComponent, r as UserClientEnableDisableButtonModule, s as UserTenantService, t as UserSessionsModule, u as UserTypeEnum } from "./ngx-techlify-core-user-sessions.module-gmNNGpCf.mjs";
4
- import { i as UserListPageConfig, n as MultiUserConfig, r as UserConfig, t as UserConfigService } from "./ngx-techlify-core-user-config.service-BTZUoFIT.mjs";
1
+ import { $ as ActionPopupComponent, A as MaterialModule, B as HttpCacheService, C as AuthenticationGuard, D as CustomIconModule, E as TechlifyIconModule, F as HttpService, G as LogLevel, H as ErrorHandlerService, I as TokenInterceptor, J as EnvironmentService, K as Logger, L as CredentialsService, M as FormConfigurationForFormComponent, N as FileDropperComponent, O as TechlifyIconComponent, P as HTTP_DYNAMIC_INTERCEPTORS, Q as SuccessSnackComponent, R as ApiPrefixInterceptor, S as User, T as SnackModule, U as ConfigService, V as ErrorHandlerInterceptor, W as TechlifyConfig, X as AlertService, Y as FormValidatorService, Z as ErrorSnackComponent, _ as FilterService, a as TimelineFilterModule, b as CurrentUserService, c as ExportExcelModule, d as ActionPopupModule, et as ActionPopup, f as TechlifyFormButtonComponent, g as TechlifyDeleteButtonComponent, h as Timeline, i as SearchableSelectorComponent, j as ReadMoreComponent, k as CustomIconComponent, l as ExportExcelButtonComponent, m as calculateTimeline, n as FormConfigurationForFormModule, o as ReadMoreModule, p as TimelineFilterComponent, q as DocumentViewerComponent, r as SearchableSelectorModule, s as FileDropperModule, t as SharedModule, u as DocumentViewerModule, v as RouteReusableStrategy, w as AppUpdateService, x as StorageService, y as AuthenticationService, z as CacheInterceptor } from "./ngx-techlify-core-shared.module-DDqBTRSJ.mjs";
2
+ import { a as RequestHelperService, c as TechlifyFormComponent, i as TechlifyListComponent, l as TechlifyService, n as TechlifyShowComponent, o as parseLocalDate, r as techlifyListContract, s as techlifyFormContract, t as techlifyShowContract } from "./ngx-techlify-core-base-model-DKKWsGjz.mjs";
3
+ import { a as UserClientsListComponent, c as UserFormComponent, d as LoginHistoryForUserComponent, f as AuditLogListComponent, i as UserSessionsComponent, l as UserService, m as AuditLogService, n as UserClientsListModule, o as UserClientEnableDisableButtonComponent, p as AuditLogListFilterComponent, r as UserClientEnableDisableButtonModule, s as UserTenantService, t as UserSessionsModule, u as UserTypeEnum } from "./ngx-techlify-core-user-sessions.module-C1Uqo6_c.mjs";
4
+ import { i as UserListPageConfig, n as MultiUserConfig, r as UserConfig, t as UserConfigService } from "./ngx-techlify-core-user-config.service-CJ9hcUVt.mjs";
5
5
  import * as i0 from "@angular/core";
6
- import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChild, DestroyRef, Directive, EventEmitter, HostListener, Inject, Injectable, Input, NgModule, Optional, Output, Pipe, Self, SkipSelf, ViewChild, ViewEncapsulation, booleanAttribute, computed, effect, forwardRef, inject, input, numberAttribute, signal } from "@angular/core";
6
+ import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChild, DestroyRef, Directive, ElementRef, EventEmitter, HostListener, Inject, Injectable, Input, NgModule, Optional, Output, Pipe, Self, SkipSelf, ViewChild, ViewEncapsulation, booleanAttribute, computed, effect, forwardRef, inject, input, numberAttribute, signal, viewChild } from "@angular/core";
7
7
  import * as i1$2 from "@angular/material/dialog";
8
8
  import { MAT_DIALOG_DATA } from "@angular/material/dialog";
9
9
  import * as i3$1 from "@angular/material/button";
@@ -27,12 +27,14 @@ import * as i4$1 from "@angular/material/checkbox";
27
27
  import * as i6$2 from "@angular/material/menu";
28
28
  import { MatMenu, MatMenuItem, MatMenuModule, MatMenuTrigger } from "@angular/material/menu";
29
29
  import * as i8$3 from "@angular/material/table";
30
+ import { MatTableModule } from "@angular/material/table";
30
31
  import * as i19 from "@angular/material/card";
31
32
  import { MatCard, MatCardContent, MatCardTitle } from "@angular/material/card";
32
33
  import * as i3 from "@angular/forms";
33
- import { FormControl, FormGroup, NG_VALUE_ACCESSOR, ReactiveFormsModule, UntypedFormControl, Validators } from "@angular/forms";
34
+ import { FormControl, FormGroup, NG_VALUE_ACCESSOR, NgControl, ReactiveFormsModule, UntypedFormControl, Validators } from "@angular/forms";
34
35
  import { HttpClient, provideHttpClient, withInterceptorsFromDi, withXhr } from "@angular/common/http";
35
36
  import * as i8 from "@angular/material/tooltip";
37
+ import { MatTooltipModule } from "@angular/material/tooltip";
36
38
  import * as i8$2 from "@angular/material/form-field";
37
39
  import { MAT_FORM_FIELD, MatError, MatFormField, MatFormFieldControl, MatLabel } from "@angular/material/form-field";
38
40
  import * as i12$2 from "@angular/material/input";
@@ -41,6 +43,7 @@ import * as i13$1 from "@angular/material/datepicker";
41
43
  import { coerceBooleanProperty } from "@angular/cdk/coercion";
42
44
  import { COMMA, ENTER } from "@angular/cdk/keycodes";
43
45
  import * as i1$3 from "@angular/cdk/a11y";
46
+ import { FocusMonitor } from "@angular/cdk/a11y";
44
47
  import * as i5$1 from "@angular/material/autocomplete";
45
48
  import * as i7$1 from "@angular/material/chips";
46
49
  import * as i5 from "ngx-permissions";
@@ -50,6 +53,7 @@ import { MatProgressBarModule } from "@angular/material/progress-bar";
50
53
  import * as i9 from "@angular/material/progress-spinner";
51
54
  import { MatProgressSpinnerModule } from "@angular/material/progress-spinner";
52
55
  import * as i11 from "@angular/material/select";
56
+ import { MatSelect } from "@angular/material/select";
53
57
  import * as i12$1 from "@angular/material/divider";
54
58
  import * as i6$1 from "@angular/material/list";
55
59
  import * as i12 from "@angular/material/button-toggle";
@@ -9608,7 +9612,7 @@ var AuditLogForModelComponent = class AuditLogForModelComponent {
9608
9612
  },
9609
9613
  ngImport: i0,
9610
9614
  template: "<ng-container *ngIf=\"isIconView\">\n <app-techlify-icon *ngIf=\"logView==='recent'\" name=\"history\" matTooltip=\"Recent Audit Log\"\n (click)=\"$event.stopPropagation();getLogView()\" class=\"clickable\"></app-techlify-icon>\n <app-techlify-icon *ngIf=\"logView==='all'\" name=\"history\" matTooltip=\"All Audit Logs\"\n (click)=\"$event.stopPropagation();getLogsView()\" class=\"clickable\"></app-techlify-icon>\n</ng-container>\n\n\n<ng-container *ngIf=\"!isIconView\">\n <button type=\"button\" *ngIf=\"logView==='recent'\" mat-icon-button matTooltip=\"Recent Audit Log\"\n (click)=\"$event.stopPropagation();getLogView()\">\n <mat-icon>history</mat-icon>\n </button>\n\n <button type=\"button\" *ngIf=\"logView==='all'\" mat-icon-button matTooltip=\"All Audit Logs\"\n (click)=\"$event.stopPropagation();getLogsView()\">\n <mat-icon>history</mat-icon>\n </button>\n</ng-container>",
9611
- styles: [".fl-md{width:200px!important}.fl-md .mat-mdc-form-field{width:100%!important}.fl-sm{width:150px!important}.fl-sm .mat-mdc-form-field{width:100%!important}.wpx-50{width:50px!important}.wpx-100{width:100px!important}.wpx-120{width:120px!important}.wpx-125{width:125px!important}.wpx-150{width:150px!important}.wpx-200{width:200px!important}.wpx-250{width:250px!important}.min-wpx-200{min-width:200px!important}.max-width-px-115{max-width:115px}.w-description{width:300px!important}.side-panel{width:300px!important;min-width:300px!important;flex-shrink:0!important}.h-250px{height:250px!important}.scroll-y{overflow-y:auto}.flex-basis-0{flex-basis:0}.flex-basis-5{flex-basis:5%}.flex-basis-8{flex-basis:8%}.flex-basis-10{flex-basis:10%}.flex-basis-15{flex-basis:15%}.flex-basis-20{flex-basis:20%}.flex-basis-25{flex-basis:25%}.flex-basis-30{flex-basis:30%}.flex-basis-35{flex-basis:35%}.flex-basis-40{flex-basis:40%}.flex-basis-45{flex-basis:45%}.flex-basis-48{flex-basis:48%}.flex-basis-49{flex-basis:49%}.flex-basis-50{flex-basis:50%}.flex-basis-60{flex-basis:60%}.flex-basis-65{flex-basis:65%}.flex-basis-70{flex-basis:70%}.flex-basis-80{flex-basis:80%}.flex-basis-90{flex-basis:90%}.flex-basis-95{flex-basis:95%}.flex-basis-100{flex-basis:100%}.flex-basis-50-minus-1rem{flex-basis:calc(50% - 1rem)}.flex-basis-50-minus-0-2rem{flex-basis:calc(50% - .2rem)}.flex-basis-20-minus-1rem{flex-basis:calc(20% - 1rem)}.flex-basis-15-minus-1rem{flex-basis:calc(15% - 1rem)}.flex-basis-50-minus-4px{flex-basis:calc(50% - 4px)}@media(min-width:992px){.flex-lg-basis-50{flex-basis:50%}}@media(min-width:1200px){.flex-xl-basis-30{flex-basis:30%}.flex-xl-basis-30-minus-1rem{flex:0 1 calc(30% - 1rem)}}.column-gap-1{column-gap:.25rem!important}.column-gap-2{column-gap:.5rem!important}.column-gap-3{column-gap:1rem!important}.column-gap-4{column-gap:1.5rem!important}.column-gap-5{column-gap:3rem!important}button,a,input{outline:none!important}::-webkit-scrollbar{width:.5em}::-webkit-scrollbar-track{border-radius:10px}::-webkit-scrollbar-thumb{background:gray;border-radius:10px}::-webkit-scrollbar-thumb:hover{background:#4d4c4c}.icon-md{height:24px!important;width:24px!important;font-size:24px!important;margin:0 1px}.icon-sm{height:20px!important;width:20px!important;font-size:20px!important}.icon-xs{height:16px!important;width:16px!important;font-size:16px!important}.mat-icon-xl{height:40px!important;width:40px!important;font-size:40px!important}.mat-icon-20px{font-size:20px!important;height:20px!important;width:20px!important}.mat-small-icon{height:16px!important;width:16px!important;font-size:16px!important}.mat-btn-md{height:25px!important;padding:0 8px!important}.mdc-button__label{letter-spacing:normal!important}.mat-mdc-button .mat-icon{height:24px!important;width:24px!important;font-size:24px!important}.mat-button-toggle-group{height:48px!important;align-items:center}.mat-button-toggle-button{height:48px!important}.mat-button-toggle-label-content{padding:0 8px!important;font-size:14px!important}.mat-mdc-slide-toggle label{margin:0!important}.small-slide-toggle{transform:scale(.8);transform-origin:left center}.fs-8{font-size:8px!important}.fs-12{font-size:12px!important}.fs-13{font-size:13px!important}.fs-16{font-size:16px!important}.fs-18{font-size:18px!important}.clickable:hover{cursor:pointer}.mat-mdc-form-field-hint-wrapper{padding:0 4px!important}.mat-mdc-floating-label{pointer-events:none!important}.nil-subscript-wrapper .mat-mdc-form-field-subscript-wrapper{height:0!important}.create-another .mat-mdc-checkbox label{margin:0!important}.create-another .mdc-checkbox{padding:0!important}.create-another .mdc-checkbox__background{position:relative;top:0;left:0}.mat-mdc-form-field.mat-form-field-disabled .mat-mdc-input-element{color:#555!important;-webkit-text-fill-color:#555555!important}.mat-mdc-form-field.mat-form-field-disabled .mat-mdc-select-value{color:#555!important}.mat-mdc-card{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);padding:16px}.mat-mdc-card-content{padding:0!important}.mat-mdc-dialog-surface{padding:24px}.mat-mdc-dialog-title{padding:0!important}.mat-mdc-dialog-title .mat-mdc-dialog-title:before{height:0!important}.mat-mdc-dialog-title *{position:relative;top:-30px!important}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:6px!important}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 8px!important}.mat-column-actions .mat-mdc-icon-button{width:30px!important;height:30px!important;top:6px!important}.mat-column-actions .mat-mdc-icon-button .mat-icon{bottom:9px!important;right:9px!important}.mat-mdc-progress-bar{border-radius:2px}.chip-mini-grey{background-color:#d9d9d9!important;border-radius:3px;display:inline-block;padding:0 6px;font-size:13px}.chip-mini-outline{background-color:#fff!important;border-radius:3px;display:inline-block;padding:0 6px;outline:1px solid #bbb;font-size:13px}.techlify-badge-grey-outlined{background-color:#f2f3f5!important;font-weight:400!important;font-size:12px!important;color:#000!important}.techlify-badge-white-outlined{font-weight:400!important;font-size:12px!important;border-style:solid!important;border-width:thin!important;color:#000!important;border-color:#000!important}\n"],
9615
+ styles: [".fl-md{width:200px!important}.fl-md .mat-mdc-form-field{width:100%!important}.fl-sm{width:150px!important}.fl-sm .mat-mdc-form-field{width:100%!important}.wpx-50{width:50px!important}.wpx-100{width:100px!important}.wpx-120{width:120px!important}.wpx-125{width:125px!important}.wpx-150{width:150px!important}.wpx-200{width:200px!important}.wpx-250{width:250px!important}.min-wpx-200{min-width:200px!important}.max-width-px-115{max-width:115px}.w-description{width:300px!important}.side-panel{width:300px!important;min-width:300px!important;flex-shrink:0!important}.h-250px{height:250px!important}.scroll-y{overflow-y:auto}.flex-basis-0{flex-basis:0}.flex-basis-5{flex-basis:5%}.flex-basis-8{flex-basis:8%}.flex-basis-10{flex-basis:10%}.flex-basis-15{flex-basis:15%}.flex-basis-20{flex-basis:20%}.flex-basis-25{flex-basis:25%}.flex-basis-30{flex-basis:30%}.flex-basis-35{flex-basis:35%}.flex-basis-40{flex-basis:40%}.flex-basis-45{flex-basis:45%}.flex-basis-48{flex-basis:48%}.flex-basis-49{flex-basis:49%}.flex-basis-50{flex-basis:50%}.flex-basis-60{flex-basis:60%}.flex-basis-65{flex-basis:65%}.flex-basis-70{flex-basis:70%}.flex-basis-80{flex-basis:80%}.flex-basis-90{flex-basis:90%}.flex-basis-95{flex-basis:95%}.flex-basis-100{flex-basis:100%}.flex-basis-50-minus-1rem{flex-basis:calc(50% - 1rem)}.flex-basis-50-minus-0-2rem{flex-basis:calc(50% - .2rem)}.flex-basis-20-minus-1rem{flex-basis:calc(20% - 1rem)}.flex-basis-15-minus-1rem{flex-basis:calc(15% - 1rem)}.flex-basis-50-minus-4px{flex-basis:calc(50% - 4px)}@media(min-width:992px){.flex-lg-basis-50{flex-basis:50%}}@media(min-width:1200px){.flex-xl-basis-30{flex-basis:30%}.flex-xl-basis-30-minus-1rem{flex:0 1 calc(30% - 1rem)}}.column-gap-1{column-gap:.25rem!important}.column-gap-2{column-gap:.5rem!important}.column-gap-3{column-gap:1rem!important}.column-gap-4{column-gap:1.5rem!important}.column-gap-5{column-gap:3rem!important}button,a,input{outline:none!important}::-webkit-scrollbar{width:.5em}::-webkit-scrollbar-track{border-radius:10px}::-webkit-scrollbar-thumb{background:gray;border-radius:10px}::-webkit-scrollbar-thumb:hover{background:#4d4c4c}.icon-md{height:24px!important;width:24px!important;font-size:24px!important;margin:0 1px}.icon-sm{height:20px!important;width:20px!important;font-size:20px!important}.icon-xs{height:16px!important;width:16px!important;font-size:16px!important}.mat-icon-xl{height:40px!important;width:40px!important;font-size:40px!important}.mat-icon-20px{font-size:20px!important;height:20px!important;width:20px!important}.mat-small-icon{height:16px!important;width:16px!important;font-size:16px!important}.mat-btn-md{height:25px!important;padding:0 8px!important}.mdc-button__label{letter-spacing:normal!important}.mat-mdc-button .mat-icon{height:24px!important;width:24px!important;font-size:24px!important}.mat-button-toggle-group{height:48px!important;align-items:center}.mat-button-toggle-button{height:48px!important}.mat-button-toggle-label-content{padding:0 8px!important;font-size:14px!important}.mat-mdc-slide-toggle label{margin:0!important}.small-slide-toggle{transform:scale(.8);transform-origin:left center}.fs-8{font-size:8px!important}.fs-12{font-size:12px!important}.fs-13{font-size:13px!important}.fs-16{font-size:16px!important}.fs-18{font-size:18px!important}.clickable:hover{cursor:pointer}.mat-mdc-form-field-hint-wrapper{padding:0 4px!important}.mat-mdc-floating-label{pointer-events:none!important}.nil-subscript-wrapper .mat-mdc-form-field-subscript-wrapper{height:0!important}.create-another .mat-mdc-checkbox label{margin:0!important}.create-another .mdc-checkbox{padding:0!important}.create-another .mdc-checkbox__background{position:relative;top:0;left:0}.mat-mdc-form-field.mat-form-field-disabled .mat-mdc-input-element{color:#555!important;-webkit-text-fill-color:#555555!important}.mat-mdc-form-field.mat-form-field-disabled .mat-mdc-select-value{color:#555!important}.mat-mdc-card{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);padding:16px}.mat-mdc-card-content{padding:0!important}.mat-mdc-dialog-surface{padding:24px}.mat-mdc-dialog-title{padding:0!important}.mat-mdc-dialog-title .mat-mdc-dialog-title:before{height:0!important}.mat-mdc-dialog-title *{position:relative;top:-30px!important}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:6px!important}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 8px!important}.mat-column-actions .mat-mdc-icon-button{width:30px!important;height:30px!important;top:6px!important}.mat-column-actions .mat-mdc-icon-button .mat-icon{bottom:9px!important;right:9px!important}.mat-mdc-progress-bar{border-radius:2px}.chip-mini-grey{background-color:#d9d9d9!important;border-radius:3px;display:inline-block;padding:0 6px;font-size:13px}.chip-mini-outline{background-color:#fff!important;border-radius:3px;display:inline-block;padding:0 6px;outline:1px solid #bbb;font-size:13px}.techlify-badge-grey-outlined{background-color:#f2f3f5!important;font-weight:400!important;font-size:12px!important;color:#000!important}.techlify-badge-white-outlined{font-weight:400!important;font-size:12px!important;border-style:solid!important;border-width:thin!important;color:#000!important;border-color:#000!important}.list-page-main{min-width:0}.list-page-content{max-width:100%}.list-page-filter-toggle{display:none!important}@media(max-width:991.98px){.list-page.list-page{flex-direction:column!important}.list-page>.list-page-main{display:contents!important}.list-page-header{order:-2;flex-wrap:wrap;row-gap:.5rem}.list-page>.list-page-side{order:-1;width:100%!important;min-width:0!important;margin:.5rem 0 0!important}.list-page>.list-page-side:not(.is-open){display:none!important}.list-page-header-filters{flex:1 1 100%;min-width:0}.list-page-header-filters:not(.is-open){display:none!important}.list-page-content{min-width:0;overflow-x:auto}.list-page-filter-toggle{display:inline-flex!important}.list-page-filter-toggle.is-active{color:var(--bs-primary, #0d6efd)}.list-page .list-page-filters{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));column-gap:.5rem!important;align-items:start}.list-page .list-page-filters>*{width:auto!important;min-width:0}.list-page .list-page-filters .mat-mdc-form-field{width:100%!important}.list-page-content .mat-mdc-header-cell,.list-page-content .mat-mdc-footer-cell,.list-page-content .mat-mdc-cell:not(.list-page-wrap){white-space:nowrap}.list-page-content .mat-mdc-cell.list-page-wrap{min-width:200px}.list-page-content .mat-mdc-cell,.list-page-content .mat-mdc-header-cell,.list-page-content .mat-mdc-footer-cell{padding-inline:8px}}@media(max-width:575.98px){.list-page .mat-mdc-card{padding:12px}.list-page .list-page-content.mat-mdc-card{padding:0}.list-page-stats{flex:1 1 100%}.list-page-stats>*{flex:1 1 0;text-align:center}}\n"],
9612
9616
  dependencies: [
9613
9617
  {
9614
9618
  kind: "directive",
@@ -9678,7 +9682,7 @@ i0.ɵɵngDeclareClassMetadata({
9678
9682
  changeDetection: ChangeDetectionStrategy.Eager,
9679
9683
  standalone: false,
9680
9684
  template: "<ng-container *ngIf=\"isIconView\">\n <app-techlify-icon *ngIf=\"logView==='recent'\" name=\"history\" matTooltip=\"Recent Audit Log\"\n (click)=\"$event.stopPropagation();getLogView()\" class=\"clickable\"></app-techlify-icon>\n <app-techlify-icon *ngIf=\"logView==='all'\" name=\"history\" matTooltip=\"All Audit Logs\"\n (click)=\"$event.stopPropagation();getLogsView()\" class=\"clickable\"></app-techlify-icon>\n</ng-container>\n\n\n<ng-container *ngIf=\"!isIconView\">\n <button type=\"button\" *ngIf=\"logView==='recent'\" mat-icon-button matTooltip=\"Recent Audit Log\"\n (click)=\"$event.stopPropagation();getLogView()\">\n <mat-icon>history</mat-icon>\n </button>\n\n <button type=\"button\" *ngIf=\"logView==='all'\" mat-icon-button matTooltip=\"All Audit Logs\"\n (click)=\"$event.stopPropagation();getLogsView()\">\n <mat-icon>history</mat-icon>\n </button>\n</ng-container>",
9681
- styles: [".fl-md{width:200px!important}.fl-md .mat-mdc-form-field{width:100%!important}.fl-sm{width:150px!important}.fl-sm .mat-mdc-form-field{width:100%!important}.wpx-50{width:50px!important}.wpx-100{width:100px!important}.wpx-120{width:120px!important}.wpx-125{width:125px!important}.wpx-150{width:150px!important}.wpx-200{width:200px!important}.wpx-250{width:250px!important}.min-wpx-200{min-width:200px!important}.max-width-px-115{max-width:115px}.w-description{width:300px!important}.side-panel{width:300px!important;min-width:300px!important;flex-shrink:0!important}.h-250px{height:250px!important}.scroll-y{overflow-y:auto}.flex-basis-0{flex-basis:0}.flex-basis-5{flex-basis:5%}.flex-basis-8{flex-basis:8%}.flex-basis-10{flex-basis:10%}.flex-basis-15{flex-basis:15%}.flex-basis-20{flex-basis:20%}.flex-basis-25{flex-basis:25%}.flex-basis-30{flex-basis:30%}.flex-basis-35{flex-basis:35%}.flex-basis-40{flex-basis:40%}.flex-basis-45{flex-basis:45%}.flex-basis-48{flex-basis:48%}.flex-basis-49{flex-basis:49%}.flex-basis-50{flex-basis:50%}.flex-basis-60{flex-basis:60%}.flex-basis-65{flex-basis:65%}.flex-basis-70{flex-basis:70%}.flex-basis-80{flex-basis:80%}.flex-basis-90{flex-basis:90%}.flex-basis-95{flex-basis:95%}.flex-basis-100{flex-basis:100%}.flex-basis-50-minus-1rem{flex-basis:calc(50% - 1rem)}.flex-basis-50-minus-0-2rem{flex-basis:calc(50% - .2rem)}.flex-basis-20-minus-1rem{flex-basis:calc(20% - 1rem)}.flex-basis-15-minus-1rem{flex-basis:calc(15% - 1rem)}.flex-basis-50-minus-4px{flex-basis:calc(50% - 4px)}@media(min-width:992px){.flex-lg-basis-50{flex-basis:50%}}@media(min-width:1200px){.flex-xl-basis-30{flex-basis:30%}.flex-xl-basis-30-minus-1rem{flex:0 1 calc(30% - 1rem)}}.column-gap-1{column-gap:.25rem!important}.column-gap-2{column-gap:.5rem!important}.column-gap-3{column-gap:1rem!important}.column-gap-4{column-gap:1.5rem!important}.column-gap-5{column-gap:3rem!important}button,a,input{outline:none!important}::-webkit-scrollbar{width:.5em}::-webkit-scrollbar-track{border-radius:10px}::-webkit-scrollbar-thumb{background:gray;border-radius:10px}::-webkit-scrollbar-thumb:hover{background:#4d4c4c}.icon-md{height:24px!important;width:24px!important;font-size:24px!important;margin:0 1px}.icon-sm{height:20px!important;width:20px!important;font-size:20px!important}.icon-xs{height:16px!important;width:16px!important;font-size:16px!important}.mat-icon-xl{height:40px!important;width:40px!important;font-size:40px!important}.mat-icon-20px{font-size:20px!important;height:20px!important;width:20px!important}.mat-small-icon{height:16px!important;width:16px!important;font-size:16px!important}.mat-btn-md{height:25px!important;padding:0 8px!important}.mdc-button__label{letter-spacing:normal!important}.mat-mdc-button .mat-icon{height:24px!important;width:24px!important;font-size:24px!important}.mat-button-toggle-group{height:48px!important;align-items:center}.mat-button-toggle-button{height:48px!important}.mat-button-toggle-label-content{padding:0 8px!important;font-size:14px!important}.mat-mdc-slide-toggle label{margin:0!important}.small-slide-toggle{transform:scale(.8);transform-origin:left center}.fs-8{font-size:8px!important}.fs-12{font-size:12px!important}.fs-13{font-size:13px!important}.fs-16{font-size:16px!important}.fs-18{font-size:18px!important}.clickable:hover{cursor:pointer}.mat-mdc-form-field-hint-wrapper{padding:0 4px!important}.mat-mdc-floating-label{pointer-events:none!important}.nil-subscript-wrapper .mat-mdc-form-field-subscript-wrapper{height:0!important}.create-another .mat-mdc-checkbox label{margin:0!important}.create-another .mdc-checkbox{padding:0!important}.create-another .mdc-checkbox__background{position:relative;top:0;left:0}.mat-mdc-form-field.mat-form-field-disabled .mat-mdc-input-element{color:#555!important;-webkit-text-fill-color:#555555!important}.mat-mdc-form-field.mat-form-field-disabled .mat-mdc-select-value{color:#555!important}.mat-mdc-card{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);padding:16px}.mat-mdc-card-content{padding:0!important}.mat-mdc-dialog-surface{padding:24px}.mat-mdc-dialog-title{padding:0!important}.mat-mdc-dialog-title .mat-mdc-dialog-title:before{height:0!important}.mat-mdc-dialog-title *{position:relative;top:-30px!important}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:6px!important}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 8px!important}.mat-column-actions .mat-mdc-icon-button{width:30px!important;height:30px!important;top:6px!important}.mat-column-actions .mat-mdc-icon-button .mat-icon{bottom:9px!important;right:9px!important}.mat-mdc-progress-bar{border-radius:2px}.chip-mini-grey{background-color:#d9d9d9!important;border-radius:3px;display:inline-block;padding:0 6px;font-size:13px}.chip-mini-outline{background-color:#fff!important;border-radius:3px;display:inline-block;padding:0 6px;outline:1px solid #bbb;font-size:13px}.techlify-badge-grey-outlined{background-color:#f2f3f5!important;font-weight:400!important;font-size:12px!important;color:#000!important}.techlify-badge-white-outlined{font-weight:400!important;font-size:12px!important;border-style:solid!important;border-width:thin!important;color:#000!important;border-color:#000!important}\n"]
9685
+ styles: [".fl-md{width:200px!important}.fl-md .mat-mdc-form-field{width:100%!important}.fl-sm{width:150px!important}.fl-sm .mat-mdc-form-field{width:100%!important}.wpx-50{width:50px!important}.wpx-100{width:100px!important}.wpx-120{width:120px!important}.wpx-125{width:125px!important}.wpx-150{width:150px!important}.wpx-200{width:200px!important}.wpx-250{width:250px!important}.min-wpx-200{min-width:200px!important}.max-width-px-115{max-width:115px}.w-description{width:300px!important}.side-panel{width:300px!important;min-width:300px!important;flex-shrink:0!important}.h-250px{height:250px!important}.scroll-y{overflow-y:auto}.flex-basis-0{flex-basis:0}.flex-basis-5{flex-basis:5%}.flex-basis-8{flex-basis:8%}.flex-basis-10{flex-basis:10%}.flex-basis-15{flex-basis:15%}.flex-basis-20{flex-basis:20%}.flex-basis-25{flex-basis:25%}.flex-basis-30{flex-basis:30%}.flex-basis-35{flex-basis:35%}.flex-basis-40{flex-basis:40%}.flex-basis-45{flex-basis:45%}.flex-basis-48{flex-basis:48%}.flex-basis-49{flex-basis:49%}.flex-basis-50{flex-basis:50%}.flex-basis-60{flex-basis:60%}.flex-basis-65{flex-basis:65%}.flex-basis-70{flex-basis:70%}.flex-basis-80{flex-basis:80%}.flex-basis-90{flex-basis:90%}.flex-basis-95{flex-basis:95%}.flex-basis-100{flex-basis:100%}.flex-basis-50-minus-1rem{flex-basis:calc(50% - 1rem)}.flex-basis-50-minus-0-2rem{flex-basis:calc(50% - .2rem)}.flex-basis-20-minus-1rem{flex-basis:calc(20% - 1rem)}.flex-basis-15-minus-1rem{flex-basis:calc(15% - 1rem)}.flex-basis-50-minus-4px{flex-basis:calc(50% - 4px)}@media(min-width:992px){.flex-lg-basis-50{flex-basis:50%}}@media(min-width:1200px){.flex-xl-basis-30{flex-basis:30%}.flex-xl-basis-30-minus-1rem{flex:0 1 calc(30% - 1rem)}}.column-gap-1{column-gap:.25rem!important}.column-gap-2{column-gap:.5rem!important}.column-gap-3{column-gap:1rem!important}.column-gap-4{column-gap:1.5rem!important}.column-gap-5{column-gap:3rem!important}button,a,input{outline:none!important}::-webkit-scrollbar{width:.5em}::-webkit-scrollbar-track{border-radius:10px}::-webkit-scrollbar-thumb{background:gray;border-radius:10px}::-webkit-scrollbar-thumb:hover{background:#4d4c4c}.icon-md{height:24px!important;width:24px!important;font-size:24px!important;margin:0 1px}.icon-sm{height:20px!important;width:20px!important;font-size:20px!important}.icon-xs{height:16px!important;width:16px!important;font-size:16px!important}.mat-icon-xl{height:40px!important;width:40px!important;font-size:40px!important}.mat-icon-20px{font-size:20px!important;height:20px!important;width:20px!important}.mat-small-icon{height:16px!important;width:16px!important;font-size:16px!important}.mat-btn-md{height:25px!important;padding:0 8px!important}.mdc-button__label{letter-spacing:normal!important}.mat-mdc-button .mat-icon{height:24px!important;width:24px!important;font-size:24px!important}.mat-button-toggle-group{height:48px!important;align-items:center}.mat-button-toggle-button{height:48px!important}.mat-button-toggle-label-content{padding:0 8px!important;font-size:14px!important}.mat-mdc-slide-toggle label{margin:0!important}.small-slide-toggle{transform:scale(.8);transform-origin:left center}.fs-8{font-size:8px!important}.fs-12{font-size:12px!important}.fs-13{font-size:13px!important}.fs-16{font-size:16px!important}.fs-18{font-size:18px!important}.clickable:hover{cursor:pointer}.mat-mdc-form-field-hint-wrapper{padding:0 4px!important}.mat-mdc-floating-label{pointer-events:none!important}.nil-subscript-wrapper .mat-mdc-form-field-subscript-wrapper{height:0!important}.create-another .mat-mdc-checkbox label{margin:0!important}.create-another .mdc-checkbox{padding:0!important}.create-another .mdc-checkbox__background{position:relative;top:0;left:0}.mat-mdc-form-field.mat-form-field-disabled .mat-mdc-input-element{color:#555!important;-webkit-text-fill-color:#555555!important}.mat-mdc-form-field.mat-form-field-disabled .mat-mdc-select-value{color:#555!important}.mat-mdc-card{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);padding:16px}.mat-mdc-card-content{padding:0!important}.mat-mdc-dialog-surface{padding:24px}.mat-mdc-dialog-title{padding:0!important}.mat-mdc-dialog-title .mat-mdc-dialog-title:before{height:0!important}.mat-mdc-dialog-title *{position:relative;top:-30px!important}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:6px!important}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 8px!important}.mat-column-actions .mat-mdc-icon-button{width:30px!important;height:30px!important;top:6px!important}.mat-column-actions .mat-mdc-icon-button .mat-icon{bottom:9px!important;right:9px!important}.mat-mdc-progress-bar{border-radius:2px}.chip-mini-grey{background-color:#d9d9d9!important;border-radius:3px;display:inline-block;padding:0 6px;font-size:13px}.chip-mini-outline{background-color:#fff!important;border-radius:3px;display:inline-block;padding:0 6px;outline:1px solid #bbb;font-size:13px}.techlify-badge-grey-outlined{background-color:#f2f3f5!important;font-weight:400!important;font-size:12px!important;color:#000!important}.techlify-badge-white-outlined{font-weight:400!important;font-size:12px!important;border-style:solid!important;border-width:thin!important;color:#000!important;border-color:#000!important}.list-page-main{min-width:0}.list-page-content{max-width:100%}.list-page-filter-toggle{display:none!important}@media(max-width:991.98px){.list-page.list-page{flex-direction:column!important}.list-page>.list-page-main{display:contents!important}.list-page-header{order:-2;flex-wrap:wrap;row-gap:.5rem}.list-page>.list-page-side{order:-1;width:100%!important;min-width:0!important;margin:.5rem 0 0!important}.list-page>.list-page-side:not(.is-open){display:none!important}.list-page-header-filters{flex:1 1 100%;min-width:0}.list-page-header-filters:not(.is-open){display:none!important}.list-page-content{min-width:0;overflow-x:auto}.list-page-filter-toggle{display:inline-flex!important}.list-page-filter-toggle.is-active{color:var(--bs-primary, #0d6efd)}.list-page .list-page-filters{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));column-gap:.5rem!important;align-items:start}.list-page .list-page-filters>*{width:auto!important;min-width:0}.list-page .list-page-filters .mat-mdc-form-field{width:100%!important}.list-page-content .mat-mdc-header-cell,.list-page-content .mat-mdc-footer-cell,.list-page-content .mat-mdc-cell:not(.list-page-wrap){white-space:nowrap}.list-page-content .mat-mdc-cell.list-page-wrap{min-width:200px}.list-page-content .mat-mdc-cell,.list-page-content .mat-mdc-header-cell,.list-page-content .mat-mdc-footer-cell{padding-inline:8px}}@media(max-width:575.98px){.list-page .mat-mdc-card{padding:12px}.list-page .list-page-content.mat-mdc-card{padding:0}.list-page-stats{flex:1 1 100%}.list-page-stats>*{flex:1 1 0;text-align:center}}\n"]
9682
9686
  }]
9683
9687
  }],
9684
9688
  ctorParameters: () => [{ type: i1$2.MatDialog }],
@@ -22928,6 +22932,293 @@ i0.ɵɵngDeclareClassMetadata({
22928
22932
  }]
22929
22933
  }
22930
22934
  });
22935
+ const DEFAULT_PERIOD_OPTIONS = [
22936
+ {
22937
+ value: "week",
22938
+ label: "Week"
22939
+ },
22940
+ {
22941
+ value: "month",
22942
+ label: "Month"
22943
+ },
22944
+ {
22945
+ value: "quarter",
22946
+ label: "Quarter"
22947
+ },
22948
+ {
22949
+ value: "half_year",
22950
+ label: "Half-Year"
22951
+ },
22952
+ {
22953
+ value: "year",
22954
+ label: "Year"
22955
+ }
22956
+ ];
22957
+ var TechlifyPeriodSelectorComponent = class TechlifyPeriodSelectorComponent {
22958
+ static {
22959
+ this.nextId = 0;
22960
+ }
22961
+ get value() {
22962
+ return this.selected();
22963
+ }
22964
+ get placeholder() {
22965
+ return this.placeholderInput();
22966
+ }
22967
+ get required() {
22968
+ return this.requiredInput();
22969
+ }
22970
+ get disabled() {
22971
+ return this.isDisabled();
22972
+ }
22973
+ get focused() {
22974
+ return this.isFocused();
22975
+ }
22976
+ get empty() {
22977
+ const selected = this.selected();
22978
+ return selected === null || selected === void 0 || selected === "";
22979
+ }
22980
+ get shouldLabelFloat() {
22981
+ return this.focused || !this.empty;
22982
+ }
22983
+ get errorState() {
22984
+ return !!(this.ngControl && this.ngControl.invalid && (this.ngControl.touched || this.ngControl.dirty));
22985
+ }
22986
+ constructor() {
22987
+ this.options = input(DEFAULT_PERIOD_OPTIONS, ...ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []);
22988
+ this.placeholderInput = input("", {
22989
+ ...ngDevMode ? { debugName: "placeholderInput" } : /* istanbul ignore next */ {},
22990
+ alias: "placeholder"
22991
+ });
22992
+ this.requiredInput = input(false, {
22993
+ ...ngDevMode ? { debugName: "requiredInput" } : /* istanbul ignore next */ {},
22994
+ alias: "required",
22995
+ transform: booleanAttribute
22996
+ });
22997
+ this.items = computed(() => this.options().map((option) => typeof option === "string" ? {
22998
+ value: option,
22999
+ label: option
23000
+ } : option), ...ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []);
23001
+ this.selected = signal(null, ...ngDevMode ? [{ debugName: "selected" }] : /* istanbul ignore next */ []);
23002
+ this.isDisabled = signal(false, ...ngDevMode ? [{ debugName: "isDisabled" }] : /* istanbul ignore next */ []);
23003
+ this.isFocused = signal(false, ...ngDevMode ? [{ debugName: "isFocused" }] : /* istanbul ignore next */ []);
23004
+ this.ariaDescribedBy = signal("", ...ngDevMode ? [{ debugName: "ariaDescribedBy" }] : /* istanbul ignore next */ []);
23005
+ this.ngControl = inject(NgControl, {
23006
+ optional: true,
23007
+ self: true
23008
+ });
23009
+ this.stateChanges = new Subject();
23010
+ this.controlType = "techlify-period-selector";
23011
+ this.id = `techlify-period-selector-${TechlifyPeriodSelectorComponent.nextId++}`;
23012
+ this.focusMonitor = inject(FocusMonitor);
23013
+ this.elementRef = inject(ElementRef);
23014
+ this.select = viewChild(MatSelect, ...ngDevMode ? [{ debugName: "select" }] : /* istanbul ignore next */ []);
23015
+ this.onChange = () => {};
23016
+ this.onTouched = () => {};
23017
+ if (this.ngControl) this.ngControl.valueAccessor = this;
23018
+ effect(() => {
23019
+ this.selected();
23020
+ this.isDisabled();
23021
+ this.isFocused();
23022
+ this.placeholderInput();
23023
+ this.requiredInput();
23024
+ this.stateChanges.next();
23025
+ });
23026
+ this.focusMonitor.monitor(this.elementRef, true).subscribe((origin) => {
23027
+ if (this.isFocused() && !origin) this.onTouched();
23028
+ this.isFocused.set(!!origin);
23029
+ });
23030
+ }
23031
+ setDescribedByIds(ids) {
23032
+ this.ariaDescribedBy.set(ids.join(" "));
23033
+ }
23034
+ onContainerClick() {
23035
+ const select = this.select();
23036
+ if (select && !this.disabled && !select.panelOpen) select.open();
23037
+ }
23038
+ writeValue(value) {
23039
+ this.selected.set(value ?? null);
23040
+ }
23041
+ registerOnChange(fn) {
23042
+ this.onChange = fn;
23043
+ }
23044
+ registerOnTouched(fn) {
23045
+ this.onTouched = fn;
23046
+ }
23047
+ setDisabledState(isDisabled) {
23048
+ this.isDisabled.set(isDisabled);
23049
+ }
23050
+ handleChange(value) {
23051
+ this.selected.set(value ?? null);
23052
+ this.onChange(this.selected());
23053
+ this.onTouched();
23054
+ }
23055
+ ngOnDestroy() {
23056
+ this.focusMonitor.stopMonitoring(this.elementRef);
23057
+ this.stateChanges.complete();
23058
+ }
23059
+ static {
23060
+ this.ɵfac = i0.ɵɵngDeclareFactory({
23061
+ minVersion: "12.0.0",
23062
+ version: "22.2.3",
23063
+ ngImport: i0,
23064
+ type: TechlifyPeriodSelectorComponent,
23065
+ deps: [],
23066
+ target: i0.ɵɵFactoryTarget.Component
23067
+ });
23068
+ }
23069
+ static {
23070
+ this.ɵcmp = i0.ɵɵngDeclareComponent({
23071
+ minVersion: "17.0.0",
23072
+ version: "22.2.3",
23073
+ type: TechlifyPeriodSelectorComponent,
23074
+ isStandalone: true,
23075
+ selector: "techlify-period-selector",
23076
+ inputs: {
23077
+ options: {
23078
+ classPropertyName: "options",
23079
+ publicName: "options",
23080
+ isSignal: true,
23081
+ isRequired: false,
23082
+ transformFunction: null
23083
+ },
23084
+ placeholderInput: {
23085
+ classPropertyName: "placeholderInput",
23086
+ publicName: "placeholder",
23087
+ isSignal: true,
23088
+ isRequired: false,
23089
+ transformFunction: null
23090
+ },
23091
+ requiredInput: {
23092
+ classPropertyName: "requiredInput",
23093
+ publicName: "required",
23094
+ isSignal: true,
23095
+ isRequired: false,
23096
+ transformFunction: null
23097
+ }
23098
+ },
23099
+ providers: [{
23100
+ provide: MatFormFieldControl,
23101
+ useExisting: TechlifyPeriodSelectorComponent
23102
+ }],
23103
+ viewQueries: [{
23104
+ propertyName: "select",
23105
+ first: true,
23106
+ predicate: MatSelect,
23107
+ descendants: true,
23108
+ isSignal: true
23109
+ }],
23110
+ ngImport: i0,
23111
+ template: "<mat-select [value]=\"selected()\" [required]=\"requiredInput()\" [disabled]=\"isDisabled()\" [placeholder]=\"placeholderInput()\"\n [attr.aria-describedby]=\"ariaDescribedBy()\" (selectionChange)=\"handleChange($event.value)\">\n @for (option of items(); track option.value) {\n <mat-option [value]=\"option.value\">{{ option.label }}</mat-option>\n }\n</mat-select>\n",
23112
+ styles: [":host{display:block}\n"],
23113
+ dependencies: [
23114
+ {
23115
+ kind: "ngmodule",
23116
+ type: SharedModule
23117
+ },
23118
+ {
23119
+ kind: "component",
23120
+ type: i5$1.MatOption,
23121
+ selector: "mat-option",
23122
+ inputs: [
23123
+ "value",
23124
+ "id",
23125
+ "disabled"
23126
+ ],
23127
+ outputs: ["onSelectionChange"],
23128
+ exportAs: ["matOption"]
23129
+ },
23130
+ {
23131
+ kind: "component",
23132
+ type: i11.MatSelect,
23133
+ selector: "mat-select",
23134
+ inputs: [
23135
+ "aria-describedby",
23136
+ "panelClass",
23137
+ "disabled",
23138
+ "disableRipple",
23139
+ "tabIndex",
23140
+ "hideSingleSelectionIndicator",
23141
+ "placeholder",
23142
+ "required",
23143
+ "multiple",
23144
+ "disableOptionCentering",
23145
+ "compareWith",
23146
+ "value",
23147
+ "aria-label",
23148
+ "aria-labelledby",
23149
+ "errorStateMatcher",
23150
+ "typeaheadDebounceInterval",
23151
+ "sortComparator",
23152
+ "id",
23153
+ "panelWidth",
23154
+ "canSelectNullableOptions"
23155
+ ],
23156
+ outputs: [
23157
+ "openedChange",
23158
+ "opened",
23159
+ "closed",
23160
+ "selectionChange",
23161
+ "valueChange"
23162
+ ],
23163
+ exportAs: ["matSelect"]
23164
+ }
23165
+ ],
23166
+ changeDetection: i0.ChangeDetectionStrategy.Eager
23167
+ });
23168
+ }
23169
+ };
23170
+ i0.ɵɵngDeclareClassMetadata({
23171
+ minVersion: "12.0.0",
23172
+ version: "22.2.3",
23173
+ ngImport: i0,
23174
+ type: TechlifyPeriodSelectorComponent,
23175
+ decorators: [{
23176
+ type: Component,
23177
+ args: [{
23178
+ selector: "techlify-period-selector",
23179
+ standalone: true,
23180
+ imports: [SharedModule],
23181
+ changeDetection: ChangeDetectionStrategy.Eager,
23182
+ providers: [{
23183
+ provide: MatFormFieldControl,
23184
+ useExisting: TechlifyPeriodSelectorComponent
23185
+ }],
23186
+ template: "<mat-select [value]=\"selected()\" [required]=\"requiredInput()\" [disabled]=\"isDisabled()\" [placeholder]=\"placeholderInput()\"\n [attr.aria-describedby]=\"ariaDescribedBy()\" (selectionChange)=\"handleChange($event.value)\">\n @for (option of items(); track option.value) {\n <mat-option [value]=\"option.value\">{{ option.label }}</mat-option>\n }\n</mat-select>\n",
23187
+ styles: [":host{display:block}\n"]
23188
+ }]
23189
+ }],
23190
+ ctorParameters: () => [],
23191
+ propDecorators: {
23192
+ options: [{
23193
+ type: i0.Input,
23194
+ args: [{
23195
+ isSignal: true,
23196
+ alias: "options",
23197
+ required: false
23198
+ }]
23199
+ }],
23200
+ placeholderInput: [{
23201
+ type: i0.Input,
23202
+ args: [{
23203
+ isSignal: true,
23204
+ alias: "placeholder",
23205
+ required: false
23206
+ }]
23207
+ }],
23208
+ requiredInput: [{
23209
+ type: i0.Input,
23210
+ args: [{
23211
+ isSignal: true,
23212
+ alias: "required",
23213
+ required: false
23214
+ }]
23215
+ }],
23216
+ select: [{
23217
+ type: i0.ViewChild,
23218
+ args: [i0.forwardRef(() => MatSelect), { isSignal: true }]
23219
+ }]
23220
+ }
23221
+ });
22931
23222
  var CountryService = class CountryService extends TechlifyService {
22932
23223
  constructor(http) {
22933
23224
  super(http, "countries");
@@ -29113,7 +29404,7 @@ var TimelineActivityButtonComponent = class TimelineActivityButtonComponent {
29113
29404
  },
29114
29405
  ngImport: i0,
29115
29406
  template: "<app-techlify-icon name=\"history\" matTooltip=\"Timeline History\" (click)=\"$event.stopPropagation();openDialog(listView)\"\n class=\"clickable\"></app-techlify-icon>\n\n<ng-template #listView>\n <app-timeline-activity-list [changeableId]=\"changeableId\" [changeableType]=\"changeableType\"\n [timelineableDisplayField]=\"timelineableDisplayField\" [timelineableType]=\"timelineableType\"\n [timelineableId]=\"timelineableId\" [title]=\"title\"></app-timeline-activity-list>\n</ng-template>",
29116
- styles: [".fl-md{width:200px!important}.fl-md .mat-mdc-form-field{width:100%!important}.fl-sm{width:150px!important}.fl-sm .mat-mdc-form-field{width:100%!important}.wpx-50{width:50px!important}.wpx-100{width:100px!important}.wpx-120{width:120px!important}.wpx-125{width:125px!important}.wpx-150{width:150px!important}.wpx-200{width:200px!important}.wpx-250{width:250px!important}.min-wpx-200{min-width:200px!important}.max-width-px-115{max-width:115px}.w-description{width:300px!important}.side-panel{width:300px!important;min-width:300px!important;flex-shrink:0!important}.h-250px{height:250px!important}.scroll-y{overflow-y:auto}.flex-basis-0{flex-basis:0}.flex-basis-5{flex-basis:5%}.flex-basis-8{flex-basis:8%}.flex-basis-10{flex-basis:10%}.flex-basis-15{flex-basis:15%}.flex-basis-20{flex-basis:20%}.flex-basis-25{flex-basis:25%}.flex-basis-30{flex-basis:30%}.flex-basis-35{flex-basis:35%}.flex-basis-40{flex-basis:40%}.flex-basis-45{flex-basis:45%}.flex-basis-48{flex-basis:48%}.flex-basis-49{flex-basis:49%}.flex-basis-50{flex-basis:50%}.flex-basis-60{flex-basis:60%}.flex-basis-65{flex-basis:65%}.flex-basis-70{flex-basis:70%}.flex-basis-80{flex-basis:80%}.flex-basis-90{flex-basis:90%}.flex-basis-95{flex-basis:95%}.flex-basis-100{flex-basis:100%}.flex-basis-50-minus-1rem{flex-basis:calc(50% - 1rem)}.flex-basis-50-minus-0-2rem{flex-basis:calc(50% - .2rem)}.flex-basis-20-minus-1rem{flex-basis:calc(20% - 1rem)}.flex-basis-15-minus-1rem{flex-basis:calc(15% - 1rem)}.flex-basis-50-minus-4px{flex-basis:calc(50% - 4px)}@media(min-width:992px){.flex-lg-basis-50{flex-basis:50%}}@media(min-width:1200px){.flex-xl-basis-30{flex-basis:30%}.flex-xl-basis-30-minus-1rem{flex:0 1 calc(30% - 1rem)}}.column-gap-1{column-gap:.25rem!important}.column-gap-2{column-gap:.5rem!important}.column-gap-3{column-gap:1rem!important}.column-gap-4{column-gap:1.5rem!important}.column-gap-5{column-gap:3rem!important}button,a,input{outline:none!important}::-webkit-scrollbar{width:.5em}::-webkit-scrollbar-track{border-radius:10px}::-webkit-scrollbar-thumb{background:gray;border-radius:10px}::-webkit-scrollbar-thumb:hover{background:#4d4c4c}.icon-md{height:24px!important;width:24px!important;font-size:24px!important;margin:0 1px}.icon-sm{height:20px!important;width:20px!important;font-size:20px!important}.icon-xs{height:16px!important;width:16px!important;font-size:16px!important}.mat-icon-xl{height:40px!important;width:40px!important;font-size:40px!important}.mat-icon-20px{font-size:20px!important;height:20px!important;width:20px!important}.mat-small-icon{height:16px!important;width:16px!important;font-size:16px!important}.mat-btn-md{height:25px!important;padding:0 8px!important}.mdc-button__label{letter-spacing:normal!important}.mat-mdc-button .mat-icon{height:24px!important;width:24px!important;font-size:24px!important}.mat-button-toggle-group{height:48px!important;align-items:center}.mat-button-toggle-button{height:48px!important}.mat-button-toggle-label-content{padding:0 8px!important;font-size:14px!important}.mat-mdc-slide-toggle label{margin:0!important}.small-slide-toggle{transform:scale(.8);transform-origin:left center}.fs-8{font-size:8px!important}.fs-12{font-size:12px!important}.fs-13{font-size:13px!important}.fs-16{font-size:16px!important}.fs-18{font-size:18px!important}.clickable:hover{cursor:pointer}.mat-mdc-form-field-hint-wrapper{padding:0 4px!important}.mat-mdc-floating-label{pointer-events:none!important}.nil-subscript-wrapper .mat-mdc-form-field-subscript-wrapper{height:0!important}.create-another .mat-mdc-checkbox label{margin:0!important}.create-another .mdc-checkbox{padding:0!important}.create-another .mdc-checkbox__background{position:relative;top:0;left:0}.mat-mdc-form-field.mat-form-field-disabled .mat-mdc-input-element{color:#555!important;-webkit-text-fill-color:#555555!important}.mat-mdc-form-field.mat-form-field-disabled .mat-mdc-select-value{color:#555!important}.mat-mdc-card{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);padding:16px}.mat-mdc-card-content{padding:0!important}.mat-mdc-dialog-surface{padding:24px}.mat-mdc-dialog-title{padding:0!important}.mat-mdc-dialog-title .mat-mdc-dialog-title:before{height:0!important}.mat-mdc-dialog-title *{position:relative;top:-30px!important}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:6px!important}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 8px!important}.mat-column-actions .mat-mdc-icon-button{width:30px!important;height:30px!important;top:6px!important}.mat-column-actions .mat-mdc-icon-button .mat-icon{bottom:9px!important;right:9px!important}.mat-mdc-progress-bar{border-radius:2px}.chip-mini-grey{background-color:#d9d9d9!important;border-radius:3px;display:inline-block;padding:0 6px;font-size:13px}.chip-mini-outline{background-color:#fff!important;border-radius:3px;display:inline-block;padding:0 6px;outline:1px solid #bbb;font-size:13px}.techlify-badge-grey-outlined{background-color:#f2f3f5!important;font-weight:400!important;font-size:12px!important;color:#000!important}.techlify-badge-white-outlined{font-weight:400!important;font-size:12px!important;border-style:solid!important;border-width:thin!important;color:#000!important;border-color:#000!important}\n"],
29407
+ styles: [".fl-md{width:200px!important}.fl-md .mat-mdc-form-field{width:100%!important}.fl-sm{width:150px!important}.fl-sm .mat-mdc-form-field{width:100%!important}.wpx-50{width:50px!important}.wpx-100{width:100px!important}.wpx-120{width:120px!important}.wpx-125{width:125px!important}.wpx-150{width:150px!important}.wpx-200{width:200px!important}.wpx-250{width:250px!important}.min-wpx-200{min-width:200px!important}.max-width-px-115{max-width:115px}.w-description{width:300px!important}.side-panel{width:300px!important;min-width:300px!important;flex-shrink:0!important}.h-250px{height:250px!important}.scroll-y{overflow-y:auto}.flex-basis-0{flex-basis:0}.flex-basis-5{flex-basis:5%}.flex-basis-8{flex-basis:8%}.flex-basis-10{flex-basis:10%}.flex-basis-15{flex-basis:15%}.flex-basis-20{flex-basis:20%}.flex-basis-25{flex-basis:25%}.flex-basis-30{flex-basis:30%}.flex-basis-35{flex-basis:35%}.flex-basis-40{flex-basis:40%}.flex-basis-45{flex-basis:45%}.flex-basis-48{flex-basis:48%}.flex-basis-49{flex-basis:49%}.flex-basis-50{flex-basis:50%}.flex-basis-60{flex-basis:60%}.flex-basis-65{flex-basis:65%}.flex-basis-70{flex-basis:70%}.flex-basis-80{flex-basis:80%}.flex-basis-90{flex-basis:90%}.flex-basis-95{flex-basis:95%}.flex-basis-100{flex-basis:100%}.flex-basis-50-minus-1rem{flex-basis:calc(50% - 1rem)}.flex-basis-50-minus-0-2rem{flex-basis:calc(50% - .2rem)}.flex-basis-20-minus-1rem{flex-basis:calc(20% - 1rem)}.flex-basis-15-minus-1rem{flex-basis:calc(15% - 1rem)}.flex-basis-50-minus-4px{flex-basis:calc(50% - 4px)}@media(min-width:992px){.flex-lg-basis-50{flex-basis:50%}}@media(min-width:1200px){.flex-xl-basis-30{flex-basis:30%}.flex-xl-basis-30-minus-1rem{flex:0 1 calc(30% - 1rem)}}.column-gap-1{column-gap:.25rem!important}.column-gap-2{column-gap:.5rem!important}.column-gap-3{column-gap:1rem!important}.column-gap-4{column-gap:1.5rem!important}.column-gap-5{column-gap:3rem!important}button,a,input{outline:none!important}::-webkit-scrollbar{width:.5em}::-webkit-scrollbar-track{border-radius:10px}::-webkit-scrollbar-thumb{background:gray;border-radius:10px}::-webkit-scrollbar-thumb:hover{background:#4d4c4c}.icon-md{height:24px!important;width:24px!important;font-size:24px!important;margin:0 1px}.icon-sm{height:20px!important;width:20px!important;font-size:20px!important}.icon-xs{height:16px!important;width:16px!important;font-size:16px!important}.mat-icon-xl{height:40px!important;width:40px!important;font-size:40px!important}.mat-icon-20px{font-size:20px!important;height:20px!important;width:20px!important}.mat-small-icon{height:16px!important;width:16px!important;font-size:16px!important}.mat-btn-md{height:25px!important;padding:0 8px!important}.mdc-button__label{letter-spacing:normal!important}.mat-mdc-button .mat-icon{height:24px!important;width:24px!important;font-size:24px!important}.mat-button-toggle-group{height:48px!important;align-items:center}.mat-button-toggle-button{height:48px!important}.mat-button-toggle-label-content{padding:0 8px!important;font-size:14px!important}.mat-mdc-slide-toggle label{margin:0!important}.small-slide-toggle{transform:scale(.8);transform-origin:left center}.fs-8{font-size:8px!important}.fs-12{font-size:12px!important}.fs-13{font-size:13px!important}.fs-16{font-size:16px!important}.fs-18{font-size:18px!important}.clickable:hover{cursor:pointer}.mat-mdc-form-field-hint-wrapper{padding:0 4px!important}.mat-mdc-floating-label{pointer-events:none!important}.nil-subscript-wrapper .mat-mdc-form-field-subscript-wrapper{height:0!important}.create-another .mat-mdc-checkbox label{margin:0!important}.create-another .mdc-checkbox{padding:0!important}.create-another .mdc-checkbox__background{position:relative;top:0;left:0}.mat-mdc-form-field.mat-form-field-disabled .mat-mdc-input-element{color:#555!important;-webkit-text-fill-color:#555555!important}.mat-mdc-form-field.mat-form-field-disabled .mat-mdc-select-value{color:#555!important}.mat-mdc-card{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);padding:16px}.mat-mdc-card-content{padding:0!important}.mat-mdc-dialog-surface{padding:24px}.mat-mdc-dialog-title{padding:0!important}.mat-mdc-dialog-title .mat-mdc-dialog-title:before{height:0!important}.mat-mdc-dialog-title *{position:relative;top:-30px!important}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:6px!important}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 8px!important}.mat-column-actions .mat-mdc-icon-button{width:30px!important;height:30px!important;top:6px!important}.mat-column-actions .mat-mdc-icon-button .mat-icon{bottom:9px!important;right:9px!important}.mat-mdc-progress-bar{border-radius:2px}.chip-mini-grey{background-color:#d9d9d9!important;border-radius:3px;display:inline-block;padding:0 6px;font-size:13px}.chip-mini-outline{background-color:#fff!important;border-radius:3px;display:inline-block;padding:0 6px;outline:1px solid #bbb;font-size:13px}.techlify-badge-grey-outlined{background-color:#f2f3f5!important;font-weight:400!important;font-size:12px!important;color:#000!important}.techlify-badge-white-outlined{font-weight:400!important;font-size:12px!important;border-style:solid!important;border-width:thin!important;color:#000!important;border-color:#000!important}.list-page-main{min-width:0}.list-page-content{max-width:100%}.list-page-filter-toggle{display:none!important}@media(max-width:991.98px){.list-page.list-page{flex-direction:column!important}.list-page>.list-page-main{display:contents!important}.list-page-header{order:-2;flex-wrap:wrap;row-gap:.5rem}.list-page>.list-page-side{order:-1;width:100%!important;min-width:0!important;margin:.5rem 0 0!important}.list-page>.list-page-side:not(.is-open){display:none!important}.list-page-header-filters{flex:1 1 100%;min-width:0}.list-page-header-filters:not(.is-open){display:none!important}.list-page-content{min-width:0;overflow-x:auto}.list-page-filter-toggle{display:inline-flex!important}.list-page-filter-toggle.is-active{color:var(--bs-primary, #0d6efd)}.list-page .list-page-filters{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));column-gap:.5rem!important;align-items:start}.list-page .list-page-filters>*{width:auto!important;min-width:0}.list-page .list-page-filters .mat-mdc-form-field{width:100%!important}.list-page-content .mat-mdc-header-cell,.list-page-content .mat-mdc-footer-cell,.list-page-content .mat-mdc-cell:not(.list-page-wrap){white-space:nowrap}.list-page-content .mat-mdc-cell.list-page-wrap{min-width:200px}.list-page-content .mat-mdc-cell,.list-page-content .mat-mdc-header-cell,.list-page-content .mat-mdc-footer-cell{padding-inline:8px}}@media(max-width:575.98px){.list-page .mat-mdc-card{padding:12px}.list-page .list-page-content.mat-mdc-card{padding:0}.list-page-stats{flex:1 1 100%}.list-page-stats>*{flex:1 1 0;text-align:center}}\n"],
29117
29408
  dependencies: [
29118
29409
  {
29119
29410
  kind: "directive",
@@ -29168,7 +29459,7 @@ i0.ɵɵngDeclareClassMetadata({
29168
29459
  changeDetection: ChangeDetectionStrategy.Eager,
29169
29460
  standalone: false,
29170
29461
  template: "<app-techlify-icon name=\"history\" matTooltip=\"Timeline History\" (click)=\"$event.stopPropagation();openDialog(listView)\"\n class=\"clickable\"></app-techlify-icon>\n\n<ng-template #listView>\n <app-timeline-activity-list [changeableId]=\"changeableId\" [changeableType]=\"changeableType\"\n [timelineableDisplayField]=\"timelineableDisplayField\" [timelineableType]=\"timelineableType\"\n [timelineableId]=\"timelineableId\" [title]=\"title\"></app-timeline-activity-list>\n</ng-template>",
29171
- styles: [".fl-md{width:200px!important}.fl-md .mat-mdc-form-field{width:100%!important}.fl-sm{width:150px!important}.fl-sm .mat-mdc-form-field{width:100%!important}.wpx-50{width:50px!important}.wpx-100{width:100px!important}.wpx-120{width:120px!important}.wpx-125{width:125px!important}.wpx-150{width:150px!important}.wpx-200{width:200px!important}.wpx-250{width:250px!important}.min-wpx-200{min-width:200px!important}.max-width-px-115{max-width:115px}.w-description{width:300px!important}.side-panel{width:300px!important;min-width:300px!important;flex-shrink:0!important}.h-250px{height:250px!important}.scroll-y{overflow-y:auto}.flex-basis-0{flex-basis:0}.flex-basis-5{flex-basis:5%}.flex-basis-8{flex-basis:8%}.flex-basis-10{flex-basis:10%}.flex-basis-15{flex-basis:15%}.flex-basis-20{flex-basis:20%}.flex-basis-25{flex-basis:25%}.flex-basis-30{flex-basis:30%}.flex-basis-35{flex-basis:35%}.flex-basis-40{flex-basis:40%}.flex-basis-45{flex-basis:45%}.flex-basis-48{flex-basis:48%}.flex-basis-49{flex-basis:49%}.flex-basis-50{flex-basis:50%}.flex-basis-60{flex-basis:60%}.flex-basis-65{flex-basis:65%}.flex-basis-70{flex-basis:70%}.flex-basis-80{flex-basis:80%}.flex-basis-90{flex-basis:90%}.flex-basis-95{flex-basis:95%}.flex-basis-100{flex-basis:100%}.flex-basis-50-minus-1rem{flex-basis:calc(50% - 1rem)}.flex-basis-50-minus-0-2rem{flex-basis:calc(50% - .2rem)}.flex-basis-20-minus-1rem{flex-basis:calc(20% - 1rem)}.flex-basis-15-minus-1rem{flex-basis:calc(15% - 1rem)}.flex-basis-50-minus-4px{flex-basis:calc(50% - 4px)}@media(min-width:992px){.flex-lg-basis-50{flex-basis:50%}}@media(min-width:1200px){.flex-xl-basis-30{flex-basis:30%}.flex-xl-basis-30-minus-1rem{flex:0 1 calc(30% - 1rem)}}.column-gap-1{column-gap:.25rem!important}.column-gap-2{column-gap:.5rem!important}.column-gap-3{column-gap:1rem!important}.column-gap-4{column-gap:1.5rem!important}.column-gap-5{column-gap:3rem!important}button,a,input{outline:none!important}::-webkit-scrollbar{width:.5em}::-webkit-scrollbar-track{border-radius:10px}::-webkit-scrollbar-thumb{background:gray;border-radius:10px}::-webkit-scrollbar-thumb:hover{background:#4d4c4c}.icon-md{height:24px!important;width:24px!important;font-size:24px!important;margin:0 1px}.icon-sm{height:20px!important;width:20px!important;font-size:20px!important}.icon-xs{height:16px!important;width:16px!important;font-size:16px!important}.mat-icon-xl{height:40px!important;width:40px!important;font-size:40px!important}.mat-icon-20px{font-size:20px!important;height:20px!important;width:20px!important}.mat-small-icon{height:16px!important;width:16px!important;font-size:16px!important}.mat-btn-md{height:25px!important;padding:0 8px!important}.mdc-button__label{letter-spacing:normal!important}.mat-mdc-button .mat-icon{height:24px!important;width:24px!important;font-size:24px!important}.mat-button-toggle-group{height:48px!important;align-items:center}.mat-button-toggle-button{height:48px!important}.mat-button-toggle-label-content{padding:0 8px!important;font-size:14px!important}.mat-mdc-slide-toggle label{margin:0!important}.small-slide-toggle{transform:scale(.8);transform-origin:left center}.fs-8{font-size:8px!important}.fs-12{font-size:12px!important}.fs-13{font-size:13px!important}.fs-16{font-size:16px!important}.fs-18{font-size:18px!important}.clickable:hover{cursor:pointer}.mat-mdc-form-field-hint-wrapper{padding:0 4px!important}.mat-mdc-floating-label{pointer-events:none!important}.nil-subscript-wrapper .mat-mdc-form-field-subscript-wrapper{height:0!important}.create-another .mat-mdc-checkbox label{margin:0!important}.create-another .mdc-checkbox{padding:0!important}.create-another .mdc-checkbox__background{position:relative;top:0;left:0}.mat-mdc-form-field.mat-form-field-disabled .mat-mdc-input-element{color:#555!important;-webkit-text-fill-color:#555555!important}.mat-mdc-form-field.mat-form-field-disabled .mat-mdc-select-value{color:#555!important}.mat-mdc-card{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);padding:16px}.mat-mdc-card-content{padding:0!important}.mat-mdc-dialog-surface{padding:24px}.mat-mdc-dialog-title{padding:0!important}.mat-mdc-dialog-title .mat-mdc-dialog-title:before{height:0!important}.mat-mdc-dialog-title *{position:relative;top:-30px!important}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:6px!important}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 8px!important}.mat-column-actions .mat-mdc-icon-button{width:30px!important;height:30px!important;top:6px!important}.mat-column-actions .mat-mdc-icon-button .mat-icon{bottom:9px!important;right:9px!important}.mat-mdc-progress-bar{border-radius:2px}.chip-mini-grey{background-color:#d9d9d9!important;border-radius:3px;display:inline-block;padding:0 6px;font-size:13px}.chip-mini-outline{background-color:#fff!important;border-radius:3px;display:inline-block;padding:0 6px;outline:1px solid #bbb;font-size:13px}.techlify-badge-grey-outlined{background-color:#f2f3f5!important;font-weight:400!important;font-size:12px!important;color:#000!important}.techlify-badge-white-outlined{font-weight:400!important;font-size:12px!important;border-style:solid!important;border-width:thin!important;color:#000!important;border-color:#000!important}\n"]
29462
+ styles: [".fl-md{width:200px!important}.fl-md .mat-mdc-form-field{width:100%!important}.fl-sm{width:150px!important}.fl-sm .mat-mdc-form-field{width:100%!important}.wpx-50{width:50px!important}.wpx-100{width:100px!important}.wpx-120{width:120px!important}.wpx-125{width:125px!important}.wpx-150{width:150px!important}.wpx-200{width:200px!important}.wpx-250{width:250px!important}.min-wpx-200{min-width:200px!important}.max-width-px-115{max-width:115px}.w-description{width:300px!important}.side-panel{width:300px!important;min-width:300px!important;flex-shrink:0!important}.h-250px{height:250px!important}.scroll-y{overflow-y:auto}.flex-basis-0{flex-basis:0}.flex-basis-5{flex-basis:5%}.flex-basis-8{flex-basis:8%}.flex-basis-10{flex-basis:10%}.flex-basis-15{flex-basis:15%}.flex-basis-20{flex-basis:20%}.flex-basis-25{flex-basis:25%}.flex-basis-30{flex-basis:30%}.flex-basis-35{flex-basis:35%}.flex-basis-40{flex-basis:40%}.flex-basis-45{flex-basis:45%}.flex-basis-48{flex-basis:48%}.flex-basis-49{flex-basis:49%}.flex-basis-50{flex-basis:50%}.flex-basis-60{flex-basis:60%}.flex-basis-65{flex-basis:65%}.flex-basis-70{flex-basis:70%}.flex-basis-80{flex-basis:80%}.flex-basis-90{flex-basis:90%}.flex-basis-95{flex-basis:95%}.flex-basis-100{flex-basis:100%}.flex-basis-50-minus-1rem{flex-basis:calc(50% - 1rem)}.flex-basis-50-minus-0-2rem{flex-basis:calc(50% - .2rem)}.flex-basis-20-minus-1rem{flex-basis:calc(20% - 1rem)}.flex-basis-15-minus-1rem{flex-basis:calc(15% - 1rem)}.flex-basis-50-minus-4px{flex-basis:calc(50% - 4px)}@media(min-width:992px){.flex-lg-basis-50{flex-basis:50%}}@media(min-width:1200px){.flex-xl-basis-30{flex-basis:30%}.flex-xl-basis-30-minus-1rem{flex:0 1 calc(30% - 1rem)}}.column-gap-1{column-gap:.25rem!important}.column-gap-2{column-gap:.5rem!important}.column-gap-3{column-gap:1rem!important}.column-gap-4{column-gap:1.5rem!important}.column-gap-5{column-gap:3rem!important}button,a,input{outline:none!important}::-webkit-scrollbar{width:.5em}::-webkit-scrollbar-track{border-radius:10px}::-webkit-scrollbar-thumb{background:gray;border-radius:10px}::-webkit-scrollbar-thumb:hover{background:#4d4c4c}.icon-md{height:24px!important;width:24px!important;font-size:24px!important;margin:0 1px}.icon-sm{height:20px!important;width:20px!important;font-size:20px!important}.icon-xs{height:16px!important;width:16px!important;font-size:16px!important}.mat-icon-xl{height:40px!important;width:40px!important;font-size:40px!important}.mat-icon-20px{font-size:20px!important;height:20px!important;width:20px!important}.mat-small-icon{height:16px!important;width:16px!important;font-size:16px!important}.mat-btn-md{height:25px!important;padding:0 8px!important}.mdc-button__label{letter-spacing:normal!important}.mat-mdc-button .mat-icon{height:24px!important;width:24px!important;font-size:24px!important}.mat-button-toggle-group{height:48px!important;align-items:center}.mat-button-toggle-button{height:48px!important}.mat-button-toggle-label-content{padding:0 8px!important;font-size:14px!important}.mat-mdc-slide-toggle label{margin:0!important}.small-slide-toggle{transform:scale(.8);transform-origin:left center}.fs-8{font-size:8px!important}.fs-12{font-size:12px!important}.fs-13{font-size:13px!important}.fs-16{font-size:16px!important}.fs-18{font-size:18px!important}.clickable:hover{cursor:pointer}.mat-mdc-form-field-hint-wrapper{padding:0 4px!important}.mat-mdc-floating-label{pointer-events:none!important}.nil-subscript-wrapper .mat-mdc-form-field-subscript-wrapper{height:0!important}.create-another .mat-mdc-checkbox label{margin:0!important}.create-another .mdc-checkbox{padding:0!important}.create-another .mdc-checkbox__background{position:relative;top:0;left:0}.mat-mdc-form-field.mat-form-field-disabled .mat-mdc-input-element{color:#555!important;-webkit-text-fill-color:#555555!important}.mat-mdc-form-field.mat-form-field-disabled .mat-mdc-select-value{color:#555!important}.mat-mdc-card{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);padding:16px}.mat-mdc-card-content{padding:0!important}.mat-mdc-dialog-surface{padding:24px}.mat-mdc-dialog-title{padding:0!important}.mat-mdc-dialog-title .mat-mdc-dialog-title:before{height:0!important}.mat-mdc-dialog-title *{position:relative;top:-30px!important}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:6px!important}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 8px!important}.mat-column-actions .mat-mdc-icon-button{width:30px!important;height:30px!important;top:6px!important}.mat-column-actions .mat-mdc-icon-button .mat-icon{bottom:9px!important;right:9px!important}.mat-mdc-progress-bar{border-radius:2px}.chip-mini-grey{background-color:#d9d9d9!important;border-radius:3px;display:inline-block;padding:0 6px;font-size:13px}.chip-mini-outline{background-color:#fff!important;border-radius:3px;display:inline-block;padding:0 6px;outline:1px solid #bbb;font-size:13px}.techlify-badge-grey-outlined{background-color:#f2f3f5!important;font-weight:400!important;font-size:12px!important;color:#000!important}.techlify-badge-white-outlined{font-weight:400!important;font-size:12px!important;border-style:solid!important;border-width:thin!important;color:#000!important;border-color:#000!important}.list-page-main{min-width:0}.list-page-content{max-width:100%}.list-page-filter-toggle{display:none!important}@media(max-width:991.98px){.list-page.list-page{flex-direction:column!important}.list-page>.list-page-main{display:contents!important}.list-page-header{order:-2;flex-wrap:wrap;row-gap:.5rem}.list-page>.list-page-side{order:-1;width:100%!important;min-width:0!important;margin:.5rem 0 0!important}.list-page>.list-page-side:not(.is-open){display:none!important}.list-page-header-filters{flex:1 1 100%;min-width:0}.list-page-header-filters:not(.is-open){display:none!important}.list-page-content{min-width:0;overflow-x:auto}.list-page-filter-toggle{display:inline-flex!important}.list-page-filter-toggle.is-active{color:var(--bs-primary, #0d6efd)}.list-page .list-page-filters{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));column-gap:.5rem!important;align-items:start}.list-page .list-page-filters>*{width:auto!important;min-width:0}.list-page .list-page-filters .mat-mdc-form-field{width:100%!important}.list-page-content .mat-mdc-header-cell,.list-page-content .mat-mdc-footer-cell,.list-page-content .mat-mdc-cell:not(.list-page-wrap){white-space:nowrap}.list-page-content .mat-mdc-cell.list-page-wrap{min-width:200px}.list-page-content .mat-mdc-cell,.list-page-content .mat-mdc-header-cell,.list-page-content .mat-mdc-footer-cell{padding-inline:8px}}@media(max-width:575.98px){.list-page .mat-mdc-card{padding:12px}.list-page .list-page-content.mat-mdc-card{padding:0}.list-page-stats{flex:1 1 100%}.list-page-stats>*{flex:1 1 0;text-align:center}}\n"]
29172
29463
  }]
29173
29464
  }],
29174
29465
  ctorParameters: () => [{ type: i1$2.MatDialog }],
@@ -32377,7 +32668,14 @@ var TechlifyChartComponent = class TechlifyChartComponent {
32377
32668
  this.type = ChartType.ColumnChart;
32378
32669
  this.chartOptions = {};
32379
32670
  this.colors = {};
32671
+ this.view = "chart";
32672
+ this.showViewSelector = true;
32673
+ this.viewChange = new EventEmitter();
32380
32674
  this.loaded = new EventEmitter();
32675
+ this.tableColumns = [];
32676
+ this.displayedColumns = [];
32677
+ this.tableData = [];
32678
+ this.hasTotals = false;
32381
32679
  this.chartColumns = [];
32382
32680
  this.chartData = [];
32383
32681
  this.options = {};
@@ -32403,6 +32701,12 @@ var TechlifyChartComponent = class TechlifyChartComponent {
32403
32701
  get chartType() {
32404
32702
  return this.type;
32405
32703
  }
32704
+ setView(view) {
32705
+ if (view === this.view) return;
32706
+ this.view = view;
32707
+ this.viewChange.emit(view);
32708
+ this.changeDetector.markForCheck();
32709
+ }
32406
32710
  ngOnChanges() {
32407
32711
  const params = this.getParams();
32408
32712
  const request = JSON.stringify([this.url, params]);
@@ -32431,6 +32735,7 @@ var TechlifyChartComponent = class TechlifyChartComponent {
32431
32735
  }
32432
32736
  render() {
32433
32737
  const [xColumn, ...valueColumns] = this.data?.columns ?? [];
32738
+ this.renderTable(xColumn, valueColumns);
32434
32739
  const isColorPerBar = valueColumns.length === 1 && ![ChartType.PieChart, ChartType.LineChart].includes(this.chartType);
32435
32740
  const styleColumn = isColorPerBar ? [{
32436
32741
  role: "style",
@@ -32456,6 +32761,18 @@ var TechlifyChartComponent = class TechlifyChartComponent {
32456
32761
  };
32457
32762
  this.changeDetector.markForCheck();
32458
32763
  }
32764
+ renderTable(xColumn, valueColumns) {
32765
+ const totals = this.data?.totals ?? {};
32766
+ this.tableColumns = xColumn ? [xColumn, ...valueColumns].map((column, index) => ({
32767
+ id: `column_${index}`,
32768
+ label: column.label,
32769
+ isNumber: index > 0,
32770
+ total: index > 0 ? totals[column.key] ?? null : null
32771
+ })) : [];
32772
+ this.displayedColumns = this.tableColumns.map((column) => column.id);
32773
+ this.tableData = (this.data?.rows ?? []).map(([x, ...values]) => [this.formatX(x, xColumn), ...values]);
32774
+ this.hasTotals = this.tableData.length > 0 && this.tableColumns.some((column) => column.total !== null);
32775
+ }
32459
32776
  generateColor() {
32460
32777
  const h = 360 * Math.random();
32461
32778
  const s = 25 + 70 * Math.random();
@@ -32485,7 +32802,7 @@ var TechlifyChartComponent = class TechlifyChartComponent {
32485
32802
  }
32486
32803
  static {
32487
32804
  this.ɵcmp = i0.ɵɵngDeclareComponent({
32488
- minVersion: "14.0.0",
32805
+ minVersion: "17.0.0",
32489
32806
  version: "22.2.3",
32490
32807
  type: TechlifyChartComponent,
32491
32808
  isStandalone: true,
@@ -32504,28 +32821,23 @@ var TechlifyChartComponent = class TechlifyChartComponent {
32504
32821
  title: "title",
32505
32822
  subtitle: "subtitle",
32506
32823
  chartOptions: "chartOptions",
32507
- colors: "colors"
32824
+ colors: "colors",
32825
+ view: "view",
32826
+ showViewSelector: "showViewSelector"
32827
+ },
32828
+ outputs: {
32829
+ viewChange: "viewChange",
32830
+ loaded: "loaded"
32508
32831
  },
32509
- outputs: { loaded: "loaded" },
32510
32832
  usesOnChanges: true,
32511
32833
  ngImport: i0,
32512
- template: "<div class=\"d-flex flex-column p-2\">\n <div class=\"d-flex flex-row flex-wrap align-items-center gap-2\">\n <div class=\"d-flex flex-column\">\n <h6 *ngIf=\"title\" class=\"m-0\">{{title}}</h6>\n <small *ngIf=\"subtitle\" class=\"text-secondary\">{{subtitle}}</small>\n </div>\n <span class=\"flex-grow-1\"></span>\n <!-- Header content, i.e. totals -->\n <ng-content></ng-content>\n </div>\n\n <mat-progress-bar *ngIf=\"isLoading\" mode=\"indeterminate\" class=\"mt-2\"></mat-progress-bar>\n\n <google-chart *ngIf=\"chartData.length; else noData\" class=\"chart\" [type]=\"chartType\" [data]=\"chartData\"\n [columns]=\"chartColumns\" [options]=\"options\" [dynamicResize]=\"true\"></google-chart>\n\n <ng-template #noData>\n <div *ngIf=\"!isLoading\" class=\"chart d-flex align-items-center justify-content-center text-secondary\">\n {{ hasError ? 'Could not load' : 'No data for' }} {{ title ?? 'chart' }}\n </div>\n </ng-template>\n</div>\n",
32513
- styles: [".chart{width:100%;height:200px}\n"],
32834
+ template: "<div class=\"d-flex flex-column p-2\">\n <div class=\"d-flex flex-row flex-wrap align-items-center gap-2\">\n <div class=\"d-flex flex-column\">\n <div class=\"d-flex align-items-center\">\n @if (title) {\n <h6 class=\"m-0\">{{ title }}</h6>\n }\n @if (showViewSelector) {\n <app-techlify-icon [name]=\"view\" [matMenuTriggerFor]=\"viewMenu\" class=\"clickable d-print-none\"\n [class.ms-2]=\"title\" matTooltip=\"Display Selector\"></app-techlify-icon>\n <mat-menu #viewMenu=\"matMenu\">\n <button mat-menu-item (click)=\"setView('chart')\">\n <app-techlify-icon name=\"chart\"></app-techlify-icon> Chart View\n </button>\n <button mat-menu-item (click)=\"setView('table')\">\n <app-techlify-icon name=\"table\"></app-techlify-icon> Table View\n </button>\n </mat-menu>\n }\n </div>\n @if (subtitle) {\n <small class=\"text-secondary\">{{ subtitle }}</small>\n }\n </div>\n <span class=\"flex-grow-1\"></span>\n <!-- Header content, i.e. totals -->\n <ng-content></ng-content>\n </div>\n\n @if (isLoading) {\n <mat-progress-bar mode=\"indeterminate\" class=\"mt-2\"></mat-progress-bar>\n }\n\n @if (view === 'table') {\n <!-- Scrolls within the chart's height, with the header and totals kept in view -->\n <div class=\"chart table-view\">\n <table mat-table [dataSource]=\"tableData\" class=\"w-100\">\n @for (column of tableColumns; track column.id; let index = $index) {\n <ng-container [matColumnDef]=\"column.id\">\n <th mat-header-cell *matHeaderCellDef [class.text-end]=\"column.isNumber\">{{ column.label }}</th>\n <td mat-cell *matCellDef=\"let row\" [class.text-end]=\"column.isNumber\">\n {{ column.isNumber ? (row[index] | number:'1.0-2') : row[index] }}\n </td>\n <td mat-footer-cell *matFooterCellDef [class.text-end]=\"column.isNumber\">\n {{ column.isNumber ? (column.total | number:'1.0-2') : 'Total' }}\n </td>\n </ng-container>\n }\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns\"></tr>\n @if (hasTotals) {\n <tr mat-footer-row *matFooterRowDef=\"displayedColumns; sticky: true\"></tr>\n }\n <tr class=\"mat-mdc-row\" *matNoDataRow>\n <td class=\"mat-mdc-cell text-center text-secondary\" [attr.colspan]=\"displayedColumns.length || 1\">\n {{ isLoading ? 'Loading' : hasError ? 'Could not load' : 'No data for' }} {{ title ?? 'chart' }}\n </td>\n </tr>\n </table>\n </div>\n } @else if (chartData.length) {\n <google-chart class=\"chart\" [type]=\"chartType\" [data]=\"chartData\" [columns]=\"chartColumns\" [options]=\"options\"\n [dynamicResize]=\"true\"></google-chart>\n } @else if (!isLoading) {\n <div class=\"chart d-flex align-items-center justify-content-center text-secondary\">\n {{ hasError ? 'Could not load' : 'No data for' }} {{ title ?? 'chart' }}\n </div>\n }\n</div>\n",
32835
+ styles: [".chart{width:100%;height:200px}.table-view{overflow-y:auto;--mat-table-header-container-height: 32px;--mat-table-row-item-container-height: 28px;--mat-table-header-headline-size: 12px;--mat-table-row-item-label-text-size: 12px;--mat-table-footer-container-height: 28px;--mat-table-footer-supporting-text-size: 12px}.table-view .mat-mdc-header-cell,.table-view .mat-mdc-cell,.table-view .mat-mdc-footer-cell{padding:0 8px;white-space:nowrap}.table-view .mat-mdc-header-cell,.table-view .mat-mdc-footer-cell{font-weight:600}.table-view .mat-mdc-footer-row{background-color:#f5f5f5}.table-view .mat-mdc-row:nth-child(2n){background-color:#fafafa}\n"],
32514
32836
  dependencies: [
32515
32837
  {
32516
32838
  kind: "ngmodule",
32517
32839
  type: CommonModule
32518
32840
  },
32519
- {
32520
- kind: "directive",
32521
- type: i1$4.NgIf,
32522
- selector: "[ngIf]",
32523
- inputs: [
32524
- "ngIf",
32525
- "ngIfThen",
32526
- "ngIfElse"
32527
- ]
32528
- },
32529
32841
  {
32530
32842
  kind: "component",
32531
32843
  type: GoogleChart,
@@ -32548,6 +32860,181 @@ var TechlifyChartComponent = class TechlifyChartComponent {
32548
32860
  ],
32549
32861
  outputs: ["animationEnd"],
32550
32862
  exportAs: ["matProgressBar"]
32863
+ },
32864
+ {
32865
+ kind: "ngmodule",
32866
+ type: MatMenuModule
32867
+ },
32868
+ {
32869
+ kind: "component",
32870
+ type: i6$2.MatMenu,
32871
+ selector: "mat-menu",
32872
+ inputs: [
32873
+ "backdropClass",
32874
+ "aria-label",
32875
+ "aria-labelledby",
32876
+ "aria-describedby",
32877
+ "xPosition",
32878
+ "yPosition",
32879
+ "overlapTrigger",
32880
+ "hasBackdrop",
32881
+ "class",
32882
+ "classList"
32883
+ ],
32884
+ outputs: ["closed", "close"],
32885
+ exportAs: ["matMenu"]
32886
+ },
32887
+ {
32888
+ kind: "component",
32889
+ type: i6$2.MatMenuItem,
32890
+ selector: "[mat-menu-item]",
32891
+ inputs: [
32892
+ "role",
32893
+ "disabled",
32894
+ "disabledInteractive",
32895
+ "disableRipple"
32896
+ ],
32897
+ exportAs: ["matMenuItem"]
32898
+ },
32899
+ {
32900
+ kind: "directive",
32901
+ type: i6$2.MatMenuTrigger,
32902
+ selector: "[mat-menu-trigger-for], [matMenuTriggerFor]",
32903
+ inputs: [
32904
+ "mat-menu-trigger-for",
32905
+ "matMenuTriggerFor",
32906
+ "matMenuTriggerData",
32907
+ "matMenuTriggerRestoreFocus"
32908
+ ],
32909
+ outputs: [
32910
+ "menuOpened",
32911
+ "onMenuOpen",
32912
+ "menuClosed",
32913
+ "onMenuClose"
32914
+ ],
32915
+ exportAs: ["matMenuTrigger"]
32916
+ },
32917
+ {
32918
+ kind: "ngmodule",
32919
+ type: MatTableModule
32920
+ },
32921
+ {
32922
+ kind: "component",
32923
+ type: i8$3.MatTable,
32924
+ selector: "mat-table, table[mat-table]",
32925
+ exportAs: ["matTable"]
32926
+ },
32927
+ {
32928
+ kind: "directive",
32929
+ type: i8$3.MatHeaderCellDef,
32930
+ selector: "[matHeaderCellDef]"
32931
+ },
32932
+ {
32933
+ kind: "directive",
32934
+ type: i8$3.MatHeaderRowDef,
32935
+ selector: "[matHeaderRowDef]",
32936
+ inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"]
32937
+ },
32938
+ {
32939
+ kind: "directive",
32940
+ type: i8$3.MatColumnDef,
32941
+ selector: "[matColumnDef]",
32942
+ inputs: ["matColumnDef"]
32943
+ },
32944
+ {
32945
+ kind: "directive",
32946
+ type: i8$3.MatCellDef,
32947
+ selector: "[matCellDef]"
32948
+ },
32949
+ {
32950
+ kind: "directive",
32951
+ type: i8$3.MatRowDef,
32952
+ selector: "[matRowDef]",
32953
+ inputs: ["matRowDefColumns", "matRowDefWhen"]
32954
+ },
32955
+ {
32956
+ kind: "directive",
32957
+ type: i8$3.MatFooterCellDef,
32958
+ selector: "[matFooterCellDef]"
32959
+ },
32960
+ {
32961
+ kind: "directive",
32962
+ type: i8$3.MatFooterRowDef,
32963
+ selector: "[matFooterRowDef]",
32964
+ inputs: ["matFooterRowDef", "matFooterRowDefSticky"]
32965
+ },
32966
+ {
32967
+ kind: "directive",
32968
+ type: i8$3.MatHeaderCell,
32969
+ selector: "mat-header-cell, th[mat-header-cell]"
32970
+ },
32971
+ {
32972
+ kind: "directive",
32973
+ type: i8$3.MatCell,
32974
+ selector: "mat-cell, td[mat-cell]"
32975
+ },
32976
+ {
32977
+ kind: "directive",
32978
+ type: i8$3.MatFooterCell,
32979
+ selector: "mat-footer-cell, td[mat-footer-cell]"
32980
+ },
32981
+ {
32982
+ kind: "component",
32983
+ type: i8$3.MatHeaderRow,
32984
+ selector: "mat-header-row, tr[mat-header-row]",
32985
+ exportAs: ["matHeaderRow"]
32986
+ },
32987
+ {
32988
+ kind: "component",
32989
+ type: i8$3.MatRow,
32990
+ selector: "mat-row, tr[mat-row]",
32991
+ exportAs: ["matRow"]
32992
+ },
32993
+ {
32994
+ kind: "component",
32995
+ type: i8$3.MatFooterRow,
32996
+ selector: "mat-footer-row, tr[mat-footer-row]",
32997
+ exportAs: ["matFooterRow"]
32998
+ },
32999
+ {
33000
+ kind: "directive",
33001
+ type: i8$3.MatNoDataRow,
33002
+ selector: "ng-template[matNoDataRow]"
33003
+ },
33004
+ {
33005
+ kind: "ngmodule",
33006
+ type: MatTooltipModule
33007
+ },
33008
+ {
33009
+ kind: "directive",
33010
+ type: i8.MatTooltip,
33011
+ selector: "[matTooltip]",
33012
+ inputs: [
33013
+ "matTooltipPosition",
33014
+ "matTooltipPositionAtOrigin",
33015
+ "matTooltipDisabled",
33016
+ "matTooltipShowDelay",
33017
+ "matTooltipHideDelay",
33018
+ "matTooltipTouchGestures",
33019
+ "matTooltip",
33020
+ "matTooltipClass"
33021
+ ],
33022
+ exportAs: ["matTooltip"]
33023
+ },
33024
+ {
33025
+ kind: "ngmodule",
33026
+ type: TechlifyIconModule
33027
+ },
33028
+ {
33029
+ kind: "component",
33030
+ type: TechlifyIconComponent,
33031
+ selector: "app-techlify-icon",
33032
+ inputs: ["name", "size"]
33033
+ },
33034
+ {
33035
+ kind: "pipe",
33036
+ type: i1$4.DecimalPipe,
33037
+ name: "number"
32551
33038
  }
32552
33039
  ],
32553
33040
  changeDetection: i0.ChangeDetectionStrategy.OnPush
@@ -32568,10 +33055,14 @@ i0.ɵɵngDeclareClassMetadata({
32568
33055
  imports: [
32569
33056
  CommonModule,
32570
33057
  GoogleChart,
32571
- MatProgressBarModule
33058
+ MatProgressBarModule,
33059
+ MatMenuModule,
33060
+ MatTableModule,
33061
+ MatTooltipModule,
33062
+ TechlifyIconModule
32572
33063
  ],
32573
- template: "<div class=\"d-flex flex-column p-2\">\n <div class=\"d-flex flex-row flex-wrap align-items-center gap-2\">\n <div class=\"d-flex flex-column\">\n <h6 *ngIf=\"title\" class=\"m-0\">{{title}}</h6>\n <small *ngIf=\"subtitle\" class=\"text-secondary\">{{subtitle}}</small>\n </div>\n <span class=\"flex-grow-1\"></span>\n <!-- Header content, i.e. totals -->\n <ng-content></ng-content>\n </div>\n\n <mat-progress-bar *ngIf=\"isLoading\" mode=\"indeterminate\" class=\"mt-2\"></mat-progress-bar>\n\n <google-chart *ngIf=\"chartData.length; else noData\" class=\"chart\" [type]=\"chartType\" [data]=\"chartData\"\n [columns]=\"chartColumns\" [options]=\"options\" [dynamicResize]=\"true\"></google-chart>\n\n <ng-template #noData>\n <div *ngIf=\"!isLoading\" class=\"chart d-flex align-items-center justify-content-center text-secondary\">\n {{ hasError ? 'Could not load' : 'No data for' }} {{ title ?? 'chart' }}\n </div>\n </ng-template>\n</div>\n",
32574
- styles: [".chart{width:100%;height:200px}\n"]
33064
+ template: "<div class=\"d-flex flex-column p-2\">\n <div class=\"d-flex flex-row flex-wrap align-items-center gap-2\">\n <div class=\"d-flex flex-column\">\n <div class=\"d-flex align-items-center\">\n @if (title) {\n <h6 class=\"m-0\">{{ title }}</h6>\n }\n @if (showViewSelector) {\n <app-techlify-icon [name]=\"view\" [matMenuTriggerFor]=\"viewMenu\" class=\"clickable d-print-none\"\n [class.ms-2]=\"title\" matTooltip=\"Display Selector\"></app-techlify-icon>\n <mat-menu #viewMenu=\"matMenu\">\n <button mat-menu-item (click)=\"setView('chart')\">\n <app-techlify-icon name=\"chart\"></app-techlify-icon> Chart View\n </button>\n <button mat-menu-item (click)=\"setView('table')\">\n <app-techlify-icon name=\"table\"></app-techlify-icon> Table View\n </button>\n </mat-menu>\n }\n </div>\n @if (subtitle) {\n <small class=\"text-secondary\">{{ subtitle }}</small>\n }\n </div>\n <span class=\"flex-grow-1\"></span>\n <!-- Header content, i.e. totals -->\n <ng-content></ng-content>\n </div>\n\n @if (isLoading) {\n <mat-progress-bar mode=\"indeterminate\" class=\"mt-2\"></mat-progress-bar>\n }\n\n @if (view === 'table') {\n <!-- Scrolls within the chart's height, with the header and totals kept in view -->\n <div class=\"chart table-view\">\n <table mat-table [dataSource]=\"tableData\" class=\"w-100\">\n @for (column of tableColumns; track column.id; let index = $index) {\n <ng-container [matColumnDef]=\"column.id\">\n <th mat-header-cell *matHeaderCellDef [class.text-end]=\"column.isNumber\">{{ column.label }}</th>\n <td mat-cell *matCellDef=\"let row\" [class.text-end]=\"column.isNumber\">\n {{ column.isNumber ? (row[index] | number:'1.0-2') : row[index] }}\n </td>\n <td mat-footer-cell *matFooterCellDef [class.text-end]=\"column.isNumber\">\n {{ column.isNumber ? (column.total | number:'1.0-2') : 'Total' }}\n </td>\n </ng-container>\n }\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns\"></tr>\n @if (hasTotals) {\n <tr mat-footer-row *matFooterRowDef=\"displayedColumns; sticky: true\"></tr>\n }\n <tr class=\"mat-mdc-row\" *matNoDataRow>\n <td class=\"mat-mdc-cell text-center text-secondary\" [attr.colspan]=\"displayedColumns.length || 1\">\n {{ isLoading ? 'Loading' : hasError ? 'Could not load' : 'No data for' }} {{ title ?? 'chart' }}\n </td>\n </tr>\n </table>\n </div>\n } @else if (chartData.length) {\n <google-chart class=\"chart\" [type]=\"chartType\" [data]=\"chartData\" [columns]=\"chartColumns\" [options]=\"options\"\n [dynamicResize]=\"true\"></google-chart>\n } @else if (!isLoading) {\n <div class=\"chart d-flex align-items-center justify-content-center text-secondary\">\n {{ hasError ? 'Could not load' : 'No data for' }} {{ title ?? 'chart' }}\n </div>\n }\n</div>\n",
33065
+ styles: [".chart{width:100%;height:200px}.table-view{overflow-y:auto;--mat-table-header-container-height: 32px;--mat-table-row-item-container-height: 28px;--mat-table-header-headline-size: 12px;--mat-table-row-item-label-text-size: 12px;--mat-table-footer-container-height: 28px;--mat-table-footer-supporting-text-size: 12px}.table-view .mat-mdc-header-cell,.table-view .mat-mdc-cell,.table-view .mat-mdc-footer-cell{padding:0 8px;white-space:nowrap}.table-view .mat-mdc-header-cell,.table-view .mat-mdc-footer-cell{font-weight:600}.table-view .mat-mdc-footer-row{background-color:#f5f5f5}.table-view .mat-mdc-row:nth-child(2n){background-color:#fafafa}\n"]
32575
33066
  }]
32576
33067
  }],
32577
33068
  ctorParameters: () => [],
@@ -32593,9 +33084,12 @@ i0.ɵɵngDeclareClassMetadata({
32593
33084
  subtitle: [{ type: Input }],
32594
33085
  chartOptions: [{ type: Input }],
32595
33086
  colors: [{ type: Input }],
33087
+ view: [{ type: Input }],
33088
+ showViewSelector: [{ type: Input }],
33089
+ viewChange: [{ type: Output }],
32596
33090
  loaded: [{ type: Output }]
32597
33091
  }
32598
33092
  });
32599
- export { AccessControlConfigModule, ActionPopup, ActionPopupComponent, ActionPopupModule, AdminRoleListComponent, AdminRoleListModule, AdminRolePermissionFormComponent, AdminRolePermissionFormModule, AdminRoleService, AlertService, ApiPrefixInterceptor, AppAdminHomeComponent, AppAdminModule, AppAdminUserList, AppAdminUserViewComponent, AppAdminUserViewModule, AppUpdateService, AuditLogForModelComponent, AuditLogForModelModule, AuditLogForModelRoutingModule, AuditLogListComponent, AuditLogListFilterComponent, AuditLogListFilterModule, AuditLogListFilterRoutingModule, AuditLogListModule, AuditLogListRoutingModule, AuditLogModule, AuditLogRoutingModule, AuditLogViewComponent, AuditLogViewModelComponent, AuditLogViewModelModule, AuditLogViewModelRoutingModule, AuditLogViewModule, AuditLogViewRoutingModule, AuditLogsViewModelComponent, AuditLogsViewModelModule, AuditLogsViewModelRoutingModule, AuthenticationGuard, AuthenticationService, CacheInterceptor, ChangePasswordModule, ClientService, ColumnConfig, ColumnSelectorComponent, ColumnSelectorModule, CommentFormComponent, CompanyInfoDisplayComponent, CompanyInformationComponent, ConfigService, CoreModule, CountryService, CredentialsService, CurrentUserService, CustomIconComponent, CustomIconModule, DEFAULT_SELECTED_VALUE, DataTable, DataTableComponent, DataTableModule, DateUtils, DatetimeLocalDirective, DocumentViewerComponent, DocumentViewerModule, EmailSubscriptionForUserComponent, EmailSubscriptionForUserModule, EmailSubscriptionForUserRoutingModule, EmailSubscriptionModule, EmailSubscriptionRoutingModule, EmailSubscriptionTypeFormComponent, EmailSubscriptionTypeFormModule, EmailSubscriptionTypeFormRoutingModule, EmailSubscriptionTypeListComponent, EmailSubscriptionTypeListModule, EmailSubscriptionTypeListRoutingModule, EmailSubscriptionTypeModule, EmailSubscriptionTypeRoutingModule, EmailSubscriptionUserFormComponent, EmailSubscriptionUserFormModule, EmailSubscriptionUserFormRoutingModule, EmailSubscriptionUserListComponent, EmailSubscriptionUserListFilterComponent, EmailSubscriptionUserListFilterModule, EmailSubscriptionUserListFilterRoutingModule, EmailSubscriptionUserListModule, EmailSubscriptionUserListRoutingModule, EmailSubscriptionUserModule, EmailSubscriptionUserRoutingModule, EntityFileFormComponent, EntityFileListComponent, EntityFileListModule, EntityFileListModule as EntityFilesViewAllModule, EntityFileListWidgetComponent, EntityFileService, EnvironmentService, ErrorHandlerInterceptor, ErrorHandlerService, ErrorSnackComponent, ExportExcelButtonComponent, ExportExcelModule, FileDragdropUploaderComponent, FileDragdropUploaderModule, FileDropperComponent, FileDropperConfig, FileDropperModule, FilterService, ForgotPasswordComponent, ForgotPasswordModule, ForgotPasswordRoutingModule, FormConfigurationFieldFormComponent, FormConfigurationFieldFormModule, FormConfigurationFieldFormRoutingModule, FormConfigurationForFormComponent, FormConfigurationForFormModule, FormConfigurationFormFieldService, FormConfigurationFormService, FormConfigurationUtilityService, FormValidatorService, HTTP_DYNAMIC_INTERCEPTORS, HttpCacheService, HttpService, ImportCsvComponent, ImportCsvModule, LoaderComponent, LoaderModule, LockedDate, LockedDateFormComponent, LockedDateListComponent, LockedDateLockUnlockButtonComponent, LockedDateModule, LockedDateService, LogLevel, Logger, LoginComponent, LoginFormFieldsComponent, LoginHistoryForUserComponent, LoginHistoryForUserModule, LoginHistoryForUserRoutingModule, LoginModule, LoginRoutingModule, MaterialModule, MultiUserConfig, MyTechlifyViewListingComponent, MyTechlifyViewListingModule, MyTechlifyViewService, NgxTechlifyUsersModule, NoteCommentListComponent, NoteFormComponent, NoteListComponent, NoteModule, NumItemsSelector, NumberInputButtonComponent, NumberInputButtonModule, NumberSelectorComponent, OrdinalPipe, PageEvent, PdfButtonComponent, PdfButtonModule, Permission, PermissionModule, PermissionRoutingProvider, PermissionsManagementComponent, PhoneNumberSelectorComponent, ProfileEditComponent, ProfileModule, ProfileRoutingModule, ReadMoreComponent, ReadMoreModule, RequestHelperService, ResetPasswordComponent, ResetPasswordModule, ResetPasswordRoutingModule, ResetPasswordService, RestrictorTypeSelectorComponent, RestrictorTypeSelectorModule, RestrictorsModule, Role, RoleFormButtonComponent, RoleFormComponent, RoleListComponent, RoleModule, RoleRoutingProvider, RoleService, RoleViewComponent, RoleViewModule, RouteReusableStrategy, SearchableSelectorComponent, SearchableSelectorModule, SignUpComponent, SignupModule, SignupRoutingModule, SnackModule, StorageService, SubscriptionFormComponent, SubscriptionFormModule, SubscriptionListingComponent, SubscriptionListingModule, SubscriptionPackageListingComponent, SubscriptionPackageListingModule, SubscriptionPackageViewComponent, SubscriptionPackageViewModule, SubscriptionService, SuccessSnackComponent, TagService, TechlifyAppSelectorComponent, TechlifyAppSelectorModule, TechlifyAutoCompleteSelectComponent, TechlifyChartComponent, TechlifyCompanySwitcherComponent, TechlifyCompanySwitcherModule, TechlifyConfig, TechlifyCurrencyPipe, TechlifyDeleteButtonComponent, TechlifyDetailLayoutComponent, TechlifyFeatureDirectiveModule, TechlifyFeatureEnabledDirective, TechlifyFeatureListingComponent, TechlifyFeatureModule, TechlifyFeatureRoutes, TechlifyFeatureService, TechlifyFormButtonComponent, TechlifyFormComponent, TechlifyIconComponent, TechlifyIconModule, TechlifyListComponent, TechlifyNotificationForUserComponent, TechlifyNotificationForUserModule, TechlifyNotificationForUserRoutingModule, TechlifyNotificationModule, TechlifyNotificationRoutingModule, TechlifyService, TechlifyShowComponent, TechlifySubscriptionDirective, TechlifySubscriptionDirectiveModule, TechlifyTaggerTagFormComponent, TechlifyTaggerTagFormConfigModel, TechlifyTaggerTagFormFieldComponent, TechlifyTaggerTagFormFieldModule, TechlifyTaggerTagListComponent, TechlifyTaggerTagSelectorComponent, TechlifyTaggerTagSelectorModule, TechlifyUpdateHistoryModule, TechlifyUpdateModule, TechlifyUpdateService, TechlifyUpdatesTeaserComponent, TechlifyUpdatesTeaserModule, TechlifyViewFormComponent, TechlifyViewFormModule, TechlifyViewService, TenantFormButtonComponent, TenantListWidgetComponent, Timeline, TimelineActivityButtonComponent, TimelineActivityButtonModule, TimelineActivityListComponent, TimelineActivityListModule, TimelineFilterComponent, TimelineFilterModule, TokenInterceptor, UpdateNotifierComponent, UpdateNotifierModule, User, UserClientEnableDisableButtonComponent, UserClientEnableDisableButtonModule, UserClientsListComponent, UserClientsListModule, UserConfig, UserConfigService, UserDataService, UserEnableButtonComponent, UserEnableButtonModule, UserExploreComponent, UserFormComponent, UserListComponent, UserListPageConfig, UserMenuComponent, UserMenuModule, UserModule, UserRoutingProvider, UserSelectorComponent, UserSelectorModule, UserService, UserSessionsComponent, UserSessionsModule, UserViewComponent, UtilityModule, ViewerConfig, WrapPipe, calculateTimeline, dateValidator, esfur, estlr, esulr, parseLocalDate, techlifyFormContract, techlifyListContract, techlifyShowContract };
33093
+ export { AccessControlConfigModule, ActionPopup, ActionPopupComponent, ActionPopupModule, AdminRoleListComponent, AdminRoleListModule, AdminRolePermissionFormComponent, AdminRolePermissionFormModule, AdminRoleService, AlertService, ApiPrefixInterceptor, AppAdminHomeComponent, AppAdminModule, AppAdminUserList, AppAdminUserViewComponent, AppAdminUserViewModule, AppUpdateService, AuditLogForModelComponent, AuditLogForModelModule, AuditLogForModelRoutingModule, AuditLogListComponent, AuditLogListFilterComponent, AuditLogListFilterModule, AuditLogListFilterRoutingModule, AuditLogListModule, AuditLogListRoutingModule, AuditLogModule, AuditLogRoutingModule, AuditLogViewComponent, AuditLogViewModelComponent, AuditLogViewModelModule, AuditLogViewModelRoutingModule, AuditLogViewModule, AuditLogViewRoutingModule, AuditLogsViewModelComponent, AuditLogsViewModelModule, AuditLogsViewModelRoutingModule, AuthenticationGuard, AuthenticationService, CacheInterceptor, ChangePasswordModule, ClientService, ColumnConfig, ColumnSelectorComponent, ColumnSelectorModule, CommentFormComponent, CompanyInfoDisplayComponent, CompanyInformationComponent, ConfigService, CoreModule, CountryService, CredentialsService, CurrentUserService, CustomIconComponent, CustomIconModule, DEFAULT_PERIOD_OPTIONS, DEFAULT_SELECTED_VALUE, DataTable, DataTableComponent, DataTableModule, DateUtils, DatetimeLocalDirective, DocumentViewerComponent, DocumentViewerModule, EmailSubscriptionForUserComponent, EmailSubscriptionForUserModule, EmailSubscriptionForUserRoutingModule, EmailSubscriptionModule, EmailSubscriptionRoutingModule, EmailSubscriptionTypeFormComponent, EmailSubscriptionTypeFormModule, EmailSubscriptionTypeFormRoutingModule, EmailSubscriptionTypeListComponent, EmailSubscriptionTypeListModule, EmailSubscriptionTypeListRoutingModule, EmailSubscriptionTypeModule, EmailSubscriptionTypeRoutingModule, EmailSubscriptionUserFormComponent, EmailSubscriptionUserFormModule, EmailSubscriptionUserFormRoutingModule, EmailSubscriptionUserListComponent, EmailSubscriptionUserListFilterComponent, EmailSubscriptionUserListFilterModule, EmailSubscriptionUserListFilterRoutingModule, EmailSubscriptionUserListModule, EmailSubscriptionUserListRoutingModule, EmailSubscriptionUserModule, EmailSubscriptionUserRoutingModule, EntityFileFormComponent, EntityFileListComponent, EntityFileListModule, EntityFileListModule as EntityFilesViewAllModule, EntityFileListWidgetComponent, EntityFileService, EnvironmentService, ErrorHandlerInterceptor, ErrorHandlerService, ErrorSnackComponent, ExportExcelButtonComponent, ExportExcelModule, FileDragdropUploaderComponent, FileDragdropUploaderModule, FileDropperComponent, FileDropperConfig, FileDropperModule, FilterService, ForgotPasswordComponent, ForgotPasswordModule, ForgotPasswordRoutingModule, FormConfigurationFieldFormComponent, FormConfigurationFieldFormModule, FormConfigurationFieldFormRoutingModule, FormConfigurationForFormComponent, FormConfigurationForFormModule, FormConfigurationFormFieldService, FormConfigurationFormService, FormConfigurationUtilityService, FormValidatorService, HTTP_DYNAMIC_INTERCEPTORS, HttpCacheService, HttpService, ImportCsvComponent, ImportCsvModule, LoaderComponent, LoaderModule, LockedDate, LockedDateFormComponent, LockedDateListComponent, LockedDateLockUnlockButtonComponent, LockedDateModule, LockedDateService, LogLevel, Logger, LoginComponent, LoginFormFieldsComponent, LoginHistoryForUserComponent, LoginHistoryForUserModule, LoginHistoryForUserRoutingModule, LoginModule, LoginRoutingModule, MaterialModule, MultiUserConfig, MyTechlifyViewListingComponent, MyTechlifyViewListingModule, MyTechlifyViewService, NgxTechlifyUsersModule, NoteCommentListComponent, NoteFormComponent, NoteListComponent, NoteModule, NumItemsSelector, NumberInputButtonComponent, NumberInputButtonModule, NumberSelectorComponent, OrdinalPipe, PageEvent, PdfButtonComponent, PdfButtonModule, Permission, PermissionModule, PermissionRoutingProvider, PermissionsManagementComponent, PhoneNumberSelectorComponent, ProfileEditComponent, ProfileModule, ProfileRoutingModule, ReadMoreComponent, ReadMoreModule, RequestHelperService, ResetPasswordComponent, ResetPasswordModule, ResetPasswordRoutingModule, ResetPasswordService, RestrictorTypeSelectorComponent, RestrictorTypeSelectorModule, RestrictorsModule, Role, RoleFormButtonComponent, RoleFormComponent, RoleListComponent, RoleModule, RoleRoutingProvider, RoleService, RoleViewComponent, RoleViewModule, RouteReusableStrategy, SearchableSelectorComponent, SearchableSelectorModule, SignUpComponent, SignupModule, SignupRoutingModule, SnackModule, StorageService, SubscriptionFormComponent, SubscriptionFormModule, SubscriptionListingComponent, SubscriptionListingModule, SubscriptionPackageListingComponent, SubscriptionPackageListingModule, SubscriptionPackageViewComponent, SubscriptionPackageViewModule, SubscriptionService, SuccessSnackComponent, TagService, TechlifyAppSelectorComponent, TechlifyAppSelectorModule, TechlifyAutoCompleteSelectComponent, TechlifyChartComponent, TechlifyCompanySwitcherComponent, TechlifyCompanySwitcherModule, TechlifyConfig, TechlifyCurrencyPipe, TechlifyDeleteButtonComponent, TechlifyDetailLayoutComponent, TechlifyFeatureDirectiveModule, TechlifyFeatureEnabledDirective, TechlifyFeatureListingComponent, TechlifyFeatureModule, TechlifyFeatureRoutes, TechlifyFeatureService, TechlifyFormButtonComponent, TechlifyFormComponent, TechlifyIconComponent, TechlifyIconModule, TechlifyListComponent, TechlifyNotificationForUserComponent, TechlifyNotificationForUserModule, TechlifyNotificationForUserRoutingModule, TechlifyNotificationModule, TechlifyNotificationRoutingModule, TechlifyPeriodSelectorComponent, TechlifyService, TechlifyShowComponent, TechlifySubscriptionDirective, TechlifySubscriptionDirectiveModule, TechlifyTaggerTagFormComponent, TechlifyTaggerTagFormConfigModel, TechlifyTaggerTagFormFieldComponent, TechlifyTaggerTagFormFieldModule, TechlifyTaggerTagListComponent, TechlifyTaggerTagSelectorComponent, TechlifyTaggerTagSelectorModule, TechlifyUpdateHistoryModule, TechlifyUpdateModule, TechlifyUpdateService, TechlifyUpdatesTeaserComponent, TechlifyUpdatesTeaserModule, TechlifyViewFormComponent, TechlifyViewFormModule, TechlifyViewService, TenantFormButtonComponent, TenantListWidgetComponent, Timeline, TimelineActivityButtonComponent, TimelineActivityButtonModule, TimelineActivityListComponent, TimelineActivityListModule, TimelineFilterComponent, TimelineFilterModule, TokenInterceptor, UpdateNotifierComponent, UpdateNotifierModule, User, UserClientEnableDisableButtonComponent, UserClientEnableDisableButtonModule, UserClientsListComponent, UserClientsListModule, UserConfig, UserConfigService, UserDataService, UserEnableButtonComponent, UserEnableButtonModule, UserExploreComponent, UserFormComponent, UserListComponent, UserListPageConfig, UserMenuComponent, UserMenuModule, UserModule, UserRoutingProvider, UserSelectorComponent, UserSelectorModule, UserService, UserSessionsComponent, UserSessionsModule, UserViewComponent, UtilityModule, ViewerConfig, WrapPipe, calculateTimeline, dateValidator, esfur, estlr, esulr, parseLocalDate, techlifyFormContract, techlifyListContract, techlifyShowContract };
32600
33094
 
32601
33095
  //# sourceMappingURL=ngx-techlify-core.mjs.map