@posiwise/admin-module 0.0.237 → 0.0.238
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
|
@@ -2253,12 +2253,7 @@ declare class AgentDetailsComponent extends AppBaseComponent implements OnInit,
|
|
|
2253
2253
|
/** Re-points `required` at the newly selected provider's fields, so the
|
|
2254
2254
|
* hidden provider's inputs can never block submission. */
|
|
2255
2255
|
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
2256
|
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
2257
|
updateDetails(): void;
|
|
2263
2258
|
private getUsers;
|
|
2264
2259
|
search(event: any): void;
|
|
@@ -4962,11 +4957,7 @@ declare class SubscriptionAgentsListComponent extends AppBaseComponent implement
|
|
|
4962
4957
|
private getUsers;
|
|
4963
4958
|
search(event: any): void;
|
|
4964
4959
|
readonly payoutProviders: _posiwise_admin_module_utils.PayoutProviderDefinition[];
|
|
4965
|
-
/** Only the selected rail's fields — see visiblePayoutFields. */
|
|
4966
4960
|
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
4961
|
/**
|
|
4971
4962
|
* This form creates ONE agent per selected ambassador, but a payout
|
|
4972
4963
|
* destination (a PayPal address, a bank account) belongs to exactly one
|
|
@@ -4976,6 +4967,14 @@ declare class SubscriptionAgentsListComponent extends AppBaseComponent implement
|
|
|
4976
4967
|
* their destination on the edit screen.
|
|
4977
4968
|
*/
|
|
4978
4969
|
get isSingleAmbassadorSelected(): boolean;
|
|
4970
|
+
/**
|
|
4971
|
+
* Only a genuine MULTI-selection gets the bulk hint. Gating it on
|
|
4972
|
+
* `!isSingleAmbassadorSelected` also caught the zero-selected case, so a
|
|
4973
|
+
* blank form explained bulk-add behaviour before anything had been picked —
|
|
4974
|
+
* and the message then vanished the moment one ambassador was chosen.
|
|
4975
|
+
*/
|
|
4976
|
+
get isBulkAmbassadorSelection(): boolean;
|
|
4977
|
+
private get selectedAmbassadorCount();
|
|
4979
4978
|
onPayoutProviderChange(_provider: PayoutProvider): void;
|
|
4980
4979
|
/**
|
|
4981
4980
|
* Validator state depends on BOTH the provider and how many ambassadors are
|