ngx-techlify-core 22.11.0 → 22.13.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,4 +1,4 @@
1
- import { J as EnvironmentService, X as AlertService, Y as FormValidatorService } from "./ngx-techlify-core-shared.module-ByciX1lb.mjs";
1
+ import { J as EnvironmentService, X as AlertService, Y as FormValidatorService } from "./ngx-techlify-core-shared.module-BEY22MZ6.mjs";
2
2
  import * as i0 from "@angular/core";
3
3
  import { Directive, ElementRef, EventEmitter, HostAttributeToken, Injectable, Input, Optional, Output, inject } from "@angular/core";
4
4
  import { finalize, fromEvent, merge, of } from "rxjs";
@@ -315,7 +315,7 @@ var TechlifyListComponent = class TechlifyListComponent {
315
315
  get pageTitle() {}
316
316
  get filterDebounceTime() {
317
317
  const filterTime = Number(this.environmentService?.get()?.filterTime);
318
- return filterTime >= 0 ? filterTime : 500;
318
+ return filterTime >= 0 ? filterTime : 1500;
319
319
  }
320
320
  get filterTriggerAction() {
321
321
  return String(this.environmentService?.get()?.filterAction ?? "") === "focusout" ? "focusout" : "keyup";
@@ -674,4 +674,4 @@ function techlifyShowContract(options) {
674
674
  }
675
675
  export { RequestHelperService as a, TechlifyFormComponent as c, TechlifyListComponent as i, TechlifyService as l, TechlifyShowComponent as n, parseLocalDate as o, techlifyListContract as r, techlifyFormContract as s, techlifyShowContract as t };
676
676
 
677
- //# sourceMappingURL=ngx-techlify-core-base-model-4GsP40vl.mjs.map
677
+ //# sourceMappingURL=ngx-techlify-core-base-model-B1alzGev.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-techlify-core-base-model-B1alzGev.mjs","names":["i1.FormValidatorService","i2.TechlifyService","debounceTime","map","startWith","distinctUntilChanged","finalize","i1.TechlifyService","i1.TechlifyService"],"sources":["../../../projects/ngx-techlify-core/src/lib/base-model/techlify-service.ts","../../../projects/ngx-techlify-core/src/lib/base-model/techlify-form/techlify-form.component.ts","../../../projects/ngx-techlify-core/src/lib/base-model/techlify-form/contract/techlify-form.contract.ts","../../../projects/ngx-techlify-core/src/lib/local-date-parser.ts","../../../projects/ngx-techlify-core/src/lib/request-helper/request-helper.service.ts","../../../projects/ngx-techlify-core/src/lib/base-model/techlify-list/techlify-list.component.ts","../../../projects/ngx-techlify-core/src/lib/base-model/techlify-list/contract/techlify-list.contract.ts","../../../projects/ngx-techlify-core/src/lib/base-model/techlify-show/techlify-show.component.ts","../../../projects/ngx-techlify-core/src/lib/base-model/techlify-show/contract/techlify-show.contract.ts"],"sourcesContent":["import { HttpService } from '../core';\nimport { Observable } from 'rxjs';\n\n/**\n * Interface used to ensure we have a consistent structure across our listing pages\n *\n * Advantages of this abstract class\n * - Less code, less maintenance, less bugs\n * - more consistent code\n * - comments on more code\n * - save time, save energy\n */\nexport class TechlifyService {\n\n protected baseUrl = 'you-forgot-to-set-a-base-url';\n\n constructor(protected http: HttpService, baseUrl: string) {\n this.baseUrl = baseUrl;\n }\n\n /**\n * Loads a set of the model this service is for\n *\n * @param params Query parameters\n * @return Observable<any>\n */\n index(params?: any, isCache?: boolean): Observable<any> {\n if (isCache) {\n return this.http.cache().get(`api/${this.baseUrl}`, { params });\n }\n\n return this.http.get(`api/${this.baseUrl}`, { params });\n }\n\n /**\n * Add a new record to the database\n *\n * @param model The data of the model to add\n * @param params Query parameters\n * @return Observable<any>\n */\n store(model: any, params?: any): Observable<any> {\n return this.http.post(`api/${this.baseUrl}`, model, { params });\n }\n\n /**\n * Load a single model record, often with all relations and related data\n *\n * @param modelId ID of the model to load\n * @param params Query parameters\n * @return Observable<any>\n */\n show(modelId: any, params?: any): Observable<any> {\n return this.http.get(`api/${this.baseUrl}/${modelId}`, { params });\n }\n\n /**\n * Update fields of a single existing model\n *\n * @param model Model to update\n * @param params Query parameters\n * @return Observable<any>\n */\n update(model: any, params?: any): Observable<any> {\n return this.http.put(`api/${this.baseUrl}/${model.id}`, model, { params });\n }\n\n /**\n * Delete a single model\n *\n * @param model Model to delete\n * @return Observable<any>\n */\n delete(model: any): Observable<any> {\n return this.http.delete(`api/${this.baseUrl}/${model.id}`);\n }\n\n\n}\n","import { UntypedFormGroup } from '@angular/forms';\nimport { FormValidatorService } from '../../core/form-validator.service';\nimport { Directive, EventEmitter, inject, Input, Optional, Output } from '@angular/core';\nimport { TechlifyService } from '../techlify-service';\nimport { finalize } from 'rxjs';\nimport { MatDialogRef } from '@angular/material/dialog';\nimport { AlertService } from '../../core/alert.service';\n\n/**\n * Interface used to ensure we have a consistent structure across our form components\n *\n * It also provides some abstraction of repeated code to reduce our codebase size\n *\n * @todo This should be moved to ngx-techlify-core\n *\n * Advantages of this abstract class\n * - Less code, less maintenance, less bugs\n * - more consistent code\n * - comments on more code\n * - save time, save energy\n */\n@Directive()\nexport abstract class TechlifyFormComponent {\n\n //Form builder instance\n form: UntypedFormGroup;\n\n //Error messages config for the form\n errorMessages: any;\n\n //Boolean to denote the form is in API progress\n isWorking: boolean = false;\n\n //Form dialogref reference\n dialogRef: MatDialogRef<any, any>;\n\n //Array of created multiple entries\n createdEntries: any = [];\n\n //Boolean to denote if form is in update mode\n @Input() isUpdate: boolean = false;\n\n //Boolean to denote if form has ability to create multiple entries\n @Input() isAllowCreateAnother: boolean = true;\n\n //Emits an event once form submit is success\n @Output() success = new EventEmitter<any>();\n\n //Injected alert service\n protected alertService = inject(AlertService, { optional: true });\n\n constructor(\n protected formValidatorService: FormValidatorService,\n @Optional() protected service?: TechlifyService) {\n\n }\n /**\n * Submits the form\n * @param model form model optional, if needed to be overriden\n * @returns \n */\n submit(model?: any) {\n this.form.markAllAsTouched();\n if (!this.service) {\n throw new Error(\n `${this.constructor.name}: Service is required to submit the form`\n );\n }\n if (!this.form.valid) {\n return;\n }\n if (!model) {\n model = this.form.value;\n }\n this.isWorking = true;\n (\n this.isUpdate ?\n this.service.update(model) :\n this.service.store(model)\n )\n .pipe(\n finalize(() => this.isWorking = false),\n )\n .subscribe((res: any) => {\n this.createdEntries.unshift(res?.item);\n if (model?.is_create_another) {\n this.alertService.addAlert('Successfully Created', 'success');\n return;\n }\n if (this.isUpdate) {\n this.finalisedResponse(res?.item);\n } else {\n this.finalisedResponse((this.createdEntries.length == 1) ? this.createdEntries[0] : this.createdEntries);\n }\n\n });\n }\n\n //Send uniformed finalised response for both form button and dialog\n finalisedResponse(response: any) {\n this.success.emit(response);\n if (this.dialogRef) {\n this.dialogRef.close(response);\n }\n }\n\n /**\n * Close the active dialog\n */\n closeDialog() {\n if (this.createdEntries?.length > 0) {\n this.success.emit(this.createdEntries);\n }\n if (this.dialogRef) {\n this.dialogRef.close();\n }\n }\n\n /**\n * Resets the value of a field in the HTML form\n *\n * @param event\n * @param field\n */\n resetFieldValue(event: any, field: string) {\n this.form?.get(field)?.setValue('');\n }\n\n /**\n * Retrieves the value of a field from the HTML form\n *\n * @param field\n * @returns\n */\n getFieldValue(field: string) {\n return this.form?.get(field)?.value;\n }\n\n /**\n * Method to evaluate form fields\n * */\n isFieldValid(field: string) {\n return this.formValidatorService.isFieldValid(field, this.form);\n }\n\n /**\n * Method to find error in form fields\n * */\n getErrorMessage(field: string) {\n return this.formValidatorService.getErrorMessage(field, this.form, this.errorMessages);\n }\n\n}\n","import { of } from 'rxjs';\nimport { TechlifyFormComponent } from '../techlify-form.component';\n\nexport interface TechlifyFormContractOptions {\n getComponent: () => TechlifyFormComponent;\n getService: () => any;\n /**\n * Form control used by the submit and field helper tests. Defaults to `name`.\n */\n fieldName?: string;\n /**\n * Set when the component overrides `submit()` with its own flow; the tests for the\n * base submit flow (store/update, markAllAsTouched, isWorking) are then not registered.\n */\n hasCustomSubmit?: boolean;\n}\n\n/**\n * Reusable test contract for components extending TechlifyFormComponent.\n *\n * Ensures all form components follow the same base behaviour:\n * - Service injection\n * - Default state initialization\n * - Create/update submission flow\n * - Form validation handling\n * - Success event handling\n * - Dialog handling\n * - Field helper methods\n */\nexport function techlifyFormContract(\n options: TechlifyFormContractOptions\n): void {\n\n const fieldName = options.fieldName ?? 'name';\n // Base submit flow tests only apply to components using TechlifyFormComponent.submit()\n const baseSubmitIt = options.hasCustomSubmit ? (() => undefined) as unknown as typeof it : it;\n\n describe('TechlifyFormComponent Contract', () => {\n\n /**\n * Ensures child components correctly pass their service\n * to the base form component.\n */\n it('should pass a service to the base class', () => {\n const component = options.getComponent();\n expect((component as any).service)\n .toBe(options.getService());\n });\n\n /**\n * Ensures default properties are initialized correctly.\n */\n it('should initialize default values', () => {\n const component = options.getComponent();\n expect(component.isWorking).toBeFalse();\n expect(component.isUpdate).toBeFalse();\n expect(component.isAllowCreateAnother).toBeTrue();\n expect(component.createdEntries).toEqual([]);\n });\n\n /**\n * Ensures create forms call store service and finalise response.\n */\n baseSubmitIt('should submit using store when creating', () => {\n const component = options.getComponent();\n component.form.patchValue({\n [fieldName]: 'Test'\n });\n spyOn(component as any, 'finalisedResponse');\n options.getService().store\n .and.returnValue(of({\n item: { id: 1 }\n }));\n component.submit();\n expect(options.getService().store)\n .toHaveBeenCalledWith(component.form.value);\n expect(component.createdEntries)\n .toEqual([{ id: 1 }]);\n expect(component.finalisedResponse)\n .toHaveBeenCalled();\n });\n\n /**\n * Ensures update forms call update service instead of store.\n */\n baseSubmitIt('should submit using update when isUpdate is true', () => {\n const component = options.getComponent();\n component.isUpdate = true;\n component.form.patchValue({\n [fieldName]: 'Updated'\n });\n spyOn(component as any, 'finalisedResponse');\n options.getService().update\n .and.returnValue(of({\n item: { id: 1 }\n }));\n component.submit();\n expect(options.getService().update)\n .toHaveBeenCalledWith(component.form.value);\n expect(component.finalisedResponse)\n .toHaveBeenCalledWith({\n id: 1\n });\n });\n\n /**\n * Ensures invalid forms do not trigger API submission.\n */\n it('should not submit invalid form', () => {\n const component = options.getComponent();\n component.form.setErrors({\n invalid: true\n });\n component.submit();\n expect(options.getService().store)\n .not.toHaveBeenCalled();\n });\n\n /**\n * Ensures form validation is triggered before submission.\n */\n baseSubmitIt('should mark form as touched before submit', () => {\n const component = options.getComponent();\n spyOn(component.form, 'markAllAsTouched');\n component.submit();\n expect(component.form.markAllAsTouched)\n .toHaveBeenCalled();\n });\n\n /**\n * Ensures API progress state is handled correctly.\n */\n baseSubmitIt('should set isWorking while submitting', () => {\n const component = options.getComponent();\n component.form.patchValue({\n [fieldName]: 'Test'\n });\n options.getService().store\n .and.returnValue(of({\n item: { id: 1 }\n }));\n component.submit();\n expect(component.isWorking)\n .toBeFalse();\n });\n\n /**\n * Ensures successful form completion emits success event.\n */\n it('should emit success event on finalisedResponse', () => {\n const component = options.getComponent();\n spyOn(component.success, 'emit');\n component.finalisedResponse({\n id: 1\n });\n expect(component.success.emit)\n .toHaveBeenCalledWith({\n id: 1\n });\n });\n\n /**\n * Ensures dialog closes after successful response.\n */\n it('should close dialog on finalisedResponse when dialog exists', () => {\n const component = options.getComponent();\n component.dialogRef = {\n close: jasmine.createSpy('close')\n } as any;\n component.finalisedResponse({\n id: 1\n });\n expect(component.dialogRef.close)\n .toHaveBeenCalledWith({\n id: 1\n });\n });\n\n /**\n * Ensures form field reset helper works correctly.\n */\n it('should reset field value', () => {\n const component = options.getComponent();\n component.form.patchValue({\n [fieldName]: 'Test'\n });\n component.resetFieldValue(null, fieldName);\n expect(component.getFieldValue(fieldName))\n .toBe('');\n });\n\n /**\n * Ensures form field value helper returns correct value.\n */\n it('should return field value', () => {\n const component = options.getComponent();\n component.form.patchValue({\n [fieldName]: 'Test'\n });\n expect(component.getFieldValue(fieldName))\n .toBe('Test');\n });\n\n /**\n * Ensures closing dialog emits created entries before closing.\n */\n it('should close dialog and emit created entries', () => {\n const component = options.getComponent();\n component.createdEntries = [\n { id: 1 }\n ];\n component.dialogRef = {\n close: jasmine.createSpy('close')\n } as any;\n spyOn(component.success, 'emit');\n component.closeDialog();\n expect(component.success.emit)\n .toHaveBeenCalledWith([\n { id: 1 }\n ]);\n expect(component.dialogRef.close)\n .toHaveBeenCalled();\n });\n\n });\n}","\n//Parse the date string to local date\nexport function parseLocalDate(dateStr: string): Date {\n const [y, m, d] = dateStr.split('-').map(Number);\n return new Date(y, m - 1, d);\n}","/* tslint:disable:radix */\nimport { Injectable } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { UntypedFormGroup } from '@angular/forms';\nimport { parseLocalDate } from '../local-date-parser';\nimport { DatePipe } from '@angular/common';\n@Injectable({\n providedIn: 'root'\n})\nexport class RequestHelperService {\n\n constructor(\n private router: Router,\n private activatedRoute: ActivatedRoute,\n private datePipe: DatePipe\n ) { }\n\n /**\n * Update the form values from the URL query params.\n * @param formGroup FormGroup\n * @param formConfig FormConfig\n */\n updateFormWithQueryParams(formGroup: UntypedFormGroup, formConfig: any): void {\n this.updateFormWithParams(formGroup, this.activatedRoute.snapshot.queryParams, formConfig);\n }\n\n /**\n * Update the form values from a plain, request-shaped filters object\n * (i.e. the same comma-separated/formatted shape produced by `convertToFormData`,\n * such as route query params or a saved view's persisted filters).\n * @param formGroup FormGroup\n * @param params Request-shaped filters object\n * @param formConfig FormConfig\n */\n updateFormWithParams(formGroup: UntypedFormGroup, params: any, formConfig: any): void {\n for (const key in formGroup.controls) {\n if (Object.prototype.hasOwnProperty.call(formGroup.controls, key) &&\n params && Object.prototype.hasOwnProperty.call(params, key)) {\n formGroup.get(key).patchValue(this.formatValue(params[key], formConfig?.[key]), { emitEvent: false });\n }\n }\n }\n\n /**\n * Convert the object to form data for the request.\n * @param data Data Object\n * @return Object\n */\n convertToFormData(data: any): any {\n const newData = {};\n for (const prop in data) {\n if (Object.prototype.hasOwnProperty.call(data, prop)) {\n if (Array.isArray(data[prop])) {\n // convert array to comma separated string\n newData[prop] = (data[prop] as []).join(',');\n } else if (this.isDateString(data[prop])) {\n newData[prop] = this.datePipe.transform(data[prop], 'yyyy-MM-dd');\n } else {\n newData[prop] = data[prop] ?? ''; //Don't pass null into request, it will break the filters\n }\n }\n }\n return newData;\n }\n\n /**\n * Update URL with the filters.\n * @param queryParams Query Params\n * @return Promise\n */\n updateQueryParams(queryParams: any): Promise<boolean> {\n return this.router.navigate(\n [],\n {\n relativeTo: this.activatedRoute,\n queryParams,\n queryParamsHandling: 'merge'\n }\n );\n }\n\n /**\n * Format value.\n * @description Convert the comma separated values to array if it is multiple selectable.\n * @param value Value to be converted\n * @param formGroupElement Form group element\n */\n formatValue(value: string, formGroupElement: any): string | number[] | number | boolean | Date {\n if (value && formGroupElement?.multiple && formGroupElement?.multiple === true) {\n const array = value?.split(',');\n return array.map((val: any) => this.isNumeric(val) ? Number.parseInt(val) : val);\n } else if (value && formGroupElement?.date && formGroupElement?.date === true) {\n return parseLocalDate(value);\n } else if (value && formGroupElement?.number && formGroupElement?.number === true) {\n return Number.parseInt(value);\n } else if (value && formGroupElement?.boolean) {\n return value === 'true';\n } else {\n return value;\n }\n }\n\n /**\n * @description Checks value to dertmine if the given value is a number\n * @param value Value to be Checked\n */\n isNumeric(str: string): boolean {\n if (typeof str !== 'string') {\n return false;\n }\n\n if (str.trim() === '') {\n return false;\n }\n\n return !Number.isNaN(Number(str));\n }\n\n /**\n * Determine whether the given value is a date string.\n * Matches a YYYY-MM-DD or YYYY/MM/DD pattern (e.g. 2026-06-18 or 2026/06/18)\n * optional time for instances where we also filter by time\n *\n * @param value Value to be checked\n */\n isDateString(value: any): boolean {\n if (typeof value !== 'string') {\n return false;\n }\n\n return /^\\d{4}[-/](0[1-9]|1[0-2])[-/](0[1-9]|[12]\\d|3[01])([T\\s].*)?$/.test(value);\n }\n}\n","import { fromEvent, merge } from 'rxjs';\nimport { debounceTime, distinctUntilChanged, filter, finalize, map, skip, startWith } from 'rxjs/operators';\nimport { Title } from '@angular/platform-browser';\nimport { Directive, ElementRef, HostAttributeToken, inject, Optional } from '@angular/core';\nimport { EnvironmentService } from '../../core/environment.service';\nimport { RequestHelperService } from '../../request-helper/request-helper.service';\nimport { TechlifyService } from '../techlify-service';\nimport { ColumnConfig } from '../../column-selector';\n\n/**\n * Interface used to ensure we have a consistent structure across our listing pages\n *\n * @todo This should be moved to ngx-techlify-core\n *\n * Advantages of this abstract class\n * - Less code, less maintenance, less bugs\n * - more consistent code\n * - comments on more code\n * - save time, save energy\n */\n@Directive()\nexport abstract class TechlifyListComponent {\n\n models: any[] = [];\n selectedModelIds: any[] = [];\n isAllSelected = false;\n page = 1;\n perPage = 50;\n lastPage = 0;\n filterForm: any;\n isViewLoaded = false;\n columnConfigs: ColumnConfig[] = [];\n\n //Boolean to denote the form is in API progress\n _isWorking: boolean = false;\n get isWorking() {\n return this._isWorking;\n }\n set isWorking(value: boolean) {\n this._isWorking = value;\n if (value) {\n //If it is working, set the filterForm to disabled\n this.filterForm?.disable({ emitEvent: false });\n } else {\n //When working completes, set the filterForm to enabled\n this.filterForm?.enable({ emitEvent: false });\n }\n }\n\n //Filters to be exported for view integration\n filters: any;\n\n /**\n * Boolean to turn off, if we don't want to patch filters from route.\n * This can be overriden in child classes if need \n */\n protected _isFilterPatchFromRoute = true;\n get isFilterPatchFromRoute() {\n return this._isFilterPatchFromRoute;\n }\n set isFilterPatchFromRoute(value: boolean) {\n this._isFilterPatchFromRoute = value;\n }\n\n /**\n * Filter form configuration used to decode the route params.\n * Eg: Override in child class\n * ``` \n * filterFormConfiguration: any = {\n status_id: { multiple: true },\n branch_ids: { multiple: true },\n department_ids: { multiple: true },\n employee_ids: { multiple: true },\n course_ids: { multiple: true },\n date_from: { date: true },\n date_to: { date: true },\n due_date_from: { date: true },\n due_date_to: { date: true },\n } \n *```\n */\n filterFormConfiguration: any;\n\n /**\n * Child classes can override this.\n * If left undefined/empty, falls back to environment.appTitle\n */\n protected get pageTitle(): string | undefined {\n return undefined; // default\n }\n\n\n /**\n * Debounce (ms) applied to filter changes before reloading.\n * Uses environment.filterTime when set, otherwise 500.\n */\n protected get filterDebounceTime(): number {\n const filterTime = Number(this.environmentService?.get()?.filterTime);\n return filterTime >= 0 ? filterTime : 1500;\n }\n\n /**\n * When filter changes are applied:\n * - 'keyup': once the user stops typing (after filterDebounceTime)\n * - 'focusout': once focus leaves the filter input\n * Uses environment.filterAction when set, otherwise 'keyup'.\n */\n protected get filterTriggerAction(): 'keyup' | 'focusout' {\n const filterAction = String(this.environmentService?.get()?.filterAction ?? '');\n return filterAction === 'focusout' ? 'focusout' : 'keyup';\n }\n\n private titleService = inject(Title, { optional: true });\n private environmentService = inject(EnvironmentService, { optional: true });\n private hostElement = inject(ElementRef, { optional: true });\n /**\n * Set isSetPageTitle=\"false\" on a listing embedded in a page that sets its own title, so the\n * listing leaves the browser tab title alone.\n */\n private isSetPageTitle = inject(new HostAttributeToken('isSetPageTitle'), { optional: true }) !== 'false';\n\n //Request helper service to inherited and overriden if needed\n protected requestHelperService = inject(RequestHelperService, { optional: true });\n\n constructor(@Optional() protected service?: TechlifyService) {\n if (this.isSetPageTitle) {\n const resolvedTitle =\n this.pageTitle && this.pageTitle.trim().length > 0\n ? this.pageTitle\n : this.environmentService?.get().appTitle;\n this.titleService?.setTitle(resolvedTitle);\n }\n }\n\n /**\n * Function that listens for any changes in the filter form group\n * It updates the route automatically\n * Also reload the page on change\n *\n * In 'focusout' mode, typing in a text filter is held until focus leaves it;\n * selects, dates, sorting etc. still apply after the debounce.\n */\n listenFilterChanges(): void {\n let filterChanges$ = this.filterForm.valueChanges.pipe(debounceTime(this.filterDebounceTime));\n if (this.filterTriggerAction === 'focusout') {\n filterChanges$ = merge(\n this.filterForm.valueChanges.pipe(\n filter(() => !this.isTypingInFilter()),\n debounceTime(this.filterDebounceTime)\n ),\n fromEvent(this.hostElement?.nativeElement ?? document, 'focusout')\n ).pipe(\n // focusout fires on every blur (including the filterForm disabling while loading), so only reload on a real change\n map(() => JSON.stringify(this.filterForm.getRawValue())),\n startWith(JSON.stringify(this.filterForm.getRawValue())),\n distinctUntilChanged(),\n skip(1),\n );\n }\n filterChanges$\n .subscribe((_: any) => {\n if (this.isFilterPatchFromRoute) {\n const unformatedFilters = JSON.parse(JSON.stringify(this.filterForm.value));\n this.filters = this.requestHelperService?.convertToFormData(unformatedFilters);\n this.requestHelperService?.updateQueryParams(this.filters);\n }\n this.reload();\n });\n }\n\n /**\n * Whether the user is currently typing in a text filter inside this listing\n */\n private isTypingInFilter(): boolean {\n const element = document.activeElement;\n const isTextField = element instanceof HTMLTextAreaElement\n || (element instanceof HTMLInputElement && !['checkbox', 'radio'].includes(element.type));\n return isTextField && !!this.hostElement?.nativeElement.contains(element);\n }\n\n /**\n * Function decodes the route params and patches the filter\n * Setup the filterFormConfigurtion to override for multiple and date attributes.\n */\n patchFiltersFromRoute() {\n this.requestHelperService?.updateFormWithQueryParams(this.filterForm, this.filterFormConfiguration);\n }\n\n /**\n * Function that loads the main models of the application\n */\n loadData(filters?: any): void {\n if (!this.service) {\n throw new Error(\n `${this.constructor.name}: Service is required to load the data`\n );\n }\n this.isWorking = true;\n if (!filters) {\n /**\n * Convert to form data gives flexibility to convert the form array values to string\n * No need to override the loadData method in child class to convert array values to string.\n * */\n filters = this.requestHelperService?.convertToFormData(JSON.parse(JSON.stringify(this.filterForm.value)));\n filters.page = this.page;\n filters.per_page = this.perPage;\n }\n this.service.index(filters)\n .pipe(finalize(() => this.isWorking = false))\n .subscribe((result: any) => {\n this.lastPage = result?.last_page || this.page;\n if (result?.data?.length > 0) {\n this.models = this.models.concat(result.data);\n }\n });\n };\n\n /**\n * Reload all data from page 1\n */\n reload(): void {\n this.models = [];\n this.selectedModelIds = [];\n this.page = 1;\n if (!this.isWorking) {\n this.loadData();\n }\n }\n\n /**\n * Can be called when the user is scrolling,\n * to trigger loading a new page of data\n */\n onScroll(): void {\n if (!this.isWorking && this.page < this.lastPage) {\n this.page += 1;\n this.loadData();\n }\n }\n\n /**\n * Reset the Filter.\n *\n * @param field Field name.\n */\n resetFilter(field: string): void {\n this.filterForm.get(field).reset('');\n }\n\n /**\n * Updates one or more models in the list by matching on their `id`.\n * Accepts a single model or an array of models.\n * @param models The updated model or array of models.\n */\n modelsUpdatedById(models: any | any[]): void {\n if (!Array.isArray(models)) {\n models = [models];\n }\n models.forEach((updatedModel: any) => {\n const index = this.models.findIndex((m: any) => m.id === updatedModel.id);\n if (index !== -1) {\n this.models[index] = updatedModel;\n }\n });\n this.models = [...this.models];\n }\n\n /**\n * Deletes one or more models in the list by matching on their `id`.\n * Accepts a single model or an array of models.\n * @param models The updated model or array of models.\n */\n modelsDeletedById(models: any | any[]): void {\n if (!Array.isArray(models)) {\n models = [models];\n }\n this.models = this.models.filter((m: any) => !(models.some((item: any) => item.id === m.id)));\n }\n\n /**\n * Clears the list of selected models, this will also\n * close the bulk update form that checks \n * for selected models length\n */\n clearSelectedModels() {\n this.selectedModelIds = [];\n }\n\n /**\n * Adds a new model at the first position in the table.\n * @param model The new model to be added.\n */\n modelCreated(model: any): void {\n if (Array.isArray(model)) {\n //When create another feature is used, we get array of models\n this.models.unshift(...model);\n } else {\n this.models.unshift(model);\n }\n this.models = [...this.models];\n }\n\n /**\n * Used for multi select\n * Trigerred when select all is toggled\n */\n selectAll(): void {\n this.selectedModelIds = [];\n this.models.map((model: any) => {\n model.is_selected = this.isAllSelected;\n if (this.isAllSelected) {\n this.selectedModelIds.push(model.id);\n }\n });\n this.models = [...this.models];\n }\n\n /**\n * Used for multi select\n * Trigerred if any entry section is modified\n */\n isSelectionModified(event: any, model: any): void {\n this.isAllSelected = false;\n if (event.checked) {\n this.selectedModelIds.push(model?.id);\n }\n else {\n this.selectedModelIds = this.selectedModelIds.filter((modelId: any) => modelId != model?.id);\n }\n }\n\n /**\n * Defualt method to listen to sort column updates\n * @param event \n */\n sortColumn(event: any) {\n const direction = event.direction.toString().toUpperCase();\n this.models = [];\n this.filterForm.get('sort_by').setValue(`${event?.active}|${direction}`);\n }\n\n /**\n * It should be overrided in child class to reset a filter form instance.\n * Used by setView method.\n */\n protected resetFilterForm(): void {\n //If filterForm exists, then reset\n if (this.filterForm) {\n this.filterForm.reset();\n }\n }\n\n /**\n * It should be overrided in child class to reset column configs.\n * Used by setView method.\n */\n protected resetColumnConfigs(): void {\n this.columnConfigs = [];\n }\n\n /**\n * Hook method used to set the selected view\n * @param view optional used by my-view-list\n */\n setView(view?: any) {\n //Reset the query params\n this.requestHelperService?.updateQueryParams({});\n this.isViewLoaded = false;\n this.resetColumnConfigs();\n this.resetFilterForm();\n setTimeout(() => {\n if (view) {\n //If there is a view, then set it.\n //Setup view filters, use the new form configuration to map the multi fields\n this.requestHelperService?.updateFormWithParams(this.filterForm, view?.filters, this.filterFormConfiguration);\n //Setup view columns\n this.columnConfigs.forEach(column => {\n column.isSelected = (view?.columns as string[]).some(col => col === column.def);\n });\n }\n this.isViewLoaded = true;\n }, 500);\n }\n}","import { fakeAsync, tick, ComponentFixture } from '@angular/core/testing';\nimport { TechlifyListComponent } from '../techlify-list.component';\n\nexport interface TechlifyListContractOptions {\n getFixture: () => ComponentFixture<any>;\n getComponent: () => TechlifyListComponent;\n getService: () => any;\n filterField?: string;\n /**\n * Set to false when the component reads route data its own way instead of\n * calling `patchFiltersFromRoute()` on init. Defaults to true.\n */\n patchesFiltersFromRoute?: boolean;\n}\n\nexport function techlifyListContract(\n options: TechlifyListContractOptions\n): void {\n // Route filter test only applies to components using patchFiltersFromRoute() on init\n const routeFilterIt = options.patchesFiltersFromRoute === false ? (() => undefined) as unknown as typeof it : it;\n\n describe('TechlifyListComponent Contract', () => {\n it('should pass a service to the base class', () => {\n const component = options.getComponent();\n expect((component as any).service).toBe(options.getService());\n });\n\n it('should have a filter form', () => {\n const component = options.getComponent();\n expect(component.filterForm).toBeTruthy();\n });\n\n it('should call loadData on init', () => {\n const component = options.getComponent();\n spyOn(component as any, 'loadData');\n (component as any).ngOnInit();\n expect(component.loadData).toHaveBeenCalled();\n });\n\n routeFilterIt('should patch filters from route on init', () => {\n const component = options.getComponent();\n spyOn(component as any, 'patchFiltersFromRoute');\n (component as any).ngOnInit();\n expect(component.patchFiltersFromRoute).toHaveBeenCalled();\n });\n\n it('should reload when filter changes', fakeAsync(() => {\n const component = options.getComponent();\n const filterField = options.filterField ?? 'search';\n if (!component.filterForm?.get(filterField)) {\n pending(`Filter '${filterField}' does not exist.`);\n return;\n }\n spyOn(component as any, 'reload');\n component.listenFilterChanges();\n component.filterForm.get(filterField)?.setValue('abc');\n tick(501);\n expect(component.reload).toHaveBeenCalled();\n\n }));\n\n it('should load next page on scroll', () => {\n const component = options.getComponent();\n component.page = 1;\n component.lastPage = 3;\n component.isWorking = false;\n spyOn(component as any, 'loadData');\n component.onScroll();\n expect(component.page).toBe(2);\n expect(component.loadData).toHaveBeenCalled();\n });\n\n it('should not load next page while already loading', () => {\n const component = options.getComponent();\n component.page = 1;\n component.lastPage = 3;\n component.isWorking = true;\n spyOn(component as any, 'loadData');\n component.onScroll();\n expect(component.loadData).not.toHaveBeenCalled();\n });\n\n it('should update sort_by filter', () => {\n const component = options.getComponent();\n const control = component.filterForm.get('sort_by');\n if (!control) {\n pending('No sort_by control.');\n return;\n }\n spyOn(control, 'setValue');\n component.sortColumn({ active: 'name', direction: 'asc' });\n expect(control.setValue).toHaveBeenCalledWith('name|ASC');\n });\n\n });\n\n}","import { Directive, inject, Optional } from '@angular/core';\nimport { Title } from '@angular/platform-browser';\nimport { ActivatedRoute, ParamMap } from '@angular/router';\nimport { finalize, Subscription } from 'rxjs';\nimport { EnvironmentService } from '../../core/environment.service';\nimport { TechlifyService } from '../techlify-service';\n\n/**\n * Interface used to ensure we have a consistent structure across our view (show) pages\n *\n * Every view page follows the same workflow:\n * route param -> id -> service.show(id) -> model\n */\n@Directive()\nexport abstract class TechlifyShowComponent {\n\n //The main model of the page\n model: any;\n\n //Id of the model, taken from the route\n id: any;\n\n //Boolean to denote the page is in API progress\n isWorking: boolean = false;\n\n /**\n * Name of the route param holding the model id.\n * Override in child class if the route uses a different name, eg: 'memoId'\n */\n protected routeParamName = 'id';\n\n /**\n * Child classes can override this.\n * If left undefined/empty, falls back to environment.appTitle\n */\n protected get pageTitle(): string | undefined {\n return undefined; // default\n }\n\n //Active show request, cancelled when a new load starts\n private loadSubscription?: Subscription;\n\n private titleService = inject(Title, { optional: true });\n private environmentService = inject(EnvironmentService, { optional: true });\n\n //Activated route to be inherited and used if needed\n protected route = inject(ActivatedRoute, { optional: true });\n\n constructor(@Optional() protected service?: TechlifyService) {\n const resolvedTitle =\n this.pageTitle && this.pageTitle.trim().length > 0\n ? this.pageTitle\n : this.environmentService?.get().appTitle;\n this.titleService?.setTitle(resolvedTitle);\n }\n\n /**\n * Function that listens for route param changes\n * Sets the id and reloads the model whenever it changes,\n * so navigating between two records on the same page works\n */\n listenRouteChanges(): void {\n this.route?.paramMap.subscribe((params: ParamMap) => {\n this.id = this.getIdFromRoute(params);\n this.loadData();\n });\n }\n\n /**\n * Reads the model id from the route params\n * Uses the current route snapshot when params are not given\n *\n * @param params optional route params\n */\n getIdFromRoute(params?: ParamMap): any {\n const routeParams = params ?? this.route?.snapshot?.paramMap;\n return routeParams?.get(this.routeParamName) ?? null;\n }\n\n /**\n * Query params passed to the show request, eg: relations to load\n * Override in child class if needed\n */\n protected getShowParams(): any {\n return {};\n }\n\n /**\n * Function that loads the main model of the page\n */\n loadData(): void {\n if (!this.service) {\n throw new Error(\n `${this.constructor.name}: Service is required to load the data`\n );\n }\n if (!this.id) {\n return;\n }\n this.loadSubscription?.unsubscribe();\n this.isWorking = true;\n this.loadSubscription = this.service.show(this.id, this.getShowParams())\n .pipe(finalize(() => this.isWorking = false))\n .subscribe((result: any) => {\n this.model = result?.item;\n this.modelLoaded(this.model);\n });\n }\n\n /**\n * Reload the model of the page\n */\n reload(): void {\n this.loadData();\n }\n\n /**\n * Hook called once the model is loaded\n * Override in child class to compute derived data from the model\n *\n * @param model The loaded model\n */\n protected modelLoaded(model: any): void {\n }\n\n /**\n * Replaces the model of the page, eg: after an update form or status change\n *\n * @param model The updated model\n */\n modelUpdated(model: any): void {\n if (model) {\n this.model = model;\n this.modelLoaded(this.model);\n }\n }\n}\n","import { of } from 'rxjs';\nimport { convertToParamMap } from '@angular/router';\nimport { TechlifyShowComponent } from '../techlify-show.component';\n\nexport interface TechlifyShowContractOptions {\n getComponent: () => TechlifyShowComponent;\n getService: () => any;\n routeParamName?: string;\n}\n\n/**\n * Reusable test contract for components extending TechlifyShowComponent.\n *\n * Ensures all view components follow the same base behaviour:\n * - Service injection\n * - Default state initialization\n * - Reading the id from the route\n * - Loading the model through service.show()\n * - Model update handling\n */\nexport function techlifyShowContract(\n options: TechlifyShowContractOptions\n): void {\n\n describe('TechlifyShowComponent Contract', () => {\n\n /**\n * Ensures child components correctly pass their service\n * to the base view component.\n */\n it('should pass a service to the base class', () => {\n const component = options.getComponent();\n expect((component as any).service)\n .toBe(options.getService());\n });\n\n /**\n * Ensures route listening is started on init.\n */\n it('should listen route changes on init', () => {\n const component = options.getComponent();\n spyOn(component, 'listenRouteChanges');\n (component as any).ngOnInit();\n expect(component.listenRouteChanges)\n .toHaveBeenCalled();\n });\n\n /**\n * Ensures the id is read from the configured route param.\n */\n it('should get id from route params', () => {\n const component = options.getComponent();\n const routeParamName = options.routeParamName ?? 'id';\n const params = convertToParamMap({ [routeParamName]: '5' });\n expect(component.getIdFromRoute(params))\n .toBe('5');\n });\n\n /**\n * Ensures the model is loaded using the show service.\n */\n it('should load the model using show', () => {\n const component = options.getComponent();\n options.getService().show\n .and.returnValue(of({\n item: { id: 5 }\n }));\n component.id = 5;\n component.loadData();\n expect(options.getService().show)\n .toHaveBeenCalledWith(5, jasmine.anything());\n expect(component.model)\n .toEqual({ id: 5 });\n expect(component.isWorking)\n .toBeFalse();\n });\n\n /**\n * Ensures no request is made without an id.\n */\n it('should not load without an id', () => {\n const component = options.getComponent();\n options.getService().show.calls.reset();\n component.id = null;\n component.loadData();\n expect(options.getService().show)\n .not.toHaveBeenCalled();\n });\n\n /**\n * Ensures the model is replaced on update.\n */\n it('should replace the model on modelUpdated', () => {\n const component = options.getComponent();\n component.modelUpdated({ id: 7 });\n expect(component.model)\n .toEqual({ id: 7 });\n });\n\n });\n}\n"],"mappings":";;;;;;;;;;AAYA,IAAa,kBAAb,MAA4B;CAI1B,YAAsB,MAAmB,SAAe;EAAlC,KAAA,OAAA;EAFZ,KAAA,UAAU;E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 +3149,7 @@ let TimelineFilterComponent = class TimelineFilterComponent {
3149
3149
  }],
