@posiwise/admin-module 0.0.255 → 0.0.256

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@posiwise/admin-module",
3
- "version": "0.0.255",
3
+ "version": "0.0.256",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^22.2.0",
6
6
  "@angular/core": "^22.2.0",
@@ -13,7 +13,6 @@ import { CdkDragDrop } from "@angular/cdk/drag-drop";
13
13
  import { CustomUploaderComponent } from "@posiwise/utils";
14
14
  import * as i130 from "@ng-bootstrap/ng-bootstrap";
15
15
  import { NgbActiveModal, NgbDateParserFormatter, NgbDatepickerConfig, NgbModal } from "@ng-bootstrap/ng-bootstrap";
16
- import { HasUnsavedChanges, UnsavedChangesService } from "@posiwise/core-guards";
17
16
  import { Observable } from "rxjs";
18
17
  import { TranslocoService } from "@jsverse/transloco";
19
18
  import * as i132 from "@angular/common";
@@ -48,8 +47,9 @@ import * as i137 from "@posiwise/pipes";
48
47
  import * as i139 from "@posiwise/directives";
49
48
  import * as i1 from "@angular/router";
50
49
  import { ActivatedRouteSnapshot, Route, Router, RouterStateSnapshot } from "@angular/router";
51
- import * as i142 from "ngx-pagination";
52
- import * as i143 from "ngx-quill";
50
+ import * as i142 from "@posiwise/core-guards";
51
+ import * as i143 from "ngx-pagination";
52
+ import * as i144 from "ngx-quill";
53
53
  declare namespace users_tabs_component_d_exports {
54
54
  export { UserTabComponent };
55
55
  }
@@ -1314,15 +1314,13 @@ export declare class LoginNotificationsListComponent extends AppBaseComponent im
1314
1314
  declare namespace login_notification_details_component_d_exports {
1315
1315
  export { LoginNotificationDetailsComponent };
1316
1316
  }
