@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.esm.js
CHANGED
|
@@ -6203,7 +6203,7 @@ return numeral;
|
|
|
6203
6203
|
}));
|
|
6204
6204
|
});
|
|
6205
6205
|
|
|
6206
|
-
var noop = function noop() {};
|
|
6206
|
+
var noop$1 = function noop() {};
|
|
6207
6207
|
var formatMoneyString = function formatMoneyString(s) {
|
|
6208
6208
|
return numeral(s).format("$0,0.00");
|
|
6209
6209
|
};
|
|
@@ -6337,7 +6337,7 @@ var wrapIndex = function wrapIndex(index, length) {
|
|
|
6337
6337
|
|
|
6338
6338
|
var general = /*#__PURE__*/Object.freeze({
|
|
6339
6339
|
__proto__: null,
|
|
6340
|
-
noop: noop,
|
|
6340
|
+
noop: noop$1,
|
|
6341
6341
|
displayCurrency: displayCurrency,
|
|
6342
6342
|
convertCentsToMoneyInt: convertCentsToMoneyInt,
|
|
6343
6343
|
formatPercent: formatPercent,
|
|
@@ -6501,7 +6501,7 @@ var BoxWrapper = styled(function (_ref) {
|
|
|
6501
6501
|
});
|
|
6502
6502
|
/* eslint-enable no-unused-vars */
|
|
6503
6503
|
|
|
6504
|
-
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"];
|
|
6504
|
+
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"];
|
|
6505
6505
|
|
|
6506
6506
|
/*
|
|
6507
6507
|
Box component to create generic boxes
|
|
@@ -6549,6 +6549,7 @@ var Box = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
6549
6549
|
_ref$srOnly = _ref.srOnly,
|
|
6550
6550
|
srOnly = _ref$srOnly === void 0 ? false : _ref$srOnly,
|
|
6551
6551
|
dataQa = _ref.dataQa,
|
|
6552
|
+
_ref$disabled = _ref.disabled,
|
|
6552
6553
|
children = _ref.children,
|
|
6553
6554
|
rest = _objectWithoutProperties(_ref, _excluded$3);
|
|
6554
6555
|
return /*#__PURE__*/React.createElement(BoxWrapper, _extends({
|
|
@@ -10524,7 +10525,7 @@ var isRefObject = function (ref) {
|
|
|
10524
10525
|
return typeof ref === "object" && ref.hasOwnProperty("current");
|
|
10525
10526
|
};
|
|
10526
10527
|
|
|
10527
|
-
var noop$
|
|
10528
|
+
var noop$2 = function (v) { return v; };
|
|
10528
10529
|
var ComponentDragControls = /** @class */ (function () {
|
|
10529
10530
|
function ComponentDragControls(_a) {
|
|
10530
10531
|
var ref = _a.ref, values = _a.values, controls = _a.controls;
|
|
@@ -10552,7 +10553,7 @@ var ComponentDragControls = /** @class */ (function () {
|
|
|
10552
10553
|
* @internal
|
|
10553
10554
|
*/
|
|
10554
10555
|
this.props = {
|
|
10555
|
-
transformPagePoint: noop$
|
|
10556
|
+
transformPagePoint: noop$2,
|
|
10556
10557
|
};
|
|
10557
10558
|
/**
|
|
10558
10559
|
* References to the MotionValues used for tracking the current dragged point.
|
|
@@ -12586,10 +12587,54 @@ var WHITE$1 = WHITE,
|
|
|
12586
12587
|
TRANSPARENT$1 = TRANSPARENT,
|
|
12587
12588
|
SAPPHIRE_BLUE$1 = SAPPHIRE_BLUE,
|
|
12588
12589
|
PEACOCK_BLUE$1 = PEACOCK_BLUE,
|
|
12590
|
+
MANATEE_GREY$1 = MANATEE_GREY,
|
|
12589
12591
|
MATISSE_BLUE$1 = MATISSE_BLUE,
|
|
12590
12592
|
RASPBERRY$1 = RASPBERRY,
|
|
12591
|
-
ERROR_COLOR$1 = ERROR_COLOR
|
|
12593
|
+
ERROR_COLOR$1 = ERROR_COLOR,
|
|
12594
|
+
STORM_GREY$1 = STORM_GREY;
|
|
12592
12595
|
var LINK_TEXT_DECORATION$1 = LINK_TEXT_DECORATION;
|
|
12596
|
+
var disabledBorderColor = {
|
|
12597
|
+
primary: STORM_GREY$1,
|
|
12598
|
+
secondary: STORM_GREY$1,
|
|
12599
|
+
back: TRANSPARENT$1,
|
|
12600
|
+
smallPrimary: STORM_GREY$1,
|
|
12601
|
+
smallSecondary: STORM_GREY$1,
|
|
12602
|
+
smallGhost: TRANSPARENT$1,
|
|
12603
|
+
ghost: TRANSPARENT$1,
|
|
12604
|
+
tertiary: TRANSPARENT$1,
|
|
12605
|
+
danger: STORM_GREY$1,
|
|
12606
|
+
dangerSecondary: STORM_GREY$1,
|
|
12607
|
+
whiteSecondary: TRANSPARENT$1,
|
|
12608
|
+
whitePrimary: TRANSPARENT$1
|
|
12609
|
+
};
|
|
12610
|
+
var disabledColor = {
|
|
12611
|
+
primary: WHITE$1,
|
|
12612
|
+
secondary: MANATEE_GREY$1,
|
|
12613
|
+
back: MANATEE_GREY$1,
|
|
12614
|
+
smallPrimary: WHITE$1,
|
|
12615
|
+
smallSecondary: MANATEE_GREY$1,
|
|
12616
|
+
smallGhost: MANATEE_GREY$1,
|
|
12617
|
+
ghost: MANATEE_GREY$1,
|
|
12618
|
+
tertiary: MANATEE_GREY$1,
|
|
12619
|
+
danger: WHITE$1,
|
|
12620
|
+
dangerSecondary: MANATEE_GREY$1,
|
|
12621
|
+
whiteSecondary: MANATEE_GREY$1,
|
|
12622
|
+
whitePrimary: MANATEE_GREY$1
|
|
12623
|
+
};
|
|
12624
|
+
var disabledBackgroundColor = {
|
|
12625
|
+
primary: MANATEE_GREY$1,
|
|
12626
|
+
secondary: TRANSPARENT$1,
|
|
12627
|
+
back: TRANSPARENT$1,
|
|
12628
|
+
smallPrimary: MANATEE_GREY$1,
|
|
12629
|
+
smallSecondary: TRANSPARENT$1,
|
|
12630
|
+
smallGhost: TRANSPARENT$1,
|
|
12631
|
+
ghost: TRANSPARENT$1,
|
|
12632
|
+
tertiary: TRANSPARENT$1,
|
|
12633
|
+
danger: MANATEE_GREY$1,
|
|
12634
|
+
dangerSecondary: TRANSPARENT$1,
|
|
12635
|
+
whiteSecondary: TRANSPARENT$1,
|
|
12636
|
+
whitePrimary: TRANSPARENT$1
|
|
12637
|
+
};
|
|
12593
12638
|
var padding = {
|
|
12594
12639
|
primary: "0.75rem 1.5rem",
|
|
12595
12640
|
secondary: "0.75rem 1.5rem",
|
|
@@ -12815,7 +12860,10 @@ var fallbackValues$1 = {
|
|
|
12815
12860
|
hoverColor: hoverColor,
|
|
12816
12861
|
activeBackgroundColor: activeBackgroundColor,
|
|
12817
12862
|
activeBorderColor: activeBorderColor,
|
|
12818
|
-
activeColor: activeColor
|
|
12863
|
+
activeColor: activeColor,
|
|
12864
|
+
disabledColor: disabledColor,
|
|
12865
|
+
disabledBackgroundColor: disabledBackgroundColor,
|
|
12866
|
+
disabledBorderColor: disabledBorderColor
|
|
12819
12867
|
};
|
|
12820
12868
|
|
|
12821
12869
|
var rotate = posed.div({
|
|
@@ -12936,7 +12984,7 @@ var Spinner = function Spinner(_ref) {
|
|
|
12936
12984
|
|
|
12937
12985
|
var ButtonWithAction = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
12938
12986
|
var _ref2$action = _ref2.action,
|
|
12939
|
-
action = _ref2$action === void 0 ? noop : _ref2$action,
|
|
12987
|
+
action = _ref2$action === void 0 ? noop$1 : _ref2$action,
|
|
12940
12988
|
_ref2$variant = _ref2.variant,
|
|
12941
12989
|
variant = _ref2$variant === void 0 ? "primary" : _ref2$variant,
|
|
12942
12990
|
text = _ref2.text,
|
|
@@ -12962,9 +13010,9 @@ var ButtonWithAction = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
|
12962
13010
|
var themeContext = useContext(ThemeContext);
|
|
12963
13011
|
var themeValues = createThemeValues(themeContext, fallbackValues$1, "Button", variant);
|
|
12964
13012
|
var isMobile = themeContext.isMobile;
|
|
12965
|
-
var hoverStyles = "\n
|
|
12966
|
-
var activeStyles = "\n
|
|
12967
|
-
var disabledStyles = "\n
|
|
13013
|
+
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 ");
|
|
13014
|
+
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 ");
|
|
13015
|
+
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 ");
|
|
12968
13016
|
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
12969
13017
|
ref: ref,
|
|
12970
13018
|
variant: variant,
|
|
@@ -12993,7 +13041,7 @@ var ButtonWithAction = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
|
12993
13041
|
}) : /*#__PURE__*/React.createElement(Text$1, {
|
|
12994
13042
|
weight: themeValues.fontWeight,
|
|
12995
13043
|
variant: themeValues.fontSizeVariant,
|
|
12996
|
-
color: themeValues.color,
|
|
13044
|
+
color: disabled ? themeValues.disabledColor : themeValues.color,
|
|
12997
13045
|
textDecoration: themeValues.textDecoration,
|
|
12998
13046
|
textWrap: textWrap,
|
|
12999
13047
|
extraStyles: textExtraStyles
|
|
@@ -13064,7 +13112,9 @@ var AccountsIcon$1 = themeComponent(AccountsIcon, "Icons", fallbackValues$2, "in
|
|
|
13064
13112
|
// Fill color based on default "success" variant color
|
|
13065
13113
|
var AutopayIcon = function AutopayIcon(_ref) {
|
|
13066
13114
|
var _ref$fill = _ref.fill,
|
|
13067
|
-
fill = _ref$fill === void 0 ? "#317D4F" : _ref$fill
|
|
13115
|
+
fill = _ref$fill === void 0 ? "#317D4F" : _ref$fill,
|
|
13116
|
+
_ref$color = _ref.color,
|
|
13117
|
+
color = _ref$color === void 0 ? "#317D4F" : _ref$color;
|
|
13068
13118
|
return /*#__PURE__*/React.createElement("svg", {
|
|
13069
13119
|
width: "16",
|
|
13070
13120
|
height: "16",
|
|
@@ -13088,7 +13138,7 @@ var AutopayIcon = function AutopayIcon(_ref) {
|
|
|
13088
13138
|
mask: "url(#mask0_5560_39870)"
|
|
13089
13139
|
}, /*#__PURE__*/React.createElement("path", {
|
|
13090
13140
|
d: "M0 0H16V16H0V0Z",
|
|
13091
|
-
fill: fill
|
|
13141
|
+
fill: fill || color
|
|
13092
13142
|
})));
|
|
13093
13143
|
};
|
|
13094
13144
|
|
|
@@ -19113,13 +19163,15 @@ var background$1 = {
|
|
|
19113
19163
|
info: "".concat(INFO_BLUE),
|
|
19114
19164
|
warn: "".concat(HALF_COLONIAL_WHITE),
|
|
19115
19165
|
primary: "".concat(CORNFLOWER_BLUE),
|
|
19116
|
-
success: "".concat(HINT_GREEN)
|
|
19166
|
+
success: "".concat(HINT_GREEN),
|
|
19167
|
+
disabled: "".concat(GRECIAN_GREY)
|
|
19117
19168
|
};
|
|
19118
19169
|
var color$4 = {
|
|
19119
19170
|
info: "".concat(MATISSE_BLUE),
|
|
19120
19171
|
warn: "".concat(ZEST_ORANGE),
|
|
19121
19172
|
primary: "".concat(ROYAL_BLUE_VIVID),
|
|
19122
|
-
success: "".concat(SEA_GREEN)
|
|
19173
|
+
success: "".concat(SEA_GREEN),
|
|
19174
|
+
disabled: "".concat(MANATEE_GREY)
|
|
19123
19175
|
};
|
|
19124
19176
|
var fallbackValues$7 = {
|
|
19125
19177
|
background: background$1,
|
|
@@ -19143,10 +19195,12 @@ var Badge = function Badge(_ref) {
|
|
|
19143
19195
|
return /*#__PURE__*/React.createElement(StyledBadgeContainer, {
|
|
19144
19196
|
background: themeValues.background
|
|
19145
19197
|
}, iconOnLeft && Icon && /*#__PURE__*/React.createElement(Icon, {
|
|
19198
|
+
color: themeValues.color,
|
|
19146
19199
|
fill: themeValues.color
|
|
19147
19200
|
}), /*#__PURE__*/React.createElement(StyledBadge, {
|
|
19148
19201
|
color: themeValues.color
|
|
19149
19202
|
}, label), !iconOnLeft && Icon && /*#__PURE__*/React.createElement(Icon, {
|
|
19203
|
+
color: themeValues.color,
|
|
19150
19204
|
fill: themeValues.color
|
|
19151
19205
|
}));
|
|
19152
19206
|
};
|
|
@@ -20519,7 +20573,7 @@ var BoxWithShadow$1 = themeComponent(BoxWithShadow, "BoxWithShadow", fallbackVal
|
|
|
20519
20573
|
|
|
20520
20574
|
// import theme from "styled-theming";
|
|
20521
20575
|
var MATISSE_BLUE$2 = MATISSE_BLUE,
|
|
20522
|
-
STORM_GREY$
|
|
20576
|
+
STORM_GREY$2 = STORM_GREY;
|
|
20523
20577
|
var LINK_TEXT_DECORATION$2 = LINK_TEXT_DECORATION;
|
|
20524
20578
|
|
|
20525
20579
|
/*
|
|
@@ -20528,8 +20582,8 @@ var LINK_TEXT_DECORATION$2 = LINK_TEXT_DECORATION;
|
|
|
20528
20582
|
*/
|
|
20529
20583
|
|
|
20530
20584
|
var color$5 = "".concat(MATISSE_BLUE$2);
|
|
20531
|
-
var activeColor$2 = "".concat(STORM_GREY$
|
|
20532
|
-
var activeBreadcrumbColor = "".concat(STORM_GREY$
|
|
20585
|
+
var activeColor$2 = "".concat(STORM_GREY$2);
|
|
20586
|
+
var activeBreadcrumbColor = "".concat(STORM_GREY$2);
|
|
20533
20587
|
var fontSize$2 = "0.875rem";
|
|
20534
20588
|
var lineHeight = "1.25rem";
|
|
20535
20589
|
var fontWeight$1 = "400";
|
|
@@ -22754,7 +22808,7 @@ var Checkbox = function Checkbox(_ref4) {
|
|
|
22754
22808
|
name = _ref4.name,
|
|
22755
22809
|
checked = _ref4.checked,
|
|
22756
22810
|
_ref4$onChange = _ref4.onChange,
|
|
22757
|
-
onChange = _ref4$onChange === void 0 ? noop : _ref4$onChange,
|
|
22811
|
+
onChange = _ref4$onChange === void 0 ? noop$1 : _ref4$onChange,
|
|
22758
22812
|
_ref4$disabled = _ref4.disabled,
|
|
22759
22813
|
disabled = _ref4$disabled === void 0 ? false : _ref4$disabled,
|
|
22760
22814
|
themeValues = _ref4.themeValues,
|
|
@@ -22949,7 +23003,7 @@ var CheckboxListItem = function CheckboxListItem(_ref) {
|
|
|
22949
23003
|
padding: "0.875rem",
|
|
22950
23004
|
borderRadius: "4px",
|
|
22951
23005
|
minWidth: "30%",
|
|
22952
|
-
onClick: disabled ? noop : onSelect,
|
|
23006
|
+
onClick: disabled ? noop$1 : onSelect,
|
|
22953
23007
|
borderColor: borderColor,
|
|
22954
23008
|
borderSize: "1px",
|
|
22955
23009
|
color: color,
|
|
@@ -22964,8 +23018,8 @@ var CheckboxListItem = function CheckboxListItem(_ref) {
|
|
|
22964
23018
|
name: name,
|
|
22965
23019
|
"aria-label": name,
|
|
22966
23020
|
htmlFor: "checkbox-".concat(name, "-").concat(index),
|
|
22967
|
-
onClick: disabled ? noop : onSelect,
|
|
22968
|
-
onKeyDown: disabled ? noop : onSelect,
|
|
23021
|
+
onClick: disabled ? noop$1 : onSelect,
|
|
23022
|
+
onKeyDown: disabled ? noop$1 : onSelect,
|
|
22969
23023
|
tabIndex: 0
|
|
22970
23024
|
}, /*#__PURE__*/React.createElement(ThemeProvider, {
|
|
22971
23025
|
theme: {
|
|
@@ -24448,7 +24502,7 @@ var Dropdown = function Dropdown(_ref13) {
|
|
|
24448
24502
|
_ref13$disabledValues = _ref13.disabledValues,
|
|
24449
24503
|
disabledValues = _ref13$disabledValues === void 0 ? [] : _ref13$disabledValues,
|
|
24450
24504
|
_ref13$onClick = _ref13.onClick,
|
|
24451
|
-
_onClick = _ref13$onClick === void 0 ? noop : _ref13$onClick,
|
|
24505
|
+
_onClick = _ref13$onClick === void 0 ? noop$1 : _ref13$onClick,
|
|
24452
24506
|
themeValues = _ref13.themeValues,
|
|
24453
24507
|
maxHeight = _ref13.maxHeight,
|
|
24454
24508
|
_ref13$widthFitOption = _ref13.widthFitOptions,
|
|
@@ -26064,7 +26118,7 @@ var Popover = function Popover(_ref) {
|
|
|
26064
26118
|
extraStyles: "position: relative; ".concat(extraStyles)
|
|
26065
26119
|
}, /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
26066
26120
|
action: function action() {
|
|
26067
|
-
return noop;
|
|
26121
|
+
return noop$1;
|
|
26068
26122
|
},
|
|
26069
26123
|
onFocus: function onFocus() {
|
|
26070
26124
|
handleTogglePopover(true);
|
|
@@ -27030,7 +27084,7 @@ var HamburgerButton = function HamburgerButton(_ref4) {
|
|
|
27030
27084
|
inactiveColor = _ref4.inactiveColor,
|
|
27031
27085
|
isActive = _ref4.isActive,
|
|
27032
27086
|
_ref4$onClick = _ref4.onClick,
|
|
27033
|
-
onClick = _ref4$onClick === void 0 ? noop : _ref4$onClick,
|
|
27087
|
+
onClick = _ref4$onClick === void 0 ? noop$1 : _ref4$onClick,
|
|
27034
27088
|
controls = _ref4.controls;
|
|
27035
27089
|
return /*#__PURE__*/React.createElement(Hamburger, {
|
|
27036
27090
|
className: isActive === true ? "active" : "",
|
|
@@ -27715,7 +27769,9 @@ var PlaceholderContentWrapper = function PlaceholderContentWrapper(_ref) {
|
|
|
27715
27769
|
action = _ref.action,
|
|
27716
27770
|
destination = _ref.destination,
|
|
27717
27771
|
children = _ref.children,
|
|
27718
|
-
dataQa = _ref.dataQa
|
|
27772
|
+
dataQa = _ref.dataQa,
|
|
27773
|
+
_ref$disabled = _ref.disabled,
|
|
27774
|
+
disabled = _ref$disabled === void 0 ? false : _ref$disabled;
|
|
27719
27775
|
return isLink ? /*#__PURE__*/React.createElement(Link, {
|
|
27720
27776
|
to: destination,
|
|
27721
27777
|
"data-qa": dataQa,
|
|
@@ -27725,13 +27781,14 @@ var PlaceholderContentWrapper = function PlaceholderContentWrapper(_ref) {
|
|
|
27725
27781
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
27726
27782
|
padding: "0",
|
|
27727
27783
|
minHeight: "100%",
|
|
27728
|
-
extraStyles: "cursor: pointer;"
|
|
27784
|
+
extraStyles: disabled ? "cursor: default;" : "cursor: pointer;"
|
|
27729
27785
|
}, children)) : /*#__PURE__*/React.createElement(Box, {
|
|
27730
|
-
onClick: action,
|
|
27786
|
+
onClick: disabled ? noop$1 : action,
|
|
27731
27787
|
padding: "0",
|
|
27732
27788
|
minHeight: "100%",
|
|
27733
|
-
|
|
27734
|
-
|
|
27789
|
+
dataQa: dataQa,
|
|
27790
|
+
"aria-disabled": disabled,
|
|
27791
|
+
extraStyles: disabled ? "cursor: default;" : "cursor: pointer;"
|
|
27735
27792
|
}, children);
|
|
27736
27793
|
};
|
|
27737
27794
|
var Placeholder = function Placeholder(_ref2) {
|
|
@@ -27745,12 +27802,16 @@ var Placeholder = function Placeholder(_ref2) {
|
|
|
27745
27802
|
variant = _ref2.variant,
|
|
27746
27803
|
largeIcon = _ref2.largeIcon,
|
|
27747
27804
|
themeValues = _ref2.themeValues,
|
|
27748
|
-
dataQa = _ref2.dataQa
|
|
27805
|
+
dataQa = _ref2.dataQa,
|
|
27806
|
+
_ref2$disabled = _ref2.disabled,
|
|
27807
|
+
disabled = _ref2$disabled === void 0 ? false : _ref2$disabled;
|
|
27808
|
+
var tintedColor = "".concat(curriedTint$1(0.9, themeValues.color));
|
|
27749
27809
|
return /*#__PURE__*/React.createElement(PlaceholderContentWrapper, {
|
|
27750
27810
|
isLink: isLink,
|
|
27751
27811
|
action: action,
|
|
27752
27812
|
destination: destination,
|
|
27753
|
-
dataQa: dataQa
|
|
27813
|
+
dataQa: dataQa,
|
|
27814
|
+
disabled: disabled
|
|
27754
27815
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
27755
27816
|
padding: "0",
|
|
27756
27817
|
borderRadius: "4px",
|
|
@@ -27758,14 +27819,14 @@ var Placeholder = function Placeholder(_ref2) {
|
|
|
27758
27819
|
minHeight: themeValues.height,
|
|
27759
27820
|
hiddenStyles: !visible,
|
|
27760
27821
|
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;"),
|
|
27761
|
-
hoverStyles: "background-color: ".concat(variant === "large" ? GRECIAN_GREY :
|
|
27822
|
+
hoverStyles: "background-color: ".concat(variant === "large" ? GRECIAN_GREY : tintedColor, ";")
|
|
27762
27823
|
}, /*#__PURE__*/React.createElement(Center, {
|
|
27763
27824
|
maxWidth: "300px"
|
|
27764
27825
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
27765
27826
|
padding: "0",
|
|
27766
27827
|
tabIndex: "0",
|
|
27767
27828
|
onKeyPress: function onKeyPress(e) {
|
|
27768
|
-
return e.key === "Enter" && action();
|
|
27829
|
+
return e.key === "Enter" && !disabled && action();
|
|
27769
27830
|
}
|
|
27770
27831
|
}, /*#__PURE__*/React.createElement(Cluster, {
|
|
27771
27832
|
justify: "center",
|
|
@@ -27877,7 +27938,7 @@ var RadioButtonWithLabel = function RadioButtonWithLabel(_ref5) {
|
|
|
27877
27938
|
themeValues = _ref5.themeValues,
|
|
27878
27939
|
index = _ref5.index,
|
|
27879
27940
|
_ref5$handleChange = _ref5.handleChange,
|
|
27880
|
-
handleChange = _ref5$handleChange === void 0 ? noop : _ref5$handleChange,
|
|
27941
|
+
handleChange = _ref5$handleChange === void 0 ? noop$1 : _ref5$handleChange,
|
|
27881
27942
|
field = _ref5.field,
|
|
27882
27943
|
config = _ref5.config;
|
|
27883
27944
|
var getDefaultChecked = function getDefaultChecked(value, idx) {
|
|
@@ -38761,7 +38822,7 @@ var ToggleSwitch = function ToggleSwitch(_ref6) {
|
|
|
38761
38822
|
var _ref6$isOn = _ref6.isOn,
|
|
38762
38823
|
isOn = _ref6$isOn === void 0 ? false : _ref6$isOn,
|
|
38763
38824
|
_ref6$onToggle = _ref6.onToggle,
|
|
38764
|
-
onToggle = _ref6$onToggle === void 0 ? noop : _ref6$onToggle,
|
|
38825
|
+
onToggle = _ref6$onToggle === void 0 ? noop$1 : _ref6$onToggle,
|
|
38765
38826
|
_ref6$disabled = _ref6.disabled,
|
|
38766
38827
|
disabled = _ref6$disabled === void 0 ? false : _ref6$disabled,
|
|
38767
38828
|
_ref6$name = _ref6.name,
|
|
@@ -38869,15 +38930,15 @@ var ToggleSwitch = function ToggleSwitch(_ref6) {
|
|
|
38869
38930
|
}, /*#__PURE__*/React.createElement(HiddenToggleSwitchBox, {
|
|
38870
38931
|
"aria-label": name,
|
|
38871
38932
|
checked: isOn,
|
|
38872
|
-
onChange: disabled ? noop : onToggle,
|
|
38933
|
+
onChange: disabled ? noop$1 : onToggle,
|
|
38873
38934
|
disabled: disabled,
|
|
38874
38935
|
id: "#toggle-".concat(name),
|
|
38875
38936
|
isMobile: isMobile
|
|
38876
38937
|
}), /*#__PURE__*/React.createElement(VisibleSwitch, {
|
|
38877
38938
|
name: name,
|
|
38878
38939
|
htmlFor: "#toggle-".concat(name),
|
|
38879
|
-
onClick: disabled ? noop : onToggle,
|
|
38880
|
-
onKeyDown: disabled ? noop : handleKeyDown,
|
|
38940
|
+
onClick: disabled ? noop$1 : onToggle,
|
|
38941
|
+
onKeyDown: disabled ? noop$1 : handleKeyDown,
|
|
38881
38942
|
pose: disabled ? "disabled" : isOn ? "on" : "off",
|
|
38882
38943
|
tabIndex: disabled ? -1 : 0,
|
|
38883
38944
|
disabled: disabled,
|
|
@@ -39969,7 +40030,7 @@ var AddressForm = function AddressForm(_ref) {
|
|
|
39969
40030
|
clearOnDismount = _ref.clearOnDismount,
|
|
39970
40031
|
showErrors = _ref.showErrors,
|
|
39971
40032
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
39972
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
40033
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit,
|
|
39973
40034
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
39974
40035
|
saveToWallet = _ref.saveToWallet,
|
|
39975
40036
|
walletCheckboxMarked = _ref.walletCheckboxMarked,
|
|
@@ -40169,7 +40230,7 @@ var ChangePasswordForm = function ChangePasswordForm(_ref) {
|
|
|
40169
40230
|
fields = _ref.fields,
|
|
40170
40231
|
actions = _ref.actions,
|
|
40171
40232
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
40172
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
40233
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit,
|
|
40173
40234
|
showErrors = _ref.showErrors,
|
|
40174
40235
|
isMobile = _ref.isMobile,
|
|
40175
40236
|
revenueManagement = _ref.revenueManagement,
|
|
@@ -40380,8 +40441,8 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
|
40380
40441
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
40381
40442
|
padding: customPadding ? customPadding : "0",
|
|
40382
40443
|
background: themeValues.headingBackgroundColor,
|
|
40383
|
-
onClick: isMobile && supportsTouch ? noop : toggleSection,
|
|
40384
|
-
onTouchEnd: isMobile && supportsTouch ? toggleSection : noop,
|
|
40444
|
+
onClick: isMobile && supportsTouch ? noop$1 : toggleSection,
|
|
40445
|
+
onTouchEnd: isMobile && supportsTouch ? toggleSection : noop$1,
|
|
40385
40446
|
key: "header",
|
|
40386
40447
|
hoverStyles: "cursor: pointer;",
|
|
40387
40448
|
tabIndex: "0",
|
|
@@ -40599,7 +40660,7 @@ var EditNameForm = function EditNameForm(_ref) {
|
|
|
40599
40660
|
clearOnDismount = _ref.clearOnDismount,
|
|
40600
40661
|
showErrors = _ref.showErrors,
|
|
40601
40662
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
40602
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit;
|
|
40663
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit;
|
|
40603
40664
|
if (clearOnDismount) {
|
|
40604
40665
|
useEffect$1(function () {
|
|
40605
40666
|
return function () {
|
|
@@ -40939,7 +41000,7 @@ var EmailForm = function EmailForm(_ref) {
|
|
|
40939
41000
|
showErrors = _ref.showErrors,
|
|
40940
41001
|
guestCheckout = _ref.guestCheckout,
|
|
40941
41002
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
40942
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
41003
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit,
|
|
40943
41004
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
40944
41005
|
saveToWallet = _ref.saveToWallet,
|
|
40945
41006
|
walletCheckboxMarked = _ref.walletCheckboxMarked,
|
|
@@ -41036,7 +41097,7 @@ var ForgotPasswordForm = function ForgotPasswordForm(_ref) {
|
|
|
41036
41097
|
clearOnDismount = _ref.clearOnDismount,
|
|
41037
41098
|
showErrors = _ref.showErrors,
|
|
41038
41099
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
41039
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit;
|
|
41100
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit;
|
|
41040
41101
|
if (clearOnDismount) {
|
|
41041
41102
|
useEffect$1(function () {
|
|
41042
41103
|
return function () {
|
|
@@ -42587,10 +42648,22 @@ var PROPERTIES_COMMERCIAL_AUTO_ICON = "PROPERTIES_COMMERCIAL_AUTO";
|
|
|
42587
42648
|
var MISC_BILL_ICON = "MISC_SINGLE_BILL";
|
|
42588
42649
|
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));
|
|
42589
42650
|
|
|
42590
|
-
var activeBackgroundColor$1 =
|
|
42591
|
-
|
|
42592
|
-
|
|
42593
|
-
|
|
42651
|
+
var activeBackgroundColor$1 = {
|
|
42652
|
+
primary: "".concat(CORNFLOWER_BLUE),
|
|
42653
|
+
disabled: "".concat(TRANSPARENT)
|
|
42654
|
+
};
|
|
42655
|
+
var backgroundColor$9 = {
|
|
42656
|
+
primary: "".concat(LINK_WATER),
|
|
42657
|
+
disabled: "".concat(TRANSPARENT)
|
|
42658
|
+
};
|
|
42659
|
+
var borderColor$5 = {
|
|
42660
|
+
primary: "".concat(MOON_RAKER),
|
|
42661
|
+
disabled: "".concat(GHOST_GREY)
|
|
42662
|
+
};
|
|
42663
|
+
var color$b = {
|
|
42664
|
+
primary: "".concat(ROYAL_BLUE_VIVID),
|
|
42665
|
+
disabled: "".concat(MANATEE_GREY)
|
|
42666
|
+
};
|
|
42594
42667
|
var fallbackValues$I = {
|
|
42595
42668
|
activeBackgroundColor: activeBackgroundColor$1,
|
|
42596
42669
|
backgroundColor: backgroundColor$9,
|
|
@@ -42601,28 +42674,34 @@ var fallbackValues$I = {
|
|
|
42601
42674
|
var Container = styled(Box).withConfig({
|
|
42602
42675
|
displayName: "LinkCardstyled__Container",
|
|
42603
42676
|
componentId: "sc-l5q1h2-0"
|
|
42604
|
-
})(["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:
|
|
42677
|
+
})(["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) {
|
|
42605
42678
|
var theme = _ref.theme;
|
|
42606
42679
|
return "\n background-color: ".concat(theme.backgroundColor, ";\n border: 1px solid ").concat(theme.borderColor, ";\n ");
|
|
42607
42680
|
}, function (_ref2) {
|
|
42608
|
-
var
|
|
42609
|
-
return
|
|
42681
|
+
var disabled = _ref2.disabled;
|
|
42682
|
+
return disabled ? "default" : "pointer";
|
|
42610
42683
|
}, function (_ref3) {
|
|
42611
|
-
var
|
|
42612
|
-
return "\n
|
|
42684
|
+
var disabled = _ref3.disabled;
|
|
42685
|
+
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 ");
|
|
42686
|
+
}, function (_ref4) {
|
|
42687
|
+
var theme = _ref4.theme;
|
|
42688
|
+
return "border: 1px solid ".concat(theme.borderColor, ";");
|
|
42689
|
+
}, function (_ref5) {
|
|
42690
|
+
var theme = _ref5.theme;
|
|
42691
|
+
return "\n background-color: ".concat(theme.activeBackgroundColor, ";\n border: 1px solid ").concat(theme.borderColor, ";\n ;");
|
|
42613
42692
|
});
|
|
42614
42693
|
var Title$2 = styled(Heading$1).withConfig({
|
|
42615
42694
|
displayName: "LinkCardstyled__Title",
|
|
42616
42695
|
componentId: "sc-l5q1h2-1"
|
|
42617
|
-
})(["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 (
|
|
42618
|
-
var theme =
|
|
42696
|
+
})(["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) {
|
|
42697
|
+
var theme = _ref6.theme;
|
|
42619
42698
|
return "color: ".concat(theme.color, ";");
|
|
42620
42699
|
});
|
|
42621
42700
|
var Subtitle = styled(Paragraph$1).withConfig({
|
|
42622
42701
|
displayName: "LinkCardstyled__Subtitle",
|
|
42623
42702
|
componentId: "sc-l5q1h2-2"
|
|
42624
|
-
})(["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 (
|
|
42625
|
-
var theme =
|
|
42703
|
+
})(["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) {
|
|
42704
|
+
var theme = _ref7.theme;
|
|
42626
42705
|
return "color: ".concat(theme.color, ";");
|
|
42627
42706
|
});
|
|
42628
42707
|
var Footer = styled(Stack).withConfig({
|
|
@@ -42631,7 +42710,8 @@ var Footer = styled(Stack).withConfig({
|
|
|
42631
42710
|
})(["align-items:center;width:100%;"]);
|
|
42632
42711
|
|
|
42633
42712
|
var LinkCard = function LinkCard(_ref) {
|
|
42634
|
-
var _ref$
|
|
42713
|
+
var _ref$variant = _ref.variant,
|
|
42714
|
+
_ref$title = _ref.title,
|
|
42635
42715
|
title = _ref$title === void 0 ? "Test Workflow" : _ref$title,
|
|
42636
42716
|
_ref$subtitle = _ref.subtitle,
|
|
42637
42717
|
subtitle = _ref$subtitle === void 0 ? "Link your benefit plan" : _ref$subtitle,
|
|
@@ -42648,7 +42728,9 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
42648
42728
|
extraActiveStyles = _ref$extraActiveStyle === void 0 ? "" : _ref$extraActiveStyle,
|
|
42649
42729
|
themeValues = _ref.themeValues,
|
|
42650
42730
|
_ref$titleVariant = _ref.titleVariant,
|
|
42651
|
-
titleVariant = _ref$titleVariant === void 0 ? "h3" : _ref$titleVariant
|
|
42731
|
+
titleVariant = _ref$titleVariant === void 0 ? "h3" : _ref$titleVariant,
|
|
42732
|
+
_ref$disabled = _ref.disabled,
|
|
42733
|
+
disabled = _ref$disabled === void 0 ? false : _ref$disabled;
|
|
42652
42734
|
var _useContext = useContext(ThemeContext),
|
|
42653
42735
|
isMobile = _useContext.isMobile;
|
|
42654
42736
|
var regex = /\W/g;
|
|
@@ -42665,7 +42747,8 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
42665
42747
|
extraStyles: extraStyles,
|
|
42666
42748
|
hoverStyles: extraHoverStyles,
|
|
42667
42749
|
activeStyles: extraActiveStyles,
|
|
42668
|
-
onClick: onClick
|
|
42750
|
+
onClick: disabled ? noop$1 : onClick,
|
|
42751
|
+
disabled: disabled
|
|
42669
42752
|
}, /*#__PURE__*/React.createElement(Stack, {
|
|
42670
42753
|
childGap: 0,
|
|
42671
42754
|
bottomItem: 3,
|
|
@@ -42696,9 +42779,11 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
42696
42779
|
direction: "row",
|
|
42697
42780
|
childGap: "6px",
|
|
42698
42781
|
justify: "space-between"
|
|
42699
|
-
}, showLeft &&
|
|
42782
|
+
}, showLeft && !!leftContent ? leftContent : /*#__PURE__*/React.createElement(Box, {
|
|
42783
|
+
extraStyles: "margin-right: auto;"
|
|
42784
|
+
}), showRight && !!rightContent && rightContent))));
|
|
42700
42785
|
};
|
|
42701
|
-
var LinkCard$1 = themeComponent(LinkCard, "LinkCard", fallbackValues$I);
|
|
42786
|
+
var LinkCard$1 = themeComponent(LinkCard, "LinkCard", fallbackValues$I, "primary");
|
|
42702
42787
|
|
|
42703
42788
|
var LoginForm = function LoginForm(_ref) {
|
|
42704
42789
|
var clearOnDismount = _ref.clearOnDismount,
|
|
@@ -42706,7 +42791,7 @@ var LoginForm = function LoginForm(_ref) {
|
|
|
42706
42791
|
actions = _ref.actions,
|
|
42707
42792
|
showErrors = _ref.showErrors,
|
|
42708
42793
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
42709
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit;
|
|
42794
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit;
|
|
42710
42795
|
if (clearOnDismount) {
|
|
42711
42796
|
useEffect$1(function () {
|
|
42712
42797
|
return function () {
|
|
@@ -46650,7 +46735,9 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46650
46735
|
inactive = _ref.inactive,
|
|
46651
46736
|
description = _ref.description,
|
|
46652
46737
|
subDescription = _ref.subDescription,
|
|
46653
|
-
allowedPaymentInstruments = _ref.allowedPaymentInstruments
|
|
46738
|
+
allowedPaymentInstruments = _ref.allowedPaymentInstruments,
|
|
46739
|
+
_ref$isInCustomerMana = _ref.isInCustomerManagement,
|
|
46740
|
+
isInCustomerManagement = _ref$isInCustomerMana === void 0 ? false : _ref$isInCustomerMana;
|
|
46654
46741
|
var generateMethodNeededText = function generateMethodNeededText(planText, allowedPaymentInstruments) {
|
|
46655
46742
|
var allowsCard = allowedPaymentInstruments.includes(CC_METHOD);
|
|
46656
46743
|
var allowsACH = allowedPaymentInstruments.includes(ACH_METHOD);
|
|
@@ -46679,6 +46766,7 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46679
46766
|
case "secondary":
|
|
46680
46767
|
{
|
|
46681
46768
|
return /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
46769
|
+
disabled: isInCustomerManagement,
|
|
46682
46770
|
text: autoPayActive ? "Turn off ".concat(shortPlan) : "Set Up ".concat(shortPlan),
|
|
46683
46771
|
variant: "secondary",
|
|
46684
46772
|
action: function action() {
|
|
@@ -46691,10 +46779,11 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46691
46779
|
case "tertiary":
|
|
46692
46780
|
{
|
|
46693
46781
|
return /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
46782
|
+
disabled: isInCustomerManagement,
|
|
46694
46783
|
text: autoPayActive ? "Manage ".concat(shortPlan) : "Set Up ".concat(shortPlan),
|
|
46695
|
-
variant: "tertiary",
|
|
46784
|
+
variant: isInCustomerManagement ? "disabledTertiary" : "tertiary",
|
|
46696
46785
|
action: function action() {
|
|
46697
|
-
toggleModal(true);
|
|
46786
|
+
isInCustomerManagement ? noop$1 : toggleModal(true);
|
|
46698
46787
|
},
|
|
46699
46788
|
dataQa: "Manage Autopay",
|
|
46700
46789
|
extraStyles: isMobile && "flex-grow: 1; width: 100%;"
|
|
@@ -46705,7 +46794,7 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46705
46794
|
return /*#__PURE__*/React.createElement(Box, {
|
|
46706
46795
|
padding: "0",
|
|
46707
46796
|
onClick: function onClick() {
|
|
46708
|
-
toggleModal(true);
|
|
46797
|
+
isInCustomerManagement ? noop$1 : toggleModal(true);
|
|
46709
46798
|
},
|
|
46710
46799
|
hoverStyles: hoverStyles,
|
|
46711
46800
|
activeStyles: activeStyles,
|
|
@@ -46718,7 +46807,7 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46718
46807
|
onClick: function onClick() {
|
|
46719
46808
|
return toggleModal(true);
|
|
46720
46809
|
},
|
|
46721
|
-
onKeyPress: function
|
|
46810
|
+
onKeyPress: isInCustomerManagement ? noop$1 : function (e) {
|
|
46722
46811
|
e.key === "Enter" && toggleModal(true);
|
|
46723
46812
|
},
|
|
46724
46813
|
tabIndex: "0",
|
|
@@ -46732,10 +46821,10 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
46732
46821
|
}
|
|
46733
46822
|
};
|
|
46734
46823
|
return /*#__PURE__*/React.createElement(Modal$1, _extends({
|
|
46735
|
-
showModal: function
|
|
46824
|
+
showModal: isInCustomerManagement ? noop$1 : function () {
|
|
46736
46825
|
return toggleModal(true);
|
|
46737
46826
|
},
|
|
46738
|
-
hideModal: function
|
|
46827
|
+
hideModal: isInCustomerManagement ? noop$1 : function () {
|
|
46739
46828
|
return toggleModal(false);
|
|
46740
46829
|
},
|
|
46741
46830
|
modalOpen: modalOpen
|
|
@@ -46807,7 +46896,9 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46807
46896
|
dueDate = _ref.dueDate,
|
|
46808
46897
|
description = _ref.description,
|
|
46809
46898
|
subDescription = _ref.subDescription,
|
|
46810
|
-
allowedPaymentInstruments = _ref.allowedPaymentInstruments
|
|
46899
|
+
allowedPaymentInstruments = _ref.allowedPaymentInstruments,
|
|
46900
|
+
_ref$isInCustomerMana = _ref.isInCustomerManagement,
|
|
46901
|
+
isInCustomerManagement = _ref$isInCustomerMana === void 0 ? false : _ref$isInCustomerMana;
|
|
46811
46902
|
var planType = isPaymentPlan ? "Payment Plan" : "Autopay";
|
|
46812
46903
|
var _useState = useState(false),
|
|
46813
46904
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -46871,7 +46962,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46871
46962
|
padding: isMobile ? "0 8px 0 0" : "0",
|
|
46872
46963
|
extraStyles: isMobile && "flex-grow: 1;"
|
|
46873
46964
|
}, /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
46874
|
-
variant: "tertiary",
|
|
46965
|
+
variant: isInCustomerManagement ? "disabledTertiary" : "tertiary",
|
|
46875
46966
|
text: config.type === "ACCOUNT" ? "Account Details" : "Property Details",
|
|
46876
46967
|
action: handleDetailsClick,
|
|
46877
46968
|
dataQa: "Account Details",
|
|
@@ -46880,14 +46971,15 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46880
46971
|
padding: isMobile ? "0 8px 0 0" : "0",
|
|
46881
46972
|
extraStyles: isMobile && "flex-grow: 1;"
|
|
46882
46973
|
}, autoPayAvailable && !autoPayEnabled ? /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
46883
|
-
variant: "tertiary",
|
|
46974
|
+
variant: isInCustomerManagement ? "disabledTertiary" : "tertiary",
|
|
46884
46975
|
text: "Set Up ".concat(planType),
|
|
46885
46976
|
action: function action() {
|
|
46886
46977
|
setDetailedObligation(obligations, config, obligationAssocID);
|
|
46887
46978
|
handleAutopayAction();
|
|
46888
46979
|
},
|
|
46889
46980
|
dataQa: "Set Up Autopay",
|
|
46890
|
-
extraStyles: isMobile && "flex-grow: 1; width: 100%;"
|
|
46981
|
+
extraStyles: isMobile && "flex-grow: 1; width: 100%;",
|
|
46982
|
+
disabled: isInCustomerManagement
|
|
46891
46983
|
}) : /*#__PURE__*/React.createElement(AutopayModalModule, {
|
|
46892
46984
|
autoPayActive: autoPayEnabled,
|
|
46893
46985
|
autoPaySchedule: autoPaySchedule,
|
|
@@ -46903,17 +46995,19 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46903
46995
|
dueDate: dueDate,
|
|
46904
46996
|
description: description,
|
|
46905
46997
|
subDescription: subDescription,
|
|
46906
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
46998
|
+
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
46999
|
+
isInCustomerManagement: isInCustomerManagement
|
|
46907
47000
|
})), !isMobile && /*#__PURE__*/React.createElement(Box, {
|
|
46908
47001
|
padding: "0"
|
|
46909
47002
|
}, /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
46910
47003
|
isLoading: isLoading,
|
|
46911
|
-
action: function
|
|
47004
|
+
action: isInCustomerManagement ? noop : function () {
|
|
46912
47005
|
return handleClick(obligations);
|
|
46913
47006
|
},
|
|
46914
47007
|
text: "Pay Now",
|
|
46915
|
-
variant: isMobile ? "smallSecondary" : "secondary",
|
|
46916
|
-
dataQa: "Pay Now"
|
|
47008
|
+
variant: isMobile ? isInCustomerManagement ? "disabledSmallSecondary" : "smallSecondary" : isInCustomerManagement ? "disabledSecondary" : "secondary",
|
|
47009
|
+
dataQa: "Pay Now",
|
|
47010
|
+
disabled: isInCustomerManagement
|
|
46917
47011
|
}))), isMobile && /*#__PURE__*/React.createElement(Box, {
|
|
46918
47012
|
padding: "8px 0 0",
|
|
46919
47013
|
width: "100%"
|
|
@@ -46925,7 +47019,8 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46925
47019
|
text: "Pay Now",
|
|
46926
47020
|
variant: isMobile ? "smallSecondary" : "secondary",
|
|
46927
47021
|
dataQa: "Pay Now",
|
|
46928
|
-
extraStyles: isMobile && "flex-grow: 1; width: 100%; margin: 0;"
|
|
47022
|
+
extraStyles: isMobile && "flex-grow: 1; width: 100%; margin: 0;",
|
|
47023
|
+
disabled: isInCustomerManagement
|
|
46929
47024
|
}))));
|
|
46930
47025
|
};
|
|
46931
47026
|
|
|
@@ -46935,7 +47030,9 @@ var RemoveAccountModalModule = function RemoveAccountModalModule(_ref) {
|
|
|
46935
47030
|
obligations = _ref$obligations === void 0 ? [] : _ref$obligations,
|
|
46936
47031
|
removeAccount = _ref.removeAccount,
|
|
46937
47032
|
accountType = _ref.accountType,
|
|
46938
|
-
isMobile = _ref.isMobile
|
|
47033
|
+
isMobile = _ref.isMobile,
|
|
47034
|
+
_ref$isInCustomerMana = _ref.isInCustomerManagement,
|
|
47035
|
+
isInCustomerManagement = _ref$isInCustomerMana === void 0 ? false : _ref$isInCustomerMana;
|
|
46939
47036
|
var _useState = useState(false),
|
|
46940
47037
|
_useState2 = _slicedToArray(_useState, 2),
|
|
46941
47038
|
modalIsOpen = _useState2[0],
|
|
@@ -46968,12 +47065,13 @@ var RemoveAccountModalModule = function RemoveAccountModalModule(_ref) {
|
|
|
46968
47065
|
extraStyles: "flex-grow: 1;"
|
|
46969
47066
|
}, /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
46970
47067
|
text: "Remove",
|
|
46971
|
-
variant: "secondary",
|
|
46972
|
-
action: function
|
|
47068
|
+
variant: isInCustomerManagement ? "disabledSecondary" : "secondary",
|
|
47069
|
+
action: isInCustomerManagement ? noop : function () {
|
|
46973
47070
|
return setModalIsOpen(true);
|
|
46974
47071
|
},
|
|
46975
47072
|
dataQa: "Remove Account",
|
|
46976
|
-
extraStyles: isMobile ? "flex-grow: 1; width: 100%; margin: 0;" : "flex-grow: 1;"
|
|
47073
|
+
extraStyles: isMobile ? "flex-grow: 1; width: 100%; margin: 0;" : "flex-grow: 1;",
|
|
47074
|
+
disabled: isInCustomerManagement
|
|
46977
47075
|
})));
|
|
46978
47076
|
};
|
|
46979
47077
|
|
|
@@ -46993,7 +47091,9 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
|
|
|
46993
47091
|
actions = _ref.actions,
|
|
46994
47092
|
description = _ref.description,
|
|
46995
47093
|
subDescription = _ref.subDescription,
|
|
46996
|
-
allowedPaymentInstruments = _ref.allowedPaymentInstruments
|
|
47094
|
+
allowedPaymentInstruments = _ref.allowedPaymentInstruments,
|
|
47095
|
+
_ref$isInCustomerMana = _ref.isInCustomerManagement,
|
|
47096
|
+
isInCustomerManagement = _ref$isInCustomerMana === void 0 ? false : _ref$isInCustomerMana;
|
|
46997
47097
|
var _useState = useState(false),
|
|
46998
47098
|
_useState2 = _slicedToArray(_useState, 2),
|
|
46999
47099
|
modalOpen = _useState2[0],
|
|
@@ -47031,15 +47131,17 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
|
|
|
47031
47131
|
inactive: true,
|
|
47032
47132
|
description: description,
|
|
47033
47133
|
subDescription: subDescription,
|
|
47034
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
47134
|
+
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
47135
|
+
isInCustomerManagement: isInCustomerManagement
|
|
47035
47136
|
})), /*#__PURE__*/React.createElement(Box, {
|
|
47036
47137
|
padding: "0",
|
|
47037
47138
|
extraStyles: "flex-grow: 1;"
|
|
47038
47139
|
}, /*#__PURE__*/React.createElement(RemoveAccountModalModule, {
|
|
47039
47140
|
agencyName: agencyName,
|
|
47040
|
-
removeAccount: handleRemoveAccount,
|
|
47141
|
+
removeAccount: isInCustomerManagement ? noop$1 : handleRemoveAccount,
|
|
47041
47142
|
accountType: configType === "ACCOUNT" ? "Account" : "Property",
|
|
47042
|
-
isMobile: isMobile
|
|
47143
|
+
isMobile: isMobile,
|
|
47144
|
+
isInCustomerManagement: isInCustomerManagement
|
|
47043
47145
|
}))));
|
|
47044
47146
|
};
|
|
47045
47147
|
|
|
@@ -47097,7 +47199,9 @@ var Obligation = function Obligation(_ref) {
|
|
|
47097
47199
|
_ref$inactiveLookupIn = _ref.inactiveLookupInput,
|
|
47098
47200
|
inactiveLookupInput = _ref$inactiveLookupIn === void 0 ? "Account" : _ref$inactiveLookupIn,
|
|
47099
47201
|
_ref$inactiveLookupVa = _ref.inactiveLookupValue,
|
|
47100
|
-
inactiveLookupValue = _ref$inactiveLookupVa === void 0 ? "" : _ref$inactiveLookupVa
|
|
47202
|
+
inactiveLookupValue = _ref$inactiveLookupVa === void 0 ? "" : _ref$inactiveLookupVa,
|
|
47203
|
+
_ref$isInCustomerMana = _ref.isInCustomerManagement,
|
|
47204
|
+
isInCustomerManagement = _ref$isInCustomerMana === void 0 ? false : _ref$isInCustomerMana;
|
|
47101
47205
|
/*
|
|
47102
47206
|
The value of obligations is always an array. It can contain:
|
|
47103
47207
|
- A single obligation
|
|
@@ -47185,7 +47289,8 @@ var Obligation = function Obligation(_ref) {
|
|
|
47185
47289
|
obligationAssocID: obligationAssocID,
|
|
47186
47290
|
description: description,
|
|
47187
47291
|
subDescription: subDescription,
|
|
47188
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
47292
|
+
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
47293
|
+
isInCustomerManagement: isInCustomerManagement
|
|
47189
47294
|
}))), isMobile && /*#__PURE__*/React.createElement(PaymentDetailsActions, {
|
|
47190
47295
|
obligations: obligations,
|
|
47191
47296
|
autoPayEnabled: autoPayEnabled,
|
|
@@ -47203,7 +47308,8 @@ var Obligation = function Obligation(_ref) {
|
|
|
47203
47308
|
obligationAssocID: obligationAssocID,
|
|
47204
47309
|
description: description,
|
|
47205
47310
|
subDescription: subDescription,
|
|
47206
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
47311
|
+
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
47312
|
+
isInCustomerManagement: isInCustomerManagement
|
|
47207
47313
|
}));
|
|
47208
47314
|
var inactiveObligation = /*#__PURE__*/React.createElement(Box, {
|
|
47209
47315
|
padding: "0",
|
|
@@ -47259,7 +47365,8 @@ var Obligation = function Obligation(_ref) {
|
|
|
47259
47365
|
configType: config.type,
|
|
47260
47366
|
description: description,
|
|
47261
47367
|
subDescription: subDescription,
|
|
47262
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
47368
|
+
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
47369
|
+
isInCustomerManagement: isInCustomerManagement
|
|
47263
47370
|
}))), isMobile && /*#__PURE__*/React.createElement(InactiveControlsModule, {
|
|
47264
47371
|
obligations: obligations,
|
|
47265
47372
|
autoPayEnabled: autoPayEnabled,
|
|
@@ -47276,7 +47383,8 @@ var Obligation = function Obligation(_ref) {
|
|
|
47276
47383
|
configType: config.type,
|
|
47277
47384
|
description: description,
|
|
47278
47385
|
subDescription: subDescription,
|
|
47279
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
47386
|
+
allowedPaymentInstruments: allowedPaymentInstruments,
|
|
47387
|
+
isInCustomerManagement: isInCustomerManagement
|
|
47280
47388
|
}))));
|
|
47281
47389
|
return inactive ? inactiveObligation : activeObligation;
|
|
47282
47390
|
};
|
|
@@ -47558,7 +47666,7 @@ var Pagination = function Pagination(_ref3) {
|
|
|
47558
47666
|
return setCurrentPage({
|
|
47559
47667
|
pageNumber: item.index
|
|
47560
47668
|
});
|
|
47561
|
-
} : noop,
|
|
47669
|
+
} : noop$1,
|
|
47562
47670
|
textExtraStyles: "font-size: ".concat(fontSize, "; font-weight: ").concat(fontWeight, ";"),
|
|
47563
47671
|
extraStyles: "".concat(extraStyles).concat(item.active ? currentPageStyles : ""),
|
|
47564
47672
|
dataQa: index
|
|
@@ -47915,7 +48023,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
47915
48023
|
_ref4$voidableTransac = _ref4.voidableTransactionDetails,
|
|
47916
48024
|
voidableTransactionDetails = _ref4$voidableTransac === void 0 ? [] : _ref4$voidableTransac,
|
|
47917
48025
|
_ref4$partialVoidActi = _ref4.partialVoidAction,
|
|
47918
|
-
partialVoidAction = _ref4$partialVoidActi === void 0 ? noop : _ref4$partialVoidActi,
|
|
48026
|
+
partialVoidAction = _ref4$partialVoidActi === void 0 ? noop$1 : _ref4$partialVoidActi,
|
|
47919
48027
|
_ref4$voidableAmountP = _ref4.voidableAmountPaid,
|
|
47920
48028
|
voidableAmountPaid = _ref4$voidableAmountP === void 0 ? 0 : _ref4$voidableAmountP,
|
|
47921
48029
|
_ref4$remainingBalanc = _ref4.remainingBalance,
|
|
@@ -48374,7 +48482,7 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
|
48374
48482
|
actions = _ref.actions,
|
|
48375
48483
|
showErrors = _ref.showErrors,
|
|
48376
48484
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
48377
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
48485
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit,
|
|
48378
48486
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
48379
48487
|
saveToWallet = _ref.saveToWallet,
|
|
48380
48488
|
walletCheckboxMarked = _ref.walletCheckboxMarked,
|
|
@@ -48576,7 +48684,7 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
|
|
|
48576
48684
|
actions = _ref.actions,
|
|
48577
48685
|
showErrors = _ref.showErrors,
|
|
48578
48686
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
48579
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
48687
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit,
|
|
48580
48688
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
48581
48689
|
saveToWallet = _ref.saveToWallet,
|
|
48582
48690
|
walletCheckboxMarked = _ref.walletCheckboxMarked,
|
|
@@ -48880,7 +48988,7 @@ var PhoneForm = function PhoneForm(_ref) {
|
|
|
48880
48988
|
clearOnDismount = _ref.clearOnDismount,
|
|
48881
48989
|
showErrors = _ref.showErrors,
|
|
48882
48990
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
48883
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
48991
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit,
|
|
48884
48992
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
48885
48993
|
saveToWallet = _ref.saveToWallet,
|
|
48886
48994
|
walletCheckboxMarked = _ref.walletCheckboxMarked,
|
|
@@ -48956,7 +49064,7 @@ var RadioGroup = function RadioGroup(_ref) {
|
|
|
48956
49064
|
config = _ref.config,
|
|
48957
49065
|
extraStyles = _ref.extraStyles,
|
|
48958
49066
|
_ref$handleChange = _ref.handleChange,
|
|
48959
|
-
handleChange = _ref$handleChange === void 0 ? noop : _ref$handleChange,
|
|
49067
|
+
handleChange = _ref$handleChange === void 0 ? noop$1 : _ref$handleChange,
|
|
48960
49068
|
field = _ref.field,
|
|
48961
49069
|
fieldActions = _ref.fieldActions;
|
|
48962
49070
|
var setValue = function setValue(value) {
|
|
@@ -49021,7 +49129,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
49021
49129
|
ariaLabelledBy = _ref.ariaLabelledBy,
|
|
49022
49130
|
isLastGroupedItemInSection = _ref.isLastGroupedItemInSection,
|
|
49023
49131
|
_ref$onKeyDown = _ref.onKeyDown,
|
|
49024
|
-
onKeyDown = _ref$onKeyDown === void 0 ? noop : _ref$onKeyDown;
|
|
49132
|
+
onKeyDown = _ref$onKeyDown === void 0 ? noop$1 : _ref$onKeyDown;
|
|
49025
49133
|
var wrapper = {
|
|
49026
49134
|
open: {
|
|
49027
49135
|
height: openHeight,
|
|
@@ -49078,12 +49186,12 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
49078
49186
|
"aria-required": section.required,
|
|
49079
49187
|
"aria-labelledby": ariaLabelledBy,
|
|
49080
49188
|
"aria-describedby": ariaDescribedBy,
|
|
49081
|
-
onClick: isMobile && supportsTouch || section.disabled ? noop : function () {
|
|
49189
|
+
onClick: isMobile && supportsTouch || section.disabled ? noop$1 : function () {
|
|
49082
49190
|
return toggleOpenSection(section.id);
|
|
49083
49191
|
},
|
|
49084
49192
|
onTouchEnd: isMobile && supportsTouch && !section.disabled ? function () {
|
|
49085
49193
|
return toggleOpenSection(section.id);
|
|
49086
|
-
} : noop,
|
|
49194
|
+
} : noop$1,
|
|
49087
49195
|
id: "inner-radio-section-".concat(sectionIndex),
|
|
49088
49196
|
"data-qa": section.dataQa ? section.dataQa : section.id || "inner-radio-section-".concat(sectionIndex)
|
|
49089
49197
|
}, /*#__PURE__*/React.createElement(Stack, {
|
|
@@ -49113,7 +49221,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
49113
49221
|
ariaDescribedBy: ariaDescribedBy,
|
|
49114
49222
|
radioOn: openSection === section.id,
|
|
49115
49223
|
radioFocused: focused === section.id,
|
|
49116
|
-
toggleRadio: section.disabled ? noop : function () {
|
|
49224
|
+
toggleRadio: section.disabled ? noop$1 : function () {
|
|
49117
49225
|
return toggleOpenSection(section.id);
|
|
49118
49226
|
},
|
|
49119
49227
|
tabIndex: "-1",
|
|
@@ -49297,7 +49405,7 @@ var RegistrationForm = function RegistrationForm(_ref) {
|
|
|
49297
49405
|
fields = _ref.fields,
|
|
49298
49406
|
actions = _ref.actions,
|
|
49299
49407
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
49300
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
49408
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit,
|
|
49301
49409
|
showErrors = _ref.showErrors,
|
|
49302
49410
|
isMobile = _ref.isMobile;
|
|
49303
49411
|
if (clearOnDismount) {
|
|
@@ -49457,7 +49565,7 @@ var ResetConfirmationForm$1 = withWindowSize(ResetConfirmationForm);
|
|
|
49457
49565
|
|
|
49458
49566
|
var ResetPasswordForm = function ResetPasswordForm(_ref) {
|
|
49459
49567
|
var _ref$handleSubmit = _ref.handleSubmit,
|
|
49460
|
-
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
49568
|
+
handleSubmit = _ref$handleSubmit === void 0 ? noop$1 : _ref$handleSubmit,
|
|
49461
49569
|
clearOnDismount = _ref.clearOnDismount,
|
|
49462
49570
|
fields = _ref.fields,
|
|
49463
49571
|
actions = _ref.actions,
|