3150
3150
  ngImport: i0,
3151
3151
  template: "<ng-container [formGroup]=\"selectorForm\">\n <mat-form-field [appearance]=\"appearance\" class=\"fl-sm\">\n <mat-label>{{labelText}}</mat-label>\n <mat-select formControlName=\"select_value\">\n <mat-option *ngFor=\"let timeline of timelines\" [value]=\"timeline.value\">\n {{timeline.viewValue}}\n </mat-option>\n </mat-select>\n <button *ngIf=\"showClearButton && timelineValue.value\" matSuffix mat-icon-button\n (click)=\"timelineValue.setValue('')\">\n <mat-icon>close</mat-icon>\n </button>\n <mat-hint *ngIf=\"isCustomSelected && selectedRangeLabel\" (click)=\"openCalendar()\" class=\"clickable d-flex\">\n <span [innerHTML]=\"selectedRangeLabel\" style=\"font-size: 10px;\"></span>\n <app-techlify-icon name=\"edit\" class=\"clickable\" size=\"xs\" style=\"margin-left:2px\"></app-techlify-icon>\n </mat-hint>\n <mat-hint *ngIf=\"isCustomSelected && !selectedRangeLabel\" (click)=\"openCalendar()\" class=\"clickable d-flex\">\n <span style=\"font-size: 10px;\">Select Range</span>\n <app-techlify-icon name=\"edit\" class=\"clickable\" size=\"xs\" style=\"margin-left:2px\"></app-techlify-icon>\n </mat-hint>\n <mat-date-range-input class=\"offscreen-range-input\" [rangePicker]=\"picker\">\n <input matStartDate formControlName=\"custom_date_from\" placeholder=\"From date\" readonly />\n <input matEndDate formControlName=\"custom_date_to\" placeholder=\"To date\" readonly />\n </mat-date-range-input>\n <mat-date-range-picker #picker></mat-date-range-picker>\n </mat-form-field>\n</ng-container>",
