ngx-techlify-core 22.12.0 → 22.14.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.
- package/fesm2022/{ngx-techlify-core-base-model-BV1MJoLt.mjs → ngx-techlify-core-base-model-B-lXWDHd.mjs} +3 -3
- package/fesm2022/{ngx-techlify-core-base-model-BV1MJoLt.mjs.map → ngx-techlify-core-base-model-B-lXWDHd.mjs.map} +1 -1
- package/fesm2022/{ngx-techlify-core-shared.module-CEQJBJXO.mjs → ngx-techlify-core-shared.module-DOwXt18q.mjs} +241 -165
- package/fesm2022/ngx-techlify-core-shared.module-DOwXt18q.mjs.map +1 -0
- package/fesm2022/{ngx-techlify-core-user-config.service-CR8RRIDs.mjs → ngx-techlify-core-user-config.service-CwumnCsp.mjs} +2 -2
- package/fesm2022/{ngx-techlify-core-user-config.service-CR8RRIDs.mjs.map → ngx-techlify-core-user-config.service-CwumnCsp.mjs.map} +1 -1
- package/fesm2022/{ngx-techlify-core-user-sessions.module-MYJL4MeS.mjs → ngx-techlify-core-user-sessions.module-DDmCBjxE.mjs} +32 -46
- package/fesm2022/ngx-techlify-core-user-sessions.module-DDmCBjxE.mjs.map +1 -0
- package/fesm2022/ngx-techlify-core.mjs +155 -201
- package/fesm2022/ngx-techlify-core.mjs.map +1 -1
- package/package.json +1 -1
- package/types/ngx-techlify-core.d.ts +25 -9
- package/fesm2022/ngx-techlify-core-shared.module-CEQJBJXO.mjs.map +0 -1
- package/fesm2022/ngx-techlify-core-user-sessions.module-MYJL4MeS.mjs.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import { a as RequestHelperService, c as TechlifyFormComponent, i as TechlifyListComponent, l as TechlifyService, n as TechlifyShowComponent, o as parseLocalDate, r as techlifyListContract, s as techlifyFormContract, t as techlifyShowContract } from "./ngx-techlify-core-base-model-
|
|
3
|
-
import { a as UserClientsListComponent, c as UserFormComponent, d as LoginHistoryForUserComponent, f as AuditLogListComponent, i as UserSessionsComponent, l as UserService, m as AuditLogService, n as UserClientsListModule, o as UserClientEnableDisableButtonComponent, p as AuditLogListFilterComponent, r as UserClientEnableDisableButtonModule, s as UserTenantService, t as UserSessionsModule, u as UserTypeEnum } from "./ngx-techlify-core-user-sessions.module-
|
|
4
|
-
import { i as UserListPageConfig, n as MultiUserConfig, r as UserConfig, t as UserConfigService } from "./ngx-techlify-core-user-config.service-
|
|
1
|
+
import { $ as SuccessSnackComponent, A as TechlifyIconComponent, B as CacheInterceptor, C as AuthenticationGuard, D as TechlifyCloseButtonComponent, E as MaterialModule, F as HTTP_DYNAMIC_INTERCEPTORS, G as TechlifyConfig, H as ErrorHandlerInterceptor, I as HttpService, J as DocumentViewerComponent, K as LogLevel, L as TokenInterceptor, M as ReadMoreComponent, N as FormConfigurationForFormComponent, O as TechlifyIconModule, P as FileDropperComponent, Q as ErrorSnackComponent, R as CredentialsService, S as User, T as SnackModule, U as ErrorHandlerService, V as HttpCacheService, W as ConfigService, X as FormValidatorService, Y as EnvironmentService, Z as AlertService, _ as FilterService, a as TimelineFilterModule, b as CurrentUserService, c as ExportExcelModule, d as ActionPopupModule, et as ActionPopupComponent, f as TechlifyFormButtonComponent, g as TechlifyDeleteButtonComponent, h as Timeline, i as SearchableSelectorComponent, j as CustomIconComponent, k as CustomIconModule, l as ExportExcelButtonComponent, m as calculateTimeline, n as FormConfigurationForFormModule, o as ReadMoreModule, p as TimelineFilterComponent, q as Logger, r as SearchableSelectorModule, s as FileDropperModule, t as SharedModule, tt as ActionPopup, u as DocumentViewerModule, v as RouteReusableStrategy, w as AppUpdateService, x as StorageService, y as AuthenticationService, z as ApiPrefixInterceptor } from "./ngx-techlify-core-shared.module-DOwXt18q.mjs";
|
|
2
|
+
import { a as RequestHelperService, c as TechlifyFormComponent, i as TechlifyListComponent, l as TechlifyService, n as TechlifyShowComponent, o as parseLocalDate, r as techlifyListContract, s as techlifyFormContract, t as techlifyShowContract } from "./ngx-techlify-core-base-model-B-lXWDHd.mjs";
|
|
3
|
+
import { a as UserClientsListComponent, c as UserFormComponent, d as LoginHistoryForUserComponent, f as AuditLogListComponent, i as UserSessionsComponent, l as UserService, m as AuditLogService, n as UserClientsListModule, o as UserClientEnableDisableButtonComponent, p as AuditLogListFilterComponent, r as UserClientEnableDisableButtonModule, s as UserTenantService, t as UserSessionsModule, u as UserTypeEnum } from "./ngx-techlify-core-user-sessions.module-DDmCBjxE.mjs";
|
|
4
|
+
import { i as UserListPageConfig, n as MultiUserConfig, r as UserConfig, t as UserConfigService } from "./ngx-techlify-core-user-config.service-CwumnCsp.mjs";
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChild, DestroyRef, Directive, ElementRef, EventEmitter, HostListener, Inject, Injectable, Input, NgModule, Optional, Output, Pipe, Self, SkipSelf, ViewChild, ViewEncapsulation, booleanAttribute, computed, effect, forwardRef, inject, input, numberAttribute, signal, viewChild } from "@angular/core";
|
|
7
7
|
import * as i1$2 from "@angular/material/dialog";
|
|
@@ -37,7 +37,7 @@ import * as i8 from "@angular/material/tooltip";
|
|
|
37
37
|
import { MatTooltipModule } from "@angular/material/tooltip";
|
|
38
38
|
import * as i8$2 from "@angular/material/form-field";
|
|
39
39
|
import { MAT_FORM_FIELD, MatError, MatFormField, MatFormFieldControl, MatLabel } from "@angular/material/form-field";
|
|
40
|
-
import * as i12$
|
|
40
|
+
import * as i12$1 from "@angular/material/input";
|
|
41
41
|
import { MatInput } from "@angular/material/input";
|
|
42
42
|
import * as i13$1 from "@angular/material/datepicker";
|
|
43
43
|
import { coerceBooleanProperty } from "@angular/cdk/coercion";
|
|
@@ -52,11 +52,11 @@ import * as i20 from "@angular/material/progress-bar";
|
|
|
52
52
|
import { MatProgressBarModule } from "@angular/material/progress-bar";
|
|
53
53
|
import * as i9 from "@angular/material/progress-spinner";
|
|
54
54
|
import { MatProgressSpinnerModule } from "@angular/material/progress-spinner";
|
|
55
|
-
import * as i11 from "@angular/material/select";
|
|
55
|
+
import * as i11$1 from "@angular/material/select";
|
|
56
56
|
import { MatSelect } from "@angular/material/select";
|
|
57
|
-
import * as i12
|
|
57
|
+
import * as i12 from "@angular/material/divider";
|
|
58
58
|
import * as i6$1 from "@angular/material/list";
|
|
59
|
-
import * as
|
|
59
|
+
import * as i11 from "@angular/material/button-toggle";
|
|
60
60
|
import * as i8$1 from "@angular/material/slide-toggle";
|
|
61
61
|
import * as i7 from "@angular/material/tabs";
|
|
62
62
|
import moment from "moment";
|
|
@@ -1351,7 +1351,7 @@ var EntityFileFormComponent = class EntityFileFormComponent extends TechlifyForm
|
|
|
1351
1351
|
},
|
|
1352
1352
|
{
|
|
1353
1353
|
kind: "directive",
|
|
1354
|
-
type: i12$
|
|
1354
|
+
type: i12$1.MatInput,
|
|
1355
1355
|
selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",
|
|
1356
1356
|
inputs: [
|
|
1357
1357
|
"disabled",
|
|
@@ -1846,7 +1846,7 @@ var EntityFileListComponent = class EntityFileListComponent extends TechlifyList
|
|
|
1846
1846
|
},
|
|
1847
1847
|
usesInheritance: true,
|
|
1848
1848
|
ngImport: i0,
|
|
1849
|
-
template: "<div *ngIf=\"viewMode === 'list'\">\n <div *ngIf=\"this.selectedModelIds.length\" class=\"d-none d-md-flex flex-column\">\n <mat-card class=\"update_card\" *ngIf=\"this.selectedModelIds.length\">\n <mat-card-header>\n <mat-card-title>\n <div mat-dialog-title class=\"mt-2 ml-2 text-center\">\n <div>Update Selected Rows</div>\n </div>\n </mat-card-title>\n </mat-card-header>\n <mat-card-content class=\"d-flex flex-column\">\n <form [formGroup]=\"updateRowForm\">\n <div class=\"d-flex flex-column\">\n\n <mat-form-field class=\"w-100 px-1\">\n <input matInput formControlName=\"title\" placeholder=\"Title\" autocomplete=\"off\" />\n <button *ngIf=\"updateRowForm.get('title').value || updateRowForm.get('title').value===0\" matSuffix\n mat-icon-button style=\"color:red\" (click)=\"updateRowForm.get('title').setValue('')\">\n <mat-icon>close</mat-icon>\n </button>\n <button matSuffix mat-icon-button type=\"button\" style=\"color:green\" *ngIf=\"(updateRowForm.get('title').value || updateRowForm.get('title').value===0)\n && updateRowForm.get('title').valid\" (click)=\"bulkUpdate('title')\">\n <mat-icon>done</mat-icon>\n </button>\n </mat-form-field>\n\n <mat-form-field class=\"w-100 px-1\">\n <textarea matInput formControlName=\"details\" placeholder=\"Details\" autocomplete=\"off\"></textarea>\n <button *ngIf=\"updateRowForm.get('details').value || updateRowForm.get('details').value===0\" matSuffix\n mat-icon-button style=\"color:red\" (click)=\"updateRowForm.get('details').setValue('')\">\n <mat-icon>close</mat-icon>\n </button>\n <button matSuffix mat-icon-button type=\"button\" style=\"color:green\" *ngIf=\"(updateRowForm.get('details').value || updateRowForm.get('details').value===0)\n && updateRowForm.get('details').valid\" (click)=\"bulkUpdate('details')\">\n <mat-icon>done</mat-icon>\n </button>\n </mat-form-field>\n\n <ng-container *ngIf=\"useTechlifyTags\">\n <mat-form-field>\n <mat-label>Tag</mat-label>\n <app-techlify-tagger-tag-form-field modelType=\"entity-file\" formControlName=\"tag_ids\"\n placeholder=\"Enter new tag\">\n </app-techlify-tagger-tag-form-field>\n <button *ngIf=\"updateRowForm.get('tag_ids').value || updateRowForm.get('tag_ids').value===0\" matSuffix\n mat-icon-button style=\"color:red\" (click)=\"updateRowForm.get('tag_ids').setValue('')\">\n <mat-icon>close</mat-icon>\n </button>\n <button matSuffix mat-icon-button type=\"button\" style=\"color:green\" *ngIf=\"(updateRowForm.get('tag_ids').value || updateRowForm.get('tag_ids').value===0)\n && updateRowForm.get('tag_ids').valid\" (click)=\"bulkUpdate('tag_ids')\">\n <mat-icon>done</mat-icon>\n </button>\n </mat-form-field>\n </ng-container>\n </div>\n </form>\n </mat-card-content>\n </mat-card>\n\n </div>\n\n <div>\n <div class=\"mat-typography\" *ngIf=\"!displayMode\">\n <div class=\"d-flex flex-row gap-3\">\n <div class=\"d-flex flex-column gap-2 flex-grow-1\">\n <mat-card>\n <mat-card-content>\n <div class=\"d-flex gap-2 align-items-center\">\n <mat-icon>\n description\n </mat-icon>\n <h3 class=\"font-weight-bold mb-0\">\n {{title}}s\n </h3>\n <app-techlify-form-button class=\"ms-2\" *ngIf=\"!viewOnly && isShowCreateAction && entityId\"\n [component]=\"entityFileForm()\" [data]=\"formData\"\n (saved)=\"modelCreated($event)\"></app-techlify-form-button>\n <span class=\"flex-grow-1\"></span>\n <form [formGroup]=\"filterForm\" class=\"d-flex gap-2\">\n <mat-form-field *ngIf=\"!removeSearch\" appearance=\"outline\">\n <mat-label>Search</mat-label>\n <input type=\"text\" matInput formControlName=\"title\" placeholder=\"Search\" name=\"title\"\n autocomplete=\"off\" />\n <button *ngIf=\"filterForm.get('title').value\" matSuffix mat-icon-button\n (click)=\"resetFilter('title')\">\n <mat-icon>close</mat-icon>\n </button>\n </mat-form-field>\n\n <ng-container *ngIf=\"useTechlifyTags\">\n <mat-form-field>\n <mat-label>Tag</mat-label>\n <app-techlify-tagger-tag-form-field [categories]=\"techlifyTagCategories\" formControlName=\"tag_ids\"\n placeholder=\"Select Tags\" [config]=\"techlifyTagConfig\"></app-techlify-tagger-tag-form-field>\n </mat-form-field>\n </ng-container>\n\n <app-timeline-filter class=\"fl-sm\" formControlName='period_id' labelText=\"Expires On\"\n dateFrom=\"expires_on_from\" dateTo=\"expires_on_to\" [form]=\"filterForm\"></app-timeline-filter>\n </form>\n </div>\n </mat-card-content>\n <mat-card-content class=\"entity-file-card p-0\" *ngIf=\"entityId\">\n <ng-container *ngTemplateOutlet=\"tableView\"></ng-container>\n </mat-card-content>\n </mat-card>\n\n <mat-card *ngIf=\"!entityId\">\n <mat-card-content class=\"entity-file-card p-0\">\n <ng-container *ngTemplateOutlet=\"tableView\"></ng-container>\n </mat-card-content>\n </mat-card>\n </div>\n <ng-container *ngIf=\"isShowDragDropSection && entityId\">\n <section style=\"flex: 0 1 30%;\" *ngIf=\"!this.selectedModelIds.length && !viewOnly && isShowCreateAction\">\n <app-file-dropper [config]=\"fileConfig\" (fileChanged)=\"fileChanged($event)\">\n </app-file-dropper>\n </section>\n </ng-container>\n </div>\n </div>\n </div>\n\n <ng-template #tableView>\n <table mat-table [dataSource]=\"models\" class=\"w-100\" matSort multiTemplateDataRows infiniteScroll\n [infiniteScrollDistance]=\"1.5\" [infiniteScrollThrottle]=\"50\" (scrolled)=\"onScroll()\">\n\n <!-- Select Column -->\n <ng-container matColumnDef=\"select\">\n <th mat-header-cell *matHeaderCellDef style=\"width:30px\">\n <mat-checkbox name=\"employee\" [(ngModel)]=\"isAllSelected\" (change)=\"selectAll()\">\n </mat-checkbox>\n </th>\n <td mat-cell *matCellDef=\"let element\" style=\"width:30px\">\n <mat-checkbox name=\"employee[{{element?.id}}]\" (click)=\"$event.stopPropagation()\"\n [(ngModel)]=\"element.is_selected\" (change)=\"isSelectionModified($event, element)\"\n [disabled]=\"!models.length\">\n </mat-checkbox>\n </td>\n </ng-container>\n\n <!-- Index Column -->\n <ng-container matColumnDef=\"index\">\n <th mat-header-cell *matHeaderCellDef> # </th>\n <td mat-cell *matCellDef=\"let element; let i = dataIndex\"> {{ i+1 }} </td>\n </ng-container>\n\n <!-- Title Column -->\n <ng-container matColumnDef=\"title\">\n <th mat-header-cell *matHeaderCellDef> Title </th>\n <td mat-cell *matCellDef=\"let element\">\n {{element.title}}\n <ng-container *ngIf=\"useTechlifyTags\">\n <br>\n <small class=\"badge badge-secondary mr-1\" *ngFor=\"let tag of element?.tags\">{{tag?.title}}</small>\n </ng-container>\n\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"expires_on\">\n <th mat-header-cell *matHeaderCellDef> Expires On </th>\n <td mat-cell *matCellDef=\"let element\">\n {{element?.expires_on | date:'mediumDate'}}\n </td>\n </ng-container>\n\n <!-- Details Column -->\n <ng-container matColumnDef=\"details\">\n <th mat-header-cell *matHeaderCellDef> Details </th>\n <td mat-cell *matCellDef=\"let element\">\n <app-read-more [text]=\"element.details\" [maxLength]=\"50\"></app-read-more>\n </td>\n </ng-container>\n\n <!-- File size Column -->\n <ng-container matColumnDef=\"file_size\">\n <th mat-header-cell *matHeaderCellDef> File Size </th>\n <td mat-cell *matCellDef=\"let element\">\n <span *ngIf=\"element?.file_size\"> {{ element.file_size | fileSize }} </span>\n </td>\n </ng-container>\n\n <!-- Uploaded On Column -->\n <ng-container matColumnDef=\"uploaded_on\">\n <th mat-header-cell *matHeaderCellDef> Uploaded On </th>\n <td mat-cell *matCellDef=\"let element\">\n <div>\n {{element.created_at | date: 'mediumDate'}}\n </div>\n <div class=\"text-muted\" *ngIf=\"element.creator\">\n By {{element.creator?.name}}\n </div>\n </td>\n </ng-container>\n\n <!-- Actions Column -->\n <ng-container matColumnDef=\"actions\">\n <th mat-header-cell *matHeaderCellDef> Actions </th>\n <td mat-cell *matCellDef=\"let element\" class=\"text-muted\">\n <div class=\"d-flex flex-row gap-2 text-secondary align-items-center\">\n <a href=\"{{element.url}}\" target=\"_blank\" class=\"text-decoration-none text-muted clickable\">\n <mat-icon>download</mat-icon>\n </a>\n <app-techlify-form-button *ngIf=\"!viewOnly && isShowUpdateAction\" [component]=\"entityFileForm()\"\n [model]=\"element\" [data]=\"formData\" (saved)=\"modelsUpdatedById($event)\"></app-techlify-form-button>\n <app-techlify-delete-button *ngIf=\"!viewOnly && isShowDeleteAction\" [model]=\"element\" [service]=\"service\"\n message=\"Are you sure to proceed delete the file {{element.title}}\"\n (deleted)=\"modelsDeletedById(element)\">\n </app-techlify-delete-button>\n </div>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns;\"></tr>\n </table>\n\n <mat-progress-bar mode=\"indeterminate\" *ngIf=\"isWorking\"></mat-progress-bar>\n </ng-template>\n\n <div class=\"d-flex flex-wrap gap-3 mat-typography p-4\" *ngIf=\"displayMode\">\n <div *ngFor=\"let efile of models\">\n <app-document-viewer [file]=\"efile.file\" [fileUrl]=\"efile.url\" [config]=\"this.viewerConfig\" [disableEdit]=\"true\">\n </app-document-viewer>\n <a href=\"{{efile.url}}\" target=\"_blank\">\n <button mat-button type=\"button\">View</button>\n </a>\n </div>\n </div>\n</div>\n\n<mat-card *ngIf=\"viewMode === 'timeline'\">\n <mat-card-content>\n <div class=\"d-flex justify-content-start align-items-center gap-2\">\n <mat-icon>\n description\n </mat-icon>\n <h3 class=\"font-weight-bold mb-0\">\n {{title}}s\n </h3>\n <app-techlify-form-button *ngIf=\"!viewOnly && isShowCreateAction\" [component]=\"entityFileForm()\" [data]=\"formData\"\n (saved)=\"modelCreated($event)\"></app-techlify-form-button>\n </div>\n </mat-card-content>\n <mat-card-content *ngIf=\"!this.selectedModelIds.length && !viewOnly && isShowCreateAction\" class=\"mt-3\">\n <app-file-dropper [config]=\"fileConfig\" (fileChanged)=\"fileChanged($event)\">\n </app-file-dropper>\n </mat-card-content>\n\n <mat-card-content class=\"mt-3\">\n <div *ngFor=\"let entityFile of models\" class=\"d-flex flex-column gap-0\">\n <div class=\"d-flex flex-column gap-0\">\n <div class=\"d-flex justify-content-between align-items-center gap-1\">\n <p class=\"mb-0 fw-bold text-wrap\">{{ entityFile?.title | wrap:20 }}</p>\n <span class=\"badge bg-dark\" *ngFor=\"let tag of entityFile?.tags\">\n {{ tag?.title }}\n </span>\n <small class=\"text-dark\">{{ entityFile.file_size | fileSize }}</small>\n </div>\n </div>\n <app-read-more [text]=\"entityFile?.details\" [maxLength]=\"50\"></app-read-more>\n <div class=\"d-flex justify-content-between gap-2\">\n <small class=\"text-secondary\" style=\"max-width: 70%\">\n <i>Uploaded By {{ entityFile?.creator?.name }} {{ entityFile?.created_at | date: 'mediumDate'}}</i>\n </small>\n <div class=\"d-flex justify-content-end align-items-center gap-1\">\n <a href=\"{{entityFile?.url}}\" target=\"_blank\" class=\"text-decoration-none text-secondary mt-2\">\n <mat-icon>download</mat-icon>\n </a>\n <app-techlify-form-button class=\"text-secondary\" *ngIf=\"!viewOnly && isShowUpdateAction\"\n [component]=\"entityFileForm()\" [model]=\"entityFile\" [data]=\"formData\"\n (saved)=\"modelsUpdatedById($event)\"></app-techlify-form-button>\n <app-techlify-delete-button *ngIf=\"!viewOnly && isShowDeleteAction\" class='text-secondary ms-1'\n [model]=\"entityFile\" [service]=\"service\"\n message=\"Are you sure to proceed delete the file {{entityFile.title}}\"\n (deleted)=\"modelsDeletedById(entityFile)\">\n </app-techlify-delete-button>\n </div>\n </div>\n <hr style=\"margin: 0.5rem 0\">\n </div>\n <mat-progress-bar mode=\"indeterminate\" *ngIf=\"isWorking\"></mat-progress-bar>\n </mat-card-content>\n</mat-card>",
|
|
1849
|
+
template: "<div *ngIf=\"viewMode === 'list'\">\n <div *ngIf=\"this.selectedModelIds.length\" class=\"d-none d-md-flex flex-column\">\n <mat-card class=\"update_card\" *ngIf=\"this.selectedModelIds.length\">\n <mat-card-header>\n <mat-card-title>\n <div mat-dialog-title class=\"mt-2 ml-2 text-center\">\n <div>Update Selected Rows</div>\n </div>\n </mat-card-title>\n </mat-card-header>\n <mat-card-content class=\"d-flex flex-column\">\n <form [formGroup]=\"updateRowForm\">\n <div class=\"d-flex flex-column\">\n\n <mat-form-field class=\"w-100 px-1\">\n <input matInput formControlName=\"title\" placeholder=\"Title\" autocomplete=\"off\" />\n <app-techlify-close-button *ngIf=\"updateRowForm.get('title').value || updateRowForm.get('title').value===0\" matSuffix style=\"color:red\"\n (click)=\"updateRowForm.get('title').setValue('')\"></app-techlify-close-button>\n <button matSuffix mat-icon-button type=\"button\" style=\"color:green\" *ngIf=\"(updateRowForm.get('title').value || updateRowForm.get('title').value===0)\n && updateRowForm.get('title').valid\" (click)=\"bulkUpdate('title')\">\n <mat-icon>done</mat-icon>\n </button>\n </mat-form-field>\n\n <mat-form-field class=\"w-100 px-1\">\n <textarea matInput formControlName=\"details\" placeholder=\"Details\" autocomplete=\"off\"></textarea>\n <app-techlify-close-button *ngIf=\"updateRowForm.get('details').value || updateRowForm.get('details').value===0\" matSuffix style=\"color:red\"\n (click)=\"updateRowForm.get('details').setValue('')\"></app-techlify-close-button>\n <button matSuffix mat-icon-button type=\"button\" style=\"color:green\" *ngIf=\"(updateRowForm.get('details').value || updateRowForm.get('details').value===0)\n && updateRowForm.get('details').valid\" (click)=\"bulkUpdate('details')\">\n <mat-icon>done</mat-icon>\n </button>\n </mat-form-field>\n\n <ng-container *ngIf=\"useTechlifyTags\">\n <mat-form-field>\n <mat-label>Tag</mat-label>\n <app-techlify-tagger-tag-form-field modelType=\"entity-file\" formControlName=\"tag_ids\"\n placeholder=\"Enter new tag\">\n </app-techlify-tagger-tag-form-field>\n <app-techlify-close-button *ngIf=\"updateRowForm.get('tag_ids').value || updateRowForm.get('tag_ids').value===0\" matSuffix style=\"color:red\"\n (click)=\"updateRowForm.get('tag_ids').setValue('')\"></app-techlify-close-button>\n <button matSuffix mat-icon-button type=\"button\" style=\"color:green\" *ngIf=\"(updateRowForm.get('tag_ids').value || updateRowForm.get('tag_ids').value===0)\n && updateRowForm.get('tag_ids').valid\" (click)=\"bulkUpdate('tag_ids')\">\n <mat-icon>done</mat-icon>\n </button>\n </mat-form-field>\n </ng-container>\n </div>\n </form>\n </mat-card-content>\n </mat-card>\n\n </div>\n\n <div>\n <div class=\"mat-typography\" *ngIf=\"!displayMode\">\n <div class=\"d-flex flex-row gap-3\">\n <div class=\"d-flex flex-column gap-2 flex-grow-1\">\n <mat-card>\n <mat-card-content>\n <div class=\"d-flex gap-2 align-items-center\">\n <mat-icon>\n description\n </mat-icon>\n <h3 class=\"font-weight-bold mb-0\">\n {{title}}s\n </h3>\n <app-techlify-form-button class=\"ms-2\" *ngIf=\"!viewOnly && isShowCreateAction && entityId\"\n [component]=\"entityFileForm()\" [data]=\"formData\"\n (saved)=\"modelCreated($event)\"></app-techlify-form-button>\n <span class=\"flex-grow-1\"></span>\n <form [formGroup]=\"filterForm\" class=\"d-flex gap-2\">\n <mat-form-field *ngIf=\"!removeSearch\" appearance=\"outline\">\n <mat-label>Search</mat-label>\n <input type=\"text\" matInput formControlName=\"title\" placeholder=\"Search\" name=\"title\"\n autocomplete=\"off\" />\n <app-techlify-close-button *ngIf=\"filterForm.get('title').value\" matSuffix\n (click)=\"resetFilter('title')\"></app-techlify-close-button>\n </mat-form-field>\n\n <ng-container *ngIf=\"useTechlifyTags\">\n <mat-form-field>\n <mat-label>Tag</mat-label>\n <app-techlify-tagger-tag-form-field [categories]=\"techlifyTagCategories\" formControlName=\"tag_ids\"\n placeholder=\"Select Tags\" [config]=\"techlifyTagConfig\"></app-techlify-tagger-tag-form-field>\n </mat-form-field>\n </ng-container>\n\n <app-timeline-filter class=\"fl-sm\" formControlName='period_id' labelText=\"Expires On\"\n dateFrom=\"expires_on_from\" dateTo=\"expires_on_to\" [form]=\"filterForm\"></app-timeline-filter>\n </form>\n </div>\n </mat-card-content>\n <mat-card-content class=\"entity-file-card p-0\" *ngIf=\"entityId\">\n <ng-container *ngTemplateOutlet=\"tableView\"></ng-container>\n </mat-card-content>\n </mat-card>\n\n <mat-card *ngIf=\"!entityId\">\n <mat-card-content class=\"entity-file-card p-0\">\n <ng-container *ngTemplateOutlet=\"tableView\"></ng-container>\n </mat-card-content>\n </mat-card>\n </div>\n <ng-container *ngIf=\"isShowDragDropSection && entityId\">\n <section style=\"flex: 0 1 30%;\" *ngIf=\"!this.selectedModelIds.length && !viewOnly && isShowCreateAction\">\n <app-file-dropper [config]=\"fileConfig\" (fileChanged)=\"fileChanged($event)\">\n </app-file-dropper>\n </section>\n </ng-container>\n </div>\n </div>\n </div>\n\n <ng-template #tableView>\n <table mat-table [dataSource]=\"models\" class=\"w-100\" matSort multiTemplateDataRows infiniteScroll\n [infiniteScrollDistance]=\"1.5\" [infiniteScrollThrottle]=\"50\" (scrolled)=\"onScroll()\">\n\n <!-- Select Column -->\n <ng-container matColumnDef=\"select\">\n <th mat-header-cell *matHeaderCellDef style=\"width:30px\">\n <mat-checkbox name=\"employee\" [(ngModel)]=\"isAllSelected\" (change)=\"selectAll()\">\n </mat-checkbox>\n </th>\n <td mat-cell *matCellDef=\"let element\" style=\"width:30px\">\n <mat-checkbox name=\"employee[{{element?.id}}]\" (click)=\"$event.stopPropagation()\"\n [(ngModel)]=\"element.is_selected\" (change)=\"isSelectionModified($event, element)\"\n [disabled]=\"!models.length\">\n </mat-checkbox>\n </td>\n </ng-container>\n\n <!-- Index Column -->\n <ng-container matColumnDef=\"index\">\n <th mat-header-cell *matHeaderCellDef> # </th>\n <td mat-cell *matCellDef=\"let element; let i = dataIndex\"> {{ i+1 }} </td>\n </ng-container>\n\n <!-- Title Column -->\n <ng-container matColumnDef=\"title\">\n <th mat-header-cell *matHeaderCellDef> Title </th>\n <td mat-cell *matCellDef=\"let element\">\n {{element.title}}\n <ng-container *ngIf=\"useTechlifyTags\">\n <br>\n <small class=\"badge badge-secondary mr-1\" *ngFor=\"let tag of element?.tags\">{{tag?.title}}</small>\n </ng-container>\n\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"expires_on\">\n <th mat-header-cell *matHeaderCellDef> Expires On </th>\n <td mat-cell *matCellDef=\"let element\">\n {{element?.expires_on | date:'mediumDate'}}\n </td>\n </ng-container>\n\n <!-- Details Column -->\n <ng-container matColumnDef=\"details\">\n <th mat-header-cell *matHeaderCellDef> Details </th>\n <td mat-cell *matCellDef=\"let element\">\n <app-read-more [text]=\"element.details\" [maxLength]=\"50\"></app-read-more>\n </td>\n </ng-container>\n\n <!-- File size Column -->\n <ng-container matColumnDef=\"file_size\">\n <th mat-header-cell *matHeaderCellDef> File Size </th>\n <td mat-cell *matCellDef=\"let element\">\n <span *ngIf=\"element?.file_size\"> {{ element.file_size | fileSize }} </span>\n </td>\n </ng-container>\n\n <!-- Uploaded On Column -->\n <ng-container matColumnDef=\"uploaded_on\">\n <th mat-header-cell *matHeaderCellDef> Uploaded On </th>\n <td mat-cell *matCellDef=\"let element\">\n <div>\n {{element.created_at | date: 'mediumDate'}}\n </div>\n <div class=\"text-muted\" *ngIf=\"element.creator\">\n By {{element.creator?.name}}\n </div>\n </td>\n </ng-container>\n\n <!-- Actions Column -->\n <ng-container matColumnDef=\"actions\">\n <th mat-header-cell *matHeaderCellDef> Actions </th>\n <td mat-cell *matCellDef=\"let element\" class=\"text-muted\">\n <div class=\"d-flex flex-row gap-2 text-secondary align-items-center\">\n <a href=\"{{element.url}}\" target=\"_blank\" class=\"text-decoration-none text-muted clickable\">\n <mat-icon>download</mat-icon>\n </a>\n <app-techlify-form-button *ngIf=\"!viewOnly && isShowUpdateAction\" [component]=\"entityFileForm()\"\n [model]=\"element\" [data]=\"formData\" (saved)=\"modelsUpdatedById($event)\"></app-techlify-form-button>\n <app-techlify-delete-button *ngIf=\"!viewOnly && isShowDeleteAction\" [model]=\"element\" [service]=\"service\"\n message=\"Are you sure to proceed delete the file {{element.title}}\"\n (deleted)=\"modelsDeletedById(element)\">\n </app-techlify-delete-button>\n </div>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns;\"></tr>\n </table>\n\n <mat-progress-bar mode=\"indeterminate\" *ngIf=\"isWorking\"></mat-progress-bar>\n </ng-template>\n\n <div class=\"d-flex flex-wrap gap-3 mat-typography p-4\" *ngIf=\"displayMode\">\n <div *ngFor=\"let efile of models\">\n <app-document-viewer [file]=\"efile.file\" [fileUrl]=\"efile.url\" [config]=\"this.viewerConfig\" [disableEdit]=\"true\">\n </app-document-viewer>\n <a href=\"{{efile.url}}\" target=\"_blank\">\n <button mat-button type=\"button\">View</button>\n </a>\n </div>\n </div>\n</div>\n\n<mat-card *ngIf=\"viewMode === 'timeline'\">\n <mat-card-content>\n <div class=\"d-flex justify-content-start align-items-center gap-2\">\n <mat-icon>\n description\n </mat-icon>\n <h3 class=\"font-weight-bold mb-0\">\n {{title}}s\n </h3>\n <app-techlify-form-button *ngIf=\"!viewOnly && isShowCreateAction\" [component]=\"entityFileForm()\" [data]=\"formData\"\n (saved)=\"modelCreated($event)\"></app-techlify-form-button>\n </div>\n </mat-card-content>\n <mat-card-content *ngIf=\"!this.selectedModelIds.length && !viewOnly && isShowCreateAction\" class=\"mt-3\">\n <app-file-dropper [config]=\"fileConfig\" (fileChanged)=\"fileChanged($event)\">\n </app-file-dropper>\n </mat-card-content>\n\n <mat-card-content class=\"mt-3\">\n <div *ngFor=\"let entityFile of models\" class=\"d-flex flex-column gap-0\">\n <div class=\"d-flex flex-column gap-0\">\n <div class=\"d-flex justify-content-between align-items-center gap-1\">\n <p class=\"mb-0 fw-bold text-wrap\">{{ entityFile?.title | wrap:20 }}</p>\n <span class=\"badge bg-dark\" *ngFor=\"let tag of entityFile?.tags\">\n {{ tag?.title }}\n </span>\n <small class=\"text-dark\">{{ entityFile.file_size | fileSize }}</small>\n </div>\n </div>\n <app-read-more [text]=\"entityFile?.details\" [maxLength]=\"50\"></app-read-more>\n <div class=\"d-flex justify-content-between gap-2\">\n <small class=\"text-secondary\" style=\"max-width: 70%\">\n <i>Uploaded By {{ entityFile?.creator?.name }} {{ entityFile?.created_at | date: 'mediumDate'}}</i>\n </small>\n <div class=\"d-flex justify-content-end align-items-center gap-1\">\n <a href=\"{{entityFile?.url}}\" target=\"_blank\" class=\"text-decoration-none text-secondary mt-2\">\n <mat-icon>download</mat-icon>\n </a>\n <app-techlify-form-button class=\"text-secondary\" *ngIf=\"!viewOnly && isShowUpdateAction\"\n [component]=\"entityFileForm()\" [model]=\"entityFile\" [data]=\"formData\"\n (saved)=\"modelsUpdatedById($event)\"></app-techlify-form-button>\n <app-techlify-delete-button *ngIf=\"!viewOnly && isShowDeleteAction\" class='text-secondary ms-1'\n [model]=\"entityFile\" [service]=\"service\"\n message=\"Are you sure to proceed delete the file {{entityFile.title}}\"\n (deleted)=\"modelsDeletedById(entityFile)\">\n </app-techlify-delete-button>\n </div>\n </div>\n <hr style=\"margin: 0.5rem 0\">\n </div>\n <mat-progress-bar mode=\"indeterminate\" *ngIf=\"isWorking\"></mat-progress-bar>\n </mat-card-content>\n</mat-card>",
|
|
1850
1850
|
styles: ["th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:2px}.entity-file-card{overflow-x:auto}.clickable:hover{cursor:pointer}\n"],
|
|
1851
1851
|
dependencies: [
|
|
1852
1852
|
{
|
|
@@ -2040,7 +2040,7 @@ var EntityFileListComponent = class EntityFileListComponent extends TechlifyList
|
|
|
2040
2040
|
},
|
|
2041
2041
|
{
|
|
2042
2042
|
kind: "directive",
|
|
2043
|
-
type: i12$
|
|
2043
|
+
type: i12$1.MatInput,
|
|
2044
2044
|
selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",
|
|
2045
2045
|
inputs: [
|
|
2046
2046
|
"disabled",
|
|
@@ -2187,6 +2187,11 @@ var EntityFileListComponent = class EntityFileListComponent extends TechlifyList
|
|
|
2187
2187
|
selector: "app-read-more",
|
|
2188
2188
|
inputs: ["text", "maxLength"]
|
|
2189
2189
|
},
|
|
2190
|
+
{
|
|
2191
|
+
kind: "component",
|
|
2192
|
+
type: TechlifyCloseButtonComponent,
|
|
2193
|
+
selector: "app-techlify-close-button"
|
|
2194
|
+
},
|
|
2190
2195
|
{
|
|
2191
2196
|
kind: "component",
|
|
2192
2197
|
type: TechlifyDeleteButtonComponent,
|
|
@@ -2283,7 +2288,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2283
2288
|
selector: "app-entity-file-list, app-entity-files-view-all",
|
|
2284
2289
|
changeDetection: ChangeDetectionStrategy.Eager,
|
|
2285
2290
|
standalone: false,
|
|
2286
|
-
template: "<div *ngIf=\"viewMode === 'list'\">\n <div *ngIf=\"this.selectedModelIds.length\" class=\"d-none d-md-flex flex-column\">\n <mat-card class=\"update_card\" *ngIf=\"this.selectedModelIds.length\">\n <mat-card-header>\n <mat-card-title>\n <div mat-dialog-title class=\"mt-2 ml-2 text-center\">\n <div>Update Selected Rows</div>\n </div>\n </mat-card-title>\n </mat-card-header>\n <mat-card-content class=\"d-flex flex-column\">\n <form [formGroup]=\"updateRowForm\">\n <div class=\"d-flex flex-column\">\n\n <mat-form-field class=\"w-100 px-1\">\n <input matInput formControlName=\"title\" placeholder=\"Title\" autocomplete=\"off\" />\n <button *ngIf=\"updateRowForm.get('title').value || updateRowForm.get('title').value===0\" matSuffix\n mat-icon-button style=\"color:red\" (click)=\"updateRowForm.get('title').setValue('')\">\n <mat-icon>close</mat-icon>\n </button>\n <button matSuffix mat-icon-button type=\"button\" style=\"color:green\" *ngIf=\"(updateRowForm.get('title').value || updateRowForm.get('title').value===0)\n && updateRowForm.get('title').valid\" (click)=\"bulkUpdate('title')\">\n <mat-icon>done</mat-icon>\n </button>\n </mat-form-field>\n\n <mat-form-field class=\"w-100 px-1\">\n <textarea matInput formControlName=\"details\" placeholder=\"Details\" autocomplete=\"off\"></textarea>\n <button *ngIf=\"updateRowForm.get('details').value || updateRowForm.get('details').value===0\" matSuffix\n mat-icon-button style=\"color:red\" (click)=\"updateRowForm.get('details').setValue('')\">\n <mat-icon>close</mat-icon>\n </button>\n <button matSuffix mat-icon-button type=\"button\" style=\"color:green\" *ngIf=\"(updateRowForm.get('details').value || updateRowForm.get('details').value===0)\n && updateRowForm.get('details').valid\" (click)=\"bulkUpdate('details')\">\n <mat-icon>done</mat-icon>\n </button>\n </mat-form-field>\n\n <ng-container *ngIf=\"useTechlifyTags\">\n <mat-form-field>\n <mat-label>Tag</mat-label>\n <app-techlify-tagger-tag-form-field modelType=\"entity-file\" formControlName=\"tag_ids\"\n placeholder=\"Enter new tag\">\n </app-techlify-tagger-tag-form-field>\n <button *ngIf=\"updateRowForm.get('tag_ids').value || updateRowForm.get('tag_ids').value===0\" matSuffix\n mat-icon-button style=\"color:red\" (click)=\"updateRowForm.get('tag_ids').setValue('')\">\n <mat-icon>close</mat-icon>\n </button>\n <button matSuffix mat-icon-button type=\"button\" style=\"color:green\" *ngIf=\"(updateRowForm.get('tag_ids').value || updateRowForm.get('tag_ids').value===0)\n && updateRowForm.get('tag_ids').valid\" (click)=\"bulkUpdate('tag_ids')\">\n <mat-icon>done</mat-icon>\n </button>\n </mat-form-field>\n </ng-container>\n </div>\n </form>\n </mat-card-content>\n </mat-card>\n\n </div>\n\n <div>\n <div class=\"mat-typography\" *ngIf=\"!displayMode\">\n <div class=\"d-flex flex-row gap-3\">\n <div class=\"d-flex flex-column gap-2 flex-grow-1\">\n <mat-card>\n <mat-card-content>\n <div class=\"d-flex gap-2 align-items-center\">\n <mat-icon>\n description\n </mat-icon>\n <h3 class=\"font-weight-bold mb-0\">\n {{title}}s\n </h3>\n <app-techlify-form-button class=\"ms-2\" *ngIf=\"!viewOnly && isShowCreateAction && entityId\"\n [component]=\"entityFileForm()\" [data]=\"formData\"\n (saved)=\"modelCreated($event)\"></app-techlify-form-button>\n <span class=\"flex-grow-1\"></span>\n <form [formGroup]=\"filterForm\" class=\"d-flex gap-2\">\n <mat-form-field *ngIf=\"!removeSearch\" appearance=\"outline\">\n <mat-label>Search</mat-label>\n <input type=\"text\" matInput formControlName=\"title\" placeholder=\"Search\" name=\"title\"\n autocomplete=\"off\" />\n <button *ngIf=\"filterForm.get('title').value\" matSuffix mat-icon-button\n (click)=\"resetFilter('title')\">\n <mat-icon>close</mat-icon>\n </button>\n </mat-form-field>\n\n <ng-container *ngIf=\"useTechlifyTags\">\n <mat-form-field>\n <mat-label>Tag</mat-label>\n <app-techlify-tagger-tag-form-field [categories]=\"techlifyTagCategories\" formControlName=\"tag_ids\"\n placeholder=\"Select Tags\" [config]=\"techlifyTagConfig\"></app-techlify-tagger-tag-form-field>\n </mat-form-field>\n </ng-container>\n\n <app-timeline-filter class=\"fl-sm\" formControlName='period_id' labelText=\"Expires On\"\n dateFrom=\"expires_on_from\" dateTo=\"expires_on_to\" [form]=\"filterForm\"></app-timeline-filter>\n </form>\n </div>\n </mat-card-content>\n <mat-card-content class=\"entity-file-card p-0\" *ngIf=\"entityId\">\n <ng-container *ngTemplateOutlet=\"tableView\"></ng-container>\n </mat-card-content>\n </mat-card>\n\n <mat-card *ngIf=\"!entityId\">\n <mat-card-content class=\"entity-file-card p-0\">\n <ng-container *ngTemplateOutlet=\"tableView\"></ng-container>\n </mat-card-content>\n </mat-card>\n </div>\n <ng-container *ngIf=\"isShowDragDropSection && entityId\">\n <section style=\"flex: 0 1 30%;\" *ngIf=\"!this.selectedModelIds.length && !viewOnly && isShowCreateAction\">\n <app-file-dropper [config]=\"fileConfig\" (fileChanged)=\"fileChanged($event)\">\n </app-file-dropper>\n </section>\n </ng-container>\n </div>\n </div>\n </div>\n\n <ng-template #tableView>\n <table mat-table [dataSource]=\"models\" class=\"w-100\" matSort multiTemplateDataRows infiniteScroll\n [infiniteScrollDistance]=\"1.5\" [infiniteScrollThrottle]=\"50\" (scrolled)=\"onScroll()\">\n\n <!-- Select Column -->\n <ng-container matColumnDef=\"select\">\n <th mat-header-cell *matHeaderCellDef style=\"width:30px\">\n <mat-checkbox name=\"employee\" [(ngModel)]=\"isAllSelected\" (change)=\"selectAll()\">\n </mat-checkbox>\n </th>\n <td mat-cell *matCellDef=\"let element\" style=\"width:30px\">\n <mat-checkbox name=\"employee[{{element?.id}}]\" (click)=\"$event.stopPropagation()\"\n [(ngModel)]=\"element.is_selected\" (change)=\"isSelectionModified($event, element)\"\n [disabled]=\"!models.length\">\n </mat-checkbox>\n </td>\n </ng-container>\n\n <!-- Index Column -->\n <ng-container matColumnDef=\"index\">\n <th mat-header-cell *matHeaderCellDef> # </th>\n <td mat-cell *matCellDef=\"let element; let i = dataIndex\"> {{ i+1 }} </td>\n </ng-container>\n\n <!-- Title Column -->\n <ng-container matColumnDef=\"title\">\n <th mat-header-cell *matHeaderCellDef> Title </th>\n <td mat-cell *matCellDef=\"let element\">\n {{element.title}}\n <ng-container *ngIf=\"useTechlifyTags\">\n <br>\n <small class=\"badge badge-secondary mr-1\" *ngFor=\"let tag of element?.tags\">{{tag?.title}}</small>\n </ng-container>\n\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"expires_on\">\n <th mat-header-cell *matHeaderCellDef> Expires On </th>\n <td mat-cell *matCellDef=\"let element\">\n {{element?.expires_on | date:'mediumDate'}}\n </td>\n </ng-container>\n\n <!-- Details Column -->\n <ng-container matColumnDef=\"details\">\n <th mat-header-cell *matHeaderCellDef> Details </th>\n <td mat-cell *matCellDef=\"let element\">\n <app-read-more [text]=\"element.details\" [maxLength]=\"50\"></app-read-more>\n </td>\n </ng-container>\n\n <!-- File size Column -->\n <ng-container matColumnDef=\"file_size\">\n <th mat-header-cell *matHeaderCellDef> File Size </th>\n <td mat-cell *matCellDef=\"let element\">\n <span *ngIf=\"element?.file_size\"> {{ element.file_size | fileSize }} </span>\n </td>\n </ng-container>\n\n <!-- Uploaded On Column -->\n <ng-container matColumnDef=\"uploaded_on\">\n <th mat-header-cell *matHeaderCellDef> Uploaded On </th>\n <td mat-cell *matCellDef=\"let element\">\n <div>\n {{element.created_at | date: 'mediumDate'}}\n </div>\n <div class=\"text-muted\" *ngIf=\"element.creator\">\n By {{element.creator?.name}}\n </div>\n </td>\n </ng-container>\n\n <!-- Actions Column -->\n <ng-container matColumnDef=\"actions\">\n <th mat-header-cell *matHeaderCellDef> Actions </th>\n <td mat-cell *matCellDef=\"let element\" class=\"text-muted\">\n <div class=\"d-flex flex-row gap-2 text-secondary align-items-center\">\n <a href=\"{{element.url}}\" target=\"_blank\" class=\"text-decoration-none text-muted clickable\">\n <mat-icon>download</mat-icon>\n </a>\n <app-techlify-form-button *ngIf=\"!viewOnly && isShowUpdateAction\" [component]=\"entityFileForm()\"\n [model]=\"element\" [data]=\"formData\" (saved)=\"modelsUpdatedById($event)\"></app-techlify-form-button>\n <app-techlify-delete-button *ngIf=\"!viewOnly && isShowDeleteAction\" [model]=\"element\" [service]=\"service\"\n message=\"Are you sure to proceed delete the file {{element.title}}\"\n (deleted)=\"modelsDeletedById(element)\">\n </app-techlify-delete-button>\n </div>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns;\"></tr>\n </table>\n\n <mat-progress-bar mode=\"indeterminate\" *ngIf=\"isWorking\"></mat-progress-bar>\n </ng-template>\n\n <div class=\"d-flex flex-wrap gap-3 mat-typography p-4\" *ngIf=\"displayMode\">\n <div *ngFor=\"let efile of models\">\n <app-document-viewer [file]=\"efile.file\" [fileUrl]=\"efile.url\" [config]=\"this.viewerConfig\" [disableEdit]=\"true\">\n </app-document-viewer>\n <a href=\"{{efile.url}}\" target=\"_blank\">\n <button mat-button type=\"button\">View</button>\n </a>\n </div>\n </div>\n</div>\n\n<mat-card *ngIf=\"viewMode === 'timeline'\">\n <mat-card-content>\n <div class=\"d-flex justify-content-start align-items-center gap-2\">\n <mat-icon>\n description\n </mat-icon>\n <h3 class=\"font-weight-bold mb-0\">\n {{title}}s\n </h3>\n <app-techlify-form-button *ngIf=\"!viewOnly && isShowCreateAction\" [component]=\"entityFileForm()\" [data]=\"formData\"\n (saved)=\"modelCreated($event)\"></app-techlify-form-button>\n </div>\n </mat-card-content>\n <mat-card-content *ngIf=\"!this.selectedModelIds.length && !viewOnly && isShowCreateAction\" class=\"mt-3\">\n <app-file-dropper [config]=\"fileConfig\" (fileChanged)=\"fileChanged($event)\">\n </app-file-dropper>\n </mat-card-content>\n\n <mat-card-content class=\"mt-3\">\n <div *ngFor=\"let entityFile of models\" class=\"d-flex flex-column gap-0\">\n <div class=\"d-flex flex-column gap-0\">\n <div class=\"d-flex justify-content-between align-items-center gap-1\">\n <p class=\"mb-0 fw-bold text-wrap\">{{ entityFile?.title | wrap:20 }}</p>\n <span class=\"badge bg-dark\" *ngFor=\"let tag of entityFile?.tags\">\n {{ tag?.title }}\n </span>\n <small class=\"text-dark\">{{ entityFile.file_size | fileSize }}</small>\n </div>\n </div>\n <app-read-more [text]=\"entityFile?.details\" [maxLength]=\"50\"></app-read-more>\n <div class=\"d-flex justify-content-between gap-2\">\n <small class=\"text-secondary\" style=\"max-width: 70%\">\n <i>Uploaded By {{ entityFile?.creator?.name }} {{ entityFile?.created_at | date: 'mediumDate'}}</i>\n </small>\n <div class=\"d-flex justify-content-end align-items-center gap-1\">\n <a href=\"{{entityFile?.url}}\" target=\"_blank\" class=\"text-decoration-none text-secondary mt-2\">\n <mat-icon>download</mat-icon>\n </a>\n <app-techlify-form-button class=\"text-secondary\" *ngIf=\"!viewOnly && isShowUpdateAction\"\n [component]=\"entityFileForm()\" [model]=\"entityFile\" [data]=\"formData\"\n (saved)=\"modelsUpdatedById($event)\"></app-techlify-form-button>\n <app-techlify-delete-button *ngIf=\"!viewOnly && isShowDeleteAction\" class='text-secondary ms-1'\n [model]=\"entityFile\" [service]=\"service\"\n message=\"Are you sure to proceed delete the file {{entityFile.title}}\"\n (deleted)=\"modelsDeletedById(entityFile)\">\n </app-techlify-delete-button>\n </div>\n </div>\n <hr style=\"margin: 0.5rem 0\">\n </div>\n <mat-progress-bar mode=\"indeterminate\" *ngIf=\"isWorking\"></mat-progress-bar>\n </mat-card-content>\n</mat-card>",
|
|
2291
|
+
template: "<div *ngIf=\"viewMode === 'list'\">\n <div *ngIf=\"this.selectedModelIds.length\" class=\"d-none d-md-flex flex-column\">\n <mat-card class=\"update_card\" *ngIf=\"this.selectedModelIds.length\">\n <mat-card-header>\n <mat-card-title>\n <div mat-dialog-title class=\"mt-2 ml-2 text-center\">\n <div>Update Selected Rows</div>\n </div>\n </mat-card-title>\n </mat-card-header>\n <mat-card-content class=\"d-flex flex-column\">\n <form [formGroup]=\"updateRowForm\">\n <div class=\"d-flex flex-column\">\n\n <mat-form-field class=\"w-100 px-1\">\n <input matInput formControlName=\"title\" placeholder=\"Title\" autocomplete=\"off\" />\n <app-techlify-close-button *ngIf=\"updateRowForm.get('title').value || updateRowForm.get('title').value===0\" matSuffix style=\"color:red\"\n (click)=\"updateRowForm.get('title').setValue('')\"></app-techlify-close-button>\n <button matSuffix mat-icon-button type=\"button\" style=\"color:green\" *ngIf=\"(updateRowForm.get('title').value || updateRowForm.get('title').value===0)\n && updateRowForm.get('title').valid\" (click)=\"bulkUpdate('title')\">\n <mat-icon>done</mat-icon>\n </button>\n </mat-form-field>\n\n <mat-form-field class=\"w-100 px-1\">\n <textarea matInput formControlName=\"details\" placeholder=\"Details\" autocomplete=\"off\"></textarea>\n <app-techlify-close-button *ngIf=\"updateRowForm.get('details').value || updateRowForm.get('details').value===0\" matSuffix style=\"color:red\"\n (click)=\"updateRowForm.get('details').setValue('')\"></app-techlify-close-button>\n <button matSuffix mat-icon-button type=\"button\" style=\"color:green\" *ngIf=\"(updateRowForm.get('details').value || updateRowForm.get('details').value===0)\n && updateRowForm.get('details').valid\" (click)=\"bulkUpdate('details')\">\n <mat-icon>done</mat-icon>\n </button>\n </mat-form-field>\n\n <ng-container *ngIf=\"useTechlifyTags\">\n <mat-form-field>\n <mat-label>Tag</mat-label>\n <app-techlify-tagger-tag-form-field modelType=\"entity-file\" formControlName=\"tag_ids\"\n placeholder=\"Enter new tag\">\n </app-techlify-tagger-tag-form-field>\n <app-techlify-close-button *ngIf=\"updateRowForm.get('tag_ids').value || updateRowForm.get('tag_ids').value===0\" matSuffix style=\"color:red\"\n (click)=\"updateRowForm.get('tag_ids').setValue('')\"></app-techlify-close-button>\n <button matSuffix mat-icon-button type=\"button\" style=\"color:green\" *ngIf=\"(updateRowForm.get('tag_ids').value || updateRowForm.get('tag_ids').value===0)\n && updateRowForm.get('tag_ids').valid\" (click)=\"bulkUpdate('tag_ids')\">\n <mat-icon>done</mat-icon>\n </button>\n </mat-form-field>\n </ng-container>\n </div>\n </form>\n </mat-card-content>\n </mat-card>\n\n </div>\n\n <div>\n <div class=\"mat-typography\" *ngIf=\"!displayMode\">\n <div class=\"d-flex flex-row gap-3\">\n <div class=\"d-flex flex-column gap-2 flex-grow-1\">\n <mat-card>\n <mat-card-content>\n <div class=\"d-flex gap-2 align-items-center\">\n <mat-icon>\n description\n </mat-icon>\n <h3 class=\"font-weight-bold mb-0\">\n {{title}}s\n </h3>\n <app-techlify-form-button class=\"ms-2\" *ngIf=\"!viewOnly && isShowCreateAction && entityId\"\n [component]=\"entityFileForm()\" [data]=\"formData\"\n (saved)=\"modelCreated($event)\"></app-techlify-form-button>\n <span class=\"flex-grow-1\"></span>\n <form [formGroup]=\"filterForm\" class=\"d-flex gap-2\">\n <mat-form-field *ngIf=\"!removeSearch\" appearance=\"outline\">\n <mat-label>Search</mat-label>\n <input type=\"text\" matInput formControlName=\"title\" placeholder=\"Search\" name=\"title\"\n autocomplete=\"off\" />\n <app-techlify-close-button *ngIf=\"filterForm.get('title').value\" matSuffix\n (click)=\"resetFilter('title')\"></app-techlify-close-button>\n </mat-form-field>\n\n <ng-container *ngIf=\"useTechlifyTags\">\n <mat-form-field>\n <mat-label>Tag</mat-label>\n <app-techlify-tagger-tag-form-field [categories]=\"techlifyTagCategories\" formControlName=\"tag_ids\"\n placeholder=\"Select Tags\" [config]=\"techlifyTagConfig\"></app-techlify-tagger-tag-form-field>\n </mat-form-field>\n </ng-container>\n\n <app-timeline-filter class=\"fl-sm\" formControlName='period_id' labelText=\"Expires On\"\n dateFrom=\"expires_on_from\" dateTo=\"expires_on_to\" [form]=\"filterForm\"></app-timeline-filter>\n </form>\n </div>\n </mat-card-content>\n <mat-card-content class=\"entity-file-card p-0\" *ngIf=\"entityId\">\n <ng-container *ngTemplateOutlet=\"tableView\"></ng-container>\n </mat-card-content>\n </mat-card>\n\n <mat-card *ngIf=\"!entityId\">\n <mat-card-content class=\"entity-file-card p-0\">\n <ng-container *ngTemplateOutlet=\"tableView\"></ng-container>\n </mat-card-content>\n </mat-card>\n </div>\n <ng-container *ngIf=\"isShowDragDropSection && entityId\">\n <section style=\"flex: 0 1 30%;\" *ngIf=\"!this.selectedModelIds.length && !viewOnly && isShowCreateAction\">\n <app-file-dropper [config]=\"fileConfig\" (fileChanged)=\"fileChanged($event)\">\n </app-file-dropper>\n </section>\n </ng-container>\n </div>\n </div>\n </div>\n\n <ng-template #tableView>\n <table mat-table [dataSource]=\"models\" class=\"w-100\" matSort multiTemplateDataRows infiniteScroll\n [infiniteScrollDistance]=\"1.5\" [infiniteScrollThrottle]=\"50\" (scrolled)=\"onScroll()\">\n\n <!-- Select Column -->\n <ng-container matColumnDef=\"select\">\n <th mat-header-cell *matHeaderCellDef style=\"width:30px\">\n <mat-checkbox name=\"employee\" [(ngModel)]=\"isAllSelected\" (change)=\"selectAll()\">\n </mat-checkbox>\n </th>\n <td mat-cell *matCellDef=\"let element\" style=\"width:30px\">\n <mat-checkbox name=\"employee[{{element?.id}}]\" (click)=\"$event.stopPropagation()\"\n [(ngModel)]=\"element.is_selected\" (change)=\"isSelectionModified($event, element)\"\n [disabled]=\"!models.length\">\n </mat-checkbox>\n </td>\n </ng-container>\n\n <!-- Index Column -->\n <ng-container matColumnDef=\"index\">\n <th mat-header-cell *matHeaderCellDef> # </th>\n <td mat-cell *matCellDef=\"let element; let i = dataIndex\"> {{ i+1 }} </td>\n </ng-container>\n\n <!-- Title Column -->\n <ng-container matColumnDef=\"title\">\n <th mat-header-cell *matHeaderCellDef> Title </th>\n <td mat-cell *matCellDef=\"let element\">\n {{element.title}}\n <ng-container *ngIf=\"useTechlifyTags\">\n <br>\n <small class=\"badge badge-secondary mr-1\" *ngFor=\"let tag of element?.tags\">{{tag?.title}}</small>\n </ng-container>\n\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"expires_on\">\n <th mat-header-cell *matHeaderCellDef> Expires On </th>\n <td mat-cell *matCellDef=\"let element\">\n {{element?.expires_on | date:'mediumDate'}}\n </td>\n </ng-container>\n\n <!-- Details Column -->\n <ng-container matColumnDef=\"details\">\n <th mat-header-cell *matHeaderCellDef> Details </th>\n <td mat-cell *matCellDef=\"let element\">\n <app-read-more [text]=\"element.details\" [maxLength]=\"50\"></app-read-more>\n </td>\n </ng-container>\n\n <!-- File size Column -->\n <ng-container matColumnDef=\"file_size\">\n <th mat-header-cell *matHeaderCellDef> File Size </th>\n <td mat-cell *matCellDef=\"let element\">\n <span *ngIf=\"element?.file_size\"> {{ element.file_size | fileSize }} </span>\n </td>\n </ng-container>\n\n <!-- Uploaded On Column -->\n <ng-container matColumnDef=\"uploaded_on\">\n <th mat-header-cell *matHeaderCellDef> Uploaded On </th>\n <td mat-cell *matCellDef=\"let element\">\n <div>\n {{element.created_at | date: 'mediumDate'}}\n </div>\n <div class=\"text-muted\" *ngIf=\"element.creator\">\n By {{element.creator?.name}}\n </div>\n </td>\n </ng-container>\n\n <!-- Actions Column -->\n <ng-container matColumnDef=\"actions\">\n <th mat-header-cell *matHeaderCellDef> Actions </th>\n <td mat-cell *matCellDef=\"let element\" class=\"text-muted\">\n <div class=\"d-flex flex-row gap-2 text-secondary align-items-center\">\n <a href=\"{{element.url}}\" target=\"_blank\" class=\"text-decoration-none text-muted clickable\">\n <mat-icon>download</mat-icon>\n </a>\n <app-techlify-form-button *ngIf=\"!viewOnly && isShowUpdateAction\" [component]=\"entityFileForm()\"\n [model]=\"element\" [data]=\"formData\" (saved)=\"modelsUpdatedById($event)\"></app-techlify-form-button>\n <app-techlify-delete-button *ngIf=\"!viewOnly && isShowDeleteAction\" [model]=\"element\" [service]=\"service\"\n message=\"Are you sure to proceed delete the file {{element.title}}\"\n (deleted)=\"modelsDeletedById(element)\">\n </app-techlify-delete-button>\n </div>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns;\"></tr>\n </table>\n\n <mat-progress-bar mode=\"indeterminate\" *ngIf=\"isWorking\"></mat-progress-bar>\n </ng-template>\n\n <div class=\"d-flex flex-wrap gap-3 mat-typography p-4\" *ngIf=\"displayMode\">\n <div *ngFor=\"let efile of models\">\n <app-document-viewer [file]=\"efile.file\" [fileUrl]=\"efile.url\" [config]=\"this.viewerConfig\" [disableEdit]=\"true\">\n </app-document-viewer>\n <a href=\"{{efile.url}}\" target=\"_blank\">\n <button mat-button type=\"button\">View</button>\n </a>\n </div>\n </div>\n</div>\n\n<mat-card *ngIf=\"viewMode === 'timeline'\">\n <mat-card-content>\n <div class=\"d-flex justify-content-start align-items-center gap-2\">\n <mat-icon>\n description\n </mat-icon>\n <h3 class=\"font-weight-bold mb-0\">\n {{title}}s\n </h3>\n <app-techlify-form-button *ngIf=\"!viewOnly && isShowCreateAction\" [component]=\"entityFileForm()\" [data]=\"formData\"\n (saved)=\"modelCreated($event)\"></app-techlify-form-button>\n </div>\n </mat-card-content>\n <mat-card-content *ngIf=\"!this.selectedModelIds.length && !viewOnly && isShowCreateAction\" class=\"mt-3\">\n <app-file-dropper [config]=\"fileConfig\" (fileChanged)=\"fileChanged($event)\">\n </app-file-dropper>\n </mat-card-content>\n\n <mat-card-content class=\"mt-3\">\n <div *ngFor=\"let entityFile of models\" class=\"d-flex flex-column gap-0\">\n <div class=\"d-flex flex-column gap-0\">\n <div class=\"d-flex justify-content-between align-items-center gap-1\">\n <p class=\"mb-0 fw-bold text-wrap\">{{ entityFile?.title | wrap:20 }}</p>\n <span class=\"badge bg-dark\" *ngFor=\"let tag of entityFile?.tags\">\n {{ tag?.title }}\n </span>\n <small class=\"text-dark\">{{ entityFile.file_size | fileSize }}</small>\n </div>\n </div>\n <app-read-more [text]=\"entityFile?.details\" [maxLength]=\"50\"></app-read-more>\n <div class=\"d-flex justify-content-between gap-2\">\n <small class=\"text-secondary\" style=\"max-width: 70%\">\n <i>Uploaded By {{ entityFile?.creator?.name }} {{ entityFile?.created_at | date: 'mediumDate'}}</i>\n </small>\n <div class=\"d-flex justify-content-end align-items-center gap-1\">\n <a href=\"{{entityFile?.url}}\" target=\"_blank\" class=\"text-decoration-none text-secondary mt-2\">\n <mat-icon>download</mat-icon>\n </a>\n <app-techlify-form-button class=\"text-secondary\" *ngIf=\"!viewOnly && isShowUpdateAction\"\n [component]=\"entityFileForm()\" [model]=\"entityFile\" [data]=\"formData\"\n (saved)=\"modelsUpdatedById($event)\"></app-techlify-form-button>\n <app-techlify-delete-button *ngIf=\"!viewOnly && isShowDeleteAction\" class='text-secondary ms-1'\n [model]=\"entityFile\" [service]=\"service\"\n message=\"Are you sure to proceed delete the file {{entityFile.title}}\"\n (deleted)=\"modelsDeletedById(entityFile)\">\n </app-techlify-delete-button>\n </div>\n </div>\n <hr style=\"margin: 0.5rem 0\">\n </div>\n <mat-progress-bar mode=\"indeterminate\" *ngIf=\"isWorking\"></mat-progress-bar>\n </mat-card-content>\n</mat-card>",
|
|
2287
2292
|
styles: ["th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:2px}.entity-file-card{overflow-x:auto}.clickable:hover{cursor:pointer}\n"]
|
|
2288
2293
|
}]
|
|
2289
2294
|
}],
|
|
@@ -2686,7 +2691,7 @@ var NoteFormComponent = class NoteFormComponent extends TechlifyFormComponent {
|
|
|
2686
2691
|
},
|
|
2687
2692
|
{
|
|
2688
2693
|
kind: "directive",
|
|
2689
|
-
type: i12$
|
|
2694
|
+
type: i12$1.MatInput,
|
|
2690
2695
|
selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",
|
|
2691
2696
|
inputs: [
|
|
2692
2697
|
"disabled",
|
|
@@ -2930,7 +2935,7 @@ var CommentFormComponent = class CommentFormComponent {
|
|
|
2930
2935
|
},
|
|
2931
2936
|
{
|
|
2932
2937
|
kind: "directive",
|
|
2933
|
-
type: i12$
|
|
2938
|
+
type: i12$1.MatInput,
|
|
2934
2939
|
selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",
|
|
2935
2940
|
inputs: [
|
|
2936
2941
|
"disabled",
|
|
@@ -3354,7 +3359,7 @@ var NoteListComponent = class NoteListComponent extends TechlifyListComponent {
|
|
|
3354
3359
|
},
|
|
3355
3360
|
{
|
|
3356
3361
|
kind: "directive",
|
|
3357
|
-
type: i12$
|
|
3362
|
+
type: i12$1.MatInput,
|
|
3358
3363
|
selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",
|
|
3359
3364
|
inputs: [
|
|
3360
3365
|
"disabled",
|
|
@@ -3454,7 +3459,7 @@ var NoteListComponent = class NoteListComponent extends TechlifyListComponent {
|
|
|
3454
3459
|
},
|
|
3455
3460
|
{
|
|
3456
3461
|
kind: "component",
|
|
3457
|
-
type: i12
|
|
3462
|
+
type: i12.MatDivider,
|
|
3458
3463
|
selector: "mat-divider",
|
|
3459
3464
|
inputs: ["vertical", "inset"]
|
|
3460
3465
|
},
|
|
@@ -4398,7 +4403,7 @@ var TechlifyNotificationForUserComponent = class TechlifyNotificationForUserComp
|
|
|
4398
4403
|
},
|
|
4399
4404
|
{
|
|
4400
4405
|
kind: "component",
|
|
4401
|
-
type: i12
|
|
4406
|
+
type: i12.MatDivider,
|
|
4402
4407
|
selector: "mat-divider",
|
|
4403
4408
|
inputs: ["vertical", "inset"]
|
|
4404
4409
|
},
|
|
@@ -4997,6 +5002,7 @@ let EmailSubscriptionUserFormComponent = class EmailSubscriptionUserFormComponen
|
|
|
4997
5002
|
"inDataSearch",
|
|
4998
5003
|
"panelWidth",
|
|
4999
5004
|
"focusSearchOnOpen",
|
|
5005
|
+
"isShowClose",
|
|
5000
5006
|
"isEmitInitialEvent",
|
|
5001
5007
|
"required",
|
|
5002
5008
|
"disabled",
|
|
@@ -5127,12 +5133,6 @@ let EmailSubscriptionUserListFilterComponent = class EmailSubscriptionUserListFi
|
|
|
5127
5133
|
this.valueChange.emit(value);
|
|
5128
5134
|
});
|
|
5129
5135
|
}
|
|
5130
|
-
resetFieldValue(field) {
|
|
5131
|
-
this.esUserFilterForm.get(field).setValue("");
|
|
5132
|
-
}
|
|
5133
|
-
getFieldValue(field) {
|
|
5134
|
-
return this.esUserFilterForm.get(field).value;
|
|
5135
|
-
}
|
|
5136
5136
|
ngOnDestroy() {}
|
|
5137
5137
|
static {
|
|
5138
5138
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
@@ -5153,19 +5153,9 @@ let EmailSubscriptionUserListFilterComponent = class EmailSubscriptionUserListFi
|
|
|
5153
5153
|
selector: "app-email-subscription-user-list-filter",
|
|
5154
5154
|
outputs: { valueChange: "valueChange" },
|
|
5155
5155
|
ngImport: i0,
|
|
5156
|
-
template: "<form [formGroup]=\"esUserFilterForm\" class=\"d-flex flex-wrap gap-3 justify-content-start align-items-center\">\n <mat-form-field class=\"ml-3\">\n <mat-label>User</mat-label>\n <app-searchable-selector formControlName=\"user_id\" apiUrl=\"api/users\" titleField=\"name\">\n </app-searchable-selector>\n
|
|
5156
|
+
template: "<form [formGroup]=\"esUserFilterForm\" class=\"d-flex flex-wrap gap-3 justify-content-start align-items-center\">\n <mat-form-field class=\"ml-3\">\n <mat-label>User</mat-label>\n <app-searchable-selector formControlName=\"user_id\" apiUrl=\"api/users\" titleField=\"name\">\n </app-searchable-selector>\n </mat-form-field>\n\n <mat-form-field class=\"ml-3\">\n <mat-label>Email Type</mat-label>\n <app-searchable-selector formControlName=\"email_type_id\" apiUrl=\"api/email-subscription-types\">\n </app-searchable-selector>\n </mat-form-field>\n</form>",
|
|
5157
5157
|
styles: [""],
|
|
5158
5158
|
dependencies: [
|
|
5159
|
-
{
|
|
5160
|
-
kind: "directive",
|
|
5161
|
-
type: i1$4.NgIf,
|
|
5162
|
-
selector: "[ngIf]",
|
|
5163
|
-
inputs: [
|
|
5164
|
-
"ngIf",
|
|
5165
|
-
"ngIfThen",
|
|
5166
|
-
"ngIfElse"
|
|
5167
|
-
]
|
|
5168
|
-
},
|
|
5169
5159
|
{
|
|
5170
5160
|
kind: "directive",
|
|
5171
5161
|
type: i3.ɵNgNoValidate,
|
|
@@ -5181,12 +5171,6 @@ let EmailSubscriptionUserListFilterComponent = class EmailSubscriptionUserListFi
|
|
|
5181
5171
|
type: i3.NgControlStatusGroup,
|
|
5182
5172
|
selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]"
|
|
5183
5173
|
},
|
|
5184
|
-
{
|
|
5185
|
-
kind: "component",
|
|
5186
|
-
type: i3$1.MatIconButton,
|
|
5187
|
-
selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]",
|
|
5188
|
-
exportAs: ["matButton", "matAnchor"]
|
|
5189
|
-
},
|
|
5190
5174
|
{
|
|
5191
5175
|
kind: "component",
|
|
5192
5176
|
type: i8$2.MatFormField,
|
|
@@ -5206,25 +5190,6 @@ let EmailSubscriptionUserListFilterComponent = class EmailSubscriptionUserListFi
|
|
|
5206
5190
|
type: i8$2.MatLabel,
|
|
5207
5191
|
selector: "mat-label"
|
|
5208
5192
|
},
|
|
5209
|
-
{
|
|
5210
|
-
kind: "directive",
|
|
5211
|
-
type: i8$2.MatSuffix,
|
|
5212
|
-
selector: "[matSuffix], [matIconSuffix], [matTextSuffix]",
|
|
5213
|
-
inputs: ["matTextSuffix"]
|
|
5214
|
-
},
|
|
5215
|
-
{
|
|
5216
|
-
kind: "component",
|
|
5217
|
-
type: i5$2.MatIcon,
|
|
5218
|
-
selector: "mat-icon",
|
|
5219
|
-
inputs: [
|
|
5220
|
-
"color",
|
|
5221
|
-
"inline",
|
|
5222
|
-
"svgIcon",
|
|
5223
|
-
"fontSet",
|
|
5224
|
-
"fontIcon"
|
|
5225
|
-
],
|
|
5226
|
-
exportAs: ["matIcon"]
|
|
5227
|
-
},
|
|
5228
5193
|
{
|
|
5229
5194
|
kind: "directive",
|
|
5230
5195
|
type: i3.FormGroupDirective,
|
|
@@ -5271,6 +5236,7 @@ let EmailSubscriptionUserListFilterComponent = class EmailSubscriptionUserListFi
|
|
|
5271
5236
|
"inDataSearch",
|
|
5272
5237
|
"panelWidth",
|
|
5273
5238
|
"focusSearchOnOpen",
|
|
5239
|
+
"isShowClose",
|
|
5274
5240
|
"isEmitInitialEvent",
|
|
5275
5241
|
"required",
|
|
5276
5242
|
"disabled",
|
|
@@ -5300,7 +5266,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5300
5266
|
selector: "app-email-subscription-user-list-filter",
|
|
5301
5267
|
changeDetection: ChangeDetectionStrategy.Eager,
|
|
5302
5268
|
standalone: false,
|
|
5303
|
-
template: "<form [formGroup]=\"esUserFilterForm\" class=\"d-flex flex-wrap gap-3 justify-content-start align-items-center\">\n <mat-form-field class=\"ml-3\">\n <mat-label>User</mat-label>\n <app-searchable-selector formControlName=\"user_id\" apiUrl=\"api/users\" titleField=\"name\">\n </app-searchable-selector>\n
|
|
5269
|
+
template: "<form [formGroup]=\"esUserFilterForm\" class=\"d-flex flex-wrap gap-3 justify-content-start align-items-center\">\n <mat-form-field class=\"ml-3\">\n <mat-label>User</mat-label>\n <app-searchable-selector formControlName=\"user_id\" apiUrl=\"api/users\" titleField=\"name\">\n </app-searchable-selector>\n </mat-form-field>\n\n <mat-form-field class=\"ml-3\">\n <mat-label>Email Type</mat-label>\n <app-searchable-selector formControlName=\"email_type_id\" apiUrl=\"api/email-subscription-types\">\n </app-searchable-selector>\n </mat-form-field>\n</form>"
|
|
5304
5270
|
}]
|
|
5305
5271
|
}],
|
|
5306
5272
|
ctorParameters: () => [{ type: i3.UntypedFormBuilder }],
|
|
@@ -5570,7 +5536,7 @@ let EmailSubscriptionUserListComponent = class EmailSubscriptionUserListComponen
|
|
|
5570
5536
|
},
|
|
5571
5537
|
{
|
|
5572
5538
|
kind: "component",
|
|
5573
|
-
type: i11.MatSelect,
|
|
5539
|
+
type: i11$1.MatSelect,
|
|
5574
5540
|
selector: "mat-select",
|
|
5575
5541
|
inputs: [
|
|
5576
5542
|
"aria-describedby",
|
|
@@ -6254,7 +6220,7 @@ let EmailSubscriptionTypeFormComponent = class EmailSubscriptionTypeFormComponen
|
|
|
6254
6220
|
},
|
|
6255
6221
|
{
|
|
6256
6222
|
kind: "directive",
|
|
6257
|
-
type: i12$
|
|
6223
|
+
type: i12$1.MatInput,
|
|
6258
6224
|
selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",
|
|
6259
6225
|
inputs: [
|
|
6260
6226
|
"disabled",
|
|
@@ -6317,6 +6283,7 @@ let EmailSubscriptionTypeFormComponent = class EmailSubscriptionTypeFormComponen
|
|
|
6317
6283
|
"inDataSearch",
|
|
6318
6284
|
"panelWidth",
|
|
6319
6285
|
"focusSearchOnOpen",
|
|
6286
|
+
"isShowClose",
|
|
6320
6287
|
"isEmitInitialEvent",
|
|
6321
6288
|
"required",
|
|
6322
6289
|
"disabled",
|
|
@@ -6595,7 +6562,7 @@ let EmailSubscriptionTypeListComponent = class EmailSubscriptionTypeListComponen
|
|
|
6595
6562
|
static: true
|
|
6596
6563
|
}],
|
|
6597
6564
|
ngImport: i0,
|
|
6598
|
-
template: "<div class=\"mat-typography m-4\">\n <div class=\"d-flex flex-wrap justify-content-start align-items-center\">\n <mat-form-field>\n <input matInput [formControl]=\"search\" placeholder=\"Email Type\" autocomplete=\"off\" />\n <button matSuffix mat-icon-button>\n <mat-icon>search</mat-icon>\n </button>\n <button *ngIf=\"search.value\" matSuffix
|
|
6565
|
+
template: "<div class=\"mat-typography m-4\">\n <div class=\"d-flex flex-wrap justify-content-start align-items-center\">\n <mat-form-field>\n <input matInput [formControl]=\"search\" placeholder=\"Email Type\" autocomplete=\"off\" />\n <button matSuffix mat-icon-button>\n <mat-icon>search</mat-icon>\n </button>\n <app-techlify-close-button *ngIf=\"search.value\" matSuffix\n (click)=\"search.setValue('')\"></app-techlify-close-button>\n </mat-form-field>\n <div class=\"ml-2\">\n <button mat-raised-button color=\"primary\" type=\"button\" (click)=\"addEmailSubscriptionType()\">+ Email\n Type</button>\n </div>\n <span class=\"flex-fill\"></span>\n <mat-form-field appearance=\"outline\" class=\"no-padding\">\n <mat-label>Columns</mat-label>\n <mat-select [formControl]=\"displayColumns\" multiple (selectionChange)=\"columnsChange()\">\n <mat-option *ngFor=\"let column of availableDisplayColumns\" [value]=\"column.value\">{{column.name}}\n </mat-option>\n </mat-select>\n </mat-form-field>\n </div>\n\n <section>\n <div class=\"scroll-container\" infiniteScroll [infiniteScrollDistance]=\"2\" [infiniteScrollThrottle]=\"50\"\n (scrolled)=\"onScroll()\" [scrollWindow]=\"false\">\n <table mat-table [dataSource]=\"emailSubscriptionTypeList\" matSort class=\"w-100 mt-1\" multiTemplateDataRows\n id=\"email-subscription-type-table\">\n\n <!-- Index Column -->\n <ng-container matColumnDef=\"index\">\n <th mat-header-cell *matHeaderCellDef> # </th>\n <td mat-cell *matCellDef=\"let emailSubscriptionType; let i = dataIndex\"> {{ i+1 }} </td>\n </ng-container>\n <ng-container matColumnDef=\"title\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> Title </th>\n <td mat-cell *matCellDef=\"let emailSubscriptionType;\"> {{ emailSubscriptionType?.title }} </td>\n </ng-container>\n <ng-container matColumnDef=\"code\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> Code </th>\n <td mat-cell *matCellDef=\"let emailSubscriptionType;\"> {{ emailSubscriptionType?.code }}\n </td>\n </ng-container>\n <ng-container matColumnDef=\"frequency.title\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> Frequency </th>\n <td mat-cell *matCellDef=\"let emailSubscriptionType;\"> {{ emailSubscriptionType?.frequency?.title }}\n </td>\n </ng-container>\n <ng-container matColumnDef=\"description\">\n <th mat-header-cell *matHeaderCellDef> Description </th>\n <td mat-cell *matCellDef=\"let emailSubscriptionType;\"> {{ emailSubscriptionType?.description }}\n </td>\n </ng-container>\n\n <!-- Actions Column -->\n <ng-container matColumnDef=\"actions\">\n <th mat-header-cell *matHeaderCellDef> Actions </th>\n <td mat-cell *matCellDef=\"let emailSubscriptionType\">\n <button type=\"button\" mat-icon-button\n (click)=\"deleteEmailSubscriptionType($event,emailSubscriptionType)\">\n <mat-icon>delete</mat-icon>\n </button>\n <button type=\"button\" mat-icon-button\n (click)=\"editEmailSubscriptionType($event,emailSubscriptionType)\">\n <mat-icon>edit</mat-icon>\n </button>\n </td>\n </ng-container>\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns; sticky:true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns;\"></tr>\n </table>\n </div>\n </section>\n</div>",
|
|
6599
6566
|
styles: [".scroll-container{max-height:800px;overflow-y:auto}\n"],
|
|
6600
6567
|
dependencies: [
|
|
6601
6568
|
{
|
|
@@ -6711,7 +6678,7 @@ let EmailSubscriptionTypeListComponent = class EmailSubscriptionTypeListComponen
|
|
|
6711
6678
|
},
|
|
6712
6679
|
{
|
|
6713
6680
|
kind: "directive",
|
|
6714
|
-
type: i12$
|
|
6681
|
+
type: i12$1.MatInput,
|
|
6715
6682
|
selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",
|
|
6716
6683
|
inputs: [
|
|
6717
6684
|
"disabled",
|
|
@@ -6730,7 +6697,7 @@ let EmailSubscriptionTypeListComponent = class EmailSubscriptionTypeListComponen
|
|
|
6730
6697
|
},
|
|
6731
6698
|
{
|
|
6732
6699
|
kind: "component",
|
|
6733
|
-
type: i11.MatSelect,
|
|
6700
|
+
type: i11$1.MatSelect,
|
|
6734
6701
|
selector: "mat-select",
|
|
6735
6702
|
inputs: [
|
|
6736
6703
|
"aria-describedby",
|
|
@@ -6858,6 +6825,11 @@ let EmailSubscriptionTypeListComponent = class EmailSubscriptionTypeListComponen
|
|
|
6858
6825
|
],
|
|
6859
6826
|
outputs: ["ngModelChange"],
|
|
6860
6827
|
exportAs: ["ngForm"]
|
|
6828
|
+
},
|
|
6829
|
+
{
|
|
6830
|
+
kind: "component",
|
|
6831
|
+
type: TechlifyCloseButtonComponent,
|
|
6832
|
+
selector: "app-techlify-close-button"
|
|
6861
6833
|
}
|
|
6862
6834
|
],
|
|
6863
6835
|
changeDetection: i0.ChangeDetectionStrategy.Eager
|
|
@@ -6876,7 +6848,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
6876
6848
|
selector: "app-email-subscription-type-list",
|
|
6877
6849
|
changeDetection: ChangeDetectionStrategy.Eager,
|
|
6878
6850
|
standalone: false,
|
|
6879
|
-
template: "<div class=\"mat-typography m-4\">\n <div class=\"d-flex flex-wrap justify-content-start align-items-center\">\n <mat-form-field>\n <input matInput [formControl]=\"search\" placeholder=\"Email Type\" autocomplete=\"off\" />\n <button matSuffix mat-icon-button>\n <mat-icon>search</mat-icon>\n </button>\n <button *ngIf=\"search.value\" matSuffix
|
|
6851
|
+
template: "<div class=\"mat-typography m-4\">\n <div class=\"d-flex flex-wrap justify-content-start align-items-center\">\n <mat-form-field>\n <input matInput [formControl]=\"search\" placeholder=\"Email Type\" autocomplete=\"off\" />\n <button matSuffix mat-icon-button>\n <mat-icon>search</mat-icon>\n </button>\n <app-techlify-close-button *ngIf=\"search.value\" matSuffix\n (click)=\"search.setValue('')\"></app-techlify-close-button>\n </mat-form-field>\n <div class=\"ml-2\">\n <button mat-raised-button color=\"primary\" type=\"button\" (click)=\"addEmailSubscriptionType()\">+ Email\n Type</button>\n </div>\n <span class=\"flex-fill\"></span>\n <mat-form-field appearance=\"outline\" class=\"no-padding\">\n <mat-label>Columns</mat-label>\n <mat-select [formControl]=\"displayColumns\" multiple (selectionChange)=\"columnsChange()\">\n <mat-option *ngFor=\"let column of availableDisplayColumns\" [value]=\"column.value\">{{column.name}}\n </mat-option>\n </mat-select>\n </mat-form-field>\n </div>\n\n <section>\n <div class=\"scroll-container\" infiniteScroll [infiniteScrollDistance]=\"2\" [infiniteScrollThrottle]=\"50\"\n (scrolled)=\"onScroll()\" [scrollWindow]=\"false\">\n <table mat-table [dataSource]=\"emailSubscriptionTypeList\" matSort class=\"w-100 mt-1\" multiTemplateDataRows\n id=\"email-subscription-type-table\">\n\n <!-- Index Column -->\n <ng-container matColumnDef=\"index\">\n <th mat-header-cell *matHeaderCellDef> # </th>\n <td mat-cell *matCellDef=\"let emailSubscriptionType; let i = dataIndex\"> {{ i+1 }} </td>\n </ng-container>\n <ng-container matColumnDef=\"title\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> Title </th>\n <td mat-cell *matCellDef=\"let emailSubscriptionType;\"> {{ emailSubscriptionType?.title }} </td>\n </ng-container>\n <ng-container matColumnDef=\"code\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> Code </th>\n <td mat-cell *matCellDef=\"let emailSubscriptionType;\"> {{ emailSubscriptionType?.code }}\n </td>\n </ng-container>\n <ng-container matColumnDef=\"frequency.title\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header> Frequency </th>\n <td mat-cell *matCellDef=\"let emailSubscriptionType;\"> {{ emailSubscriptionType?.frequency?.title }}\n </td>\n </ng-container>\n <ng-container matColumnDef=\"description\">\n <th mat-header-cell *matHeaderCellDef> Description </th>\n <td mat-cell *matCellDef=\"let emailSubscriptionType;\"> {{ emailSubscriptionType?.description }}\n </td>\n </ng-container>\n\n <!-- Actions Column -->\n <ng-container matColumnDef=\"actions\">\n <th mat-header-cell *matHeaderCellDef> Actions </th>\n <td mat-cell *matCellDef=\"let emailSubscriptionType\">\n <button type=\"button\" mat-icon-button\n (click)=\"deleteEmailSubscriptionType($event,emailSubscriptionType)\">\n <mat-icon>delete</mat-icon>\n </button>\n <button type=\"button\" mat-icon-button\n (click)=\"editEmailSubscriptionType($event,emailSubscriptionType)\">\n <mat-icon>edit</mat-icon>\n </button>\n </td>\n </ng-container>\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns; sticky:true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns;\"></tr>\n </table>\n </div>\n </section>\n</div>",
|
|
6880
6852
|
styles: [".scroll-container{max-height:800px;overflow-y:auto}\n"]
|
|
6881
6853
|
}]
|
|
6882
6854
|
}],
|
|
@@ -7134,7 +7106,7 @@ let EmailSubscriptionForUserComponent = class EmailSubscriptionForUserComponent
|
|
|
7134
7106
|
},
|
|
7135
7107
|
{
|
|
7136
7108
|
kind: "component",
|
|
7137
|
-
type: i12
|
|
7109
|
+
type: i12.MatDivider,
|
|
7138
7110
|
selector: "mat-divider",
|
|
7139
7111
|
inputs: ["vertical", "inset"]
|
|
7140
7112
|
}
|
|
@@ -7407,7 +7379,7 @@ var TechlifyUpdateFormComponent = class TechlifyUpdateFormComponent {
|
|
|
7407
7379
|
selector: "app-techlify-update-form",
|
|
7408
7380
|
outputs: { onSave: "onSave" },
|
|
7409
7381
|
ngImport: i0,
|
|
7410
|
-
template: "<form [formGroup]=\"techlifyUpdateForm\" (ngSubmit)=\"submit()\">\n <div class=\"mat-typography d-flex flex-column\">\n <div mat-dialog-title class=\"text-center\">\n <h2>\n App Update Form\n </h2>\n </div>\n <div mat-dialog-content class=\"d-flex flex-column gap-3\">\n <mat-form-field class=\"w-100\">\n <mat-label>Title</mat-label>\n <input matInput formControlName=\"title\" placeholder=\"Title\" autocomplete=\"off\" required />\n <button *ngIf=\"getFieldValue('title')\" matSuffix
|
|
7382
|
+
template: "<form [formGroup]=\"techlifyUpdateForm\" (ngSubmit)=\"submit()\">\n <div class=\"mat-typography d-flex flex-column\">\n <div mat-dialog-title class=\"text-center\">\n <h2>\n App Update Form\n </h2>\n </div>\n <div mat-dialog-content class=\"d-flex flex-column gap-3\">\n <mat-form-field class=\"w-100\">\n <mat-label>Title</mat-label>\n <input matInput formControlName=\"title\" placeholder=\"Title\" autocomplete=\"off\" required />\n <app-techlify-close-button *ngIf=\"getFieldValue('title')\" matSuffix\n (click)=\"resetFieldValue('title')\"></app-techlify-close-button>\n <mat-error *ngIf=\"isFieldValid('title')\">\n {{getErrorMessage('title')}}\n </mat-error>\n </mat-form-field>\n\n <h3 class=\"text-secondary mb-4 w-100\">\n Is Pinned\n <mat-button-toggle-group [hideSingleSelectionIndicator]=\"true\" [hideMultipleSelectionIndicator]=\"true\"\n formControlName=\"is_pinned\">\n <mat-button-toggle [value]=\"true\">Yes</mat-button-toggle>\n <mat-button-toggle [value]=\"false\">No</mat-button-toggle>\n </mat-button-toggle-group>\n </h3>\n\n <mat-form-field class=\"w-100\">\n <input matInput [matDatepicker]=\"released_on\" formControlName=\"released_on\" placeholder=\"Released on\" readonly\n (click)=\"released_on.open()\" required />\n <mat-datepicker-toggle matSuffix [for]=\"released_on\"></mat-datepicker-toggle>\n <mat-datepicker #released_on></mat-datepicker>\n <app-techlify-close-button *ngIf=\"getFieldValue('released_on')\" matSuffix\n (click)=\"resetFieldValue('released_on')\"></app-techlify-close-button>\n <mat-error *ngIf=\"isFieldValid('released_on')\">\n {{getErrorMessage('released_on')}}\n </mat-error>\n </mat-form-field>\n\n <mat-form-field class=\"w-100\">\n <mat-label>Version</mat-label>\n <input matInput formControlName=\"version\" placeholder=\"Version\" autocomplete=\"off\" required />\n <app-techlify-close-button *ngIf=\"getFieldValue('version')\" matSuffix\n (click)=\"resetFieldValue('version')\"></app-techlify-close-button>\n <mat-error *ngIf=\"isFieldValid('version')\">\n {{getErrorMessage('version')}}\n </mat-error>\n </mat-form-field>\n\n <mat-form-field class=\"w-100\">\n <mat-label>Learn more link</mat-label>\n <input matInput formControlName=\"learn_more_link\" placeholder=\"Learn More Link\" autocomplete=\"off\" />\n <app-techlify-close-button *ngIf=\"getFieldValue('learn_more_link')\" matSuffix\n (click)=\"resetFieldValue('learn_more_link')\"></app-techlify-close-button>\n <mat-error *ngIf=\"isFieldValid('learn_more_link')\">\n {{getErrorMessage('learn_more_link')}}\n </mat-error>\n </mat-form-field>\n\n <div class=\"w-100\">\n <div class=\"NgxEditor__Wrapper\">\n <ngx-editor-menu [toolbar]=\"toolbar\" [editor]=\"editor\"> </ngx-editor-menu>\n <ngx-editor formControlName=\"description\" [editor]=\"editor\" placeholder=\"Description\">\n </ngx-editor>\n </div>\n <mat-error *ngIf=\"isFieldValid('description')\">\n {{getErrorMessage('description')}}\n </mat-error>\n </div>\n </div>\n <div mat-dialog-actions class=\"w-100 d-flex justify-content-end gap-3\">\n <button mat-button class=\"mt-2\" type=\"button\" (click)=\"dialogRef.close()\">\n Cancel\n </button>\n <button mat-raised-button type=\"submit\" class=\"btn-primary mt-2\">\n Save\n </button>\n </div>\n </div>\n</form>",
|
|
7411
7383
|
styles: [""],
|
|
7412
7384
|
dependencies: [
|
|
7413
7385
|
{
|
|
@@ -7453,12 +7425,6 @@ var TechlifyUpdateFormComponent = class TechlifyUpdateFormComponent {
|
|
|
7453
7425
|
inputs: ["matButton"],
|
|
7454
7426
|
exportAs: ["matButton", "matAnchor"]
|
|
7455
7427
|
},
|
|
7456
|
-
{
|
|
7457
|
-
kind: "component",
|
|
7458
|
-
type: i3$1.MatIconButton,
|
|
7459
|
-
selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]",
|
|
7460
|
-
exportAs: ["matButton", "matAnchor"]
|
|
7461
|
-
},
|
|
7462
7428
|
{
|
|
7463
7429
|
kind: "directive",
|
|
7464
7430
|
type: i1$2.MatDialogTitle,
|
|
@@ -7508,22 +7474,9 @@ var TechlifyUpdateFormComponent = class TechlifyUpdateFormComponent {
|
|
|
7508
7474
|
selector: "[matSuffix], [matIconSuffix], [matTextSuffix]",
|
|
7509
7475
|
inputs: ["matTextSuffix"]
|
|
7510
7476
|
},
|
|
7511
|
-
{
|
|
7512
|
-
kind: "component",
|
|
7513
|
-
type: i5$2.MatIcon,
|
|
7514
|
-
selector: "mat-icon",
|
|
7515
|
-
inputs: [
|
|
7516
|
-
"color",
|
|
7517
|
-
"inline",
|
|
7518
|
-
"svgIcon",
|
|
7519
|
-
"fontSet",
|
|
7520
|
-
"fontIcon"
|
|
7521
|
-
],
|
|
7522
|
-
exportAs: ["matIcon"]
|
|
7523
|
-
},
|
|
7524
7477
|
{
|
|
7525
7478
|
kind: "directive",
|
|
7526
|
-
type: i12$
|
|
7479
|
+
type: i12$1.MatInput,
|
|
7527
7480
|
selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",
|
|
7528
7481
|
inputs: [
|
|
7529
7482
|
"disabled",
|
|
@@ -7573,7 +7526,7 @@ var TechlifyUpdateFormComponent = class TechlifyUpdateFormComponent {
|
|
|
7573
7526
|
},
|
|
7574
7527
|
{
|
|
7575
7528
|
kind: "directive",
|
|
7576
|
-
type:
|
|
7529
|
+
type: i11.MatButtonToggleGroup,
|
|
7577
7530
|
selector: "mat-button-toggle-group",
|
|
7578
7531
|
inputs: [
|
|
7579
7532
|
"appearance",
|
|
@@ -7591,7 +7544,7 @@ var TechlifyUpdateFormComponent = class TechlifyUpdateFormComponent {
|
|
|
7591
7544
|
},
|
|
7592
7545
|
{
|
|
7593
7546
|
kind: "component",
|
|
7594
|
-
type:
|
|
7547
|
+
type: i11.MatButtonToggle,
|
|
7595
7548
|
selector: "mat-button-toggle",
|
|
7596
7549
|
inputs: [
|
|
7597
7550
|
"aria-label",
|
|
@@ -7628,6 +7581,11 @@ var TechlifyUpdateFormComponent = class TechlifyUpdateFormComponent {
|
|
|
7628
7581
|
],
|
|
7629
7582
|
outputs: ["ngModelChange"]
|
|
7630
7583
|
},
|
|
7584
|
+
{
|
|
7585
|
+
kind: "component",
|
|
7586
|
+
type: TechlifyCloseButtonComponent,
|
|
7587
|
+
selector: "app-techlify-close-button"
|
|
7588
|
+
},
|
|
7631
7589
|
{
|
|
7632
7590
|
kind: "component",
|
|
7633
7591
|
type: i13.NgxEditorComponent,
|
|
@@ -7668,7 +7626,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
7668
7626
|
selector: "app-techlify-update-form",
|
|
7669
7627
|
changeDetection: ChangeDetectionStrategy.Eager,
|
|
7670
7628
|
standalone: false,
|
|
7671
|
-
template: "<form [formGroup]=\"techlifyUpdateForm\" (ngSubmit)=\"submit()\">\n <div class=\"mat-typography d-flex flex-column\">\n <div mat-dialog-title class=\"text-center\">\n <h2>\n App Update Form\n </h2>\n </div>\n <div mat-dialog-content class=\"d-flex flex-column gap-3\">\n <mat-form-field class=\"w-100\">\n <mat-label>Title</mat-label>\n <input matInput formControlName=\"title\" placeholder=\"Title\" autocomplete=\"off\" required />\n <button *ngIf=\"getFieldValue('title')\" matSuffix
|
|
7629
|
+
template: "<form [formGroup]=\"techlifyUpdateForm\" (ngSubmit)=\"submit()\">\n <div class=\"mat-typography d-flex flex-column\">\n <div mat-dialog-title class=\"text-center\">\n <h2>\n App Update Form\n </h2>\n </div>\n <div mat-dialog-content class=\"d-flex flex-column gap-3\">\n <mat-form-field class=\"w-100\">\n <mat-label>Title</mat-label>\n <input matInput formControlName=\"title\" placeholder=\"Title\" autocomplete=\"off\" required />\n <app-techlify-close-button *ngIf=\"getFieldValue('title')\" matSuffix\n (click)=\"resetFieldValue('title')\"></app-techlify-close-button>\n <mat-error *ngIf=\"isFieldValid('title')\">\n {{getErrorMessage('title')}}\n </mat-error>\n </mat-form-field>\n\n <h3 class=\"text-secondary mb-4 w-100\">\n Is Pinned\n <mat-button-toggle-group [hideSingleSelectionIndicator]=\"true\" [hideMultipleSelectionIndicator]=\"true\"\n formControlName=\"is_pinned\">\n <mat-button-toggle [value]=\"true\">Yes</mat-button-toggle>\n <mat-button-toggle [value]=\"false\">No</mat-button-toggle>\n </mat-button-toggle-group>\n </h3>\n\n <mat-form-field class=\"w-100\">\n <input matInput [matDatepicker]=\"released_on\" formControlName=\"released_on\" placeholder=\"Released on\" readonly\n (click)=\"released_on.open()\" required />\n <mat-datepicker-toggle matSuffix [for]=\"released_on\"></mat-datepicker-toggle>\n <mat-datepicker #released_on></mat-datepicker>\n <app-techlify-close-button *ngIf=\"getFieldValue('released_on')\" matSuffix\n (click)=\"resetFieldValue('released_on')\"></app-techlify-close-button>\n <mat-error *ngIf=\"isFieldValid('released_on')\">\n {{getErrorMessage('released_on')}}\n </mat-error>\n </mat-form-field>\n\n <mat-form-field class=\"w-100\">\n <mat-label>Version</mat-label>\n <input matInput formControlName=\"version\" placeholder=\"Version\" autocomplete=\"off\" required />\n <app-techlify-close-button *ngIf=\"getFieldValue('version')\" matSuffix\n (click)=\"resetFieldValue('version')\"></app-techlify-close-button>\n <mat-error *ngIf=\"isFieldValid('version')\">\n {{getErrorMessage('version')}}\n </mat-error>\n </mat-form-field>\n\n <mat-form-field class=\"w-100\">\n <mat-label>Learn more link</mat-label>\n <input matInput formControlName=\"learn_more_link\" placeholder=\"Learn More Link\" autocomplete=\"off\" />\n <app-techlify-close-button *ngIf=\"getFieldValue('learn_more_link')\" matSuffix\n (click)=\"resetFieldValue('learn_more_link')\"></app-techlify-close-button>\n <mat-error *ngIf=\"isFieldValid('learn_more_link')\">\n {{getErrorMessage('learn_more_link')}}\n </mat-error>\n </mat-form-field>\n\n <div class=\"w-100\">\n <div class=\"NgxEditor__Wrapper\">\n <ngx-editor-menu [toolbar]=\"toolbar\" [editor]=\"editor\"> </ngx-editor-menu>\n <ngx-editor formControlName=\"description\" [editor]=\"editor\" placeholder=\"Description\">\n </ngx-editor>\n </div>\n <mat-error *ngIf=\"isFieldValid('description')\">\n {{getErrorMessage('description')}}\n </mat-error>\n </div>\n </div>\n <div mat-dialog-actions class=\"w-100 d-flex justify-content-end gap-3\">\n <button mat-button class=\"mt-2\" type=\"button\" (click)=\"dialogRef.close()\">\n Cancel\n </button>\n <button mat-raised-button type=\"submit\" class=\"btn-primary mt-2\">\n Save\n </button>\n </div>\n </div>\n</form>"
|
|
7672
7630
|
}]
|
|
7673
7631
|
}],
|
|
7674
7632
|
ctorParameters: () => [
|
|
@@ -7858,7 +7816,7 @@ let TechlifyUpdatesListComponent = class TechlifyUpdatesListComponent {
|
|
|
7858
7816
|
isStandalone: false,
|
|
7859
7817
|
selector: "app-techlify-updates-list",
|
|
7860
7818
|
ngImport: i0,
|
|
7861
|
-
template: "<section class=\"p-4 d-flex flex-column\">\n <h3 class=\"primary-color text-center\">\n App Updates\n <button mat-raised-button (click)=\"modifyTechlifyUpdate()\" class=\"primary-bg text-white\">\n <mat-icon>\n add\n </mat-icon>\n Create\n </button>\n </h3>\n <form [formGroup]=\"filterFormGroup\" class=\"row g-2 w-100\" style=\"font-size: 12px;\">\n <mat-form-field class=\"col-12 col-md-2\" appearance=\"outline\">\n <input type=\"text\" matInput formControlName=\"search\" placeholder=\"Title\" autocomplete=\"off\" />\n <button *ngIf=\"filterFormGroup.get('search').value\" matSuffix
|
|
7819
|
+
template: "<section class=\"p-4 d-flex flex-column\">\n <h3 class=\"primary-color text-center\">\n App Updates\n <button mat-raised-button (click)=\"modifyTechlifyUpdate()\" class=\"primary-bg text-white\">\n <mat-icon>\n add\n </mat-icon>\n Create\n </button>\n </h3>\n <form [formGroup]=\"filterFormGroup\" class=\"row g-2 w-100\" style=\"font-size: 12px;\">\n <mat-form-field class=\"col-12 col-md-2\" appearance=\"outline\">\n <input type=\"text\" matInput formControlName=\"search\" placeholder=\"Title\" autocomplete=\"off\" />\n <app-techlify-close-button *ngIf=\"filterFormGroup.get('search').value\" matSuffix\n (click)=\"resetFieldValue('search')\"></app-techlify-close-button>\n </mat-form-field>\n <mat-form-field class=\"col-12 col-md-2\" appearance=\"outline\">\n <input type=\"text\" matInput formControlName=\"version\" placeholder=\"Version\" autocomplete=\"off\" />\n <app-techlify-close-button *ngIf=\"filterFormGroup.get('version').value\" matSuffix\n (click)=\"resetFieldValue('version')\"></app-techlify-close-button>\n </mat-form-field>\n </form>\n\n <table mat-table [dataSource]=\"techlifyUpdates\" class=\"mat-elevation-z8 w-100\" matSort multiTemplateDataRows\n (matSortChange)=\"sortColumn($event)\" infiniteScroll [infiniteScrollDistance]=\"2\" [infiniteScrollThrottle]=\"50\"\n (scrolled)=\"onScroll()\">\n\n <!-- Index Column -->\n <ng-container matColumnDef=\"index\">\n <th mat-header-cell *matHeaderCellDef> # </th>\n <td mat-cell *matCellDef=\"let element;let i=dataIndex\"> {{ i+1 }} </td>\n </ng-container>\n\n <!-- Title Column -->\n <ng-container matColumnDef=\"title\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header disableClear> Title </th>\n <td mat-cell *matCellDef=\"let element\"> {{element?.title}} </td>\n </ng-container>\n\n <!--Is Pinned Column-->\n <ng-container matColumnDef=\"is_pinned\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header disableClear> Is Pinned </th>\n <td mat-cell *matCellDef=\"let element\"> {{element?.is_pinned ? 'Yes' : 'No'}} </td>\n </ng-container>\n\n\n <!-- Version Column -->\n <ng-container matColumnDef=\"version\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header disableClear> Version </th>\n <td mat-cell *matCellDef=\"let element\"> {{element?.version}} </td>\n </ng-container>\n\n <!-- Released On Column -->\n <ng-container matColumnDef=\"released_on\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header disableClear> Released On </th>\n <td mat-cell *matCellDef=\"let element\"> {{element?.released_on | date:'mediumDate'}} </td>\n </ng-container>\n\n <!-- Learn More Link Column -->\n <ng-container matColumnDef=\"learn_more_link\">\n <th mat-header-cell *matHeaderCellDef> Learn more link </th>\n <td mat-cell *matCellDef=\"let element\">\n <a [href]=\"element?.learn_more_link\" target=\"_blank\">\n {{element?.learn_more_link}}\n </a>\n </td>\n </ng-container>\n\n <!-- Description Column -->\n <ng-container matColumnDef=\"description\">\n <th mat-header-cell *matHeaderCellDef> Description </th>\n <td mat-cell *matCellDef=\"let element\">\n <app-read-more [text]=\"element?.description\" [maxLength]=\"50\"></app-read-more>\n </td>\n </ng-container>\n\n <!-- Creator Column -->\n <ng-container matColumnDef=\"creator\">\n <th mat-header-cell *matHeaderCellDef> Creator </th>\n <td mat-cell *matCellDef=\"let element\">\n {{element?.creator?.name}}\n <div class=\"small d-flex\">\n {{element?.created_at | date : 'mediumDate'}}\n </div>\n </td>\n </ng-container>\n\n <!-- Actions Column -->\n <ng-container matColumnDef=\"actions\">\n <th mat-header-cell *matHeaderCellDef> Actions </th>\n <td mat-cell *matCellDef=\"let element\" class=\"secondary-color\">\n <button type=\"button\" class=\"secondary-color\" mat-icon-button (click)=\"modifyTechlifyUpdate(element)\">\n <mat-icon>edit</mat-icon>\n </button>\n\n <button type=\"button\" class=\"secondary-color\" mat-icon-button (click)=\"deleteTechlifyUpdate(element)\">\n <mat-icon>delete</mat-icon>\n </button>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns;\"></tr>\n </table>\n</section>",
|
|
7862
7820
|
styles: [""],
|
|
7863
7821
|
dependencies: [
|
|
7864
7822
|
{
|
|
@@ -7957,7 +7915,7 @@ let TechlifyUpdatesListComponent = class TechlifyUpdatesListComponent {
|
|
|
7957
7915
|
},
|
|
7958
7916
|
{
|
|
7959
7917
|
kind: "directive",
|
|
7960
|
-
type: i12$
|
|
7918
|
+
type: i12$1.MatInput,
|
|
7961
7919
|
selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",
|
|
7962
7920
|
inputs: [
|
|
7963
7921
|
"disabled",
|
|
@@ -8083,6 +8041,11 @@ let TechlifyUpdatesListComponent = class TechlifyUpdatesListComponent {
|
|
|
8083
8041
|
selector: "app-read-more",
|
|
8084
8042
|
inputs: ["text", "maxLength"]
|
|
8085
8043
|
},
|
|
8044
|
+
{
|
|
8045
|
+
kind: "component",
|
|
8046
|
+
type: TechlifyCloseButtonComponent,
|
|
8047
|
+
selector: "app-techlify-close-button"
|
|
8048
|
+
},
|
|
8086
8049
|
{
|
|
8087
8050
|
kind: "pipe",
|
|
8088
8051
|
type: i1$4.DatePipe,
|
|
@@ -8105,7 +8068,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
8105
8068
|
selector: "app-techlify-updates-list",
|
|
8106
8069
|
changeDetection: ChangeDetectionStrategy.Eager,
|
|
8107
8070
|
standalone: false,
|
|
8108
|
-
template: "<section class=\"p-4 d-flex flex-column\">\n <h3 class=\"primary-color text-center\">\n App Updates\n <button mat-raised-button (click)=\"modifyTechlifyUpdate()\" class=\"primary-bg text-white\">\n <mat-icon>\n add\n </mat-icon>\n Create\n </button>\n </h3>\n <form [formGroup]=\"filterFormGroup\" class=\"row g-2 w-100\" style=\"font-size: 12px;\">\n <mat-form-field class=\"col-12 col-md-2\" appearance=\"outline\">\n <input type=\"text\" matInput formControlName=\"search\" placeholder=\"Title\" autocomplete=\"off\" />\n <button *ngIf=\"filterFormGroup.get('search').value\" matSuffix
|
|
8071
|
+
template: "<section class=\"p-4 d-flex flex-column\">\n <h3 class=\"primary-color text-center\">\n App Updates\n <button mat-raised-button (click)=\"modifyTechlifyUpdate()\" class=\"primary-bg text-white\">\n <mat-icon>\n add\n </mat-icon>\n Create\n </button>\n </h3>\n <form [formGroup]=\"filterFormGroup\" class=\"row g-2 w-100\" style=\"font-size: 12px;\">\n <mat-form-field class=\"col-12 col-md-2\" appearance=\"outline\">\n <input type=\"text\" matInput formControlName=\"search\" placeholder=\"Title\" autocomplete=\"off\" />\n <app-techlify-close-button *ngIf=\"filterFormGroup.get('search').value\" matSuffix\n (click)=\"resetFieldValue('search')\"></app-techlify-close-button>\n </mat-form-field>\n <mat-form-field class=\"col-12 col-md-2\" appearance=\"outline\">\n <input type=\"text\" matInput formControlName=\"version\" placeholder=\"Version\" autocomplete=\"off\" />\n <app-techlify-close-button *ngIf=\"filterFormGroup.get('version').value\" matSuffix\n (click)=\"resetFieldValue('version')\"></app-techlify-close-button>\n </mat-form-field>\n </form>\n\n <table mat-table [dataSource]=\"techlifyUpdates\" class=\"mat-elevation-z8 w-100\" matSort multiTemplateDataRows\n (matSortChange)=\"sortColumn($event)\" infiniteScroll [infiniteScrollDistance]=\"2\" [infiniteScrollThrottle]=\"50\"\n (scrolled)=\"onScroll()\">\n\n <!-- Index Column -->\n <ng-container matColumnDef=\"index\">\n <th mat-header-cell *matHeaderCellDef> # </th>\n <td mat-cell *matCellDef=\"let element;let i=dataIndex\"> {{ i+1 }} </td>\n </ng-container>\n\n <!-- Title Column -->\n <ng-container matColumnDef=\"title\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header disableClear> Title </th>\n <td mat-cell *matCellDef=\"let element\"> {{element?.title}} </td>\n </ng-container>\n\n <!--Is Pinned Column-->\n <ng-container matColumnDef=\"is_pinned\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header disableClear> Is Pinned </th>\n <td mat-cell *matCellDef=\"let element\"> {{element?.is_pinned ? 'Yes' : 'No'}} </td>\n </ng-container>\n\n\n <!-- Version Column -->\n <ng-container matColumnDef=\"version\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header disableClear> Version </th>\n <td mat-cell *matCellDef=\"let element\"> {{element?.version}} </td>\n </ng-container>\n\n <!-- Released On Column -->\n <ng-container matColumnDef=\"released_on\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header disableClear> Released On </th>\n <td mat-cell *matCellDef=\"let element\"> {{element?.released_on | date:'mediumDate'}} </td>\n </ng-container>\n\n <!-- Learn More Link Column -->\n <ng-container matColumnDef=\"learn_more_link\">\n <th mat-header-cell *matHeaderCellDef> Learn more link </th>\n <td mat-cell *matCellDef=\"let element\">\n <a [href]=\"element?.learn_more_link\" target=\"_blank\">\n {{element?.learn_more_link}}\n </a>\n </td>\n </ng-container>\n\n <!-- Description Column -->\n <ng-container matColumnDef=\"description\">\n <th mat-header-cell *matHeaderCellDef> Description </th>\n <td mat-cell *matCellDef=\"let element\">\n <app-read-more [text]=\"element?.description\" [maxLength]=\"50\"></app-read-more>\n </td>\n </ng-container>\n\n <!-- Creator Column -->\n <ng-container matColumnDef=\"creator\">\n <th mat-header-cell *matHeaderCellDef> Creator </th>\n <td mat-cell *matCellDef=\"let element\">\n {{element?.creator?.name}}\n <div class=\"small d-flex\">\n {{element?.created_at | date : 'mediumDate'}}\n </div>\n </td>\n </ng-container>\n\n <!-- Actions Column -->\n <ng-container matColumnDef=\"actions\">\n <th mat-header-cell *matHeaderCellDef> Actions </th>\n <td mat-cell *matCellDef=\"let element\" class=\"secondary-color\">\n <button type=\"button\" class=\"secondary-color\" mat-icon-button (click)=\"modifyTechlifyUpdate(element)\">\n <mat-icon>edit</mat-icon>\n </button>\n\n <button type=\"button\" class=\"secondary-color\" mat-icon-button (click)=\"deleteTechlifyUpdate(element)\">\n <mat-icon>delete</mat-icon>\n </button>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns;\"></tr>\n </table>\n</section>"
|
|
8109
8072
|
}]
|
|
8110
8073
|
}],
|
|
8111
8074
|
ctorParameters: () => [
|
|
@@ -8488,7 +8451,7 @@ let TechlifyUpdateHistoryComponent = class TechlifyUpdateHistoryComponent {
|
|
|
8488
8451
|
isStandalone: false,
|
|
8489
8452
|
selector: "app-techlify-update-history",
|
|
8490
8453
|
ngImport: i0,
|
|
8491
|
-
template: "<section class=\"p-4 d-flex flex-column\">\n <h3 class=\"primary-color text-center\">\n App Updates\n </h3>\n <form [formGroup]=\"filterFormGroup\" class=\"row g-2\" style=\"font-size: 12px;\">\n <mat-form-field appearance=\"outline\" class=\"col-12 col-md-2\">\n <input type=\"text\" matInput formControlName=\"search\" placeholder=\"Title\" autocomplete=\"off\" />\n <button *ngIf=\"filterFormGroup.get('search').value\" matSuffix
|
|
8454
|
+
template: "<section class=\"p-4 d-flex flex-column\">\n <h3 class=\"primary-color text-center\">\n App Updates\n </h3>\n <form [formGroup]=\"filterFormGroup\" class=\"row g-2\" style=\"font-size: 12px;\">\n <mat-form-field appearance=\"outline\" class=\"col-12 col-md-2\">\n <input type=\"text\" matInput formControlName=\"search\" placeholder=\"Title\" autocomplete=\"off\" />\n <app-techlify-close-button *ngIf=\"filterFormGroup.get('search').value\" matSuffix\n (click)=\"resetFieldValue('search')\"></app-techlify-close-button>\n </mat-form-field>\n <mat-form-field appearance=\"outline\" class=\"col-12 col-md-2\">\n <input type=\"text\" matInput formControlName=\"version\" placeholder=\"Version\" autocomplete=\"off\" />\n <app-techlify-close-button *ngIf=\"filterFormGroup.get('version').value\" matSuffix\n (click)=\"resetFieldValue('version')\"></app-techlify-close-button>\n </mat-form-field>\n </form>\n\n <table mat-table [dataSource]=\"techlifyUpdates\" class=\"mat-elevation-z8 w-100\" matSort multiTemplateDataRows\n (matSortChange)=\"sortColumn($event)\" infiniteScroll [infiniteScrollDistance]=\"2\" [infiniteScrollThrottle]=\"50\"\n (scrolled)=\"onScroll()\">\n\n <!-- Index Column -->\n <ng-container matColumnDef=\"index\">\n <th mat-header-cell *matHeaderCellDef> # </th>\n <td mat-cell *matCellDef=\"let element;let i=dataIndex\"> {{ i+1 }} </td>\n </ng-container>\n\n <!-- Course Column -->\n <ng-container matColumnDef=\"title\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header disableClear> Title </th>\n <td mat-cell *matCellDef=\"let element\"> {{element?.title}} </td>\n </ng-container>\n\n <!--Is Pinned Column-->\n <ng-container matColumnDef=\"is_pinned\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header disableClear> Is Pinned </th>\n <td mat-cell *matCellDef=\"let element\"> {{element?.is_pinned ? 'Yes' : 'No'}} </td>\n </ng-container>\n\n <!-- Version Column -->\n <ng-container matColumnDef=\"version\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header disableClear> Version </th>\n <td mat-cell *matCellDef=\"let element\"> {{element?.version}} </td>\n </ng-container>\n\n <!-- Released On Column -->\n <ng-container matColumnDef=\"released_on\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header disableClear> Released On </th>\n <td mat-cell *matCellDef=\"let element\"> {{element?.released_on | date:'mediumDate'}} </td>\n </ng-container>\n\n <!-- Learn More Link Column -->\n <ng-container matColumnDef=\"learn_more_link\">\n <th mat-header-cell *matHeaderCellDef> Learn more link </th>\n <td mat-cell *matCellDef=\"let element\">\n <a [href]=\"element?.learn_more_link\" target=\"_blank\">\n {{element?.learn_more_link}}\n </a>\n </td>\n </ng-container>\n\n <!-- Description Column -->\n <ng-container matColumnDef=\"description\">\n <th mat-header-cell *matHeaderCellDef> Description </th>\n <td mat-cell *matCellDef=\"let element\">\n <app-read-more [text]=\"element?.description\" [maxLength]=\"50\"></app-read-more>\n </td>\n </ng-container>\n\n <!-- Creator Column -->\n <ng-container matColumnDef=\"creator\">\n <th mat-header-cell *matHeaderCellDef> Creator </th>\n <td mat-cell *matCellDef=\"let element\">\n {{element?.creator?.name}}\n <div class=\"small d-flex\">\n {{element?.created_at | date : 'mediumDate'}}\n </div>\n </td>\n </ng-container>\n\n <!-- Actions Column -->\n <ng-container matColumnDef=\"actions\">\n <th mat-header-cell *matHeaderCellDef> Actions </th>\n <td mat-cell *matCellDef=\"let element\" class=\"secondary-color\">\n <button type=\"button\" class=\"secondary-color\" mat-icon-button (click)=\"openUpdateView(element)\">\n <mat-icon>remove_red_eye</mat-icon>\n </button>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns;\"></tr>\n </table>\n</section>",
|
|
8492
8455
|
styles: [""],
|
|
8493
8456
|
dependencies: [
|
|
8494
8457
|
{
|
|
@@ -8580,7 +8543,7 @@ let TechlifyUpdateHistoryComponent = class TechlifyUpdateHistoryComponent {
|
|
|
8580
8543
|
},
|
|
8581
8544
|
{
|
|
8582
8545
|
kind: "directive",
|
|
8583
|
-
type: i12$
|
|
8546
|
+
type: i12$1.MatInput,
|
|
8584
8547
|
selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",
|
|
8585
8548
|
inputs: [
|
|
8586
8549
|
"disabled",
|
|
@@ -8706,6 +8669,11 @@ let TechlifyUpdateHistoryComponent = class TechlifyUpdateHistoryComponent {
|
|
|
8706
8669
|
selector: "app-read-more",
|
|
8707
8670
|
inputs: ["text", "maxLength"]
|
|
8708
8671
|
},
|
|
8672
|
+
{
|
|
8673
|
+
kind: "component",
|
|
8674
|
+
type: TechlifyCloseButtonComponent,
|
|
8675
|
+
selector: "app-techlify-close-button"
|
|
8676
|
+
},
|
|
8709
8677
|
{
|
|
8710
8678
|
kind: "pipe",
|
|
8711
8679
|
type: i1$4.DatePipe,
|
|
@@ -8728,7 +8696,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
8728
8696
|
selector: "app-techlify-update-history",
|
|
8729
8697
|
changeDetection: ChangeDetectionStrategy.Eager,
|
|
8730
8698
|
standalone: false,
|
|
8731
|
-
template: "<section class=\"p-4 d-flex flex-column\">\n <h3 class=\"primary-color text-center\">\n App Updates\n </h3>\n <form [formGroup]=\"filterFormGroup\" class=\"row g-2\" style=\"font-size: 12px;\">\n <mat-form-field appearance=\"outline\" class=\"col-12 col-md-2\">\n <input type=\"text\" matInput formControlName=\"search\" placeholder=\"Title\" autocomplete=\"off\" />\n <button *ngIf=\"filterFormGroup.get('search').value\" matSuffix
|
|
8699
|
+
template: "<section class=\"p-4 d-flex flex-column\">\n <h3 class=\"primary-color text-center\">\n App Updates\n </h3>\n <form [formGroup]=\"filterFormGroup\" class=\"row g-2\" style=\"font-size: 12px;\">\n <mat-form-field appearance=\"outline\" class=\"col-12 col-md-2\">\n <input type=\"text\" matInput formControlName=\"search\" placeholder=\"Title\" autocomplete=\"off\" />\n <app-techlify-close-button *ngIf=\"filterFormGroup.get('search').value\" matSuffix\n (click)=\"resetFieldValue('search')\"></app-techlify-close-button>\n </mat-form-field>\n <mat-form-field appearance=\"outline\" class=\"col-12 col-md-2\">\n <input type=\"text\" matInput formControlName=\"version\" placeholder=\"Version\" autocomplete=\"off\" />\n <app-techlify-close-button *ngIf=\"filterFormGroup.get('version').value\" matSuffix\n (click)=\"resetFieldValue('version')\"></app-techlify-close-button>\n </mat-form-field>\n </form>\n\n <table mat-table [dataSource]=\"techlifyUpdates\" class=\"mat-elevation-z8 w-100\" matSort multiTemplateDataRows\n (matSortChange)=\"sortColumn($event)\" infiniteScroll [infiniteScrollDistance]=\"2\" [infiniteScrollThrottle]=\"50\"\n (scrolled)=\"onScroll()\">\n\n <!-- Index Column -->\n <ng-container matColumnDef=\"index\">\n <th mat-header-cell *matHeaderCellDef> # </th>\n <td mat-cell *matCellDef=\"let element;let i=dataIndex\"> {{ i+1 }} </td>\n </ng-container>\n\n <!-- Course Column -->\n <ng-container matColumnDef=\"title\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header disableClear> Title </th>\n <td mat-cell *matCellDef=\"let element\"> {{element?.title}} </td>\n </ng-container>\n\n <!--Is Pinned Column-->\n <ng-container matColumnDef=\"is_pinned\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header disableClear> Is Pinned </th>\n <td mat-cell *matCellDef=\"let element\"> {{element?.is_pinned ? 'Yes' : 'No'}} </td>\n </ng-container>\n\n <!-- Version Column -->\n <ng-container matColumnDef=\"version\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header disableClear> Version </th>\n <td mat-cell *matCellDef=\"let element\"> {{element?.version}} </td>\n </ng-container>\n\n <!-- Released On Column -->\n <ng-container matColumnDef=\"released_on\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header disableClear> Released On </th>\n <td mat-cell *matCellDef=\"let element\"> {{element?.released_on | date:'mediumDate'}} </td>\n </ng-container>\n\n <!-- Learn More Link Column -->\n <ng-container matColumnDef=\"learn_more_link\">\n <th mat-header-cell *matHeaderCellDef> Learn more link </th>\n <td mat-cell *matCellDef=\"let element\">\n <a [href]=\"element?.learn_more_link\" target=\"_blank\">\n {{element?.learn_more_link}}\n </a>\n </td>\n </ng-container>\n\n <!-- Description Column -->\n <ng-container matColumnDef=\"description\">\n <th mat-header-cell *matHeaderCellDef> Description </th>\n <td mat-cell *matCellDef=\"let element\">\n <app-read-more [text]=\"element?.description\" [maxLength]=\"50\"></app-read-more>\n </td>\n </ng-container>\n\n <!-- Creator Column -->\n <ng-container matColumnDef=\"creator\">\n <th mat-header-cell *matHeaderCellDef> Creator </th>\n <td mat-cell *matCellDef=\"let element\">\n {{element?.creator?.name}}\n <div class=\"small d-flex\">\n {{element?.created_at | date : 'mediumDate'}}\n </div>\n </td>\n </ng-container>\n\n <!-- Actions Column -->\n <ng-container matColumnDef=\"actions\">\n <th mat-header-cell *matHeaderCellDef> Actions </th>\n <td mat-cell *matCellDef=\"let element\" class=\"secondary-color\">\n <button type=\"button\" class=\"secondary-color\" mat-icon-button (click)=\"openUpdateView(element)\">\n <mat-icon>remove_red_eye</mat-icon>\n </button>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns;\"></tr>\n </table>\n</section>"
|
|
8732
8700
|
}]
|
|
8733
8701
|
}],
|
|
8734
8702
|
ctorParameters: () => [
|
|
@@ -11082,7 +11050,7 @@ var FieldMappingComponent = class FieldMappingComponent {
|
|
|
11082
11050
|
},
|
|
11083
11051
|
{
|
|
11084
11052
|
kind: "component",
|
|
11085
|
-
type: i11.MatSelect,
|
|
11053
|
+
type: i11$1.MatSelect,
|
|
11086
11054
|
selector: "mat-select",
|
|
11087
11055
|
inputs: [
|
|
11088
11056
|
"aria-describedby",
|
|
@@ -11117,7 +11085,7 @@ var FieldMappingComponent = class FieldMappingComponent {
|
|
|
11117
11085
|
},
|
|
11118
11086
|
{
|
|
11119
11087
|
kind: "component",
|
|
11120
|
-
type: i12
|
|
11088
|
+
type: i12.MatDivider,
|
|
11121
11089
|
selector: "mat-divider",
|
|
11122
11090
|
inputs: ["vertical", "inset"]
|
|
11123
11091
|
},
|
|
@@ -11282,7 +11250,7 @@ var FailedItemsListComponent = class FailedItemsListComponent {
|
|
|
11282
11250
|
},
|
|
11283
11251
|
{
|
|
11284
11252
|
kind: "component",
|
|
11285
|
-
type: i12
|
|
11253
|
+
type: i12.MatDivider,
|
|
11286
11254
|
selector: "mat-divider",
|
|
11287
11255
|
inputs: ["vertical", "inset"]
|
|
11288
11256
|
},
|
|
@@ -12035,7 +12003,7 @@ let TechlifyTaggerTagSelectorComponent = class TechlifyTaggerTagSelectorComponen
|
|
|
12035
12003
|
},
|
|
12036
12004
|
{
|
|
12037
12005
|
kind: "directive",
|
|
12038
|
-
type:
|
|
12006
|
+
type: i11.MatButtonToggleGroup,
|
|
12039
12007
|
selector: "mat-button-toggle-group",
|
|
12040
12008
|
inputs: [
|
|
12041
12009
|
"appearance",
|
|
@@ -12053,7 +12021,7 @@ let TechlifyTaggerTagSelectorComponent = class TechlifyTaggerTagSelectorComponen
|
|
|
12053
12021
|
},
|
|
12054
12022
|
{
|
|
12055
12023
|
kind: "component",
|
|
12056
|
-
type:
|
|
12024
|
+
type: i11.MatButtonToggle,
|
|
12057
12025
|
selector: "mat-button-toggle",
|
|
12058
12026
|
inputs: [
|
|
12059
12027
|
"aria-label",
|
|
@@ -12110,6 +12078,7 @@ let TechlifyTaggerTagSelectorComponent = class TechlifyTaggerTagSelectorComponen
|
|
|
12110
12078
|
"inDataSearch",
|
|
12111
12079
|
"panelWidth",
|
|
12112
12080
|
"focusSearchOnOpen",
|
|
12081
|
+
"isShowClose",
|
|
12113
12082
|
"isEmitInitialEvent",
|
|
12114
12083
|
"required",
|
|
12115
12084
|
"disabled",
|
|
@@ -13342,7 +13311,7 @@ let UserListComponent = class UserListComponent extends TechlifyListComponent {
|
|
|
13342
13311
|
},
|
|
13343
13312
|
{
|
|
13344
13313
|
kind: "directive",
|
|
13345
|
-
type: i12$
|
|
13314
|
+
type: i12$1.MatInput,
|
|
13346
13315
|
selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",
|
|
13347
13316
|
inputs: [
|
|
13348
13317
|
"disabled",
|
|
@@ -13473,7 +13442,7 @@ let UserListComponent = class UserListComponent extends TechlifyListComponent {
|
|
|
13473
13442
|
},
|
|
13474
13443
|
{
|
|
13475
13444
|
kind: "directive",
|
|
13476
|
-
type:
|
|
13445
|
+
type: i11.MatButtonToggleGroup,
|
|
13477
13446
|
selector: "mat-button-toggle-group",
|
|
13478
13447
|
inputs: [
|
|
13479
13448
|
"appearance",
|
|
@@ -13491,7 +13460,7 @@ let UserListComponent = class UserListComponent extends TechlifyListComponent {
|
|
|
13491
13460
|
},
|
|
13492
13461
|
{
|
|
13493
13462
|
kind: "component",
|
|
13494
|
-
type:
|
|
13463
|
+
type: i11.MatButtonToggle,
|
|
13495
13464
|
selector: "mat-button-toggle",
|
|
13496
13465
|
inputs: [
|
|
13497
13466
|
"aria-label",
|
|
@@ -13568,6 +13537,7 @@ let UserListComponent = class UserListComponent extends TechlifyListComponent {
|
|
|
13568
13537
|
"inDataSearch",
|
|
13569
13538
|
"panelWidth",
|
|
13570
13539
|
"focusSearchOnOpen",
|
|
13540
|
+
"isShowClose",
|
|
13571
13541
|
"isEmitInitialEvent",
|
|
13572
13542
|
"required",
|
|
13573
13543
|
"disabled",
|
|
@@ -14359,7 +14329,7 @@ var ChangePasswordComponent = class ChangePasswordComponent {
|
|
|
14359
14329
|
},
|
|
14360
14330
|
{
|
|
14361
14331
|
kind: "directive",
|
|
14362
|
-
type: i12$
|
|
14332
|
+
type: i12$1.MatInput,
|
|
14363
14333
|
selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",
|
|
14364
14334
|
inputs: [
|
|
14365
14335
|
"disabled",
|
|
@@ -14750,7 +14720,7 @@ var ForgotPasswordComponent = class ForgotPasswordComponent {
|
|
|
14750
14720
|
},
|
|
14751
14721
|
{
|
|
14752
14722
|
kind: "directive",
|
|
14753
|
-
type: i12$
|
|
14723
|
+
type: i12$1.MatInput,
|
|
14754
14724
|
selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",
|
|
14755
14725
|
inputs: [
|
|
14756
14726
|
"disabled",
|
|
@@ -15097,7 +15067,7 @@ let LoginFormFieldsComponent = class LoginFormFieldsComponent extends TechlifyFo
|
|
|
15097
15067
|
},
|
|
15098
15068
|
{
|
|
15099
15069
|
kind: "directive",
|
|
15100
|
-
type: i12$
|
|
15070
|
+
type: i12$1.MatInput,
|
|
15101
15071
|
selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",
|
|
15102
15072
|
inputs: [
|
|
15103
15073
|
"disabled",
|
|
@@ -15574,7 +15544,7 @@ var ProfileEditComponent = class ProfileEditComponent {
|
|
|
15574
15544
|
},
|
|
15575
15545
|
{
|
|
15576
15546
|
kind: "directive",
|
|
15577
|
-
type: i12$
|
|
15547
|
+
type: i12$1.MatInput,
|
|
15578
15548
|
selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",
|
|
15579
15549
|
inputs: [
|
|
15580
15550
|
"disabled",
|
|
@@ -15593,7 +15563,7 @@ var ProfileEditComponent = class ProfileEditComponent {
|
|
|
15593
15563
|
},
|
|
15594
15564
|
{
|
|
15595
15565
|
kind: "component",
|
|
15596
|
-
type: i12
|
|
15566
|
+
type: i12.MatDivider,
|
|
15597
15567
|
selector: "mat-divider",
|
|
15598
15568
|
inputs: ["vertical", "inset"]
|
|
15599
15569
|
},
|
|
@@ -15903,7 +15873,7 @@ var RoleFormComponent = class RoleFormComponent {
|
|
|
15903
15873
|
},
|
|
15904
15874
|
{
|
|
15905
15875
|
kind: "directive",
|
|
15906
|
-
type: i12$
|
|
15876
|
+
type: i12$1.MatInput,
|
|
15907
15877
|
selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",
|
|
15908
15878
|
inputs: [
|
|
15909
15879
|
"disabled",
|
|
@@ -16657,7 +16627,7 @@ var PermissionsManagementComponent = class PermissionsManagementComponent {
|
|
|
16657
16627
|
},
|
|
16658
16628
|
{
|
|
16659
16629
|
kind: "directive",
|
|
16660
|
-
type: i12$
|
|
16630
|
+
type: i12$1.MatInput,
|
|
16661
16631
|
selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",
|
|
16662
16632
|
inputs: [
|
|
16663
16633
|
"disabled",
|
|
@@ -16676,7 +16646,7 @@ var PermissionsManagementComponent = class PermissionsManagementComponent {
|
|
|
16676
16646
|
},
|
|
16677
16647
|
{
|
|
16678
16648
|
kind: "component",
|
|
16679
|
-
type: i11.MatSelect,
|
|
16649
|
+
type: i11$1.MatSelect,
|
|
16680
16650
|
selector: "mat-select",
|
|
16681
16651
|
inputs: [
|
|
16682
16652
|
"aria-describedby",
|
|
@@ -17050,7 +17020,7 @@ var SignUpComponent = class SignUpComponent {
|
|
|
17050
17020
|
},
|
|
17051
17021
|
{
|
|
17052
17022
|
kind: "directive",
|
|
17053
|
-
type: i12$
|
|
17023
|
+
type: i12$1.MatInput,
|
|
17054
17024
|
selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",
|
|
17055
17025
|
inputs: [
|
|
17056
17026
|
"disabled",
|
|
@@ -17329,7 +17299,7 @@ var UserSelectorComponent = class UserSelectorComponent {
|
|
|
17329
17299
|
},
|
|
17330
17300
|
{
|
|
17331
17301
|
kind: "component",
|
|
17332
|
-
type: i11.MatSelect,
|
|
17302
|
+
type: i11$1.MatSelect,
|
|
17333
17303
|
selector: "mat-select",
|
|
17334
17304
|
inputs: [
|
|
17335
17305
|
"aria-describedby",
|
|
@@ -18137,6 +18107,7 @@ var AdminRolePermissionFormComponent = class AdminRolePermissionFormComponent ex
|
|
|
18137
18107
|
"inDataSearch",
|
|
18138
18108
|
"panelWidth",
|
|
18139
18109
|
"focusSearchOnOpen",
|
|
18110
|
+
"isShowClose",
|
|
18140
18111
|
"isEmitInitialEvent",
|
|
18141
18112
|
"required",
|
|
18142
18113
|
"disabled",
|
|
@@ -19058,7 +19029,7 @@ var AccessControlConfigFormComponent = class AccessControlConfigFormComponent {
|
|
|
19058
19029
|
},
|
|
19059
19030
|
{
|
|
19060
19031
|
kind: "directive",
|
|
19061
|
-
type: i12$
|
|
19032
|
+
type: i12$1.MatInput,
|
|
19062
19033
|
selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",
|
|
19063
19034
|
inputs: [
|
|
19064
19035
|
"disabled",
|
|
@@ -19089,7 +19060,7 @@ var AccessControlConfigFormComponent = class AccessControlConfigFormComponent {
|
|
|
19089
19060
|
},
|
|
19090
19061
|
{
|
|
19091
19062
|
kind: "directive",
|
|
19092
|
-
type:
|
|
19063
|
+
type: i11.MatButtonToggleGroup,
|
|
19093
19064
|
selector: "mat-button-toggle-group",
|
|
19094
19065
|
inputs: [
|
|
19095
19066
|
"appearance",
|
|
@@ -19107,7 +19078,7 @@ var AccessControlConfigFormComponent = class AccessControlConfigFormComponent {
|
|
|
19107
19078
|
},
|
|
19108
19079
|
{
|
|
19109
19080
|
kind: "component",
|
|
19110
|
-
type:
|
|
19081
|
+
type: i11.MatButtonToggle,
|
|
19111
19082
|
selector: "mat-button-toggle",
|
|
19112
19083
|
inputs: [
|
|
19113
19084
|
"aria-label",
|
|
@@ -19820,7 +19791,7 @@ var RestrictorTypeSelectorComponent = class RestrictorTypeSelectorComponent {
|
|
|
19820
19791
|
},
|
|
19821
19792
|
{
|
|
19822
19793
|
kind: "directive",
|
|
19823
|
-
type:
|
|
19794
|
+
type: i11.MatButtonToggleGroup,
|
|
19824
19795
|
selector: "mat-button-toggle-group",
|
|
19825
19796
|
inputs: [
|
|
19826
19797
|
"appearance",
|
|
@@ -19838,7 +19809,7 @@ var RestrictorTypeSelectorComponent = class RestrictorTypeSelectorComponent {
|
|
|
19838
19809
|
},
|
|
19839
19810
|
{
|
|
19840
19811
|
kind: "component",
|
|
19841
|
-
type:
|
|
19812
|
+
type: i11.MatButtonToggle,
|
|
19842
19813
|
selector: "mat-button-toggle",
|
|
19843
19814
|
inputs: [
|
|
19844
19815
|
"aria-label",
|
|
@@ -20041,7 +20012,7 @@ var RestrictorLevelSelectorComponent = class RestrictorLevelSelectorComponent {
|
|
|
20041
20012
|
},
|
|
20042
20013
|
{
|
|
20043
20014
|
kind: "directive",
|
|
20044
|
-
type:
|
|
20015
|
+
type: i11.MatButtonToggleGroup,
|
|
20045
20016
|
selector: "mat-button-toggle-group",
|
|
20046
20017
|
inputs: [
|
|
20047
20018
|
"appearance",
|
|
@@ -20059,7 +20030,7 @@ var RestrictorLevelSelectorComponent = class RestrictorLevelSelectorComponent {
|
|
|
20059
20030
|
},
|
|
20060
20031
|
{
|
|
20061
20032
|
kind: "component",
|
|
20062
|
-
type:
|
|
20033
|
+
type: i11.MatButtonToggle,
|
|
20063
20034
|
selector: "mat-button-toggle",
|
|
20064
20035
|
inputs: [
|
|
20065
20036
|
"aria-label",
|
|
@@ -20262,7 +20233,7 @@ var RestrictorStatusSelectorComponent = class RestrictorStatusSelectorComponent
|
|
|
20262
20233
|
},
|
|
20263
20234
|
{
|
|
20264
20235
|
kind: "directive",
|
|
20265
|
-
type:
|
|
20236
|
+
type: i11.MatButtonToggleGroup,
|
|
20266
20237
|
selector: "mat-button-toggle-group",
|
|
20267
20238
|
inputs: [
|
|
20268
20239
|
"appearance",
|
|
@@ -20280,7 +20251,7 @@ var RestrictorStatusSelectorComponent = class RestrictorStatusSelectorComponent
|
|
|
20280
20251
|
},
|
|
20281
20252
|
{
|
|
20282
20253
|
kind: "component",
|
|
20283
|
-
type:
|
|
20254
|
+
type: i11.MatButtonToggle,
|
|
20284
20255
|
selector: "mat-button-toggle",
|
|
20285
20256
|
inputs: [
|
|
20286
20257
|
"aria-label",
|
|
@@ -20965,7 +20936,7 @@ var IpRangeSelectorComponent = class IpRangeSelectorComponent {
|
|
|
20965
20936
|
},
|
|
20966
20937
|
{
|
|
20967
20938
|
kind: "directive",
|
|
20968
|
-
type: i12$
|
|
20939
|
+
type: i12$1.MatInput,
|
|
20969
20940
|
selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",
|
|
20970
20941
|
inputs: [
|
|
20971
20942
|
"disabled",
|
|
@@ -20984,7 +20955,7 @@ var IpRangeSelectorComponent = class IpRangeSelectorComponent {
|
|
|
20984
20955
|
},
|
|
20985
20956
|
{
|
|
20986
20957
|
kind: "component",
|
|
20987
|
-
type: i11.MatSelect,
|
|
20958
|
+
type: i11$1.MatSelect,
|
|
20988
20959
|
selector: "mat-select",
|
|
20989
20960
|
inputs: [
|
|
20990
20961
|
"aria-describedby",
|
|
@@ -21224,7 +21195,7 @@ var RestrictorsFormComponent = class RestrictorsFormComponent {
|
|
|
21224
21195
|
},
|
|
21225
21196
|
{
|
|
21226
21197
|
kind: "directive",
|
|
21227
|
-
type: i12$
|
|
21198
|
+
type: i12$1.MatInput,
|
|
21228
21199
|
selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",
|
|
21229
21200
|
inputs: [
|
|
21230
21201
|
"disabled",
|
|
@@ -21243,7 +21214,7 @@ var RestrictorsFormComponent = class RestrictorsFormComponent {
|
|
|
21243
21214
|
},
|
|
21244
21215
|
{
|
|
21245
21216
|
kind: "component",
|
|
21246
|
-
type: i11.MatSelect,
|
|
21217
|
+
type: i11$1.MatSelect,
|
|
21247
21218
|
selector: "mat-select",
|
|
21248
21219
|
inputs: [
|
|
21249
21220
|
"aria-describedby",
|
|
@@ -21340,6 +21311,7 @@ var RestrictorsFormComponent = class RestrictorsFormComponent {
|
|
|
21340
21311
|
"inDataSearch",
|
|
21341
21312
|
"panelWidth",
|
|
21342
21313
|
"focusSearchOnOpen",
|
|
21314
|
+
"isShowClose",
|
|
21343
21315
|
"isEmitInitialEvent",
|
|
21344
21316
|
"required",
|
|
21345
21317
|
"disabled",
|
|
@@ -22474,7 +22446,7 @@ var NumberInputButtonComponent = class NumberInputButtonComponent {
|
|
|
22474
22446
|
},
|
|
22475
22447
|
{
|
|
22476
22448
|
kind: "directive",
|
|
22477
|
-
type: i12$
|
|
22449
|
+
type: i12$1.MatInput,
|
|
22478
22450
|
selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",
|
|
22479
22451
|
inputs: [
|
|
22480
22452
|
"disabled",
|
|
@@ -22509,7 +22481,7 @@ var NumberInputButtonComponent = class NumberInputButtonComponent {
|
|
|
22509
22481
|
},
|
|
22510
22482
|
{
|
|
22511
22483
|
kind: "directive",
|
|
22512
|
-
type:
|
|
22484
|
+
type: i11.MatButtonToggleGroup,
|
|
22513
22485
|
selector: "mat-button-toggle-group",
|
|
22514
22486
|
inputs: [
|
|
22515
22487
|
"appearance",
|
|
@@ -22527,7 +22499,7 @@ var NumberInputButtonComponent = class NumberInputButtonComponent {
|
|
|
22527
22499
|
},
|
|
22528
22500
|
{
|
|
22529
22501
|
kind: "component",
|
|
22530
|
-
type:
|
|
22502
|
+
type: i11.MatButtonToggle,
|
|
22531
22503
|
selector: "mat-button-toggle",
|
|
22532
22504
|
inputs: [
|
|
22533
22505
|
"aria-label",
|
|
@@ -22836,7 +22808,7 @@ var NumberSelectorComponent = class NumberSelectorComponent {
|
|
|
22836
22808
|
},
|
|
22837
22809
|
{
|
|
22838
22810
|
kind: "component",
|
|
22839
|
-
type: i11.MatSelect,
|
|
22811
|
+
type: i11$1.MatSelect,
|
|
22840
22812
|
selector: "mat-select",
|
|
22841
22813
|
inputs: [
|
|
22842
22814
|
"aria-describedby",
|
|
@@ -23131,7 +23103,7 @@ var TechlifyPeriodSelectorComponent = class TechlifyPeriodSelectorComponent {
|
|
|
23131
23103
|
},
|
|
23132
23104
|
{
|
|
23133
23105
|
kind: "component",
|
|
23134
|
-
type: i11.MatSelect,
|
|
23106
|
+
type: i11$1.MatSelect,
|
|
23135
23107
|
selector: "mat-select",
|
|
23136
23108
|
inputs: [
|
|
23137
23109
|
"aria-describedby",
|
|
@@ -23502,7 +23474,7 @@ var PhoneNumberSelectorComponent = class PhoneNumberSelectorComponent {
|
|
|
23502
23474
|
},
|
|
23503
23475
|
{
|
|
23504
23476
|
kind: "directive",
|
|
23505
|
-
type: i12$
|
|
23477
|
+
type: i12$1.MatInput,
|
|
23506
23478
|
selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",
|
|
23507
23479
|
inputs: [
|
|
23508
23480
|
"disabled",
|
|
@@ -23521,7 +23493,7 @@ var PhoneNumberSelectorComponent = class PhoneNumberSelectorComponent {
|
|
|
23521
23493
|
},
|
|
23522
23494
|
{
|
|
23523
23495
|
kind: "component",
|
|
23524
|
-
type: i11.MatSelect,
|
|
23496
|
+
type: i11$1.MatSelect,
|
|
23525
23497
|
selector: "mat-select",
|
|
23526
23498
|
inputs: [
|
|
23527
23499
|
"aria-describedby",
|
|
@@ -23807,7 +23779,7 @@ var ColumnSelectorComponent = class ColumnSelectorComponent {
|
|
|
23807
23779
|
},
|
|
23808
23780
|
{
|
|
23809
23781
|
kind: "directive",
|
|
23810
|
-
type: i12$
|
|
23782
|
+
type: i12$1.MatInput,
|
|
23811
23783
|
selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",
|
|
23812
23784
|
inputs: [
|
|
23813
23785
|
"disabled",
|
|
@@ -23826,7 +23798,7 @@ var ColumnSelectorComponent = class ColumnSelectorComponent {
|
|
|
23826
23798
|
},
|
|
23827
23799
|
{
|
|
23828
23800
|
kind: "component",
|
|
23829
|
-
type: i11.MatSelect,
|
|
23801
|
+
type: i11$1.MatSelect,
|
|
23830
23802
|
selector: "mat-select",
|
|
23831
23803
|
inputs: [
|
|
23832
23804
|
"aria-describedby",
|
|
@@ -24180,7 +24152,7 @@ var ResetPasswordComponent = class ResetPasswordComponent extends TechlifyFormCo
|
|
|
24180
24152
|
},
|
|
24181
24153
|
{
|
|
24182
24154
|
kind: "directive",
|
|
24183
|
-
type: i12$
|
|
24155
|
+
type: i12$1.MatInput,
|
|
24184
24156
|
selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",
|
|
24185
24157
|
inputs: [
|
|
24186
24158
|
"disabled",
|
|
@@ -26231,7 +26203,7 @@ let AppAdminUserList = class AppAdminUserList extends TechlifyListComponent {
|
|
|
26231
26203
|
},
|
|
26232
26204
|
{
|
|
26233
26205
|
kind: "directive",
|
|
26234
|
-
type: i12$
|
|
26206
|
+
type: i12$1.MatInput,
|
|
26235
26207
|
selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",
|
|
26236
26208
|
inputs: [
|
|
26237
26209
|
"disabled",
|
|
@@ -26362,7 +26334,7 @@ let AppAdminUserList = class AppAdminUserList extends TechlifyListComponent {
|
|
|
26362
26334
|
},
|
|
26363
26335
|
{
|
|
26364
26336
|
kind: "directive",
|
|
26365
|
-
type:
|
|
26337
|
+
type: i11.MatButtonToggleGroup,
|
|
26366
26338
|
selector: "mat-button-toggle-group",
|
|
26367
26339
|
inputs: [
|
|
26368
26340
|
"appearance",
|
|
@@ -26380,7 +26352,7 @@ let AppAdminUserList = class AppAdminUserList extends TechlifyListComponent {
|
|
|
26380
26352
|
},
|
|
26381
26353
|
{
|
|
26382
26354
|
kind: "component",
|
|
26383
|
-
type:
|
|
26355
|
+
type: i11.MatButtonToggle,
|
|
26384
26356
|
selector: "mat-button-toggle",
|
|
26385
26357
|
inputs: [
|
|
26386
26358
|
"aria-label",
|
|
@@ -26457,6 +26429,7 @@ let AppAdminUserList = class AppAdminUserList extends TechlifyListComponent {
|
|
|
26457
26429
|
"inDataSearch",
|
|
26458
26430
|
"panelWidth",
|
|
26459
26431
|
"focusSearchOnOpen",
|
|
26432
|
+
"isShowClose",
|
|
26460
26433
|
"isEmitInitialEvent",
|
|
26461
26434
|
"required",
|
|
26462
26435
|
"disabled",
|
|
@@ -27298,7 +27271,7 @@ var SubscriptionFormComponent = class SubscriptionFormComponent extends Techlify
|
|
|
27298
27271
|
},
|
|
27299
27272
|
{
|
|
27300
27273
|
kind: "directive",
|
|
27301
|
-
type: i12$
|
|
27274
|
+
type: i12$1.MatInput,
|
|
27302
27275
|
selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",
|
|
27303
27276
|
inputs: [
|
|
27304
27277
|
"disabled",
|
|
@@ -27364,7 +27337,7 @@ var SubscriptionFormComponent = class SubscriptionFormComponent extends Techlify
|
|
|
27364
27337
|
},
|
|
27365
27338
|
{
|
|
27366
27339
|
kind: "directive",
|
|
27367
|
-
type:
|
|
27340
|
+
type: i11.MatButtonToggleGroup,
|
|
27368
27341
|
selector: "mat-button-toggle-group",
|
|
27369
27342
|
inputs: [
|
|
27370
27343
|
"appearance",
|
|
@@ -27382,7 +27355,7 @@ var SubscriptionFormComponent = class SubscriptionFormComponent extends Techlify
|
|
|
27382
27355
|
},
|
|
27383
27356
|
{
|
|
27384
27357
|
kind: "component",
|
|
27385
|
-
type:
|
|
27358
|
+
type: i11.MatButtonToggle,
|
|
27386
27359
|
selector: "mat-button-toggle",
|
|
27387
27360
|
inputs: [
|
|
27388
27361
|
"aria-label",
|
|
@@ -27483,6 +27456,7 @@ var SubscriptionFormComponent = class SubscriptionFormComponent extends Techlify
|
|
|
27483
27456
|
"inDataSearch",
|
|
27484
27457
|
"panelWidth",
|
|
27485
27458
|
"focusSearchOnOpen",
|
|
27459
|
+
"isShowClose",
|
|
27486
27460
|
"isEmitInitialEvent",
|
|
27487
27461
|
"required",
|
|
27488
27462
|
"disabled",
|
|
@@ -27675,7 +27649,7 @@ let SubscriptionListingComponent = class SubscriptionListingComponent extends Te
|
|
|
27675
27649
|
inputs: { subscriptionPackage: "subscriptionPackage" },
|
|
27676
27650
|
usesInheritance: true,
|
|
27677
27651
|
ngImport: i0,
|
|
27678
|
-
template: "<div class=\"m-2 d-flex flex-column\">\n <mat-card appearance=\"outlined\" class=\"d-flex gap-2 justify-content-start align-items-center\">\n <div class=\"d-flex justify-content-start align-items-center\">\n <h5 class=\"m-0\">{{subscriptionPackage?'Package':'Tenant'}} Subscriptions</h5>\n <app-subscription-form (success)=\"reload()\"\n [subscriptionPackage]=\"subscriptionPackage\"></app-subscription-form>\n </div>\n <div class=\"flex-fill\">\n </div>\n <form [formGroup]=\"filterForm\" class=\"d-print-none d-flex justify-content-start align-items-start gap-2\">\n <mat-form-field appearance=\"outline\" class=\" fl-md\">\n <mat-label>Search</mat-label>\n <input type=\"text\" matInput formControlName=\"search\" placeholder=\"Search Tenant, Details\"\n autocomplete=\"off\" />\n <button *ngIf=\"filterForm.get('search').value\" matSuffix
|
|
27652
|
+
template: "<div class=\"m-2 d-flex flex-column\">\n <mat-card appearance=\"outlined\" class=\"d-flex gap-2 justify-content-start align-items-center\">\n <div class=\"d-flex justify-content-start align-items-center\">\n <h5 class=\"m-0\">{{subscriptionPackage?'Package':'Tenant'}} Subscriptions</h5>\n <app-subscription-form (success)=\"reload()\"\n [subscriptionPackage]=\"subscriptionPackage\"></app-subscription-form>\n </div>\n <div class=\"flex-fill\">\n </div>\n <form [formGroup]=\"filterForm\" class=\"d-print-none d-flex justify-content-start align-items-start gap-2\">\n <mat-form-field appearance=\"outline\" class=\" fl-md\">\n <mat-label>Search</mat-label>\n <input type=\"text\" matInput formControlName=\"search\" placeholder=\"Search Tenant, Details\"\n autocomplete=\"off\" />\n <app-techlify-close-button *ngIf=\"filterForm.get('search').value\" matSuffix\n (click)=\"resetFilter('search')\"></app-techlify-close-button>\n </mat-form-field>\n\n\n <mat-form-field class=\" fl-sm\" appearance=\"outline\" *ngIf=\"!subscriptionPackage\">\n <mat-label>Package</mat-label>\n <app-searchable-selector formControlName=\"package_ids\" apiUrl=\"api/subscription-packages\"\n [multiple]=\"true\">\n </app-searchable-selector>\n <button mat-icon-button matSuffix type=\"button\" *ngIf=\"filterForm.get('package_ids').value\"\n (click)=\"resetFilter('package_ids')\">\n <mat-icon>clear</mat-icon>\n </button>\n </mat-form-field>\n\n <app-timeline-filter [showClearButton]=\"true\" [form]=\"filterForm\" appearance=\"outline\"\n formControlName=\"date_period_id\" labelText=\"Start\">\n </app-timeline-filter>\n\n <mat-form-field class=\"fl-sm\" appearance=\"outline\">\n <mat-label>Status</mat-label>\n <mat-select formControlName=\"status_ids\" multiple>\n <mat-option [value]=\"1\">Active</mat-option>\n <mat-option [value]=\"2\">Inactive</mat-option>\n </mat-select>\n <button mat-icon-button matSuffix type=\"button\" *ngIf=\"filterForm.get('status_ids').value\"\n (click)=\"resetFilter('status_ids')\">\n <mat-icon>clear</mat-icon>\n </button>\n </mat-form-field>\n\n </form>\n </mat-card>\n <mat-card appearance=\"outlined\" class=\"p-0 mt-2\">\n <table mat-table matSort [dataSource]=\"models\" class=\"w-100\" infiniteScroll [infiniteScrollDistance]=\"2\"\n [infiniteScrollThrottle]=\"50\" (scrolled)=\"onScroll()\" (matSortChange)=\"sortColumn($event)\">\n\n <ng-container matColumnDef=\"index\">\n <th mat-header-cell *matHeaderCellDef> # </th>\n <td mat-cell *matCellDef=\"let tenantSubscription; let i = index\"> {{ i+1 }} </td>\n </ng-container>\n\n <ng-container matColumnDef=\"tenant\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header disableClear> Tenant </th>\n <td mat-cell *matCellDef=\"let tenantSubscription\">\n <div>\n <div>{{tenantSubscription?.tenant?.name }}</div>\n <div><span>{{tenantSubscription?.tenant?.phone }}</span> <span> |\n {{tenantSubscription?.tenant?.email }}</span></div>\n </div>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"period\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header disableClear> Period </th>\n <td mat-cell *matCellDef=\"let tenantSubscription\">\n <span *ngIf=\"tenantSubscription?.started_at\">{{tenantSubscription?.started_at | date:'mediumDate' }}\n -> {{(tenantSubscription?.ended_at | date:'mediumDate') ?? 'NA' }}</span>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"package\">\n <th mat-header-cell *matHeaderCellDef> Package </th>\n <td mat-cell *matCellDef=\"let tenantSubscription\">\n <div>{{tenantSubscription?.package?.title }}</div>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"status\">\n <th mat-header-cell *matHeaderCellDef> Status </th>\n <td mat-cell *matCellDef=\"let tenantSubscription\">\n <div>{{tenantSubscription?.status?.title }}</div>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"cost_per_unit\">\n <th mat-header-cell *matHeaderCellDef> Cost/Units </th>\n <td mat-cell *matCellDef=\"let tenantSubscription\">\n <div>{{tenantSubscription?.cost_per_unit | currency:'USD':'symbol':'1.0-2' }}</div>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"units\">\n <th mat-header-cell *matHeaderCellDef> Units </th>\n <td mat-cell *matCellDef=\"let tenantSubscription\">\n <div>{{tenantSubscription?.units | number}}</div>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"is_unit_limitation_enforced\">\n <th mat-header-cell *matHeaderCellDef> Is Units Limited </th>\n <td mat-cell *matCellDef=\"let tenantSubscription\">\n <div>{{tenantSubscription?.is_unit_limitation_enforced ? 'Yes' : 'No' }}</div>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"total\">\n <th mat-header-cell *matHeaderCellDef> Total Cost </th>\n <td mat-cell *matCellDef=\"let tenantSubscription\">\n <div>{{tenantSubscription?.total | currency:'USD':'symbol':'1.0-2' }}</div>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"is_trail\">\n <th mat-header-cell *matHeaderCellDef> Is Trail</th>\n <td mat-cell *matCellDef=\"let tenantSubscription\">\n <div>\n <div>{{tenantSubscription?.is_trail ? 'Yes' : 'No' }}</div>\n <div *ngIf=\"tenantSubscription?.is_trail\"><span>{{tenantSubscription?.trail_started_at |\n date:'mediumDate' }} -> {{tenantSubscription?.trail_ended_at | date:'mediumDate'\n }}</span></div>\n </div>\n </td>\n </ng-container>\n\n\n <ng-container matColumnDef=\"actions\">\n <th mat-header-cell *matHeaderCellDef> Actions </th>\n <td mat-cell *matCellDef=\"let tenantSubscription\">\n <div class=\"text-secondary d-flex\">\n <div *ngIf=\"tenantSubscription?.creator_id\">\n <app-subscription-form *ngIf=\"tenantSubscription.status_id == subscriptionStatus.ACTIVE\"\n (success)=\"reload()\" [tenantSubscriptionInfo]=\"tenantSubscription\"\n [subscriptionPackage]=\"subscriptionPackage\"></app-subscription-form>\n <button *ngIf=\"tenantSubscription.status_id == subscriptionStatus.ACTIVE\"\n matTooltip=\"Cancel Subscription\" type=\"button\" mat-icon-button\n (click)=\"cancel(tenantSubscription)\">\n <mat-icon>cancel</mat-icon>\n </button>\n </div>\n </div>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns;\"></tr>\n </table>\n <mat-progress-bar mode=\"indeterminate\" *ngIf=\"isWorking\"></mat-progress-bar>\n </mat-card>\n</div>",
|
|
27679
27653
|
styles: [".add-icon{position:relative;top:5px}.add-icon:hover{cursor:pointer}\n"],
|
|
27680
27654
|
dependencies: [
|
|
27681
27655
|
{
|
|
@@ -27784,7 +27758,7 @@ let SubscriptionListingComponent = class SubscriptionListingComponent extends Te
|
|
|
27784
27758
|
},
|
|
27785
27759
|
{
|
|
27786
27760
|
kind: "directive",
|
|
27787
|
-
type: i12$
|
|
27761
|
+
type: i12$1.MatInput,
|
|
27788
27762
|
selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",
|
|
27789
27763
|
inputs: [
|
|
27790
27764
|
"disabled",
|
|
@@ -27803,7 +27777,7 @@ let SubscriptionListingComponent = class SubscriptionListingComponent extends Te
|
|
|
27803
27777
|
},
|
|
27804
27778
|
{
|
|
27805
27779
|
kind: "component",
|
|
27806
|
-
type: i11.MatSelect,
|
|
27780
|
+
type: i11$1.MatSelect,
|
|
27807
27781
|
selector: "mat-select",
|
|
27808
27782
|
inputs: [
|
|
27809
27783
|
"aria-describedby",
|
|
@@ -28002,6 +27976,7 @@ let SubscriptionListingComponent = class SubscriptionListingComponent extends Te
|
|
|
28002
27976
|
"inDataSearch",
|
|
28003
27977
|
"panelWidth",
|
|
28004
27978
|
"focusSearchOnOpen",
|
|
27979
|
+
"isShowClose",
|
|
28005
27980
|
"isEmitInitialEvent",
|
|
28006
27981
|
"required",
|
|
28007
27982
|
"disabled",
|
|
@@ -28014,6 +27989,11 @@ let SubscriptionListingComponent = class SubscriptionListingComponent extends Te
|
|
|
28014
27989
|
"isItemsEmpty"
|
|
28015
27990
|
]
|
|
28016
27991
|
},
|
|
27992
|
+
{
|
|
27993
|
+
kind: "component",
|
|
27994
|
+
type: TechlifyCloseButtonComponent,
|
|
27995
|
+
selector: "app-techlify-close-button"
|
|
27996
|
+
},
|
|
28017
27997
|
{
|
|
28018
27998
|
kind: "component",
|
|
28019
27999
|
type: TimelineFilterComponent,
|
|
@@ -28076,7 +28056,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
28076
28056
|
selector: "app-subscription-listing",
|
|
28077
28057
|
changeDetection: ChangeDetectionStrategy.Eager,
|
|
28078
28058
|
standalone: false,
|
|
28079
|
-
template: "<div class=\"m-2 d-flex flex-column\">\n <mat-card appearance=\"outlined\" class=\"d-flex gap-2 justify-content-start align-items-center\">\n <div class=\"d-flex justify-content-start align-items-center\">\n <h5 class=\"m-0\">{{subscriptionPackage?'Package':'Tenant'}} Subscriptions</h5>\n <app-subscription-form (success)=\"reload()\"\n [subscriptionPackage]=\"subscriptionPackage\"></app-subscription-form>\n </div>\n <div class=\"flex-fill\">\n </div>\n <form [formGroup]=\"filterForm\" class=\"d-print-none d-flex justify-content-start align-items-start gap-2\">\n <mat-form-field appearance=\"outline\" class=\" fl-md\">\n <mat-label>Search</mat-label>\n <input type=\"text\" matInput formControlName=\"search\" placeholder=\"Search Tenant, Details\"\n autocomplete=\"off\" />\n <button *ngIf=\"filterForm.get('search').value\" matSuffix
|
|
28059
|
+
template: "<div class=\"m-2 d-flex flex-column\">\n <mat-card appearance=\"outlined\" class=\"d-flex gap-2 justify-content-start align-items-center\">\n <div class=\"d-flex justify-content-start align-items-center\">\n <h5 class=\"m-0\">{{subscriptionPackage?'Package':'Tenant'}} Subscriptions</h5>\n <app-subscription-form (success)=\"reload()\"\n [subscriptionPackage]=\"subscriptionPackage\"></app-subscription-form>\n </div>\n <div class=\"flex-fill\">\n </div>\n <form [formGroup]=\"filterForm\" class=\"d-print-none d-flex justify-content-start align-items-start gap-2\">\n <mat-form-field appearance=\"outline\" class=\" fl-md\">\n <mat-label>Search</mat-label>\n <input type=\"text\" matInput formControlName=\"search\" placeholder=\"Search Tenant, Details\"\n autocomplete=\"off\" />\n <app-techlify-close-button *ngIf=\"filterForm.get('search').value\" matSuffix\n (click)=\"resetFilter('search')\"></app-techlify-close-button>\n </mat-form-field>\n\n\n <mat-form-field class=\" fl-sm\" appearance=\"outline\" *ngIf=\"!subscriptionPackage\">\n <mat-label>Package</mat-label>\n <app-searchable-selector formControlName=\"package_ids\" apiUrl=\"api/subscription-packages\"\n [multiple]=\"true\">\n </app-searchable-selector>\n <button mat-icon-button matSuffix type=\"button\" *ngIf=\"filterForm.get('package_ids').value\"\n (click)=\"resetFilter('package_ids')\">\n <mat-icon>clear</mat-icon>\n </button>\n </mat-form-field>\n\n <app-timeline-filter [showClearButton]=\"true\" [form]=\"filterForm\" appearance=\"outline\"\n formControlName=\"date_period_id\" labelText=\"Start\">\n </app-timeline-filter>\n\n <mat-form-field class=\"fl-sm\" appearance=\"outline\">\n <mat-label>Status</mat-label>\n <mat-select formControlName=\"status_ids\" multiple>\n <mat-option [value]=\"1\">Active</mat-option>\n <mat-option [value]=\"2\">Inactive</mat-option>\n </mat-select>\n <button mat-icon-button matSuffix type=\"button\" *ngIf=\"filterForm.get('status_ids').value\"\n (click)=\"resetFilter('status_ids')\">\n <mat-icon>clear</mat-icon>\n </button>\n </mat-form-field>\n\n </form>\n </mat-card>\n <mat-card appearance=\"outlined\" class=\"p-0 mt-2\">\n <table mat-table matSort [dataSource]=\"models\" class=\"w-100\" infiniteScroll [infiniteScrollDistance]=\"2\"\n [infiniteScrollThrottle]=\"50\" (scrolled)=\"onScroll()\" (matSortChange)=\"sortColumn($event)\">\n\n <ng-container matColumnDef=\"index\">\n <th mat-header-cell *matHeaderCellDef> # </th>\n <td mat-cell *matCellDef=\"let tenantSubscription; let i = index\"> {{ i+1 }} </td>\n </ng-container>\n\n <ng-container matColumnDef=\"tenant\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header disableClear> Tenant </th>\n <td mat-cell *matCellDef=\"let tenantSubscription\">\n <div>\n <div>{{tenantSubscription?.tenant?.name }}</div>\n <div><span>{{tenantSubscription?.tenant?.phone }}</span> <span> |\n {{tenantSubscription?.tenant?.email }}</span></div>\n </div>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"period\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header disableClear> Period </th>\n <td mat-cell *matCellDef=\"let tenantSubscription\">\n <span *ngIf=\"tenantSubscription?.started_at\">{{tenantSubscription?.started_at | date:'mediumDate' }}\n -> {{(tenantSubscription?.ended_at | date:'mediumDate') ?? 'NA' }}</span>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"package\">\n <th mat-header-cell *matHeaderCellDef> Package </th>\n <td mat-cell *matCellDef=\"let tenantSubscription\">\n <div>{{tenantSubscription?.package?.title }}</div>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"status\">\n <th mat-header-cell *matHeaderCellDef> Status </th>\n <td mat-cell *matCellDef=\"let tenantSubscription\">\n <div>{{tenantSubscription?.status?.title }}</div>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"cost_per_unit\">\n <th mat-header-cell *matHeaderCellDef> Cost/Units </th>\n <td mat-cell *matCellDef=\"let tenantSubscription\">\n <div>{{tenantSubscription?.cost_per_unit | currency:'USD':'symbol':'1.0-2' }}</div>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"units\">\n <th mat-header-cell *matHeaderCellDef> Units </th>\n <td mat-cell *matCellDef=\"let tenantSubscription\">\n <div>{{tenantSubscription?.units | number}}</div>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"is_unit_limitation_enforced\">\n <th mat-header-cell *matHeaderCellDef> Is Units Limited </th>\n <td mat-cell *matCellDef=\"let tenantSubscription\">\n <div>{{tenantSubscription?.is_unit_limitation_enforced ? 'Yes' : 'No' }}</div>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"total\">\n <th mat-header-cell *matHeaderCellDef> Total Cost </th>\n <td mat-cell *matCellDef=\"let tenantSubscription\">\n <div>{{tenantSubscription?.total | currency:'USD':'symbol':'1.0-2' }}</div>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"is_trail\">\n <th mat-header-cell *matHeaderCellDef> Is Trail</th>\n <td mat-cell *matCellDef=\"let tenantSubscription\">\n <div>\n <div>{{tenantSubscription?.is_trail ? 'Yes' : 'No' }}</div>\n <div *ngIf=\"tenantSubscription?.is_trail\"><span>{{tenantSubscription?.trail_started_at |\n date:'mediumDate' }} -> {{tenantSubscription?.trail_ended_at | date:'mediumDate'\n }}</span></div>\n </div>\n </td>\n </ng-container>\n\n\n <ng-container matColumnDef=\"actions\">\n <th mat-header-cell *matHeaderCellDef> Actions </th>\n <td mat-cell *matCellDef=\"let tenantSubscription\">\n <div class=\"text-secondary d-flex\">\n <div *ngIf=\"tenantSubscription?.creator_id\">\n <app-subscription-form *ngIf=\"tenantSubscription.status_id == subscriptionStatus.ACTIVE\"\n (success)=\"reload()\" [tenantSubscriptionInfo]=\"tenantSubscription\"\n [subscriptionPackage]=\"subscriptionPackage\"></app-subscription-form>\n <button *ngIf=\"tenantSubscription.status_id == subscriptionStatus.ACTIVE\"\n matTooltip=\"Cancel Subscription\" type=\"button\" mat-icon-button\n (click)=\"cancel(tenantSubscription)\">\n <mat-icon>cancel</mat-icon>\n </button>\n </div>\n </div>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns;\"></tr>\n </table>\n <mat-progress-bar mode=\"indeterminate\" *ngIf=\"isWorking\"></mat-progress-bar>\n </mat-card>\n</div>",
|
|
28080
28060
|
styles: [".add-icon{position:relative;top:5px}.add-icon:hover{cursor:pointer}\n"]
|
|
28081
28061
|
}]
|
|
28082
28062
|
}],
|
|
@@ -28332,7 +28312,7 @@ let SubscriptionPackageListingComponent = class SubscriptionPackageListingCompon
|
|
|
28332
28312
|
selector: "app-subscription-package-listing",
|
|
28333
28313
|
usesInheritance: true,
|
|
28334
28314
|
ngImport: i0,
|
|
28335
|
-
template: "<div class=\"m-2 d-flex flex-column\">\n <mat-card appearance=\"outlined\" class=\"d-flex gap-2 justify-content-start align-items-center\">\n <h5 class=\"m-0\">Subscription Packages</h5>\n <span class=\"flex-fill\"></span>\n <form [formGroup]=\"filterFormGroup\" class=\"filter-form d-flex\">\n <mat-form-field appearance=\"outline\" class=\"nil-subscript-wrappe fl-md\">\n <mat-label>Search</mat-label>\n <input type=\"text\" matInput formControlName=\"search\" placeholder=\"Search..\" name=\"search\"\n autocomplete=\"off\" />\n <button *ngIf=\"filterFormGroup.get('search').value\" matSuffix
|
|
28315
|
+
template: "<div class=\"m-2 d-flex flex-column\">\n <mat-card appearance=\"outlined\" class=\"d-flex gap-2 justify-content-start align-items-center\">\n <h5 class=\"m-0\">Subscription Packages</h5>\n <span class=\"flex-fill\"></span>\n <form [formGroup]=\"filterFormGroup\" class=\"filter-form d-flex\">\n <mat-form-field appearance=\"outline\" class=\"nil-subscript-wrappe fl-md\">\n <mat-label>Search</mat-label>\n <input type=\"text\" matInput formControlName=\"search\" placeholder=\"Search..\" name=\"search\"\n autocomplete=\"off\" />\n <app-techlify-close-button *ngIf=\"filterFormGroup.get('search').value\" matSuffix\n (click)=\"filterFormGroup.get('search').setValue('')\"></app-techlify-close-button>\n </mat-form-field>\n </form>\n </mat-card>\n <mat-card appearance=\"outlined\" class=\"p-0 mt-2\">\n <table mat-table matSort [dataSource]=\"models\" class=\"w-100\" infiniteScroll [infiniteScrollDistance]=\"2\"\n [infiniteScrollThrottle]=\"50\" (scrolled)=\"onScroll()\" (matSortChange)=\"sortColumn($event)\">\n\n <ng-container matColumnDef=\"index\">\n <th mat-header-cell *matHeaderCellDef> # </th>\n <td mat-cell *matCellDef=\"let subscriptionPackage; let i = index\"> {{ i+1 }} </td>\n </ng-container>\n\n <ng-container matColumnDef=\"title\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header disableClear> Title </th>\n <td mat-cell *matCellDef=\"let subscriptionPackage\">\n <span>{{subscriptionPackage?.title }}</span>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"code\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header disableClear> Code </th>\n <td mat-cell *matCellDef=\"let subscriptionPackage\">\n <span>{{subscriptionPackage?.code }}</span>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"description\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header disableClear class=\"w-description\"> Description\n </th>\n <td mat-cell *matCellDef=\"let subscriptionPackage\">\n <span>{{subscriptionPackage?.description }}</span>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"tenants_count\">\n <th mat-header-cell *matHeaderCellDef> Tenants </th>\n <td mat-cell *matCellDef=\"let subscriptionPackage\">\n <span>{{subscriptionPackage?.tenants_count ?? 0 }} tenants</span>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"actions\">\n <th mat-header-cell *matHeaderCellDef> Actions </th>\n <td mat-cell *matCellDef=\"let subscriptionPackage\">\n <div class=\"text-secondary d-flex justify-content-start align-items-center\">\n <app-techlify-icon name=\"view\" class=\"clickable\" matTooltip=\"View\"\n (click)=\"navigateToView(subscriptionPackage)\"></app-techlify-icon>\n <mat-slide-toggle style=\"transform: scale(0.8);\" [checked]=\"subscriptionPackage?.is_enabled\"\n color=\"primary\" (change)=\"confirmToggle($event,subscriptionPackage)\">Is Enabled\n </mat-slide-toggle>\n </div>\n </td>\n </ng-container>\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns;\"></tr>\n </table>\n <mat-progress-bar mode=\"indeterminate\" *ngIf=\"isWorking\"></mat-progress-bar>\n </mat-card>\n</div>",
|
|
28336
28316
|
styles: [""],
|
|
28337
28317
|
dependencies: [
|
|
28338
28318
|
{
|
|
@@ -28383,12 +28363,6 @@ let SubscriptionPackageListingComponent = class SubscriptionPackageListingCompon
|
|
|
28383
28363
|
],
|
|
28384
28364
|
outputs: ["scrolled", "scrolledUp"]
|
|
28385
28365
|
},
|
|
28386
|
-
{
|
|
28387
|
-
kind: "component",
|
|
28388
|
-
type: i3$1.MatIconButton,
|
|
28389
|
-
selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]",
|
|
28390
|
-
exportAs: ["matButton", "matAnchor"]
|
|
28391
|
-
},
|
|
28392
28366
|
{
|
|
28393
28367
|
kind: "component",
|
|
28394
28368
|
type: i8$2.MatFormField,
|
|
@@ -28414,22 +28388,9 @@ let SubscriptionPackageListingComponent = class SubscriptionPackageListingCompon
|
|
|
28414
28388
|
selector: "[matSuffix], [matIconSuffix], [matTextSuffix]",
|
|
28415
28389
|
inputs: ["matTextSuffix"]
|
|
28416
28390
|
},
|
|
28417
|
-
{
|
|
28418
|
-
kind: "component",
|
|
28419
|
-
type: i5$2.MatIcon,
|
|
28420
|
-
selector: "mat-icon",
|
|
28421
|
-
inputs: [
|
|
28422
|
-
"color",
|
|
28423
|
-
"inline",
|
|
28424
|
-
"svgIcon",
|
|
28425
|
-
"fontSet",
|
|
28426
|
-
"fontIcon"
|
|
28427
|
-
],
|
|
28428
|
-
exportAs: ["matIcon"]
|
|
28429
|
-
},
|
|
28430
28391
|
{
|
|
28431
28392
|
kind: "directive",
|
|
28432
|
-
type: i12$
|
|
28393
|
+
type: i12$1.MatInput,
|
|
28433
28394
|
selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",
|
|
28434
28395
|
inputs: [
|
|
28435
28396
|
"disabled",
|
|
@@ -28609,6 +28570,11 @@ let SubscriptionPackageListingComponent = class SubscriptionPackageListingCompon
|
|
|
28609
28570
|
],
|
|
28610
28571
|
outputs: ["ngModelChange"]
|
|
28611
28572
|
},
|
|
28573
|
+
{
|
|
28574
|
+
kind: "component",
|
|
28575
|
+
type: TechlifyCloseButtonComponent,
|
|
28576
|
+
selector: "app-techlify-close-button"
|
|
28577
|
+
},
|
|
28612
28578
|
{
|
|
28613
28579
|
kind: "component",
|
|
28614
28580
|
type: TechlifyIconComponent,
|
|
@@ -28632,7 +28598,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
28632
28598
|
selector: "app-subscription-package-listing",
|
|
28633
28599
|
changeDetection: ChangeDetectionStrategy.Eager,
|
|
28634
28600
|
standalone: false,
|
|
28635
|
-
template: "<div class=\"m-2 d-flex flex-column\">\n <mat-card appearance=\"outlined\" class=\"d-flex gap-2 justify-content-start align-items-center\">\n <h5 class=\"m-0\">Subscription Packages</h5>\n <span class=\"flex-fill\"></span>\n <form [formGroup]=\"filterFormGroup\" class=\"filter-form d-flex\">\n <mat-form-field appearance=\"outline\" class=\"nil-subscript-wrappe fl-md\">\n <mat-label>Search</mat-label>\n <input type=\"text\" matInput formControlName=\"search\" placeholder=\"Search..\" name=\"search\"\n autocomplete=\"off\" />\n <button *ngIf=\"filterFormGroup.get('search').value\" matSuffix
|
|
28601
|
+
template: "<div class=\"m-2 d-flex flex-column\">\n <mat-card appearance=\"outlined\" class=\"d-flex gap-2 justify-content-start align-items-center\">\n <h5 class=\"m-0\">Subscription Packages</h5>\n <span class=\"flex-fill\"></span>\n <form [formGroup]=\"filterFormGroup\" class=\"filter-form d-flex\">\n <mat-form-field appearance=\"outline\" class=\"nil-subscript-wrappe fl-md\">\n <mat-label>Search</mat-label>\n <input type=\"text\" matInput formControlName=\"search\" placeholder=\"Search..\" name=\"search\"\n autocomplete=\"off\" />\n <app-techlify-close-button *ngIf=\"filterFormGroup.get('search').value\" matSuffix\n (click)=\"filterFormGroup.get('search').setValue('')\"></app-techlify-close-button>\n </mat-form-field>\n </form>\n </mat-card>\n <mat-card appearance=\"outlined\" class=\"p-0 mt-2\">\n <table mat-table matSort [dataSource]=\"models\" class=\"w-100\" infiniteScroll [infiniteScrollDistance]=\"2\"\n [infiniteScrollThrottle]=\"50\" (scrolled)=\"onScroll()\" (matSortChange)=\"sortColumn($event)\">\n\n <ng-container matColumnDef=\"index\">\n <th mat-header-cell *matHeaderCellDef> # </th>\n <td mat-cell *matCellDef=\"let subscriptionPackage; let i = index\"> {{ i+1 }} </td>\n </ng-container>\n\n <ng-container matColumnDef=\"title\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header disableClear> Title </th>\n <td mat-cell *matCellDef=\"let subscriptionPackage\">\n <span>{{subscriptionPackage?.title }}</span>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"code\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header disableClear> Code </th>\n <td mat-cell *matCellDef=\"let subscriptionPackage\">\n <span>{{subscriptionPackage?.code }}</span>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"description\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header disableClear class=\"w-description\"> Description\n </th>\n <td mat-cell *matCellDef=\"let subscriptionPackage\">\n <span>{{subscriptionPackage?.description }}</span>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"tenants_count\">\n <th mat-header-cell *matHeaderCellDef> Tenants </th>\n <td mat-cell *matCellDef=\"let subscriptionPackage\">\n <span>{{subscriptionPackage?.tenants_count ?? 0 }} tenants</span>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"actions\">\n <th mat-header-cell *matHeaderCellDef> Actions </th>\n <td mat-cell *matCellDef=\"let subscriptionPackage\">\n <div class=\"text-secondary d-flex justify-content-start align-items-center\">\n <app-techlify-icon name=\"view\" class=\"clickable\" matTooltip=\"View\"\n (click)=\"navigateToView(subscriptionPackage)\"></app-techlify-icon>\n <mat-slide-toggle style=\"transform: scale(0.8);\" [checked]=\"subscriptionPackage?.is_enabled\"\n color=\"primary\" (change)=\"confirmToggle($event,subscriptionPackage)\">Is Enabled\n </mat-slide-toggle>\n </div>\n </td>\n </ng-container>\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns;\"></tr>\n </table>\n <mat-progress-bar mode=\"indeterminate\" *ngIf=\"isWorking\"></mat-progress-bar>\n </mat-card>\n</div>"
|
|
28636
28602
|
}]
|
|
28637
28603
|
}],
|
|
28638
28604
|
ctorParameters: () => [
|
|
@@ -29228,7 +29194,7 @@ var TimelineActivityListComponent = class TimelineActivityListComponent extends
|
|
|
29228
29194
|
},
|
|
29229
29195
|
{
|
|
29230
29196
|
kind: "directive",
|
|
29231
|
-
type: i12$
|
|
29197
|
+
type: i12$1.MatInput,
|
|
29232
29198
|
selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",
|
|
29233
29199
|
inputs: [
|
|
29234
29200
|
"disabled",
|
|
@@ -29744,7 +29710,7 @@ var FormConfigurationFieldFormComponent = class FormConfigurationFieldFormCompon
|
|
|
29744
29710
|
isStandalone: false,
|
|
29745
29711
|
selector: "app-form-configuration-field-form",
|
|
29746
29712
|
ngImport: i0,
|
|
29747
|
-
template: "<div class=\"mt-2 container d-flex flex-column gap-2\">\n <mat-card appearance=\"outlined\" class=\"p-0\">\n <mat-progress-bar mode=\"indeterminate\" *ngIf=\"isWorking\"></mat-progress-bar>\n <h5 class=\"p-4\">\n Form Configuration: {{formConfiguration?.form_name}}\n </h5>\n <div
|
|
29713
|
+
template: "<div class=\"mt-2 container d-flex flex-column gap-2\">\n <mat-card appearance=\"outlined\" class=\"p-0\">\n <mat-progress-bar mode=\"indeterminate\" *ngIf=\"isWorking\"></mat-progress-bar>\n <h5 class=\"p-4 mb-0\">\n Form Configuration: {{formConfiguration?.form_name}}\n </h5>\n <div class=\"px-4 pb-3\">\n <div class=\"row py-2 border-bottom fw-semibold text-muted small\">\n <div class=\"col\">Field</div>\n <div class=\"col-3 col-md-2 text-center\">Is Required</div>\n <div class=\"col-3 col-md-2 text-center\">Is Enabled</div>\n </div>\n <div *ngFor=\"let field of formConfiguration?.fields\" class=\"row py-2 border-bottom align-items-center\">\n <div class=\"col text-break\">\n {{field?.description}}\n </div>\n <div class=\"col-3 col-md-2 text-center\">\n <mat-slide-toggle [checked]=\"field?.is_required\" color=\"primary\" aria-label=\"Is Required\"\n (change)=\"updateField('is_required',field,$event)\"\n [disabled]=\"field?.is_working || !field?.is_enabled\"></mat-slide-toggle>\n </div>\n <div class=\"col-3 col-md-2 text-center\">\n <mat-slide-toggle [checked]=\"field?.is_enabled\" color=\"primary\" aria-label=\"Is Enabled\"\n (change)=\"updateField('is_enabled',field,$event)\" [disabled]=\"field?.is_working\"></mat-slide-toggle>\n </div>\n </div>\n </div>\n </mat-card>\n</div>\n",
|
|
29748
29714
|
styles: [""],
|
|
29749
29715
|
dependencies: [
|
|
29750
29716
|
{
|
|
@@ -29827,7 +29793,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
29827
29793
|
selector: "app-form-configuration-field-form",
|
|
29828
29794
|
changeDetection: ChangeDetectionStrategy.Eager,
|
|
29829
29795
|
standalone: false,
|
|
29830
|
-
template: "<div class=\"mt-2 container d-flex flex-column gap-2\">\n <mat-card appearance=\"outlined\" class=\"p-0\">\n <mat-progress-bar mode=\"indeterminate\" *ngIf=\"isWorking\"></mat-progress-bar>\n <h5 class=\"p-4\">\n Form Configuration: {{formConfiguration?.form_name}}\n </h5>\n <div
|
|
29796
|
+
template: "<div class=\"mt-2 container d-flex flex-column gap-2\">\n <mat-card appearance=\"outlined\" class=\"p-0\">\n <mat-progress-bar mode=\"indeterminate\" *ngIf=\"isWorking\"></mat-progress-bar>\n <h5 class=\"p-4 mb-0\">\n Form Configuration: {{formConfiguration?.form_name}}\n </h5>\n <div class=\"px-4 pb-3\">\n <div class=\"row py-2 border-bottom fw-semibold text-muted small\">\n <div class=\"col\">Field</div>\n <div class=\"col-3 col-md-2 text-center\">Is Required</div>\n <div class=\"col-3 col-md-2 text-center\">Is Enabled</div>\n </div>\n <div *ngFor=\"let field of formConfiguration?.fields\" class=\"row py-2 border-bottom align-items-center\">\n <div class=\"col text-break\">\n {{field?.description}}\n </div>\n <div class=\"col-3 col-md-2 text-center\">\n <mat-slide-toggle [checked]=\"field?.is_required\" color=\"primary\" aria-label=\"Is Required\"\n (change)=\"updateField('is_required',field,$event)\"\n [disabled]=\"field?.is_working || !field?.is_enabled\"></mat-slide-toggle>\n </div>\n <div class=\"col-3 col-md-2 text-center\">\n <mat-slide-toggle [checked]=\"field?.is_enabled\" color=\"primary\" aria-label=\"Is Enabled\"\n (change)=\"updateField('is_enabled',field,$event)\" [disabled]=\"field?.is_working\"></mat-slide-toggle>\n </div>\n </div>\n </div>\n </mat-card>\n</div>\n"
|
|
29831
29797
|
}]
|
|
29832
29798
|
}],
|
|
29833
29799
|
ctorParameters: () => [
|
|
@@ -30124,7 +30090,7 @@ var LockedDateFormComponent = class LockedDateFormComponent extends TechlifyForm
|
|
|
30124
30090
|
},
|
|
30125
30091
|
{
|
|
30126
30092
|
kind: "directive",
|
|
30127
|
-
type: i12$
|
|
30093
|
+
type: i12$1.MatInput,
|
|
30128
30094
|
selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",
|
|
30129
30095
|
inputs: [
|
|
30130
30096
|
"disabled",
|
|
@@ -30945,7 +30911,7 @@ var TechlifyViewFormComponent = class TechlifyViewFormComponent extends Techlify
|
|
|
30945
30911
|
},
|
|
30946
30912
|
{
|
|
30947
30913
|
kind: "directive",
|
|
30948
|
-
type: i12$
|
|
30914
|
+
type: i12$1.MatInput,
|
|
30949
30915
|
selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",
|
|
30950
30916
|
inputs: [
|
|
30951
30917
|
"disabled",
|
|
@@ -31164,7 +31130,7 @@ var MyTechlifyViewListingComponent = class MyTechlifyViewListingComponent extend
|
|
|
31164
31130
|
},
|
|
31165
31131
|
{
|
|
31166
31132
|
kind: "component",
|
|
31167
|
-
type: i12
|
|
31133
|
+
type: i12.MatDivider,
|
|
31168
31134
|
selector: "mat-divider",
|
|
31169
31135
|
inputs: ["vertical", "inset"]
|
|
31170
31136
|
},
|
|
@@ -31526,7 +31492,7 @@ var TechlifyTaggerTagFormComponent = class TechlifyTaggerTagFormComponent extend
|
|
|
31526
31492
|
},
|
|
31527
31493
|
{
|
|
31528
31494
|
kind: "directive",
|
|
31529
|
-
type: i12$
|
|
31495
|
+
type: i12$1.MatInput,
|
|
31530
31496
|
selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",
|
|
31531
31497
|
inputs: [
|
|
31532
31498
|
"disabled",
|
|
@@ -31618,6 +31584,7 @@ var TechlifyTaggerTagFormComponent = class TechlifyTaggerTagFormComponent extend
|
|
|
31618
31584
|
"inDataSearch",
|
|
31619
31585
|
"panelWidth",
|
|
31620
31586
|
"focusSearchOnOpen",
|
|
31587
|
+
"isShowClose",
|
|
31621
31588
|
"isEmitInitialEvent",
|
|
31622
31589
|
"required",
|
|
31623
31590
|
"disabled",
|
|
@@ -31708,7 +31675,7 @@ var TechlifyTaggerTagListComponent = class TechlifyTaggerTagListComponent extend
|
|
|
31708
31675
|
selector: "app-techlify-tagger-tag-list",
|
|
31709
31676
|
usesInheritance: true,
|
|
31710
31677
|
ngImport: i0,
|
|
31711
|
-
template: "<div class=\"d-flex flex-column gap-2\">\n <mat-card>\n <mat-card-content class=\"d-flex flex-row justify-content-between align-items-center\">\n <div class=\"d-flex flex-row align-items-center gap-2\">\n <h5 class=\"mb-0\">Tags</h5>\n <app-techlify-tagger-tag-form (success)=\"modelCreated($event)\"\n *ngxPermissionsOnly=\"['tag.create']\"></app-techlify-tagger-tag-form>\n </div>\n <div class=\"d-flex flex-row gap-2\" [formGroup]=\"filterForm\">\n <mat-form-field class=\"fl-md\">\n <mat-label>Search Tags</mat-label>\n <input type=\"text\" matInput formControlName=\"search\" placeholder=\"Search records\" name=\"search\"\n autocomplete=\"off\" />\n <button *ngIf=\"filterForm.get('search').value\" matSuffix
|
|
31678
|
+
template: "<div class=\"d-flex flex-column gap-2\">\n <mat-card>\n <mat-card-content class=\"d-flex flex-row justify-content-between align-items-center\">\n <div class=\"d-flex flex-row align-items-center gap-2\">\n <h5 class=\"mb-0\">Tags</h5>\n <app-techlify-tagger-tag-form (success)=\"modelCreated($event)\"\n *ngxPermissionsOnly=\"['tag.create']\"></app-techlify-tagger-tag-form>\n </div>\n <div class=\"d-flex flex-row gap-2\" [formGroup]=\"filterForm\">\n <mat-form-field class=\"fl-md\">\n <mat-label>Search Tags</mat-label>\n <input type=\"text\" matInput formControlName=\"search\" placeholder=\"Search records\" name=\"search\"\n autocomplete=\"off\" />\n <app-techlify-close-button *ngIf=\"filterForm.get('search').value\" matSuffix\n (click)=\"filterForm.get('search').setValue('')\"></app-techlify-close-button>\n </mat-form-field>\n <mat-form-field class='fl-sm'>\n <mat-label>Category</mat-label>\n <app-searchable-selector formControlName=\"category_ids\" apiUrl=\"api/techlify-tagger-categories\"\n [multiple]=\"true\">\n </app-searchable-selector>\n </mat-form-field>\n </div>\n </mat-card-content>\n </mat-card>\n\n <mat-card>\n <mat-card-content>\n <table mat-table matSort [dataSource]=\"models\" class=\"w-100\" infiniteScroll [infiniteScrollDistance]=\"2\"\n [infiniteScrollThrottle]=\"50\" (scrolled)=\"onScroll()\" (matSortChange)=\"sortColumn($event)\">\n\n\n <!-- Index Column -->\n <ng-container matColumnDef=\"index\">\n <th mat-header-cell *matHeaderCellDef> # </th>\n <td mat-cell *matCellDef=\"let element; let i = index\"> {{ i+1}} </td>\n </ng-container>\n\n <!-- Title Column -->\n <ng-container matColumnDef=\"title\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header disableClear> Title </th>\n <td mat-cell *matCellDef=\"let element\"> {{element.title}}\n <div *ngIf=\"element?.description\" class=\"text-secondary\">\n <small>{{element?.description}}</small>\n </div>\n </td>\n </ng-container>\n\n <!-- Category Column -->\n <ng-container matColumnDef=\"category\">\n <th mat-header-cell *matHeaderCellDef> Category </th>\n <td mat-cell *matCellDef=\"let element\"> {{element.category?.title}}\n <div *ngIf=\"element?.category?.description\" class=\"text-secondary\">\n <small>{{element?.category?.description}}</small>\n </div>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"tagged_count\">\n <th mat-header-cell *matHeaderCellDef> Tagged </th>\n <td mat-cell *matCellDef=\"let element\">\n <span *ngIf=\"element?.tagged_count\">{{element.tagged_count}}\n records\n </span>\n </td>\n </ng-container>\n\n <!-- Creator Column -->\n <ng-container matColumnDef=\"creator\">\n <th mat-header-cell *matHeaderCellDef> Creator </th>\n <td mat-cell *matCellDef=\"let element\">\n <div>{{element.creator?.name}} </div>\n <div><small class=\"text-muted\">on {{element.created_at | date: 'mediumDate'}} </small></div>\n </td>\n </ng-container>\n\n <!-- Actions Column -->\n <ng-container matColumnDef=\"actions\">\n <th mat-header-cell *matHeaderCellDef> Actions </th>\n <td mat-cell *matCellDef=\"let element; let i = dataIndex\" class=\"text-secondary\">\n <app-audit-log-for-model modelType=\"TechlifyTaggerTag\" [modelId]=\"element?.id\" logView=\"all\"\n [isIconView]=\"true\">\n </app-audit-log-for-model>\n\n <app-techlify-tagger-tag-form (success)=\"modelsUpdatedById($event)\" [tagInfo]=\"element\"\n *ngxPermissionsOnly=\"['tag.update']\" class=\"ms-1\"></app-techlify-tagger-tag-form>\n\n <ng-container *ngIf=\"!element?.tagged_count\">\n <app-techlify-delete-button *ngxPermissionsOnly=\"['tag.delete']\" class='text-secondary ms-1'\n [model]=\"element\" [service]=\"tagService\"\n message=\"Deleting this tag cannot be undone. Are you sure you want to continue?\"\n (deleted)=\"modelsDeletedById(element)\">\n </app-techlify-delete-button>\n </ng-container>\n </td>\n </ng-container>\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns;\"></tr>\n </table>\n\n <mat-progress-bar mode=\"indeterminate\" *ngIf=\"isWorking\"></mat-progress-bar>\n </mat-card-content>\n </mat-card>\n</div>\n",
|
|
31712
31679
|
styles: [""],
|
|
31713
31680
|
dependencies: [
|
|
31714
31681
|
{
|
|
@@ -31758,12 +31725,6 @@ var TechlifyTaggerTagListComponent = class TechlifyTaggerTagListComponent extend
|
|
|
31758
31725
|
],
|
|
31759
31726
|
outputs: ["scrolled", "scrolledUp"]
|
|
31760
31727
|
},
|
|
31761
|
-
{
|
|
31762
|
-
kind: "component",
|
|
31763
|
-
type: i3$1.MatIconButton,
|
|
31764
|
-
selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]",
|
|
31765
|
-
exportAs: ["matButton", "matAnchor"]
|
|
31766
|
-
},
|
|
31767
31728
|
{
|
|
31768
31729
|
kind: "component",
|
|
31769
31730
|
type: i8$2.MatFormField,
|
|
@@ -31789,22 +31750,9 @@ var TechlifyTaggerTagListComponent = class TechlifyTaggerTagListComponent extend
|
|
|
31789
31750
|
selector: "[matSuffix], [matIconSuffix], [matTextSuffix]",
|
|
31790
31751
|
inputs: ["matTextSuffix"]
|
|
31791
31752
|
},
|
|
31792
|
-
{
|
|
31793
|
-
kind: "component",
|
|
31794
|
-
type: i5$2.MatIcon,
|
|
31795
|
-
selector: "mat-icon",
|
|
31796
|
-
inputs: [
|
|
31797
|
-
"color",
|
|
31798
|
-
"inline",
|
|
31799
|
-
"svgIcon",
|
|
31800
|
-
"fontSet",
|
|
31801
|
-
"fontIcon"
|
|
31802
|
-
],
|
|
31803
|
-
exportAs: ["matIcon"]
|
|
31804
|
-
},
|
|
31805
31753
|
{
|
|
31806
31754
|
kind: "directive",
|
|
31807
|
-
type: i12$
|
|
31755
|
+
type: i12$1.MatInput,
|
|
31808
31756
|
selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",
|
|
31809
31757
|
inputs: [
|
|
31810
31758
|
"disabled",
|
|
@@ -31998,6 +31946,7 @@ var TechlifyTaggerTagListComponent = class TechlifyTaggerTagListComponent extend
|
|
|
31998
31946
|
"inDataSearch",
|
|
31999
31947
|
"panelWidth",
|
|
32000
31948
|
"focusSearchOnOpen",
|
|
31949
|
+
"isShowClose",
|
|
32001
31950
|
"isEmitInitialEvent",
|
|
32002
31951
|
"required",
|
|
32003
31952
|
"disabled",
|
|
@@ -32010,6 +31959,11 @@ var TechlifyTaggerTagListComponent = class TechlifyTaggerTagListComponent extend
|
|
|
32010
31959
|
"isItemsEmpty"
|
|
32011
31960
|
]
|
|
32012
31961
|
},
|
|
31962
|
+
{
|
|
31963
|
+
kind: "component",
|
|
31964
|
+
type: TechlifyCloseButtonComponent,
|
|
31965
|
+
selector: "app-techlify-close-button"
|
|
31966
|
+
},
|
|
32013
31967
|
{
|
|
32014
31968
|
kind: "component",
|
|
32015
31969
|
type: TechlifyDeleteButtonComponent,
|
|
@@ -32074,7 +32028,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
32074
32028
|
AuditLogForModelModule,
|
|
32075
32029
|
RouterModule
|
|
32076
32030
|
],
|
|
32077
|
-
template: "<div class=\"d-flex flex-column gap-2\">\n <mat-card>\n <mat-card-content class=\"d-flex flex-row justify-content-between align-items-center\">\n <div class=\"d-flex flex-row align-items-center gap-2\">\n <h5 class=\"mb-0\">Tags</h5>\n <app-techlify-tagger-tag-form (success)=\"modelCreated($event)\"\n *ngxPermissionsOnly=\"['tag.create']\"></app-techlify-tagger-tag-form>\n </div>\n <div class=\"d-flex flex-row gap-2\" [formGroup]=\"filterForm\">\n <mat-form-field class=\"fl-md\">\n <mat-label>Search Tags</mat-label>\n <input type=\"text\" matInput formControlName=\"search\" placeholder=\"Search records\" name=\"search\"\n autocomplete=\"off\" />\n <button *ngIf=\"filterForm.get('search').value\" matSuffix
|
|
32031
|
+
template: "<div class=\"d-flex flex-column gap-2\">\n <mat-card>\n <mat-card-content class=\"d-flex flex-row justify-content-between align-items-center\">\n <div class=\"d-flex flex-row align-items-center gap-2\">\n <h5 class=\"mb-0\">Tags</h5>\n <app-techlify-tagger-tag-form (success)=\"modelCreated($event)\"\n *ngxPermissionsOnly=\"['tag.create']\"></app-techlify-tagger-tag-form>\n </div>\n <div class=\"d-flex flex-row gap-2\" [formGroup]=\"filterForm\">\n <mat-form-field class=\"fl-md\">\n <mat-label>Search Tags</mat-label>\n <input type=\"text\" matInput formControlName=\"search\" placeholder=\"Search records\" name=\"search\"\n autocomplete=\"off\" />\n <app-techlify-close-button *ngIf=\"filterForm.get('search').value\" matSuffix\n (click)=\"filterForm.get('search').setValue('')\"></app-techlify-close-button>\n </mat-form-field>\n <mat-form-field class='fl-sm'>\n <mat-label>Category</mat-label>\n <app-searchable-selector formControlName=\"category_ids\" apiUrl=\"api/techlify-tagger-categories\"\n [multiple]=\"true\">\n </app-searchable-selector>\n </mat-form-field>\n </div>\n </mat-card-content>\n </mat-card>\n\n <mat-card>\n <mat-card-content>\n <table mat-table matSort [dataSource]=\"models\" class=\"w-100\" infiniteScroll [infiniteScrollDistance]=\"2\"\n [infiniteScrollThrottle]=\"50\" (scrolled)=\"onScroll()\" (matSortChange)=\"sortColumn($event)\">\n\n\n <!-- Index Column -->\n <ng-container matColumnDef=\"index\">\n <th mat-header-cell *matHeaderCellDef> # </th>\n <td mat-cell *matCellDef=\"let element; let i = index\"> {{ i+1}} </td>\n </ng-container>\n\n <!-- Title Column -->\n <ng-container matColumnDef=\"title\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header disableClear> Title </th>\n <td mat-cell *matCellDef=\"let element\"> {{element.title}}\n <div *ngIf=\"element?.description\" class=\"text-secondary\">\n <small>{{element?.description}}</small>\n </div>\n </td>\n </ng-container>\n\n <!-- Category Column -->\n <ng-container matColumnDef=\"category\">\n <th mat-header-cell *matHeaderCellDef> Category </th>\n <td mat-cell *matCellDef=\"let element\"> {{element.category?.title}}\n <div *ngIf=\"element?.category?.description\" class=\"text-secondary\">\n <small>{{element?.category?.description}}</small>\n </div>\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"tagged_count\">\n <th mat-header-cell *matHeaderCellDef> Tagged </th>\n <td mat-cell *matCellDef=\"let element\">\n <span *ngIf=\"element?.tagged_count\">{{element.tagged_count}}\n records\n </span>\n </td>\n </ng-container>\n\n <!-- Creator Column -->\n <ng-container matColumnDef=\"creator\">\n <th mat-header-cell *matHeaderCellDef> Creator </th>\n <td mat-cell *matCellDef=\"let element\">\n <div>{{element.creator?.name}} </div>\n <div><small class=\"text-muted\">on {{element.created_at | date: 'mediumDate'}} </small></div>\n </td>\n </ng-container>\n\n <!-- Actions Column -->\n <ng-container matColumnDef=\"actions\">\n <th mat-header-cell *matHeaderCellDef> Actions </th>\n <td mat-cell *matCellDef=\"let element; let i = dataIndex\" class=\"text-secondary\">\n <app-audit-log-for-model modelType=\"TechlifyTaggerTag\" [modelId]=\"element?.id\" logView=\"all\"\n [isIconView]=\"true\">\n </app-audit-log-for-model>\n\n <app-techlify-tagger-tag-form (success)=\"modelsUpdatedById($event)\" [tagInfo]=\"element\"\n *ngxPermissionsOnly=\"['tag.update']\" class=\"ms-1\"></app-techlify-tagger-tag-form>\n\n <ng-container *ngIf=\"!element?.tagged_count\">\n <app-techlify-delete-button *ngxPermissionsOnly=\"['tag.delete']\" class='text-secondary ms-1'\n [model]=\"element\" [service]=\"tagService\"\n message=\"Deleting this tag cannot be undone. Are you sure you want to continue?\"\n (deleted)=\"modelsDeletedById(element)\">\n </app-techlify-delete-button>\n </ng-container>\n </td>\n </ng-container>\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns;\"></tr>\n </table>\n\n <mat-progress-bar mode=\"indeterminate\" *ngIf=\"isWorking\"></mat-progress-bar>\n </mat-card-content>\n </mat-card>\n</div>\n"
|
|
32078
32032
|
}]
|
|
32079
32033
|
}],
|
|
32080
32034
|
ctorParameters: () => [{ type: TagService }, { type: i3.UntypedFormBuilder }]
|
|
@@ -32368,7 +32322,7 @@ var TechlifyAutoCompleteSelectComponent = class TechlifyAutoCompleteSelectCompon
|
|
|
32368
32322
|
},
|
|
32369
32323
|
{
|
|
32370
32324
|
kind: "directive",
|
|
32371
|
-
type: i12$
|
|
32325
|
+
type: i12$1.MatInput,
|
|
32372
32326
|
selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",
|
|
32373
32327
|
inputs: [
|
|
32374
32328
|
"disabled",
|
|
@@ -33092,6 +33046,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
33092
33046
|
loaded: [{ type: Output }]
|
|
33093
33047
|
}
|
|
33094
33048
|
});
|
|
33095
|
-
export { AccessControlConfigModule, ActionPopup, ActionPopupComponent, ActionPopupModule, AdminRoleListComponent, AdminRoleListModule, AdminRolePermissionFormComponent, AdminRolePermissionFormModule, AdminRoleService, AlertService, ApiPrefixInterceptor, AppAdminHomeComponent, AppAdminModule, AppAdminUserList, AppAdminUserViewComponent, AppAdminUserViewModule, AppUpdateService, AuditLogForModelComponent, AuditLogForModelModule, AuditLogForModelRoutingModule, AuditLogListComponent, AuditLogListFilterComponent, AuditLogListFilterModule, AuditLogListFilterRoutingModule, AuditLogListModule, AuditLogListRoutingModule, AuditLogModule, AuditLogRoutingModule, AuditLogViewComponent, AuditLogViewModelComponent, AuditLogViewModelModule, AuditLogViewModelRoutingModule, AuditLogViewModule, AuditLogViewRoutingModule, AuditLogsViewModelComponent, AuditLogsViewModelModule, AuditLogsViewModelRoutingModule, AuthenticationGuard, AuthenticationService, CacheInterceptor, ChangePasswordModule, ClientService, ColumnConfig, ColumnSelectorComponent, ColumnSelectorModule, CommentFormComponent, CompanyInfoDisplayComponent, CompanyInformationComponent, ConfigService, CoreModule, CountryService, CredentialsService, CurrentUserService, CustomIconComponent, CustomIconModule, DEFAULT_PERIOD_OPTIONS, DEFAULT_SELECTED_VALUE, DataTable, DataTableComponent, DataTableModule, DateUtils, DatetimeLocalDirective, DocumentViewerComponent, DocumentViewerModule, EmailSubscriptionForUserComponent, EmailSubscriptionForUserModule, EmailSubscriptionForUserRoutingModule, EmailSubscriptionModule, EmailSubscriptionRoutingModule, EmailSubscriptionTypeFormComponent, EmailSubscriptionTypeFormModule, EmailSubscriptionTypeFormRoutingModule, EmailSubscriptionTypeListComponent, EmailSubscriptionTypeListModule, EmailSubscriptionTypeListRoutingModule, EmailSubscriptionTypeModule, EmailSubscriptionTypeRoutingModule, EmailSubscriptionUserFormComponent, EmailSubscriptionUserFormModule, EmailSubscriptionUserFormRoutingModule, EmailSubscriptionUserListComponent, EmailSubscriptionUserListFilterComponent, EmailSubscriptionUserListFilterModule, EmailSubscriptionUserListFilterRoutingModule, EmailSubscriptionUserListModule, EmailSubscriptionUserListRoutingModule, EmailSubscriptionUserModule, EmailSubscriptionUserRoutingModule, EntityFileFormComponent, EntityFileListComponent, EntityFileListModule, EntityFileListModule as EntityFilesViewAllModule, EntityFileListWidgetComponent, EntityFileService, EnvironmentService, ErrorHandlerInterceptor, ErrorHandlerService, ErrorSnackComponent, ExportExcelButtonComponent, ExportExcelModule, FileDragdropUploaderComponent, FileDragdropUploaderModule, FileDropperComponent, FileDropperConfig, FileDropperModule, FilterService, ForgotPasswordComponent, ForgotPasswordModule, ForgotPasswordRoutingModule, FormConfigurationFieldFormComponent, FormConfigurationFieldFormModule, FormConfigurationFieldFormRoutingModule, FormConfigurationForFormComponent, FormConfigurationForFormModule, FormConfigurationFormFieldService, FormConfigurationFormService, FormConfigurationUtilityService, FormValidatorService, HTTP_DYNAMIC_INTERCEPTORS, HttpCacheService, HttpService, ImportCsvComponent, ImportCsvModule, LoaderComponent, LoaderModule, LockedDate, LockedDateFormComponent, LockedDateListComponent, LockedDateLockUnlockButtonComponent, LockedDateModule, LockedDateService, LogLevel, Logger, LoginComponent, LoginFormFieldsComponent, LoginHistoryForUserComponent, LoginHistoryForUserModule, LoginHistoryForUserRoutingModule, LoginModule, LoginRoutingModule, MaterialModule, MultiUserConfig, MyTechlifyViewListingComponent, MyTechlifyViewListingModule, MyTechlifyViewService, NgxTechlifyUsersModule, NoteCommentListComponent, NoteFormComponent, NoteListComponent, NoteModule, NumItemsSelector, NumberInputButtonComponent, NumberInputButtonModule, NumberSelectorComponent, OrdinalPipe, PageEvent, PdfButtonComponent, PdfButtonModule, Permission, PermissionModule, PermissionRoutingProvider, PermissionsManagementComponent, PhoneNumberSelectorComponent, ProfileEditComponent, ProfileModule, ProfileRoutingModule, ReadMoreComponent, ReadMoreModule, RequestHelperService, ResetPasswordComponent, ResetPasswordModule, ResetPasswordRoutingModule, ResetPasswordService, RestrictorTypeSelectorComponent, RestrictorTypeSelectorModule, RestrictorsModule, Role, RoleFormButtonComponent, RoleFormComponent, RoleListComponent, RoleModule, RoleRoutingProvider, RoleService, RoleViewComponent, RoleViewModule, RouteReusableStrategy, SearchableSelectorComponent, SearchableSelectorModule, SignUpComponent, SignupModule, SignupRoutingModule, SnackModule, StorageService, SubscriptionFormComponent, SubscriptionFormModule, SubscriptionListingComponent, SubscriptionListingModule, SubscriptionPackageListingComponent, SubscriptionPackageListingModule, SubscriptionPackageViewComponent, SubscriptionPackageViewModule, SubscriptionService, SuccessSnackComponent, TagService, TechlifyAppSelectorComponent, TechlifyAppSelectorModule, TechlifyAutoCompleteSelectComponent, TechlifyChartComponent, TechlifyCompanySwitcherComponent, TechlifyCompanySwitcherModule, TechlifyConfig, TechlifyCurrencyPipe, TechlifyDeleteButtonComponent, TechlifyDetailLayoutComponent, TechlifyFeatureDirectiveModule, TechlifyFeatureEnabledDirective, TechlifyFeatureListingComponent, TechlifyFeatureModule, TechlifyFeatureRoutes, TechlifyFeatureService, TechlifyFormButtonComponent, TechlifyFormComponent, TechlifyIconComponent, TechlifyIconModule, TechlifyListComponent, TechlifyNotificationForUserComponent, TechlifyNotificationForUserModule, TechlifyNotificationForUserRoutingModule, TechlifyNotificationModule, TechlifyNotificationRoutingModule, TechlifyPeriodSelectorComponent, TechlifyService, TechlifyShowComponent, TechlifySubscriptionDirective, TechlifySubscriptionDirectiveModule, TechlifyTaggerTagFormComponent, TechlifyTaggerTagFormConfigModel, TechlifyTaggerTagFormFieldComponent, TechlifyTaggerTagFormFieldModule, TechlifyTaggerTagListComponent, TechlifyTaggerTagSelectorComponent, TechlifyTaggerTagSelectorModule, TechlifyUpdateHistoryModule, TechlifyUpdateModule, TechlifyUpdateService, TechlifyUpdatesTeaserComponent, TechlifyUpdatesTeaserModule, TechlifyViewFormComponent, TechlifyViewFormModule, TechlifyViewService, TenantFormButtonComponent, TenantListWidgetComponent, Timeline, TimelineActivityButtonComponent, TimelineActivityButtonModule, TimelineActivityListComponent, TimelineActivityListModule, TimelineFilterComponent, TimelineFilterModule, TokenInterceptor, UpdateNotifierComponent, UpdateNotifierModule, User, UserClientEnableDisableButtonComponent, UserClientEnableDisableButtonModule, UserClientsListComponent, UserClientsListModule, UserConfig, UserConfigService, UserDataService, UserEnableButtonComponent, UserEnableButtonModule, UserExploreComponent, UserFormComponent, UserListComponent, UserListPageConfig, UserMenuComponent, UserMenuModule, UserModule, UserRoutingProvider, UserSelectorComponent, UserSelectorModule, UserService, UserSessionsComponent, UserSessionsModule, UserTypeEnum, UserViewComponent, UtilityModule, ViewerConfig, WrapPipe, calculateTimeline, dateValidator, esfur, estlr, esulr, parseLocalDate, techlifyFormContract, techlifyListContract, techlifyShowContract };
|
|
33049
|
+
export { AccessControlConfigModule, ActionPopup, ActionPopupComponent, ActionPopupModule, AdminRoleListComponent, AdminRoleListModule, AdminRolePermissionFormComponent, AdminRolePermissionFormModule, AdminRoleService, AlertService, ApiPrefixInterceptor, AppAdminHomeComponent, AppAdminModule, AppAdminUserList, AppAdminUserViewComponent, AppAdminUserViewModule, AppUpdateService, AuditLogForModelComponent, AuditLogForModelModule, AuditLogForModelRoutingModule, AuditLogListComponent, AuditLogListFilterComponent, AuditLogListFilterModule, AuditLogListFilterRoutingModule, AuditLogListModule, AuditLogListRoutingModule, AuditLogModule, AuditLogRoutingModule, AuditLogViewComponent, AuditLogViewModelComponent, AuditLogViewModelModule, AuditLogViewModelRoutingModule, AuditLogViewModule, AuditLogViewRoutingModule, AuditLogsViewModelComponent, AuditLogsViewModelModule, AuditLogsViewModelRoutingModule, AuthenticationGuard, AuthenticationService, CacheInterceptor, ChangePasswordModule, ClientService, ColumnConfig, ColumnSelectorComponent, ColumnSelectorModule, CommentFormComponent, CompanyInfoDisplayComponent, CompanyInformationComponent, ConfigService, CoreModule, CountryService, CredentialsService, CurrentUserService, CustomIconComponent, CustomIconModule, DEFAULT_PERIOD_OPTIONS, DEFAULT_SELECTED_VALUE, DataTable, DataTableComponent, DataTableModule, DateUtils, DatetimeLocalDirective, DocumentViewerComponent, DocumentViewerModule, EmailSubscriptionForUserComponent, EmailSubscriptionForUserModule, EmailSubscriptionForUserRoutingModule, EmailSubscriptionModule, EmailSubscriptionRoutingModule, EmailSubscriptionTypeFormComponent, EmailSubscriptionTypeFormModule, EmailSubscriptionTypeFormRoutingModule, EmailSubscriptionTypeListComponent, EmailSubscriptionTypeListModule, EmailSubscriptionTypeListRoutingModule, EmailSubscriptionTypeModule, EmailSubscriptionTypeRoutingModule, EmailSubscriptionUserFormComponent, EmailSubscriptionUserFormModule, EmailSubscriptionUserFormRoutingModule, EmailSubscriptionUserListComponent, EmailSubscriptionUserListFilterComponent, EmailSubscriptionUserListFilterModule, EmailSubscriptionUserListFilterRoutingModule, EmailSubscriptionUserListModule, EmailSubscriptionUserListRoutingModule, EmailSubscriptionUserModule, EmailSubscriptionUserRoutingModule, EntityFileFormComponent, EntityFileListComponent, EntityFileListModule, EntityFileListModule as EntityFilesViewAllModule, EntityFileListWidgetComponent, EntityFileService, EnvironmentService, ErrorHandlerInterceptor, ErrorHandlerService, ErrorSnackComponent, ExportExcelButtonComponent, ExportExcelModule, FileDragdropUploaderComponent, FileDragdropUploaderModule, FileDropperComponent, FileDropperConfig, FileDropperModule, FilterService, ForgotPasswordComponent, ForgotPasswordModule, ForgotPasswordRoutingModule, FormConfigurationFieldFormComponent, FormConfigurationFieldFormModule, FormConfigurationFieldFormRoutingModule, FormConfigurationForFormComponent, FormConfigurationForFormModule, FormConfigurationFormFieldService, FormConfigurationFormService, FormConfigurationUtilityService, FormValidatorService, HTTP_DYNAMIC_INTERCEPTORS, HttpCacheService, HttpService, ImportCsvComponent, ImportCsvModule, LoaderComponent, LoaderModule, LockedDate, LockedDateFormComponent, LockedDateListComponent, LockedDateLockUnlockButtonComponent, LockedDateModule, LockedDateService, LogLevel, Logger, LoginComponent, LoginFormFieldsComponent, LoginHistoryForUserComponent, LoginHistoryForUserModule, LoginHistoryForUserRoutingModule, LoginModule, LoginRoutingModule, MaterialModule, MultiUserConfig, MyTechlifyViewListingComponent, MyTechlifyViewListingModule, MyTechlifyViewService, NgxTechlifyUsersModule, NoteCommentListComponent, NoteFormComponent, NoteListComponent, NoteModule, NumItemsSelector, NumberInputButtonComponent, NumberInputButtonModule, NumberSelectorComponent, OrdinalPipe, PageEvent, PdfButtonComponent, PdfButtonModule, Permission, PermissionModule, PermissionRoutingProvider, PermissionsManagementComponent, PhoneNumberSelectorComponent, ProfileEditComponent, ProfileModule, ProfileRoutingModule, ReadMoreComponent, ReadMoreModule, RequestHelperService, ResetPasswordComponent, ResetPasswordModule, ResetPasswordRoutingModule, ResetPasswordService, RestrictorTypeSelectorComponent, RestrictorTypeSelectorModule, RestrictorsModule, Role, RoleFormButtonComponent, RoleFormComponent, RoleListComponent, RoleModule, RoleRoutingProvider, RoleService, RoleViewComponent, RoleViewModule, RouteReusableStrategy, SearchableSelectorComponent, SearchableSelectorModule, SignUpComponent, SignupModule, SignupRoutingModule, SnackModule, StorageService, SubscriptionFormComponent, SubscriptionFormModule, SubscriptionListingComponent, SubscriptionListingModule, SubscriptionPackageListingComponent, SubscriptionPackageListingModule, SubscriptionPackageViewComponent, SubscriptionPackageViewModule, SubscriptionService, SuccessSnackComponent, TagService, TechlifyAppSelectorComponent, TechlifyAppSelectorModule, TechlifyAutoCompleteSelectComponent, TechlifyChartComponent, TechlifyCloseButtonComponent, TechlifyCompanySwitcherComponent, TechlifyCompanySwitcherModule, TechlifyConfig, TechlifyCurrencyPipe, TechlifyDeleteButtonComponent, TechlifyDetailLayoutComponent, TechlifyFeatureDirectiveModule, TechlifyFeatureEnabledDirective, TechlifyFeatureListingComponent, TechlifyFeatureModule, TechlifyFeatureRoutes, TechlifyFeatureService, TechlifyFormButtonComponent, TechlifyFormComponent, TechlifyIconComponent, TechlifyIconModule, TechlifyListComponent, TechlifyNotificationForUserComponent, TechlifyNotificationForUserModule, TechlifyNotificationForUserRoutingModule, TechlifyNotificationModule, TechlifyNotificationRoutingModule, TechlifyPeriodSelectorComponent, TechlifyService, TechlifyShowComponent, TechlifySubscriptionDirective, TechlifySubscriptionDirectiveModule, TechlifyTaggerTagFormComponent, TechlifyTaggerTagFormConfigModel, TechlifyTaggerTagFormFieldComponent, TechlifyTaggerTagFormFieldModule, TechlifyTaggerTagListComponent, TechlifyTaggerTagSelectorComponent, TechlifyTaggerTagSelectorModule, TechlifyUpdateHistoryModule, TechlifyUpdateModule, TechlifyUpdateService, TechlifyUpdatesTeaserComponent, TechlifyUpdatesTeaserModule, TechlifyViewFormComponent, TechlifyViewFormModule, TechlifyViewService, TenantFormButtonComponent, TenantListWidgetComponent, Timeline, TimelineActivityButtonComponent, TimelineActivityButtonModule, TimelineActivityListComponent, TimelineActivityListModule, TimelineFilterComponent, TimelineFilterModule, TokenInterceptor, UpdateNotifierComponent, UpdateNotifierModule, User, UserClientEnableDisableButtonComponent, UserClientEnableDisableButtonModule, UserClientsListComponent, UserClientsListModule, UserConfig, UserConfigService, UserDataService, UserEnableButtonComponent, UserEnableButtonModule, UserExploreComponent, UserFormComponent, UserListComponent, UserListPageConfig, UserMenuComponent, UserMenuModule, UserModule, UserRoutingProvider, UserSelectorComponent, UserSelectorModule, UserService, UserSessionsComponent, UserSessionsModule, UserTypeEnum, UserViewComponent, UtilityModule, ViewerConfig, WrapPipe, calculateTimeline, dateValidator, esfur, estlr, esulr, parseLocalDate, techlifyFormContract, techlifyListContract, techlifyShowContract };
|
|
33096
33050
|
|
|
33097
33051
|
//# sourceMappingURL=ngx-techlify-core.mjs.map
|