@posiwise/admin-module 0.0.190 → 0.0.193
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/posiwise-admin-module.mjs +380 -353
- package/fesm2022/posiwise-admin-module.mjs.map +1 -1
- package/lib/components/subscriptions/subscription-products/subscription-products.component.d.ts +3 -0
- package/lib/components/subscriptions/subscription-users/subscription-users.component.d.ts +4 -0
- package/package.json +1 -1
package/lib/components/subscriptions/subscription-products/subscription-products.component.d.ts
CHANGED
|
@@ -55,10 +55,13 @@ export declare class SubscriptionProductsComponent extends AppBaseComponent impl
|
|
|
55
55
|
subscriptionProducts: any[];
|
|
56
56
|
currency: any[];
|
|
57
57
|
totalRecordsUnFiltered: number;
|
|
58
|
+
/** Subscription-level deleted flag from API (response.deleted) */
|
|
59
|
+
isSubscriptionDeleted: boolean;
|
|
58
60
|
constructor(subscriptionService: SubscriptionService, injector: Injector, productService: ProductService);
|
|
59
61
|
ngOnInit(): void;
|
|
60
62
|
private getSupportedCurrency;
|
|
61
63
|
private getSubscriptionDetails;
|
|
64
|
+
canShowEdit(): boolean;
|
|
62
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionProductsComponent, never>;
|
|
63
66
|
static ɵcmp: i0.ɵɵComponentDeclaration<SubscriptionProductsComponent, "pw-subscription-products", never, {}, {}, never, never, false, never>;
|
|
64
67
|
}
|
|
@@ -72,8 +72,12 @@ export declare class SubscriptionUsersComponent extends AppBaseComponent impleme
|
|
|
72
72
|
isAddEnabled: boolean;
|
|
73
73
|
user: any;
|
|
74
74
|
isUserSubscriptionSuperAdmin: boolean;
|
|
75
|
+
isSubscriptionDeleted: boolean;
|
|
76
|
+
/** Set when subscription is loaded; when deleted, only SuperAdmin sees row actions */
|
|
77
|
+
canShowSubscriptionActions: boolean;
|
|
75
78
|
constructor(subscriptionService: SubscriptionService, injector: Injector, cdr: ChangeDetectorRef, authService: AuthService, windowService: WindowService, adminService: AdminService, toaster: CustomToastService);
|
|
76
79
|
ngOnInit(): void;
|
|
80
|
+
private updateCanShowSubscriptionActions;
|
|
77
81
|
ngAfterViewChecked(): void;
|
|
78
82
|
onLazyLoad(event: LazyLoadEvent): void;
|
|
79
83
|
makeAdmin(user: any, value: boolean): void;
|