3152
- 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}}.offscreen-range-input{position:absolute;opacity:0;pointer-events:none;display:flex!important}\n"],
3152
+ 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}.wpc-45{width:45%!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}}.offscreen-range-input{position:absolute;opacity:0;pointer-events:none;display:flex!important}\n"],
3153
3153
  dependencies: [
3154
3154
  {
3155
3155
  kind: "directive",
@@ -3365,7 +3365,7 @@ i0.ɵɵngDeclareClassMetadata({
3365
3365
  changeDetection: ChangeDetectionStrategy.Eager,
3366
3366
  standalone: false,
3367
3367
  template: "<ng-container [formGroup]=\"selectorForm\">\n <mat-form-field [appearance]=\"appearance\" class=\"fl-sm\">\n <mat-label>{{labelText}}</mat-label>\n <mat-select formControlName=\"select_value\">\n <mat-option *ngFor=\"let timeline of timelines\" [value]=\"timeline.value\">\n {{timeline.viewValue}}\n </mat-option>\n </mat-select>\n <button *ngIf=\"showClearButton && timelineValue.value\" matSuffix mat-icon-button\n (click)=\"timelineValue.setValue('')\">\n <mat-icon>close</mat-icon>\n </button>\n <mat-hint *ngIf=\"isCustomSelected && selectedRangeLabel\" (click)=\"openCalendar()\" class=\"clickable d-flex\">\n <span [innerHTML]=\"selectedRangeLabel\" style=\"font-size: 10px;\"></span>\n <app-techlify-icon name=\"edit\" class=\"clickable\" size=\"xs\" style=\"margin-left:2px\"></app-techlify-icon>\n </mat-hint>\n <mat-hint *ngIf=\"isCustomSelected && !selectedRangeLabel\" (click)=\"openCalendar()\" class=\"clickable d-flex\">\n <span style=\"font-size: 10px;\">Select Range</span>\n <app-techlify-icon name=\"edit\" class=\"clickable\" size=\"xs\" style=\"margin-left:2px\"></app-techlify-icon>\n </mat-hint>\n <mat-date-range-input class=\"offscreen-range-input\" [rangePicker]=\"picker\">\n <input matStartDate formControlName=\"custom_date_from\" placeholder=\"From date\" readonly />\n <input matEndDate formControlName=\"custom_date_to\" placeholder=\"To date\" readonly />\n </mat-date-range-input>\n <mat-date-range-picker #picker></mat-date-range-picker>\n </mat-form-field>\n</ng-container>",
3368
- 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}}.offscreen-range-input{position:absolute;opacity:0;pointer-events:none;display:flex!important}\n"]
3368
+ 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}.wpc-45{width:45%!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}}.offscreen-range-input{position:absolute;opacity:0;pointer-events:none;display:flex!important}\n"]
3369
3369
  }]
