@thecb/components 10.4.0-beta.8 → 10.4.0
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 +108 -88
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +108 -88
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/button-with-action/ButtonWithAction.js +1 -1
- package/src/components/atoms/layouts/Box.js +0 -1
- package/src/components/molecules/link-card/LinkCard.js +2 -0
- package/src/components/molecules/modal/Modal.js +6 -2
- package/src/components/molecules/modal/Modal.stories.js +2 -0
- package/src/components/molecules/obligation/Obligation.js +5 -5
- package/src/components/molecules/obligation/modules/AmountModule.js +18 -3
- package/src/components/molecules/obligation/modules/AmountModule.stories.js +3 -0
- package/src/components/molecules/obligation/modules/AutopayModalModule.js +22 -23
- package/src/components/molecules/obligation/modules/InactiveControlsModule.js +4 -4
- package/src/components/molecules/obligation/modules/PaymentDetailsActions.js +8 -10
- package/src/components/molecules/obligation/modules/RemoveAccountModalModule.js +8 -5
package/dist/index.cjs.js
CHANGED
|
@@ -6211,7 +6211,7 @@ return numeral;
|
|
|
6211
6211
|
}));
|
|
6212
6212
|
});
|
|
6213
6213
|
|
|
6214
|
-
var noop
|
|
6214
|
+
var noop = function noop() {};
|
|
6215
6215
|
var formatMoneyString = function formatMoneyString(s) {
|
|
6216
6216
|
return numeral(s).format("$0,0.00");
|
|
6217
6217
|
};
|
|
@@ -6345,7 +6345,7 @@ var wrapIndex = function wrapIndex(index, length) {
|
|
|
6345
6345
|
|
|
6346
6346
|
var general = /*#__PURE__*/Object.freeze({
|
|
6347
6347
|
__proto__: null,
|
|
6348
|
-
noop: noop
|
|
6348
|
+
noop: noop,
|
|
6349
6349
|
displayCurrency: displayCurrency,
|
|
6350
6350
|
convertCentsToMoneyInt: convertCentsToMoneyInt,
|
|
6351
6351
|
formatPercent: formatPercent,
|
|
@@ -6509,7 +6509,7 @@ var BoxWrapper = styled__default(function (_ref) {
|
|
|
6509
6509
|
});
|
|
6510
6510
|
/* eslint-enable no-unused-vars */
|
|
6511
6511
|
|
|
6512
|
-
var _excluded$3 = ["autocompleteValue", "padding", "borderSize", "borderColor", "borderRadius", "boxShadow", "background", "color", "minHeight", "width", "minWidth", "maxWidth", "borderWidthOverride", "border", "textAlign", "hoverStyles", "activeStyles", "disabledStyles", "variant", "as", "onClick", "onKeyDown", "onMouseEnter", "onMouseLeave", "onFocus", "onBlur", "onTouchEnd", "theme", "hiddenStyles", "extraStyles", "srOnly", "dataQa", "
|
|
6512
|
+
var _excluded$3 = ["autocompleteValue", "padding", "borderSize", "borderColor", "borderRadius", "boxShadow", "background", "color", "minHeight", "width", "minWidth", "maxWidth", "borderWidthOverride", "border", "textAlign", "hoverStyles", "activeStyles", "disabledStyles", "variant", "as", "onClick", "onKeyDown", "onMouseEnter", "onMouseLeave", "onFocus", "onBlur", "onTouchEnd", "theme", "hiddenStyles", "extraStyles", "srOnly", "dataQa", "children"];
|
|
6513
6513
|
|
|
6514
6514
|
/*
|
|
6515
6515
|
Box component to create generic boxes
|
|
@@ -6557,7 +6557,6 @@ var Box = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
6557
6557
|
_ref$srOnly = _ref.srOnly,
|
|
6558
6558
|
srOnly = _ref$srOnly === void 0 ? false : _ref$srOnly,
|
|
6559
6559
|
dataQa = _ref.dataQa,
|
|
6560
|
-
_ref$disabled = _ref.disabled,
|
|
6561
6560
|
children = _ref.children,
|
|
6562
6561
|
rest = _objectWithoutProperties(_ref, _excluded$3);
|
|
6563
6562
|
return /*#__PURE__*/React__default.createElement(BoxWrapper, _extends({
|
|
@@ -10533,7 +10532,7 @@ var isRefObject = function (ref) {
|
|
|
10533
10532
|
return typeof ref === "object" && ref.hasOwnProperty("current");
|
|
10534
10533
|
};
|
|
10535
10534
|
|
|
10536
|
-
var noop$
|
|
10535
|
+
var noop$1 = function (v) { return v; };
|
|
10537
10536
|
var ComponentDragControls = /** @class */ (function () {
|
|
10538
10537
|
function ComponentDragControls(_a) {
|
|
10539
10538
|
var ref = _a.ref, values = _a.values, controls = _a.controls;
|
|
@@ -10561,7 +10560,7 @@ var ComponentDragControls = /** @class */ (function () {
|
|
|
10561
10560
|
* @internal
|
|
10562
10561
|
*/
|
|
10563
10562
|
this.props = {
|
|
10564
|
-
transformPagePoint: noop$
|
|
10563
|
+
transformPagePoint: noop$1,
|
|
10565
10564
|
};
|
|
10566
10565
|
/**
|
|
10567
10566
|
* References to the MotionValues used for tracking the current dragged point.
|
|
@@ -12991,7 +12990,7 @@ var Spinner = function Spinner(_ref) {
|
|
|
12991
12990
|
|
|
12992
12991
|
var ButtonWithAction = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
12993
12992
|
var _ref2$action = _ref2.action,
|
|
12994
|
-
action = _ref2$action === void 0 ? noop
|
|
12993
|
+
action = _ref2$action === void 0 ? noop : _ref2$action,
|
|
12995
12994
|
_ref2$variant = _ref2.variant,
|
|
12996
12995
|
variant = _ref2$variant === void 0 ? "primary" : _ref2$variant,
|
|
12997
12996
|
text = _ref2.text,
|
|
@@ -13033,7 +13032,7 @@ var ButtonWithAction = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
|
13033
13032
|
disabledStyles: disabledStyles,
|
|
13034
13033
|
"aria-disabled": disabled,
|
|
13035
13034
|
as: "button",
|
|
13036
|
-
onClick: isLoading || disabled ?
|
|
13035
|
+
onClick: isLoading || disabled ? noop : action,
|
|
13037
13036
|
borderRadius: "2px",
|
|
13038
13037
|
theme: themeContext,
|
|
13039
13038
|
extraStyles: "margin: 0.5rem; ".concat(extraStyles),
|
|
@@ -22815,7 +22814,7 @@ var Checkbox = function Checkbox(_ref4) {
|
|
|
22815
22814
|
name = _ref4.name,
|
|
22816
22815
|
checked = _ref4.checked,
|
|
22817
22816
|
_ref4$onChange = _ref4.onChange,
|
|
22818
|
-
onChange = _ref4$onChange === void 0 ? noop
|
|
22817
|
+
onChange = _ref4$onChange === void 0 ? noop : _ref4$onChange,
|
|
22819
22818
|
_ref4$disabled = _ref4.disabled,
|
|
22820
22819
|
disabled = _ref4$disabled === void 0 ? false : _ref4$disabled,
|
|
22821
22820
|
themeValues = _ref4.themeValues,
|
|
@@ -23010,7 +23009,7 @@ var CheckboxListItem = function CheckboxListItem(_ref) {
|
|
|
23010
23009
|
padding: "0.875rem",
|
|
23011
23010
|
borderRadius: "4px",
|
|
23012
23011
|
minWidth: "30%",
|
|
23013
|
-
onClick: disabled ? noop
|
|
23012
|
+
onClick: disabled ? noop : onSelect,
|
|
23014
23013
|
borderColor: borderColor,
|
|
23015
23014
|
borderSize: "1px",
|
|
23016
23015
|
color: color,
|
|
@@ -23025,8 +23024,8 @@ var CheckboxListItem = function CheckboxListItem(_ref) {
|
|
|
23025
23024
|
name: name,
|
|
23026
23025
|
"aria-label": name,
|
|
23027
23026
|
htmlFor: "checkbox-".concat(name, "-").concat(index),
|
|
23028
|
-
onClick: disabled ? noop
|
|
23029
|
-
onKeyDown: disabled ? noop
|
|
23027
|
+
onClick: disabled ? noop : onSelect,
|
|
23028
|
+
onKeyDown: disabled ? noop : onSelect,
|
|
23030
23029
|
tabIndex: 0
|
|
23031
23030
|
}, /*#__PURE__*/React__default.createElement(styled.ThemeProvider, {
|
|
23032
23031
|
theme: {
|
|
@@ -24509,7 +24508,7 @@ var Dropdown = function Dropdown(_ref13) {
|
|
|
24509
24508
|
_ref13$disabledValues = _ref13.disabledValues,
|
|
24510
24509
|
disabledValues = _ref13$disabledValues === void 0 ? [] : _ref13$disabledValues,
|
|
24511
24510
|
_ref13$onClick = _ref13.onClick,
|
|
24512
|
-
_onClick = _ref13$onClick === void 0 ? noop
|
|
24511
|
+
_onClick = _ref13$onClick === void 0 ? noop : _ref13$onClick,
|
|
24513
24512
|
themeValues = _ref13.themeValues,
|
|
24514
24513
|
maxHeight = _ref13.maxHeight,
|
|
24515
24514
|
_ref13$widthFitOption = _ref13.widthFitOptions,
|
|
@@ -26125,7 +26124,7 @@ var Popover = function Popover(_ref) {
|
|
|
26125
26124
|
extraStyles: "position: relative; ".concat(extraStyles)
|
|
26126
26125
|
}, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
26127
26126
|
action: function action() {
|
|
26128
|
-
return noop
|
|
26127
|
+
return noop;
|
|
26129
26128
|
},
|
|
26130
26129
|
onFocus: function onFocus() {
|
|
26131
26130
|
handleTogglePopover(true);
|
|
@@ -27091,7 +27090,7 @@ var HamburgerButton = function HamburgerButton(_ref4) {
|
|
|
27091
27090
|
inactiveColor = _ref4.inactiveColor,
|
|
27092
27091
|
isActive = _ref4.isActive,
|
|
27093
27092
|
_ref4$onClick = _ref4.onClick,
|
|
27094
|
-
onClick = _ref4$onClick === void 0 ? noop
|
|
27093
|
+
onClick = _ref4$onClick === void 0 ? noop : _ref4$onClick,
|
|
27095
27094
|
controls = _ref4.controls;
|
|
27096
27095
|
return /*#__PURE__*/React__default.createElement(Hamburger, {
|
|
27097
27096
|
className: isActive === true ? "active" : "",
|
|
@@ -27938,7 +27937,7 @@ var RadioButtonWithLabel = function RadioButtonWithLabel(_ref5) {
|
|
|
27938
27937
|
themeValues = _ref5.themeValues,
|
|
27939
27938
|
index = _ref5.index,
|
|
27940
27939
|
_ref5$handleChange = _ref5.handleChange,
|
|
27941
|
-
handleChange = _ref5$handleChange === void 0 ? noop
|
|
27940
|
+
handleChange = _ref5$handleChange === void 0 ? noop : _ref5$handleChange,
|
|
27942
27941
|
field = _ref5.field,
|
|
27943
27942
|
config = _ref5.config;
|
|
27944
27943
|
var getDefaultChecked = function getDefaultChecked(value, idx) {
|
|
@@ -38822,7 +38821,7 @@ var ToggleSwitch = function ToggleSwitch(_ref6) {
|
|
|
38822
38821
|
var _ref6$isOn = _ref6.isOn,
|
|
38823
38822
|
isOn = _ref6$isOn === void 0 ? false : _ref6$isOn,
|
|
38824
38823
|
_ref6$onToggle = _ref6.onToggle,
|
|
38825
|
-
onToggle = _ref6$onToggle === void 0 ? noop
|
|
38824
|
+
onToggle = _ref6$onToggle === void 0 ? noop : _ref6$onToggle,
|
|
38826
38825
|
_ref6$disabled = _ref6.disabled,
|
|
38827
38826
|
disabled = _ref6$disabled === void 0 ? false : _ref6$disabled,
|
|
38828
38827
|
_ref6$name = _ref6.name,
|
|
@@ -38930,15 +38929,15 @@ var ToggleSwitch = function ToggleSwitch(_ref6) {
|
|
|
38930
38929
|
}, /*#__PURE__*/React__default.createElement(HiddenToggleSwitchBox, {
|
|
38931
38930
|
"aria-label": name,
|
|
38932
38931
|
checked: isOn,
|
|
38933
|
-
onChange: disabled ? noop
|
|
38932
|
+
onChange: disabled ? noop : onToggle,
|
|
38934
38933
|
disabled: disabled,
|
|
38935
38934
|
id: "#toggle-".concat(name),
|
|
38936
38935
|
isMobile: isMobile
|
|
38937
38936
|
}), /*#__PURE__*/React__default.createElement(VisibleSwitch, {
|
|
38938
38937
|
name: name,
|
|
38939
38938
|
htmlFor: "#toggle-".concat(name),
|
|
38940
|
-
onClick: disabled ? noop
|
|
38941
|
-
onKeyDown: disabled ? noop
|
|
38939
|
+
onClick: disabled ? noop : onToggle,
|
|
38940
|
+
onKeyDown: disabled ? noop : handleKeyDown,
|
|
38942
38941
|
pose: disabled ? "disabled" : isOn ? "on" : "off",
|
|
38943
38942
|
tabIndex: disabled ? -1 : 0,
|
|
38944
38943
|
disabled: disabled,
|
|
@@ -40030,7 +40029,7 @@ var AddressForm = function AddressForm(_ref) {
|
|
|
40030
40029
|
clearOnDismount = _ref.clearOnDismount,
|
|
40031
40030
|
showErrors = _ref.showErrors,
|
|
40032
40031
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
40033
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop
|
|
40032
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
40034
40033
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
40035
40034
|
saveToWallet = _ref.saveToWallet,
|
|
40036
40035
|
walletCheckboxMarked = _ref.walletCheckboxMarked,
|
|
@@ -40230,7 +40229,7 @@ var ChangePasswordForm = function ChangePasswordForm(_ref) {
|
|
|
40230
40229
|
fields = _ref.fields,
|
|
40231
40230
|
actions = _ref.actions,
|
|
40232
40231
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
40233
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop
|
|
40232
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
40234
40233
|
showErrors = _ref.showErrors,
|
|
40235
40234
|
isMobile = _ref.isMobile,
|
|
40236
40235
|
revenueManagement = _ref.revenueManagement,
|
|
@@ -40441,8 +40440,8 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
|
40441
40440
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
40442
40441
|
padding: customPadding ? customPadding : "0",
|
|
40443
40442
|
background: themeValues.headingBackgroundColor,
|
|
40444
|
-
onClick: isMobile && supportsTouch ? noop
|
|
40445
|
-
onTouchEnd: isMobile && supportsTouch ? toggleSection : noop
|
|
40443
|
+
onClick: isMobile && supportsTouch ? noop : toggleSection,
|
|
40444
|
+
onTouchEnd: isMobile && supportsTouch ? toggleSection : noop,
|
|
40446
40445
|
key: "header",
|
|
40447
40446
|
hoverStyles: "cursor: pointer;",
|
|
40448
40447
|
tabIndex: "0",
|
|
@@ -40660,7 +40659,7 @@ var EditNameForm = function EditNameForm(_ref) {
|
|
|
40660
40659
|
clearOnDismount = _ref.clearOnDismount,
|
|
40661
40660
|
showErrors = _ref.showErrors,
|
|
40662
40661
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
40663
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop
|
|
40662
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit;
|
|
40664
40663
|
if (clearOnDismount) {
|
|
40665
40664
|
React.useEffect(function () {
|
|
40666
40665
|
return function () {
|
|
@@ -41000,7 +40999,7 @@ var EmailForm = function EmailForm(_ref) {
|
|
|
41000
40999
|
showErrors = _ref.showErrors,
|
|
41001
41000
|
guestCheckout = _ref.guestCheckout,
|
|
41002
41001
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
41003
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop
|
|
41002
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
41004
41003
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
41005
41004
|
saveToWallet = _ref.saveToWallet,
|
|
41006
41005
|
walletCheckboxMarked = _ref.walletCheckboxMarked,
|
|
@@ -41097,7 +41096,7 @@ var ForgotPasswordForm = function ForgotPasswordForm(_ref) {
|
|
|
41097
41096
|
clearOnDismount = _ref.clearOnDismount,
|
|
41098
41097
|
showErrors = _ref.showErrors,
|
|
41099
41098
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
41100
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop
|
|
41099
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit;
|
|
41101
41100
|
if (clearOnDismount) {
|
|
41102
41101
|
React.useEffect(function () {
|
|
41103
41102
|
return function () {
|
|
@@ -42749,9 +42748,11 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
42749
42748
|
extraStyles: extraStyles,
|
|
42750
42749
|
hoverStyles: extraHoverStyles,
|
|
42751
42750
|
activeStyles: extraActiveStyles,
|
|
42752
|
-
onClick: disabled ? noop
|
|
42751
|
+
onClick: disabled ? noop : onClick,
|
|
42753
42752
|
"aria-disabled": disabled,
|
|
42754
|
-
isDisabled: disabled
|
|
42753
|
+
isDisabled: disabled,
|
|
42754
|
+
role: "group",
|
|
42755
|
+
"aria-label": "".concat(title, ", ").concat(subtitle)
|
|
42755
42756
|
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
42756
42757
|
childGap: 0,
|
|
42757
42758
|
bottomItem: 3,
|
|
@@ -42796,7 +42797,7 @@ var LoginForm = function LoginForm(_ref) {
|
|
|
42796
42797
|
actions = _ref.actions,
|
|
42797
42798
|
showErrors = _ref.showErrors,
|
|
42798
42799
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
42799
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop
|
|
42800
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit;
|
|
42800
42801
|
if (clearOnDismount) {
|
|
42801
42802
|
React.useEffect(function () {
|
|
42802
42803
|
return function () {
|
|
@@ -46290,7 +46291,9 @@ var Modal$1 = function Modal(_ref) {
|
|
|
46290
46291
|
_ref$dataQa = _ref.dataQa,
|
|
46291
46292
|
dataQa = _ref$dataQa === void 0 ? null : _ref$dataQa,
|
|
46292
46293
|
_ref$initialFocusSele = _ref.initialFocusSelector,
|
|
46293
|
-
initialFocusSelector = _ref$initialFocusSele === void 0 ? "" : _ref$initialFocusSele
|
|
46294
|
+
initialFocusSelector = _ref$initialFocusSele === void 0 ? "" : _ref$initialFocusSele,
|
|
46295
|
+
_ref$blurUnderlay = _ref.blurUnderlay,
|
|
46296
|
+
blurUnderlay = _ref$blurUnderlay === void 0 ? true : _ref$blurUnderlay;
|
|
46294
46297
|
var _useContext = React.useContext(styled.ThemeContext),
|
|
46295
46298
|
isMobile = _useContext.isMobile;
|
|
46296
46299
|
var modalContainerRef = React.useRef(null);
|
|
@@ -46310,7 +46313,10 @@ var Modal$1 = function Modal(_ref) {
|
|
|
46310
46313
|
display: "flex",
|
|
46311
46314
|
flexDirection: "column",
|
|
46312
46315
|
justifyContent: "center",
|
|
46313
|
-
alignItems: "center"
|
|
46316
|
+
alignItems: "center",
|
|
46317
|
+
background: "rgba(41, 42, 51, 0.45)",
|
|
46318
|
+
backdropFilter: blurUnderlay ? "blur(4px)" : "none",
|
|
46319
|
+
WebkitBackdropFilter: blurUnderlay ? "blur(4px)" : "none"
|
|
46314
46320
|
},
|
|
46315
46321
|
dialogStyle: {
|
|
46316
46322
|
width: customWidth || "615px",
|
|
@@ -46741,8 +46747,11 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46741
46747
|
description = _ref.description,
|
|
46742
46748
|
subDescription = _ref.subDescription,
|
|
46743
46749
|
allowedPaymentInstruments = _ref.allowedPaymentInstruments,
|
|
46744
|
-
_ref$
|
|
46745
|
-
|
|
46750
|
+
_ref$disableActions = _ref.disableActions,
|
|
46751
|
+
disableActions = _ref$disableActions === void 0 ? false : _ref$disableActions,
|
|
46752
|
+
action = _ref.action,
|
|
46753
|
+
onClick = _ref.onClick,
|
|
46754
|
+
onKeyPress = _ref.onKeyPress;
|
|
46746
46755
|
var generateMethodNeededText = function generateMethodNeededText(planText, allowedPaymentInstruments) {
|
|
46747
46756
|
var allowsCard = allowedPaymentInstruments.includes(CC_METHOD);
|
|
46748
46757
|
var allowsACH = allowedPaymentInstruments.includes(ACH_METHOD);
|
|
@@ -46773,12 +46782,12 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46773
46782
|
return /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
46774
46783
|
text: autoPayActive ? "Turn off ".concat(shortPlan) : "Set Up ".concat(shortPlan),
|
|
46775
46784
|
variant: "secondary",
|
|
46776
|
-
action: function
|
|
46777
|
-
|
|
46785
|
+
action: action || function () {
|
|
46786
|
+
return toggleModal(true);
|
|
46778
46787
|
},
|
|
46779
46788
|
dataQa: "Turn off Autopay",
|
|
46780
46789
|
extraStyles: isMobile ? "flex-grow: 1; width: 100%; margin: 0;" : "flex-grow: 1; min-width: 165px;",
|
|
46781
|
-
disabled:
|
|
46790
|
+
disabled: disableActions
|
|
46782
46791
|
});
|
|
46783
46792
|
}
|
|
46784
46793
|
case "tertiary":
|
|
@@ -46786,20 +46795,20 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46786
46795
|
return /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
46787
46796
|
text: autoPayActive ? "Manage ".concat(shortPlan) : "Set Up ".concat(shortPlan),
|
|
46788
46797
|
variant: "tertiary",
|
|
46789
|
-
action: function
|
|
46790
|
-
|
|
46798
|
+
action: action || function () {
|
|
46799
|
+
return toggleModal(true);
|
|
46791
46800
|
},
|
|
46792
46801
|
dataQa: "Manage Autopay",
|
|
46793
46802
|
extraStyles: isMobile && "flex-grow: 1; width: 100%;",
|
|
46794
|
-
disabled:
|
|
46803
|
+
disabled: disableActions
|
|
46795
46804
|
});
|
|
46796
46805
|
}
|
|
46797
46806
|
case "link":
|
|
46798
46807
|
{
|
|
46799
46808
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
46800
46809
|
padding: "0",
|
|
46801
|
-
onClick: function
|
|
46802
|
-
|
|
46810
|
+
onClick: onClick || function () {
|
|
46811
|
+
toggleModal(true);
|
|
46803
46812
|
},
|
|
46804
46813
|
hoverStyles: hoverStyles,
|
|
46805
46814
|
activeStyles: activeStyles,
|
|
@@ -46809,10 +46818,10 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46809
46818
|
align: "center"
|
|
46810
46819
|
}, /*#__PURE__*/React__default.createElement(AutopayOnIcon, null), /*#__PURE__*/React__default.createElement(Text$1, {
|
|
46811
46820
|
variant: "pS",
|
|
46812
|
-
onClick: function
|
|
46813
|
-
return
|
|
46821
|
+
onClick: onClick || function () {
|
|
46822
|
+
return toggleModal(true);
|
|
46814
46823
|
},
|
|
46815
|
-
onKeyPress:
|
|
46824
|
+
onKeyPress: onKeyPress || function (e) {
|
|
46816
46825
|
e.key === "Enter" && toggleModal(true);
|
|
46817
46826
|
},
|
|
46818
46827
|
tabIndex: "0",
|
|
@@ -46821,16 +46830,16 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46821
46830
|
weight: themeValues.fontWeight,
|
|
46822
46831
|
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
46823
46832
|
extraStyles: "padding-left: 0.25rem;",
|
|
46824
|
-
disabled:
|
|
46833
|
+
disabled: disableActions
|
|
46825
46834
|
}, "".concat(shortPlan, " ").concat(nextAutopayDate))));
|
|
46826
46835
|
}
|
|
46827
46836
|
}
|
|
46828
46837
|
};
|
|
46829
46838
|
return /*#__PURE__*/React__default.createElement(Modal$1, _extends({
|
|
46830
|
-
showModal:
|
|
46839
|
+
showModal: function showModal() {
|
|
46831
46840
|
return toggleModal(true);
|
|
46832
46841
|
},
|
|
46833
|
-
hideModal:
|
|
46842
|
+
hideModal: function hideModal() {
|
|
46834
46843
|
return toggleModal(false);
|
|
46835
46844
|
},
|
|
46836
46845
|
modalOpen: modalOpen
|
|
@@ -46851,8 +46860,8 @@ var AmountModule = function AmountModule(_ref) {
|
|
|
46851
46860
|
description = _ref.description,
|
|
46852
46861
|
subDescription = _ref.subDescription,
|
|
46853
46862
|
allowedPaymentInstruments = _ref.allowedPaymentInstruments,
|
|
46854
|
-
_ref$
|
|
46855
|
-
|
|
46863
|
+
_ref$disableActions = _ref.disableActions,
|
|
46864
|
+
disableActions = _ref$disableActions === void 0 ? false : _ref$disableActions;
|
|
46856
46865
|
var _useState = React.useState(false),
|
|
46857
46866
|
_useState2 = _slicedToArray(_useState, 2),
|
|
46858
46867
|
modalOpen = _useState2[0],
|
|
@@ -46883,7 +46892,16 @@ var AmountModule = function AmountModule(_ref) {
|
|
|
46883
46892
|
description: description,
|
|
46884
46893
|
subDescription: subDescription,
|
|
46885
46894
|
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
46886
|
-
|
|
46895
|
+
disableActions: disableActions,
|
|
46896
|
+
action: disableActions ? noop : function () {
|
|
46897
|
+
return toggleModal(true);
|
|
46898
|
+
},
|
|
46899
|
+
onClick: disableActions ? noop : function () {
|
|
46900
|
+
toggleModal(true);
|
|
46901
|
+
},
|
|
46902
|
+
onKeyPress: disableActions ? noop : function (e) {
|
|
46903
|
+
e.key === "Enter" && toggleModal(true);
|
|
46904
|
+
}
|
|
46887
46905
|
})));
|
|
46888
46906
|
};
|
|
46889
46907
|
|
|
@@ -46906,8 +46924,8 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46906
46924
|
description = _ref.description,
|
|
46907
46925
|
subDescription = _ref.subDescription,
|
|
46908
46926
|
allowedPaymentInstruments = _ref.allowedPaymentInstruments,
|
|
46909
|
-
_ref$
|
|
46910
|
-
|
|
46927
|
+
_ref$disableActions = _ref.disableActions,
|
|
46928
|
+
disableActions = _ref$disableActions === void 0 ? false : _ref$disableActions;
|
|
46911
46929
|
var planType = isPaymentPlan ? "Payment Plan" : "Autopay";
|
|
46912
46930
|
var _useState = React.useState(false),
|
|
46913
46931
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -46961,7 +46979,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46961
46979
|
description: description,
|
|
46962
46980
|
subDescription: subDescription,
|
|
46963
46981
|
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
46964
|
-
isInCustomerManagement:
|
|
46982
|
+
isInCustomerManagement: disableActions
|
|
46965
46983
|
}))), /*#__PURE__*/React__default.createElement(Box, {
|
|
46966
46984
|
padding: isMobile ? "16px" : "0"
|
|
46967
46985
|
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
@@ -46989,7 +47007,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46989
47007
|
},
|
|
46990
47008
|
dataQa: "Set Up Autopay",
|
|
46991
47009
|
extraStyles: isMobile && "flex-grow: 1; width: 100%;",
|
|
46992
|
-
disabled:
|
|
47010
|
+
disabled: disableActions
|
|
46993
47011
|
}) : /*#__PURE__*/React__default.createElement(AutopayModalModule, {
|
|
46994
47012
|
autoPayActive: autoPayEnabled,
|
|
46995
47013
|
autoPaySchedule: autoPaySchedule,
|
|
@@ -47006,25 +47024,25 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
47006
47024
|
description: description,
|
|
47007
47025
|
subDescription: subDescription,
|
|
47008
47026
|
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
47009
|
-
|
|
47027
|
+
disableActions: disableActions
|
|
47010
47028
|
})), !isMobile && /*#__PURE__*/React__default.createElement(Box, {
|
|
47011
47029
|
padding: "0"
|
|
47012
47030
|
}, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
47013
47031
|
isLoading: isLoading,
|
|
47014
|
-
action:
|
|
47032
|
+
action: disableActions ? noop : function () {
|
|
47015
47033
|
return handleClick(obligations);
|
|
47016
47034
|
},
|
|
47017
47035
|
text: "Pay Now",
|
|
47018
47036
|
variant: isMobile ? "smallSecondary" : "secondary",
|
|
47019
47037
|
dataQa: "Pay Now",
|
|
47020
|
-
disabled:
|
|
47038
|
+
disabled: disableActions
|
|
47021
47039
|
}))), isMobile && /*#__PURE__*/React__default.createElement(Box, {
|
|
47022
47040
|
padding: "8px 0 0",
|
|
47023
47041
|
width: "100%"
|
|
47024
47042
|
}, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
47025
47043
|
isLoading: isLoading,
|
|
47026
47044
|
action: function action() {
|
|
47027
|
-
return
|
|
47045
|
+
return disableActions ? noop : function () {
|
|
47028
47046
|
return handleClick(obligations);
|
|
47029
47047
|
};
|
|
47030
47048
|
},
|
|
@@ -47032,7 +47050,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
47032
47050
|
variant: isMobile ? "smallSecondary" : "secondary",
|
|
47033
47051
|
dataQa: "Pay Now",
|
|
47034
47052
|
extraStyles: isMobile && "flex-grow: 1; width: 100%; margin: 0;",
|
|
47035
|
-
disabled:
|
|
47053
|
+
disabled: disableActions
|
|
47036
47054
|
}))));
|
|
47037
47055
|
};
|
|
47038
47056
|
|
|
@@ -47043,8 +47061,8 @@ var RemoveAccountModalModule = function RemoveAccountModalModule(_ref) {
|
|
|
47043
47061
|
removeAccount = _ref.removeAccount,
|
|
47044
47062
|
accountType = _ref.accountType,
|
|
47045
47063
|
isMobile = _ref.isMobile,
|
|
47046
|
-
_ref$
|
|
47047
|
-
|
|
47064
|
+
_ref$disableActions = _ref.disableActions,
|
|
47065
|
+
disableActions = _ref$disableActions === void 0 ? false : _ref$disableActions;
|
|
47048
47066
|
var _useState = React.useState(false),
|
|
47049
47067
|
_useState2 = _slicedToArray(_useState, 2),
|
|
47050
47068
|
modalIsOpen = _useState2[0],
|
|
@@ -47068,8 +47086,10 @@ var RemoveAccountModalModule = function RemoveAccountModalModule(_ref) {
|
|
|
47068
47086
|
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."),
|
|
47069
47087
|
continueButtonText: "Remove",
|
|
47070
47088
|
continueAction: function continueAction() {
|
|
47071
|
-
|
|
47072
|
-
|
|
47089
|
+
if (!disableActions) {
|
|
47090
|
+
removeAccount();
|
|
47091
|
+
setModalIsOpen(false);
|
|
47092
|
+
}
|
|
47073
47093
|
},
|
|
47074
47094
|
useDangerButton: true
|
|
47075
47095
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -47078,12 +47098,12 @@ var RemoveAccountModalModule = function RemoveAccountModalModule(_ref) {
|
|
|
47078
47098
|
}, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
47079
47099
|
text: "Remove",
|
|
47080
47100
|
variant: "secondary",
|
|
47081
|
-
action:
|
|
47101
|
+
action: disableActions ? noop : function () {
|
|
47082
47102
|
return setModalIsOpen(true);
|
|
47083
47103
|
},
|
|
47084
47104
|
dataQa: "Remove Account",
|
|
47085
47105
|
extraStyles: isMobile ? "flex-grow: 1; width: 100%; margin: 0;" : "flex-grow: 1;",
|
|
47086
|
-
disabled:
|
|
47106
|
+
disabled: disableActions
|
|
47087
47107
|
})));
|
|
47088
47108
|
};
|
|
47089
47109
|
|
|
@@ -47104,8 +47124,8 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
|
|
|
47104
47124
|
description = _ref.description,
|
|
47105
47125
|
subDescription = _ref.subDescription,
|
|
47106
47126
|
allowedPaymentInstruments = _ref.allowedPaymentInstruments,
|
|
47107
|
-
_ref$
|
|
47108
|
-
|
|
47127
|
+
_ref$disableActions = _ref.disableActions,
|
|
47128
|
+
disableActions = _ref$disableActions === void 0 ? false : _ref$disableActions;
|
|
47109
47129
|
var _useState = React.useState(false),
|
|
47110
47130
|
_useState2 = _slicedToArray(_useState, 2),
|
|
47111
47131
|
modalOpen = _useState2[0],
|
|
@@ -47144,16 +47164,16 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
|
|
|
47144
47164
|
description: description,
|
|
47145
47165
|
subDescription: subDescription,
|
|
47146
47166
|
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
47147
|
-
|
|
47167
|
+
disableActions: disableActions
|
|
47148
47168
|
})), /*#__PURE__*/React__default.createElement(Box, {
|
|
47149
47169
|
padding: "0",
|
|
47150
47170
|
extraStyles: "flex-grow: 1;"
|
|
47151
47171
|
}, /*#__PURE__*/React__default.createElement(RemoveAccountModalModule, {
|
|
47152
47172
|
agencyName: agencyName,
|
|
47153
|
-
removeAccount:
|
|
47173
|
+
removeAccount: disableActions ? noop : handleRemoveAccount,
|
|
47154
47174
|
accountType: configType === "ACCOUNT" ? "Account" : "Property",
|
|
47155
47175
|
isMobile: isMobile,
|
|
47156
|
-
|
|
47176
|
+
disableActions: disableActions
|
|
47157
47177
|
}))));
|
|
47158
47178
|
};
|
|
47159
47179
|
|
|
@@ -47284,7 +47304,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
47284
47304
|
description: description,
|
|
47285
47305
|
subDescription: subDescription,
|
|
47286
47306
|
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
47287
|
-
|
|
47307
|
+
disableActions: isInCustomerManagement
|
|
47288
47308
|
}))), !isMobile && /*#__PURE__*/React__default.createElement(PaymentDetailsActions, {
|
|
47289
47309
|
obligations: obligations,
|
|
47290
47310
|
autoPayEnabled: autoPayEnabled,
|
|
@@ -47303,7 +47323,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
47303
47323
|
description: description,
|
|
47304
47324
|
subDescription: subDescription,
|
|
47305
47325
|
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
47306
|
-
|
|
47326
|
+
disableActions: isInCustomerManagement
|
|
47307
47327
|
}))), isMobile && /*#__PURE__*/React__default.createElement(PaymentDetailsActions, {
|
|
47308
47328
|
obligations: obligations,
|
|
47309
47329
|
autoPayEnabled: autoPayEnabled,
|
|
@@ -47322,7 +47342,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
47322
47342
|
description: description,
|
|
47323
47343
|
subDescription: subDescription,
|
|
47324
47344
|
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
47325
|
-
|
|
47345
|
+
disableActions: isInCustomerManagement
|
|
47326
47346
|
}));
|
|
47327
47347
|
var inactiveObligation = /*#__PURE__*/React__default.createElement(Box, {
|
|
47328
47348
|
padding: "0",
|
|
@@ -47379,7 +47399,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
47379
47399
|
description: description,
|
|
47380
47400
|
subDescription: subDescription,
|
|
47381
47401
|
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
47382
|
-
|
|
47402
|
+
disableActions: isInCustomerManagement
|
|
47383
47403
|
}))), isMobile && /*#__PURE__*/React__default.createElement(InactiveControlsModule, {
|
|
47384
47404
|
obligations: obligations,
|
|
47385
47405
|
autoPayEnabled: autoPayEnabled,
|
|
@@ -47397,7 +47417,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
47397
47417
|
description: description,
|
|
47398
47418
|
subDescription: subDescription,
|
|
47399
47419
|
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
47400
|
-
|
|
47420
|
+
disableActions: isInCustomerManagement
|
|
47401
47421
|
}))));
|
|
47402
47422
|
return inactive ? inactiveObligation : activeObligation;
|
|
47403
47423
|
};
|
|
@@ -47679,7 +47699,7 @@ var Pagination = function Pagination(_ref3) {
|
|
|
47679
47699
|
return setCurrentPage({
|
|
47680
47700
|
pageNumber: item.index
|
|
47681
47701
|
});
|
|
47682
|
-
} : noop
|
|
47702
|
+
} : noop,
|
|
47683
47703
|
textExtraStyles: "font-size: ".concat(fontSize, "; font-weight: ").concat(fontWeight, ";"),
|
|
47684
47704
|
extraStyles: "".concat(extraStyles).concat(item.active ? currentPageStyles : ""),
|
|
47685
47705
|
dataQa: index
|
|
@@ -48036,7 +48056,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
48036
48056
|
_ref4$voidableTransac = _ref4.voidableTransactionDetails,
|
|
48037
48057
|
voidableTransactionDetails = _ref4$voidableTransac === void 0 ? [] : _ref4$voidableTransac,
|
|
48038
48058
|
_ref4$partialVoidActi = _ref4.partialVoidAction,
|
|
48039
|
-
partialVoidAction = _ref4$partialVoidActi === void 0 ? noop
|
|
48059
|
+
partialVoidAction = _ref4$partialVoidActi === void 0 ? noop : _ref4$partialVoidActi,
|
|
48040
48060
|
_ref4$voidableAmountP = _ref4.voidableAmountPaid,
|
|
48041
48061
|
voidableAmountPaid = _ref4$voidableAmountP === void 0 ? 0 : _ref4$voidableAmountP,
|
|
48042
48062
|
_ref4$remainingBalanc = _ref4.remainingBalance,
|
|
@@ -48495,7 +48515,7 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
|
48495
48515
|
actions = _ref.actions,
|
|
48496
48516
|
showErrors = _ref.showErrors,
|
|
48497
48517
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
48498
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop
|
|
48518
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
48499
48519
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
48500
48520
|
saveToWallet = _ref.saveToWallet,
|
|
48501
48521
|
walletCheckboxMarked = _ref.walletCheckboxMarked,
|
|
@@ -48697,7 +48717,7 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
|
|
|
48697
48717
|
actions = _ref.actions,
|
|
48698
48718
|
showErrors = _ref.showErrors,
|
|
48699
48719
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
48700
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop
|
|
48720
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
48701
48721
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
48702
48722
|
saveToWallet = _ref.saveToWallet,
|
|
48703
48723
|
walletCheckboxMarked = _ref.walletCheckboxMarked,
|
|
@@ -49001,7 +49021,7 @@ var PhoneForm = function PhoneForm(_ref) {
|
|
|
49001
49021
|
clearOnDismount = _ref.clearOnDismount,
|
|
49002
49022
|
showErrors = _ref.showErrors,
|
|
49003
49023
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
49004
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop
|
|
49024
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
49005
49025
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
49006
49026
|
saveToWallet = _ref.saveToWallet,
|
|
49007
49027
|
walletCheckboxMarked = _ref.walletCheckboxMarked,
|
|
@@ -49077,7 +49097,7 @@ var RadioGroup = function RadioGroup(_ref) {
|
|
|
49077
49097
|
config = _ref.config,
|
|
49078
49098
|
extraStyles = _ref.extraStyles,
|
|
49079
49099
|
_ref$handleChange = _ref.handleChange,
|
|
49080
|
-
handleChange = _ref$handleChange === void 0 ? noop
|
|
49100
|
+
handleChange = _ref$handleChange === void 0 ? noop : _ref$handleChange,
|
|
49081
49101
|
field = _ref.field,
|
|
49082
49102
|
fieldActions = _ref.fieldActions;
|
|
49083
49103
|
var setValue = function setValue(value) {
|
|
@@ -49142,7 +49162,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
49142
49162
|
ariaLabelledBy = _ref.ariaLabelledBy,
|
|
49143
49163
|
isLastGroupedItemInSection = _ref.isLastGroupedItemInSection,
|
|
49144
49164
|
_ref$onKeyDown = _ref.onKeyDown,
|
|
49145
|
-
onKeyDown = _ref$onKeyDown === void 0 ? noop
|
|
49165
|
+
onKeyDown = _ref$onKeyDown === void 0 ? noop : _ref$onKeyDown;
|
|
49146
49166
|
var wrapper = {
|
|
49147
49167
|
open: {
|
|
49148
49168
|
height: openHeight,
|
|
@@ -49199,12 +49219,12 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
49199
49219
|
"aria-required": section.required,
|
|
49200
49220
|
"aria-labelledby": ariaLabelledBy,
|
|
49201
49221
|
"aria-describedby": ariaDescribedBy,
|
|
49202
|
-
onClick: isMobile && supportsTouch || section.disabled ? noop
|
|
49222
|
+
onClick: isMobile && supportsTouch || section.disabled ? noop : function () {
|
|
49203
49223
|
return toggleOpenSection(section.id);
|
|
49204
49224
|
},
|
|
49205
49225
|
onTouchEnd: isMobile && supportsTouch && !section.disabled ? function () {
|
|
49206
49226
|
return toggleOpenSection(section.id);
|
|
49207
|
-
} : noop
|
|
49227
|
+
} : noop,
|
|
49208
49228
|
id: "inner-radio-section-".concat(sectionIndex),
|
|
49209
49229
|
"data-qa": section.dataQa ? section.dataQa : section.id || "inner-radio-section-".concat(sectionIndex)
|
|
49210
49230
|
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
@@ -49234,7 +49254,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
49234
49254
|
ariaDescribedBy: ariaDescribedBy,
|
|
49235
49255
|
radioOn: openSection === section.id,
|
|
49236
49256
|
radioFocused: focused === section.id,
|
|
49237
|
-
toggleRadio: section.disabled ? noop
|
|
49257
|
+
toggleRadio: section.disabled ? noop : function () {
|
|
49238
49258
|
return toggleOpenSection(section.id);
|
|
49239
49259
|
},
|
|
49240
49260
|
tabIndex: "-1",
|
|
@@ -49418,7 +49438,7 @@ var RegistrationForm = function RegistrationForm(_ref) {
|
|
|
49418
49438
|
fields = _ref.fields,
|
|
49419
49439
|
actions = _ref.actions,
|
|
49420
49440
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
49421
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop
|
|
49441
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
49422
49442
|
showErrors = _ref.showErrors,
|
|
49423
49443
|
isMobile = _ref.isMobile;
|
|
49424
49444
|
if (clearOnDismount) {
|
|
@@ -49578,7 +49598,7 @@ var ResetConfirmationForm$1 = withWindowSize(ResetConfirmationForm);
|
|
|
49578
49598
|
|
|
49579
49599
|
var ResetPasswordForm = function ResetPasswordForm(_ref) {
|
|
49580
49600
|
var _ref$handleSubmit = _ref.handleSubmit,
|
|
49581
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop
|
|
49601
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
49582
49602
|
clearOnDismount = _ref.clearOnDismount,
|
|
49583
49603
|
fields = _ref.fields,
|
|
49584
49604
|
actions = _ref.actions,
|