@posiwise/admin-module 0.0.255 → 0.0.257

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.257",
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;
@@ -2534,7 +2524,8 @@ export declare class UserListComponent extends UsersListBaseComponent implements
2534
2524
  passwordValidationModalForRemove2fa: PasswordValidationComponent;
2535
2525
  currentUser: User;
2536
2526
  userToImpersonate: User;
2537
- chatPermission: string;
2527
+ /** Chat permission for the selected product, read at render time (#4228). */
2528
+ get chatPermission(): string | null;
2538
2529
  remove2faUserId: number;
2539
2530
  routers: {
2540
2531
  globalConfigDetails: string;
@@ -3312,7 +3303,7 @@ declare class OnboardingStepsComponent extends AppBaseComponent implements OnIni
3312
3303
  /** Runs a change, then shows the list it answers with, or reloads the list when it answers with none. */
3313
3304
  private run;
3314
3305
  private source;
3315
- private refresh;
3306
+ private settle;
3316
3307
  static ɵfac: i0.ɵɵFactoryDeclaration<OnboardingStepsComponent, [null, null, null, null, null, null, {
3317
3308
  optional: true;
3318
3309
  }]>;
@@ -3611,8 +3602,9 @@ declare class ResourcesIndexComponent extends AppBaseComponent implements OnInit
3611
3602
  posts: string;
3612
3603
  resourcesList: string;
3613
3604
  };
3614
- blogPermission: string;
3615
- isBlogAdmin: string;
3605
+ /** Blog permissions for the selected product, read at render time (#4228). */
3606
+ get blogPermission(): string | null;
3607
+ get isBlogAdmin(): string | null;
3616
3608
  constructor(adminService: AdminService, tagService: TagService, injector: Injector, cdr: ChangeDetectorRef, confirmDialog: ConfirmDialogService);
3617
3609
  ngOnInit(): void;
3618
3610
  getTags(): void;
@@ -4296,21 +4288,17 @@ export declare class TermsOfServiceTabsComponent {
4296
4288
  declare namespace terms_of_service_details_component_d_exports {
4297
4289
  export { TermsOfServiceDetailsComponent };
4298
4290
  }
4299
- export declare class TermsOfServiceDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewInit, HasUnsavedChanges {
4291
+ export declare class TermsOfServiceDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewInit {
4300
4292
  private readonly adminService;
4301
4293
  private readonly cdr;
4302
- private readonly unsavedChanges;
4303
4294
  form: UntypedFormGroup;
4304
4295
  id: number;
4305
4296
  data: PrivacyTos;
4306
4297
  isLoading: boolean;
4307
4298
  submitted: boolean;
4308
- saved: boolean;
4309
4299
  editorConfig: any;
4310
- private unregisterUnsaved;
4311
- constructor(adminService: AdminService, injector: Injector, cdr: ChangeDetectorRef, unsavedChanges: UnsavedChangesService);
4300
+ constructor(adminService: AdminService, injector: Injector, cdr: ChangeDetectorRef);
4312
4301
  ngOnInit(): void;
4313
- hasUnsavedChanges(): boolean;
4314
4302
  ngAfterViewInit(): void;
4315
4303
  onSave(): void;
4316
4304
  get f(): {
@@ -4318,7 +4306,6 @@ export declare class TermsOfServiceDetailsComponent extends AppBaseComponent imp
4318
4306
  };
4319
4307
  /** Function to call TosDetails */
4320
4308
  private getTosDetails;
4321
- ngOnDestroy(): void;
4322
4309
  static ɵfac: i0.ɵɵFactoryDeclaration<TermsOfServiceDetailsComponent, never>;
4323
4310
  static ɵcmp: i0.ɵɵComponentDeclaration<TermsOfServiceDetailsComponent, "pw-terms-of-service-details", never, {}, {}, never, never, false, never>;
4324
4311
  }
@@ -4886,14 +4873,12 @@ declare class OauthClientsComponent extends AppBaseComponent implements OnInit {
4886
4873
  declare namespace oauth_clients_details_component_d_exports {
4887
4874
  export { OauthClientsDetailsComponent };
4888
4875
  }
4889
- declare class OauthClientsDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy, HasUnsavedChanges {
4876
+ declare class OauthClientsDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
4890
4877
  private readonly fb;
4891
4878
  private readonly oauthClientService;
4892
4879
  private readonly cdr;
4893
- private readonly unsavedChanges;
4894
4880
  form: FormGroup;
4895
4881
  submitting: boolean;
4896
- saved: boolean;
4897
4882
  /** Set in edit mode — the record being edited. null while creating. */
4898
4883
  editId: number | null;
4899
4884
  /** Gates the form in edit mode until the client is fetched (AI54). */
@@ -4945,11 +4930,8 @@ declare class OauthClientsDetailsComponent extends AppBaseComponent implements O
4945
4930
  posts: string;
4946
4931
  resourcesList: string;
4947
4932
  };
4948
- private unregisterUnsaved;
4949
- constructor(fb: FormBuilder, oauthClientService: McpOauthClientService, injector: Injector, cdr: ChangeDetectorRef, unsavedChanges: UnsavedChangesService);
4933
+ constructor(fb: FormBuilder, oauthClientService: McpOauthClientService, injector: Injector, cdr: ChangeDetectorRef);
4950
4934
  ngOnInit(): void;
4951
- ngOnDestroy(): void;
4952
- hasUnsavedChanges(): boolean;
4953
4935
  /** In edit mode the client_id is immutable and is not part of the editable form. */
4954
4936
  private loadClient;
4955
4937
  onSubmit(): void;
@@ -6157,7 +6139,7 @@ export declare class AdminRoutingModule {
6157
6139
  }
6158
6140
  export declare class AdminModule {
6159
6141
  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>;
6142
+ 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
6143
  static ɵinj: i0.ɵɵInjectorDeclaration<AdminModule>;
6162
6144
  }
6163
6145
  export declare class AdminGuardService {