3370
3370
  }],
3371
3371
  ctorParameters: () => [
@@ -3835,7 +3835,7 @@ var ExportExcelButtonComponent = class ExportExcelButtonComponent {
3835
3835
  outputs: { isExportingToExcel: "isExportingToExcel" },
3836
3836
  ngImport: i0,
3837
3837
  template: "<app-techlify-icon class=\"clickable d-print-none\" *ngIf=\"!isWorking\" [name]=\"iconName\" (click)=\"exportToExcel()\"\n matTooltip=\"Excel Export\">\n</app-techlify-icon>",
3838
- 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}}:host{display:flex;align-content:center}\n"],
3838
+ 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}.wpc-45{width:45%!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}}:host{display:flex;align-content:center}\n"],
3839
3839
  dependencies: [
3840
3840
  {
3841
3841
  kind: "directive",
@@ -3886,7 +3886,7 @@ i0.ɵɵngDeclareClassMetadata({
3886
3886
  changeDetection: ChangeDetectionStrategy.Eager,
3887
3887
  standalone: false,
3888
3888
  template: "<app-techlify-icon class=\"clickable d-print-none\" *ngIf=\"!isWorking\" [name]=\"iconName\" (click)=\"exportToExcel()\"\n matTooltip=\"Excel Export\">\n</app-techlify-icon>",
3889
- 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}}:host{display:flex;align-content:center}\n"]
3889
+ 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}.wpc-45{width:45%!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}}:host{display:flex;align-content:center}\n"]
3890
3890
  }]
