@posiwise/admin-module 0.0.237 → 0.0.239

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.237",
3
+ "version": "0.0.239",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.2.19",
6
6
  "@angular/core": "^21.2.19",
@@ -1710,6 +1710,7 @@ declare class SubscriptionDetailsComponent extends AppBaseComponent implements O
1710
1710
  allRoles: any[];
1711
1711
  subscriptionsRolesData: SubscriptionRolesSubscribeData;
1712
1712
  subscriptionId: number;
1713
+ private readonly commaSeparatedEmails;
1713
1714
  constructor(subscriptionService: SubscriptionService, adminService: AdminService, datePipe: DatePipe, commonService: CommonService, dateFormatService: NgbDateCustomParserFormatter, injector: Injector, cdr: ChangeDetectorRef);
1714
1715
  ngOnInit(): void;
1715
1716
  onSkillsSave(): void;
@@ -2253,12 +2254,7 @@ declare class AgentDetailsComponent extends AppBaseComponent implements OnInit,
2253
2254
  /** Re-points `required` at the newly selected provider's fields, so the
2254
2255
  * hidden provider's inputs can never block submission. */
2255
2256
  onPayoutProviderChange(provider: PayoutProvider): void;
2256
- /** Only the selected rail's fields — a SWIFT code and a domestic routing
2257
- * code are alternatives, never both. */
2258
2257
  get payoutFields(): _posiwise_admin_module_utils.PayoutFieldDefinition[];
2259
- /** The rail dropdown changes which fields are required, so validators are
2260
- * re-pointed exactly as on a provider change. */
2261
- onTransferMethodChange(): void;
2262
2258
  updateDetails(): void;
2263
2259
  private getUsers;
2264
2260
  search(event: any): void;
@@ -2656,6 +2652,7 @@ declare class InviteUsersComponent extends AppBaseComponent implements OnInit, O
2656
2652
  onLazyLoad(event: LazyLoadEvent): void;
2657
2653
  getSupportedCurrency(): void;
2658
2654
  getMinMaxUnits(): void;
2655
+ private commaSeparatedEmailsValidator;
2659
2656
  onSave(): void;
2660
2657
  private getProductsList;
2661
2658
  private sortObj;
@@ -4962,11 +4959,7 @@ declare class SubscriptionAgentsListComponent extends AppBaseComponent implement
4962
4959
  private getUsers;
4963
4960
  search(event: any): void;
4964
4961
  readonly payoutProviders: _posiwise_admin_module_utils.PayoutProviderDefinition[];
4965
- /** Only the selected rail's fields — see visiblePayoutFields. */
4966
4962
  get payoutFields(): _posiwise_admin_module_utils.PayoutFieldDefinition[];
4967
- /** The rail changes which fields are required, so it re-syncs validators
4968
- * exactly as a provider change does. */
4969
- onTransferMethodChange(): void;
4970
4963
  /**
4971
4964
  * This form creates ONE agent per selected ambassador, but a payout
4972
4965
  * destination (a PayPal address, a bank account) belongs to exactly one
@@ -4976,6 +4969,14 @@ declare class SubscriptionAgentsListComponent extends AppBaseComponent implement
4976
4969
  * their destination on the edit screen.
4977
4970
  */
4978
4971
  get isSingleAmbassadorSelected(): boolean;
4972
+ /**
4973
+ * Only a genuine MULTI-selection gets the bulk hint. Gating it on
4974
+ * `!isSingleAmbassadorSelected` also caught the zero-selected case, so a
4975
+ * blank form explained bulk-add behaviour before anything had been picked —
4976
+ * and the message then vanished the moment one ambassador was chosen.
4977
+ */
4978
+ get isBulkAmbassadorSelection(): boolean;
4979
+ private get selectedAmbassadorCount();
4979
4980
  onPayoutProviderChange(_provider: PayoutProvider): void;
4980
4981
  /**
4981
4982
  * Validator state depends on BOTH the provider and how many ambassadors are