@thecb/components 8.0.1 → 8.0.2
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/dist/index.cjs.js +3 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/obligation/modules/AutopayModalModule.js +2 -4
- package/src/components/molecules/obligation/modules/RemoveAccountModalModule.js +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -46648,7 +46648,7 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46648
46648
|
var allowsCard = allowedPaymentInstruments.includes(CC_METHOD);
|
|
46649
46649
|
var allowsACH = allowedPaymentInstruments.includes(ACH_METHOD);
|
|
46650
46650
|
var methodRequired = allowsCard && !allowsACH ? "debit or credit card payment method" : !allowsCard && allowsACH ? "checking account payment method" : "payment method";
|
|
46651
|
-
return "To setup ".concat(planText, " you must have a saved ").concat(methodRequired, " and address
|
|
46651
|
+
return "To setup ".concat(planText, " you must have a saved ").concat(methodRequired, " and address. Do you want to save these now?");
|
|
46652
46652
|
};
|
|
46653
46653
|
|
|
46654
46654
|
var plan = isPaymentPlan ? "your payment plan" : "autopay";
|
|
@@ -46659,7 +46659,7 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46659
46659
|
var modalExtraProps = {
|
|
46660
46660
|
modalHeaderText: autoPayActive ? titleCaseString(deactivateText) : titleCaseString(activateText),
|
|
46661
46661
|
modalBodyText: autoPayActive ? "Are you sure you want to deactivate ".concat(plan, "? ").concat(!inactive && nextDate ? "Your next payment will be due on ".concat(nextDate, ".") : "") : generateMethodNeededText(plan, allowedPaymentInstruments),
|
|
46662
|
-
continueButtonText: autoPayActive ? "Disable ".concat(shortPlan) : "Add
|
|
46662
|
+
continueButtonText: autoPayActive ? "Disable ".concat(shortPlan) : "Add",
|
|
46663
46663
|
useDangerButton: autoPayActive,
|
|
46664
46664
|
continueAction: autoPayActive ? function () {
|
|
46665
46665
|
deactivatePaymentSchedule(isPaymentPlan ? paymentPlanSchedule : autoPaySchedule, isPaymentPlan);
|
|
@@ -46967,7 +46967,7 @@ var RemoveAccountModalModule = function RemoveAccountModalModule(_ref) {
|
|
|
46967
46967
|
},
|
|
46968
46968
|
modalOpen: modalIsOpen,
|
|
46969
46969
|
modalHeaderText: "Remove ".concat(accountType),
|
|
46970
|
-
modalBodyText: "Are you sure you want to remove the ".concat(identifier, " ").concat(accounts, "
|
|
46970
|
+
modalBodyText: "Are you sure you want to remove the ".concat(identifier, " ").concat(accounts, "? Any autopay scheduled against ").concat(obligations.length > 1 ? "them" : "it", " will be deactivated."),
|
|
46971
46971
|
continueButtonText: "Remove",
|
|
46972
46972
|
continueAction: function continueAction() {
|
|
46973
46973
|
removeAccount();
|