3891
3891
  }],
3892
3892
  ctorParameters: () => [],
@@ -4474,8 +4474,8 @@ var SearchableSelectorComponent = class SearchableSelectorComponent {
4474
4474
  descendants: true
4475
4475
  }],
4476
4476
  ngImport: i0,
4477
- template: "<ng-container [formGroup]=\"selectorForm\">\n <div class=\"searchable-selector-container\">\n <!-- Selector and Suffix Icons -->\n <mat-select formControlName=\"select_value\" [multiple]=\"multiple\" [required]=\"required\"\n (selectionChange)=\"this.isEmitInitialEvent = false;_handleInput()\" (openedChange)=\"openedChange($event)\"\n [panelWidth]=\"panelWidth\">\n <!-- Search Field -->\n <mat-form-field *ngIf=\"enableSearch\" class=\"p-1 w-100\">\n <input matInput formControlName=\"search\" placeholder=\"Search...\" (keydown)=\"$event.stopPropagation();\"\n autocomplete=\"off\" #searchInput>\n </mat-form-field>\n\n <!-- Options with Scrollable Container -->\n <div class=\"searchable-selector-scrollable-container\" cdkScrollable (scrollend)=\"onScroll()\">\n <mat-option *ngFor=\"let item of dataItems\" [value]=\"getPropertyValue(item, valueField)\">\n <span>{{ getPropertyValue(item, titleField) }}</span>\n <span *ngIf=\"subtitleField\" class=\"text-secondary\" style=\"font-size: 14px;\">\n - {{ getPropertyValue(item, subtitleField) }}\n </span>\n </mat-option>\n <mat-progress-bar *ngIf=\"isLoading\" color=\"primary\" mode=\"indeterminate\"></mat-progress-bar>\n </div>\n </mat-select>\n\n <!-- Add and Edit Buttons -->\n <mat-icon class=\"cursor-pointer\" *ngIf=\"add\" (click)=\"addItem($event)\">\n add\n </mat-icon>\n <mat-icon class=\"cursor-pointer\" *ngIf=\"edit && selectedValue\" (click)=\"editItem($event)\">\n edit\n </mat-icon>\n </div>\n</ng-container>",
4478
- styles: [".searchable-selector-container{display:flex;align-items:center}.searchable-selector-container mat-select{flex-grow:1}.searchable-selector-container mat-icon{margin-left:2px}.relative-icon{position:relative;top:-4px}.searchable-selector-scrollable-container{max-height:175px;overflow-y:auto}:host ::ng-deep .mat-mdc-floating-label{pointer-events:none!important}\n"],
4477
+ template: "<ng-container [formGroup]=\"selectorForm\">\n <div class=\"searchable-selector-container\">\n <!-- Selector and Suffix Icons -->\n <mat-select formControlName=\"select_value\" [multiple]=\"multiple\" [required]=\"required\"\n (selectionChange)=\"this.isEmitInitialEvent = false;_handleInput()\" (openedChange)=\"openedChange($event)\"\n [panelWidth]=\"panelWidth\">\n <!-- Search Field -->\n <mat-form-field *ngIf=\"enableSearch\" class=\"p-1 w-100\">\n <input matInput formControlName=\"search\" placeholder=\"Search...\" (keydown)=\"$event.stopPropagation();\"\n autocomplete=\"off\" #searchInput>\n </mat-form-field>\n\n <!-- Options with Scrollable Container -->\n <div class=\"searchable-selector-scrollable-container\" cdkScrollable (scrollend)=\"onScroll()\">\n <mat-option *ngFor=\"let item of dataItems\" [value]=\"getPropertyValue(item, valueField)\">\n <span>{{ getPropertyValue(item, titleField) }}</span>\n <span *ngIf=\"subtitleField\" class=\"text-secondary\" style=\"font-size: 14px;\">\n - {{ getPropertyValue(item, subtitleField) }}\n </span>\n </mat-option>\n <mat-progress-bar *ngIf=\"isLoading\" color=\"primary\" mode=\"indeterminate\"></mat-progress-bar>\n </div>\n </mat-select>\n\n <!-- Add and Edit Buttons -->\n <app-techlify-icon *ngIf=\"add\" name=\"add\" class=\"clickable\" role=\"button\" aria-label=\"Add\"\n (click)=\"addItem($event)\">\n </app-techlify-icon>\n <mat-icon class=\"cursor-pointer\" *ngIf=\"edit && selectedValue\" (click)=\"editItem($event)\">\n edit\n </mat-icon>\n </div>\n</ng-container>",
4478
+ styles: [".searchable-selector-container{display:flex;align-items:center}.searchable-selector-container mat-select{flex-grow:1}.searchable-selector-container mat-icon,.searchable-selector-container app-techlify-icon{margin-left:2px}.relative-icon{position:relative;top:-4px}.searchable-selector-scrollable-container{max-height:175px;overflow-y:auto}:host ::ng-deep .mat-mdc-floating-label{pointer-events:none!important}\n"],
4479
4479
  dependencies: [
4480
4480
  {
4481
4481
  kind: "directive",
@@ -4647,6 +4647,12 @@ var SearchableSelectorComponent = class SearchableSelectorComponent {
4647
4647
  ],
4648
4648
  outputs: ["animationEnd"],
4649
4649
  exportAs: ["matProgressBar"]
4650
+ },
4651
+ {
4652
+ kind: "component",
4653
+ type: TechlifyIconComponent,
4654
+ selector: "app-techlify-icon",
4655
+ inputs: ["name", "size"]
4650
4656
  }
4651
4657
  ],
