ngx-techlify-core 18.41.0 → 18.43.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 +1 -1
- package/esm2022/lib/base-model/techlify-listing-component.class.mjs +37 -4
- package/esm2022/lib/role/role-form.component.mjs +5 -15
- package/esm2022/lib/role/role-view/role-view-routing.module.mjs +26 -0
- package/esm2022/lib/role/role-view/role-view.module.mjs +47 -0
- package/esm2022/lib/role/role.module.mjs +5 -6
- package/esm2022/lib/role/role.routes.mjs +6 -3
- package/esm2022/lib/role/role.service.mjs +1 -4
- package/esm2022/lib/techlify-icon/techlify-icon.component.mjs +3 -2
- package/esm2022/lib/user/user-sessions/user-sessions/user-sessions.component.mjs +1 -1
- package/esm2022/lib/user-clients-list/user-clients-list.component.mjs +1 -1
- package/esm2022/public-api.mjs +5 -1
- package/fesm2022/ngx-techlify-core.mjs +236 -150
- package/fesm2022/ngx-techlify-core.mjs.map +1 -1
- package/lib/app-admin/tenant/tenant-list-widget/tenant-list-widget.component.d.ts +1 -1
- package/lib/base-model/techlify-listing-component.class.d.ts +7 -2
- package/lib/role/role-form.component.d.ts +0 -2
- package/lib/role/role-view/role-view-routing.module.d.ts +7 -0
- package/lib/role/role-view/role-view.module.d.ts +13 -0
- package/lib/role/role.module.d.ts +9 -10
- package/lib/role/role.service.d.ts +0 -1
- package/lib/user/user-sessions/user-sessions/user-sessions.component.d.ts +1 -1
- package/lib/user-clients-list/user-clients-list.component.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +4 -0
|
@@ -3,7 +3,7 @@ import { TechlifyListingControllerInterface } from '../../../base-model';
|
|
|
3
3
|
import { ClientService } from '../../../company-information/client.service';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class TenantListWidgetComponent extends TechlifyListingControllerInterface implements OnInit {
|
|
6
|
-
|
|
6
|
+
protected service: ClientService;
|
|
7
7
|
displayedColumns: string[];
|
|
8
8
|
constructor(service: ClientService);
|
|
9
9
|
ngOnInit(): void;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { RequestHelperService } from '../request-helper/request-helper.service';
|
|
2
|
+
import { TechlifyServiceBaseClass } from './techlify-service.class';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
2
4
|
/**
|
|
3
5
|
* Interface used to ensure we have a consistent structure across our listing pages
|
|
4
6
|
*
|
|
@@ -11,6 +13,7 @@ import { RequestHelperService } from '../request-helper/request-helper.service';
|
|
|
11
13
|
* - save time, save energy
|
|
12
14
|
*/
|
|
13
15
|
export declare abstract class TechlifyListingControllerInterface {
|
|
16
|
+
protected service?: TechlifyServiceBaseClass;
|
|
14
17
|
models: any[];
|
|
15
18
|
selectedModelIds: any[];
|
|
16
19
|
isAllSelected: boolean;
|
|
@@ -52,7 +55,7 @@ export declare abstract class TechlifyListingControllerInterface {
|
|
|
52
55
|
private titleService;
|
|
53
56
|
private environmentService;
|
|
54
57
|
protected requestHelperService: RequestHelperService;
|
|
55
|
-
constructor();
|
|
58
|
+
constructor(service?: TechlifyServiceBaseClass);
|
|
56
59
|
/**
|
|
57
60
|
* Function that listens for any changes in the filter form group
|
|
58
61
|
* It updates the route automatically
|
|
@@ -67,7 +70,7 @@ export declare abstract class TechlifyListingControllerInterface {
|
|
|
67
70
|
/**
|
|
68
71
|
* Function that loads the main models of the application
|
|
69
72
|
*/
|
|
70
|
-
|
|
73
|
+
loadData(filters?: any): void;
|
|
71
74
|
/**
|
|
72
75
|
* Reload all data from page 1
|
|
73
76
|
*/
|
|
@@ -114,4 +117,6 @@ export declare abstract class TechlifyListingControllerInterface {
|
|
|
114
117
|
* @param event
|
|
115
118
|
*/
|
|
116
119
|
sortColumn(event: any): void;
|
|
120
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TechlifyListingControllerInterface, [{ optional: true; }]>;
|
|
121
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TechlifyListingControllerInterface, never, never, {}, {}, never, never, false, never>;
|
|
117
122
|
}
|
|
@@ -18,13 +18,11 @@ export declare class RoleFormComponent {
|
|
|
18
18
|
config: MultiUserConfig;
|
|
19
19
|
isWorking: boolean;
|
|
20
20
|
roleForm: UntypedFormGroup;
|
|
21
|
-
showModuleSelector: boolean;
|
|
22
21
|
isUpdateMode: boolean;
|
|
23
22
|
constructor(alertService: AlertService, credentialsService: CredentialsService, fb: UntypedFormBuilder, formValidatorService: FormValidatorService, userConfigService: UserConfigService, dialogRef: MatDialogRef<RoleFormComponent>, data: any, roleService: RoleService);
|
|
24
23
|
get isAdminUser(): boolean;
|
|
25
24
|
ngOnInit(): void;
|
|
26
25
|
save(): Promise<void>;
|
|
27
|
-
getSubscribedModules(): Promise<void>;
|
|
28
26
|
/** Method to evaluate form fields*/
|
|
29
27
|
isFieldValid(field: string): any;
|
|
30
28
|
/** Method to find error in form fields*/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/router";
|
|
3
|
+
export declare class RoleViewRoutingModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RoleViewRoutingModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RoleViewRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<RoleViewRoutingModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./role-view.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "./role-view-routing.module";
|
|
5
|
+
import * as i4 from "../../material.module";
|
|
6
|
+
import * as i5 from "@angular/flex-layout";
|
|
7
|
+
import * as i6 from "@angular/forms";
|
|
8
|
+
import * as i7 from "ngx-infinite-scroll";
|
|
9
|
+
export declare class RoleViewModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RoleViewModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RoleViewModule, [typeof i1.RoleViewComponent], [typeof i2.CommonModule, typeof i3.RoleViewRoutingModule, typeof i4.MaterialModule, typeof i5.FlexLayoutModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.InfiniteScrollModule], [typeof i1.RoleViewComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<RoleViewModule>;
|
|
13
|
+
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./role-form.component";
|
|
3
3
|
import * as i2 from "./roles-view-all.component";
|
|
4
|
-
import * as i3 from "./role-
|
|
5
|
-
import * as i4 from "
|
|
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 "@angular/material/progress-bar";
|
|
4
|
+
import * as i3 from "./role-form-button.component";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
import * as i5 from "./role.routes";
|
|
7
|
+
import * as i6 from "../material.module";
|
|
8
|
+
import * as i7 from "@angular/flex-layout";
|
|
9
|
+
import * as i8 from "@angular/forms";
|
|
10
|
+
import * as i9 from "ngx-infinite-scroll";
|
|
11
|
+
import * as i10 from "@angular/material/progress-bar";
|
|
13
12
|
export declare class RoleModule {
|
|
14
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<RoleModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<RoleModule, [typeof i1.RoleFormComponent, typeof i2.RolesViewAllComponent, typeof i3.
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RoleModule, [typeof i1.RoleFormComponent, typeof i2.RolesViewAllComponent, typeof i3.RoleFormButtonComponent], [typeof i4.CommonModule, typeof i5.RoleRoutingProvider, typeof i6.MaterialModule, typeof i7.FlexLayoutModule, typeof i8.FormsModule, typeof i8.ReactiveFormsModule, typeof i9.InfiniteScrollModule, typeof i10.MatProgressBarModule], [typeof i2.RolesViewAllComponent, typeof i3.RoleFormButtonComponent, typeof i1.RoleFormComponent]>;
|
|
16
15
|
static ɵinj: i0.ɵɵInjectorDeclaration<RoleModule>;
|
|
17
16
|
}
|
|
@@ -5,7 +5,6 @@ export declare class RoleService {
|
|
|
5
5
|
constructor(http: HttpService);
|
|
6
6
|
createRole(role: any): Promise<Object>;
|
|
7
7
|
updateRole(role: any): Promise<Object>;
|
|
8
|
-
getClientSubscriptions(filters?: any): Promise<Object>;
|
|
9
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<RoleService, never>;
|
|
10
9
|
static ɵprov: i0.ɵɵInjectableDeclaration<RoleService>;
|
|
11
10
|
}
|
|
@@ -4,7 +4,7 @@ import { User } from '../../user.model';
|
|
|
4
4
|
import { UserSessionService } from "../user-session.service";
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class UserSessionsComponent extends TechlifyListingControllerInterface implements OnInit {
|
|
7
|
-
|
|
7
|
+
protected service: UserSessionService;
|
|
8
8
|
user: User;
|
|
9
9
|
displayedColumns: string[];
|
|
10
10
|
constructor(service: UserSessionService);
|
|
@@ -4,7 +4,7 @@ import { TechlifyListingControllerInterface } from '../base-model';
|
|
|
4
4
|
import { UserClientService } from './user-client.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class UserClientsListComponent extends TechlifyListingControllerInterface implements OnInit {
|
|
7
|
-
|
|
7
|
+
protected service: UserClientService;
|
|
8
8
|
user: User;
|
|
9
9
|
displayedColumns: string[];
|
|
10
10
|
constructor(service: UserClientService);
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -114,6 +114,10 @@ export * from './lib/forgot-password/forgot-password.module';
|
|
|
114
114
|
export * from './lib/login/login.module';
|
|
115
115
|
export * from './lib/profile/profile.module';
|
|
116
116
|
export * from './lib/role/role.module';
|
|
117
|
+
export * from './lib/role/role-view/role-view.module';
|
|
118
|
+
export * from './lib/role/role-view/role-view.component';
|
|
119
|
+
export * from './lib/role/role-form-button.component';
|
|
120
|
+
export * from './lib/role/role-form.component';
|
|
117
121
|
export * from './lib/role/permission/permission.module';
|
|
118
122
|
export * from './lib/signup/signup.module';
|
|
119
123
|
export * from './lib/user-selector/user-selector.module';
|