@thecb/components 10.2.4-beta.14 → 10.2.4-beta.15
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 +81 -83
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +81 -83
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/button-with-action/ButtonWithAction.js +28 -31
- package/src/components/atoms/button-with-action/ButtonWithAction.stories.js +1 -0
- package/src/components/atoms/button-with-action/ButtonWithAction.theme.js +15 -0
- package/src/components/molecules/obligation/Obligation.js +0 -3
- package/src/components/molecules/obligation/modules/AmountModule.js +1 -3
- package/src/components/molecules/obligation/modules/AmountModule.stories.js +1 -1
- package/src/components/molecules/obligation/modules/AutopayModalModule.js +8 -12
- package/src/components/molecules/obligation/modules/InactiveControlsModule.js +2 -5
- package/src/components/molecules/obligation/modules/PaymentDetailsActions.js +1 -6
- package/src/components/molecules/obligation/modules/RemoveAccountModalModule.js +1 -3
package/dist/index.cjs.js
CHANGED
|
@@ -6206,7 +6206,7 @@ return numeral;
|
|
|
6206
6206
|
}));
|
|
6207
6207
|
});
|
|
6208
6208
|
|
|
6209
|
-
var noop
|
|
6209
|
+
var noop = function noop() {};
|
|
6210
6210
|
var formatMoneyString = function formatMoneyString(s) {
|
|
6211
6211
|
return numeral(s).format("$0,0.00");
|
|
6212
6212
|
};
|
|
@@ -6340,7 +6340,7 @@ var wrapIndex = function wrapIndex(index, length) {
|
|
|
6340
6340
|
|
|
6341
6341
|
var general = /*#__PURE__*/Object.freeze({
|
|
6342
6342
|
__proto__: null,
|
|
6343
|
-
noop: noop
|
|
6343
|
+
noop: noop,
|
|
6344
6344
|
displayCurrency: displayCurrency,
|
|
6345
6345
|
convertCentsToMoneyInt: convertCentsToMoneyInt,
|
|
6346
6346
|
formatPercent: formatPercent,
|
|
@@ -10528,7 +10528,7 @@ var isRefObject = function (ref) {
|
|
|
10528
10528
|
return typeof ref === "object" && ref.hasOwnProperty("current");
|
|
10529
10529
|
};
|
|
10530
10530
|
|
|
10531
|
-
var noop$
|
|
10531
|
+
var noop$1 = function (v) { return v; };
|
|
10532
10532
|
var ComponentDragControls = /** @class */ (function () {
|
|
10533
10533
|
function ComponentDragControls(_a) {
|
|
10534
10534
|
var ref = _a.ref, values = _a.values, controls = _a.controls;
|
|
@@ -10556,7 +10556,7 @@ var ComponentDragControls = /** @class */ (function () {
|
|
|
10556
10556
|
* @internal
|
|
10557
10557
|
*/
|
|
10558
10558
|
this.props = {
|
|
10559
|
-
transformPagePoint: noop$
|
|
10559
|
+
transformPagePoint: noop$1,
|
|
10560
10560
|
};
|
|
10561
10561
|
/**
|
|
10562
10562
|
* References to the MotionValues used for tracking the current dragged point.
|
|
@@ -12560,6 +12560,7 @@ var Reel = function Reel(_ref) {
|
|
|
12560
12560
|
var padding = {
|
|
12561
12561
|
primary: "0.75rem 1.5rem",
|
|
12562
12562
|
secondary: "0.75rem 1.5rem",
|
|
12563
|
+
disabledSecondary: "0.75rem 1.5rem",
|
|
12563
12564
|
back: "0.75rem 1.5rem",
|
|
12564
12565
|
smallPrimary: "0.75rem 1rem",
|
|
12565
12566
|
smallSecondary: "0.75rem 1rem",
|
|
@@ -12574,6 +12575,7 @@ var padding = {
|
|
|
12574
12575
|
var color$1 = {
|
|
12575
12576
|
primary: WHITE,
|
|
12576
12577
|
secondary: MATISSE_BLUE,
|
|
12578
|
+
disabledSecondary: MANATEE_GREY,
|
|
12577
12579
|
back: MATISSE_BLUE,
|
|
12578
12580
|
smallPrimary: WHITE,
|
|
12579
12581
|
smallSecondary: MATISSE_BLUE,
|
|
@@ -12588,6 +12590,7 @@ var color$1 = {
|
|
|
12588
12590
|
var fontSizeVariant = {
|
|
12589
12591
|
primary: "pS",
|
|
12590
12592
|
secondary: "pS",
|
|
12593
|
+
disabledSecondary: "pS",
|
|
12591
12594
|
back: "pS",
|
|
12592
12595
|
smallPrimary: "pS",
|
|
12593
12596
|
smallSecondary: "pS",
|
|
@@ -12602,6 +12605,7 @@ var fontSizeVariant = {
|
|
|
12602
12605
|
var fontWeight = {
|
|
12603
12606
|
primary: "600",
|
|
12604
12607
|
secondary: "600",
|
|
12608
|
+
disabledSecondary: "600",
|
|
12605
12609
|
back: "600",
|
|
12606
12610
|
smallPrimary: "600",
|
|
12607
12611
|
smallSecondary: "600",
|
|
@@ -12616,6 +12620,7 @@ var fontWeight = {
|
|
|
12616
12620
|
var height = {
|
|
12617
12621
|
primary: "3rem",
|
|
12618
12622
|
secondary: "3rem",
|
|
12623
|
+
disabledSecondary: "3rem",
|
|
12619
12624
|
back: "3rem",
|
|
12620
12625
|
smallPrimary: "2.5rem",
|
|
12621
12626
|
smallSecondary: "2.5rem",
|
|
@@ -12630,6 +12635,7 @@ var height = {
|
|
|
12630
12635
|
var minWidth = {
|
|
12631
12636
|
primary: "130px",
|
|
12632
12637
|
secondary: "130px",
|
|
12638
|
+
disabledSecondary: "130px",
|
|
12633
12639
|
back: "130px",
|
|
12634
12640
|
smallPrimary: "100px",
|
|
12635
12641
|
smallSecondary: "100px",
|
|
@@ -12644,6 +12650,7 @@ var minWidth = {
|
|
|
12644
12650
|
var backgroundColor = {
|
|
12645
12651
|
primary: MATISSE_BLUE,
|
|
12646
12652
|
secondary: TRANSPARENT,
|
|
12653
|
+
disabledSecondary: TRANSPARENT,
|
|
12647
12654
|
back: TRANSPARENT,
|
|
12648
12655
|
smallPrimary: MATISSE_BLUE,
|
|
12649
12656
|
smallSecondary: TRANSPARENT,
|
|
@@ -12658,6 +12665,7 @@ var backgroundColor = {
|
|
|
12658
12665
|
var border = {
|
|
12659
12666
|
primary: "2px solid " + MATISSE_BLUE,
|
|
12660
12667
|
secondary: "2px solid " + MATISSE_BLUE,
|
|
12668
|
+
disabledSecondary: "2px solid " + MANATEE_GREY,
|
|
12661
12669
|
back: "2px solid " + MATISSE_BLUE,
|
|
12662
12670
|
smallPrimary: "2px solid " + MATISSE_BLUE,
|
|
12663
12671
|
smallSecondary: "2px solid " + MATISSE_BLUE,
|
|
@@ -12672,6 +12680,7 @@ var border = {
|
|
|
12672
12680
|
var hoverBackgroundColor = {
|
|
12673
12681
|
primary: SAPPHIRE_BLUE,
|
|
12674
12682
|
secondary: "#DBEAF0",
|
|
12683
|
+
disabledSecondary: TRANSPARENT,
|
|
12675
12684
|
back: TRANSPARENT,
|
|
12676
12685
|
smallPrimary: SAPPHIRE_BLUE,
|
|
12677
12686
|
smallSecondary: "#DBEAF0",
|
|
@@ -12686,6 +12695,7 @@ var hoverBackgroundColor = {
|
|
|
12686
12695
|
var hoverBorderColor = {
|
|
12687
12696
|
primary: SAPPHIRE_BLUE,
|
|
12688
12697
|
secondary: MATISSE_BLUE,
|
|
12698
|
+
disabledSecondary: MANATEE_GREY,
|
|
12689
12699
|
back: "#DCEAF1",
|
|
12690
12700
|
smallPrimary: SAPPHIRE_BLUE,
|
|
12691
12701
|
smallSecondary: MATISSE_BLUE,
|
|
@@ -12700,6 +12710,7 @@ var hoverBorderColor = {
|
|
|
12700
12710
|
var hoverColor = {
|
|
12701
12711
|
primary: WHITE,
|
|
12702
12712
|
secondary: SAPPHIRE_BLUE,
|
|
12713
|
+
disabledSecondary: MANATEE_GREY,
|
|
12703
12714
|
back: SAPPHIRE_BLUE,
|
|
12704
12715
|
smallPrimary: WHITE,
|
|
12705
12716
|
smallSecondary: SAPPHIRE_BLUE,
|
|
@@ -12714,6 +12725,7 @@ var hoverColor = {
|
|
|
12714
12725
|
var activeBackgroundColor = {
|
|
12715
12726
|
primary: PEACOCK_BLUE,
|
|
12716
12727
|
secondary: "#B8D5E1",
|
|
12728
|
+
disabledSecondary: TRANSPARENT,
|
|
12717
12729
|
back: TRANSPARENT,
|
|
12718
12730
|
smallPrimary: PEACOCK_BLUE,
|
|
12719
12731
|
smallSecondary: "#B8D5E1",
|
|
@@ -12728,6 +12740,7 @@ var activeBackgroundColor = {
|
|
|
12728
12740
|
var activeBorderColor = {
|
|
12729
12741
|
primary: PEACOCK_BLUE,
|
|
12730
12742
|
secondary: MATISSE_BLUE,
|
|
12743
|
+
disabledSecondary: MANATEE_GREY,
|
|
12731
12744
|
back: PEACOCK_BLUE,
|
|
12732
12745
|
smallPrimary: PEACOCK_BLUE,
|
|
12733
12746
|
smallSecondary: MATISSE_BLUE,
|
|
@@ -12742,6 +12755,7 @@ var activeBorderColor = {
|
|
|
12742
12755
|
var activeColor = {
|
|
12743
12756
|
primary: WHITE,
|
|
12744
12757
|
secondary: MATISSE_BLUE,
|
|
12758
|
+
disabledSecondary: MANATEE_GREY,
|
|
12745
12759
|
back: PEACOCK_BLUE,
|
|
12746
12760
|
smallPrimary: WHITE,
|
|
12747
12761
|
smallSecondary: PEACOCK_BLUE,
|
|
@@ -12888,7 +12902,7 @@ var Spinner = function Spinner(_ref) {
|
|
|
12888
12902
|
|
|
12889
12903
|
var ButtonWithAction = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
12890
12904
|
var _ref2$action = _ref2.action,
|
|
12891
|
-
action = _ref2$action === void 0 ? noop
|
|
12905
|
+
action = _ref2$action === void 0 ? noop : _ref2$action,
|
|
12892
12906
|
_ref2$variant = _ref2.variant,
|
|
12893
12907
|
variant = _ref2$variant === void 0 ? "primary" : _ref2$variant,
|
|
12894
12908
|
text = _ref2.text,
|
|
@@ -12911,13 +12925,12 @@ var ButtonWithAction = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
|
12911
12925
|
children = _ref2.children,
|
|
12912
12926
|
extraDisabledStyles = _ref2.extraDisabledStyles,
|
|
12913
12927
|
rest = _objectWithoutProperties(_ref2, _excluded$h);
|
|
12914
|
-
var isGhostVariant = variant === "ghost" || variant === "smallGhost";
|
|
12915
12928
|
var themeContext = React.useContext(styled.ThemeContext);
|
|
12916
12929
|
var themeValues = createThemeValues(themeContext, fallbackValues$1, "Button", variant);
|
|
12917
12930
|
var isMobile = themeContext.isMobile;
|
|
12918
|
-
var hoverStyles = "\n
|
|
12919
|
-
var activeStyles = "\n
|
|
12920
|
-
var disabledStyles = "\n
|
|
12931
|
+
var hoverStyles = "\n outline: none;\n background-color: ".concat(themeValues.hoverBackgroundColor, ";\n border-color: ").concat(themeValues.hoverBorderColor, ";\n color: ").concat(themeValues.hoverColor, ";\n text-decoration: ").concat(variant === "ghost" || variant === "smallGhost" ? "underline" : "none", ";\n cursor: pointer;\n ");
|
|
12932
|
+
var activeStyles = "\n outline: none;\n background-color: ".concat(themeValues.activeBackgroundColor, ";\n border-color: ").concat(themeValues.activeBorderColor, ";\n color: ").concat(themeValues.activeColor, ";\n text-decoration: ").concat(variant === "ghost" || variant === "smallGhost" ? "underline" : "none", ";\n ");
|
|
12933
|
+
var disabledStyles = "\n background-color: #6D717E;\n border-color: #6D717E;\n color: #FFFFFF;\n cursor: default;\n &:focus {\n outline: 3px solid #6D717E;\n outline-offset: 2px;\n }\n ".concat(extraDisabledStyles, "\n ");
|
|
12921
12934
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
12922
12935
|
ref: ref,
|
|
12923
12936
|
variant: variant,
|
|
@@ -12931,7 +12944,7 @@ var ButtonWithAction = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
|
12931
12944
|
disabledStyles: disabledStyles,
|
|
12932
12945
|
"aria-disabled": disabled,
|
|
12933
12946
|
as: "button",
|
|
12934
|
-
onClick: isLoading || disabled ?
|
|
12947
|
+
onClick: isLoading || disabled ? undefined : action,
|
|
12935
12948
|
borderRadius: "2px",
|
|
12936
12949
|
theme: themeContext,
|
|
12937
12950
|
extraStyles: "margin: 0.5rem; ".concat(extraStyles),
|
|
@@ -12948,7 +12961,7 @@ var ButtonWithAction = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
|
12948
12961
|
variant: themeValues.fontSizeVariant,
|
|
12949
12962
|
color: themeValues.color,
|
|
12950
12963
|
textWrap: textWrap,
|
|
12951
|
-
extraStyles:
|
|
12964
|
+
extraStyles: textExtraStyles
|
|
12952
12965
|
}, text)));
|
|
12953
12966
|
});
|
|
12954
12967
|
|
|
@@ -22625,7 +22638,7 @@ var Checkbox = function Checkbox(_ref4) {
|
|
|
22625
22638
|
name = _ref4.name,
|
|
22626
22639
|
checked = _ref4.checked,
|
|
22627
22640
|
_ref4$onChange = _ref4.onChange,
|
|
22628
|
-
onChange = _ref4$onChange === void 0 ? noop
|
|
22641
|
+
onChange = _ref4$onChange === void 0 ? noop : _ref4$onChange,
|
|
22629
22642
|
_ref4$disabled = _ref4.disabled,
|
|
22630
22643
|
disabled = _ref4$disabled === void 0 ? false : _ref4$disabled,
|
|
22631
22644
|
themeValues = _ref4.themeValues,
|
|
@@ -22820,7 +22833,7 @@ var CheckboxListItem = function CheckboxListItem(_ref) {
|
|
|
22820
22833
|
padding: "0.875rem",
|
|
22821
22834
|
borderRadius: "4px",
|
|
22822
22835
|
minWidth: "30%",
|
|
22823
|
-
onClick: disabled ? noop
|
|
22836
|
+
onClick: disabled ? noop : onSelect,
|
|
22824
22837
|
borderColor: borderColor,
|
|
22825
22838
|
borderSize: "1px",
|
|
22826
22839
|
color: color,
|
|
@@ -22835,8 +22848,8 @@ var CheckboxListItem = function CheckboxListItem(_ref) {
|
|
|
22835
22848
|
name: name,
|
|
22836
22849
|
"aria-label": name,
|
|
22837
22850
|
htmlFor: "checkbox-".concat(name, "-").concat(index),
|
|
22838
|
-
onClick: disabled ? noop
|
|
22839
|
-
onKeyDown: disabled ? noop
|
|
22851
|
+
onClick: disabled ? noop : onSelect,
|
|
22852
|
+
onKeyDown: disabled ? noop : onSelect,
|
|
22840
22853
|
tabIndex: 0
|
|
22841
22854
|
}, /*#__PURE__*/React__default.createElement(styled.ThemeProvider, {
|
|
22842
22855
|
theme: {
|
|
@@ -24319,7 +24332,7 @@ var Dropdown = function Dropdown(_ref13) {
|
|
|
24319
24332
|
_ref13$disabledValues = _ref13.disabledValues,
|
|
24320
24333
|
disabledValues = _ref13$disabledValues === void 0 ? [] : _ref13$disabledValues,
|
|
24321
24334
|
_ref13$onClick = _ref13.onClick,
|
|
24322
|
-
_onClick = _ref13$onClick === void 0 ? noop
|
|
24335
|
+
_onClick = _ref13$onClick === void 0 ? noop : _ref13$onClick,
|
|
24323
24336
|
themeValues = _ref13.themeValues,
|
|
24324
24337
|
maxHeight = _ref13.maxHeight,
|
|
24325
24338
|
_ref13$widthFitOption = _ref13.widthFitOptions,
|
|
@@ -25935,7 +25948,7 @@ var Popover = function Popover(_ref) {
|
|
|
25935
25948
|
extraStyles: "position: relative; ".concat(extraStyles)
|
|
25936
25949
|
}, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
25937
25950
|
action: function action() {
|
|
25938
|
-
return noop
|
|
25951
|
+
return noop;
|
|
25939
25952
|
},
|
|
25940
25953
|
onFocus: function onFocus() {
|
|
25941
25954
|
handleTogglePopover(true);
|
|
@@ -26901,7 +26914,7 @@ var HamburgerButton = function HamburgerButton(_ref4) {
|
|
|
26901
26914
|
inactiveColor = _ref4.inactiveColor,
|
|
26902
26915
|
isActive = _ref4.isActive,
|
|
26903
26916
|
_ref4$onClick = _ref4.onClick,
|
|
26904
|
-
onClick = _ref4$onClick === void 0 ? noop
|
|
26917
|
+
onClick = _ref4$onClick === void 0 ? noop : _ref4$onClick,
|
|
26905
26918
|
controls = _ref4.controls;
|
|
26906
26919
|
return /*#__PURE__*/React__default.createElement(Hamburger, {
|
|
26907
26920
|
className: isActive === true ? "active" : "",
|
|
@@ -27598,7 +27611,7 @@ var PlaceholderContentWrapper = function PlaceholderContentWrapper(_ref) {
|
|
|
27598
27611
|
minHeight: "100%",
|
|
27599
27612
|
extraStyles: disabled ? "cursor: default;" : "cursor: pointer;"
|
|
27600
27613
|
}, children)) : /*#__PURE__*/React__default.createElement(Box, {
|
|
27601
|
-
onClick: disabled ? noop
|
|
27614
|
+
onClick: disabled ? noop : action,
|
|
27602
27615
|
padding: "0",
|
|
27603
27616
|
minHeight: "100%",
|
|
27604
27617
|
dataQa: dataQa,
|
|
@@ -27753,7 +27766,7 @@ var RadioButtonWithLabel = function RadioButtonWithLabel(_ref5) {
|
|
|
27753
27766
|
themeValues = _ref5.themeValues,
|
|
27754
27767
|
index = _ref5.index,
|
|
27755
27768
|
_ref5$handleChange = _ref5.handleChange,
|
|
27756
|
-
handleChange = _ref5$handleChange === void 0 ? noop
|
|
27769
|
+
handleChange = _ref5$handleChange === void 0 ? noop : _ref5$handleChange,
|
|
27757
27770
|
field = _ref5.field,
|
|
27758
27771
|
config = _ref5.config;
|
|
27759
27772
|
var getDefaultChecked = function getDefaultChecked(value, idx) {
|
|
@@ -38637,7 +38650,7 @@ var ToggleSwitch = function ToggleSwitch(_ref6) {
|
|
|
38637
38650
|
var _ref6$isOn = _ref6.isOn,
|
|
38638
38651
|
isOn = _ref6$isOn === void 0 ? false : _ref6$isOn,
|
|
38639
38652
|
_ref6$onToggle = _ref6.onToggle,
|
|
38640
|
-
onToggle = _ref6$onToggle === void 0 ? noop
|
|
38653
|
+
onToggle = _ref6$onToggle === void 0 ? noop : _ref6$onToggle,
|
|
38641
38654
|
_ref6$disabled = _ref6.disabled,
|
|
38642
38655
|
disabled = _ref6$disabled === void 0 ? false : _ref6$disabled,
|
|
38643
38656
|
_ref6$name = _ref6.name,
|
|
@@ -38745,15 +38758,15 @@ var ToggleSwitch = function ToggleSwitch(_ref6) {
|
|
|
38745
38758
|
}, /*#__PURE__*/React__default.createElement(HiddenToggleSwitchBox, {
|
|
38746
38759
|
"aria-label": name,
|
|
38747
38760
|
checked: isOn,
|
|
38748
|
-
onChange: disabled ? noop
|
|
38761
|
+
onChange: disabled ? noop : onToggle,
|
|
38749
38762
|
disabled: disabled,
|
|
38750
38763
|
id: "#toggle-".concat(name),
|
|
38751
38764
|
isMobile: isMobile
|
|
38752
38765
|
}), /*#__PURE__*/React__default.createElement(VisibleSwitch, {
|
|
38753
38766
|
name: name,
|
|
38754
38767
|
htmlFor: "#toggle-".concat(name),
|
|
38755
|
-
onClick: disabled ? noop
|
|
38756
|
-
onKeyDown: disabled ? noop
|
|
38768
|
+
onClick: disabled ? noop : onToggle,
|
|
38769
|
+
onKeyDown: disabled ? noop : handleKeyDown,
|
|
38757
38770
|
pose: disabled ? "disabled" : isOn ? "on" : "off",
|
|
38758
38771
|
tabIndex: disabled ? -1 : 0,
|
|
38759
38772
|
disabled: disabled,
|
|
@@ -39853,7 +39866,7 @@ var AddressForm = function AddressForm(_ref) {
|
|
|
39853
39866
|
clearOnDismount = _ref.clearOnDismount,
|
|
39854
39867
|
showErrors = _ref.showErrors,
|
|
39855
39868
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
39856
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop
|
|
39869
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
39857
39870
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
39858
39871
|
saveToWallet = _ref.saveToWallet,
|
|
39859
39872
|
walletCheckboxMarked = _ref.walletCheckboxMarked,
|
|
@@ -40053,7 +40066,7 @@ var ChangePasswordForm = function ChangePasswordForm(_ref) {
|
|
|
40053
40066
|
fields = _ref.fields,
|
|
40054
40067
|
actions = _ref.actions,
|
|
40055
40068
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
40056
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop
|
|
40069
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
40057
40070
|
showErrors = _ref.showErrors,
|
|
40058
40071
|
isMobile = _ref.isMobile,
|
|
40059
40072
|
revenueManagement = _ref.revenueManagement,
|
|
@@ -40264,8 +40277,8 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
|
40264
40277
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
40265
40278
|
padding: customPadding ? customPadding : "0",
|
|
40266
40279
|
background: themeValues.headingBackgroundColor,
|
|
40267
|
-
onClick: isMobile && supportsTouch ? noop
|
|
40268
|
-
onTouchEnd: isMobile && supportsTouch ? toggleSection : noop
|
|
40280
|
+
onClick: isMobile && supportsTouch ? noop : toggleSection,
|
|
40281
|
+
onTouchEnd: isMobile && supportsTouch ? toggleSection : noop,
|
|
40269
40282
|
key: "header",
|
|
40270
40283
|
hoverStyles: "cursor: pointer;",
|
|
40271
40284
|
tabIndex: "0",
|
|
@@ -40483,7 +40496,7 @@ var EditNameForm = function EditNameForm(_ref) {
|
|
|
40483
40496
|
clearOnDismount = _ref.clearOnDismount,
|
|
40484
40497
|
showErrors = _ref.showErrors,
|
|
40485
40498
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
40486
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop
|
|
40499
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit;
|
|
40487
40500
|
if (clearOnDismount) {
|
|
40488
40501
|
React.useEffect(function () {
|
|
40489
40502
|
return function () {
|
|
@@ -40823,7 +40836,7 @@ var EmailForm = function EmailForm(_ref) {
|
|
|
40823
40836
|
showErrors = _ref.showErrors,
|
|
40824
40837
|
guestCheckout = _ref.guestCheckout,
|
|
40825
40838
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
40826
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop
|
|
40839
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
40827
40840
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
40828
40841
|
saveToWallet = _ref.saveToWallet,
|
|
40829
40842
|
walletCheckboxMarked = _ref.walletCheckboxMarked,
|
|
@@ -40920,7 +40933,7 @@ var ForgotPasswordForm = function ForgotPasswordForm(_ref) {
|
|
|
40920
40933
|
clearOnDismount = _ref.clearOnDismount,
|
|
40921
40934
|
showErrors = _ref.showErrors,
|
|
40922
40935
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
40923
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop
|
|
40936
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit;
|
|
40924
40937
|
if (clearOnDismount) {
|
|
40925
40938
|
React.useEffect(function () {
|
|
40926
40939
|
return function () {
|
|
@@ -42570,7 +42583,7 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
42570
42583
|
extraStyles: extraStyles,
|
|
42571
42584
|
hoverStyles: extraHoverStyles,
|
|
42572
42585
|
activeStyles: extraActiveStyles,
|
|
42573
|
-
onClick: disabled ? noop
|
|
42586
|
+
onClick: disabled ? noop : onClick,
|
|
42574
42587
|
disabled: disabled
|
|
42575
42588
|
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
42576
42589
|
childGap: 0,
|
|
@@ -42614,7 +42627,7 @@ var LoginForm = function LoginForm(_ref) {
|
|
|
42614
42627
|
actions = _ref.actions,
|
|
42615
42628
|
showErrors = _ref.showErrors,
|
|
42616
42629
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
42617
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop
|
|
42630
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit;
|
|
42618
42631
|
if (clearOnDismount) {
|
|
42619
42632
|
React.useEffect(function () {
|
|
42620
42633
|
return function () {
|
|
@@ -46597,7 +46610,7 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46597
46610
|
text: autoPayActive ? "Turn off ".concat(shortPlan) : "Set Up ".concat(shortPlan),
|
|
46598
46611
|
variant: "secondary",
|
|
46599
46612
|
action: function action() {
|
|
46600
|
-
|
|
46613
|
+
toggleModal(true);
|
|
46601
46614
|
},
|
|
46602
46615
|
dataQa: "Turn off Autopay",
|
|
46603
46616
|
extraStyles: isMobile ? "flex-grow: 1; width: 100%; margin: 0;" : "flex-grow: 1; min-width: 165px;"
|
|
@@ -46606,14 +46619,14 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46606
46619
|
case "tertiary":
|
|
46607
46620
|
{
|
|
46608
46621
|
return /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
46622
|
+
disabled: isInCustomerManagement,
|
|
46609
46623
|
text: autoPayActive ? "Manage ".concat(shortPlan) : "Set Up ".concat(shortPlan),
|
|
46610
46624
|
variant: "tertiary",
|
|
46611
46625
|
action: function action() {
|
|
46612
|
-
|
|
46626
|
+
toggleModal(true);
|
|
46613
46627
|
},
|
|
46614
46628
|
dataQa: "Manage Autopay",
|
|
46615
|
-
extraStyles: isMobile && "flex-grow: 1; width: 100%;"
|
|
46616
|
-
disabled: isInCustomerManagement
|
|
46629
|
+
extraStyles: isMobile && "flex-grow: 1; width: 100%;"
|
|
46617
46630
|
});
|
|
46618
46631
|
}
|
|
46619
46632
|
case "link":
|
|
@@ -46621,7 +46634,7 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46621
46634
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
46622
46635
|
padding: "0",
|
|
46623
46636
|
onClick: function onClick() {
|
|
46624
|
-
|
|
46637
|
+
toggleModal(true);
|
|
46625
46638
|
},
|
|
46626
46639
|
hoverStyles: hoverStyles,
|
|
46627
46640
|
activeStyles: activeStyles,
|
|
@@ -46632,10 +46645,10 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46632
46645
|
}, /*#__PURE__*/React__default.createElement(AutopayOnIcon, null), /*#__PURE__*/React__default.createElement(Text$1, {
|
|
46633
46646
|
variant: "pS",
|
|
46634
46647
|
onClick: function onClick() {
|
|
46635
|
-
return
|
|
46648
|
+
return toggleModal(true);
|
|
46636
46649
|
},
|
|
46637
46650
|
onKeyPress: function onKeyPress(e) {
|
|
46638
|
-
|
|
46651
|
+
e.key === "Enter" && toggleModal(true);
|
|
46639
46652
|
},
|
|
46640
46653
|
tabIndex: "0",
|
|
46641
46654
|
dataQa: "".concat(shortPlan, " On"),
|
|
@@ -46649,10 +46662,10 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46649
46662
|
};
|
|
46650
46663
|
return /*#__PURE__*/React__default.createElement(Modal$1, _extends({
|
|
46651
46664
|
showModal: function showModal() {
|
|
46652
|
-
return
|
|
46665
|
+
return toggleModal(true);
|
|
46653
46666
|
},
|
|
46654
46667
|
hideModal: function hideModal() {
|
|
46655
|
-
return
|
|
46668
|
+
return toggleModal(false);
|
|
46656
46669
|
},
|
|
46657
46670
|
modalOpen: modalOpen
|
|
46658
46671
|
}, modalExtraProps), renderAutoPayControl());
|
|
@@ -46671,9 +46684,7 @@ var AmountModule = function AmountModule(_ref) {
|
|
|
46671
46684
|
nextAutopayDate = _ref.nextAutopayDate,
|
|
46672
46685
|
description = _ref.description,
|
|
46673
46686
|
subDescription = _ref.subDescription,
|
|
46674
|
-
allowedPaymentInstruments = _ref.allowedPaymentInstruments
|
|
46675
|
-
_ref$isInCustomerMana = _ref.isInCustomerManagement,
|
|
46676
|
-
isInCustomerManagement = _ref$isInCustomerMana === void 0 ? false : _ref$isInCustomerMana;
|
|
46687
|
+
allowedPaymentInstruments = _ref.allowedPaymentInstruments;
|
|
46677
46688
|
var _useState = React.useState(false),
|
|
46678
46689
|
_useState2 = _slicedToArray(_useState, 2),
|
|
46679
46690
|
modalOpen = _useState2[0],
|
|
@@ -46703,8 +46714,7 @@ var AmountModule = function AmountModule(_ref) {
|
|
|
46703
46714
|
controlType: "link",
|
|
46704
46715
|
description: description,
|
|
46705
46716
|
subDescription: subDescription,
|
|
46706
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
46707
|
-
isInCustomerManagement: isInCustomerManagement
|
|
46717
|
+
allowedPaymentInstruments: allowedPaymentInstruments
|
|
46708
46718
|
})));
|
|
46709
46719
|
};
|
|
46710
46720
|
|
|
@@ -46781,8 +46791,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46781
46791
|
nextAutopayDate: nextAutopayDate,
|
|
46782
46792
|
description: description,
|
|
46783
46793
|
subDescription: subDescription,
|
|
46784
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
46785
|
-
isInCustomerManagement: isInCustomerManagement
|
|
46794
|
+
allowedPaymentInstruments: allowedPaymentInstruments
|
|
46786
46795
|
}))), /*#__PURE__*/React__default.createElement(Box, {
|
|
46787
46796
|
padding: isMobile ? "16px" : "0"
|
|
46788
46797
|
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
@@ -46826,14 +46835,13 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46826
46835
|
dueDate: dueDate,
|
|
46827
46836
|
description: description,
|
|
46828
46837
|
subDescription: subDescription,
|
|
46829
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
46830
|
-
isInCustomerManagement: isInCustomerManagement
|
|
46838
|
+
allowedPaymentInstruments: allowedPaymentInstruments
|
|
46831
46839
|
})), !isMobile && /*#__PURE__*/React__default.createElement(Box, {
|
|
46832
46840
|
padding: "0"
|
|
46833
46841
|
}, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
46834
46842
|
isLoading: isLoading,
|
|
46835
46843
|
action: function action() {
|
|
46836
|
-
return
|
|
46844
|
+
return handleClick(obligations);
|
|
46837
46845
|
},
|
|
46838
46846
|
text: "Pay Now",
|
|
46839
46847
|
variant: isMobile ? "smallSecondary" : "secondary",
|
|
@@ -46861,9 +46869,7 @@ var RemoveAccountModalModule = function RemoveAccountModalModule(_ref) {
|
|
|
46861
46869
|
obligations = _ref$obligations === void 0 ? [] : _ref$obligations,
|
|
46862
46870
|
removeAccount = _ref.removeAccount,
|
|
46863
46871
|
accountType = _ref.accountType,
|
|
46864
|
-
isMobile = _ref.isMobile
|
|
46865
|
-
_ref$isInCustomerMana = _ref.isInCustomerManagement,
|
|
46866
|
-
isInCustomerManagement = _ref$isInCustomerMana === void 0 ? false : _ref$isInCustomerMana;
|
|
46872
|
+
isMobile = _ref.isMobile;
|
|
46867
46873
|
var _useState = React.useState(false),
|
|
46868
46874
|
_useState2 = _slicedToArray(_useState, 2),
|
|
46869
46875
|
modalIsOpen = _useState2[0],
|
|
@@ -46901,8 +46907,7 @@ var RemoveAccountModalModule = function RemoveAccountModalModule(_ref) {
|
|
|
46901
46907
|
return setModalIsOpen(true);
|
|
46902
46908
|
},
|
|
46903
46909
|
dataQa: "Remove Account",
|
|
46904
|
-
extraStyles: isMobile ? "flex-grow: 1; width: 100%; margin: 0;" : "flex-grow: 1;"
|
|
46905
|
-
disabled: isInCustomerManagement
|
|
46910
|
+
extraStyles: isMobile ? "flex-grow: 1; width: 100%; margin: 0;" : "flex-grow: 1;"
|
|
46906
46911
|
})));
|
|
46907
46912
|
};
|
|
46908
46913
|
|
|
@@ -46922,9 +46927,7 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
|
|
|
46922
46927
|
actions = _ref.actions,
|
|
46923
46928
|
description = _ref.description,
|
|
46924
46929
|
subDescription = _ref.subDescription,
|
|
46925
|
-
allowedPaymentInstruments = _ref.allowedPaymentInstruments
|
|
46926
|
-
_ref$isInCustomerMana = _ref.isInCustomerManagement,
|
|
46927
|
-
isInCustomerManagement = _ref$isInCustomerMana === void 0 ? false : _ref$isInCustomerMana;
|
|
46930
|
+
allowedPaymentInstruments = _ref.allowedPaymentInstruments;
|
|
46928
46931
|
var _useState = React.useState(false),
|
|
46929
46932
|
_useState2 = _slicedToArray(_useState, 2),
|
|
46930
46933
|
modalOpen = _useState2[0],
|
|
@@ -46962,17 +46965,15 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
|
|
|
46962
46965
|
inactive: true,
|
|
46963
46966
|
description: description,
|
|
46964
46967
|
subDescription: subDescription,
|
|
46965
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
46966
|
-
isInCustomerManagement: isInCustomerManagement
|
|
46968
|
+
allowedPaymentInstruments: allowedPaymentInstruments
|
|
46967
46969
|
})), /*#__PURE__*/React__default.createElement(Box, {
|
|
46968
46970
|
padding: "0",
|
|
46969
46971
|
extraStyles: "flex-grow: 1;"
|
|
46970
46972
|
}, /*#__PURE__*/React__default.createElement(RemoveAccountModalModule, {
|
|
46971
46973
|
agencyName: agencyName,
|
|
46972
|
-
removeAccount:
|
|
46974
|
+
removeAccount: handleRemoveAccount,
|
|
46973
46975
|
accountType: configType === "ACCOUNT" ? "Account" : "Property",
|
|
46974
|
-
isMobile: isMobile
|
|
46975
|
-
isInCustomerManagement: isInCustomerManagement
|
|
46976
|
+
isMobile: isMobile
|
|
46976
46977
|
}))));
|
|
46977
46978
|
};
|
|
46978
46979
|
|
|
@@ -47102,8 +47103,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
47102
47103
|
nextAutopayDate: nextAutopayDate,
|
|
47103
47104
|
description: description,
|
|
47104
47105
|
subDescription: subDescription,
|
|
47105
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
47106
|
-
isInCustomerManagement: isInCustomerManagement
|
|
47106
|
+
allowedPaymentInstruments: allowedPaymentInstruments
|
|
47107
47107
|
}))), !isMobile && /*#__PURE__*/React__default.createElement(PaymentDetailsActions, {
|
|
47108
47108
|
obligations: obligations,
|
|
47109
47109
|
autoPayEnabled: autoPayEnabled,
|
|
@@ -47197,8 +47197,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
47197
47197
|
configType: config.type,
|
|
47198
47198
|
description: description,
|
|
47199
47199
|
subDescription: subDescription,
|
|
47200
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
47201
|
-
isInCustomerManagement: isInCustomerManagement
|
|
47200
|
+
allowedPaymentInstruments: allowedPaymentInstruments
|
|
47202
47201
|
}))), isMobile && /*#__PURE__*/React__default.createElement(InactiveControlsModule, {
|
|
47203
47202
|
obligations: obligations,
|
|
47204
47203
|
autoPayEnabled: autoPayEnabled,
|
|
@@ -47215,8 +47214,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
47215
47214
|
configType: config.type,
|
|
47216
47215
|
description: description,
|
|
47217
47216
|
subDescription: subDescription,
|
|
47218
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
47219
|
-
isInCustomerManagement: isInCustomerManagement
|
|
47217
|
+
allowedPaymentInstruments: allowedPaymentInstruments
|
|
47220
47218
|
}))));
|
|
47221
47219
|
return inactive ? inactiveObligation : activeObligation;
|
|
47222
47220
|
};
|
|
@@ -47498,7 +47496,7 @@ var Pagination = function Pagination(_ref3) {
|
|
|
47498
47496
|
return setCurrentPage({
|
|
47499
47497
|
pageNumber: item.index
|
|
47500
47498
|
});
|
|
47501
|
-
} : noop
|
|
47499
|
+
} : noop,
|
|
47502
47500
|
textExtraStyles: "font-size: ".concat(fontSize, "; font-weight: ").concat(fontWeight, ";"),
|
|
47503
47501
|
extraStyles: "".concat(extraStyles).concat(item.active ? currentPageStyles : ""),
|
|
47504
47502
|
dataQa: index
|
|
@@ -47855,7 +47853,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
47855
47853
|
_ref4$voidableTransac = _ref4.voidableTransactionDetails,
|
|
47856
47854
|
voidableTransactionDetails = _ref4$voidableTransac === void 0 ? [] : _ref4$voidableTransac,
|
|
47857
47855
|
_ref4$partialVoidActi = _ref4.partialVoidAction,
|
|
47858
|
-
partialVoidAction = _ref4$partialVoidActi === void 0 ? noop
|
|
47856
|
+
partialVoidAction = _ref4$partialVoidActi === void 0 ? noop : _ref4$partialVoidActi,
|
|
47859
47857
|
_ref4$voidableAmountP = _ref4.voidableAmountPaid,
|
|
47860
47858
|
voidableAmountPaid = _ref4$voidableAmountP === void 0 ? 0 : _ref4$voidableAmountP,
|
|
47861
47859
|
_ref4$remainingBalanc = _ref4.remainingBalance,
|
|
@@ -48303,7 +48301,7 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
|
48303
48301
|
actions = _ref.actions,
|
|
48304
48302
|
showErrors = _ref.showErrors,
|
|
48305
48303
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
48306
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop
|
|
48304
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
48307
48305
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
48308
48306
|
saveToWallet = _ref.saveToWallet,
|
|
48309
48307
|
walletCheckboxMarked = _ref.walletCheckboxMarked,
|
|
@@ -48505,7 +48503,7 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
|
|
|
48505
48503
|
actions = _ref.actions,
|
|
48506
48504
|
showErrors = _ref.showErrors,
|
|
48507
48505
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
48508
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop
|
|
48506
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
48509
48507
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
48510
48508
|
saveToWallet = _ref.saveToWallet,
|
|
48511
48509
|
walletCheckboxMarked = _ref.walletCheckboxMarked,
|
|
@@ -48809,7 +48807,7 @@ var PhoneForm = function PhoneForm(_ref) {
|
|
|
48809
48807
|
clearOnDismount = _ref.clearOnDismount,
|
|
48810
48808
|
showErrors = _ref.showErrors,
|
|
48811
48809
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
48812
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop
|
|
48810
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
48813
48811
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
48814
48812
|
saveToWallet = _ref.saveToWallet,
|
|
48815
48813
|
walletCheckboxMarked = _ref.walletCheckboxMarked,
|
|
@@ -48885,7 +48883,7 @@ var RadioGroup = function RadioGroup(_ref) {
|
|
|
48885
48883
|
config = _ref.config,
|
|
48886
48884
|
extraStyles = _ref.extraStyles,
|
|
48887
48885
|
_ref$handleChange = _ref.handleChange,
|
|
48888
|
-
handleChange = _ref$handleChange === void 0 ? noop
|
|
48886
|
+
handleChange = _ref$handleChange === void 0 ? noop : _ref$handleChange,
|
|
48889
48887
|
field = _ref.field,
|
|
48890
48888
|
fieldActions = _ref.fieldActions;
|
|
48891
48889
|
var setValue = function setValue(value) {
|
|
@@ -48950,7 +48948,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
48950
48948
|
ariaLabelledBy = _ref.ariaLabelledBy,
|
|
48951
48949
|
isLastGroupedItemInSection = _ref.isLastGroupedItemInSection,
|
|
48952
48950
|
_ref$onKeyDown = _ref.onKeyDown,
|
|
48953
|
-
onKeyDown = _ref$onKeyDown === void 0 ? noop
|
|
48951
|
+
onKeyDown = _ref$onKeyDown === void 0 ? noop : _ref$onKeyDown;
|
|
48954
48952
|
var wrapper = {
|
|
48955
48953
|
open: {
|
|
48956
48954
|
height: openHeight,
|
|
@@ -49007,12 +49005,12 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
49007
49005
|
"aria-required": section.required,
|
|
49008
49006
|
"aria-labelledby": ariaLabelledBy,
|
|
49009
49007
|
"aria-describedby": ariaDescribedBy,
|
|
49010
|
-
onClick: isMobile && supportsTouch || section.disabled ? noop
|
|
49008
|
+
onClick: isMobile && supportsTouch || section.disabled ? noop : function () {
|
|
49011
49009
|
return toggleOpenSection(section.id);
|
|
49012
49010
|
},
|
|
49013
49011
|
onTouchEnd: isMobile && supportsTouch && !section.disabled ? function () {
|
|
49014
49012
|
return toggleOpenSection(section.id);
|
|
49015
|
-
} : noop
|
|
49013
|
+
} : noop,
|
|
49016
49014
|
id: "inner-radio-section-".concat(sectionIndex),
|
|
49017
49015
|
"data-qa": section.dataQa ? section.dataQa : section.id || "inner-radio-section-".concat(sectionIndex)
|
|
49018
49016
|
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
@@ -49042,7 +49040,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
49042
49040
|
ariaDescribedBy: ariaDescribedBy,
|
|
49043
49041
|
radioOn: openSection === section.id,
|
|
49044
49042
|
radioFocused: focused === section.id,
|
|
49045
|
-
toggleRadio: section.disabled ? noop
|
|
49043
|
+
toggleRadio: section.disabled ? noop : function () {
|
|
49046
49044
|
return toggleOpenSection(section.id);
|
|
49047
49045
|
},
|
|
49048
49046
|
tabIndex: "-1",
|
|
@@ -49226,7 +49224,7 @@ var RegistrationForm = function RegistrationForm(_ref) {
|
|
|
49226
49224
|
fields = _ref.fields,
|
|
49227
49225
|
actions = _ref.actions,
|
|
49228
49226
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
49229
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop
|
|
49227
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
49230
49228
|
showErrors = _ref.showErrors,
|
|
49231
49229
|
isMobile = _ref.isMobile;
|
|
49232
49230
|
if (clearOnDismount) {
|
|
@@ -49386,7 +49384,7 @@ var ResetConfirmationForm$1 = withWindowSize(ResetConfirmationForm);
|
|
|
49386
49384
|
|
|
49387
49385
|
var ResetPasswordForm = function ResetPasswordForm(_ref) {
|
|
49388
49386
|
var _ref$handleSubmit = _ref.handleSubmit,
|
|
49389
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop
|
|
49387
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
49390
49388
|
clearOnDismount = _ref.clearOnDismount,
|
|
49391
49389
|
fields = _ref.fields,
|
|
49392
49390
|
actions = _ref.actions,
|