4652
4658
  changeDetection: i0.ChangeDetectionStrategy.Eager
@@ -4668,8 +4674,8 @@ i0.ɵɵngDeclareClassMetadata({
4668
4674
  }],
4669
4675
  changeDetection: ChangeDetectionStrategy.Eager,
4670
4676
  standalone: false,
4671
- template: "<ng-container [formGroup]=\"selectorForm\">\n <div class=\"searchable-selector-container\">\n <!-- Selector and Suffix Icons -->\n <mat-select formControlName=\"select_value\" [multiple]=\"multiple\" [required]=\"required\"\n (selectionChange)=\"this.isEmitInitialEvent = false;_handleInput()\" (openedChange)=\"openedChange($event)\"\n [panelWidth]=\"panelWidth\">\n <!-- Search Field -->\n <mat-form-field *ngIf=\"enableSearch\" class=\"p-1 w-100\">\n <input matInput formControlName=\"search\" placeholder=\"Search...\" (keydown)=\"$event.stopPropagation();\"\n autocomplete=\"off\" #searchInput>\n </mat-form-field>\n\n <!-- Options with Scrollable Container -->\n <div class=\"searchable-selector-scrollable-container\" cdkScrollable (scrollend)=\"onScroll()\">\n <mat-option *ngFor=\"let item of dataItems\" [value]=\"getPropertyValue(item, valueField)\">\n <span>{{ getPropertyValue(item, titleField) }}</span>\n <span *ngIf=\"subtitleField\" class=\"text-secondary\" style=\"font-size: 14px;\">\n - {{ getPropertyValue(item, subtitleField) }}\n </span>\n </mat-option>\n <mat-progress-bar *ngIf=\"isLoading\" color=\"primary\" mode=\"indeterminate\"></mat-progress-bar>\n </div>\n </mat-select>\n\n <!-- Add and Edit Buttons -->\n <mat-icon class=\"cursor-pointer\" *ngIf=\"add\" (click)=\"addItem($event)\">\n add\n </mat-icon>\n <mat-icon class=\"cursor-pointer\" *ngIf=\"edit && selectedValue\" (click)=\"editItem($event)\">\n edit\n </mat-icon>\n </div>\n</ng-container>",
4672
- styles: [".searchable-selector-container{display:flex;align-items:center}.searchable-selector-container mat-select{flex-grow:1}.searchable-selector-container mat-icon{margin-left:2px}.relative-icon{position:relative;top:-4px}.searchable-selector-scrollable-container{max-height:175px;overflow-y:auto}:host ::ng-deep .mat-mdc-floating-label{pointer-events:none!important}\n"]
4677
+ template: "<ng-container [formGroup]=\"selectorForm\">\n <div class=\"searchable-selector-container\">\n <!-- Selector and Suffix Icons -->\n <mat-select formControlName=\"select_value\" [multiple]=\"multiple\" [required]=\"required\"\n (selectionChange)=\"this.isEmitInitialEvent = false;_handleInput()\" (openedChange)=\"openedChange($event)\"\n [panelWidth]=\"panelWidth\">\n <!-- Search Field -->\n <mat-form-field *ngIf=\"enableSearch\" class=\"p-1 w-100\">\n <input matInput formControlName=\"search\" placeholder=\"Search...\" (keydown)=\"$event.stopPropagation();\"\n autocomplete=\"off\" #searchInput>\n </mat-form-field>\n\n <!-- Options with Scrollable Container -->\n <div class=\"searchable-selector-scrollable-container\" cdkScrollable (scrollend)=\"onScroll()\">\n <mat-option *ngFor=\"let item of dataItems\" [value]=\"getPropertyValue(item, valueField)\">\n <span>{{ getPropertyValue(item, titleField) }}</span>\n <span *ngIf=\"subtitleField\" class=\"text-secondary\" style=\"font-size: 14px;\">\n - {{ getPropertyValue(item, subtitleField) }}\n </span>\n </mat-option>\n <mat-progress-bar *ngIf=\"isLoading\" color=\"primary\" mode=\"indeterminate\"></mat-progress-bar>\n </div>\n </mat-select>\n\n <!-- Add and Edit Buttons -->\n <app-techlify-icon *ngIf=\"add\" name=\"add\" class=\"clickable\" role=\"button\" aria-label=\"Add\"\n (click)=\"addItem($event)\">\n </app-techlify-icon>\n <mat-icon class=\"cursor-pointer\" *ngIf=\"edit && selectedValue\" (click)=\"editItem($event)\">\n edit\n </mat-icon>\n </div>\n</ng-container>",
4678
+ styles: [".searchable-selector-container{display:flex;align-items:center}.searchable-selector-container mat-select{flex-grow:1}.searchable-selector-container mat-icon,.searchable-selector-container app-techlify-icon{margin-left:2px}.relative-icon{position:relative;top:-4px}.searchable-selector-scrollable-container{max-height:175px;overflow-y:auto}:host ::ng-deep .mat-mdc-floating-label{pointer-events:none!important}\n"]
4673
4679
  }]
