@thecb/components 4.1.13 → 4.1.14-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +374 -514
- package/package.json +1 -1
- package/src/components/atoms/checkbox/Checkbox.js +63 -49
- package/src/components/atoms/dropdown/Dropdown.js +2 -2
- package/src/components/atoms/form-layouts/FormLayouts.theme.js +2 -2
- package/src/components/atoms/form-select/FormSelect.js +50 -15
- package/src/components/atoms/form-select/FormSelect.stories.js +4 -2
- package/src/components/atoms/form-select/FormSelect.styled.js +6 -6
- package/src/components/atoms/form-select/FormSelect.theme.js +52 -0
- package/src/components/atoms/text/Text.js +2 -0
- package/src/components/molecules/account-and-routing-modal/AccountAndRoutingModal.js +14 -16
- package/src/components/molecules/account-and-routing-modal/AccountAndRoutingModal.theme.js +6 -11
- package/src/components/molecules/address-form/AddressForm.js +7 -27
- package/src/components/molecules/email-form/EmailForm.js +7 -27
- package/src/components/molecules/email-form/EmailForm.stories.js +4 -1
- package/src/components/molecules/modal/Modal.js +3 -3
- package/src/components/molecules/obligation/modules/AmountModule.stories.js +27 -0
- package/src/components/molecules/obligation/modules/AutopayModalModule.js +47 -38
- package/src/components/molecules/obligation/modules/AutopayModalModule.theme.js +12 -1
- package/src/components/molecules/payment-form-ach/PaymentFormACH.js +22 -57
- package/src/components/molecules/payment-form-card/PaymentFormCard.js +7 -26
- package/src/components/molecules/phone-form/PhoneForm.js +7 -27
- package/src/components/molecules/terms-and-conditions/TermsAndConditions.js +12 -40
- package/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.js +14 -15
- package/src/components/molecules/terms-and-conditions-modal/TermsAndConditionsModal.theme.js +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -6121,10 +6121,11 @@ var Text = function Text(_ref) {
|
|
|
6121
6121
|
extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
|
|
6122
6122
|
hoverStyles = _ref.hoverStyles,
|
|
6123
6123
|
onClick = _ref.onClick,
|
|
6124
|
+
onKeyPress = _ref.onKeyPress,
|
|
6124
6125
|
as = _ref.as,
|
|
6125
6126
|
dataQa = _ref.dataQa,
|
|
6126
6127
|
children = _ref.children,
|
|
6127
|
-
rest = _objectWithoutProperties(_ref, ["themeValues", "weight", "color", "extraStyles", "hoverStyles", "onClick", "as", "dataQa", "children"]);
|
|
6128
|
+
rest = _objectWithoutProperties(_ref, ["themeValues", "weight", "color", "extraStyles", "hoverStyles", "onClick", "onKeyPress", "as", "dataQa", "children"]);
|
|
6128
6129
|
|
|
6129
6130
|
return /*#__PURE__*/React__default.createElement(TextSpan, _extends({
|
|
6130
6131
|
fontSize: themeValues.fontSize,
|
|
@@ -6135,6 +6136,7 @@ var Text = function Text(_ref) {
|
|
|
6135
6136
|
extraStyles: extraStyles,
|
|
6136
6137
|
hoverStyles: hoverStyles,
|
|
6137
6138
|
onClick: onClick,
|
|
6139
|
+
onKeyPress: onKeyPress,
|
|
6138
6140
|
"data-qa": dataQa
|
|
6139
6141
|
}, rest), safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
|
|
6140
6142
|
};
|
|
@@ -18575,17 +18577,38 @@ var Checkbox = function Checkbox(_ref4) {
|
|
|
18575
18577
|
onChange = _ref4$onChange === void 0 ? noop : _ref4$onChange,
|
|
18576
18578
|
_ref4$disabled = _ref4.disabled,
|
|
18577
18579
|
disabled = _ref4$disabled === void 0 ? false : _ref4$disabled,
|
|
18578
|
-
_ref4$focused = _ref4.focused,
|
|
18579
|
-
focused = _ref4$focused === void 0 ? false : _ref4$focused,
|
|
18580
18580
|
themeValues = _ref4.themeValues,
|
|
18581
18581
|
_ref4$hidden = _ref4.hidden,
|
|
18582
18582
|
hidden = _ref4$hidden === void 0 ? false : _ref4$hidden,
|
|
18583
18583
|
_ref4$error = _ref4.error,
|
|
18584
18584
|
error = _ref4$error === void 0 ? false : _ref4$error;
|
|
18585
|
+
|
|
18586
|
+
var _useState = React.useState(false),
|
|
18587
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
18588
|
+
focused = _useState2[0],
|
|
18589
|
+
setFocused = _useState2[1];
|
|
18590
|
+
|
|
18591
|
+
var handleClick = function handleClick(e, func) {
|
|
18592
|
+
if ((e === null || e === void 0 ? void 0 : e.keyCode) === 13) {
|
|
18593
|
+
func();
|
|
18594
|
+
}
|
|
18595
|
+
};
|
|
18596
|
+
|
|
18585
18597
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
18586
18598
|
padding: "0",
|
|
18599
|
+
tabIndex: "0",
|
|
18600
|
+
onFocus: function onFocus() {
|
|
18601
|
+
return setFocused(true);
|
|
18602
|
+
},
|
|
18603
|
+
onBlur: function onBlur() {
|
|
18604
|
+
return setFocused(false);
|
|
18605
|
+
},
|
|
18606
|
+
onKeyDown: function onKeyDown(e) {
|
|
18607
|
+
return handleClick(e, onChange);
|
|
18608
|
+
},
|
|
18587
18609
|
hiddenStyles: hidden,
|
|
18588
|
-
background: themeValues.backgroundColor
|
|
18610
|
+
background: themeValues.backgroundColor,
|
|
18611
|
+
extraStyles: "outline: none;"
|
|
18589
18612
|
}, /*#__PURE__*/React__default.createElement(CheckboxLabelContainer, null, /*#__PURE__*/React__default.createElement(CheckboxContainer, {
|
|
18590
18613
|
"data-qa": "Checkbox"
|
|
18591
18614
|
}, /*#__PURE__*/React__default.createElement(HiddenCheckbox, {
|
|
@@ -19108,7 +19131,6 @@ var Dropdown = function Dropdown(_ref9) {
|
|
|
19108
19131
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
19109
19132
|
onKeyDown: onKeyDown,
|
|
19110
19133
|
onClick: onClick,
|
|
19111
|
-
tabIndex: 0,
|
|
19112
19134
|
padding: "0",
|
|
19113
19135
|
width: "100%",
|
|
19114
19136
|
hoverStyles: "background-color: ".concat(themeValues.hoverColor, ";"),
|
|
@@ -19122,7 +19144,8 @@ var Dropdown = function Dropdown(_ref9) {
|
|
|
19122
19144
|
borderSize: "1px",
|
|
19123
19145
|
borderColor: isError ? ERROR_COLOR : isOpen ? themeValues.selectedColor : GREY_CHATEAU,
|
|
19124
19146
|
borderRadius: "2px",
|
|
19125
|
-
|
|
19147
|
+
tabIndex: 0,
|
|
19148
|
+
extraStyles: "height: 48px;",
|
|
19126
19149
|
dataQa: placeholder
|
|
19127
19150
|
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
19128
19151
|
direction: "row",
|
|
@@ -19202,7 +19225,7 @@ function _templateObject2$c() {
|
|
|
19202
19225
|
}
|
|
19203
19226
|
|
|
19204
19227
|
function _templateObject$o() {
|
|
19205
|
-
var data = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: flex-start;\n"]);
|
|
19228
|
+
var data = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: flex-start;\n > * + * {\n margin-top: 0.25rem;\n }\n"]);
|
|
19206
19229
|
|
|
19207
19230
|
_templateObject$o = function _templateObject() {
|
|
19208
19231
|
return data;
|
|
@@ -19221,14 +19244,74 @@ var SelectField = styled__default.select(_templateObject3$6(), function (_ref2)
|
|
|
19221
19244
|
showErrors = _ref2.showErrors;
|
|
19222
19245
|
return field.dirty && field.hasErrors || field.hasErrors && showErrors ? ERROR_COLOR : GHOST_GREY;
|
|
19223
19246
|
}, FONT_WEIGHT_REGULAR, function (_ref3) {
|
|
19224
|
-
var
|
|
19225
|
-
return
|
|
19247
|
+
var themeValues = _ref3.themeValues;
|
|
19248
|
+
return themeValues.inputBackgroundColor && themeValues.inputBackgroundColor;
|
|
19226
19249
|
}, function (_ref4) {
|
|
19227
|
-
var
|
|
19228
|
-
return
|
|
19250
|
+
var themeValues = _ref4.themeValues;
|
|
19251
|
+
return themeValues.color && themeValues.color;
|
|
19229
19252
|
}, MATISSE_BLUE);
|
|
19230
19253
|
var SelectOption = styled__default.option(_templateObject4$3());
|
|
19231
19254
|
|
|
19255
|
+
var linkColor$1 = {
|
|
19256
|
+
"default": "".concat(MATISSE_BLUE),
|
|
19257
|
+
disabled: "".concat(MATISSE_BLUE)
|
|
19258
|
+
};
|
|
19259
|
+
var formBackgroundColor = {
|
|
19260
|
+
"default": "".concat(WHITE),
|
|
19261
|
+
disabled: "".concat(WHITE),
|
|
19262
|
+
checkout: "".concat(ATHENS_GREY),
|
|
19263
|
+
collapsible: "".concat(ATHENS_GREY)
|
|
19264
|
+
};
|
|
19265
|
+
var inputBackgroundColor = {
|
|
19266
|
+
"default": "".concat(WHITE),
|
|
19267
|
+
disabled: "".concat(SEASHELL_WHITE)
|
|
19268
|
+
};
|
|
19269
|
+
var color$5 = {
|
|
19270
|
+
"default": "".concat(MINESHAFT_GREY),
|
|
19271
|
+
disabled: "".concat(DUSTY_GREY)
|
|
19272
|
+
};
|
|
19273
|
+
var labelColor = {
|
|
19274
|
+
"default": "".concat(CHARADE_GREY),
|
|
19275
|
+
disabled: "".concat(CHARADE_GREY)
|
|
19276
|
+
};
|
|
19277
|
+
var borderColor = {
|
|
19278
|
+
"default": "".concat(GREY_CHATEAU),
|
|
19279
|
+
disabled: "".concat(GREY_CHATEAU)
|
|
19280
|
+
};
|
|
19281
|
+
var lineHeight$2 = {
|
|
19282
|
+
"default": "1rem",
|
|
19283
|
+
disabled: "1rem"
|
|
19284
|
+
};
|
|
19285
|
+
var fontSize$5 = {
|
|
19286
|
+
"default": "0.875rem",
|
|
19287
|
+
disabled: "0.875rem"
|
|
19288
|
+
};
|
|
19289
|
+
var errorFontSize = {
|
|
19290
|
+
"default": "0.75rem",
|
|
19291
|
+
disabled: "0.75rem"
|
|
19292
|
+
};
|
|
19293
|
+
var fontWeight$2 = {
|
|
19294
|
+
"default": "".concat(FONT_WEIGHT_REGULAR),
|
|
19295
|
+
disabled: "".concat(FONT_WEIGHT_REGULAR)
|
|
19296
|
+
};
|
|
19297
|
+
var hoverFocusStyles = {
|
|
19298
|
+
"default": "color: #0E506D; outline: none; text-decoration: underline; ",
|
|
19299
|
+
disabled: "color: #6E727E;"
|
|
19300
|
+
};
|
|
19301
|
+
var fallbackValues$f = {
|
|
19302
|
+
linkColor: linkColor$1,
|
|
19303
|
+
formBackgroundColor: formBackgroundColor,
|
|
19304
|
+
inputBackgroundColor: inputBackgroundColor,
|
|
19305
|
+
color: color$5,
|
|
19306
|
+
labelColor: labelColor,
|
|
19307
|
+
borderColor: borderColor,
|
|
19308
|
+
lineHeight: lineHeight$2,
|
|
19309
|
+
fontSize: fontSize$5,
|
|
19310
|
+
errorFontSize: errorFontSize,
|
|
19311
|
+
fontWeight: fontWeight$2,
|
|
19312
|
+
hoverFocusStyles: hoverFocusStyles
|
|
19313
|
+
};
|
|
19314
|
+
|
|
19232
19315
|
var FormSelect = function FormSelect(_ref) {
|
|
19233
19316
|
var fieldActions = _ref.fieldActions,
|
|
19234
19317
|
labelTextWhenNoError = _ref.labelTextWhenNoError,
|
|
@@ -19237,7 +19320,9 @@ var FormSelect = function FormSelect(_ref) {
|
|
|
19237
19320
|
field = _ref.field,
|
|
19238
19321
|
showErrors = _ref.showErrors,
|
|
19239
19322
|
onChange = _ref.onChange,
|
|
19240
|
-
dropdownMaxHeight = _ref.dropdownMaxHeight
|
|
19323
|
+
dropdownMaxHeight = _ref.dropdownMaxHeight,
|
|
19324
|
+
disabledValues = _ref.disabledValues,
|
|
19325
|
+
themeValues = _ref.themeValues;
|
|
19241
19326
|
|
|
19242
19327
|
var _useState = React.useState(false),
|
|
19243
19328
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -19260,18 +19345,26 @@ var FormSelect = function FormSelect(_ref) {
|
|
|
19260
19345
|
});
|
|
19261
19346
|
return /*#__PURE__*/React__default.createElement(SelectContainer, {
|
|
19262
19347
|
ref: dropdownRef
|
|
19348
|
+
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
19349
|
+
padding: "0",
|
|
19350
|
+
minWidth: "100%"
|
|
19351
|
+
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
19352
|
+
justify: "space-between",
|
|
19353
|
+
align: "center"
|
|
19263
19354
|
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
19355
|
+
as: "label",
|
|
19264
19356
|
variant: "pS",
|
|
19265
|
-
color:
|
|
19266
|
-
weight:
|
|
19267
|
-
extraStyles: "
|
|
19268
|
-
}, labelTextWhenNoError), /*#__PURE__*/React__default.createElement(Dropdown$1, {
|
|
19357
|
+
color: themeValues.labelColor,
|
|
19358
|
+
weight: themeValues.fontWeight,
|
|
19359
|
+
extraStyles: "word-break: break-word;\n font-family: Public Sans;\n &::first-letter {\n text-transform: uppercase;\n }"
|
|
19360
|
+
}, labelTextWhenNoError))), /*#__PURE__*/React__default.createElement(Dropdown$1, {
|
|
19269
19361
|
maxHeight: dropdownMaxHeight,
|
|
19270
19362
|
placeholder: options[0] ? options[0].text : "",
|
|
19271
19363
|
options: options,
|
|
19272
19364
|
value: field.rawValue,
|
|
19365
|
+
disabledValues: disabledValues,
|
|
19273
19366
|
isOpen: open,
|
|
19274
|
-
isError:
|
|
19367
|
+
isError: field.hasErrors && field.dirty || field.hasErrors && showErrors,
|
|
19275
19368
|
onSelect: onChange ? function (value) {
|
|
19276
19369
|
return onChange(value);
|
|
19277
19370
|
} : function (value) {
|
|
@@ -19283,9 +19376,18 @@ var FormSelect = function FormSelect(_ref) {
|
|
|
19283
19376
|
}), /*#__PURE__*/React__default.createElement(SelectLabel, {
|
|
19284
19377
|
field: field,
|
|
19285
19378
|
showErrors: showErrors
|
|
19286
|
-
}, field.hasErrors && field.dirty || field.hasErrors && showErrors ?
|
|
19379
|
+
}, field.hasErrors && field.dirty || field.hasErrors && showErrors ? /*#__PURE__*/React__default.createElement(Text$1, {
|
|
19380
|
+
color: ERROR_COLOR,
|
|
19381
|
+
variant: "pXS",
|
|
19382
|
+
weight: themeValues.fontWeight,
|
|
19383
|
+
extraStyles: "word-break: break-word;\n font-family: Public Sans;\n &::first-letter {\n text-transform: uppercase;\n }"
|
|
19384
|
+
}, errorMessages[field.errors[0]]) : /*#__PURE__*/React__default.createElement(Text$1, {
|
|
19385
|
+
extraStyles: "height: ".concat(themeValues.lineHeight, ";")
|
|
19386
|
+
})));
|
|
19287
19387
|
};
|
|
19288
19388
|
|
|
19389
|
+
var FormSelect$1 = themeComponent(FormSelect, "FormSelect", fallbackValues$f, "default");
|
|
19390
|
+
|
|
19289
19391
|
var options = [{
|
|
19290
19392
|
text: "Afghanistan",
|
|
19291
19393
|
value: "AF"
|
|
@@ -20036,7 +20138,7 @@ var CountryDropdown = function CountryDropdown(_ref) {
|
|
|
20036
20138
|
fieldActions = _ref.fieldActions,
|
|
20037
20139
|
showErrors = _ref.showErrors,
|
|
20038
20140
|
onChange = _ref.onChange;
|
|
20039
|
-
return /*#__PURE__*/React__default.createElement(FormSelect, {
|
|
20141
|
+
return /*#__PURE__*/React__default.createElement(FormSelect$1, {
|
|
20040
20142
|
options: options,
|
|
20041
20143
|
field: field,
|
|
20042
20144
|
fieldActions: fieldActions,
|
|
@@ -20049,7 +20151,7 @@ var CountryDropdown = function CountryDropdown(_ref) {
|
|
|
20049
20151
|
|
|
20050
20152
|
var backgroundColor$3 = WHITE;
|
|
20051
20153
|
var boxShadow = "0px 2px 14px 0px ".concat(ATHENS_GREY, ", 0px 3px 8px 0px ").concat(GHOST_GREY);
|
|
20052
|
-
var fallbackValues$
|
|
20154
|
+
var fallbackValues$g = {
|
|
20053
20155
|
backgroundColor: backgroundColor$3,
|
|
20054
20156
|
boxShadow: boxShadow
|
|
20055
20157
|
};
|
|
@@ -20070,7 +20172,7 @@ var DisplayBox = function DisplayBox(_ref) {
|
|
|
20070
20172
|
}, children));
|
|
20071
20173
|
};
|
|
20072
20174
|
|
|
20073
|
-
var DisplayBox$1 = themeComponent(DisplayBox, "DisplayBox", fallbackValues$
|
|
20175
|
+
var DisplayBox$1 = themeComponent(DisplayBox, "DisplayBox", fallbackValues$g);
|
|
20074
20176
|
|
|
20075
20177
|
var DisplayCard = function DisplayCard(_ref) {
|
|
20076
20178
|
var title = _ref.title,
|
|
@@ -20417,64 +20519,64 @@ var src_1 = src.FormattedInput;
|
|
|
20417
20519
|
var src_2 = src.createFormat;
|
|
20418
20520
|
var src_3 = src.format;
|
|
20419
20521
|
|
|
20420
|
-
var linkColor$
|
|
20522
|
+
var linkColor$2 = {
|
|
20421
20523
|
"default": "".concat(MATISSE_BLUE),
|
|
20422
20524
|
disabled: "".concat(MATISSE_BLUE)
|
|
20423
20525
|
};
|
|
20424
|
-
var formBackgroundColor = {
|
|
20526
|
+
var formBackgroundColor$1 = {
|
|
20425
20527
|
"default": "".concat(WHITE),
|
|
20426
20528
|
disabled: "".concat(WHITE),
|
|
20427
20529
|
checkout: "".concat(ATHENS_GREY),
|
|
20428
20530
|
collapsible: "".concat(ATHENS_GREY)
|
|
20429
20531
|
};
|
|
20430
|
-
var inputBackgroundColor = {
|
|
20532
|
+
var inputBackgroundColor$1 = {
|
|
20431
20533
|
"default": "".concat(WHITE),
|
|
20432
20534
|
disabled: "".concat(SEASHELL_WHITE)
|
|
20433
20535
|
};
|
|
20434
|
-
var color$
|
|
20536
|
+
var color$6 = {
|
|
20435
20537
|
"default": "".concat(MINESHAFT_GREY),
|
|
20436
20538
|
disabled: "".concat(DUSTY_GREY)
|
|
20437
20539
|
};
|
|
20438
|
-
var labelColor = {
|
|
20439
|
-
"default": "".concat(
|
|
20440
|
-
disabled: "".concat(
|
|
20540
|
+
var labelColor$1 = {
|
|
20541
|
+
"default": "".concat(CHARADE_GREY),
|
|
20542
|
+
disabled: "".concat(CHARADE_GREY)
|
|
20441
20543
|
};
|
|
20442
|
-
var borderColor = {
|
|
20544
|
+
var borderColor$1 = {
|
|
20443
20545
|
"default": "".concat(GREY_CHATEAU),
|
|
20444
20546
|
disabled: "".concat(GREY_CHATEAU)
|
|
20445
20547
|
};
|
|
20446
|
-
var lineHeight$
|
|
20548
|
+
var lineHeight$3 = {
|
|
20447
20549
|
"default": "1rem",
|
|
20448
20550
|
disabled: "1rem"
|
|
20449
20551
|
};
|
|
20450
|
-
var fontSize$
|
|
20552
|
+
var fontSize$6 = {
|
|
20451
20553
|
"default": "0.875rem",
|
|
20452
20554
|
disabled: "0.875rem"
|
|
20453
20555
|
};
|
|
20454
|
-
var errorFontSize = {
|
|
20556
|
+
var errorFontSize$1 = {
|
|
20455
20557
|
"default": "0.75rem",
|
|
20456
20558
|
disabled: "0.75rem"
|
|
20457
20559
|
};
|
|
20458
|
-
var fontWeight$
|
|
20560
|
+
var fontWeight$3 = {
|
|
20459
20561
|
"default": "".concat(FONT_WEIGHT_REGULAR),
|
|
20460
20562
|
disabled: "".concat(FONT_WEIGHT_REGULAR)
|
|
20461
20563
|
};
|
|
20462
|
-
var hoverFocusStyles = {
|
|
20564
|
+
var hoverFocusStyles$1 = {
|
|
20463
20565
|
"default": "color: #0E506D; outline: none; text-decoration: underline; ",
|
|
20464
20566
|
disabled: "color: #6E727E;"
|
|
20465
20567
|
};
|
|
20466
|
-
var fallbackValues$
|
|
20467
|
-
linkColor: linkColor$
|
|
20468
|
-
formBackgroundColor: formBackgroundColor,
|
|
20469
|
-
inputBackgroundColor: inputBackgroundColor,
|
|
20470
|
-
color: color$
|
|
20471
|
-
labelColor: labelColor,
|
|
20472
|
-
borderColor: borderColor,
|
|
20473
|
-
lineHeight: lineHeight$
|
|
20474
|
-
fontSize: fontSize$
|
|
20475
|
-
errorFontSize: errorFontSize,
|
|
20476
|
-
fontWeight: fontWeight$
|
|
20477
|
-
hoverFocusStyles: hoverFocusStyles
|
|
20568
|
+
var fallbackValues$h = {
|
|
20569
|
+
linkColor: linkColor$2,
|
|
20570
|
+
formBackgroundColor: formBackgroundColor$1,
|
|
20571
|
+
inputBackgroundColor: inputBackgroundColor$1,
|
|
20572
|
+
color: color$6,
|
|
20573
|
+
labelColor: labelColor$1,
|
|
20574
|
+
borderColor: borderColor$1,
|
|
20575
|
+
lineHeight: lineHeight$3,
|
|
20576
|
+
fontSize: fontSize$6,
|
|
20577
|
+
errorFontSize: errorFontSize$1,
|
|
20578
|
+
fontWeight: fontWeight$3,
|
|
20579
|
+
hoverFocusStyles: hoverFocusStyles$1
|
|
20478
20580
|
};
|
|
20479
20581
|
|
|
20480
20582
|
function _templateObject4$4() {
|
|
@@ -20690,7 +20792,7 @@ var FormInput = function FormInput(_ref13) {
|
|
|
20690
20792
|
}, decorator)));
|
|
20691
20793
|
};
|
|
20692
20794
|
|
|
20693
|
-
var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$
|
|
20795
|
+
var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$h, "default");
|
|
20694
20796
|
|
|
20695
20797
|
var FormInputRow = function FormInputRow(_ref) {
|
|
20696
20798
|
var _ref$breakpoint = _ref.breakpoint,
|
|
@@ -20740,9 +20842,9 @@ var FormContainer = function FormContainer(_ref) {
|
|
|
20740
20842
|
}, rest), children);
|
|
20741
20843
|
};
|
|
20742
20844
|
|
|
20743
|
-
var FormContainer$1 = themeComponent(withWindowSize(FormContainer), "FormContainer", fallbackValues$
|
|
20845
|
+
var FormContainer$1 = themeComponent(withWindowSize(FormContainer), "FormContainer", fallbackValues$h, "default");
|
|
20744
20846
|
|
|
20745
|
-
var fontSize$
|
|
20847
|
+
var fontSize$7 = {
|
|
20746
20848
|
"default": "1rem",
|
|
20747
20849
|
radio: "1.0625rem"
|
|
20748
20850
|
};
|
|
@@ -20750,14 +20852,14 @@ var padding$1 = {
|
|
|
20750
20852
|
"default": "0",
|
|
20751
20853
|
radio: "0.625rem 0"
|
|
20752
20854
|
};
|
|
20753
|
-
var color$
|
|
20855
|
+
var color$7 = {
|
|
20754
20856
|
"default": "".concat(CHARADE_GREY),
|
|
20755
20857
|
radio: "".concat(MINESHAFT_GREY)
|
|
20756
20858
|
};
|
|
20757
|
-
var fallbackValues$
|
|
20758
|
-
fontSize: fontSize$
|
|
20859
|
+
var fallbackValues$i = {
|
|
20860
|
+
fontSize: fontSize$7,
|
|
20759
20861
|
padding: padding$1,
|
|
20760
|
-
color: color$
|
|
20862
|
+
color: color$7
|
|
20761
20863
|
};
|
|
20762
20864
|
|
|
20763
20865
|
var FormattedAddress = function FormattedAddress(_ref) {
|
|
@@ -20797,11 +20899,11 @@ var FormattedAddress = function FormattedAddress(_ref) {
|
|
|
20797
20899
|
}, city, ", ", stateProvince, " ".concat(zip), country ? " ".concat(country) : "")));
|
|
20798
20900
|
};
|
|
20799
20901
|
|
|
20800
|
-
var FormattedAddress$1 = themeComponent(FormattedAddress, "FormattedAddress", fallbackValues$
|
|
20902
|
+
var FormattedAddress$1 = themeComponent(FormattedAddress, "FormattedAddress", fallbackValues$i, "default");
|
|
20801
20903
|
|
|
20802
20904
|
var textColor$1 = "".concat(CHARADE_GREY);
|
|
20803
20905
|
var autopayTextColor = "".concat(REGENT_GREY);
|
|
20804
|
-
var fallbackValues$
|
|
20906
|
+
var fallbackValues$j = {
|
|
20805
20907
|
textColor: textColor$1,
|
|
20806
20908
|
autopayTextColor: autopayTextColor
|
|
20807
20909
|
};
|
|
@@ -20854,7 +20956,7 @@ var FormattedCreditCard = function FormattedCreditCard(_ref) {
|
|
|
20854
20956
|
}, "Autopay Enabled")));
|
|
20855
20957
|
};
|
|
20856
20958
|
|
|
20857
|
-
var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$
|
|
20959
|
+
var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$j, "default");
|
|
20858
20960
|
|
|
20859
20961
|
function _templateObject3$8() {
|
|
20860
20962
|
var data = _taggedTemplateLiteral(["\n display: block;\n top: auto;\n bottom: 6px;\n left: 2px;\n transition-duration: 0.13s;\n transition-delay: 0.13s;\n transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);\n margin-top: 12px;\n background-color: ", ";\n\n &, &::before, &::after {\n background-color: ", ";\n width: 30px;\n height: 3px;\n position: absolute;\n transition-property: transform;\n transition-duration: 0.15s;\n transition-timing-function: ease;\n }\n\n &::before, &::after {\n content: \"\";\n display: block;\n }\n\n &::before {\n top: -10px;\n transition: top 0.12s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), \n transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);\n }\n\n &::after {\n bottom: -10px;\n top: -20px;\n transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), \n opacity 0.1s linear;\n }\n\n &.active, &.active::before, &.active::after {\n background-color: ", ";\n }\n\n &.active {\n transform: translate3d(0, -10px, 0) rotate(-45deg);\n transition-delay: 0.22s;\n transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n\n &.active::after {\n top: 0;\n opacity: 0;\n transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333), \n opacity: 0.1s 0.22s linear;\n }\n\n &.active::before {\n top: 0;\n transform: rotate(-90deg);\n transition: top 0.1s 0.16s cubic-bezier(0.33333, 0, 0.66667, 0.33333), \n transform 0.13s 0.25s cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n"]);
|
|
@@ -20971,14 +21073,14 @@ var Jumbo = function Jumbo(_ref) {
|
|
|
20971
21073
|
|
|
20972
21074
|
var Jumbo$1 = withWindowSize(Jumbo);
|
|
20973
21075
|
|
|
20974
|
-
var fontWeight$
|
|
21076
|
+
var fontWeight$4 = {
|
|
20975
21077
|
"default": "600",
|
|
20976
21078
|
p: "600",
|
|
20977
21079
|
pL: "600",
|
|
20978
21080
|
h6: "700"
|
|
20979
21081
|
};
|
|
20980
|
-
var fallbackValues$
|
|
20981
|
-
fontWeight: fontWeight$
|
|
21082
|
+
var fallbackValues$k = {
|
|
21083
|
+
fontWeight: fontWeight$4
|
|
20982
21084
|
};
|
|
20983
21085
|
|
|
20984
21086
|
var LabeledAmount = function LabeledAmount(_ref) {
|
|
@@ -21004,7 +21106,7 @@ var LabeledAmount = function LabeledAmount(_ref) {
|
|
|
21004
21106
|
}, amount));
|
|
21005
21107
|
};
|
|
21006
21108
|
|
|
21007
|
-
var LabeledAmount$1 = themeComponent(LabeledAmount, "LabeledAmount", fallbackValues$
|
|
21109
|
+
var LabeledAmount$1 = themeComponent(LabeledAmount, "LabeledAmount", fallbackValues$k, "default");
|
|
21008
21110
|
|
|
21009
21111
|
var weightTitle = {
|
|
21010
21112
|
"default": "600",
|
|
@@ -21014,7 +21116,7 @@ var paragraphVariant = {
|
|
|
21014
21116
|
"default": "pL",
|
|
21015
21117
|
small: "p"
|
|
21016
21118
|
};
|
|
21017
|
-
var fallbackValues$
|
|
21119
|
+
var fallbackValues$l = {
|
|
21018
21120
|
weightTitle: weightTitle,
|
|
21019
21121
|
paragraphVariant: paragraphVariant
|
|
21020
21122
|
};
|
|
@@ -21043,11 +21145,11 @@ var LineItem = function LineItem(_ref) {
|
|
|
21043
21145
|
}, amount));
|
|
21044
21146
|
};
|
|
21045
21147
|
|
|
21046
|
-
var LineItem$1 = themeComponent(LineItem, "LineItem", fallbackValues$
|
|
21148
|
+
var LineItem$1 = themeComponent(LineItem, "LineItem", fallbackValues$l, "default");
|
|
21047
21149
|
|
|
21048
|
-
var color$
|
|
21049
|
-
var fallbackValues$
|
|
21050
|
-
color: color$
|
|
21150
|
+
var color$8 = "#15749D";
|
|
21151
|
+
var fallbackValues$m = {
|
|
21152
|
+
color: color$8
|
|
21051
21153
|
};
|
|
21052
21154
|
|
|
21053
21155
|
function _templateObject2$g() {
|
|
@@ -21098,7 +21200,7 @@ var Spinner$1 = function Spinner(_ref4) {
|
|
|
21098
21200
|
})));
|
|
21099
21201
|
};
|
|
21100
21202
|
|
|
21101
|
-
var Spinner$2 = themeComponent(Spinner$1, "Spinner", fallbackValues$
|
|
21203
|
+
var Spinner$2 = themeComponent(Spinner$1, "Spinner", fallbackValues$m);
|
|
21102
21204
|
|
|
21103
21205
|
var Loading = function Loading() {
|
|
21104
21206
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -21512,7 +21614,7 @@ var PasswordRequirements = function PasswordRequirements(_ref) {
|
|
|
21512
21614
|
}))));
|
|
21513
21615
|
};
|
|
21514
21616
|
|
|
21515
|
-
var color$
|
|
21617
|
+
var color$9 = {
|
|
21516
21618
|
"default": "".concat(CHARADE_GREY),
|
|
21517
21619
|
large: "".concat(BRIGHT_GREY)
|
|
21518
21620
|
};
|
|
@@ -21520,8 +21622,8 @@ var height$1 = {
|
|
|
21520
21622
|
"default": "3rem",
|
|
21521
21623
|
large: "192px"
|
|
21522
21624
|
};
|
|
21523
|
-
var fallbackValues$
|
|
21524
|
-
color: color$
|
|
21625
|
+
var fallbackValues$n = {
|
|
21626
|
+
color: color$9,
|
|
21525
21627
|
height: height$1
|
|
21526
21628
|
};
|
|
21527
21629
|
|
|
@@ -21609,12 +21711,12 @@ var Placeholder = function Placeholder(_ref2) {
|
|
|
21609
21711
|
}, text)))))))))));
|
|
21610
21712
|
};
|
|
21611
21713
|
|
|
21612
|
-
var Placeholder$1 = themeComponent(Placeholder, "Placeholder", fallbackValues$
|
|
21714
|
+
var Placeholder$1 = themeComponent(Placeholder, "Placeholder", fallbackValues$n, "default");
|
|
21613
21715
|
|
|
21614
21716
|
var backgroundColor$4 = {
|
|
21615
21717
|
"default": "".concat(WHITE)
|
|
21616
21718
|
};
|
|
21617
|
-
var fallbackValues$
|
|
21719
|
+
var fallbackValues$o = {
|
|
21618
21720
|
backgroundColor: backgroundColor$4
|
|
21619
21721
|
};
|
|
21620
21722
|
|
|
@@ -21642,11 +21744,11 @@ var ProcessingFee = function ProcessingFee(_ref) {
|
|
|
21642
21744
|
}));
|
|
21643
21745
|
};
|
|
21644
21746
|
|
|
21645
|
-
var ProcessingFee$1 = themeComponent(ProcessingFee, "ProcessingFee", fallbackValues$
|
|
21747
|
+
var ProcessingFee$1 = themeComponent(ProcessingFee, "ProcessingFee", fallbackValues$o, "default");
|
|
21646
21748
|
|
|
21647
21749
|
var activeColor$4 = "".concat(MATISSE_BLUE);
|
|
21648
21750
|
var inactiveColor = "".concat(GREY_CHATEAU);
|
|
21649
|
-
var fallbackValues$
|
|
21751
|
+
var fallbackValues$p = {
|
|
21650
21752
|
activeColor: activeColor$4,
|
|
21651
21753
|
inactiveColor: inactiveColor
|
|
21652
21754
|
};
|
|
@@ -21742,16 +21844,16 @@ var RadioButton$1 = function RadioButton(_ref2) {
|
|
|
21742
21844
|
})));
|
|
21743
21845
|
};
|
|
21744
21846
|
|
|
21745
|
-
var RadioButton$2 = themeComponent(RadioButton$1, "RadioButton", fallbackValues$
|
|
21847
|
+
var RadioButton$2 = themeComponent(RadioButton$1, "RadioButton", fallbackValues$p);
|
|
21746
21848
|
|
|
21747
|
-
var borderColor$
|
|
21849
|
+
var borderColor$2 = {
|
|
21748
21850
|
"default": "".concat(GREY_CHATEAU)
|
|
21749
21851
|
};
|
|
21750
21852
|
var borderSize = {
|
|
21751
21853
|
"default": "1px"
|
|
21752
21854
|
};
|
|
21753
|
-
var fallbackValues$
|
|
21754
|
-
borderColor: borderColor$
|
|
21855
|
+
var fallbackValues$q = {
|
|
21856
|
+
borderColor: borderColor$2,
|
|
21755
21857
|
borderSize: borderSize
|
|
21756
21858
|
};
|
|
21757
21859
|
|
|
@@ -21767,7 +21869,7 @@ var SolidDivider = function SolidDivider(_ref) {
|
|
|
21767
21869
|
});
|
|
21768
21870
|
};
|
|
21769
21871
|
|
|
21770
|
-
var SolidDivider$1 = themeComponent(SolidDivider, "SolidDivider", fallbackValues$
|
|
21872
|
+
var SolidDivider$1 = themeComponent(SolidDivider, "SolidDivider", fallbackValues$q, "default");
|
|
21771
21873
|
|
|
21772
21874
|
var placeHolderOptionUS = {
|
|
21773
21875
|
text: "Please select state",
|
|
@@ -32332,7 +32434,7 @@ var FormStateDropdown = function FormStateDropdown(_ref) {
|
|
|
32332
32434
|
countryCode = _ref.countryCode;
|
|
32333
32435
|
var placeholder = countryCode === "US" ? placeHolderOptionUS : placeHolderOption;
|
|
32334
32436
|
var options = [placeholder].concat(_toConsumableArray(getOptions(countryCode)));
|
|
32335
|
-
return /*#__PURE__*/React__default.createElement(FormSelect, {
|
|
32437
|
+
return /*#__PURE__*/React__default.createElement(FormSelect$1, {
|
|
32336
32438
|
options: options,
|
|
32337
32439
|
field: field,
|
|
32338
32440
|
fieldActions: fieldActions,
|
|
@@ -32349,7 +32451,7 @@ var offBackground = "".concat(REGENT_GREY);
|
|
|
32349
32451
|
var labelStyles = "\n display: flex;\n justify-content: flex-start;\n align-items: center;\n";
|
|
32350
32452
|
var rightLabelStyles = "\n ".concat(labelStyles, "\n flex-direction: row;\n");
|
|
32351
32453
|
var leftLabelStyles = "\n ".concat(labelStyles, "\n flex-direction: row-reverse;\n");
|
|
32352
|
-
var fallbackValues$
|
|
32454
|
+
var fallbackValues$r = {
|
|
32353
32455
|
onBackground: onBackground,
|
|
32354
32456
|
disabledBackground: disabledBackground,
|
|
32355
32457
|
white: white,
|
|
@@ -32551,7 +32653,7 @@ var ToggleSwitch = function ToggleSwitch(_ref6) {
|
|
|
32551
32653
|
}, label))));
|
|
32552
32654
|
};
|
|
32553
32655
|
|
|
32554
|
-
var ToggleSwitch$1 = themeComponent(ToggleSwitch, "ToggleSwitch", fallbackValues$
|
|
32656
|
+
var ToggleSwitch$1 = themeComponent(ToggleSwitch, "ToggleSwitch", fallbackValues$r);
|
|
32555
32657
|
|
|
32556
32658
|
var background$1 = "".concat(ATHENS_GREY);
|
|
32557
32659
|
var white$1 = "".concat(WHITE);
|
|
@@ -34214,17 +34316,6 @@ var formats = /*#__PURE__*/Object.freeze({
|
|
|
34214
34316
|
moneyFormat: moneyFormat
|
|
34215
34317
|
});
|
|
34216
34318
|
|
|
34217
|
-
function _templateObject$x() {
|
|
34218
|
-
var data = _taggedTemplateLiteral(["\n outline: none;\n"]);
|
|
34219
|
-
|
|
34220
|
-
_templateObject$x = function _templateObject() {
|
|
34221
|
-
return data;
|
|
34222
|
-
};
|
|
34223
|
-
|
|
34224
|
-
return data;
|
|
34225
|
-
}
|
|
34226
|
-
var CheckboxWrapper = styled__default.div(_templateObject$x());
|
|
34227
|
-
|
|
34228
34319
|
var AddressForm = function AddressForm(_ref) {
|
|
34229
34320
|
var _zipErrorMessages;
|
|
34230
34321
|
|
|
@@ -34240,17 +34331,6 @@ var AddressForm = function AddressForm(_ref) {
|
|
|
34240
34331
|
saveToWallet = _ref.saveToWallet,
|
|
34241
34332
|
walletCheckboxMarked = _ref.walletCheckboxMarked;
|
|
34242
34333
|
|
|
34243
|
-
var _useState = React.useState(false),
|
|
34244
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
34245
|
-
checkboxFocused = _useState2[0],
|
|
34246
|
-
focusCheckbox = _useState2[1];
|
|
34247
|
-
|
|
34248
|
-
var handleClick = function handleClick(e, func) {
|
|
34249
|
-
if ((e === null || e === void 0 ? void 0 : e.keyCode) === 13) {
|
|
34250
|
-
func();
|
|
34251
|
-
}
|
|
34252
|
-
};
|
|
34253
|
-
|
|
34254
34334
|
if (clearOnDismount) {
|
|
34255
34335
|
React.useEffect(function () {
|
|
34256
34336
|
return function () {
|
|
@@ -34338,24 +34418,12 @@ var AddressForm = function AddressForm(_ref) {
|
|
|
34338
34418
|
onKeyDown: function onKeyDown(e) {
|
|
34339
34419
|
return e.key === "Enter" && handleSubmit(e);
|
|
34340
34420
|
}
|
|
34341
|
-
}), showWalletCheckbox && /*#__PURE__*/React__default.createElement(
|
|
34342
|
-
tabIndex: "0",
|
|
34343
|
-
onFocus: function onFocus() {
|
|
34344
|
-
return focusCheckbox(true);
|
|
34345
|
-
},
|
|
34346
|
-
onBlur: function onBlur() {
|
|
34347
|
-
return focusCheckbox(false);
|
|
34348
|
-
},
|
|
34349
|
-
onKeyDown: function onKeyDown(e) {
|
|
34350
|
-
return handleClick(e, saveToWallet);
|
|
34351
|
-
}
|
|
34352
|
-
}, /*#__PURE__*/React__default.createElement(Checkbox$1, {
|
|
34421
|
+
}), showWalletCheckbox && /*#__PURE__*/React__default.createElement(Checkbox$1, {
|
|
34353
34422
|
name: "address checkbox",
|
|
34354
34423
|
title: "Save address to wallet",
|
|
34355
34424
|
checked: walletCheckboxMarked,
|
|
34356
|
-
onChange: saveToWallet
|
|
34357
|
-
|
|
34358
|
-
}))));
|
|
34425
|
+
onChange: saveToWallet
|
|
34426
|
+
})));
|
|
34359
34427
|
};
|
|
34360
34428
|
|
|
34361
34429
|
var formConfig = {
|
|
@@ -34483,7 +34551,7 @@ ChangePasswordForm.mapDispatchToProps = mapDispatchToProps$1;
|
|
|
34483
34551
|
var titleColor = "#292A33";
|
|
34484
34552
|
var headingBackgroundColor = "transparent";
|
|
34485
34553
|
var bodyBackgroundColor = "transparent";
|
|
34486
|
-
var fallbackValues$
|
|
34554
|
+
var fallbackValues$s = {
|
|
34487
34555
|
titleColor: titleColor,
|
|
34488
34556
|
headingBackgroundColor: headingBackgroundColor,
|
|
34489
34557
|
bodyBackgroundColor: bodyBackgroundColor
|
|
@@ -34584,7 +34652,7 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
|
34584
34652
|
}, children))));
|
|
34585
34653
|
};
|
|
34586
34654
|
|
|
34587
|
-
var CollapsibleSection$1 = themeComponent(CollapsibleSection, "CollapsibleSection", fallbackValues$
|
|
34655
|
+
var CollapsibleSection$1 = themeComponent(CollapsibleSection, "CollapsibleSection", fallbackValues$s);
|
|
34588
34656
|
|
|
34589
34657
|
var EditNameForm = function EditNameForm(_ref) {
|
|
34590
34658
|
var fields = _ref.fields,
|
|
@@ -34658,16 +34726,16 @@ function _templateObject2$j() {
|
|
|
34658
34726
|
return data;
|
|
34659
34727
|
}
|
|
34660
34728
|
|
|
34661
|
-
function _templateObject$
|
|
34729
|
+
function _templateObject$x() {
|
|
34662
34730
|
var data = _taggedTemplateLiteral(["\n box-sizing: border-box;\n background: ", ";\n height: ", ";\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 1.5rem;\n :not(:last-child),\n :not(:first-child) {\n box-shadow: inset 0px -1px 0px 0px rgb(202, 206, 216);\n }\n :first-child {\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n }\n :last-child {\n border-bottom-left-radius: 3px;\n border-bottom-right-radius: 3px;\n box-shadow: none;\n }\n"]);
|
|
34663
34731
|
|
|
34664
|
-
_templateObject$
|
|
34732
|
+
_templateObject$x = function _templateObject() {
|
|
34665
34733
|
return data;
|
|
34666
34734
|
};
|
|
34667
34735
|
|
|
34668
34736
|
return data;
|
|
34669
34737
|
}
|
|
34670
|
-
var EditableListItem = styled__default.div(_templateObject$
|
|
34738
|
+
var EditableListItem = styled__default.div(_templateObject$x(), WHITE, function (_ref) {
|
|
34671
34739
|
var listItemSize = _ref.listItemSize;
|
|
34672
34740
|
return listItemSize === "big" ? "120px" : "72px";
|
|
34673
34741
|
});
|
|
@@ -34852,16 +34920,16 @@ function _templateObject2$k() {
|
|
|
34852
34920
|
return data;
|
|
34853
34921
|
}
|
|
34854
34922
|
|
|
34855
|
-
function _templateObject$
|
|
34923
|
+
function _templateObject$y() {
|
|
34856
34924
|
var data = _taggedTemplateLiteral(["\n display: ", ";\n flex-direction: column;\n flex: 1;\n"]);
|
|
34857
34925
|
|
|
34858
|
-
_templateObject$
|
|
34926
|
+
_templateObject$y = function _templateObject() {
|
|
34859
34927
|
return data;
|
|
34860
34928
|
};
|
|
34861
34929
|
|
|
34862
34930
|
return data;
|
|
34863
34931
|
}
|
|
34864
|
-
var EditableTableContainer = styled__default.div(_templateObject$
|
|
34932
|
+
var EditableTableContainer = styled__default.div(_templateObject$y(), function (_ref) {
|
|
34865
34933
|
var hide = _ref.hide;
|
|
34866
34934
|
return hide ? "none" : "flex";
|
|
34867
34935
|
});
|
|
@@ -34973,17 +35041,6 @@ var TableListItem = function TableListItem(_ref) {
|
|
|
34973
35041
|
}, "Edit")) : /*#__PURE__*/React__default.createElement(React.Fragment, null))));
|
|
34974
35042
|
};
|
|
34975
35043
|
|
|
34976
|
-
function _templateObject$A() {
|
|
34977
|
-
var data = _taggedTemplateLiteral(["\n outline: none;\n"]);
|
|
34978
|
-
|
|
34979
|
-
_templateObject$A = function _templateObject() {
|
|
34980
|
-
return data;
|
|
34981
|
-
};
|
|
34982
|
-
|
|
34983
|
-
return data;
|
|
34984
|
-
}
|
|
34985
|
-
var CheckboxWrapper$1 = styled__default.div(_templateObject$A());
|
|
34986
|
-
|
|
34987
35044
|
var EmailForm = function EmailForm(_ref) {
|
|
34988
35045
|
var _emailFieldErrorMessa;
|
|
34989
35046
|
|
|
@@ -35000,17 +35057,6 @@ var EmailForm = function EmailForm(_ref) {
|
|
|
35000
35057
|
saveToWallet = _ref.saveToWallet,
|
|
35001
35058
|
walletCheckboxMarked = _ref.walletCheckboxMarked;
|
|
35002
35059
|
|
|
35003
|
-
var _useState = React.useState(false),
|
|
35004
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
35005
|
-
checkboxFocused = _useState2[0],
|
|
35006
|
-
focusCheckbox = _useState2[1];
|
|
35007
|
-
|
|
35008
|
-
var handleClick = function handleClick(e, func) {
|
|
35009
|
-
if ((e === null || e === void 0 ? void 0 : e.keyCode) === 13) {
|
|
35010
|
-
func();
|
|
35011
|
-
}
|
|
35012
|
-
};
|
|
35013
|
-
|
|
35014
35060
|
if (clearOnDismount) {
|
|
35015
35061
|
React.useEffect(function () {
|
|
35016
35062
|
return function () {
|
|
@@ -35036,24 +35082,12 @@ var EmailForm = function EmailForm(_ref) {
|
|
|
35036
35082
|
onKeyDown: function onKeyDown(e) {
|
|
35037
35083
|
return e.key === "Enter" && handleSubmit(e);
|
|
35038
35084
|
}
|
|
35039
|
-
}), showWalletCheckbox && /*#__PURE__*/React__default.createElement(
|
|
35040
|
-
tabIndex: "0",
|
|
35041
|
-
onFocus: function onFocus() {
|
|
35042
|
-
return focusCheckbox(true);
|
|
35043
|
-
},
|
|
35044
|
-
onBlur: function onBlur() {
|
|
35045
|
-
return focusCheckbox(false);
|
|
35046
|
-
},
|
|
35047
|
-
onKeyDown: function onKeyDown(e) {
|
|
35048
|
-
return handleClick(e, saveToWallet);
|
|
35049
|
-
}
|
|
35050
|
-
}, /*#__PURE__*/React__default.createElement(Checkbox$1, {
|
|
35085
|
+
}), showWalletCheckbox && /*#__PURE__*/React__default.createElement(Checkbox$1, {
|
|
35051
35086
|
name: "email checkbox",
|
|
35052
35087
|
title: "Save email address to wallet",
|
|
35053
35088
|
checked: walletCheckboxMarked,
|
|
35054
|
-
onChange: saveToWallet
|
|
35055
|
-
|
|
35056
|
-
}))));
|
|
35089
|
+
onChange: saveToWallet
|
|
35090
|
+
})));
|
|
35057
35091
|
};
|
|
35058
35092
|
|
|
35059
35093
|
var formConfig$3 = {
|
|
@@ -35119,7 +35153,7 @@ ForgotPasswordForm.mapDispatchToProps = mapDispatchToProps$4;
|
|
|
35119
35153
|
|
|
35120
35154
|
var textColor$2 = "#ffffff";
|
|
35121
35155
|
var backgroundColor$5 = "#182848";
|
|
35122
|
-
var fallbackValues$
|
|
35156
|
+
var fallbackValues$t = {
|
|
35123
35157
|
textColor: textColor$2,
|
|
35124
35158
|
backgroundColor: backgroundColor$5
|
|
35125
35159
|
};
|
|
@@ -35165,7 +35199,7 @@ var HighlightTabRow = function HighlightTabRow(_ref) {
|
|
|
35165
35199
|
}), repeat( /*#__PURE__*/React__default.createElement(Box, null), boxesAfter))));
|
|
35166
35200
|
};
|
|
35167
35201
|
|
|
35168
|
-
var HighlightTabRow$1 = /*#__PURE__*/React.memo(themeComponent(HighlightTabRow, "HighlightTabRow", fallbackValues$
|
|
35202
|
+
var HighlightTabRow$1 = /*#__PURE__*/React.memo(themeComponent(HighlightTabRow, "HighlightTabRow", fallbackValues$t));
|
|
35169
35203
|
|
|
35170
35204
|
var LoginForm = function LoginForm(_ref) {
|
|
35171
35205
|
var _emailErrorMessages;
|
|
@@ -36397,8 +36431,7 @@ var getApplicationNode = function getApplicationNode() {
|
|
|
36397
36431
|
};
|
|
36398
36432
|
|
|
36399
36433
|
var Modal$1 = function Modal(_ref) {
|
|
36400
|
-
var
|
|
36401
|
-
hideModal = _ref.hideModal,
|
|
36434
|
+
var hideModal = _ref.hideModal,
|
|
36402
36435
|
continueAction = _ref.continueAction,
|
|
36403
36436
|
cancelAction = _ref.cancelAction,
|
|
36404
36437
|
modalOpen = _ref.modalOpen,
|
|
@@ -36420,12 +36453,13 @@ var Modal$1 = function Modal(_ref) {
|
|
|
36420
36453
|
onlyCloseButton = _ref$onlyCloseButton === void 0 ? false : _ref$onlyCloseButton,
|
|
36421
36454
|
maxHeight = _ref.maxHeight,
|
|
36422
36455
|
_ref$underlayClickExi = _ref.underlayClickExits,
|
|
36423
|
-
underlayClickExits = _ref$underlayClickExi === void 0 ? true : _ref$underlayClickExi
|
|
36456
|
+
underlayClickExits = _ref$underlayClickExi === void 0 ? true : _ref$underlayClickExi,
|
|
36457
|
+
children = _ref.children;
|
|
36424
36458
|
|
|
36425
36459
|
var _useContext = React.useContext(styled.ThemeContext),
|
|
36426
36460
|
isMobile = _useContext.isMobile;
|
|
36427
36461
|
|
|
36428
|
-
return /*#__PURE__*/React__default.createElement(React.Fragment, null,
|
|
36462
|
+
return /*#__PURE__*/React__default.createElement(React.Fragment, null, modalOpen && /*#__PURE__*/React__default.createElement(reactAriaModal, {
|
|
36429
36463
|
onExit: hideModal,
|
|
36430
36464
|
getApplicationNode: getApplicationNode,
|
|
36431
36465
|
titleText: modalHeaderText,
|
|
@@ -36497,14 +36531,14 @@ var Modal$1 = function Modal(_ref) {
|
|
|
36497
36531
|
variant: "primary",
|
|
36498
36532
|
text: "Close",
|
|
36499
36533
|
dataQa: "Close"
|
|
36500
|
-
})))))))));
|
|
36534
|
+
})))))))), children);
|
|
36501
36535
|
};
|
|
36502
36536
|
|
|
36503
|
-
var fontSize$
|
|
36537
|
+
var fontSize$8 = {
|
|
36504
36538
|
"default": "1.375rem",
|
|
36505
36539
|
largeTitle: "1.75rem"
|
|
36506
36540
|
};
|
|
36507
|
-
var fontWeight$
|
|
36541
|
+
var fontWeight$5 = {
|
|
36508
36542
|
"default": "600",
|
|
36509
36543
|
largeTitle: "700"
|
|
36510
36544
|
};
|
|
@@ -36512,7 +36546,7 @@ var fontColor = {
|
|
|
36512
36546
|
"default": CHARADE_GREY,
|
|
36513
36547
|
largeTitle: CHARADE_GREY
|
|
36514
36548
|
};
|
|
36515
|
-
var lineHeight$
|
|
36549
|
+
var lineHeight$4 = {
|
|
36516
36550
|
"default": "2rem",
|
|
36517
36551
|
largeTitle: "2rem"
|
|
36518
36552
|
};
|
|
@@ -36540,11 +36574,11 @@ var backgroundColor$6 = {
|
|
|
36540
36574
|
"default": WHITE,
|
|
36541
36575
|
largeTitle: WHITE
|
|
36542
36576
|
};
|
|
36543
|
-
var fallbackValues$
|
|
36544
|
-
fontSize: fontSize$
|
|
36545
|
-
fontWeight: fontWeight$
|
|
36577
|
+
var fallbackValues$u = {
|
|
36578
|
+
fontSize: fontSize$8,
|
|
36579
|
+
fontWeight: fontWeight$5,
|
|
36546
36580
|
fontColor: fontColor,
|
|
36547
|
-
lineHeight: lineHeight$
|
|
36581
|
+
lineHeight: lineHeight$4,
|
|
36548
36582
|
textAlign: textAlign,
|
|
36549
36583
|
titleType: titleType,
|
|
36550
36584
|
titleSpacing: titleSpacing,
|
|
@@ -36581,7 +36615,7 @@ var Module = function Module(_ref) {
|
|
|
36581
36615
|
}, children)));
|
|
36582
36616
|
};
|
|
36583
36617
|
|
|
36584
|
-
var Module$1 = /*#__PURE__*/React.memo(themeComponent(Module, "Module", fallbackValues$
|
|
36618
|
+
var Module$1 = /*#__PURE__*/React.memo(themeComponent(Module, "Module", fallbackValues$u, "default"));
|
|
36585
36619
|
|
|
36586
36620
|
var backgroundColor$7 = {
|
|
36587
36621
|
profile: "#3b414d",
|
|
@@ -36591,7 +36625,7 @@ var shadowColor = {
|
|
|
36591
36625
|
profile: "#292A33",
|
|
36592
36626
|
cms: "#292A33"
|
|
36593
36627
|
};
|
|
36594
|
-
var fallbackValues$
|
|
36628
|
+
var fallbackValues$v = {
|
|
36595
36629
|
backgroundColor: backgroundColor$7,
|
|
36596
36630
|
shadowColor: shadowColor
|
|
36597
36631
|
};
|
|
@@ -36632,12 +36666,12 @@ var NavMenuDesktop = function NavMenuDesktop(_ref) {
|
|
|
36632
36666
|
}, menuContent));
|
|
36633
36667
|
};
|
|
36634
36668
|
|
|
36635
|
-
var NavMenuDesktop$1 = themeComponent(NavMenuDesktop, "NavMenu", fallbackValues$
|
|
36669
|
+
var NavMenuDesktop$1 = themeComponent(NavMenuDesktop, "NavMenu", fallbackValues$v, "profile");
|
|
36636
36670
|
|
|
36637
|
-
function _templateObject$
|
|
36671
|
+
function _templateObject$z() {
|
|
36638
36672
|
var data = _taggedTemplateLiteral(["\n position: fixed;\n top: 72px;\n"]);
|
|
36639
36673
|
|
|
36640
|
-
_templateObject$
|
|
36674
|
+
_templateObject$z = function _templateObject() {
|
|
36641
36675
|
return data;
|
|
36642
36676
|
};
|
|
36643
36677
|
|
|
@@ -36673,7 +36707,7 @@ var menu = posed.div({
|
|
|
36673
36707
|
}
|
|
36674
36708
|
}
|
|
36675
36709
|
});
|
|
36676
|
-
var ImposterMenu = styled__default(menu)(_templateObject$
|
|
36710
|
+
var ImposterMenu = styled__default(menu)(_templateObject$z());
|
|
36677
36711
|
|
|
36678
36712
|
var NavMenuMobile = function NavMenuMobile(_ref) {
|
|
36679
36713
|
var id = _ref.id,
|
|
@@ -36694,7 +36728,7 @@ var NavMenuMobile = function NavMenuMobile(_ref) {
|
|
|
36694
36728
|
}, menuContent));
|
|
36695
36729
|
};
|
|
36696
36730
|
|
|
36697
|
-
var NavMenuMobile$1 = themeComponent(NavMenuMobile, "NavMenu", fallbackValues$
|
|
36731
|
+
var NavMenuMobile$1 = themeComponent(NavMenuMobile, "NavMenu", fallbackValues$v, "profile");
|
|
36698
36732
|
|
|
36699
36733
|
var AccountBillIcon = function AccountBillIcon() {
|
|
36700
36734
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
@@ -38193,13 +38227,19 @@ var TitleModule = function TitleModule(_ref) {
|
|
|
38193
38227
|
}, subtitle)));
|
|
38194
38228
|
};
|
|
38195
38229
|
|
|
38196
|
-
var color$
|
|
38230
|
+
var color$a = "#15749D";
|
|
38197
38231
|
var hoverColor$4 = "#116285";
|
|
38198
38232
|
var activeColor$5 = "#0E506D";
|
|
38199
|
-
var
|
|
38200
|
-
|
|
38233
|
+
var linkColor$3 = "#357fb8";
|
|
38234
|
+
var fontWeight$6 = FONT_WEIGHT_REGULAR;
|
|
38235
|
+
var modalLinkHoverFocus = "outline: none;\n cursor: pointer;\n text-decoration: underline;\n text-decoration-color: #357fb8;";
|
|
38236
|
+
var fallbackValues$w = {
|
|
38237
|
+
color: color$a,
|
|
38201
38238
|
hoverColor: hoverColor$4,
|
|
38202
|
-
activeColor: activeColor$5
|
|
38239
|
+
activeColor: activeColor$5,
|
|
38240
|
+
linkColor: linkColor$3,
|
|
38241
|
+
fontWeight: fontWeight$6,
|
|
38242
|
+
modalLinkHoverFocus: modalLinkHoverFocus
|
|
38203
38243
|
};
|
|
38204
38244
|
|
|
38205
38245
|
var AutopayModal = function AutopayModal(_ref) {
|
|
@@ -38229,34 +38269,6 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
38229
38269
|
var activeStyles = "\n &:active {\n .autopayIcon { fill: ".concat(themeValues.activeColor, "; text-decoration: underline; }\n }");
|
|
38230
38270
|
var defaultStyles = "\n .autopayIcon { fill: ".concat(themeValues.color, "; text-decoration: underline; }\n ");
|
|
38231
38271
|
return /*#__PURE__*/React__default.createElement(Modal$1, _extends({
|
|
38232
|
-
ModalLink: function ModalLink() {
|
|
38233
|
-
return buttonLinkType ? /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
38234
|
-
text: autoPayActive ? "Manage ".concat(planType) : "Set Up ".concat(planType),
|
|
38235
|
-
variant: "tertiary",
|
|
38236
|
-
action: function action() {
|
|
38237
|
-
toggleModal(true);
|
|
38238
|
-
},
|
|
38239
|
-
dataQa: "Manage Autopay",
|
|
38240
|
-
extraStyles: isMobile && "flex-grow: 1; width: 100%;"
|
|
38241
|
-
}) : /*#__PURE__*/React__default.createElement(Box, {
|
|
38242
|
-
padding: "0",
|
|
38243
|
-
onClick: function onClick() {
|
|
38244
|
-
toggleModal(true);
|
|
38245
|
-
},
|
|
38246
|
-
hoverStyles: hoverStyles,
|
|
38247
|
-
activeStyles: activeStyles,
|
|
38248
|
-
extraStyles: defaultStyles
|
|
38249
|
-
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
38250
|
-
justify: isMobile ? "flex-start" : "flex-end",
|
|
38251
|
-
align: "center"
|
|
38252
|
-
}, /*#__PURE__*/React__default.createElement(AutopayOnIcon$1, null), /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
38253
|
-
text: "".concat(planType, " On"),
|
|
38254
|
-
variant: "smallGhost",
|
|
38255
|
-
dataQa: "Autopay On",
|
|
38256
|
-
textExtraStyles: "font-size: 0.875rem; ",
|
|
38257
|
-
extraStyles: "min-width: auto; padding: 0 0 0 6px;"
|
|
38258
|
-
})));
|
|
38259
|
-
},
|
|
38260
38272
|
showModal: function showModal() {
|
|
38261
38273
|
return toggleModal(true);
|
|
38262
38274
|
},
|
|
@@ -38264,10 +38276,46 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
38264
38276
|
return toggleModal(false);
|
|
38265
38277
|
},
|
|
38266
38278
|
modalOpen: modalOpen
|
|
38267
|
-
}, modalExtraProps)
|
|
38279
|
+
}, modalExtraProps), buttonLinkType ? /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
38280
|
+
text: autoPayActive ? "Manage ".concat(planType) : "Set Up ".concat(planType),
|
|
38281
|
+
variant: "tertiary",
|
|
38282
|
+
action: function action() {
|
|
38283
|
+
toggleModal(true);
|
|
38284
|
+
},
|
|
38285
|
+
dataQa: "Manage Autopay",
|
|
38286
|
+
extraStyles: isMobile && "flex-grow: 1; width: 100%;"
|
|
38287
|
+
}) : /*#__PURE__*/React__default.createElement(Box, {
|
|
38288
|
+
padding: "0",
|
|
38289
|
+
onClick: function onClick() {
|
|
38290
|
+
toggleModal(true);
|
|
38291
|
+
},
|
|
38292
|
+
hoverStyles: hoverStyles,
|
|
38293
|
+
activeStyles: activeStyles,
|
|
38294
|
+
extraStyles: defaultStyles
|
|
38295
|
+
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
38296
|
+
justify: isMobile ? "flex-start" : "flex-end",
|
|
38297
|
+
align: "center"
|
|
38298
|
+
}, /*#__PURE__*/React__default.createElement(AutopayOnIcon$1, null), /*#__PURE__*/React__default.createElement(Text$1, {
|
|
38299
|
+
variant: "pS",
|
|
38300
|
+
onClick: function onClick() {
|
|
38301
|
+
return toggleModal(true);
|
|
38302
|
+
},
|
|
38303
|
+
onKeyPress: function onKeyPress(e) {
|
|
38304
|
+
console.log({
|
|
38305
|
+
e: e
|
|
38306
|
+
});
|
|
38307
|
+
e.key === "Enter" && toggleModal(true);
|
|
38308
|
+
},
|
|
38309
|
+
tabIndex: "0",
|
|
38310
|
+
dataQa: "".concat(planType, " On"),
|
|
38311
|
+
color: themeValues.linkColor,
|
|
38312
|
+
weight: themeValues.fontWeight,
|
|
38313
|
+
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
38314
|
+
extraStyles: "padding: 0 0 0 6px;"
|
|
38315
|
+
}, "".concat(planType, " On")))));
|
|
38268
38316
|
};
|
|
38269
38317
|
|
|
38270
|
-
var AutopayModalModule = themeComponent(AutopayModal, "AutopayModal", fallbackValues$
|
|
38318
|
+
var AutopayModalModule = themeComponent(AutopayModal, "AutopayModal", fallbackValues$w);
|
|
38271
38319
|
|
|
38272
38320
|
var AmountModule = function AmountModule(_ref) {
|
|
38273
38321
|
var totalAmountDue = _ref.totalAmountDue,
|
|
@@ -38824,7 +38872,7 @@ var labeledAmountTotal = {
|
|
|
38824
38872
|
"default": "h6",
|
|
38825
38873
|
small: "pL"
|
|
38826
38874
|
};
|
|
38827
|
-
var fallbackValues$
|
|
38875
|
+
var fallbackValues$x = {
|
|
38828
38876
|
backgroundColor: backgroundColor$8,
|
|
38829
38877
|
lineItem: lineItem,
|
|
38830
38878
|
labeledAmountSubtotal: labeledAmountSubtotal,
|
|
@@ -39000,34 +39048,29 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
39000
39048
|
});
|
|
39001
39049
|
};
|
|
39002
39050
|
|
|
39003
|
-
var PaymentDetails$1 = themeComponent(PaymentDetails, "PaymentDetails", fallbackValues$
|
|
39051
|
+
var PaymentDetails$1 = themeComponent(PaymentDetails, "PaymentDetails", fallbackValues$x, "default");
|
|
39004
39052
|
|
|
39005
|
-
var linkColor$
|
|
39006
|
-
"default": "#357fb8"
|
|
39007
|
-
footer: "#ffffff"
|
|
39053
|
+
var linkColor$4 = {
|
|
39054
|
+
"default": "#357fb8"
|
|
39008
39055
|
};
|
|
39009
|
-
var fontSize$
|
|
39010
|
-
"default": "1rem"
|
|
39011
|
-
footer: "0.875rem"
|
|
39056
|
+
var fontSize$9 = {
|
|
39057
|
+
"default": "1rem"
|
|
39012
39058
|
};
|
|
39013
|
-
var lineHeight$
|
|
39014
|
-
"default": "1.5rem"
|
|
39015
|
-
footer: "1.25rem"
|
|
39059
|
+
var lineHeight$5 = {
|
|
39060
|
+
"default": "1.5rem"
|
|
39016
39061
|
};
|
|
39017
|
-
var fontWeight$
|
|
39018
|
-
"default": FONT_WEIGHT_REGULAR
|
|
39019
|
-
footer: FONT_WEIGHT_SEMIBOLD
|
|
39062
|
+
var fontWeight$7 = {
|
|
39063
|
+
"default": FONT_WEIGHT_REGULAR
|
|
39020
39064
|
};
|
|
39021
|
-
var modalLinkHoverFocus = {
|
|
39022
|
-
"default": ""
|
|
39023
|
-
footer: "outline: none; text-decoration: underline;"
|
|
39065
|
+
var modalLinkHoverFocus$1 = {
|
|
39066
|
+
"default": "outline: none; text-decoration: underline;"
|
|
39024
39067
|
};
|
|
39025
|
-
var fallbackValues$
|
|
39026
|
-
linkColor: linkColor$
|
|
39027
|
-
fontSize: fontSize$
|
|
39028
|
-
lineHeight: lineHeight$
|
|
39029
|
-
fontWeight: fontWeight$
|
|
39030
|
-
modalLinkHoverFocus: modalLinkHoverFocus
|
|
39068
|
+
var fallbackValues$y = {
|
|
39069
|
+
linkColor: linkColor$4,
|
|
39070
|
+
fontSize: fontSize$9,
|
|
39071
|
+
lineHeight: lineHeight$5,
|
|
39072
|
+
fontWeight: fontWeight$7,
|
|
39073
|
+
modalLinkHoverFocus: modalLinkHoverFocus$1
|
|
39031
39074
|
};
|
|
39032
39075
|
|
|
39033
39076
|
var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
|
|
@@ -39039,25 +39082,8 @@ var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
|
|
|
39039
39082
|
acceptText = _ref.acceptText,
|
|
39040
39083
|
content = _ref.content,
|
|
39041
39084
|
imageType = _ref.imageType,
|
|
39042
|
-
variant = _ref.variant,
|
|
39043
39085
|
themeValues = _ref.themeValues;
|
|
39044
39086
|
return /*#__PURE__*/React__default.createElement(Modal$1, {
|
|
39045
|
-
ModalLink: function ModalLink() {
|
|
39046
|
-
return /*#__PURE__*/React__default.createElement(Text$1, {
|
|
39047
|
-
variant: variant === "default" ? "pS" : "pXS",
|
|
39048
|
-
onClick: function onClick() {
|
|
39049
|
-
return toggleOpen(true);
|
|
39050
|
-
},
|
|
39051
|
-
color: themeValues.linkColor,
|
|
39052
|
-
weight: themeValues.fontWeight,
|
|
39053
|
-
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
39054
|
-
extraStyles: "cursor: pointer;",
|
|
39055
|
-
tabIndex: "0",
|
|
39056
|
-
onKeyPress: function onKeyPress(e) {
|
|
39057
|
-
return e.key === "Enter" && toggleOpen(true);
|
|
39058
|
-
}
|
|
39059
|
-
}, link);
|
|
39060
|
-
},
|
|
39061
39087
|
modalOpen: isOpen,
|
|
39062
39088
|
hideModal: function hideModal() {
|
|
39063
39089
|
return toggleOpen(false);
|
|
@@ -39082,32 +39108,23 @@ var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
|
|
|
39082
39108
|
toggleAccepted(true);
|
|
39083
39109
|
toggleOpen(false);
|
|
39084
39110
|
}
|
|
39085
|
-
}
|
|
39111
|
+
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
39112
|
+
variant: "pS",
|
|
39113
|
+
onClick: function onClick() {
|
|
39114
|
+
return toggleOpen(true);
|
|
39115
|
+
},
|
|
39116
|
+
onKeyPress: function onKeyPress(e) {
|
|
39117
|
+
return e.key === "Enter" && toggleOpen(true);
|
|
39118
|
+
},
|
|
39119
|
+
tabIndex: "0",
|
|
39120
|
+
color: themeValues.linkColor,
|
|
39121
|
+
weight: themeValues.fontWeight,
|
|
39122
|
+
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
39123
|
+
extraStyles: "cursor: pointer;"
|
|
39124
|
+
}, link));
|
|
39086
39125
|
};
|
|
39087
39126
|
|
|
39088
|
-
var AccountAndRoutingModal$1 = themeComponent(AccountAndRoutingModal, "AccountAndRoutingModal", fallbackValues$
|
|
39089
|
-
|
|
39090
|
-
function _templateObject2$l() {
|
|
39091
|
-
var data = _taggedTemplateLiteral(["\n outline: none;\n"]);
|
|
39092
|
-
|
|
39093
|
-
_templateObject2$l = function _templateObject2() {
|
|
39094
|
-
return data;
|
|
39095
|
-
};
|
|
39096
|
-
|
|
39097
|
-
return data;
|
|
39098
|
-
}
|
|
39099
|
-
|
|
39100
|
-
function _templateObject$C() {
|
|
39101
|
-
var data = _taggedTemplateLiteral([""]);
|
|
39102
|
-
|
|
39103
|
-
_templateObject$C = function _templateObject() {
|
|
39104
|
-
return data;
|
|
39105
|
-
};
|
|
39106
|
-
|
|
39107
|
-
return data;
|
|
39108
|
-
}
|
|
39109
|
-
var ModalWrapper = styled__default.div(_templateObject$C());
|
|
39110
|
-
var CheckboxWrapper$2 = styled__default.div(_templateObject2$l());
|
|
39127
|
+
var AccountAndRoutingModal$1 = themeComponent(AccountAndRoutingModal, "AccountAndRoutingModal", fallbackValues$y, "default");
|
|
39111
39128
|
|
|
39112
39129
|
var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
39113
39130
|
var _routingNumberErrors, _accountNumberErrors;
|
|
@@ -39129,17 +39146,6 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
|
39129
39146
|
saveToWallet = _ref.saveToWallet,
|
|
39130
39147
|
walletCheckboxMarked = _ref.walletCheckboxMarked;
|
|
39131
39148
|
|
|
39132
|
-
var _useState = React.useState(false),
|
|
39133
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
39134
|
-
checkboxFocused = _useState2[0],
|
|
39135
|
-
focusCheckbox = _useState2[1];
|
|
39136
|
-
|
|
39137
|
-
var handleClick = function handleClick(e, func) {
|
|
39138
|
-
if ((e === null || e === void 0 ? void 0 : e.keyCode) === 13) {
|
|
39139
|
-
func();
|
|
39140
|
-
}
|
|
39141
|
-
};
|
|
39142
|
-
|
|
39143
39149
|
if (clearOnDismount) {
|
|
39144
39150
|
React.useEffect(function () {
|
|
39145
39151
|
return function () {
|
|
@@ -39148,15 +39154,15 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
|
39148
39154
|
}, []);
|
|
39149
39155
|
}
|
|
39150
39156
|
|
|
39157
|
+
var _useState = React.useState(false),
|
|
39158
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
39159
|
+
showRouting = _useState2[0],
|
|
39160
|
+
toggleShowRouting = _useState2[1];
|
|
39161
|
+
|
|
39151
39162
|
var _useState3 = React.useState(false),
|
|
39152
39163
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
39153
|
-
|
|
39154
|
-
|
|
39155
|
-
|
|
39156
|
-
var _useState5 = React.useState(false),
|
|
39157
|
-
_useState6 = _slicedToArray(_useState5, 2),
|
|
39158
|
-
showAccount = _useState6[0],
|
|
39159
|
-
toggleShowAccount = _useState6[1];
|
|
39164
|
+
showAccount = _useState4[0],
|
|
39165
|
+
toggleShowAccount = _useState4[1];
|
|
39160
39166
|
|
|
39161
39167
|
var nameErrors = _defineProperty({}, required.error, "Name is required");
|
|
39162
39168
|
|
|
@@ -39190,19 +39196,14 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
|
39190
39196
|
fieldActions: actions.fields.routingNumber,
|
|
39191
39197
|
showErrors: showErrors,
|
|
39192
39198
|
helperModal: function helperModal() {
|
|
39193
|
-
return /*#__PURE__*/React__default.createElement(
|
|
39194
|
-
tabIndex: "0",
|
|
39195
|
-
onKeyDown: function onKeyDown(e) {
|
|
39196
|
-
return e.key === "Enter" && toggleShowAccount(!showRouting);
|
|
39197
|
-
}
|
|
39198
|
-
}, /*#__PURE__*/React__default.createElement(AccountAndRoutingModal$1, {
|
|
39199
|
+
return /*#__PURE__*/React__default.createElement(AccountAndRoutingModal$1, {
|
|
39199
39200
|
link: "What is this?",
|
|
39200
39201
|
title: "Where is my routing number?",
|
|
39201
39202
|
content: "Your routing number is the 9-digit number in the bottom left corner of your check.",
|
|
39202
39203
|
imageType: "Routing",
|
|
39203
39204
|
isOpen: showRouting,
|
|
39204
39205
|
toggleOpen: toggleShowRouting
|
|
39205
|
-
})
|
|
39206
|
+
});
|
|
39206
39207
|
},
|
|
39207
39208
|
onKeyDown: function onKeyDown(e) {
|
|
39208
39209
|
return e.key === "Enter" && handleSubmit(e);
|
|
@@ -39223,19 +39224,14 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
|
39223
39224
|
fieldActions: actions.fields.accountNumber,
|
|
39224
39225
|
showErrors: showErrors,
|
|
39225
39226
|
helperModal: function helperModal() {
|
|
39226
|
-
return /*#__PURE__*/React__default.createElement(
|
|
39227
|
-
tabIndex: "0",
|
|
39228
|
-
onKeyDown: function onKeyDown(e) {
|
|
39229
|
-
return e.key === "Enter" && toggleShowAccount(!showAccount);
|
|
39230
|
-
}
|
|
39231
|
-
}, /*#__PURE__*/React__default.createElement(AccountAndRoutingModal$1, {
|
|
39227
|
+
return /*#__PURE__*/React__default.createElement(AccountAndRoutingModal$1, {
|
|
39232
39228
|
link: "What is this?",
|
|
39233
39229
|
title: "Where is my account number?",
|
|
39234
39230
|
content: "Your account number is usually the 10-digit number in the bottom of your check to the right of the routing number.",
|
|
39235
39231
|
imageType: "Account",
|
|
39236
39232
|
isOpen: showAccount,
|
|
39237
39233
|
toggleOpen: toggleShowAccount
|
|
39238
|
-
})
|
|
39234
|
+
});
|
|
39239
39235
|
},
|
|
39240
39236
|
onKeyDown: function onKeyDown(e) {
|
|
39241
39237
|
return e.key === "Enter" && handleSubmit(e);
|
|
@@ -39249,7 +39245,7 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
|
39249
39245
|
onKeyDown: function onKeyDown(e) {
|
|
39250
39246
|
return e.key === "Enter" && handleSubmit(e);
|
|
39251
39247
|
}
|
|
39252
|
-
}), allowBankAccountType && /*#__PURE__*/React__default.createElement(FormSelect, {
|
|
39248
|
+
}), allowBankAccountType && /*#__PURE__*/React__default.createElement(FormSelect$1, {
|
|
39253
39249
|
labelTextWhenNoError: "Account type",
|
|
39254
39250
|
options: [{
|
|
39255
39251
|
text: "Select account type",
|
|
@@ -39271,24 +39267,12 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
|
39271
39267
|
onChange: toggleCheckbox,
|
|
39272
39268
|
checked: defaultMethod.value,
|
|
39273
39269
|
hidden: hideDefaultPayment
|
|
39274
|
-
}), showWalletCheckbox && /*#__PURE__*/React__default.createElement(
|
|
39275
|
-
tabIndex: "0",
|
|
39276
|
-
onFocus: function onFocus() {
|
|
39277
|
-
return focusCheckbox(true);
|
|
39278
|
-
},
|
|
39279
|
-
onBlur: function onBlur() {
|
|
39280
|
-
return focusCheckbox(false);
|
|
39281
|
-
},
|
|
39282
|
-
onKeyDown: function onKeyDown(e) {
|
|
39283
|
-
return handleClick(e, saveToWallet);
|
|
39284
|
-
}
|
|
39285
|
-
}, /*#__PURE__*/React__default.createElement(Checkbox$1, {
|
|
39270
|
+
}), showWalletCheckbox && /*#__PURE__*/React__default.createElement(Checkbox$1, {
|
|
39286
39271
|
name: "bank checkbox",
|
|
39287
39272
|
title: "Save bank account to wallet",
|
|
39288
39273
|
checked: walletCheckboxMarked,
|
|
39289
|
-
onChange: saveToWallet
|
|
39290
|
-
|
|
39291
|
-
}))));
|
|
39274
|
+
onChange: saveToWallet
|
|
39275
|
+
})));
|
|
39292
39276
|
};
|
|
39293
39277
|
|
|
39294
39278
|
var formConfig$6 = {
|
|
@@ -39328,17 +39312,6 @@ PaymentFormACH.mapDispatchToProps = mapDispatchToProps$6;
|
|
|
39328
39312
|
|
|
39329
39313
|
var _creditCardNumberErro, _expirationDateErrors, _cvvErrors, _zipCodeErrors;
|
|
39330
39314
|
|
|
39331
|
-
function _templateObject$D() {
|
|
39332
|
-
var data = _taggedTemplateLiteral(["\n outline: none;\n"]);
|
|
39333
|
-
|
|
39334
|
-
_templateObject$D = function _templateObject() {
|
|
39335
|
-
return data;
|
|
39336
|
-
};
|
|
39337
|
-
|
|
39338
|
-
return data;
|
|
39339
|
-
}
|
|
39340
|
-
var CheckboxWrapper$3 = styled__default.div(_templateObject$D());
|
|
39341
|
-
|
|
39342
39315
|
var nameOnCardErrors = _defineProperty({}, required.error, "Name is required");
|
|
39343
39316
|
|
|
39344
39317
|
var creditCardNumberErrors = (_creditCardNumberErro = {}, _defineProperty(_creditCardNumberErro, required.error, "Credit card number is required"), _defineProperty(_creditCardNumberErro, hasLength.error, "Credit card number is invalid"), _creditCardNumberErro);
|
|
@@ -39363,18 +39336,6 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
|
|
|
39363
39336
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
39364
39337
|
saveToWallet = _ref.saveToWallet,
|
|
39365
39338
|
walletCheckboxMarked = _ref.walletCheckboxMarked;
|
|
39366
|
-
|
|
39367
|
-
var _useState = React.useState(false),
|
|
39368
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
39369
|
-
checkboxFocused = _useState2[0],
|
|
39370
|
-
focusCheckbox = _useState2[1];
|
|
39371
|
-
|
|
39372
|
-
var handleClick = function handleClick(e, func) {
|
|
39373
|
-
if ((e === null || e === void 0 ? void 0 : e.keyCode) === 13) {
|
|
39374
|
-
func();
|
|
39375
|
-
}
|
|
39376
|
-
};
|
|
39377
|
-
|
|
39378
39339
|
React.useEffect(function () {
|
|
39379
39340
|
if (clearOnDismount) {
|
|
39380
39341
|
return function () {
|
|
@@ -39455,24 +39416,12 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
|
|
|
39455
39416
|
onKeyDown: function onKeyDown(e) {
|
|
39456
39417
|
return e.key === "Enter" && handleSubmit(e);
|
|
39457
39418
|
}
|
|
39458
|
-
})), showWalletCheckbox && /*#__PURE__*/React__default.createElement(
|
|
39459
|
-
tabIndex: "0",
|
|
39460
|
-
onFocus: function onFocus() {
|
|
39461
|
-
return focusCheckbox(true);
|
|
39462
|
-
},
|
|
39463
|
-
onBlur: function onBlur() {
|
|
39464
|
-
return focusCheckbox(false);
|
|
39465
|
-
},
|
|
39466
|
-
onKeyDown: function onKeyDown(e) {
|
|
39467
|
-
return handleClick(e, saveToWallet);
|
|
39468
|
-
}
|
|
39469
|
-
}, /*#__PURE__*/React__default.createElement(Checkbox$1, {
|
|
39419
|
+
})), showWalletCheckbox && /*#__PURE__*/React__default.createElement(Checkbox$1, {
|
|
39470
39420
|
name: "credit card checkbox",
|
|
39471
39421
|
title: "Save credit card to wallet",
|
|
39472
39422
|
checked: walletCheckboxMarked,
|
|
39473
|
-
onChange: saveToWallet
|
|
39474
|
-
|
|
39475
|
-
}))));
|
|
39423
|
+
onChange: saveToWallet
|
|
39424
|
+
})));
|
|
39476
39425
|
};
|
|
39477
39426
|
|
|
39478
39427
|
var formConfig$7 = {
|
|
@@ -39510,17 +39459,6 @@ PaymentFormCard.reducer = reducer$7;
|
|
|
39510
39459
|
PaymentFormCard.mapStateToProps = mapStateToProps$8;
|
|
39511
39460
|
PaymentFormCard.mapDispatchToProps = mapDispatchToProps$7;
|
|
39512
39461
|
|
|
39513
|
-
function _templateObject$E() {
|
|
39514
|
-
var data = _taggedTemplateLiteral(["\n outline: none;\n"]);
|
|
39515
|
-
|
|
39516
|
-
_templateObject$E = function _templateObject() {
|
|
39517
|
-
return data;
|
|
39518
|
-
};
|
|
39519
|
-
|
|
39520
|
-
return data;
|
|
39521
|
-
}
|
|
39522
|
-
var CheckboxWrapper$4 = styled__default.div(_templateObject$E());
|
|
39523
|
-
|
|
39524
39462
|
var PhoneForm = function PhoneForm(_ref) {
|
|
39525
39463
|
var _phoneErrorMessage;
|
|
39526
39464
|
|
|
@@ -39536,17 +39474,6 @@ var PhoneForm = function PhoneForm(_ref) {
|
|
|
39536
39474
|
saveToWallet = _ref.saveToWallet,
|
|
39537
39475
|
walletCheckboxMarked = _ref.walletCheckboxMarked;
|
|
39538
39476
|
|
|
39539
|
-
var _useState = React.useState(false),
|
|
39540
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
39541
|
-
checkboxFocused = _useState2[0],
|
|
39542
|
-
focusCheckbox = _useState2[1];
|
|
39543
|
-
|
|
39544
|
-
var handleClick = function handleClick(e, func) {
|
|
39545
|
-
if ((e === null || e === void 0 ? void 0 : e.keyCode) === 13) {
|
|
39546
|
-
func();
|
|
39547
|
-
}
|
|
39548
|
-
};
|
|
39549
|
-
|
|
39550
39477
|
if (clearOnDismount) {
|
|
39551
39478
|
React.useEffect(function () {
|
|
39552
39479
|
return function () {
|
|
@@ -39570,24 +39497,12 @@ var PhoneForm = function PhoneForm(_ref) {
|
|
|
39570
39497
|
onKeyUp: function onKeyUp(e) {
|
|
39571
39498
|
return e.key === "Enter" && handleSubmit(e);
|
|
39572
39499
|
}
|
|
39573
|
-
}), showWalletCheckbox && /*#__PURE__*/React__default.createElement(
|
|
39574
|
-
tabIndex: "0",
|
|
39575
|
-
onFocus: function onFocus() {
|
|
39576
|
-
return focusCheckbox(true);
|
|
39577
|
-
},
|
|
39578
|
-
onBlur: function onBlur() {
|
|
39579
|
-
return focusCheckbox(false);
|
|
39580
|
-
},
|
|
39581
|
-
onKeyDown: function onKeyDown(e) {
|
|
39582
|
-
return handleClick(e, saveToWallet);
|
|
39583
|
-
}
|
|
39584
|
-
}, /*#__PURE__*/React__default.createElement(Checkbox$1, {
|
|
39500
|
+
}), showWalletCheckbox && /*#__PURE__*/React__default.createElement(Checkbox$1, {
|
|
39585
39501
|
name: "phone checkbox",
|
|
39586
39502
|
title: "Save phone number to wallet",
|
|
39587
39503
|
checked: walletCheckboxMarked,
|
|
39588
|
-
onChange: saveToWallet
|
|
39589
|
-
|
|
39590
|
-
}))));
|
|
39504
|
+
onChange: saveToWallet
|
|
39505
|
+
})));
|
|
39591
39506
|
};
|
|
39592
39507
|
|
|
39593
39508
|
var formConfig$8 = {
|
|
@@ -39609,20 +39524,20 @@ PhoneForm.mapDispatchToProps = mapDispatchToProps$8;
|
|
|
39609
39524
|
var headingBackgroundColor$1 = "".concat(WHITE);
|
|
39610
39525
|
var headingDisabledColor = "".concat(ATHENS_GREY);
|
|
39611
39526
|
var bodyBackgroundColor$1 = "#eeeeee";
|
|
39612
|
-
var borderColor$
|
|
39527
|
+
var borderColor$3 = "".concat(GREY_CHATEAU);
|
|
39613
39528
|
var focusStyles = "outline: none;";
|
|
39614
|
-
var fallbackValues$
|
|
39529
|
+
var fallbackValues$z = {
|
|
39615
39530
|
headingBackgroundColor: headingBackgroundColor$1,
|
|
39616
39531
|
headingDisabledColor: headingDisabledColor,
|
|
39617
39532
|
bodyBackgroundColor: bodyBackgroundColor$1,
|
|
39618
|
-
borderColor: borderColor$
|
|
39533
|
+
borderColor: borderColor$3,
|
|
39619
39534
|
focusStyles: focusStyles
|
|
39620
39535
|
};
|
|
39621
39536
|
|
|
39622
|
-
function _templateObject$
|
|
39537
|
+
function _templateObject$A() {
|
|
39623
39538
|
var data = _taggedTemplateLiteral(["\n height: ", ";\n width: ", ";\n ", "\n transition: opacity 0.3s ease;\n "]);
|
|
39624
39539
|
|
|
39625
|
-
_templateObject$
|
|
39540
|
+
_templateObject$A = function _templateObject() {
|
|
39626
39541
|
return data;
|
|
39627
39542
|
};
|
|
39628
39543
|
|
|
@@ -39692,7 +39607,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
39692
39607
|
}
|
|
39693
39608
|
};
|
|
39694
39609
|
var borderStyles = "\n border-width: 0 0 1px 0;\n border-color: ".concat(themeValues.borderColor, ";\n border-style: solid;\n border-radius: 0px;\n transform-origin: 100% 0;\n\n &:last-child {\n border-width: 0;\n }\n ");
|
|
39695
|
-
var RightIcon = styled__default.img(_templateObject$
|
|
39610
|
+
var RightIcon = styled__default.img(_templateObject$A(), function (_ref2) {
|
|
39696
39611
|
var isMobile = _ref2.isMobile;
|
|
39697
39612
|
return isMobile ? "14px" : "18px";
|
|
39698
39613
|
}, function (_ref3) {
|
|
@@ -39802,7 +39717,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
39802
39717
|
})));
|
|
39803
39718
|
};
|
|
39804
39719
|
|
|
39805
|
-
var RadioSection$1 = themeComponent(RadioSection, "RadioSection", fallbackValues$
|
|
39720
|
+
var RadioSection$1 = themeComponent(RadioSection, "RadioSection", fallbackValues$z);
|
|
39806
39721
|
|
|
39807
39722
|
var RegistrationForm = function RegistrationForm(_ref) {
|
|
39808
39723
|
var _emailErrorMessages, _passwordErrorMessage;
|
|
@@ -40091,7 +40006,7 @@ var ResetPasswordSuccess = withWindowSize(ResetConfirmationForm$2);
|
|
|
40091
40006
|
var activeTabBackground = "#FFFFFF";
|
|
40092
40007
|
var activeTabAccent = "#15749D";
|
|
40093
40008
|
var activeTabHover = "#B8D5E1";
|
|
40094
|
-
var fallbackValues$
|
|
40009
|
+
var fallbackValues$A = {
|
|
40095
40010
|
activeTabBackground: activeTabBackground,
|
|
40096
40011
|
activeTabAccent: activeTabAccent,
|
|
40097
40012
|
activeTabHover: activeTabHover
|
|
@@ -40147,13 +40062,13 @@ var TabSidebar = function TabSidebar(_ref) {
|
|
|
40147
40062
|
})));
|
|
40148
40063
|
};
|
|
40149
40064
|
|
|
40150
|
-
var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$
|
|
40065
|
+
var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$A);
|
|
40151
40066
|
|
|
40152
40067
|
var backgroundColor$9 = {
|
|
40153
40068
|
"default": "#ffffff",
|
|
40154
40069
|
footer: "#ffffff"
|
|
40155
40070
|
};
|
|
40156
|
-
var linkColor$
|
|
40071
|
+
var linkColor$5 = {
|
|
40157
40072
|
"default": "#357fb8",
|
|
40158
40073
|
footer: "#ffffff"
|
|
40159
40074
|
};
|
|
@@ -40161,30 +40076,30 @@ var border$2 = {
|
|
|
40161
40076
|
"default": "#cdcdcd",
|
|
40162
40077
|
footer: "#cdcdcd"
|
|
40163
40078
|
};
|
|
40164
|
-
var fontSize$
|
|
40079
|
+
var fontSize$a = {
|
|
40165
40080
|
"default": "1rem",
|
|
40166
40081
|
footer: "0.875rem"
|
|
40167
40082
|
};
|
|
40168
|
-
var lineHeight$
|
|
40083
|
+
var lineHeight$6 = {
|
|
40169
40084
|
"default": "1.5rem",
|
|
40170
40085
|
footer: "1.25rem"
|
|
40171
40086
|
};
|
|
40172
|
-
var fontWeight$
|
|
40087
|
+
var fontWeight$8 = {
|
|
40173
40088
|
"default": FONT_WEIGHT_REGULAR,
|
|
40174
40089
|
footer: FONT_WEIGHT_SEMIBOLD
|
|
40175
40090
|
};
|
|
40176
|
-
var modalLinkHoverFocus$
|
|
40177
|
-
"default": "",
|
|
40091
|
+
var modalLinkHoverFocus$2 = {
|
|
40092
|
+
"default": "outline: none; text-decoration: underline;",
|
|
40178
40093
|
footer: "outline: none; text-decoration: underline;"
|
|
40179
40094
|
};
|
|
40180
|
-
var fallbackValues$
|
|
40095
|
+
var fallbackValues$B = {
|
|
40181
40096
|
backgroundColor: backgroundColor$9,
|
|
40182
|
-
linkColor: linkColor$
|
|
40097
|
+
linkColor: linkColor$5,
|
|
40183
40098
|
border: border$2,
|
|
40184
|
-
fontSize: fontSize$
|
|
40185
|
-
lineHeight: lineHeight$
|
|
40186
|
-
fontWeight: fontWeight$
|
|
40187
|
-
modalLinkHoverFocus: modalLinkHoverFocus$
|
|
40099
|
+
fontSize: fontSize$a,
|
|
40100
|
+
lineHeight: lineHeight$6,
|
|
40101
|
+
fontWeight: fontWeight$8,
|
|
40102
|
+
modalLinkHoverFocus: modalLinkHoverFocus$2
|
|
40188
40103
|
};
|
|
40189
40104
|
|
|
40190
40105
|
var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
@@ -40199,22 +40114,6 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
|
40199
40114
|
variant = _ref.variant,
|
|
40200
40115
|
themeValues = _ref.themeValues;
|
|
40201
40116
|
return /*#__PURE__*/React__default.createElement(Modal$1, {
|
|
40202
|
-
ModalLink: function ModalLink() {
|
|
40203
|
-
return /*#__PURE__*/React__default.createElement(Text$1, {
|
|
40204
|
-
variant: variant === "default" ? "pS" : "pXS",
|
|
40205
|
-
onClick: function onClick() {
|
|
40206
|
-
return toggleOpen(true);
|
|
40207
|
-
},
|
|
40208
|
-
color: themeValues.linkColor,
|
|
40209
|
-
weight: themeValues.fontWeight,
|
|
40210
|
-
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
40211
|
-
extraStyles: "cursor: pointer;",
|
|
40212
|
-
tabIndex: "0",
|
|
40213
|
-
onKeyPress: function onKeyPress(e) {
|
|
40214
|
-
return e.key === "Enter" && toggleOpen(true);
|
|
40215
|
-
}
|
|
40216
|
-
}, link);
|
|
40217
|
-
},
|
|
40218
40117
|
modalOpen: isOpen,
|
|
40219
40118
|
hideModal: function hideModal() {
|
|
40220
40119
|
return toggleOpen(false);
|
|
@@ -40238,32 +40137,23 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
|
40238
40137
|
toggleAccepted(true);
|
|
40239
40138
|
toggleOpen(false);
|
|
40240
40139
|
}
|
|
40241
|
-
}
|
|
40140
|
+
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
40141
|
+
variant: variant === "default" ? "pS" : "pXS",
|
|
40142
|
+
onClick: function onClick() {
|
|
40143
|
+
return toggleOpen(true);
|
|
40144
|
+
},
|
|
40145
|
+
onKeyPress: function onKeyPress(e) {
|
|
40146
|
+
return e.key === "Enter" && toggleOpen(true);
|
|
40147
|
+
},
|
|
40148
|
+
tabIndex: "0",
|
|
40149
|
+
color: themeValues.linkColor,
|
|
40150
|
+
weight: themeValues.fontWeight,
|
|
40151
|
+
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
40152
|
+
extraStyles: "cursor: pointer;"
|
|
40153
|
+
}, link));
|
|
40242
40154
|
};
|
|
40243
40155
|
|
|
40244
|
-
var TermsAndConditionsModal$1 = themeComponent(TermsAndConditionsModal, "TermsAndConditionsModal", fallbackValues$
|
|
40245
|
-
|
|
40246
|
-
function _templateObject2$m() {
|
|
40247
|
-
var data = _taggedTemplateLiteral([""]);
|
|
40248
|
-
|
|
40249
|
-
_templateObject2$m = function _templateObject2() {
|
|
40250
|
-
return data;
|
|
40251
|
-
};
|
|
40252
|
-
|
|
40253
|
-
return data;
|
|
40254
|
-
}
|
|
40255
|
-
|
|
40256
|
-
function _templateObject$G() {
|
|
40257
|
-
var data = _taggedTemplateLiteral(["\n outline: none;\n"]);
|
|
40258
|
-
|
|
40259
|
-
_templateObject$G = function _templateObject() {
|
|
40260
|
-
return data;
|
|
40261
|
-
};
|
|
40262
|
-
|
|
40263
|
-
return data;
|
|
40264
|
-
}
|
|
40265
|
-
var CheckboxWrapper$5 = styled__default.div(_templateObject$G());
|
|
40266
|
-
var ModalWrapper$1 = styled__default.div(_templateObject2$m());
|
|
40156
|
+
var TermsAndConditionsModal$1 = themeComponent(TermsAndConditionsModal, "TermsAndConditionsModal", fallbackValues$B, "default");
|
|
40267
40157
|
|
|
40268
40158
|
var TermsAndConditions = function TermsAndConditions(_ref) {
|
|
40269
40159
|
var onCheck = _ref.onCheck,
|
|
@@ -40278,54 +40168,24 @@ var TermsAndConditions = function TermsAndConditions(_ref) {
|
|
|
40278
40168
|
showTerms = _useState2[0],
|
|
40279
40169
|
toggleShowTerms = _useState2[1];
|
|
40280
40170
|
|
|
40281
|
-
var _useState3 = React.useState(false),
|
|
40282
|
-
_useState4 = _slicedToArray(_useState3, 2),
|
|
40283
|
-
checkboxFocused = _useState4[0],
|
|
40284
|
-
focusCheckbox = _useState4[1];
|
|
40285
|
-
|
|
40286
|
-
var handleClick = function handleClick(e, func) {
|
|
40287
|
-
if ((e === null || e === void 0 ? void 0 : e.keyCode) === 13) {
|
|
40288
|
-
func();
|
|
40289
|
-
}
|
|
40290
|
-
};
|
|
40291
|
-
|
|
40292
40171
|
return /*#__PURE__*/React__default.createElement(DisplayBox$1, null, /*#__PURE__*/React__default.createElement(Stack, {
|
|
40293
40172
|
direction: "row"
|
|
40294
|
-
}, /*#__PURE__*/React__default.createElement(CheckboxWrapper$5, {
|
|
40295
|
-
tabIndex: "0",
|
|
40296
|
-
onFocus: function onFocus() {
|
|
40297
|
-
return focusCheckbox(true);
|
|
40298
|
-
},
|
|
40299
|
-
onBlur: function onBlur() {
|
|
40300
|
-
return focusCheckbox(false);
|
|
40301
|
-
},
|
|
40302
|
-
onKeyDown: function onKeyDown(e) {
|
|
40303
|
-
return handleClick(e, onCheck);
|
|
40304
|
-
}
|
|
40305
40173
|
}, /*#__PURE__*/React__default.createElement(Checkbox$1, {
|
|
40306
40174
|
name: "terms",
|
|
40307
40175
|
error: error,
|
|
40308
40176
|
checked: isChecked,
|
|
40309
|
-
onChange: onCheck
|
|
40310
|
-
|
|
40311
|
-
})), /*#__PURE__*/React__default.createElement(Stack, null, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
40177
|
+
onChange: onCheck
|
|
40178
|
+
}), /*#__PURE__*/React__default.createElement(Stack, null, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
40312
40179
|
variant: "p",
|
|
40313
40180
|
fontWeight: FONT_WEIGHT_BOLD
|
|
40314
40181
|
}, "Terms and Conditions"), /*#__PURE__*/React__default.createElement(Box, {
|
|
40315
40182
|
padding: "0"
|
|
40316
|
-
}, html), terms && /*#__PURE__*/React__default.createElement(
|
|
40317
|
-
tabIndex: "0",
|
|
40318
|
-
onKeyDown: function onKeyDown(e) {
|
|
40319
|
-
return handleClick(e, function () {
|
|
40320
|
-
return toggleShowTerms(!showTerms);
|
|
40321
|
-
});
|
|
40322
|
-
}
|
|
40323
|
-
}, /*#__PURE__*/React__default.createElement(TermsAndConditionsModal$1, {
|
|
40183
|
+
}, html), terms && /*#__PURE__*/React__default.createElement(TermsAndConditionsModal$1, {
|
|
40324
40184
|
link: "Learn More",
|
|
40325
40185
|
terms: terms,
|
|
40326
40186
|
isOpen: showTerms,
|
|
40327
40187
|
toggleOpen: toggleShowTerms
|
|
40328
|
-
}))))
|
|
40188
|
+
}))));
|
|
40329
40189
|
};
|
|
40330
40190
|
|
|
40331
40191
|
var Timeout = function Timeout(_ref) {
|
|
@@ -40365,29 +40225,29 @@ var Timeout = function Timeout(_ref) {
|
|
|
40365
40225
|
|
|
40366
40226
|
var Timeout$1 = withWindowSize(Timeout);
|
|
40367
40227
|
|
|
40368
|
-
var fontWeight$
|
|
40228
|
+
var fontWeight$9 = "600";
|
|
40369
40229
|
var fontColor$1 = WHITE;
|
|
40370
40230
|
var textAlign$1 = "left";
|
|
40371
40231
|
var headerBackgroundColor = BRIGHT_GREY;
|
|
40372
40232
|
var imageBackgroundColor = MATISSE_BLUE;
|
|
40373
|
-
var fallbackValues$
|
|
40374
|
-
fontWeight: fontWeight$
|
|
40233
|
+
var fallbackValues$C = {
|
|
40234
|
+
fontWeight: fontWeight$9,
|
|
40375
40235
|
fontColor: fontColor$1,
|
|
40376
40236
|
textAlign: textAlign$1,
|
|
40377
40237
|
headerBackgroundColor: headerBackgroundColor,
|
|
40378
40238
|
imageBackgroundColor: imageBackgroundColor
|
|
40379
40239
|
};
|
|
40380
40240
|
|
|
40381
|
-
function _templateObject$
|
|
40241
|
+
function _templateObject$B() {
|
|
40382
40242
|
var data = _taggedTemplateLiteral(["\n width: auto;\n height: 215px;\n"]);
|
|
40383
40243
|
|
|
40384
|
-
_templateObject$
|
|
40244
|
+
_templateObject$B = function _templateObject() {
|
|
40385
40245
|
return data;
|
|
40386
40246
|
};
|
|
40387
40247
|
|
|
40388
40248
|
return data;
|
|
40389
40249
|
}
|
|
40390
|
-
var WelcomeImage = styled__default.img(_templateObject$
|
|
40250
|
+
var WelcomeImage = styled__default.img(_templateObject$B());
|
|
40391
40251
|
|
|
40392
40252
|
var WelcomeModule = function WelcomeModule(_ref) {
|
|
40393
40253
|
var heading = _ref.heading,
|
|
@@ -40423,7 +40283,7 @@ var WelcomeModule = function WelcomeModule(_ref) {
|
|
|
40423
40283
|
})))));
|
|
40424
40284
|
};
|
|
40425
40285
|
|
|
40426
|
-
var WelcomeModule$1 = /*#__PURE__*/React.memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$
|
|
40286
|
+
var WelcomeModule$1 = /*#__PURE__*/React.memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$C));
|
|
40427
40287
|
|
|
40428
40288
|
var WorkflowTile = function WorkflowTile(_ref) {
|
|
40429
40289
|
var _ref$workflowName = _ref.workflowName,
|
|
@@ -40471,7 +40331,7 @@ var WorkflowTile = function WorkflowTile(_ref) {
|
|
|
40471
40331
|
};
|
|
40472
40332
|
|
|
40473
40333
|
var pageBackground = "#F6F6F9";
|
|
40474
|
-
var fallbackValues$
|
|
40334
|
+
var fallbackValues$D = {
|
|
40475
40335
|
pageBackground: pageBackground
|
|
40476
40336
|
};
|
|
40477
40337
|
|
|
@@ -40518,7 +40378,7 @@ var CenterSingle = function CenterSingle(_ref) {
|
|
|
40518
40378
|
})));
|
|
40519
40379
|
};
|
|
40520
40380
|
|
|
40521
|
-
var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$
|
|
40381
|
+
var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$D));
|
|
40522
40382
|
|
|
40523
40383
|
var CenterStack = function CenterStack(_ref) {
|
|
40524
40384
|
var header = _ref.header,
|
|
@@ -40560,7 +40420,7 @@ var CenterStack = function CenterStack(_ref) {
|
|
|
40560
40420
|
})));
|
|
40561
40421
|
};
|
|
40562
40422
|
|
|
40563
|
-
var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$
|
|
40423
|
+
var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$D));
|
|
40564
40424
|
|
|
40565
40425
|
var CenterSingle$2 = function CenterSingle(_ref) {
|
|
40566
40426
|
var header = _ref.header,
|
|
@@ -40600,7 +40460,7 @@ var CenterSingle$2 = function CenterSingle(_ref) {
|
|
|
40600
40460
|
})));
|
|
40601
40461
|
};
|
|
40602
40462
|
|
|
40603
|
-
var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$
|
|
40463
|
+
var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$D));
|
|
40604
40464
|
|
|
40605
40465
|
var SidebarSingleContent = function SidebarSingleContent(_ref) {
|
|
40606
40466
|
var header = _ref.header,
|
|
@@ -40654,7 +40514,7 @@ var SidebarSingleContent = function SidebarSingleContent(_ref) {
|
|
|
40654
40514
|
})));
|
|
40655
40515
|
};
|
|
40656
40516
|
|
|
40657
|
-
var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$
|
|
40517
|
+
var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$D));
|
|
40658
40518
|
|
|
40659
40519
|
var SidebarStackContent = function SidebarStackContent(_ref) {
|
|
40660
40520
|
var header = _ref.header,
|
|
@@ -40725,7 +40585,7 @@ var SidebarStackContent = function SidebarStackContent(_ref) {
|
|
|
40725
40585
|
})));
|
|
40726
40586
|
};
|
|
40727
40587
|
|
|
40728
|
-
var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$
|
|
40588
|
+
var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$D));
|
|
40729
40589
|
|
|
40730
40590
|
|
|
40731
40591
|
|
|
@@ -40795,7 +40655,7 @@ exports.FormContainer = FormContainer$1;
|
|
|
40795
40655
|
exports.FormInput = FormInput$1;
|
|
40796
40656
|
exports.FormInputColumn = FormInputColumn;
|
|
40797
40657
|
exports.FormInputRow = FormInputRow;
|
|
40798
|
-
exports.FormSelect = FormSelect;
|
|
40658
|
+
exports.FormSelect = FormSelect$1;
|
|
40799
40659
|
exports.FormattedAddress = FormattedAddress$1;
|
|
40800
40660
|
exports.FormattedCreditCard = FormattedCreditCard$1;
|
|
40801
40661
|
exports.Frame = Frame;
|