ngx-techlify-core 18.18.1 → 18.20.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/esm2022/lib/app-admin/tenant/tenant-list-widget/tenant-list-widget.component.mjs +6 -4
- package/esm2022/lib/company-information/company-info-display/company-info-display.component.mjs +18 -4
- package/esm2022/lib/company-information/company-information/company-information.component.mjs +42 -15
- package/esm2022/lib/company-information/tenant-form-button/tenant-form-button.component.mjs +36 -0
- package/esm2022/lib/entity-files/entity-files-view-all.component.mjs +11 -12
- package/esm2022/lib/user/app-admin-user-view/app-admin-user-view.component.mjs +1 -1
- package/esm2022/lib/user/app-admin-user-view/app-admin-user-view.module.mjs +9 -5
- package/esm2022/lib/user/current-user.service.mjs +5 -4
- package/esm2022/lib/user/index.mjs +4 -1
- package/esm2022/lib/user/user-form.component.mjs +2 -2
- package/esm2022/lib/user/user-sessions/user-sessions/user-sessions.module.mjs +28 -0
- package/esm2022/lib/user/user.module.mjs +21 -24
- package/esm2022/lib/user-client-enable-disable-button/user-client-enable-disable-button.module.mjs +28 -0
- package/esm2022/lib/user-clients-list/user-clients-list.module.mjs +32 -0
- package/esm2022/lib/user-config/user-config.service.mjs +3 -3
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/ngx-techlify-core.mjs +556 -415
- package/fesm2022/ngx-techlify-core.mjs.map +1 -1
- package/lib/company-information/company-info-display/company-info-display.component.d.ts +5 -1
- package/lib/company-information/company-information/company-information.component.d.ts +6 -2
- package/lib/company-information/tenant-form-button/tenant-form-button.component.d.ts +14 -0
- package/lib/entity-files/entity-files-view-all.component.d.ts +2 -1
- package/lib/user/app-admin-user-view/app-admin-user-view.module.d.ts +3 -2
- package/lib/user/current-user.service.d.ts +2 -1
- package/lib/user/index.d.ts +3 -0
- package/lib/user/user-form.component.d.ts +2 -2
- package/lib/user/user-sessions/user-sessions/user-sessions.module.d.ts +10 -0
- package/lib/user/user.module.d.ts +20 -21
- package/lib/user-client-enable-disable-button/user-client-enable-disable-button.module.d.ts +10 -0
- package/lib/user-clients-list/user-clients-list.module.d.ts +11 -0
- package/lib/user-config/user-config.service.d.ts +2 -2
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -5,8 +5,12 @@ export declare class CompanyInfoDisplayComponent implements OnInit {
|
|
|
5
5
|
private currentUserService;
|
|
6
6
|
client: any;
|
|
7
7
|
forceReload: boolean;
|
|
8
|
+
isEditAllowed: boolean;
|
|
9
|
+
isAppAdmin: boolean;
|
|
8
10
|
constructor(currentUserService: CurrentUserService);
|
|
9
11
|
ngOnInit(): void;
|
|
12
|
+
loadData(): void;
|
|
13
|
+
onSaved(client: any): void;
|
|
10
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<CompanyInfoDisplayComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CompanyInfoDisplayComponent, "app-company-info-display", never, { "client": { "alias": "client"; "required": false; }; "forceReload": { "alias": "forceReload"; "required": false; }; }, {}, never, never, true, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CompanyInfoDisplayComponent, "app-company-info-display", never, { "client": { "alias": "client"; "required": false; }; "forceReload": { "alias": "forceReload"; "required": false; }; "isEditAllowed": { "alias": "isEditAllowed"; "required": false; }; "isAppAdmin": { "alias": "isAppAdmin"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
16
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { FormBuilder } from '@angular/forms';
|
|
3
3
|
import { Location } from '@angular/common';
|
|
4
4
|
import { ClientService } from '../client.service';
|
|
@@ -12,6 +12,10 @@ export declare class CompanyInformationComponent extends TechlifyFormComponentIn
|
|
|
12
12
|
private clientService;
|
|
13
13
|
private alertService;
|
|
14
14
|
private location;
|
|
15
|
+
client: any;
|
|
16
|
+
isAppAdmin: boolean;
|
|
17
|
+
saved: EventEmitter<any>;
|
|
18
|
+
cancelled: EventEmitter<any>;
|
|
15
19
|
isWorking: boolean;
|
|
16
20
|
user: User;
|
|
17
21
|
constructor(formValidatorService: FormValidatorService, formBuilder: FormBuilder, currentUserService: CurrentUserService, clientService: ClientService, alertService: AlertService, location: Location);
|
|
@@ -20,5 +24,5 @@ export declare class CompanyInformationComponent extends TechlifyFormComponentIn
|
|
|
20
24
|
onFileUploaded(uploadedFile: any[], field: string): void;
|
|
21
25
|
redirectBack(): void;
|
|
22
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<CompanyInformationComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CompanyInformationComponent, "app-company-information", never, {}, {}, never, never, true, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CompanyInformationComponent, "app-company-information", never, { "client": { "alias": "client"; "required": false; }; "isAppAdmin": { "alias": "isAppAdmin"; "required": false; }; }, { "saved": "saved"; "cancelled": "cancelled"; }, never, never, true, never>;
|
|
24
28
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TenantFormButtonComponent {
|
|
5
|
+
matDialog: MatDialog;
|
|
6
|
+
client: any;
|
|
7
|
+
saved: EventEmitter<any>;
|
|
8
|
+
isAppAdmin: boolean;
|
|
9
|
+
constructor(matDialog: MatDialog);
|
|
10
|
+
showForm(templateRef: TemplateRef<any>): void;
|
|
11
|
+
onSaved(client: any): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TenantFormButtonComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TenantFormButtonComponent, "app-tenant-form-button", never, { "client": { "alias": "client"; "required": false; }; "isAppAdmin": { "alias": "isAppAdmin"; "required": false; }; }, { "saved": "saved"; }, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -28,6 +28,7 @@ export declare class EntityFilesViewAllComponent implements OnInit {
|
|
|
28
28
|
allowBulkUpdate: boolean;
|
|
29
29
|
viewMode: 'list' | 'timeline';
|
|
30
30
|
fileDropperHeight: string;
|
|
31
|
+
isShowDragDropSection: boolean;
|
|
31
32
|
documentIds: any[];
|
|
32
33
|
isAllSelected: boolean;
|
|
33
34
|
total: number;
|
|
@@ -81,5 +82,5 @@ export declare class EntityFilesViewAllComponent implements OnInit {
|
|
|
81
82
|
resetFieldValueOfRow(field: string, event: any): void;
|
|
82
83
|
bulkUpdate(fieldName: any): Promise<void>;
|
|
83
84
|
static ɵfac: i0.ɵɵFactoryDeclaration<EntityFilesViewAllComponent, never>;
|
|
84
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EntityFilesViewAllComponent, "app-entity-files-view-all", never, { "entityId": { "alias": "entityId"; "required": false; }; "entityType": { "alias": "entityType"; "required": false; }; "viewOnly": { "alias": "viewOnly"; "required": false; }; "removeSearch": { "alias": "removeSearch"; "required": false; }; "hideTitleAndDetails": { "alias": "hideTitleAndDetails"; "required": false; }; "displayMode": { "alias": "displayMode"; "required": false; }; "allowMultipleFiles": { "alias": "allowMultipleFiles"; "required": false; }; "allowBulkUpdate": { "alias": "allowBulkUpdate"; "required": false; }; "viewMode": { "alias": "viewMode"; "required": false; }; "fileDropperHeight": { "alias": "fileDropperHeight"; "required": false; }; "useTechlifyTags": { "alias": "useTechlifyTags"; "required": false; }; "techlifyTagCategories": { "alias": "techlifyTagCategories"; "required": false; }; "techlifyTagConfig": { "alias": "techlifyTagConfig"; "required": false; }; "title": { "alias": "title"; "required": false; }; "permission": { "alias": "permission"; "required": false; }; }, {}, never, never, false, never>;
|
|
85
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EntityFilesViewAllComponent, "app-entity-files-view-all", never, { "entityId": { "alias": "entityId"; "required": false; }; "entityType": { "alias": "entityType"; "required": false; }; "viewOnly": { "alias": "viewOnly"; "required": false; }; "removeSearch": { "alias": "removeSearch"; "required": false; }; "hideTitleAndDetails": { "alias": "hideTitleAndDetails"; "required": false; }; "displayMode": { "alias": "displayMode"; "required": false; }; "allowMultipleFiles": { "alias": "allowMultipleFiles"; "required": false; }; "allowBulkUpdate": { "alias": "allowBulkUpdate"; "required": false; }; "viewMode": { "alias": "viewMode"; "required": false; }; "fileDropperHeight": { "alias": "fileDropperHeight"; "required": false; }; "isShowDragDropSection": { "alias": "isShowDragDropSection"; "required": false; }; "useTechlifyTags": { "alias": "useTechlifyTags"; "required": false; }; "techlifyTagCategories": { "alias": "techlifyTagCategories"; "required": false; }; "techlifyTagConfig": { "alias": "techlifyTagConfig"; "required": false; }; "title": { "alias": "title"; "required": false; }; "permission": { "alias": "permission"; "required": false; }; }, {}, never, never, false, never>;
|
|
85
86
|
}
|
|
@@ -7,9 +7,10 @@ import * as i5 from "@angular/forms";
|
|
|
7
7
|
import * as i6 from "../../login-history-for-user/login-history-for-user.module";
|
|
8
8
|
import * as i7 from "../../audit-log/audit-log-list/audit-log-list.module";
|
|
9
9
|
import * as i8 from "./app-admin-user-view.routes";
|
|
10
|
-
import * as i9 from "
|
|
10
|
+
import * as i9 from "../../user-clients-list/user-clients-list.module";
|
|
11
|
+
import * as i10 from "../user-sessions/user-sessions/user-sessions.module";
|
|
11
12
|
export declare class AppAdminUserViewModule {
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppAdminUserViewModule, never>;
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AppAdminUserViewModule, [typeof i1.AppAdminUserViewComponent], [typeof i2.CommonModule, typeof i3.MaterialModule, typeof i4.FlexLayoutModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.LoginHistoryForUserModule, typeof i7.AuditLogListModule, typeof i8.AppAdminUserViewRoutingProvider, typeof i9.
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AppAdminUserViewModule, [typeof i1.AppAdminUserViewComponent], [typeof i2.CommonModule, typeof i3.MaterialModule, typeof i4.FlexLayoutModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.LoginHistoryForUserModule, typeof i7.AuditLogListModule, typeof i8.AppAdminUserViewRoutingProvider, typeof i9.UserClientsListModule, typeof i10.UserSessionsModule], [typeof i1.AppAdminUserViewComponent]>;
|
|
14
15
|
static ɵinj: i0.ɵɵInjectorDeclaration<AppAdminUserViewModule>;
|
|
15
16
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
-
import { HttpService, StorageService } from '../core';
|
|
3
2
|
import { User } from './user.model';
|
|
3
|
+
import { StorageService } from '../core/storage.service';
|
|
4
|
+
import { HttpService } from '../core/http.service';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
/**
|
|
6
7
|
* Service that manages information about the current user
|
package/lib/user/index.d.ts
CHANGED
|
@@ -6,5 +6,8 @@ export * from './user.service';
|
|
|
6
6
|
export * from './users-view-all.component';
|
|
7
7
|
export * from './user.routes';
|
|
8
8
|
export * from '../user-clients-list/user-clients-list.component';
|
|
9
|
+
export * from '../user-clients-list/user-clients-list.module';
|
|
9
10
|
export * from '../user-client-enable-disable-button/user-client-enable-disable-button.component';
|
|
11
|
+
export * from '../user-client-enable-disable-button/user-client-enable-disable-button.module';
|
|
10
12
|
export * from './user-sessions/user-sessions/user-sessions.component';
|
|
13
|
+
export * from './user-sessions/user-sessions/user-sessions.module';
|
|
@@ -4,8 +4,8 @@ import { AlertService, ErrorHandlerService, FormValidatorService, HttpService }
|
|
|
4
4
|
import { User } from './user.model';
|
|
5
5
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
6
6
|
import { UserService } from './user.service';
|
|
7
|
-
import { MultiUserConfig } from '../user-config';
|
|
8
|
-
import { UserConfigService } from '../user-config';
|
|
7
|
+
import { MultiUserConfig } from '../user-config/user-config.model';
|
|
8
|
+
import { UserConfigService } from '../user-config/user-config.service';
|
|
9
9
|
import { FileDropperConfig } from "../file-dropper";
|
|
10
10
|
import { ViewerConfig } from "../document-viewer";
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./user-sessions.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../../../material.module";
|
|
5
|
+
import * as i4 from "@angular/flex-layout";
|
|
6
|
+
export declare class UserSessionsModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserSessionsModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UserSessionsModule, [typeof i1.UserSessionsComponent], [typeof i2.CommonModule, typeof i3.MaterialModule, typeof i4.FlexLayoutModule], [typeof i1.UserSessionsComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<UserSessionsModule>;
|
|
10
|
+
}
|
|
@@ -3,28 +3,27 @@ import * as i1 from "./users-view-all.component";
|
|
|
3
3
|
import * as i2 from "./user-form.component";
|
|
4
4
|
import * as i3 from "./user-explore.component";
|
|
5
5
|
import * as i4 from "./user-view.component";
|
|
6
|
-
import * as i5 from "
|
|
7
|
-
import * as i6 from "
|
|
8
|
-
import * as i7 from "
|
|
9
|
-
import * as i8 from "@angular/
|
|
10
|
-
import * as i9 from "
|
|
11
|
-
import * as i10 from "../
|
|
12
|
-
import * as i11 from "
|
|
13
|
-
import * as i12 from "
|
|
14
|
-
import * as i13 from "../
|
|
15
|
-
import * as i14 from "../
|
|
16
|
-
import * as i15 from "
|
|
17
|
-
import * as i16 from "../
|
|
18
|
-
import * as i17 from "
|
|
19
|
-
import * as i18 from "@angular/material/
|
|
20
|
-
import * as i19 from "
|
|
21
|
-
import * as i20 from "
|
|
22
|
-
import * as i21 from "
|
|
23
|
-
import * as i22 from "
|
|
24
|
-
import * as i23 from "
|
|
25
|
-
import * as i24 from "./user-enable-button-component/user-enable-button.module";
|
|
6
|
+
import * as i5 from "@angular/common";
|
|
7
|
+
import * as i6 from "./user.routes";
|
|
8
|
+
import * as i7 from "../material.module";
|
|
9
|
+
import * as i8 from "@angular/flex-layout";
|
|
10
|
+
import * as i9 from "@angular/forms";
|
|
11
|
+
import * as i10 from "../file-dropper/file-dropper.module";
|
|
12
|
+
import * as i11 from "../document-viewer/document-viewer.module";
|
|
13
|
+
import * as i12 from "ngx-infinite-scroll";
|
|
14
|
+
import * as i13 from "../login-history-for-user/login-history-for-user.module";
|
|
15
|
+
import * as i14 from "../audit-log/audit-log-list/audit-log-list.module";
|
|
16
|
+
import * as i15 from "@angular/material/tabs";
|
|
17
|
+
import * as i16 from "../searchable-selector/searchable-selector.module";
|
|
18
|
+
import * as i17 from "@angular/material/progress-bar";
|
|
19
|
+
import * as i18 from "@angular/material/table";
|
|
20
|
+
import * as i19 from "@angular/material/sort";
|
|
21
|
+
import * as i20 from "../data-table/data-table.module";
|
|
22
|
+
import * as i21 from "./user-enable-button-component/user-enable-button.module";
|
|
23
|
+
import * as i22 from "../user-clients-list/user-clients-list.module";
|
|
24
|
+
import * as i23 from "./user-sessions/user-sessions/user-sessions.module";
|
|
26
25
|
export declare class UserModule {
|
|
27
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserModule, never>;
|
|
28
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<UserModule, [typeof i1.UsersViewAllComponent, typeof i2.UserFormComponent, typeof i3.UserExploreComponent, typeof i4.UserViewComponent, typeof i5.
|
|
27
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UserModule, [typeof i1.UsersViewAllComponent, typeof i2.UserFormComponent, typeof i3.UserExploreComponent, typeof i4.UserViewComponent], [typeof i5.CommonModule, typeof i6.UserRoutingProvider, typeof i7.MaterialModule, typeof i8.FlexLayoutModule, typeof i9.FormsModule, typeof i9.ReactiveFormsModule, typeof i10.FileDropperModule, typeof i11.DocumentViewerModule, typeof i12.InfiniteScrollModule, typeof i13.LoginHistoryForUserModule, typeof i14.AuditLogListModule, typeof i15.MatTabsModule, typeof i16.SearchableSelectorModule, typeof i17.MatProgressBarModule, typeof i18.MatTableModule, typeof i19.MatSortModule, typeof i20.DataTableModule, typeof i21.UserEnableButtonModule, typeof i22.UserClientsListModule, typeof i23.UserSessionsModule], [typeof i4.UserViewComponent, typeof i1.UsersViewAllComponent, typeof i21.UserEnableButtonModule, typeof i22.UserClientsListModule, typeof i23.UserSessionsModule]>;
|
|
29
28
|
static ɵinj: i0.ɵɵInjectorDeclaration<UserModule>;
|
|
30
29
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./user-client-enable-disable-button.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../material.module";
|
|
5
|
+
import * as i4 from "@angular/flex-layout";
|
|
6
|
+
export declare class UserClientEnableDisableButtonModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserClientEnableDisableButtonModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UserClientEnableDisableButtonModule, [typeof i1.UserClientEnableDisableButtonComponent], [typeof i2.CommonModule, typeof i3.MaterialModule, typeof i4.FlexLayoutModule], [typeof i1.UserClientEnableDisableButtonComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<UserClientEnableDisableButtonModule>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./user-clients-list.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../material.module";
|
|
5
|
+
import * as i4 from "@angular/flex-layout";
|
|
6
|
+
import * as i5 from "../user-client-enable-disable-button/user-client-enable-disable-button.module";
|
|
7
|
+
export declare class UserClientsListModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserClientsListModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UserClientsListModule, [typeof i1.UserClientsListComponent], [typeof i2.CommonModule, typeof i3.MaterialModule, typeof i4.FlexLayoutModule, typeof i5.UserClientEnableDisableButtonModule], [typeof i1.UserClientsListComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<UserClientsListModule>;
|
|
11
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CredentialsService } from '../core';
|
|
2
|
-
import { CurrentUserService } from '../user';
|
|
1
|
+
import { CredentialsService } from '../core/credentials.service';
|
|
2
|
+
import { CurrentUserService } from '../user/current-user.service';
|
|
3
3
|
import { UserConfig, MultiUserConfig } from './user-config.model';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class UserConfigService {
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -127,6 +127,7 @@ export * from './lib/number-input-button';
|
|
|
127
127
|
export * from './lib/column-selector';
|
|
128
128
|
export * from './lib/reset-password';
|
|
129
129
|
export * from './lib/reset-password/reset-password.module';
|
|
130
|
+
export * from './lib/company-information/tenant-form-button/tenant-form-button.component';
|
|
130
131
|
export * from './lib/company-information/company-information/company-information.component';
|
|
131
132
|
export * from './lib/company-information/company-info-display/company-info-display.component';
|
|
132
133
|
export * from './lib/company-information/client.service';
|