@thecb/components 10.4.0-beta.9 → 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 +105 -87
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +105 -87
- 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/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,7 +42748,7 @@ 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
42753
|
isDisabled: disabled,
|
|
42755
42754
|
role: "group",
|
|
@@ -42798,7 +42797,7 @@ var LoginForm = function LoginForm(_ref) {
|
|
|
42798
42797
|
actions = _ref.actions,
|
|
42799
42798
|
showErrors = _ref.showErrors,
|
|
42800
42799
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
42801
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop
|
|
42800
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit;
|
|
42802
42801
|
if (clearOnDismount) {
|
|
42803
42802
|
React.useEffect(function () {
|
|
42804
42803
|
return function () {
|
|
@@ -46292,7 +46291,9 @@ var Modal$1 = function Modal(_ref) {
|
|
|
46292
46291
|
_ref$dataQa = _ref.dataQa,
|
|
46293
46292
|
dataQa = _ref$dataQa === void 0 ? null : _ref$dataQa,
|
|
46294
46293
|
_ref$initialFocusSele = _ref.initialFocusSelector,
|
|
46295
|
-
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;
|
|
46296
46297
|
var _useContext = React.useContext(styled.ThemeContext),
|
|
46297
46298
|
isMobile = _useContext.isMobile;
|
|
46298
46299
|
var modalContainerRef = React.useRef(null);
|
|
@@ -46312,7 +46313,10 @@ var Modal$1 = function Modal(_ref) {
|
|
|
46312
46313
|
display: "flex",
|
|
46313
46314
|
flexDirection: "column",
|
|
46314
46315
|
justifyContent: "center",
|
|
46315
|
-
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"
|
|
46316
46320
|
},
|
|
46317
46321
|
dialogStyle: {
|
|
46318
46322
|
width: customWidth || "615px",
|
|
@@ -46743,8 +46747,11 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46743
46747
|
description = _ref.description,
|
|
46744
46748
|
subDescription = _ref.subDescription,
|
|
46745
46749
|
allowedPaymentInstruments = _ref.allowedPaymentInstruments,
|
|
46746
|
-
_ref$
|
|
46747
|
-
|
|
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;
|
|
46748
46755
|
var generateMethodNeededText = function generateMethodNeededText(planText, allowedPaymentInstruments) {
|
|
46749
46756
|
var allowsCard = allowedPaymentInstruments.includes(CC_METHOD);
|
|
46750
46757
|
var allowsACH = allowedPaymentInstruments.includes(ACH_METHOD);
|
|
@@ -46775,12 +46782,12 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46775
46782
|
return /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
46776
46783
|
text: autoPayActive ? "Turn off ".concat(shortPlan) : "Set Up ".concat(shortPlan),
|
|
46777
46784
|
variant: "secondary",
|
|
46778
|
-
action: function
|
|
46779
|
-
|
|
46785
|
+
action: action || function () {
|
|
46786
|
+
return toggleModal(true);
|
|
46780
46787
|
},
|
|
46781
46788
|
dataQa: "Turn off Autopay",
|
|
46782
46789
|
extraStyles: isMobile ? "flex-grow: 1; width: 100%; margin: 0;" : "flex-grow: 1; min-width: 165px;",
|
|
46783
|
-
disabled:
|
|
46790
|
+
disabled: disableActions
|
|
46784
46791
|
});
|
|
46785
46792
|
}
|
|
46786
46793
|
case "tertiary":
|
|
@@ -46788,20 +46795,20 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46788
46795
|
return /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
46789
46796
|
text: autoPayActive ? "Manage ".concat(shortPlan) : "Set Up ".concat(shortPlan),
|
|
46790
46797
|
variant: "tertiary",
|
|
46791
|
-
action: function
|
|
46792
|
-
|
|
46798
|
+
action: action || function () {
|
|
46799
|
+
return toggleModal(true);
|
|
46793
46800
|
},
|
|
46794
46801
|
dataQa: "Manage Autopay",
|
|
46795
46802
|
extraStyles: isMobile && "flex-grow: 1; width: 100%;",
|
|
46796
|
-
disabled:
|
|
46803
|
+
disabled: disableActions
|
|
46797
46804
|
});
|
|
46798
46805
|
}
|
|
46799
46806
|
case "link":
|
|
46800
46807
|
{
|
|
46801
46808
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
46802
46809
|
padding: "0",
|
|
46803
|
-
onClick: function
|
|
46804
|
-
|
|
46810
|
+
onClick: onClick || function () {
|
|
46811
|
+
toggleModal(true);
|
|
46805
46812
|
},
|
|
46806
46813
|
hoverStyles: hoverStyles,
|
|
46807
46814
|
activeStyles: activeStyles,
|
|
@@ -46811,10 +46818,10 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46811
46818
|
align: "center"
|
|
46812
46819
|
}, /*#__PURE__*/React__default.createElement(AutopayOnIcon, null), /*#__PURE__*/React__default.createElement(Text$1, {
|
|
46813
46820
|
variant: "pS",
|
|
46814
|
-
onClick: function
|
|
46815
|
-
return
|
|
46821
|
+
onClick: onClick || function () {
|
|
46822
|
+
return toggleModal(true);
|
|
46816
46823
|
},
|
|
46817
|
-
onKeyPress:
|
|
46824
|
+
onKeyPress: onKeyPress || function (e) {
|
|
46818
46825
|
e.key === "Enter" && toggleModal(true);
|
|
46819
46826
|
},
|
|
46820
46827
|
tabIndex: "0",
|
|
@@ -46823,16 +46830,16 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46823
46830
|
weight: themeValues.fontWeight,
|
|
46824
46831
|
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
46825
46832
|
extraStyles: "padding-left: 0.25rem;",
|
|
46826
|
-
disabled:
|
|
46833
|
+
disabled: disableActions
|
|
46827
46834
|
}, "".concat(shortPlan, " ").concat(nextAutopayDate))));
|
|
46828
46835
|
}
|
|
46829
46836
|
}
|
|
46830
46837
|
};
|
|
46831
46838
|
return /*#__PURE__*/React__default.createElement(Modal$1, _extends({
|
|
46832
|
-
showModal:
|
|
46839
|
+
showModal: function showModal() {
|
|
46833
46840
|
return toggleModal(true);
|
|
46834
46841
|
},
|
|
46835
|
-
hideModal:
|
|
46842
|
+
hideModal: function hideModal() {
|
|
46836
46843
|
return toggleModal(false);
|
|
46837
46844
|
},
|
|
46838
46845
|
modalOpen: modalOpen
|
|
@@ -46853,8 +46860,8 @@ var AmountModule = function AmountModule(_ref) {
|
|
|
46853
46860
|
description = _ref.description,
|
|
46854
46861
|
subDescription = _ref.subDescription,
|
|
46855
46862
|
allowedPaymentInstruments = _ref.allowedPaymentInstruments,
|
|
46856
|
-
_ref$
|
|
46857
|
-
|
|
46863
|
+
_ref$disableActions = _ref.disableActions,
|
|
46864
|
+
disableActions = _ref$disableActions === void 0 ? false : _ref$disableActions;
|
|
46858
46865
|
var _useState = React.useState(false),
|
|
46859
46866
|
_useState2 = _slicedToArray(_useState, 2),
|
|
46860
46867
|
modalOpen = _useState2[0],
|
|
@@ -46885,7 +46892,16 @@ var AmountModule = function AmountModule(_ref) {
|
|
|
46885
46892
|
description: description,
|
|
46886
46893
|
subDescription: subDescription,
|
|
46887
46894
|
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
46888
|
-
|
|
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
|
+
}
|
|
46889
46905
|
})));
|
|
46890
46906
|
};
|
|
46891
46907
|
|
|
@@ -46908,8 +46924,8 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46908
46924
|
description = _ref.description,
|
|
46909
46925
|
subDescription = _ref.subDescription,
|
|
46910
46926
|
allowedPaymentInstruments = _ref.allowedPaymentInstruments,
|
|
46911
|
-
_ref$
|
|
46912
|
-
|
|
46927
|
+
_ref$disableActions = _ref.disableActions,
|
|
46928
|
+
disableActions = _ref$disableActions === void 0 ? false : _ref$disableActions;
|
|
46913
46929
|
var planType = isPaymentPlan ? "Payment Plan" : "Autopay";
|
|
46914
46930
|
var _useState = React.useState(false),
|
|
46915
46931
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -46963,7 +46979,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46963
46979
|
description: description,
|
|
46964
46980
|
subDescription: subDescription,
|
|
46965
46981
|
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
46966
|
-
isInCustomerManagement:
|
|
46982
|
+
isInCustomerManagement: disableActions
|
|
46967
46983
|
}))), /*#__PURE__*/React__default.createElement(Box, {
|
|
46968
46984
|
padding: isMobile ? "16px" : "0"
|
|
46969
46985
|
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
@@ -46991,7 +47007,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46991
47007
|
},
|
|
46992
47008
|
dataQa: "Set Up Autopay",
|
|
46993
47009
|
extraStyles: isMobile && "flex-grow: 1; width: 100%;",
|
|
46994
|
-
disabled:
|
|
47010
|
+
disabled: disableActions
|
|
46995
47011
|
}) : /*#__PURE__*/React__default.createElement(AutopayModalModule, {
|
|
46996
47012
|
autoPayActive: autoPayEnabled,
|
|
46997
47013
|
autoPaySchedule: autoPaySchedule,
|
|
@@ -47008,25 +47024,25 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
47008
47024
|
description: description,
|
|
47009
47025
|
subDescription: subDescription,
|
|
47010
47026
|
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
47011
|
-
|
|
47027
|
+
disableActions: disableActions
|
|
47012
47028
|
})), !isMobile && /*#__PURE__*/React__default.createElement(Box, {
|
|
47013
47029
|
padding: "0"
|
|
47014
47030
|
}, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
47015
47031
|
isLoading: isLoading,
|
|
47016
|
-
action:
|
|
47032
|
+
action: disableActions ? noop : function () {
|
|
47017
47033
|
return handleClick(obligations);
|
|
47018
47034
|
},
|
|
47019
47035
|
text: "Pay Now",
|
|
47020
47036
|
variant: isMobile ? "smallSecondary" : "secondary",
|
|
47021
47037
|
dataQa: "Pay Now",
|
|
47022
|
-
disabled:
|
|
47038
|
+
disabled: disableActions
|
|
47023
47039
|
}))), isMobile && /*#__PURE__*/React__default.createElement(Box, {
|
|
47024
47040
|
padding: "8px 0 0",
|
|
47025
47041
|
width: "100%"
|
|
47026
47042
|
}, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
47027
47043
|
isLoading: isLoading,
|
|
47028
47044
|
action: function action() {
|
|
47029
|
-
return
|
|
47045
|
+
return disableActions ? noop : function () {
|
|
47030
47046
|
return handleClick(obligations);
|
|
47031
47047
|
};
|
|
47032
47048
|
},
|
|
@@ -47034,7 +47050,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
47034
47050
|
variant: isMobile ? "smallSecondary" : "secondary",
|
|
47035
47051
|
dataQa: "Pay Now",
|
|
47036
47052
|
extraStyles: isMobile && "flex-grow: 1; width: 100%; margin: 0;",
|
|
47037
|
-
disabled:
|
|
47053
|
+
disabled: disableActions
|
|
47038
47054
|
}))));
|
|
47039
47055
|
};
|
|
47040
47056
|
|
|
@@ -47045,8 +47061,8 @@ var RemoveAccountModalModule = function RemoveAccountModalModule(_ref) {
|
|
|
47045
47061
|
removeAccount = _ref.removeAccount,
|
|
47046
47062
|
accountType = _ref.accountType,
|
|
47047
47063
|
isMobile = _ref.isMobile,
|
|
47048
|
-
_ref$
|
|
47049
|
-
|
|
47064
|
+
_ref$disableActions = _ref.disableActions,
|
|
47065
|
+
disableActions = _ref$disableActions === void 0 ? false : _ref$disableActions;
|
|
47050
47066
|
var _useState = React.useState(false),
|
|
47051
47067
|
_useState2 = _slicedToArray(_useState, 2),
|
|
47052
47068
|
modalIsOpen = _useState2[0],
|
|
@@ -47070,8 +47086,10 @@ var RemoveAccountModalModule = function RemoveAccountModalModule(_ref) {
|
|
|
47070
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."),
|
|
47071
47087
|
continueButtonText: "Remove",
|
|
47072
47088
|
continueAction: function continueAction() {
|
|
47073
|
-
|
|
47074
|
-
|
|
47089
|
+
if (!disableActions) {
|
|
47090
|
+
removeAccount();
|
|
47091
|
+
setModalIsOpen(false);
|
|
47092
|
+
}
|
|
47075
47093
|
},
|
|
47076
47094
|
useDangerButton: true
|
|
47077
47095
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -47080,12 +47098,12 @@ var RemoveAccountModalModule = function RemoveAccountModalModule(_ref) {
|
|
|
47080
47098
|
}, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
47081
47099
|
text: "Remove",
|
|
47082
47100
|
variant: "secondary",
|
|
47083
|
-
action:
|
|
47101
|
+
action: disableActions ? noop : function () {
|
|
47084
47102
|
return setModalIsOpen(true);
|
|
47085
47103
|
},
|
|
47086
47104
|
dataQa: "Remove Account",
|
|
47087
47105
|
extraStyles: isMobile ? "flex-grow: 1; width: 100%; margin: 0;" : "flex-grow: 1;",
|
|
47088
|
-
disabled:
|
|
47106
|
+
disabled: disableActions
|
|
47089
47107
|
})));
|
|
47090
47108
|
};
|
|
47091
47109
|
|
|
@@ -47106,8 +47124,8 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
|
|
|
47106
47124
|
description = _ref.description,
|
|
47107
47125
|
subDescription = _ref.subDescription,
|
|
47108
47126
|
allowedPaymentInstruments = _ref.allowedPaymentInstruments,
|
|
47109
|
-
_ref$
|
|
47110
|
-
|
|
47127
|
+
_ref$disableActions = _ref.disableActions,
|
|
47128
|
+
disableActions = _ref$disableActions === void 0 ? false : _ref$disableActions;
|
|
47111
47129
|
var _useState = React.useState(false),
|
|
47112
47130
|
_useState2 = _slicedToArray(_useState, 2),
|
|
47113
47131
|
modalOpen = _useState2[0],
|
|
@@ -47146,16 +47164,16 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
|
|
|
47146
47164
|
description: description,
|
|
47147
47165
|
subDescription: subDescription,
|
|
47148
47166
|
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
47149
|
-
|
|
47167
|
+
disableActions: disableActions
|
|
47150
47168
|
})), /*#__PURE__*/React__default.createElement(Box, {
|
|
47151
47169
|
padding: "0",
|
|
47152
47170
|
extraStyles: "flex-grow: 1;"
|
|
47153
47171
|
}, /*#__PURE__*/React__default.createElement(RemoveAccountModalModule, {
|
|
47154
47172
|
agencyName: agencyName,
|
|
47155
|
-
removeAccount:
|
|
47173
|
+
removeAccount: disableActions ? noop : handleRemoveAccount,
|
|
47156
47174
|
accountType: configType === "ACCOUNT" ? "Account" : "Property",
|
|
47157
47175
|
isMobile: isMobile,
|
|
47158
|
-
|
|
47176
|
+
disableActions: disableActions
|
|
47159
47177
|
}))));
|
|
47160
47178
|
};
|
|
47161
47179
|
|
|
@@ -47286,7 +47304,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
47286
47304
|
description: description,
|
|
47287
47305
|
subDescription: subDescription,
|
|
47288
47306
|
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
47289
|
-
|
|
47307
|
+
disableActions: isInCustomerManagement
|
|
47290
47308
|
}))), !isMobile && /*#__PURE__*/React__default.createElement(PaymentDetailsActions, {
|
|
47291
47309
|
obligations: obligations,
|
|
47292
47310
|
autoPayEnabled: autoPayEnabled,
|
|
@@ -47305,7 +47323,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
47305
47323
|
description: description,
|
|
47306
47324
|
subDescription: subDescription,
|
|
47307
47325
|
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
47308
|
-
|
|
47326
|
+
disableActions: isInCustomerManagement
|
|
47309
47327
|
}))), isMobile && /*#__PURE__*/React__default.createElement(PaymentDetailsActions, {
|
|
47310
47328
|
obligations: obligations,
|
|
47311
47329
|
autoPayEnabled: autoPayEnabled,
|
|
@@ -47324,7 +47342,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
47324
47342
|
description: description,
|
|
47325
47343
|
subDescription: subDescription,
|
|
47326
47344
|
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
47327
|
-
|
|
47345
|
+
disableActions: isInCustomerManagement
|
|
47328
47346
|
}));
|
|
47329
47347
|
var inactiveObligation = /*#__PURE__*/React__default.createElement(Box, {
|
|
47330
47348
|
padding: "0",
|
|
@@ -47381,7 +47399,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
47381
47399
|
description: description,
|
|
47382
47400
|
subDescription: subDescription,
|
|
47383
47401
|
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
47384
|
-
|
|
47402
|
+
disableActions: isInCustomerManagement
|
|
47385
47403
|
}))), isMobile && /*#__PURE__*/React__default.createElement(InactiveControlsModule, {
|
|
47386
47404
|
obligations: obligations,
|
|
47387
47405
|
autoPayEnabled: autoPayEnabled,
|
|
@@ -47399,7 +47417,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
47399
47417
|
description: description,
|
|
47400
47418
|
subDescription: subDescription,
|
|
47401
47419
|
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
47402
|
-
|
|
47420
|
+
disableActions: isInCustomerManagement
|
|
47403
47421
|
}))));
|
|
47404
47422
|
return inactive ? inactiveObligation : activeObligation;
|
|
47405
47423
|
};
|
|
@@ -47681,7 +47699,7 @@ var Pagination = function Pagination(_ref3) {
|
|
|
47681
47699
|
return setCurrentPage({
|
|
47682
47700
|
pageNumber: item.index
|
|
47683
47701
|
});
|
|
47684
|
-
} : noop
|
|
47702
|
+
} : noop,
|
|
47685
47703
|
textExtraStyles: "font-size: ".concat(fontSize, "; font-weight: ").concat(fontWeight, ";"),
|
|
47686
47704
|
extraStyles: "".concat(extraStyles).concat(item.active ? currentPageStyles : ""),
|
|
47687
47705
|
dataQa: index
|
|
@@ -48038,7 +48056,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
48038
48056
|
_ref4$voidableTransac = _ref4.voidableTransactionDetails,
|
|
48039
48057
|
voidableTransactionDetails = _ref4$voidableTransac === void 0 ? [] : _ref4$voidableTransac,
|
|
48040
48058
|
_ref4$partialVoidActi = _ref4.partialVoidAction,
|
|
48041
|
-
partialVoidAction = _ref4$partialVoidActi === void 0 ? noop
|
|
48059
|
+
partialVoidAction = _ref4$partialVoidActi === void 0 ? noop : _ref4$partialVoidActi,
|
|
48042
48060
|
_ref4$voidableAmountP = _ref4.voidableAmountPaid,
|
|
48043
48061
|
voidableAmountPaid = _ref4$voidableAmountP === void 0 ? 0 : _ref4$voidableAmountP,
|
|
48044
48062
|
_ref4$remainingBalanc = _ref4.remainingBalance,
|
|
@@ -48497,7 +48515,7 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
|
48497
48515
|
actions = _ref.actions,
|
|
48498
48516
|
showErrors = _ref.showErrors,
|
|
48499
48517
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
48500
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop
|
|
48518
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
48501
48519
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
48502
48520
|
saveToWallet = _ref.saveToWallet,
|
|
48503
48521
|
walletCheckboxMarked = _ref.walletCheckboxMarked,
|
|
@@ -48699,7 +48717,7 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
|
|
|
48699
48717
|
actions = _ref.actions,
|
|
48700
48718
|
showErrors = _ref.showErrors,
|
|
48701
48719
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
48702
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop
|
|
48720
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
48703
48721
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
48704
48722
|
saveToWallet = _ref.saveToWallet,
|
|
48705
48723
|
walletCheckboxMarked = _ref.walletCheckboxMarked,
|
|
@@ -49003,7 +49021,7 @@ var PhoneForm = function PhoneForm(_ref) {
|
|
|
49003
49021
|
clearOnDismount = _ref.clearOnDismount,
|
|
49004
49022
|
showErrors = _ref.showErrors,
|
|
49005
49023
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
49006
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop
|
|
49024
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
49007
49025
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
49008
49026
|
saveToWallet = _ref.saveToWallet,
|
|
49009
49027
|
walletCheckboxMarked = _ref.walletCheckboxMarked,
|
|
@@ -49079,7 +49097,7 @@ var RadioGroup = function RadioGroup(_ref) {
|
|
|
49079
49097
|
config = _ref.config,
|
|
49080
49098
|
extraStyles = _ref.extraStyles,
|
|
49081
49099
|
_ref$handleChange = _ref.handleChange,
|
|
49082
|
-
handleChange = _ref$handleChange === void 0 ? noop
|
|
49100
|
+
handleChange = _ref$handleChange === void 0 ? noop : _ref$handleChange,
|
|
49083
49101
|
field = _ref.field,
|
|
49084
49102
|
fieldActions = _ref.fieldActions;
|
|
49085
49103
|
var setValue = function setValue(value) {
|
|
@@ -49144,7 +49162,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
49144
49162
|
ariaLabelledBy = _ref.ariaLabelledBy,
|
|
49145
49163
|
isLastGroupedItemInSection = _ref.isLastGroupedItemInSection,
|
|
49146
49164
|
_ref$onKeyDown = _ref.onKeyDown,
|
|
49147
|
-
onKeyDown = _ref$onKeyDown === void 0 ? noop
|
|
49165
|
+
onKeyDown = _ref$onKeyDown === void 0 ? noop : _ref$onKeyDown;
|
|
49148
49166
|
var wrapper = {
|
|
49149
49167
|
open: {
|
|
49150
49168
|
height: openHeight,
|
|
@@ -49201,12 +49219,12 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
49201
49219
|
"aria-required": section.required,
|
|
49202
49220
|
"aria-labelledby": ariaLabelledBy,
|
|
49203
49221
|
"aria-describedby": ariaDescribedBy,
|
|
49204
|
-
onClick: isMobile && supportsTouch || section.disabled ? noop
|
|
49222
|
+
onClick: isMobile && supportsTouch || section.disabled ? noop : function () {
|
|
49205
49223
|
return toggleOpenSection(section.id);
|
|
49206
49224
|
},
|
|
49207
49225
|
onTouchEnd: isMobile && supportsTouch && !section.disabled ? function () {
|
|
49208
49226
|
return toggleOpenSection(section.id);
|
|
49209
|
-
} : noop
|
|
49227
|
+
} : noop,
|
|
49210
49228
|
id: "inner-radio-section-".concat(sectionIndex),
|
|
49211
49229
|
"data-qa": section.dataQa ? section.dataQa : section.id || "inner-radio-section-".concat(sectionIndex)
|
|
49212
49230
|
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
@@ -49236,7 +49254,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
49236
49254
|
ariaDescribedBy: ariaDescribedBy,
|
|
49237
49255
|
radioOn: openSection === section.id,
|
|
49238
49256
|
radioFocused: focused === section.id,
|
|
49239
|
-
toggleRadio: section.disabled ? noop
|
|
49257
|
+
toggleRadio: section.disabled ? noop : function () {
|
|
49240
49258
|
return toggleOpenSection(section.id);
|
|
49241
49259
|
},
|
|
49242
49260
|
tabIndex: "-1",
|
|
@@ -49420,7 +49438,7 @@ var RegistrationForm = function RegistrationForm(_ref) {
|
|
|
49420
49438
|
fields = _ref.fields,
|
|
49421
49439
|
actions = _ref.actions,
|
|
49422
49440
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
49423
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop
|
|
49441
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
49424
49442
|
showErrors = _ref.showErrors,
|
|
49425
49443
|
isMobile = _ref.isMobile;
|
|
49426
49444
|
if (clearOnDismount) {
|
|
@@ -49580,7 +49598,7 @@ var ResetConfirmationForm$1 = withWindowSize(ResetConfirmationForm);
|
|
|
49580
49598
|
|
|
49581
49599
|
var ResetPasswordForm = function ResetPasswordForm(_ref) {
|
|
49582
49600
|
var _ref$handleSubmit = _ref.handleSubmit,
|
|
49583
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop
|
|
49601
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
49584
49602
|
clearOnDismount = _ref.clearOnDismount,
|
|
49585
49603
|
fields = _ref.fields,
|
|
49586
49604
|
actions = _ref.actions,
|