4674
4680
  }],
4675
4681
  ctorParameters: () => [
@@ -4742,7 +4748,8 @@ var SearchableSelectorModule = class SearchableSelectorModule {
4742
4748
  CommonModule,
4743
4749
  ReactiveFormsModule,
4744
4750
  MaterialModule,
4745
- MatProgressBar
4751
+ MatProgressBar,
4752
+ TechlifyIconModule
4746
4753
  ],
4747
4754
  exports: [SearchableSelectorComponent]
4748
4755
  });
@@ -4757,7 +4764,8 @@ var SearchableSelectorModule = class SearchableSelectorModule {
4757
4764
  CommonModule,
4758
4765
  ReactiveFormsModule,
4759
4766
  MaterialModule,
4760
- MatProgressBar
4767
+ MatProgressBar,
4768
+ TechlifyIconModule
4761
4769
  ]
4762
4770
  });
4763
4771
  }
@@ -4774,7 +4782,8 @@ i0.ɵɵngDeclareClassMetadata({
4774
4782
  CommonModule,
4775
4783
  ReactiveFormsModule,
4776
4784
  MaterialModule,
4777
- MatProgressBar
4785
+ MatProgressBar,
4786
+ TechlifyIconModule
4778
4787
  ],
4779
4788
  declarations: [SearchableSelectorComponent],
4780
4789
  exports: [SearchableSelectorComponent]
@@ -4946,4 +4955,4 @@ i0.ɵɵngDeclareClassMetadata({
4946
4955
  });
4947
4956
  export { ActionPopupComponent as $, MaterialModule as A, HttpCacheService as B, AuthenticationGuard as C, CustomIconModule as D, TechlifyIconModule as E, HttpService as F, LogLevel as G, ErrorHandlerService as H, TokenInterceptor as I, EnvironmentService as J, Logger as K, CredentialsService as L, FormConfigurationForFormComponent as M, FileDropperComponent as N, TechlifyIconComponent as O, HTTP_DYNAMIC_INTERCEPTORS as P, SuccessSnackComponent as Q, ApiPrefixInterceptor as R, User as S, SnackModule as T, ConfigService as U, ErrorHandlerInterceptor as V, TechlifyConfig as W, AlertService as X, FormValidatorService as Y, ErrorSnackComponent as Z, FilterService as _, TimelineFilterModule as a, CurrentUserService as b, ExportExcelModule as c, ActionPopupModule as d, ActionPopup as et, TechlifyFormButtonComponent as f, TechlifyDeleteButtonComponent as g, Timeline as h, SearchableSelectorComponent as i, ReadMoreComponent as j, CustomIconComponent as k, ExportExcelButtonComponent as l, calculateTimeline as m, FormConfigurationForFormModule as n, ReadMoreModule as o, TimelineFilterComponent as p, DocumentViewerComponent as q, SearchableSelectorModule as r, FileDropperModule as s, SharedModule as t, DocumentViewerModule as u, RouteReusableStrategy as v, AppUpdateService as w, StorageService as x, AuthenticationService as y, CacheInterceptor as z };
4948
4957
 
4949
- //# sourceMappingURL=ngx-techlify-core-shared.module-ByciX1lb.mjs.map
4958
+ //# sourceMappingURL=ngx-techlify-core-shared.module-BEY22MZ6.mjs.map