1317
- export declare class LoginNotificationDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy, HasUnsavedChanges {
1317
+ export declare class LoginNotificationDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
1318
1318
  private readonly cdr;
1319
1319
  private readonly adminService;
1320
1320
  private readonly productService;
1321
- private readonly unsavedChanges;
1322
1321
  form: UntypedFormGroup;
1323
1322
  submitted: boolean;
1324
1323
  buttonBusy: boolean;
1325
- saved: boolean;
1326
1324
  id: number;
1327
1325
  routers: {
1328
1326
  globalConfigDetails: string;
@@ -1373,11 +1371,8 @@ export declare class LoginNotificationDetailsComponent extends AppBaseComponent
1373
1371
  loginNotificationTypes$: Observable<string>;
1374
1372
  isLoading: boolean;
1375
1373
  featureKeys: any[];
1376
- private unregisterUnsaved;
1377
- constructor(injector: Injector, cdr: ChangeDetectorRef, adminService: AdminService, productService: ProductService, unsavedChanges: UnsavedChangesService);
1374
+ constructor(injector: Injector, cdr: ChangeDetectorRef, adminService: AdminService, productService: ProductService);
1378
1375
  ngOnInit(): void;
1379
- ngOnDestroy(): void;
1380
- hasUnsavedChanges(): boolean;
1381
1376
  get f(): {
1382
1377
  [key: string]: import("@angular/forms").AbstractControl<any, any, any>;
1383
1378
  };
@@ -1609,9 +1604,8 @@ declare class FeatureFlagsListComponent extends AppBaseComponent {
1609
1604
  declare namespace feature_flag_details_component_d_exports {
1610
1605
  export { FeatureFlagDetailsComponent };
1611
1606
  }
1612
- declare class FeatureFlagDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy, HasUnsavedChanges {
1607
+ declare class FeatureFlagDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
1613
1608
  private readonly adminService;
1614
- private readonly unsavedChanges;
1615
1609
  form: import("@angular/forms").UntypedFormGroup;
1616
1610
  routers: {
1617
1611
  globalConfigDetails: string;
@@ -1662,17 +1656,13 @@ declare class FeatureFlagDetailsComponent extends AppBaseComponent implements On
1662
1656
  isLoading: boolean;
1663
1657
  submitted: boolean;
1664
1658
  buttonBusy: boolean;
1665
- saved: boolean;
1666
1659
  flagTypeOptions: any[];
1667
1660
  statusOptions: any[];
1668
1661
  allUsers: any[];
1669
1662
  filteredUsers: any[];
1670
1663
  subscriptionId: number;
1671
- private unregisterUnsaved;
1672
- constructor(injector: Injector, adminService: AdminService, unsavedChanges: UnsavedChangesService);
1664
+ constructor(injector: Injector, adminService: AdminService);
1673
1665
  ngOnInit(): void;
1674
- ngOnDestroy(): void;
1675
- hasUnsavedChanges(): boolean;
1676
1666
  loadSupportedOptions(): void;
1677
1667
  loadOwners(): void;
1678
1668
  searchOwners(event: any): void;
@@ -4296,21 +4286,17 @@ export declare class TermsOfServiceTabsComponent {
4296
4286
  declare namespace terms_of_service_details_component_d_exports {
4297
4287
  export { TermsOfServiceDetailsComponent };
4298
4288
  }
4299
- export declare class TermsOfServiceDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewInit, HasUnsavedChanges {
4289
+ export declare class TermsOfServiceDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewInit {
4300
4290
  private readonly adminService;
4301
4291
  private readonly cdr;
4302
- private readonly unsavedChanges;
4303
4292
  form: UntypedFormGroup;
4304
4293
  id: number;
4305
4294
  data: PrivacyTos;
4306
4295
  isLoading: boolean;
4307
4296
  submitted: boolean;
4308
- saved: boolean;
4309
4297
  editorConfig: any;
4310
- private unregisterUnsaved;
4311
- constructor(adminService: AdminService, injector: Injector, cdr: ChangeDetectorRef, unsavedChanges: UnsavedChangesService);
4298
+ constructor(adminService: AdminService, injector: Injector, cdr: ChangeDetectorRef);
4312
4299
  ngOnInit(): void;
4313
- hasUnsavedChanges(): boolean;
4314
4300
  ngAfterViewInit(): void;
4315
4301
  onSave(): void;
4316
4302
  get f(): {
@@ -4318,7 +4304,6 @@ export declare class TermsOfServiceDetailsComponent extends AppBaseComponent imp
4318
4304
  };
4319
4305
  /** Function to call TosDetails */
4320
4306
  private getTosDetails;
4321
- ngOnDestroy(): void;
4322
4307
  static ɵfac: i0.ɵɵFactoryDeclaration<TermsOfServiceDetailsComponent, never>;
4323
4308
  static ɵcmp: i0.ɵɵComponentDeclaration<TermsOfServiceDetailsComponent, "pw-terms-of-service-details", never, {}, {}, never, never, false, never>;
4324
4309
  }
@@ -4886,14 +4871,12 @@ declare class OauthClientsComponent extends AppBaseComponent implements OnInit {
4886
4871
  declare namespace oauth_clients_details_component_d_exports {
4887
4872
  export { OauthClientsDetailsComponent };
4888
4873
  }
4889
- declare class OauthClientsDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy, HasUnsavedChanges {
4874
+ declare class OauthClientsDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
4890
4875
  private readonly fb;
4891
4876
  private readonly oauthClientService;
4892
4877
  private readonly cdr;
4893
- private readonly unsavedChanges;
4894
4878
  form: FormGroup;
4895
4879
  submitting: boolean;
4896
- saved: boolean;
4897
4880
  /** Set in edit mode — the record being edited. null while creating. */
4898
4881
  editId: number | null;
4899
4882
  /** Gates the form in edit mode until the client is fetched (AI54). */
@@ -4945,11 +4928,8 @@ declare class OauthClientsDetailsComponent extends AppBaseComponent implements O
4945
4928
  posts: string;
4946
4929
  resourcesList: string;
4947
4930
  };
4948
- private unregisterUnsaved;
4949
- constructor(fb: FormBuilder, oauthClientService: McpOauthClientService, injector: Injector, cdr: ChangeDetectorRef, unsavedChanges: UnsavedChangesService);
4931
+ constructor(fb: FormBuilder, oauthClientService: McpOauthClientService, injector: Injector, cdr: ChangeDetectorRef);
4950
4932
  ngOnInit(): void;
4951
- ngOnDestroy(): void;
4952
- hasUnsavedChanges(): boolean;
4953
4933
  /** In edit mode the client_id is immutable and is not part of the editable form. */
4954
4934
  private loadClient;
4955
4935
  onSubmit(): void;
@@ -6157,7 +6137,7 @@ export declare class AdminRoutingModule {
6157
6137
  }
6158
6138
  export declare class AdminModule {
6159
6139
  static ɵfac: i0.ɵɵFactoryDeclaration<AdminModule, never>;
6160
- static ɵmod: i0.ɵɵNgModuleDeclaration<AdminModule, [typeof UserTabComponent, typeof SubscriptionComponent, typeof MailerComponent, typeof MailerListComponent, typeof MailerDetailsComponent, typeof NewsletterComponent, typeof FaqListComponent, typeof DomainConfigListComponent, typeof DomainConfigDetailsComponent, typeof DomainConfigBuildComponent, typeof DomainConfigCoreComponent, typeof DomainConfigOrganizationComponent, typeof DomainConfigSecurityComponent, typeof DomainConfigSocialComponent, typeof DomainConfigIntegrationsComponent, typeof DomainConfigInterfaceComponent, typeof DomainConfigTabsComponent, typeof LoginNotificationTabsComponent, typeof LoginNotificationsListComponent, typeof LoginNotificationDetailsComponent, typeof FeedbackQuestionsListComponent, typeof FeedbackQuestionsDetailsComponent, typeof FeatureFlagsListComponent, typeof FeatureFlagDetailsComponent, typeof FeatureFlagRulesComponent, typeof FeatureFlagsTabsComponent, typeof UserDetailsComponent, typeof ProductsTabComponent, typeof SubscriptionDetailsComponent, typeof NewsletterDetailsComponent, typeof NewsletterItemDetailsComponent, typeof NewsLetterItemViewComponent, typeof ProductDetailsComponent, typeof ProductBackupCardComponent, typeof RoleDetailsComponent, typeof TagsTabsComponent, typeof TipComponent, typeof TipsComponent, typeof AgentDetailsComponent, typeof UserListComponent, typeof RolesListComponent, typeof SubscriptionsListComponent, typeof InviteUsersComponent, typeof SubscriptionProductDetailsComponent, typeof InsightComponent, typeof SubscriptionInsightNpsComponent, typeof SubscriptionInsightAveragePriceComponent, typeof SubscriptionInsightProcuctSessionComponent, typeof SubscriptionInsightUserSessionComponent, typeof SubscriptionInsightAverageUserComponent, typeof SubscriptionInsightRevenueComponent, typeof SubscriptionInsightChurnComponent, typeof ProductsListComponent, typeof ProductInsightComponent, typeof OnboardingStepsComponent, typeof OnboardingStepFormComponent, typeof ResourcesAdminIndexComponent, typeof ResourceAdminDetailsComponent, typeof TagDetailsComponent, typeof ResourcesIndexComponent, typeof ResourcesInsightComponent, typeof ResourcesListsInsightComponent, typeof NewslettersListComponent, typeof NewslettersItemsComponent, typeof NewsletterInsightComponent, typeof UserInsightComponent, typeof TagsCategoryComponent, typeof TagsListComponent, typeof TipsTabsComponent, typeof GenericMiscComponent, typeof GenericInsightComponent, typeof FaqTabsComponent, typeof ContactUsTabsComponent, typeof GeneralTabsComponent, typeof PermissionsListComponent, typeof PermissionsDetailsComponent, typeof PermissionsTabsComponent, typeof TermsOfServiceComponent, typeof TermsOfServiceTabsComponent, typeof TermsOfServiceDetailsComponent, typeof CredentialsComponent, typeof SubscriptionCredentialsComponent, typeof SubscriptionCredentialsDetailsComponent, typeof CredentialsDetailsComponent, typeof CredentialsTabComponent, typeof AmbassadorPayoutsTabsComponent, typeof AmbassadorPayoutsListComponent, typeof AmbassadorPayoutDetailsComponent, typeof OauthClientsTabsComponent, typeof OauthClientsComponent, typeof OauthClientsDetailsComponent, typeof AhoyEventsComponent, typeof TrackingComponent, typeof AhoyMessagesComponent, typeof AhoyVisitsComponent, typeof EventsComponent, typeof VersionsComponent, typeof UsersListForProductComponent, typeof NewsletterUsersListComponent, typeof GlobalConfigListComponent, typeof GlobalConfigDetailsComponent, typeof GlobalConfigTabsComponent, typeof SubscriptionProductsComponent, typeof SubscriptionUsersComponent, typeof AddMembersComponent, typeof SubscriptionAgentsListComponent, typeof SubscriptionInvoicesComponent, typeof SubscriptionInsightTabsComponent, typeof ContactUsListComponent, typeof IncidentListComponent, typeof IncidentTabsComponent, typeof AddEditIncidentComponent, typeof AddEditFaqComponent, typeof UsersInformationSidebarComponent], [typeof i115.TableModule, typeof i116.TooltipModule, typeof i117.AccordionModule, typeof i118.AutoCompleteModule, typeof i119.SelectModule, typeof i120.MultiSelectModule, typeof i121.InputTextModule, typeof i122.IconFieldModule, typeof i123.InputIconModule, typeof i124.AppLoaderModule, typeof i125.NgxDaterangepickerMd, typeof i126.NgxJsonViewerModule, typeof i127.DatePickerModule, typeof i128.PlotlyViaCDNModule, typeof i129.FileUploadModule, typeof i130.NgbTooltipModule, typeof i131.NgxUploaderModule, typeof i132.CommonModule, typeof i133.UiSwitchModule, typeof i134.SharedComponentsModule, typeof i134.CollapsibleSidebarTriggerDirective, typeof i135.NgxGpAutocompleteModule, typeof i136.CoreTranslocoModule, typeof i137.PipesModule, typeof KpiInsightPipe, typeof i139.DirectivesModule, typeof AdminRoutingModule, typeof i130.NgbModalModule, typeof i141.FormsModule, typeof i141.ReactiveFormsModule, typeof i142.NgxPaginationModule, typeof i130.NgbNavModule, typeof i130.NgbDatepickerModule, typeof i143.QuillModule], never>;
6140
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AdminModule, [typeof UserTabComponent, typeof SubscriptionComponent, typeof MailerComponent, typeof MailerListComponent, typeof MailerDetailsComponent, typeof NewsletterComponent, typeof FaqListComponent, typeof DomainConfigListComponent, typeof DomainConfigDetailsComponent, typeof DomainConfigBuildComponent, typeof DomainConfigCoreComponent, typeof DomainConfigOrganizationComponent, typeof DomainConfigSecurityComponent, typeof DomainConfigSocialComponent, typeof DomainConfigIntegrationsComponent, typeof DomainConfigInterfaceComponent, typeof DomainConfigTabsComponent, typeof LoginNotificationTabsComponent, typeof LoginNotificationsListComponent, typeof LoginNotificationDetailsComponent, typeof FeedbackQuestionsListComponent, typeof FeedbackQuestionsDetailsComponent, typeof FeatureFlagsListComponent, typeof FeatureFlagDetailsComponent, typeof FeatureFlagRulesComponent, typeof FeatureFlagsTabsComponent, typeof UserDetailsComponent, typeof ProductsTabComponent, typeof SubscriptionDetailsComponent, typeof NewsletterDetailsComponent, typeof NewsletterItemDetailsComponent, typeof NewsLetterItemViewComponent, typeof ProductDetailsComponent, typeof ProductBackupCardComponent, typeof RoleDetailsComponent, typeof TagsTabsComponent, typeof TipComponent, typeof TipsComponent, typeof AgentDetailsComponent, typeof UserListComponent, typeof RolesListComponent, typeof SubscriptionsListComponent, typeof InviteUsersComponent, typeof SubscriptionProductDetailsComponent, typeof InsightComponent, typeof SubscriptionInsightNpsComponent, typeof SubscriptionInsightAveragePriceComponent, typeof SubscriptionInsightProcuctSessionComponent, typeof SubscriptionInsightUserSessionComponent, typeof SubscriptionInsightAverageUserComponent, typeof SubscriptionInsightRevenueComponent, typeof SubscriptionInsightChurnComponent, typeof ProductsListComponent, typeof ProductInsightComponent, typeof OnboardingStepsComponent, typeof OnboardingStepFormComponent, typeof ResourcesAdminIndexComponent, typeof ResourceAdminDetailsComponent, typeof TagDetailsComponent, typeof ResourcesIndexComponent, typeof ResourcesInsightComponent, typeof ResourcesListsInsightComponent, typeof NewslettersListComponent, typeof NewslettersItemsComponent, typeof NewsletterInsightComponent, typeof UserInsightComponent, typeof TagsCategoryComponent, typeof TagsListComponent, typeof TipsTabsComponent, typeof GenericMiscComponent, typeof GenericInsightComponent, typeof FaqTabsComponent, typeof ContactUsTabsComponent, typeof GeneralTabsComponent, typeof PermissionsListComponent, typeof PermissionsDetailsComponent, typeof PermissionsTabsComponent, typeof TermsOfServiceComponent, typeof TermsOfServiceTabsComponent, typeof TermsOfServiceDetailsComponent, typeof CredentialsComponent, typeof SubscriptionCredentialsComponent, typeof SubscriptionCredentialsDetailsComponent, typeof CredentialsDetailsComponent, typeof CredentialsTabComponent, typeof AmbassadorPayoutsTabsComponent, typeof AmbassadorPayoutsListComponent, typeof AmbassadorPayoutDetailsComponent, typeof OauthClientsTabsComponent, typeof OauthClientsComponent, typeof OauthClientsDetailsComponent, typeof AhoyEventsComponent, typeof TrackingComponent, typeof AhoyMessagesComponent, typeof AhoyVisitsComponent, typeof EventsComponent, typeof VersionsComponent, typeof UsersListForProductComponent, typeof NewsletterUsersListComponent, typeof GlobalConfigListComponent, typeof GlobalConfigDetailsComponent, typeof GlobalConfigTabsComponent, typeof SubscriptionProductsComponent, typeof SubscriptionUsersComponent, typeof AddMembersComponent, typeof SubscriptionAgentsListComponent, typeof SubscriptionInvoicesComponent, typeof SubscriptionInsightTabsComponent, typeof ContactUsListComponent, typeof IncidentListComponent, typeof IncidentTabsComponent, typeof AddEditIncidentComponent, typeof AddEditFaqComponent, typeof UsersInformationSidebarComponent], [typeof i115.TableModule, typeof i116.TooltipModule, typeof i117.AccordionModule, typeof i118.AutoCompleteModule, typeof i119.SelectModule, typeof i120.MultiSelectModule, typeof i121.InputTextModule, typeof i122.IconFieldModule, typeof i123.InputIconModule, typeof i124.AppLoaderModule, typeof i125.NgxDaterangepickerMd, typeof i126.NgxJsonViewerModule, typeof i127.DatePickerModule, typeof i128.PlotlyViaCDNModule, typeof i129.FileUploadModule, typeof i130.NgbTooltipModule, typeof i131.NgxUploaderModule, typeof i132.CommonModule, typeof i133.UiSwitchModule, typeof i134.SharedComponentsModule, typeof i134.CollapsibleSidebarTriggerDirective, typeof i135.NgxGpAutocompleteModule, typeof i136.CoreTranslocoModule, typeof i137.PipesModule, typeof KpiInsightPipe, typeof i139.DirectivesModule, typeof AdminRoutingModule, typeof i130.NgbModalModule, typeof i141.FormsModule, typeof i141.ReactiveFormsModule, typeof i142.TrackDirtyFormDirective, typeof i143.NgxPaginationModule, typeof i130.NgbNavModule, typeof i130.NgbDatepickerModule, typeof i144.QuillModule], never>;
6161
6141
  static ɵinj: i0.ɵɵInjectorDeclaration<AdminModule>;
6162
6142
  }
6163
6143
  export declare class AdminGuardService {