ngx-techlify-core 18.31.0 → 18.32.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/audit-log/audit-log-for-model/audit-log-for-model.component.mjs +4 -3
- package/esm2022/lib/audit-log/audit-log-for-model/audit-log-for-model.module.mjs +7 -3
- package/esm2022/lib/export-excel/export-excel-button/export-excel-button.component.mjs +2 -2
- package/esm2022/lib/role/permission/permissions-management.component.mjs +2 -8
- package/esm2022/lib/role/role-form.component.mjs +4 -10
- package/esm2022/lib/role/role.model.mjs +1 -1
- package/esm2022/lib/role/roles-view-all.component.mjs +3 -10
- package/esm2022/lib/subscription/subscription-package-listing/subscription-package-listing.component.mjs +48 -26
- package/esm2022/lib/subscription/subscription-package-listing/subscription-package-listing.module.mjs +8 -4
- package/esm2022/lib/subscription/subscription.service.mjs +2 -2
- package/esm2022/lib/subscription/techlify-subscription.directive.mjs +11 -10
- package/esm2022/lib/techlify-icon/techlify-icon.component.mjs +2 -1
- package/esm2022/lib/timeline-filter/timeline-filter.component.mjs +6 -6
- package/esm2022/lib/user/user-form.component.mjs +6 -13
- package/esm2022/lib/user-selector/user-selector.component.mjs +2 -7
- package/fesm2022/ngx-techlify-core.mjs +71 -72
- package/fesm2022/ngx-techlify-core.mjs.map +1 -1
- package/lib/audit-log/audit-log-for-model/audit-log-for-model.module.d.ts +2 -1
- package/lib/role/permission/permissions-management.component.d.ts +0 -1
- package/lib/role/role.model.d.ts +0 -2
- package/lib/role/roles-view-all.component.d.ts +0 -1
- package/lib/subscription/subscription-package-listing/subscription-package-listing.component.d.ts +4 -2
- package/lib/subscription/subscription-package-listing/subscription-package-listing.module.d.ts +2 -1
- package/lib/subscription/techlify-subscription.directive.d.ts +5 -4
- package/lib/timeline-filter/timeline-filter.component.d.ts +1 -1
- package/lib/user/user-form.component.d.ts +0 -2
- package/lib/user-selector/user-selector.component.d.ts +1 -2
- package/package.json +1 -1
- package/styles/style.scss +6 -0
|
@@ -6,8 +6,9 @@ import * as i4 from "@angular/common";
|
|
|
6
6
|
import * as i5 from "./audit-log-for-model-routing.module";
|
|
7
7
|
import * as i6 from "@angular/flex-layout";
|
|
8
8
|
import * as i7 from "../../material.module";
|
|
9
|
+
import * as i8 from "../../techlify-icon/techlify-icon.module";
|
|
9
10
|
export declare class AuditLogForModelModule {
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<AuditLogForModelModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AuditLogForModelModule, [typeof i1.AuditLogForModelComponent], [typeof i2.AuditLogViewModelModule, typeof i3.AuditLogsViewModelModule, typeof i4.CommonModule, typeof i5.AuditLogForModelRoutingModule, typeof i6.FlexLayoutModule, typeof i7.MaterialModule], [typeof i1.AuditLogForModelComponent]>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AuditLogForModelModule, [typeof i1.AuditLogForModelComponent], [typeof i2.AuditLogViewModelModule, typeof i3.AuditLogsViewModelModule, typeof i4.CommonModule, typeof i5.AuditLogForModelRoutingModule, typeof i6.FlexLayoutModule, typeof i7.MaterialModule, typeof i8.TechlifyIconModule], [typeof i1.AuditLogForModelComponent]>;
|
|
12
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<AuditLogForModelModule>;
|
|
13
14
|
}
|
package/lib/role/role.model.d.ts
CHANGED
|
@@ -9,13 +9,11 @@ export declare class Role {
|
|
|
9
9
|
id: number;
|
|
10
10
|
slug: string;
|
|
11
11
|
label: string;
|
|
12
|
-
module_id: number;
|
|
13
12
|
selected: boolean;
|
|
14
13
|
is_global: boolean;
|
|
15
14
|
is_editable: boolean;
|
|
16
15
|
permissions: Permission[];
|
|
17
16
|
permissionsModel: any;
|
|
18
|
-
module_code: string;
|
|
19
17
|
constructor();
|
|
20
18
|
loadFromJson(data: any): void;
|
|
21
19
|
hasPermission(perm: string): boolean;
|
package/lib/subscription/subscription-package-listing/subscription-package-listing.component.d.ts
CHANGED
|
@@ -4,23 +4,25 @@ import { ActivatedRoute, Router } from '@angular/router';
|
|
|
4
4
|
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
5
5
|
import { TechlifyListingControllerInterface } from '../../base-model/techlify-listing-component.class';
|
|
6
6
|
import { FilterService } from '../../core/filter.service';
|
|
7
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class SubscriptionPackageListingComponent extends TechlifyListingControllerInterface implements OnInit {
|
|
9
10
|
private subscriptionPackageService;
|
|
10
11
|
private activatedRoute;
|
|
11
12
|
private filterService;
|
|
12
13
|
private router;
|
|
14
|
+
private dialog;
|
|
13
15
|
private fb;
|
|
14
16
|
displayedColumns: string[];
|
|
15
17
|
isWorking: boolean;
|
|
16
18
|
filterFormGroup: UntypedFormGroup;
|
|
17
|
-
constructor(subscriptionPackageService: SubscriptionPackageService, activatedRoute: ActivatedRoute, filterService: FilterService, router: Router, fb: UntypedFormBuilder);
|
|
19
|
+
constructor(subscriptionPackageService: SubscriptionPackageService, activatedRoute: ActivatedRoute, filterService: FilterService, router: Router, dialog: MatDialog, fb: UntypedFormBuilder);
|
|
18
20
|
ngOnInit(): void;
|
|
19
21
|
listenForChanges(): void;
|
|
20
22
|
patchFilters(): void;
|
|
21
23
|
loadData(): void;
|
|
22
24
|
sortColumn(event: any): void;
|
|
23
|
-
|
|
25
|
+
confirmToggle(event: any, subscriptionPackage: any): void;
|
|
24
26
|
navigateToView(subscriptionPackage: any): void;
|
|
25
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionPackageListingComponent, never>;
|
|
26
28
|
static ɵcmp: i0.ɵɵComponentDeclaration<SubscriptionPackageListingComponent, "app-subscription-package-listing", never, {}, {}, never, never, false, never>;
|
package/lib/subscription/subscription-package-listing/subscription-package-listing.module.d.ts
CHANGED
|
@@ -7,8 +7,9 @@ import * as i5 from "../../material.module";
|
|
|
7
7
|
import * as i6 from "../../searchable-selector/searchable-selector.module";
|
|
8
8
|
import * as i7 from "@angular/flex-layout";
|
|
9
9
|
import * as i8 from "ngx-infinite-scroll";
|
|
10
|
+
import * as i9 from "../../techlify-icon/techlify-icon.module";
|
|
10
11
|
export declare class SubscriptionPackageListingModule {
|
|
11
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionPackageListingModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SubscriptionPackageListingModule, [typeof i1.SubscriptionPackageListingComponent], [typeof i2.CommonModule, typeof i3.SubscriptionPackageListingRoutingModule, typeof i4.ReactiveFormsModule, typeof i5.MaterialModule, typeof i6.SearchableSelectorModule, typeof i7.FlexLayoutModule, typeof i8.InfiniteScrollModule], never>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SubscriptionPackageListingModule, [typeof i1.SubscriptionPackageListingComponent], [typeof i2.CommonModule, typeof i3.SubscriptionPackageListingRoutingModule, typeof i4.ReactiveFormsModule, typeof i5.MaterialModule, typeof i6.SearchableSelectorModule, typeof i7.FlexLayoutModule, typeof i8.InfiniteScrollModule, typeof i9.TechlifyIconModule], never>;
|
|
13
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<SubscriptionPackageListingModule>;
|
|
14
15
|
}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { SubscriptionService } from './subscription.service';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class TechlifySubscriptionDirective {
|
|
5
|
-
private
|
|
5
|
+
private templateRef;
|
|
6
|
+
private viewContainer;
|
|
6
7
|
private subscriptionService;
|
|
7
8
|
subscriptions: any[];
|
|
8
|
-
constructor(
|
|
9
|
+
constructor(templateRef: TemplateRef<any>, viewContainer: ViewContainerRef, subscriptionService: SubscriptionService);
|
|
9
10
|
ngOnInit(): void;
|
|
10
11
|
checkForSubscriptionsEnabled(): void;
|
|
11
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<TechlifySubscriptionDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TechlifySubscriptionDirective, "[
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TechlifySubscriptionDirective, "[ngxHasTechlifySubcription]", never, { "subscriptions": { "alias": "ngxHasTechlifySubcription"; "required": false; }; }, {}, never, never, false, never>;
|
|
13
14
|
}
|
|
@@ -34,13 +34,13 @@ export declare class TimelineFilterComponent implements OnInit, ControlValueAcce
|
|
|
34
34
|
id: string;
|
|
35
35
|
describedBy: string;
|
|
36
36
|
focused: boolean;
|
|
37
|
-
isCustomSelected: boolean;
|
|
38
37
|
private _required;
|
|
39
38
|
private _disabled;
|
|
40
39
|
onChange: any;
|
|
41
40
|
onTouched: any;
|
|
42
41
|
selectedRangeLabel: string;
|
|
43
42
|
get timelineValue(): import("@angular/forms").AbstractControl<any, any>;
|
|
43
|
+
get isCustomSelected(): boolean;
|
|
44
44
|
get customDateFrom(): import("@angular/forms").AbstractControl<any, any>;
|
|
45
45
|
get customDateTo(): import("@angular/forms").AbstractControl<any, any>;
|
|
46
46
|
constructor(formBuilder: UntypedFormBuilder, ngControl: NgControl, datePipe: DatePipe);
|
|
@@ -13,7 +13,6 @@ export declare class UserSelectorComponent implements ControlValueAccessor {
|
|
|
13
13
|
clientId: number;
|
|
14
14
|
id: string;
|
|
15
15
|
isRequired: boolean;
|
|
16
|
-
moduleId: number;
|
|
17
16
|
idChange: EventEmitter<string>;
|
|
18
17
|
filters: any;
|
|
19
18
|
onChange: any;
|
|
@@ -25,5 +24,5 @@ export declare class UserSelectorComponent implements ControlValueAccessor {
|
|
|
25
24
|
registerOnTouched(fn: any): void;
|
|
26
25
|
itemSelected(): void;
|
|
27
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserSelectorComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UserSelectorComponent, "user-selector", never, { "_value": { "alias": "value"; "required": false; }; "clientId": { "alias": "clientId"; "required": false; }; "id": { "alias": "id"; "required": false; }; "isRequired": { "alias": "isRequired"; "required": false; };
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserSelectorComponent, "user-selector", never, { "_value": { "alias": "value"; "required": false; }; "clientId": { "alias": "clientId"; "required": false; }; "id": { "alias": "id"; "required": false; }; "isRequired": { "alias": "isRequired"; "required": false; }; }, { "idChange": "idChange"; }, never, never, false, never>;
|
|
29
28
|
}
|
package/package.json
CHANGED
package/styles/style.scss
CHANGED