@thecb/components 10.3.0 → 10.4.0-beta.1
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 +215 -107
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +215 -107
- package/dist/index.esm.js.map +1 -1
- package/dist/src/apps/checkout/pages/payment/sub-pages/payment-amount/PaymentAmount_old.js +49322 -0
- package/package.json +1 -1
- package/src/.DS_Store +0 -0
- package/src/components/.DS_Store +0 -0
- package/src/components/atoms/.DS_Store +0 -0
- package/src/components/atoms/badge/Badge.js +6 -2
- package/src/components/atoms/badge/Badge.stories.js +2 -1
- package/src/components/atoms/badge/Badge.theme.js +8 -4
- package/src/components/atoms/button-with-action/ButtonWithAction.js +27 -21
- package/src/components/atoms/button-with-action/ButtonWithAction.stories.js +2 -1
- package/src/components/atoms/button-with-action/ButtonWithAction.theme.js +52 -2
- package/src/components/atoms/icons/.DS_Store +0 -0
- package/src/components/atoms/icons/AutopayIcon.js +2 -2
- package/src/components/atoms/layouts/Box.js +1 -0
- package/src/components/atoms/layouts/examples/box-example/BoxExample.stories.js +2 -1
- package/src/components/atoms/placeholder/Placeholder.js +86 -73
- package/src/components/molecules/link-card/LinkCard.js +13 -6
- package/src/components/molecules/link-card/LinkCard.stories.js +64 -34
- package/src/components/molecules/link-card/LinkCard.styled.js +11 -4
- package/src/components/molecules/link-card/LinkCard.theme.js +20 -5
- package/src/components/molecules/obligation/Obligation.js +6 -1
- package/src/components/molecules/obligation/modules/AutopayModalModule.js +17 -10
- package/src/components/molecules/obligation/modules/InactiveControlsModule.js +6 -3
- package/src/components/molecules/obligation/modules/PaymentDetailsActions.js +22 -5
- package/src/components/molecules/obligation/modules/RemoveAccountModalModule.js +5 -3
package/dist/index.cjs.js
CHANGED
|
@@ -6211,7 +6211,7 @@ return numeral;
|
|
|
6211
6211
|
}));
|
|
6212
6212
|
});
|
|
6213
6213
|
|
|
6214
|
-
var noop = function noop() {};
|
|
6214
|
+
var noop$1 = 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$1,
|
|
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", "children"];
|
|
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", "disabled", "children"];
|
|
6513
6513
|
|
|
6514
6514
|
/*
|
|
6515
6515
|
Box component to create generic boxes
|
|
@@ -6557,6 +6557,7 @@ 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,
|
|
6560
6561
|
children = _ref.children,
|
|
6561
6562
|
rest = _objectWithoutProperties(_ref, _excluded$3);
|
|
6562
6563
|
return /*#__PURE__*/React__default.createElement(BoxWrapper, _extends({
|
|
@@ -10532,7 +10533,7 @@ var isRefObject = function (ref) {
|
|
|
10532
10533
|
return typeof ref === "object" && ref.hasOwnProperty("current");
|
|
10533
10534
|
};
|
|
10534
10535
|
|
|
10535
|
-
var noop$
|
|
10536
|
+
var noop$2 = function (v) { return v; };
|
|
10536
10537
|
var ComponentDragControls = /** @class */ (function () {
|
|
10537
10538
|
function ComponentDragControls(_a) {
|
|
10538
10539
|
var ref = _a.ref, values = _a.values, controls = _a.controls;
|
|
@@ -10560,7 +10561,7 @@ var ComponentDragControls = /** @class */ (function () {
|
|
|
10560
10561
|
* @internal
|
|
10561
10562
|
*/
|
|
10562
10563
|
this.props = {
|
|
10563
|
-
transformPagePoint: noop$
|
|
10564
|
+
transformPagePoint: noop$2,
|
|
10564
10565
|
};
|
|
10565
10566
|
/**
|
|
10566
10567
|
* References to the MotionValues used for tracking the current dragged point.
|
|
@@ -12594,10 +12595,54 @@ var WHITE$1 = WHITE,
|
|
|
12594
12595
|
TRANSPARENT$1 = TRANSPARENT,
|
|
12595
12596
|
SAPPHIRE_BLUE$1 = SAPPHIRE_BLUE,
|
|
12596
12597
|
PEACOCK_BLUE$1 = PEACOCK_BLUE,
|
|
12598
|
+
MANATEE_GREY$1 = MANATEE_GREY,
|
|
12597
12599
|
MATISSE_BLUE$1 = MATISSE_BLUE,
|
|
12598
12600
|
RASPBERRY$1 = RASPBERRY,
|
|
12599
|
-
ERROR_COLOR$1 = ERROR_COLOR
|
|
12601
|
+
ERROR_COLOR$1 = ERROR_COLOR,
|
|
12602
|
+
STORM_GREY$1 = STORM_GREY;
|
|
12600
12603
|
var LINK_TEXT_DECORATION$1 = LINK_TEXT_DECORATION;
|
|
12604
|
+
var disabledBorderColor = {
|
|
12605
|
+
primary: STORM_GREY$1,
|
|
12606
|
+
secondary: STORM_GREY$1,
|
|
12607
|
+
back: TRANSPARENT$1,
|
|
12608
|
+
smallPrimary: STORM_GREY$1,
|
|
12609
|
+
smallSecondary: STORM_GREY$1,
|
|
12610
|
+
smallGhost: TRANSPARENT$1,
|
|
12611
|
+
ghost: TRANSPARENT$1,
|
|
12612
|
+
tertiary: TRANSPARENT$1,
|
|
12613
|
+
danger: STORM_GREY$1,
|
|
12614
|
+
dangerSecondary: STORM_GREY$1,
|
|
12615
|
+
whiteSecondary: TRANSPARENT$1,
|
|
12616
|
+
whitePrimary: TRANSPARENT$1
|
|
12617
|
+
};
|
|
12618
|
+
var disabledColor = {
|
|
12619
|
+
primary: WHITE$1,
|
|
12620
|
+
secondary: MANATEE_GREY$1,
|
|
12621
|
+
back: MANATEE_GREY$1,
|
|
12622
|
+
smallPrimary: WHITE$1,
|
|
12623
|
+
smallSecondary: MANATEE_GREY$1,
|
|
12624
|
+
smallGhost: MANATEE_GREY$1,
|
|
12625
|
+
ghost: MANATEE_GREY$1,
|
|
12626
|
+
tertiary: MANATEE_GREY$1,
|
|
12627
|
+
danger: WHITE$1,
|
|
12628
|
+
dangerSecondary: MANATEE_GREY$1,
|
|
12629
|
+
whiteSecondary: MANATEE_GREY$1,
|
|
12630
|
+
whitePrimary: MANATEE_GREY$1
|
|
12631
|
+
};
|
|
12632
|
+
var disabledBackgroundColor = {
|
|
12633
|
+
primary: MANATEE_GREY$1,
|
|
12634
|
+
secondary: TRANSPARENT$1,
|
|
12635
|
+
back: TRANSPARENT$1,
|
|
12636
|
+
smallPrimary: MANATEE_GREY$1,
|
|
12637
|
+
smallSecondary: TRANSPARENT$1,
|
|
12638
|
+
smallGhost: TRANSPARENT$1,
|
|
12639
|
+
ghost: TRANSPARENT$1,
|
|
12640
|
+
tertiary: TRANSPARENT$1,
|
|
12641
|
+
danger: MANATEE_GREY$1,
|
|
12642
|
+
dangerSecondary: TRANSPARENT$1,
|
|
12643
|
+
whiteSecondary: TRANSPARENT$1,
|
|
12644
|
+
whitePrimary: TRANSPARENT$1
|
|
12645
|
+
};
|
|
12601
12646
|
var padding = {
|
|
12602
12647
|
primary: "0.75rem 1.5rem",
|
|
12603
12648
|
secondary: "0.75rem 1.5rem",
|
|
@@ -12823,7 +12868,10 @@ var fallbackValues$1 = {
|
|
|
12823
12868
|
hoverColor: hoverColor,
|
|
12824
12869
|
activeBackgroundColor: activeBackgroundColor,
|
|
12825
12870
|
activeBorderColor: activeBorderColor,
|
|
12826
|
-
activeColor: activeColor
|
|
12871
|
+
activeColor: activeColor,
|
|
12872
|
+
disabledColor: disabledColor,
|
|
12873
|
+
disabledBackgroundColor: disabledBackgroundColor,
|
|
12874
|
+
disabledBorderColor: disabledBorderColor
|
|
12827
12875
|
};
|
|
12828
12876
|
|
|
12829
12877
|
var rotate = posed.div({
|
|
@@ -12944,7 +12992,7 @@ var Spinner = function Spinner(_ref) {
|
|
|
12944
12992
|
|
|
12945
12993
|
var ButtonWithAction = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
12946
12994
|
var _ref2$action = _ref2.action,
|
|
12947
|
-
action = _ref2$action === void 0 ? noop : _ref2$action,
|
|
12995
|
+
action = _ref2$action === void 0 ? noop$1 : _ref2$action,
|
|
12948
12996
|
_ref2$variant = _ref2.variant,
|
|
12949
12997
|
variant = _ref2$variant === void 0 ? "primary" : _ref2$variant,
|
|
12950
12998
|
text = _ref2.text,
|
|
@@ -12970,9 +13018,9 @@ var ButtonWithAction = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
|
12970
13018
|
var themeContext = React.useContext(styled.ThemeContext);
|
|
12971
13019
|
var themeValues = createThemeValues(themeContext, fallbackValues$1, "Button", variant);
|
|
12972
13020
|
var isMobile = themeContext.isMobile;
|
|
12973
|
-
var hoverStyles = "\n
|
|
12974
|
-
var activeStyles = "\n
|
|
12975
|
-
var disabledStyles = "\n
|
|
13021
|
+
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 ");
|
|
13022
|
+
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 ");
|
|
13023
|
+
var disabledStyles = "\n background-color: ".concat(themeValues.disabledBackgroundColor, ";\n border-color: ").concat(themeValues.disabledBorderColor, ";\n color: ").concat(themeValues.disabledColor, ";\n cursor: default;\n &:focus {\n outline: 3px solid ").concat(themeValues.disabledBorderColor, ";\n outline-offset: 2px;\n }\n ").concat(extraDisabledStyles, "\n ");
|
|
12976
13024
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
12977
13025
|
ref: ref,
|
|
12978
13026
|
variant: variant,
|
|
@@ -13001,7 +13049,7 @@ var ButtonWithAction = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
|
13001
13049
|
}) : /*#__PURE__*/React__default.createElement(Text$1, {
|
|
13002
13050
|
weight: themeValues.fontWeight,
|
|
13003
13051
|
variant: themeValues.fontSizeVariant,
|
|
13004
|
-
color: themeValues.color,
|
|
13052
|
+
color: disabled ? themeValues.disabledColor : themeValues.color,
|
|
13005
13053
|
textDecoration: themeValues.textDecoration,
|
|
13006
13054
|
textWrap: textWrap,
|
|
13007
13055
|
extraStyles: textExtraStyles
|
|
@@ -13072,7 +13120,9 @@ var AccountsIcon$1 = themeComponent(AccountsIcon, "Icons", fallbackValues$2, "in
|
|
|
13072
13120
|
// Fill color based on default "success" variant color
|
|
13073
13121
|
var AutopayIcon = function AutopayIcon(_ref) {
|
|
13074
13122
|
var _ref$fill = _ref.fill,
|
|
13075
|
-
fill = _ref$fill === void 0 ? "#317D4F" : _ref$fill
|
|
13123
|
+
fill = _ref$fill === void 0 ? "#317D4F" : _ref$fill,
|
|
13124
|
+
_ref$color = _ref.color,
|
|
13125
|
+
color = _ref$color === void 0 ? "#317D4F" : _ref$color;
|
|
13076
13126
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
13077
13127
|
width: "16",
|
|
13078
13128
|
height: "16",
|
|
@@ -13096,7 +13146,7 @@ var AutopayIcon = function AutopayIcon(_ref) {
|
|
|
13096
13146
|
mask: "url(#mask0_5560_39870)"
|
|
13097
13147
|
}, /*#__PURE__*/React__default.createElement("path", {
|
|
13098
13148
|
d: "M0 0H16V16H0V0Z",
|
|
13099
|
-
fill: fill
|
|
13149
|
+
fill: fill || color
|
|
13100
13150
|
})));
|
|
13101
13151
|
};
|
|
13102
13152
|
|
|
@@ -19121,13 +19171,15 @@ var background$1 = {
|
|
|
19121
19171
|
info: "".concat(INFO_BLUE),
|
|
19122
19172
|
warn: "".concat(HALF_COLONIAL_WHITE),
|
|
19123
19173
|
primary: "".concat(CORNFLOWER_BLUE),
|
|
19124
|
-
success: "".concat(HINT_GREEN)
|
|
19174
|
+
success: "".concat(HINT_GREEN),
|
|
19175
|
+
disabled: "".concat(GRECIAN_GREY)
|
|
19125
19176
|
};
|
|
19126
19177
|
var color$4 = {
|
|
19127
19178
|
info: "".concat(MATISSE_BLUE),
|
|
19128
19179
|
warn: "".concat(ZEST_ORANGE),
|
|
19129
19180
|
primary: "".concat(ROYAL_BLUE_VIVID),
|
|
19130
|
-
success: "".concat(SEA_GREEN)
|
|
19181
|
+
success: "".concat(SEA_GREEN),
|
|
19182
|
+
disabled: "".concat(MANATEE_GREY)
|
|
19131
19183
|
};
|
|
19132
19184
|
var fallbackValues$7 = {
|
|
19133
19185
|
background: background$1,
|
|
@@ -19151,10 +19203,12 @@ var Badge = function Badge(_ref) {
|
|
|
19151
19203
|
return /*#__PURE__*/React__default.createElement(StyledBadgeContainer, {
|
|
19152
19204
|
background: themeValues.background
|
|
19153
19205
|
}, iconOnLeft && Icon && /*#__PURE__*/React__default.createElement(Icon, {
|
|
19206
|
+
color: themeValues.color,
|
|
19154
19207
|
fill: themeValues.color
|
|
19155
19208
|
}), /*#__PURE__*/React__default.createElement(StyledBadge, {
|
|
19156
19209
|
color: themeValues.color
|
|
19157
19210
|
}, label), !iconOnLeft && Icon && /*#__PURE__*/React__default.createElement(Icon, {
|
|
19211
|
+
color: themeValues.color,
|
|
19158
19212
|
fill: themeValues.color
|
|
19159
19213
|
}));
|
|
19160
19214
|
};
|
|
@@ -20527,7 +20581,7 @@ var BoxWithShadow$1 = themeComponent(BoxWithShadow, "BoxWithShadow", fallbackVal
|
|
|
20527
20581
|
|
|
20528
20582
|
// import theme from "styled-theming";
|
|
20529
20583
|
var MATISSE_BLUE$2 = MATISSE_BLUE,
|
|
20530
|
-
STORM_GREY$
|
|
20584
|
+
STORM_GREY$2 = STORM_GREY;
|
|
20531
20585
|
var LINK_TEXT_DECORATION$2 = LINK_TEXT_DECORATION;
|
|
20532
20586
|
|
|
20533
20587
|
/*
|
|
@@ -20536,8 +20590,8 @@ var LINK_TEXT_DECORATION$2 = LINK_TEXT_DECORATION;
|
|
|
20536
20590
|
*/
|
|
20537
20591
|
|
|
20538
20592
|
var color$5 = "".concat(MATISSE_BLUE$2);
|
|
20539
|
-
var activeColor$2 = "".concat(STORM_GREY$
|
|
20540
|
-
var activeBreadcrumbColor = "".concat(STORM_GREY$
|
|
20593
|
+
var activeColor$2 = "".concat(STORM_GREY$2);
|
|
20594
|
+
var activeBreadcrumbColor = "".concat(STORM_GREY$2);
|
|
20541
20595
|
var fontSize$2 = "0.875rem";
|
|
20542
20596
|
var lineHeight = "1.25rem";
|
|
20543
20597
|
var fontWeight$1 = "400";
|
|
@@ -22762,7 +22816,7 @@ var Checkbox = function Checkbox(_ref4) {
|
|
|
22762
22816
|
name = _ref4.name,
|
|
22763
22817
|
checked = _ref4.checked,
|
|
22764
22818
|
_ref4$onChange = _ref4.onChange,
|
|
22765
|
-
onChange = _ref4$onChange === void 0 ? noop : _ref4$onChange,
|
|
22819
|
+
onChange = _ref4$onChange === void 0 ? noop$1 : _ref4$onChange,
|
|
22766
22820
|
_ref4$disabled = _ref4.disabled,
|
|
22767
22821
|
disabled = _ref4$disabled === void 0 ? false : _ref4$disabled,
|
|
22768
22822
|
themeValues = _ref4.themeValues,
|
|
@@ -22957,7 +23011,7 @@ var CheckboxListItem = function CheckboxListItem(_ref) {
|
|
|
22957
23011
|
padding: "0.875rem",
|
|
22958
23012
|
borderRadius: "4px",
|
|
22959
23013
|
minWidth: "30%",
|
|
22960
|
-
onClick: disabled ? noop : onSelect,
|
|
23014
|
+
onClick: disabled ? noop$1 : onSelect,
|
|
22961
23015
|
borderColor: borderColor,
|
|
22962
23016
|
borderSize: "1px",
|
|
22963
23017
|
color: color,
|
|
@@ -22972,8 +23026,8 @@ var CheckboxListItem = function CheckboxListItem(_ref) {
|
|
|
22972
23026
|
name: name,
|
|
22973
23027
|
"aria-label": name,
|
|
22974
23028
|
htmlFor: "checkbox-".concat(name, "-").concat(index),
|
|
22975
|
-
onClick: disabled ? noop : onSelect,
|
|
22976
|
-
onKeyDown: disabled ? noop : onSelect,
|
|
23029
|
+
onClick: disabled ? noop$1 : onSelect,
|
|
23030
|
+
onKeyDown: disabled ? noop$1 : onSelect,
|
|
22977
23031
|
tabIndex: 0
|
|
22978
23032
|
}, /*#__PURE__*/React__default.createElement(styled.ThemeProvider, {
|
|
22979
23033
|
theme: {
|
|
@@ -24456,7 +24510,7 @@ var Dropdown = function Dropdown(_ref13) {
|
|
|
24456
24510
|
_ref13$disabledValues = _ref13.disabledValues,
|
|
24457
24511
|
disabledValues = _ref13$disabledValues === void 0 ? [] : _ref13$disabledValues,
|
|
24458
24512
|
_ref13$onClick = _ref13.onClick,
|
|
24459
|
-
_onClick = _ref13$onClick === void 0 ? noop : _ref13$onClick,
|
|
24513
|
+
_onClick = _ref13$onClick === void 0 ? noop$1 : _ref13$onClick,
|
|
24460
24514
|
themeValues = _ref13.themeValues,
|
|
24461
24515
|
maxHeight = _ref13.maxHeight,
|
|
24462
24516
|
_ref13$widthFitOption = _ref13.widthFitOptions,
|
|
@@ -26072,7 +26126,7 @@ var Popover = function Popover(_ref) {
|
|
|
26072
26126
|
extraStyles: "position: relative; ".concat(extraStyles)
|
|
26073
26127
|
}, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
26074
26128
|
action: function action() {
|
|
26075
|
-
return noop;
|
|
26129
|
+
return noop$1;
|
|
26076
26130
|
},
|
|
26077
26131
|
onFocus: function onFocus() {
|
|
26078
26132
|
handleTogglePopover(true);
|
|
@@ -27038,7 +27092,7 @@ var HamburgerButton = function HamburgerButton(_ref4) {
|
|
|
27038
27092
|
inactiveColor = _ref4.inactiveColor,
|
|
27039
27093
|
isActive = _ref4.isActive,
|
|
27040
27094
|
_ref4$onClick = _ref4.onClick,
|
|
27041
|
-
onClick = _ref4$onClick === void 0 ? noop : _ref4$onClick,
|
|
27095
|
+
onClick = _ref4$onClick === void 0 ? noop$1 : _ref4$onClick,
|
|
27042
27096
|
controls = _ref4.controls;
|
|
27043
27097
|
return /*#__PURE__*/React__default.createElement(Hamburger, {
|
|
27044
27098
|
className: isActive === true ? "active" : "",
|
|
@@ -27723,7 +27777,9 @@ var PlaceholderContentWrapper = function PlaceholderContentWrapper(_ref) {
|
|
|
27723
27777
|
action = _ref.action,
|
|
27724
27778
|
destination = _ref.destination,
|
|
27725
27779
|
children = _ref.children,
|
|
27726
|
-
dataQa = _ref.dataQa
|
|
27780
|
+
dataQa = _ref.dataQa,
|
|
27781
|
+
_ref$disabled = _ref.disabled,
|
|
27782
|
+
disabled = _ref$disabled === void 0 ? false : _ref$disabled;
|
|
27727
27783
|
return isLink ? /*#__PURE__*/React__default.createElement(reactRouterDom.Link, {
|
|
27728
27784
|
to: destination,
|
|
27729
27785
|
"data-qa": dataQa,
|
|
@@ -27733,13 +27789,14 @@ var PlaceholderContentWrapper = function PlaceholderContentWrapper(_ref) {
|
|
|
27733
27789
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
27734
27790
|
padding: "0",
|
|
27735
27791
|
minHeight: "100%",
|
|
27736
|
-
extraStyles: "cursor: pointer;"
|
|
27792
|
+
extraStyles: disabled ? "cursor: default;" : "cursor: pointer;"
|
|
27737
27793
|
}, children)) : /*#__PURE__*/React__default.createElement(Box, {
|
|
27738
|
-
onClick: action,
|
|
27794
|
+
onClick: disabled ? noop$1 : action,
|
|
27739
27795
|
padding: "0",
|
|
27740
27796
|
minHeight: "100%",
|
|
27741
|
-
|
|
27742
|
-
|
|
27797
|
+
dataQa: dataQa,
|
|
27798
|
+
"aria-disabled": disabled,
|
|
27799
|
+
extraStyles: disabled ? "cursor: default;" : "cursor: pointer;"
|
|
27743
27800
|
}, children);
|
|
27744
27801
|
};
|
|
27745
27802
|
var Placeholder = function Placeholder(_ref2) {
|
|
@@ -27753,12 +27810,16 @@ var Placeholder = function Placeholder(_ref2) {
|
|
|
27753
27810
|
variant = _ref2.variant,
|
|
27754
27811
|
largeIcon = _ref2.largeIcon,
|
|
27755
27812
|
themeValues = _ref2.themeValues,
|
|
27756
|
-
dataQa = _ref2.dataQa
|
|
27813
|
+
dataQa = _ref2.dataQa,
|
|
27814
|
+
_ref2$disabled = _ref2.disabled,
|
|
27815
|
+
disabled = _ref2$disabled === void 0 ? false : _ref2$disabled;
|
|
27816
|
+
var tintedColor = "".concat(curriedTint$1(0.9, themeValues.color));
|
|
27757
27817
|
return /*#__PURE__*/React__default.createElement(PlaceholderContentWrapper, {
|
|
27758
27818
|
isLink: isLink,
|
|
27759
27819
|
action: action,
|
|
27760
27820
|
destination: destination,
|
|
27761
|
-
dataQa: dataQa
|
|
27821
|
+
dataQa: dataQa,
|
|
27822
|
+
disabled: disabled
|
|
27762
27823
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
27763
27824
|
padding: "0",
|
|
27764
27825
|
borderRadius: "4px",
|
|
@@ -27766,14 +27827,14 @@ var Placeholder = function Placeholder(_ref2) {
|
|
|
27766
27827
|
minHeight: themeValues.height,
|
|
27767
27828
|
hiddenStyles: !visible,
|
|
27768
27829
|
extraStyles: "\n background: linear-gradient(\n to right,\n ".concat(variant === "large" ? STORM_GREY : themeValues.color, " 40%,\n rgba(255, 255, 255, 0) 0%\n ),\n linear-gradient(").concat(variant === "large" ? STORM_GREY : themeValues.color, " 40%, rgba(255, 255, 255, 0) 0%),\n linear-gradient(to right, ").concat(variant === "large" ? STORM_GREY : themeValues.color, " 40%, rgba(255, 255, 255, 0) 0%),\n linear-gradient(").concat(variant === "large" ? STORM_GREY : themeValues.color, " 40%, rgba(255, 255, 255, 0) 0%);\n background-position: top, right, bottom, left;\n background-repeat: repeat-x, repeat-y;\n background-size: 5px 1px, 1px 5px;\n display: flex;\n justify-content: center;\n align-items:center;"),
|
|
27769
|
-
hoverStyles: "background-color: ".concat(variant === "large" ? GRECIAN_GREY :
|
|
27830
|
+
hoverStyles: "background-color: ".concat(variant === "large" ? GRECIAN_GREY : tintedColor, ";")
|
|
27770
27831
|
}, /*#__PURE__*/React__default.createElement(Center, {
|
|
27771
27832
|
maxWidth: "300px"
|
|
27772
27833
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
27773
27834
|
padding: "0",
|
|
27774
27835
|
tabIndex: "0",
|
|
27775
27836
|
onKeyPress: function onKeyPress(e) {
|
|
27776
|
-
return e.key === "Enter" && action();
|
|
27837
|
+
return e.key === "Enter" && !disabled && action();
|
|
27777
27838
|
}
|
|
27778
27839
|
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
27779
27840
|
justify: "center",
|
|
@@ -27885,7 +27946,7 @@ var RadioButtonWithLabel = function RadioButtonWithLabel(_ref5) {
|
|
|
27885
27946
|
themeValues = _ref5.themeValues,
|
|
27886
27947
|
index = _ref5.index,
|
|
27887
27948
|
_ref5$handleChange = _ref5.handleChange,
|
|
27888
|
-
handleChange = _ref5$handleChange === void 0 ? noop : _ref5$handleChange,
|
|
27949
|
+
handleChange = _ref5$handleChange === void 0 ? noop$1 : _ref5$handleChange,
|
|
27889
27950
|
field = _ref5.field,
|
|
27890
27951
|
config = _ref5.config;
|
|
27891
27952
|
var getDefaultChecked = function getDefaultChecked(value, idx) {
|
|
@@ -38769,7 +38830,7 @@ var ToggleSwitch = function ToggleSwitch(_ref6) {
|
|
|
38769
38830
|
var _ref6$isOn = _ref6.isOn,
|
|
38770
38831
|
isOn = _ref6$isOn === void 0 ? false : _ref6$isOn,
|
|
38771
38832
|
_ref6$onToggle = _ref6.onToggle,
|
|
38772
|
-
onToggle = _ref6$onToggle === void 0 ? noop : _ref6$onToggle,
|
|
38833
|
+
onToggle = _ref6$onToggle === void 0 ? noop$1 : _ref6$onToggle,
|
|
38773
38834
|
_ref6$disabled = _ref6.disabled,
|
|
38774
38835
|
disabled = _ref6$disabled === void 0 ? false : _ref6$disabled,
|
|
38775
38836
|
_ref6$name = _ref6.name,
|
|
@@ -38877,15 +38938,15 @@ var ToggleSwitch = function ToggleSwitch(_ref6) {
|
|
|
38877
38938
|
}, /*#__PURE__*/React__default.createElement(HiddenToggleSwitchBox, {
|
|
38878
38939
|
"aria-label": name,
|
|
38879
38940
|
checked: isOn,
|
|
38880
|
-
onChange: disabled ? noop : onToggle,
|
|
38941
|
+
onChange: disabled ? noop$1 : onToggle,
|
|
38881
38942
|
disabled: disabled,
|
|
38882
38943
|
id: "#toggle-".concat(name),
|
|
38883
38944
|
isMobile: isMobile
|
|
38884
38945
|
}), /*#__PURE__*/React__default.createElement(VisibleSwitch, {
|
|
38885
38946
|
name: name,
|
|
38886
38947
|
htmlFor: "#toggle-".concat(name),
|
|
38887
|
-
onClick: disabled ? noop : onToggle,
|
|
38888
|
-
onKeyDown: disabled ? noop : handleKeyDown,
|
|
38948
|
+
onClick: disabled ? noop$1 : onToggle,
|
|
38949
|
+
onKeyDown: disabled ? noop$1 : handleKeyDown,
|
|
38889
38950
|
pose: disabled ? "disabled" : isOn ? "on" : "off",
|
|
38890
38951
|
tabIndex: disabled ? -1 : 0,
|
|
38891
38952
|
disabled: disabled,
|
|
@@ -39977,7 +40038,7 @@ var AddressForm = function AddressForm(_ref) {
|
|
|
39977
40038
|
clearOnDismount = _ref.clearOnDismount,
|
|
39978
40039
|
showErrors = _ref.showErrors,
|
|
39979
40040
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
39980
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
40041
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit,
|
|
39981
40042
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
39982
40043
|
saveToWallet = _ref.saveToWallet,
|
|
39983
40044
|
walletCheckboxMarked = _ref.walletCheckboxMarked,
|
|
@@ -40177,7 +40238,7 @@ var ChangePasswordForm = function ChangePasswordForm(_ref) {
|
|
|
40177
40238
|
fields = _ref.fields,
|
|
40178
40239
|
actions = _ref.actions,
|
|
40179
40240
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
40180
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
40241
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit,
|
|
40181
40242
|
showErrors = _ref.showErrors,
|
|
40182
40243
|
isMobile = _ref.isMobile,
|
|
40183
40244
|
revenueManagement = _ref.revenueManagement,
|
|
@@ -40388,8 +40449,8 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
|
40388
40449
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
40389
40450
|
padding: customPadding ? customPadding : "0",
|
|
40390
40451
|
background: themeValues.headingBackgroundColor,
|
|
40391
|
-
onClick: isMobile && supportsTouch ? noop : toggleSection,
|
|
40392
|
-
onTouchEnd: isMobile && supportsTouch ? toggleSection : noop,
|
|
40452
|
+
onClick: isMobile && supportsTouch ? noop$1 : toggleSection,
|
|
40453
|
+
onTouchEnd: isMobile && supportsTouch ? toggleSection : noop$1,
|
|
40393
40454
|
key: "header",
|
|
40394
40455
|
hoverStyles: "cursor: pointer;",
|
|
40395
40456
|
tabIndex: "0",
|
|
@@ -40607,7 +40668,7 @@ var EditNameForm = function EditNameForm(_ref) {
|
|
|
40607
40668
|
clearOnDismount = _ref.clearOnDismount,
|
|
40608
40669
|
showErrors = _ref.showErrors,
|
|
40609
40670
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
40610
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit;
|
|
40671
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit;
|
|
40611
40672
|
if (clearOnDismount) {
|
|
40612
40673
|
React.useEffect(function () {
|
|
40613
40674
|
return function () {
|
|
@@ -40947,7 +41008,7 @@ var EmailForm = function EmailForm(_ref) {
|
|
|
40947
41008
|
showErrors = _ref.showErrors,
|
|
40948
41009
|
guestCheckout = _ref.guestCheckout,
|
|
40949
41010
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
40950
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
41011
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit,
|
|
40951
41012
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
40952
41013
|
saveToWallet = _ref.saveToWallet,
|
|
40953
41014
|
walletCheckboxMarked = _ref.walletCheckboxMarked,
|
|
@@ -41044,7 +41105,7 @@ var ForgotPasswordForm = function ForgotPasswordForm(_ref) {
|
|
|
41044
41105
|
clearOnDismount = _ref.clearOnDismount,
|
|
41045
41106
|
showErrors = _ref.showErrors,
|
|
41046
41107
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
41047
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit;
|
|
41108
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit;
|
|
41048
41109
|
if (clearOnDismount) {
|
|
41049
41110
|
React.useEffect(function () {
|
|
41050
41111
|
return function () {
|
|
@@ -42595,10 +42656,22 @@ var PROPERTIES_COMMERCIAL_AUTO_ICON = "PROPERTIES_COMMERCIAL_AUTO";
|
|
|
42595
42656
|
var MISC_BILL_ICON = "MISC_SINGLE_BILL";
|
|
42596
42657
|
var iconsMap = (_iconsMap = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_iconsMap, ACCOUNTS_GENERIC_ICON, AccountGenericIcon), ACCOUNTS_CONSTRUCTION_ICON, AccountConstructionIcon), ACCOUNTS_HEALTH_ICON, AccountMedicalIcon), ACCOUNTS_DENTAL_ICON, AccountDentalIcon), ACCOUNTS_UTILITY_ELECTRIC_ICON, AccountElectricIcon), ACCOUNTS_UTILITY_GARBAGE_ICON, AccountGarbageIcon), ACCOUNTS_UTILITY_GAS_ICON, AccountGasIcon), ACCOUNTS_UTILITY_WATER_ICON, AccountWaterIcon), PROPERTIES_PERSONAL_ICON, PropertyPersonalIcon), PROPERTIES_GARAGE_ICON, PropertyGarageIcon), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_iconsMap, PROPERTIES_BUSINESS_ICON, PropertyBusinessIcon), PROPERTIES_STOREFRONT_ICON, PropertyStorefrontIcon), PROPERTIES_APARTMENT_ICON, PropertyApartmentIcon), PROPERTIES_LAND_ICON, PropertyLandIcon), PROPERTIES_CAR_ICON, PropertyCarIcon), PROPERTIES_MOTORCYCLE_ICON, PropertyMotorcycleIcon), PROPERTIES_COMMERCIAL_AUTO_ICON, PropertyCommercialVehicleIcon), MISC_BILL_ICON, AccountBillIcon));
|
|
42597
42658
|
|
|
42598
|
-
var activeBackgroundColor$1 =
|
|
42599
|
-
|
|
42600
|
-
|
|
42601
|
-
|
|
42659
|
+
var activeBackgroundColor$1 = {
|
|
42660
|
+
primary: "".concat(CORNFLOWER_BLUE),
|
|
42661
|
+
disabled: "".concat(TRANSPARENT)
|
|
42662
|
+
};
|
|
42663
|
+
var backgroundColor$9 = {
|
|
42664
|
+
primary: "".concat(LINK_WATER),
|
|
42665
|
+
disabled: "".concat(TRANSPARENT)
|
|
42666
|
+
};
|
|
42667
|
+
var borderColor$5 = {
|
|
42668
|
+
primary: "".concat(MOON_RAKER),
|
|
42669
|
+
disabled: "".concat(GHOST_GREY)
|
|
42670
|
+
};
|
|
42671
|
+
var color$b = {
|
|
42672
|
+
primary: "".concat(ROYAL_BLUE_VIVID),
|
|
42673
|
+
disabled: "".concat(MANATEE_GREY)
|
|
42674
|
+
};
|
|
42602
42675
|
var fallbackValues$I = {
|
|
42603
42676
|
activeBackgroundColor: activeBackgroundColor$1,
|
|
42604
42677
|
backgroundColor: backgroundColor$9,
|
|
@@ -42609,28 +42682,34 @@ var fallbackValues$I = {
|
|
|
42609
42682
|
var Container = styled__default(Box).withConfig({
|
|
42610
42683
|
displayName: "LinkCardstyled__Container",
|
|
42611
42684
|
componentId: "sc-l5q1h2-0"
|
|
42612
|
-
})(["display:flex;flex-direction:column;align-items:flex-start;width:100%;gap:40px;flex-shrink:0;align-self:stretch;border-radius:8px;", " transition:all .2s ease-in-out;&:hover,&:active{cursor:
|
|
42685
|
+
})(["display:flex;flex-direction:column;align-items:flex-start;width:100%;gap:40px;flex-shrink:0;align-self:stretch;border-radius:8px;", " transition:all .2s ease-in-out;&:hover,&:active{cursor:", ";box-shadow:", ";}&:hover:not(:active){", "}&:active{", "}"], function (_ref) {
|
|
42613
42686
|
var theme = _ref.theme;
|
|
42614
42687
|
return "\n background-color: ".concat(theme.backgroundColor, ";\n border: 1px solid ").concat(theme.borderColor, ";\n ");
|
|
42615
42688
|
}, function (_ref2) {
|
|
42616
|
-
var
|
|
42617
|
-
return
|
|
42689
|
+
var disabled = _ref2.disabled;
|
|
42690
|
+
return disabled ? "default" : "pointer";
|
|
42618
42691
|
}, function (_ref3) {
|
|
42619
|
-
var
|
|
42620
|
-
return "\n
|
|
42692
|
+
var disabled = _ref3.disabled;
|
|
42693
|
+
return "\n ".concat(disabled ? "none" : "0px 0px 0px 0px rgba(41, 42, 51, 0.1),\n 0px 5px 11px 0px rgba(41, 42, 51, 0.1),\n 0px 4px 19px 0px rgba(41, 42, 51, 0.09),\n 0px 27px 26px 0px rgba(41, 42, 51, 0.05),\n 0px 56px 31px 0px rgba(41, 42, 51, 0.01),\n 0px 80px 33px 0px rgba(41, 42, 51, 0);", "\n ");
|
|
42694
|
+
}, function (_ref4) {
|
|
42695
|
+
var theme = _ref4.theme;
|
|
42696
|
+
return "border: 1px solid ".concat(theme.borderColor, ";");
|
|
42697
|
+
}, function (_ref5) {
|
|
42698
|
+
var theme = _ref5.theme;
|
|
42699
|
+
return "\n background-color: ".concat(theme.activeBackgroundColor, ";\n border: 1px solid ").concat(theme.borderColor, ";\n ;");
|
|
42621
42700
|
});
|
|
42622
42701
|
var Title$2 = styled__default(Heading$1).withConfig({
|
|
42623
42702
|
displayName: "LinkCardstyled__Title",
|
|
42624
42703
|
componentId: "sc-l5q1h2-1"
|
|
42625
|
-
})(["display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;align-self:stretch;overflow:hidden;text-overflow:ellipsis;font-size:16px;line-height:150%;background-color:transparent;font-weight:", ";", ";"], FONT_WEIGHT_SEMIBOLD, function (
|
|
42626
|
-
var theme =
|
|
42704
|
+
})(["display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;align-self:stretch;overflow:hidden;text-overflow:ellipsis;font-size:16px;line-height:150%;background-color:transparent;font-weight:", ";", ";"], FONT_WEIGHT_SEMIBOLD, function (_ref6) {
|
|
42705
|
+
var theme = _ref6.theme;
|
|
42627
42706
|
return "color: ".concat(theme.color, ";");
|
|
42628
42707
|
});
|
|
42629
42708
|
var Subtitle = styled__default(Paragraph$1).withConfig({
|
|
42630
42709
|
displayName: "LinkCardstyled__Subtitle",
|
|
42631
42710
|
componentId: "sc-l5q1h2-2"
|
|
42632
|
-
})(["overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;align-self:stretch;font-size:14px;line-height:150 %;letter-spacing:0.14px;font-weight:", ";", ";"], FONT_WEIGHT_SEMIBOLD, function (
|
|
42633
|
-
var theme =
|
|
42711
|
+
})(["overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;align-self:stretch;font-size:14px;line-height:150 %;letter-spacing:0.14px;font-weight:", ";", ";"], FONT_WEIGHT_SEMIBOLD, function (_ref7) {
|
|
42712
|
+
var theme = _ref7.theme;
|
|
42634
42713
|
return "color: ".concat(theme.color, ";");
|
|
42635
42714
|
});
|
|
42636
42715
|
var Footer = styled__default(Stack).withConfig({
|
|
@@ -42639,7 +42718,8 @@ var Footer = styled__default(Stack).withConfig({
|
|
|
42639
42718
|
})(["align-items:center;width:100%;"]);
|
|
42640
42719
|
|
|
42641
42720
|
var LinkCard = function LinkCard(_ref) {
|
|
42642
|
-
var _ref$
|
|
42721
|
+
var _ref$variant = _ref.variant,
|
|
42722
|
+
_ref$title = _ref.title,
|
|
42643
42723
|
title = _ref$title === void 0 ? "Test Workflow" : _ref$title,
|
|
42644
42724
|
_ref$subtitle = _ref.subtitle,
|
|
42645
42725
|
subtitle = _ref$subtitle === void 0 ? "Link your benefit plan" : _ref$subtitle,
|
|
@@ -42656,7 +42736,9 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
42656
42736
|
extraActiveStyles = _ref$extraActiveStyle === void 0 ? "" : _ref$extraActiveStyle,
|
|
42657
42737
|
themeValues = _ref.themeValues,
|
|
42658
42738
|
_ref$titleVariant = _ref.titleVariant,
|
|
42659
|
-
titleVariant = _ref$titleVariant === void 0 ? "h3" : _ref$titleVariant
|
|
42739
|
+
titleVariant = _ref$titleVariant === void 0 ? "h3" : _ref$titleVariant,
|
|
42740
|
+
_ref$disabled = _ref.disabled,
|
|
42741
|
+
disabled = _ref$disabled === void 0 ? false : _ref$disabled;
|
|
42660
42742
|
var _useContext = React.useContext(styled.ThemeContext),
|
|
42661
42743
|
isMobile = _useContext.isMobile;
|
|
42662
42744
|
var regex = /\W/g;
|
|
@@ -42673,7 +42755,8 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
42673
42755
|
extraStyles: extraStyles,
|
|
42674
42756
|
hoverStyles: extraHoverStyles,
|
|
42675
42757
|
activeStyles: extraActiveStyles,
|
|
42676
|
-
onClick: onClick
|
|
42758
|
+
onClick: disabled ? noop$1 : onClick,
|
|
42759
|
+
disabled: disabled
|
|
42677
42760
|
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
42678
42761
|
childGap: 0,
|
|
42679
42762
|
bottomItem: 3,
|
|
@@ -42704,9 +42787,11 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
42704
42787
|
direction: "row",
|
|
42705
42788
|
childGap: "6px",
|
|
42706
42789
|
justify: "space-between"
|
|
42707
|
-
}, showLeft &&
|
|
42790
|
+
}, showLeft && !!leftContent ? leftContent : /*#__PURE__*/React__default.createElement(Box, {
|
|
42791
|
+
extraStyles: "margin-right: auto;"
|
|
42792
|
+
}), showRight && !!rightContent && rightContent))));
|
|
42708
42793
|
};
|
|
42709
|
-
var LinkCard$1 = themeComponent(LinkCard, "LinkCard", fallbackValues$I);
|
|
42794
|
+
var LinkCard$1 = themeComponent(LinkCard, "LinkCard", fallbackValues$I, "primary");
|
|
42710
42795
|
|
|
42711
42796
|
var LoginForm = function LoginForm(_ref) {
|
|
42712
42797
|
var clearOnDismount = _ref.clearOnDismount,
|
|
@@ -42714,7 +42799,7 @@ var LoginForm = function LoginForm(_ref) {
|
|
|
42714
42799
|
actions = _ref.actions,
|
|
42715
42800
|
showErrors = _ref.showErrors,
|
|
42716
42801
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
42717
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit;
|
|
42802
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit;
|
|
42718
42803
|
if (clearOnDismount) {
|
|
42719
42804
|
React.useEffect(function () {
|
|
42720
42805
|
return function () {
|
|
@@ -46658,7 +46743,9 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46658
46743
|
inactive = _ref.inactive,
|
|
46659
46744
|
description = _ref.description,
|
|
46660
46745
|
subDescription = _ref.subDescription,
|
|
46661
|
-
allowedPaymentInstruments = _ref.allowedPaymentInstruments
|
|
46746
|
+
allowedPaymentInstruments = _ref.allowedPaymentInstruments,
|
|
46747
|
+
_ref$isInCustomerMana = _ref.isInCustomerManagement,
|
|
46748
|
+
isInCustomerManagement = _ref$isInCustomerMana === void 0 ? false : _ref$isInCustomerMana;
|
|
46662
46749
|
var generateMethodNeededText = function generateMethodNeededText(planText, allowedPaymentInstruments) {
|
|
46663
46750
|
var allowsCard = allowedPaymentInstruments.includes(CC_METHOD);
|
|
46664
46751
|
var allowsACH = allowedPaymentInstruments.includes(ACH_METHOD);
|
|
@@ -46687,6 +46774,7 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46687
46774
|
case "secondary":
|
|
46688
46775
|
{
|
|
46689
46776
|
return /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
46777
|
+
disabled: isInCustomerManagement,
|
|
46690
46778
|
text: autoPayActive ? "Turn off ".concat(shortPlan) : "Set Up ".concat(shortPlan),
|
|
46691
46779
|
variant: "secondary",
|
|
46692
46780
|
action: function action() {
|
|
@@ -46699,10 +46787,11 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46699
46787
|
case "tertiary":
|
|
46700
46788
|
{
|
|
46701
46789
|
return /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
46790
|
+
disabled: isInCustomerManagement,
|
|
46702
46791
|
text: autoPayActive ? "Manage ".concat(shortPlan) : "Set Up ".concat(shortPlan),
|
|
46703
|
-
variant: "tertiary",
|
|
46792
|
+
variant: isInCustomerManagement ? "disabledTertiary" : "tertiary",
|
|
46704
46793
|
action: function action() {
|
|
46705
|
-
toggleModal(true);
|
|
46794
|
+
isInCustomerManagement ? noop$1 : toggleModal(true);
|
|
46706
46795
|
},
|
|
46707
46796
|
dataQa: "Manage Autopay",
|
|
46708
46797
|
extraStyles: isMobile && "flex-grow: 1; width: 100%;"
|
|
@@ -46713,7 +46802,7 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46713
46802
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
46714
46803
|
padding: "0",
|
|
46715
46804
|
onClick: function onClick() {
|
|
46716
|
-
toggleModal(true);
|
|
46805
|
+
isInCustomerManagement ? noop$1 : toggleModal(true);
|
|
46717
46806
|
},
|
|
46718
46807
|
hoverStyles: hoverStyles,
|
|
46719
46808
|
activeStyles: activeStyles,
|
|
@@ -46726,7 +46815,7 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46726
46815
|
onClick: function onClick() {
|
|
46727
46816
|
return toggleModal(true);
|
|
46728
46817
|
},
|
|
46729
|
-
onKeyPress: function
|
|
46818
|
+
onKeyPress: isInCustomerManagement ? noop$1 : function (e) {
|
|
46730
46819
|
e.key === "Enter" && toggleModal(true);
|
|
46731
46820
|
},
|
|
46732
46821
|
tabIndex: "0",
|
|
@@ -46740,10 +46829,10 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46740
46829
|
}
|
|
46741
46830
|
};
|
|
46742
46831
|
return /*#__PURE__*/React__default.createElement(Modal$1, _extends({
|
|
46743
|
-
showModal: function
|
|
46832
|
+
showModal: isInCustomerManagement ? noop$1 : function () {
|
|
46744
46833
|
return toggleModal(true);
|
|
46745
46834
|
},
|
|
46746
|
-
hideModal: function
|
|
46835
|
+
hideModal: isInCustomerManagement ? noop$1 : function () {
|
|
46747
46836
|
return toggleModal(false);
|
|
46748
46837
|
},
|
|
46749
46838
|
modalOpen: modalOpen
|
|
@@ -46815,7 +46904,9 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46815
46904
|
dueDate = _ref.dueDate,
|
|
46816
46905
|
description = _ref.description,
|
|
46817
46906
|
subDescription = _ref.subDescription,
|
|
46818
|
-
allowedPaymentInstruments = _ref.allowedPaymentInstruments
|
|
46907
|
+
allowedPaymentInstruments = _ref.allowedPaymentInstruments,
|
|
46908
|
+
_ref$isInCustomerMana = _ref.isInCustomerManagement,
|
|
46909
|
+
isInCustomerManagement = _ref$isInCustomerMana === void 0 ? false : _ref$isInCustomerMana;
|
|
46819
46910
|
var planType = isPaymentPlan ? "Payment Plan" : "Autopay";
|
|
46820
46911
|
var _useState = React.useState(false),
|
|
46821
46912
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -46879,7 +46970,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46879
46970
|
padding: isMobile ? "0 8px 0 0" : "0",
|
|
46880
46971
|
extraStyles: isMobile && "flex-grow: 1;"
|
|
46881
46972
|
}, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
46882
|
-
variant: "tertiary",
|
|
46973
|
+
variant: isInCustomerManagement ? "disabledTertiary" : "tertiary",
|
|
46883
46974
|
text: config.type === "ACCOUNT" ? "Account Details" : "Property Details",
|
|
46884
46975
|
action: handleDetailsClick,
|
|
46885
46976
|
dataQa: "Account Details",
|
|
@@ -46888,14 +46979,15 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46888
46979
|
padding: isMobile ? "0 8px 0 0" : "0",
|
|
46889
46980
|
extraStyles: isMobile && "flex-grow: 1;"
|
|
46890
46981
|
}, autoPayAvailable && !autoPayEnabled ? /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
46891
|
-
variant: "tertiary",
|
|
46982
|
+
variant: isInCustomerManagement ? "disabledTertiary" : "tertiary",
|
|
46892
46983
|
text: "Set Up ".concat(planType),
|
|
46893
46984
|
action: function action() {
|
|
46894
46985
|
setDetailedObligation(obligations, config, obligationAssocID);
|
|
46895
46986
|
handleAutopayAction();
|
|
46896
46987
|
},
|
|
46897
46988
|
dataQa: "Set Up Autopay",
|
|
46898
|
-
extraStyles: isMobile && "flex-grow: 1; width: 100%;"
|
|
46989
|
+
extraStyles: isMobile && "flex-grow: 1; width: 100%;",
|
|
46990
|
+
disabled: isInCustomerManagement
|
|
46899
46991
|
}) : /*#__PURE__*/React__default.createElement(AutopayModalModule, {
|
|
46900
46992
|
autoPayActive: autoPayEnabled,
|
|
46901
46993
|
autoPaySchedule: autoPaySchedule,
|
|
@@ -46911,17 +47003,19 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46911
47003
|
dueDate: dueDate,
|
|
46912
47004
|
description: description,
|
|
46913
47005
|
subDescription: subDescription,
|
|
46914
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
47006
|
+
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
47007
|
+
isInCustomerManagement: isInCustomerManagement
|
|
46915
47008
|
})), !isMobile && /*#__PURE__*/React__default.createElement(Box, {
|
|
46916
47009
|
padding: "0"
|
|
46917
47010
|
}, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
46918
47011
|
isLoading: isLoading,
|
|
46919
|
-
action: function
|
|
47012
|
+
action: isInCustomerManagement ? noop : function () {
|
|
46920
47013
|
return handleClick(obligations);
|
|
46921
47014
|
},
|
|
46922
47015
|
text: "Pay Now",
|
|
46923
|
-
variant: isMobile ? "smallSecondary" : "secondary",
|
|
46924
|
-
dataQa: "Pay Now"
|
|
47016
|
+
variant: isMobile ? isInCustomerManagement ? "disabledSmallSecondary" : "smallSecondary" : isInCustomerManagement ? "disabledSecondary" : "secondary",
|
|
47017
|
+
dataQa: "Pay Now",
|
|
47018
|
+
disabled: isInCustomerManagement
|
|
46925
47019
|
}))), isMobile && /*#__PURE__*/React__default.createElement(Box, {
|
|
46926
47020
|
padding: "8px 0 0",
|
|
46927
47021
|
width: "100%"
|
|
@@ -46933,7 +47027,8 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46933
47027
|
text: "Pay Now",
|
|
46934
47028
|
variant: isMobile ? "smallSecondary" : "secondary",
|
|
46935
47029
|
dataQa: "Pay Now",
|
|
46936
|
-
extraStyles: isMobile && "flex-grow: 1; width: 100%; margin: 0;"
|
|
47030
|
+
extraStyles: isMobile && "flex-grow: 1; width: 100%; margin: 0;",
|
|
47031
|
+
disabled: isInCustomerManagement
|
|
46937
47032
|
}))));
|
|
46938
47033
|
};
|
|
46939
47034
|
|
|
@@ -46943,7 +47038,9 @@ var RemoveAccountModalModule = function RemoveAccountModalModule(_ref) {
|
|
|
46943
47038
|
obligations = _ref$obligations === void 0 ? [] : _ref$obligations,
|
|
46944
47039
|
removeAccount = _ref.removeAccount,
|
|
46945
47040
|
accountType = _ref.accountType,
|
|
46946
|
-
isMobile = _ref.isMobile
|
|
47041
|
+
isMobile = _ref.isMobile,
|
|
47042
|
+
_ref$isInCustomerMana = _ref.isInCustomerManagement,
|
|
47043
|
+
isInCustomerManagement = _ref$isInCustomerMana === void 0 ? false : _ref$isInCustomerMana;
|
|
46947
47044
|
var _useState = React.useState(false),
|
|
46948
47045
|
_useState2 = _slicedToArray(_useState, 2),
|
|
46949
47046
|
modalIsOpen = _useState2[0],
|
|
@@ -46976,12 +47073,13 @@ var RemoveAccountModalModule = function RemoveAccountModalModule(_ref) {
|
|
|
46976
47073
|
extraStyles: "flex-grow: 1;"
|
|
46977
47074
|
}, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
46978
47075
|
text: "Remove",
|
|
46979
|
-
variant: "secondary",
|
|
46980
|
-
action: function
|
|
47076
|
+
variant: isInCustomerManagement ? "disabledSecondary" : "secondary",
|
|
47077
|
+
action: isInCustomerManagement ? noop : function () {
|
|
46981
47078
|
return setModalIsOpen(true);
|
|
46982
47079
|
},
|
|
46983
47080
|
dataQa: "Remove Account",
|
|
46984
|
-
extraStyles: isMobile ? "flex-grow: 1; width: 100%; margin: 0;" : "flex-grow: 1;"
|
|
47081
|
+
extraStyles: isMobile ? "flex-grow: 1; width: 100%; margin: 0;" : "flex-grow: 1;",
|
|
47082
|
+
disabled: isInCustomerManagement
|
|
46985
47083
|
})));
|
|
46986
47084
|
};
|
|
46987
47085
|
|
|
@@ -47001,7 +47099,9 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
|
|
|
47001
47099
|
actions = _ref.actions,
|
|
47002
47100
|
description = _ref.description,
|
|
47003
47101
|
subDescription = _ref.subDescription,
|
|
47004
|
-
allowedPaymentInstruments = _ref.allowedPaymentInstruments
|
|
47102
|
+
allowedPaymentInstruments = _ref.allowedPaymentInstruments,
|
|
47103
|
+
_ref$isInCustomerMana = _ref.isInCustomerManagement,
|
|
47104
|
+
isInCustomerManagement = _ref$isInCustomerMana === void 0 ? false : _ref$isInCustomerMana;
|
|
47005
47105
|
var _useState = React.useState(false),
|
|
47006
47106
|
_useState2 = _slicedToArray(_useState, 2),
|
|
47007
47107
|
modalOpen = _useState2[0],
|
|
@@ -47039,15 +47139,17 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
|
|
|
47039
47139
|
inactive: true,
|
|
47040
47140
|
description: description,
|
|
47041
47141
|
subDescription: subDescription,
|
|
47042
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
47142
|
+
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
47143
|
+
isInCustomerManagement: isInCustomerManagement
|
|
47043
47144
|
})), /*#__PURE__*/React__default.createElement(Box, {
|
|
47044
47145
|
padding: "0",
|
|
47045
47146
|
extraStyles: "flex-grow: 1;"
|
|
47046
47147
|
}, /*#__PURE__*/React__default.createElement(RemoveAccountModalModule, {
|
|
47047
47148
|
agencyName: agencyName,
|
|
47048
|
-
removeAccount: handleRemoveAccount,
|
|
47149
|
+
removeAccount: isInCustomerManagement ? noop$1 : handleRemoveAccount,
|
|
47049
47150
|
accountType: configType === "ACCOUNT" ? "Account" : "Property",
|
|
47050
|
-
isMobile: isMobile
|
|
47151
|
+
isMobile: isMobile,
|
|
47152
|
+
isInCustomerManagement: isInCustomerManagement
|
|
47051
47153
|
}))));
|
|
47052
47154
|
};
|
|
47053
47155
|
|
|
@@ -47105,7 +47207,9 @@ var Obligation = function Obligation(_ref) {
|
|
|
47105
47207
|
_ref$inactiveLookupIn = _ref.inactiveLookupInput,
|
|
47106
47208
|
inactiveLookupInput = _ref$inactiveLookupIn === void 0 ? "Account" : _ref$inactiveLookupIn,
|
|
47107
47209
|
_ref$inactiveLookupVa = _ref.inactiveLookupValue,
|
|
47108
|
-
inactiveLookupValue = _ref$inactiveLookupVa === void 0 ? "" : _ref$inactiveLookupVa
|
|
47210
|
+
inactiveLookupValue = _ref$inactiveLookupVa === void 0 ? "" : _ref$inactiveLookupVa,
|
|
47211
|
+
_ref$isInCustomerMana = _ref.isInCustomerManagement,
|
|
47212
|
+
isInCustomerManagement = _ref$isInCustomerMana === void 0 ? false : _ref$isInCustomerMana;
|
|
47109
47213
|
/*
|
|
47110
47214
|
The value of obligations is always an array. It can contain:
|
|
47111
47215
|
- A single obligation
|
|
@@ -47193,7 +47297,8 @@ var Obligation = function Obligation(_ref) {
|
|
|
47193
47297
|
obligationAssocID: obligationAssocID,
|
|
47194
47298
|
description: description,
|
|
47195
47299
|
subDescription: subDescription,
|
|
47196
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
47300
|
+
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
47301
|
+
isInCustomerManagement: isInCustomerManagement
|
|
47197
47302
|
}))), isMobile && /*#__PURE__*/React__default.createElement(PaymentDetailsActions, {
|
|
47198
47303
|
obligations: obligations,
|
|
47199
47304
|
autoPayEnabled: autoPayEnabled,
|
|
@@ -47211,7 +47316,8 @@ var Obligation = function Obligation(_ref) {
|
|
|
47211
47316
|
obligationAssocID: obligationAssocID,
|
|
47212
47317
|
description: description,
|
|
47213
47318
|
subDescription: subDescription,
|
|
47214
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
47319
|
+
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
47320
|
+
isInCustomerManagement: isInCustomerManagement
|
|
47215
47321
|
}));
|
|
47216
47322
|
var inactiveObligation = /*#__PURE__*/React__default.createElement(Box, {
|
|
47217
47323
|
padding: "0",
|
|
@@ -47267,7 +47373,8 @@ var Obligation = function Obligation(_ref) {
|
|
|
47267
47373
|
configType: config.type,
|
|
47268
47374
|
description: description,
|
|
47269
47375
|
subDescription: subDescription,
|
|
47270
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
47376
|
+
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
47377
|
+
isInCustomerManagement: isInCustomerManagement
|
|
47271
47378
|
}))), isMobile && /*#__PURE__*/React__default.createElement(InactiveControlsModule, {
|
|
47272
47379
|
obligations: obligations,
|
|
47273
47380
|
autoPayEnabled: autoPayEnabled,
|
|
@@ -47284,7 +47391,8 @@ var Obligation = function Obligation(_ref) {
|
|
|
47284
47391
|
configType: config.type,
|
|
47285
47392
|
description: description,
|
|
47286
47393
|
subDescription: subDescription,
|
|
47287
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
47394
|
+
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
47395
|
+
isInCustomerManagement: isInCustomerManagement
|
|
47288
47396
|
}))));
|
|
47289
47397
|
return inactive ? inactiveObligation : activeObligation;
|
|
47290
47398
|
};
|
|
@@ -47566,7 +47674,7 @@ var Pagination = function Pagination(_ref3) {
|
|
|
47566
47674
|
return setCurrentPage({
|
|
47567
47675
|
pageNumber: item.index
|
|
47568
47676
|
});
|
|
47569
|
-
} : noop,
|
|
47677
|
+
} : noop$1,
|
|
47570
47678
|
textExtraStyles: "font-size: ".concat(fontSize, "; font-weight: ").concat(fontWeight, ";"),
|
|
47571
47679
|
extraStyles: "".concat(extraStyles).concat(item.active ? currentPageStyles : ""),
|
|
47572
47680
|
dataQa: index
|
|
@@ -47923,7 +48031,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
47923
48031
|
_ref4$voidableTransac = _ref4.voidableTransactionDetails,
|
|
47924
48032
|
voidableTransactionDetails = _ref4$voidableTransac === void 0 ? [] : _ref4$voidableTransac,
|
|
47925
48033
|
_ref4$partialVoidActi = _ref4.partialVoidAction,
|
|
47926
|
-
partialVoidAction = _ref4$partialVoidActi === void 0 ? noop : _ref4$partialVoidActi,
|
|
48034
|
+
partialVoidAction = _ref4$partialVoidActi === void 0 ? noop$1 : _ref4$partialVoidActi,
|
|
47927
48035
|
_ref4$voidableAmountP = _ref4.voidableAmountPaid,
|
|
47928
48036
|
voidableAmountPaid = _ref4$voidableAmountP === void 0 ? 0 : _ref4$voidableAmountP,
|
|
47929
48037
|
_ref4$remainingBalanc = _ref4.remainingBalance,
|
|
@@ -48382,7 +48490,7 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
|
48382
48490
|
actions = _ref.actions,
|
|
48383
48491
|
showErrors = _ref.showErrors,
|
|
48384
48492
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
48385
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
48493
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit,
|
|
48386
48494
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
48387
48495
|
saveToWallet = _ref.saveToWallet,
|
|
48388
48496
|
walletCheckboxMarked = _ref.walletCheckboxMarked,
|
|
@@ -48584,7 +48692,7 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
|
|
|
48584
48692
|
actions = _ref.actions,
|
|
48585
48693
|
showErrors = _ref.showErrors,
|
|
48586
48694
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
48587
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
48695
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit,
|
|
48588
48696
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
48589
48697
|
saveToWallet = _ref.saveToWallet,
|
|
48590
48698
|
walletCheckboxMarked = _ref.walletCheckboxMarked,
|
|
@@ -48888,7 +48996,7 @@ var PhoneForm = function PhoneForm(_ref) {
|
|
|
48888
48996
|
clearOnDismount = _ref.clearOnDismount,
|
|
48889
48997
|
showErrors = _ref.showErrors,
|
|
48890
48998
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
48891
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
48999
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit,
|
|
48892
49000
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
48893
49001
|
saveToWallet = _ref.saveToWallet,
|
|
48894
49002
|
walletCheckboxMarked = _ref.walletCheckboxMarked,
|
|
@@ -48964,7 +49072,7 @@ var RadioGroup = function RadioGroup(_ref) {
|
|
|
48964
49072
|
config = _ref.config,
|
|
48965
49073
|
extraStyles = _ref.extraStyles,
|
|
48966
49074
|
_ref$handleChange = _ref.handleChange,
|
|
48967
|
-
handleChange = _ref$handleChange === void 0 ? noop : _ref$handleChange,
|
|
49075
|
+
handleChange = _ref$handleChange === void 0 ? noop$1 : _ref$handleChange,
|
|
48968
49076
|
field = _ref.field,
|
|
48969
49077
|
fieldActions = _ref.fieldActions;
|
|
48970
49078
|
var setValue = function setValue(value) {
|
|
@@ -49029,7 +49137,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
49029
49137
|
ariaLabelledBy = _ref.ariaLabelledBy,
|
|
49030
49138
|
isLastGroupedItemInSection = _ref.isLastGroupedItemInSection,
|
|
49031
49139
|
_ref$onKeyDown = _ref.onKeyDown,
|
|
49032
|
-
onKeyDown = _ref$onKeyDown === void 0 ? noop : _ref$onKeyDown;
|
|
49140
|
+
onKeyDown = _ref$onKeyDown === void 0 ? noop$1 : _ref$onKeyDown;
|
|
49033
49141
|
var wrapper = {
|
|
49034
49142
|
open: {
|
|
49035
49143
|
height: openHeight,
|
|
@@ -49086,12 +49194,12 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
49086
49194
|
"aria-required": section.required,
|
|
49087
49195
|
"aria-labelledby": ariaLabelledBy,
|
|
49088
49196
|
"aria-describedby": ariaDescribedBy,
|
|
49089
|
-
onClick: isMobile && supportsTouch || section.disabled ? noop : function () {
|
|
49197
|
+
onClick: isMobile && supportsTouch || section.disabled ? noop$1 : function () {
|
|
49090
49198
|
return toggleOpenSection(section.id);
|
|
49091
49199
|
},
|
|
49092
49200
|
onTouchEnd: isMobile && supportsTouch && !section.disabled ? function () {
|
|
49093
49201
|
return toggleOpenSection(section.id);
|
|
49094
|
-
} : noop,
|
|
49202
|
+
} : noop$1,
|
|
49095
49203
|
id: "inner-radio-section-".concat(sectionIndex),
|
|
49096
49204
|
"data-qa": section.dataQa ? section.dataQa : section.id || "inner-radio-section-".concat(sectionIndex)
|
|
49097
49205
|
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
@@ -49121,7 +49229,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
49121
49229
|
ariaDescribedBy: ariaDescribedBy,
|
|
49122
49230
|
radioOn: openSection === section.id,
|
|
49123
49231
|
radioFocused: focused === section.id,
|
|
49124
|
-
toggleRadio: section.disabled ? noop : function () {
|
|
49232
|
+
toggleRadio: section.disabled ? noop$1 : function () {
|
|
49125
49233
|
return toggleOpenSection(section.id);
|
|
49126
49234
|
},
|
|
49127
49235
|
tabIndex: "-1",
|
|
@@ -49305,7 +49413,7 @@ var RegistrationForm = function RegistrationForm(_ref) {
|
|
|
49305
49413
|
fields = _ref.fields,
|
|
49306
49414
|
actions = _ref.actions,
|
|
49307
49415
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
49308
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
49416
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit,
|
|
49309
49417
|
showErrors = _ref.showErrors,
|
|
49310
49418
|
isMobile = _ref.isMobile;
|
|
49311
49419
|
if (clearOnDismount) {
|
|
@@ -49465,7 +49573,7 @@ var ResetConfirmationForm$1 = withWindowSize(ResetConfirmationForm);
|
|
|
49465
49573
|
|
|
49466
49574
|
var ResetPasswordForm = function ResetPasswordForm(_ref) {
|
|
49467
49575
|
var _ref$handleSubmit = _ref.handleSubmit,
|
|
49468
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
49576
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit,
|
|
49469
49577
|
clearOnDismount = _ref.clearOnDismount,
|
|
49470
49578
|
fields = _ref.fields,
|
|
49471
49579
|
actions = _ref.actions,
|