@thecb/components 5.9.1 → 5.10.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 +350 -157
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +350 -157
- package/dist/index.esm.js.map +1 -1
- package/package.json +11 -11
- package/src/components/atoms/amount-callout/AmountCallout.theme.js +1 -1
- package/src/components/atoms/button-with-action/ButtonWithAction.js +2 -0
- package/src/components/atoms/button-with-link/ButtonWithLink.js +10 -1
- package/src/components/atoms/icons/AutopayOnIcon.js +4 -10
- package/src/components/atoms/layouts/Box.styled.js +3 -5
- package/src/components/atoms/layouts/Cluster.js +1 -1
- package/src/components/atoms/layouts/Cluster.styled.js +1 -1
- package/src/components/atoms/layouts/examples/cluster-example/ClusterExample.stories.js +5 -12
- package/src/components/atoms/layouts/examples/cover-example/CoverExample.stories.js +2 -6
- package/src/components/atoms/layouts/examples/grid-example/GridExample.stories.js +3 -6
- package/src/components/atoms/layouts/examples/sidebar-example/SidebarExample.stories.js +3 -6
- package/src/components/atoms/layouts/examples/stack-example/StackExample.stories.js +5 -12
- package/src/components/atoms/layouts/examples/switcher-example/SwitcherExample.stories.js +4 -9
- package/src/components/atoms/link/ExternalLink.js +2 -0
- package/src/components/atoms/link/InternalLink.js +2 -0
- package/src/components/atoms/placeholder/Placeholder.js +1 -1
- package/src/components/atoms/text/Text.js +2 -0
- package/src/components/atoms/text/Text.styled.js +1 -0
- package/src/components/molecules/obligation/Obligation.js +46 -16
- package/src/components/molecules/obligation/modules/AmountModule.js +1 -0
- package/src/components/molecules/obligation/modules/AutopayModalModule.js +80 -47
- package/src/components/molecules/obligation/modules/InactiveControlsModule.js +20 -10
- package/src/components/molecules/obligation/modules/InactiveTitleModule.js +2 -2
- package/src/components/molecules/obligation/modules/PaymentDetailsActions.js +8 -9
- package/src/components/molecules/obligation/modules/RemoveAccountModalModule.js +62 -0
- package/src/components/molecules/obligation/modules/index.js +3 -1
- package/src/components/molecules/payment-details/PaymentDetails.js +80 -7
- package/src/components/molecules/payment-details/PaymentDetails.stories.js +93 -3
- package/src/components/molecules/tab-sidebar/TabSidebar.js +3 -2
- package/src/components/molecules/workflow-tile/WorkflowTile.js +1 -0
- package/src/components/templates/center-single/CenterSingle.js +2 -1
- package/src/components/templates/center-stack/CenterStack.js +2 -1
- package/src/components/templates/default-page-template/DefaultPageTemplate.js +2 -1
- package/src/components/templates/sidebar-single-content/SidebarSingleContent.js +2 -1
- package/src/components/templates/sidebar-stack-content/SidebarStackContent.js +2 -1
- package/src/components/templates/templates.theme.js +1 -1
- package/src/constants/colors.js +10 -8
package/dist/index.esm.js
CHANGED
|
@@ -5892,25 +5892,34 @@ var AQUA_HAZE_WHITE = "#F7F9FA";
|
|
|
5892
5892
|
var BLEACH_WHITE = "#FEF4d7";
|
|
5893
5893
|
var CATSKILL_WHITE = "#EAF2F6"; // GREY
|
|
5894
5894
|
|
|
5895
|
-
var ATHENS_GREY = "#F6F6F9";
|
|
5895
|
+
var ATHENS_GREY = "#F6F6F9"; // CBS-100
|
|
5896
|
+
|
|
5896
5897
|
var ALTO_GREY = "#d1d1d1";
|
|
5897
5898
|
var SILVER_GREY = "#cdcdcd";
|
|
5898
5899
|
var PEWTER_GREY = "#DFE1E4";
|
|
5899
5900
|
var ASH_GREY = "#979797";
|
|
5900
5901
|
var IRON_GREY = "#d5d8dc";
|
|
5901
|
-
var GHOST_GREY = "#CACED8";
|
|
5902
|
+
var GHOST_GREY = "#CACED8"; // CBS-300
|
|
5903
|
+
|
|
5902
5904
|
var DUSTY_GREY = "#9B9B9B";
|
|
5903
5905
|
var REGENT_GREY = "#959EA7";
|
|
5904
|
-
var STORM_GREY = "#6D717E";
|
|
5906
|
+
var STORM_GREY = "#6D717E"; // CBS-700
|
|
5907
|
+
|
|
5905
5908
|
var TROUT_GREY = "#515660";
|
|
5906
5909
|
var MINESHAFT_GREY = "#333333";
|
|
5907
5910
|
var SOOT_GREY = "#999999";
|
|
5908
5911
|
var FIREFLY_GREY = "#091325";
|
|
5909
|
-
var BRIGHT_GREY = "#3B414D";
|
|
5910
|
-
|
|
5911
|
-
var
|
|
5912
|
+
var BRIGHT_GREY = "#3B414D"; // CBS-800
|
|
5913
|
+
|
|
5914
|
+
var CHARADE_GREY = "#292A33"; // CBS-900
|
|
5915
|
+
|
|
5916
|
+
var GRECIAN_GREY = "#E5E7EC"; // CBS-200
|
|
5917
|
+
|
|
5912
5918
|
var BLACK_SQUEEZE = "#EAF2F7";
|
|
5913
|
-
var GREY_CHATEAU = "#959CA8"; //
|
|
5919
|
+
var GREY_CHATEAU = "#959CA8"; // CBS-500
|
|
5920
|
+
|
|
5921
|
+
var COOL_GREY_05 = "#fbfcfd"; // CBS-050
|
|
5922
|
+
// BLUE
|
|
5914
5923
|
|
|
5915
5924
|
var CLOUDBURST_BLUE = "#26395c";
|
|
5916
5925
|
var ZODIAC_BLUE = "#14284b";
|
|
@@ -5944,7 +5953,7 @@ var MUSTARD_YELLOW = "#FFD459";
|
|
|
5944
5953
|
var FIRE_YELLOW = "#B34A00"; // ORANGE
|
|
5945
5954
|
|
|
5946
5955
|
var CARROT_ORANGE = "#ED9620";
|
|
5947
|
-
var ZEST_ORANGE = "#
|
|
5956
|
+
var ZEST_ORANGE = "#B84A00";
|
|
5948
5957
|
var APRICOT_ORANGE = "#FFE8D8"; // RED
|
|
5949
5958
|
|
|
5950
5959
|
var RED = "#FF0000";
|
|
@@ -6014,6 +6023,7 @@ var colors = /*#__PURE__*/Object.freeze({
|
|
|
6014
6023
|
BRIGHT_GREY: BRIGHT_GREY,
|
|
6015
6024
|
CHARADE_GREY: CHARADE_GREY,
|
|
6016
6025
|
GRECIAN_GREY: GRECIAN_GREY,
|
|
6026
|
+
COOL_GREY_05: COOL_GREY_05,
|
|
6017
6027
|
BLACK_SQUEEZE: BLACK_SQUEEZE,
|
|
6018
6028
|
GREY_CHATEAU: GREY_CHATEAU,
|
|
6019
6029
|
CLOUDBURST_BLUE: CLOUDBURST_BLUE,
|
|
@@ -6061,7 +6071,7 @@ var colors = /*#__PURE__*/Object.freeze({
|
|
|
6061
6071
|
var TextSpan = qe.span.withConfig({
|
|
6062
6072
|
displayName: "Textstyled__TextSpan",
|
|
6063
6073
|
componentId: "sc-1oy97we-0"
|
|
6064
|
-
})(["--font-size:", ";font-size:var(--font-size);line-height:calc(1.5 * var(--font-size));font-weight:", ";font-family:", ";color:", ";&:hover{", "}&:focus{outline:3px solid ", ";outline-offset:2px;}", " ", ""], function (_ref) {
|
|
6074
|
+
})(["--font-size:", ";font-size:var(--font-size);line-height:calc(1.5 * var(--font-size));font-weight:", ";font-family:", ";color:", ";white-space:", ";&:hover{", "}&:focus{outline:3px solid ", ";outline-offset:2px;}", " ", ""], function (_ref) {
|
|
6065
6075
|
var fontSize = _ref.fontSize;
|
|
6066
6076
|
return fontSize;
|
|
6067
6077
|
}, function (_ref2) {
|
|
@@ -6074,14 +6084,17 @@ var TextSpan = qe.span.withConfig({
|
|
|
6074
6084
|
var color = _ref4.color;
|
|
6075
6085
|
return color;
|
|
6076
6086
|
}, function (_ref5) {
|
|
6077
|
-
var
|
|
6087
|
+
var $textWrap = _ref5.$textWrap;
|
|
6088
|
+
return $textWrap ? "initial" : "nowrap";
|
|
6089
|
+
}, function (_ref6) {
|
|
6090
|
+
var hoverStyles = _ref6.hoverStyles;
|
|
6078
6091
|
return Ae(["", ""], hoverStyles);
|
|
6079
|
-
}, ROYAL_BLUE, function (
|
|
6080
|
-
var disabled =
|
|
6081
|
-
disabledStyles =
|
|
6092
|
+
}, ROYAL_BLUE, function (_ref7) {
|
|
6093
|
+
var disabled = _ref7.disabled,
|
|
6094
|
+
disabledStyles = _ref7.disabledStyles;
|
|
6082
6095
|
return disabled && Ae(["", ""], disabledStyles);
|
|
6083
|
-
}, function (
|
|
6084
|
-
var extraStyles =
|
|
6096
|
+
}, function (_ref8) {
|
|
6097
|
+
var extraStyles = _ref8.extraStyles;
|
|
6085
6098
|
return extraStyles;
|
|
6086
6099
|
});
|
|
6087
6100
|
|
|
@@ -7207,7 +7220,7 @@ var general = /*#__PURE__*/Object.freeze({
|
|
|
7207
7220
|
screenReaderOnlyStyle: screenReaderOnlyStyle
|
|
7208
7221
|
});
|
|
7209
7222
|
|
|
7210
|
-
var _excluded$1 = ["themeValues", "weight", "color", "extraStyles", "hoverStyles", "onClick", "onKeyPress", "as", "dataQa", "children"];
|
|
7223
|
+
var _excluded$1 = ["themeValues", "weight", "color", "textWrap", "extraStyles", "hoverStyles", "onClick", "onKeyPress", "as", "dataQa", "children"];
|
|
7211
7224
|
|
|
7212
7225
|
var Text = function Text(_ref) {
|
|
7213
7226
|
var themeValues = _ref.themeValues,
|
|
@@ -7215,6 +7228,8 @@ var Text = function Text(_ref) {
|
|
|
7215
7228
|
weight = _ref$weight === void 0 ? FONT_WEIGHT_REGULAR : _ref$weight,
|
|
7216
7229
|
_ref$color = _ref.color,
|
|
7217
7230
|
color = _ref$color === void 0 ? FIREFLY_GREY : _ref$color,
|
|
7231
|
+
_ref$textWrap = _ref.textWrap,
|
|
7232
|
+
textWrap = _ref$textWrap === void 0 ? true : _ref$textWrap,
|
|
7218
7233
|
_ref$extraStyles = _ref.extraStyles,
|
|
7219
7234
|
extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
|
|
7220
7235
|
hoverStyles = _ref.hoverStyles,
|
|
@@ -7235,7 +7250,8 @@ var Text = function Text(_ref) {
|
|
|
7235
7250
|
hoverStyles: hoverStyles,
|
|
7236
7251
|
onClick: onClick,
|
|
7237
7252
|
onKeyPress: onKeyPress,
|
|
7238
|
-
"data-qa": dataQa
|
|
7253
|
+
"data-qa": dataQa,
|
|
7254
|
+
$textWrap: textWrap
|
|
7239
7255
|
}, rest), safeChildren(children, /*#__PURE__*/React.createElement("span", null)));
|
|
7240
7256
|
};
|
|
7241
7257
|
|
|
@@ -7279,13 +7295,14 @@ var BoxWrapper = qe(function (_ref) {
|
|
|
7279
7295
|
}).withConfig({
|
|
7280
7296
|
displayName: "Boxstyled__BoxWrapper",
|
|
7281
7297
|
componentId: "sc-1f9ij0d-0"
|
|
7282
|
-
})(["position:relative;box-sizing:border-box;padding:", ";border:", ";box-shadow:", ";background-color:", ";min-height:", ";", " min-width:", ";max-width:", ";color:", ";border-radius:", ";border-width:", ";
|
|
7298
|
+
})(["position:relative;box-sizing:border-box;padding:", ";border:", ";box-shadow:", ";background-color:", ";min-height:", ";", " min-width:", ";max-width:", ";color:", ";border-radius:", ";border-width:", ";text-align:", ";&:hover{", "}&:focus{", "}&:active{", "}&:disabled{", "}& *{color:", ";}", " ", ""], function (_ref2) {
|
|
7283
7299
|
var padding = _ref2.padding;
|
|
7284
7300
|
return padding;
|
|
7285
7301
|
}, function (_ref3) {
|
|
7286
|
-
var
|
|
7302
|
+
var border = _ref3.border,
|
|
7303
|
+
borderSize = _ref3.borderSize,
|
|
7287
7304
|
borderColor = _ref3.borderColor;
|
|
7288
|
-
return "".concat(borderSize, " solid ").concat(borderColor);
|
|
7305
|
+
return border ? border : "".concat(borderSize, " solid ").concat(borderColor);
|
|
7289
7306
|
}, function (_ref4) {
|
|
7290
7307
|
var boxShadow = _ref4.boxShadow;
|
|
7291
7308
|
return boxShadow;
|
|
@@ -7311,38 +7328,34 @@ var BoxWrapper = qe(function (_ref) {
|
|
|
7311
7328
|
var borderRadius = _ref11.borderRadius;
|
|
7312
7329
|
return borderRadius;
|
|
7313
7330
|
}, function (_ref12) {
|
|
7314
|
-
var borderWidthOverride = _ref12.borderWidthOverride
|
|
7315
|
-
|
|
7316
|
-
return borderWidthOverride ? borderWidthOverride : borderSize;
|
|
7331
|
+
var borderWidthOverride = _ref12.borderWidthOverride;
|
|
7332
|
+
return borderWidthOverride;
|
|
7317
7333
|
}, function (_ref13) {
|
|
7318
|
-
var
|
|
7319
|
-
return border;
|
|
7320
|
-
}, function (_ref14) {
|
|
7321
|
-
var textAlign = _ref14.textAlign;
|
|
7334
|
+
var textAlign = _ref13.textAlign;
|
|
7322
7335
|
return textAlign;
|
|
7323
|
-
}, function (
|
|
7324
|
-
var hoverStyles =
|
|
7325
|
-
as =
|
|
7336
|
+
}, function (_ref14) {
|
|
7337
|
+
var hoverStyles = _ref14.hoverStyles,
|
|
7338
|
+
as = _ref14.as;
|
|
7326
7339
|
return Ae(["", " ", ""], hoverStyles, as === "button" ? "> * > span {\n ".concat(hoverStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
|
|
7327
|
-
}, function (
|
|
7328
|
-
var as =
|
|
7340
|
+
}, function (_ref15) {
|
|
7341
|
+
var as = _ref15.as;
|
|
7329
7342
|
return Ae(["outline:3px solid ", ";outline-offset:2px;", ""], ROYAL_BLUE, as === "button" && "\n > * > span {\n border: none;\n outline: none;\n box-shadow: none;\n }");
|
|
7343
|
+
}, function (_ref16) {
|
|
7344
|
+
var activeStyles = _ref16.activeStyles,
|
|
7345
|
+
as = _ref16.as;
|
|
7346
|
+
return Ae(["", " ", ""], activeStyles, as === "button" ? " > * > span {\n ".concat(activeStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
|
|
7330
7347
|
}, function (_ref17) {
|
|
7331
|
-
var
|
|
7348
|
+
var disabledStyles = _ref17.disabledStyles,
|
|
7332
7349
|
as = _ref17.as;
|
|
7333
|
-
return Ae(["", " ", ""], activeStyles, as === "button" ? " > * > span {\n ".concat(activeStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
|
|
7334
|
-
}, function (_ref18) {
|
|
7335
|
-
var disabledStyles = _ref18.disabledStyles,
|
|
7336
|
-
as = _ref18.as;
|
|
7337
7350
|
return Ae(["", " ", ""], disabledStyles, as === "button" ? " > * > span {\n ".concat(disabledStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
|
|
7338
|
-
}, function (
|
|
7339
|
-
var color =
|
|
7351
|
+
}, function (_ref18) {
|
|
7352
|
+
var color = _ref18.color;
|
|
7340
7353
|
return color;
|
|
7341
|
-
}, function (
|
|
7342
|
-
var hiddenStyles =
|
|
7354
|
+
}, function (_ref19) {
|
|
7355
|
+
var hiddenStyles = _ref19.hiddenStyles;
|
|
7343
7356
|
return hiddenStyles && Ae(["display:none;"]);
|
|
7344
|
-
}, function (
|
|
7345
|
-
var extraStyles =
|
|
7357
|
+
}, function (_ref20) {
|
|
7358
|
+
var extraStyles = _ref20.extraStyles;
|
|
7346
7359
|
return Ae(["", ""], extraStyles);
|
|
7347
7360
|
});
|
|
7348
7361
|
/* eslint-enable no-unused-vars */
|
|
@@ -7500,8 +7513,8 @@ var ClusterInnerWrapper = qe.div.withConfig({
|
|
|
7500
7513
|
displayName: "Clusterstyled__ClusterInnerWrapper",
|
|
7501
7514
|
componentId: "sc-1dkqsm7-1"
|
|
7502
7515
|
})(["box-sizing:border-box;display:flex;flex-wrap:", ";justify-content:", ";align-items:", ";margin:calc(", " / 2 * -1);min-height:", ";min-width:", ";> *{margin:calc(", " / 2);}"], function (_ref7) {
|
|
7503
|
-
var nowrap = _ref7
|
|
7504
|
-
return nowrap ? "nowrap" : "wrap";
|
|
7516
|
+
var $nowrap = _ref7.$nowrap;
|
|
7517
|
+
return $nowrap ? "nowrap" : "wrap";
|
|
7505
7518
|
}, function (_ref8) {
|
|
7506
7519
|
var justify = _ref8.justify;
|
|
7507
7520
|
return justify;
|
|
@@ -7561,7 +7574,7 @@ var Cluster = function Cluster(_ref) {
|
|
|
7561
7574
|
childGap: childGap,
|
|
7562
7575
|
minHeight: minHeight,
|
|
7563
7576
|
minWidth: minWidth,
|
|
7564
|
-
nowrap: nowrap
|
|
7577
|
+
$nowrap: nowrap
|
|
7565
7578
|
}, safeChildren(children, /*#__PURE__*/React.createElement(Fragment$1, null))));
|
|
7566
7579
|
};
|
|
7567
7580
|
|
|
@@ -13568,7 +13581,7 @@ var SpinnerIcon = function SpinnerIcon(_ref3) {
|
|
|
13568
13581
|
}))))));
|
|
13569
13582
|
};
|
|
13570
13583
|
|
|
13571
|
-
var _excluded$h = ["action", "variant", "text", "isLoading", "dataQa", "textExtraStyles", "contentOverride", "extraStyles", "tabIndex", "children"];
|
|
13584
|
+
var _excluded$h = ["action", "variant", "text", "textWrap", "isLoading", "dataQa", "textExtraStyles", "contentOverride", "extraStyles", "tabIndex", "children"];
|
|
13572
13585
|
var rotate$1 = posed.div({
|
|
13573
13586
|
fixed: {
|
|
13574
13587
|
rotate: "0deg"
|
|
@@ -13625,6 +13638,8 @@ var ButtonWithAction = function ButtonWithAction(_ref2) {
|
|
|
13625
13638
|
_ref2$variant = _ref2.variant,
|
|
13626
13639
|
variant = _ref2$variant === void 0 ? "primary" : _ref2$variant,
|
|
13627
13640
|
text = _ref2.text,
|
|
13641
|
+
_ref2$textWrap = _ref2.textWrap,
|
|
13642
|
+
textWrap = _ref2$textWrap === void 0 ? false : _ref2$textWrap,
|
|
13628
13643
|
_ref2$isLoading = _ref2.isLoading,
|
|
13629
13644
|
isLoading = _ref2$isLoading === void 0 ? false : _ref2$isLoading,
|
|
13630
13645
|
_ref2$dataQa = _ref2.dataQa,
|
|
@@ -13669,6 +13684,7 @@ var ButtonWithAction = function ButtonWithAction(_ref2) {
|
|
|
13669
13684
|
weight: themeValues.fontWeight,
|
|
13670
13685
|
variant: themeValues.fontSizeVariant,
|
|
13671
13686
|
color: themeValues.color,
|
|
13687
|
+
textWrap: textWrap,
|
|
13672
13688
|
extraStyles: textExtraStyles
|
|
13673
13689
|
}, text)));
|
|
13674
13690
|
};
|
|
@@ -14849,8 +14865,7 @@ var TimeoutImage = function TimeoutImage() {
|
|
|
14849
14865
|
})))));
|
|
14850
14866
|
};
|
|
14851
14867
|
|
|
14852
|
-
var AutopayOnIcon = function AutopayOnIcon(
|
|
14853
|
-
var themeValues = _ref.themeValues;
|
|
14868
|
+
var AutopayOnIcon = function AutopayOnIcon() {
|
|
14854
14869
|
return /*#__PURE__*/React.createElement("svg", {
|
|
14855
14870
|
xmlns: "http://www.w3.org/2000/svg",
|
|
14856
14871
|
width: "12",
|
|
@@ -14863,14 +14878,12 @@ var AutopayOnIcon = function AutopayOnIcon(_ref) {
|
|
|
14863
14878
|
strokeWidth: "1"
|
|
14864
14879
|
}, /*#__PURE__*/React.createElement("path", {
|
|
14865
14880
|
className: "autopayIcon",
|
|
14866
|
-
fill:
|
|
14881
|
+
fill: SEA_GREEN,
|
|
14867
14882
|
fillRule: "nonzero",
|
|
14868
14883
|
d: "M1.898 5.75c.079 0 .141-.02.188-.059a.281.281 0 00.094-.152 3.825 3.825 0 011.394-2.144A3.838 3.838 0 016 2.563c.5 0 .98.09 1.441.27.461.179.88.44 1.254.784l-.984.985A.542.542 0 007.547 5c0 .156.055.29.164.398.11.11.242.165.398.165h3.141c.156 0 .289-.055.398-.165A.542.542 0 0011.812 5V1.86a.542.542 0 00-.164-.399.542.542 0 00-.398-.164.542.542 0 00-.398.164l-.844.844A5.699 5.699 0 006 .688c-.938 0-1.809.207-2.613.62-.805.415-1.48.981-2.028 1.7A5.726 5.726 0 00.281 5.422a.265.265 0 00.059.223c.055.07.129.105.222.105h1.336zM6 12.312c.937 0 1.809-.207 2.613-.62a5.919 5.919 0 002.028-1.7 5.726 5.726 0 001.078-2.414.265.265 0 00-.059-.223.267.267 0 00-.223-.105h-1.335c-.079 0-.141.02-.188.059a.281.281 0 00-.094.152 3.825 3.825 0 01-1.394 2.144c-.711.555-1.52.833-2.426.833-.5 0-.98-.09-1.441-.27a3.985 3.985 0 01-1.254-.785l.984-.985A.542.542 0 004.453 8a.542.542 0 00-.164-.398.542.542 0 00-.398-.164H.75a.542.542 0 00-.398.164A.542.542 0 00.187 8v3.14c0 .157.055.29.165.4.109.108.242.163.398.163.156 0 .29-.055.398-.164l.844-.844A5.699 5.699 0 006 12.312z"
|
|
14869
14884
|
})));
|
|
14870
14885
|
};
|
|
14871
14886
|
|
|
14872
|
-
var AutopayOnIcon$1 = themeComponent(AutopayOnIcon, "Icons", fallbackValues$2, "primary");
|
|
14873
|
-
|
|
14874
14887
|
var NotFoundIcon = function NotFoundIcon() {
|
|
14875
14888
|
return /*#__PURE__*/React.createElement("svg", {
|
|
14876
14889
|
width: "548px",
|
|
@@ -17034,7 +17047,7 @@ var Title = function Title(_ref) {
|
|
|
17034
17047
|
|
|
17035
17048
|
var Title$1 = themeComponent(Title, "Title", fallbacks, "large");
|
|
17036
17049
|
|
|
17037
|
-
var color$3 = "#
|
|
17050
|
+
var color$3 = "#292A33";
|
|
17038
17051
|
var fallbackValues$6 = {
|
|
17039
17052
|
color: color$3
|
|
17040
17053
|
};
|
|
@@ -18001,6 +18014,7 @@ var ExternalLink = function ExternalLink(_ref) {
|
|
|
18001
18014
|
variant = _ref$variant === void 0 ? "primary" : _ref$variant,
|
|
18002
18015
|
_ref$tabIndex = _ref.tabIndex,
|
|
18003
18016
|
tabIndex = _ref$tabIndex === void 0 ? "0" : _ref$tabIndex,
|
|
18017
|
+
dataQa = _ref.dataQa,
|
|
18004
18018
|
children = _ref.children;
|
|
18005
18019
|
var themeContext = useContext(Me);
|
|
18006
18020
|
var themeValues = createThemeValues(themeContext, fallbackValues$9, "Link", variant);
|
|
@@ -18016,7 +18030,8 @@ var ExternalLink = function ExternalLink(_ref) {
|
|
|
18016
18030
|
fontFamily: themeValues.fontFamily,
|
|
18017
18031
|
tabIndex: tabIndex,
|
|
18018
18032
|
extrastyles: extraStyles,
|
|
18019
|
-
rel: newTab ? "noopener" : ""
|
|
18033
|
+
rel: newTab ? "noopener" : "",
|
|
18034
|
+
"data-qa": dataQa
|
|
18020
18035
|
}, safeChildren(children, /*#__PURE__*/React.createElement("span", null)));
|
|
18021
18036
|
};
|
|
18022
18037
|
|
|
@@ -18086,6 +18101,7 @@ var InternalLink = function InternalLink(_ref) {
|
|
|
18086
18101
|
margin = _ref.margin,
|
|
18087
18102
|
_ref$tabIndex = _ref.tabIndex,
|
|
18088
18103
|
tabIndex = _ref$tabIndex === void 0 ? "0" : _ref$tabIndex,
|
|
18104
|
+
dataQa = _ref.dataQa,
|
|
18089
18105
|
_ref$extraStyles = _ref.extraStyles,
|
|
18090
18106
|
extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles;
|
|
18091
18107
|
var themeContext = useContext(Me);
|
|
@@ -18102,7 +18118,8 @@ var InternalLink = function InternalLink(_ref) {
|
|
|
18102
18118
|
hoverColor: themeValues.hoverColor,
|
|
18103
18119
|
activeColor: themeValues.activeColor,
|
|
18104
18120
|
tabIndex: tabIndex,
|
|
18105
|
-
extrastyles: extraStyles
|
|
18121
|
+
extrastyles: extraStyles,
|
|
18122
|
+
"data-qa": dataQa
|
|
18106
18123
|
}, safeChildren(children, /*#__PURE__*/React.createElement("span", null)));
|
|
18107
18124
|
};
|
|
18108
18125
|
|
|
@@ -19715,7 +19732,7 @@ _curry2(function test(pattern, str) {
|
|
|
19715
19732
|
|
|
19716
19733
|
var URL_TEST = /(([a-z]{3,6}:\/\/)|(^|\s))([a-zA-Z0-9\-]+\.)+[a-z]{2,13}[\.\?\=\&\%\/\w\-]*\b([^@]|$)/;
|
|
19717
19734
|
|
|
19718
|
-
var _excluded$m = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab"];
|
|
19735
|
+
var _excluded$m = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab", "dataQa"];
|
|
19719
19736
|
|
|
19720
19737
|
var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
19721
19738
|
var _ref$url = _ref.url,
|
|
@@ -19728,6 +19745,7 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
|
19728
19745
|
linkExtraStyles = _ref.linkExtraStyles,
|
|
19729
19746
|
_ref$newTab = _ref.newTab,
|
|
19730
19747
|
newTab = _ref$newTab === void 0 ? false : _ref$newTab,
|
|
19748
|
+
dataQa = _ref.dataQa,
|
|
19731
19749
|
otherProps = _objectWithoutProperties(_ref, _excluded$m);
|
|
19732
19750
|
|
|
19733
19751
|
var ButtonWithLinkWrapper = function ButtonWithLinkWrapper(_ref2) {
|
|
@@ -19735,6 +19753,7 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
|
19735
19753
|
url = _ref2.url,
|
|
19736
19754
|
disabled = _ref2.disabled,
|
|
19737
19755
|
newTab = _ref2.newTab,
|
|
19756
|
+
dataQa = _ref2.dataQa,
|
|
19738
19757
|
extraStyles = _ref2.extraStyles;
|
|
19739
19758
|
|
|
19740
19759
|
if (disabled) {
|
|
@@ -19745,10 +19764,12 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
|
19745
19764
|
href: url,
|
|
19746
19765
|
tabIndex: "-1",
|
|
19747
19766
|
newTab: newTab,
|
|
19748
|
-
extraStyles: extraStyles
|
|
19767
|
+
extraStyles: extraStyles,
|
|
19768
|
+
dataQa: dataQa
|
|
19749
19769
|
}, safeChildren(children, /*#__PURE__*/React.createElement("span", null))) : /*#__PURE__*/React.createElement(InternalLink, {
|
|
19750
19770
|
to: url,
|
|
19751
19771
|
tabIndex: "-1",
|
|
19772
|
+
dataQa: dataQa,
|
|
19752
19773
|
extraStyles: extraStyles
|
|
19753
19774
|
}, safeChildren(children, /*#__PURE__*/React.createElement("span", null)));
|
|
19754
19775
|
};
|
|
@@ -19757,7 +19778,8 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
|
19757
19778
|
url: url,
|
|
19758
19779
|
disabled: disabled,
|
|
19759
19780
|
newTab: newTab,
|
|
19760
|
-
extraStyles: "".concat(linkExtraStyles, " text-decoration: none; &:hover {\n text-decoration: none; }")
|
|
19781
|
+
extraStyles: "".concat(linkExtraStyles, " text-decoration: none; &:hover {\n text-decoration: none; }"),
|
|
19782
|
+
dataQa: dataQa
|
|
19761
19783
|
}, /*#__PURE__*/React.createElement(ButtonWithAction, _extends({}, otherProps, {
|
|
19762
19784
|
extraStyles: extraStyles
|
|
19763
19785
|
})));
|
|
@@ -23169,7 +23191,7 @@ var PlaceholderContentWrapper = function PlaceholderContentWrapper(_ref) {
|
|
|
23169
23191
|
dataQa = _ref.dataQa;
|
|
23170
23192
|
return isLink ? /*#__PURE__*/React.createElement(Link, {
|
|
23171
23193
|
to: destination,
|
|
23172
|
-
|
|
23194
|
+
"data-qa": dataQa
|
|
23173
23195
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
23174
23196
|
padding: "0",
|
|
23175
23197
|
minHeight: "100%",
|
|
@@ -40323,15 +40345,19 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
40323
40345
|
modalOpen = _ref.modalOpen,
|
|
40324
40346
|
deactivatePaymentSchedule = _ref.deactivatePaymentSchedule,
|
|
40325
40347
|
navigateToSettings = _ref.navigateToSettings,
|
|
40326
|
-
|
|
40348
|
+
_ref$controlType = _ref.controlType,
|
|
40349
|
+
controlType = _ref$controlType === void 0 ? "tertiary" : _ref$controlType,
|
|
40327
40350
|
isMobile = _ref.isMobile,
|
|
40328
40351
|
themeValues = _ref.themeValues,
|
|
40329
40352
|
isPaymentPlan = _ref.isPaymentPlan,
|
|
40330
|
-
nextAutopayDate = _ref.nextAutopayDate
|
|
40353
|
+
nextAutopayDate = _ref.nextAutopayDate,
|
|
40354
|
+
dueDate = _ref.dueDate,
|
|
40355
|
+
inactive = _ref.inactive;
|
|
40331
40356
|
var planType = isPaymentPlan ? "Payment Plan" : "Autopay";
|
|
40357
|
+
var nextDate = dueDate || nextAutopayDate;
|
|
40332
40358
|
var modalExtraProps = {
|
|
40333
40359
|
modalHeaderText: autoPayActive ? "Deactivate ".concat(planType) : "Set Up ".concat(planType),
|
|
40334
|
-
modalBodyText: autoPayActive ? "Are you sure you want to deactivate ".concat(isPaymentPlan ? "your payment plan" : "autopay", "?
|
|
40360
|
+
modalBodyText: autoPayActive ? "Are you sure you want to deactivate ".concat(isPaymentPlan ? "your payment plan" : "autopay", "? ").concat(!inactive && nextDate ? "Your next payment will be due on ".concat(nextDate, ".") : "") : "To set up ".concat(isPaymentPlan ? "a payment plan" : "autopay", " you must save a payment method and address in your profile. Do you want to save these now?"),
|
|
40335
40361
|
continueButtonText: autoPayActive ? "Disable ".concat(planType) : "Add to Profile",
|
|
40336
40362
|
useDangerButton: autoPayActive,
|
|
40337
40363
|
continueAction: autoPayActive ? function () {
|
|
@@ -40342,6 +40368,67 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
40342
40368
|
var hoverStyles = "\n &:hover {\n .autopayIcon { fill: ".concat(themeValues.hoverColor, "; text-decoration: underline; cursor: pointer; }\n }");
|
|
40343
40369
|
var activeStyles = "\n &:active {\n .autopayIcon { fill: ".concat(themeValues.activeColor, "; text-decoration: underline; }\n }");
|
|
40344
40370
|
var defaultStyles = "\n .autopayIcon { fill: ".concat(themeValues.color, "; text-decoration: underline; }\n ");
|
|
40371
|
+
|
|
40372
|
+
var renderAutoPayControl = function renderAutoPayControl() {
|
|
40373
|
+
switch (controlType) {
|
|
40374
|
+
case "secondary":
|
|
40375
|
+
{
|
|
40376
|
+
return /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
40377
|
+
text: autoPayActive ? "Turn off ".concat(planType) : "Set Up ".concat(planType),
|
|
40378
|
+
variant: "secondary",
|
|
40379
|
+
action: function action() {
|
|
40380
|
+
toggleModal(true);
|
|
40381
|
+
},
|
|
40382
|
+
dataQa: "Turn off Autopay",
|
|
40383
|
+
extraStyles: isMobile ? "flex-grow: 1; width: 100%; margin: 0;" : "flex-grow: 1; min-width: 165px;"
|
|
40384
|
+
});
|
|
40385
|
+
}
|
|
40386
|
+
|
|
40387
|
+
case "tertiary":
|
|
40388
|
+
{
|
|
40389
|
+
return /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
40390
|
+
text: autoPayActive ? "Manage ".concat(planType) : "Set Up ".concat(planType),
|
|
40391
|
+
variant: "tertiary",
|
|
40392
|
+
action: function action() {
|
|
40393
|
+
toggleModal(true);
|
|
40394
|
+
},
|
|
40395
|
+
dataQa: "Manage Autopay",
|
|
40396
|
+
extraStyles: isMobile && "flex-grow: 1; width: 100%;"
|
|
40397
|
+
});
|
|
40398
|
+
}
|
|
40399
|
+
|
|
40400
|
+
case "link":
|
|
40401
|
+
{
|
|
40402
|
+
return /*#__PURE__*/React.createElement(Box, {
|
|
40403
|
+
padding: "0",
|
|
40404
|
+
onClick: function onClick() {
|
|
40405
|
+
toggleModal(true);
|
|
40406
|
+
},
|
|
40407
|
+
hoverStyles: hoverStyles,
|
|
40408
|
+
activeStyles: activeStyles,
|
|
40409
|
+
extraStyles: defaultStyles
|
|
40410
|
+
}, /*#__PURE__*/React.createElement(Cluster, {
|
|
40411
|
+
justify: isMobile ? "flex-start" : "flex-end",
|
|
40412
|
+
align: "center"
|
|
40413
|
+
}, /*#__PURE__*/React.createElement(AutopayOnIcon, null), /*#__PURE__*/React.createElement(Text$1, {
|
|
40414
|
+
variant: "pS",
|
|
40415
|
+
onClick: function onClick() {
|
|
40416
|
+
return toggleModal(true);
|
|
40417
|
+
},
|
|
40418
|
+
onKeyPress: function onKeyPress(e) {
|
|
40419
|
+
e.key === "Enter" && toggleModal(true);
|
|
40420
|
+
},
|
|
40421
|
+
tabIndex: "0",
|
|
40422
|
+
dataQa: "".concat(planType, " On"),
|
|
40423
|
+
color: SEA_GREEN,
|
|
40424
|
+
weight: themeValues.fontWeight,
|
|
40425
|
+
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
40426
|
+
extraStyles: "padding-left: 0.25rem;"
|
|
40427
|
+
}, "".concat(planType, " ").concat(nextAutopayDate))));
|
|
40428
|
+
}
|
|
40429
|
+
}
|
|
40430
|
+
};
|
|
40431
|
+
|
|
40345
40432
|
return /*#__PURE__*/React.createElement(Modal$1, _extends({
|
|
40346
40433
|
showModal: function showModal() {
|
|
40347
40434
|
return toggleModal(true);
|
|
@@ -40350,43 +40437,7 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
40350
40437
|
return toggleModal(false);
|
|
40351
40438
|
},
|
|
40352
40439
|
modalOpen: modalOpen
|
|
40353
|
-
}, modalExtraProps),
|
|
40354
|
-
text: autoPayActive ? "Manage ".concat(planType) : "Set Up ".concat(planType),
|
|
40355
|
-
variant: "tertiary",
|
|
40356
|
-
action: function action() {
|
|
40357
|
-
toggleModal(true);
|
|
40358
|
-
},
|
|
40359
|
-
dataQa: "Manage Autopay",
|
|
40360
|
-
extraStyles: isMobile && "flex-grow: 1; width: 100%;"
|
|
40361
|
-
}) : /*#__PURE__*/React.createElement(Box, {
|
|
40362
|
-
padding: "0",
|
|
40363
|
-
onClick: function onClick() {
|
|
40364
|
-
toggleModal(true);
|
|
40365
|
-
},
|
|
40366
|
-
hoverStyles: hoverStyles,
|
|
40367
|
-
activeStyles: activeStyles,
|
|
40368
|
-
extraStyles: defaultStyles
|
|
40369
|
-
}, /*#__PURE__*/React.createElement(Cluster, {
|
|
40370
|
-
justify: isMobile ? "flex-start" : "flex-end",
|
|
40371
|
-
align: "center"
|
|
40372
|
-
}, /*#__PURE__*/React.createElement(AutopayOnIcon$1, null), /*#__PURE__*/React.createElement(Text$1, {
|
|
40373
|
-
variant: "pS",
|
|
40374
|
-
onClick: function onClick() {
|
|
40375
|
-
return toggleModal(true);
|
|
40376
|
-
},
|
|
40377
|
-
onKeyPress: function onKeyPress(e) {
|
|
40378
|
-
console.log({
|
|
40379
|
-
e: e
|
|
40380
|
-
});
|
|
40381
|
-
e.key === "Enter" && toggleModal(true);
|
|
40382
|
-
},
|
|
40383
|
-
tabIndex: "0",
|
|
40384
|
-
dataQa: "".concat(planType, " On"),
|
|
40385
|
-
color: SEA_GREEN,
|
|
40386
|
-
weight: themeValues.fontWeight,
|
|
40387
|
-
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
40388
|
-
extraStyles: "padding-left: 0.25rem;"
|
|
40389
|
-
}, "".concat(planType, " ").concat(nextAutopayDate)))));
|
|
40440
|
+
}, modalExtraProps), renderAutoPayControl());
|
|
40390
40441
|
};
|
|
40391
40442
|
|
|
40392
40443
|
var AutopayModalModule = themeComponent(AutopayModal, "AutopayModal", fallbackValues$z);
|
|
@@ -40428,7 +40479,8 @@ var AmountModule = function AmountModule(_ref) {
|
|
|
40428
40479
|
isMobile: isMobile,
|
|
40429
40480
|
paymentPlanSchedule: paymentPlanSchedule,
|
|
40430
40481
|
isPaymentPlan: isPaymentPlan,
|
|
40431
|
-
nextAutopayDate: nextAutopayDate
|
|
40482
|
+
nextAutopayDate: nextAutopayDate,
|
|
40483
|
+
controlType: "link"
|
|
40432
40484
|
})));
|
|
40433
40485
|
};
|
|
40434
40486
|
|
|
@@ -40445,7 +40497,9 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
40445
40497
|
autoPaySchedule = _ref.autoPaySchedule,
|
|
40446
40498
|
paymentPlanSchedule = _ref.paymentPlanSchedule,
|
|
40447
40499
|
isPaymentPlan = _ref.isPaymentPlan,
|
|
40448
|
-
nextAutopayDate = _ref.nextAutopayDate
|
|
40500
|
+
nextAutopayDate = _ref.nextAutopayDate,
|
|
40501
|
+
obligationAssocID = _ref.obligationAssocID,
|
|
40502
|
+
dueDate = _ref.dueDate;
|
|
40449
40503
|
var planType = isPaymentPlan ? "Payment Plan" : "Autopay";
|
|
40450
40504
|
|
|
40451
40505
|
var _useState = useState(false),
|
|
@@ -40470,7 +40524,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
40470
40524
|
};
|
|
40471
40525
|
|
|
40472
40526
|
var handleDetailsClick = function handleDetailsClick() {
|
|
40473
|
-
setDetailedObligation(obligations, config);
|
|
40527
|
+
setDetailedObligation(obligations, config, obligationAssocID);
|
|
40474
40528
|
navigateToDetailedObligation(detailsSlug);
|
|
40475
40529
|
};
|
|
40476
40530
|
|
|
@@ -40536,14 +40590,14 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
40536
40590
|
modalOpen: modalOpen,
|
|
40537
40591
|
navigateToSettings: navigateToSettings,
|
|
40538
40592
|
deactivatePaymentSchedule: deactivatePaymentSchedule,
|
|
40539
|
-
|
|
40593
|
+
controlType: "tertiary",
|
|
40540
40594
|
isMobile: isMobile,
|
|
40541
40595
|
paymentPlanSchedule: paymentPlanSchedule,
|
|
40542
40596
|
isPaymentPlan: isPaymentPlan,
|
|
40543
|
-
nextAutopayDate: nextAutopayDate
|
|
40597
|
+
nextAutopayDate: nextAutopayDate,
|
|
40598
|
+
dueDate: dueDate
|
|
40544
40599
|
})), !isMobile && /*#__PURE__*/React.createElement(Box, {
|
|
40545
|
-
padding:
|
|
40546
|
-
extraStyles: isMobile && "flex-grow: 1;"
|
|
40600
|
+
padding: "0"
|
|
40547
40601
|
}, /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
40548
40602
|
isLoading: isLoading,
|
|
40549
40603
|
action: function action() {
|
|
@@ -40551,8 +40605,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
40551
40605
|
},
|
|
40552
40606
|
text: "Pay Now",
|
|
40553
40607
|
variant: isMobile ? "smallSecondary" : "secondary",
|
|
40554
|
-
dataQa: "Pay Now"
|
|
40555
|
-
extraStyles: isMobile && "flex-grow: 1; width: 100%;"
|
|
40608
|
+
dataQa: "Pay Now"
|
|
40556
40609
|
}))), isMobile && /*#__PURE__*/React.createElement(Box, {
|
|
40557
40610
|
padding: "8px 0 0",
|
|
40558
40611
|
width: "100%"
|
|
@@ -40564,10 +40617,61 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
40564
40617
|
text: "Pay Now",
|
|
40565
40618
|
variant: isMobile ? "smallSecondary" : "secondary",
|
|
40566
40619
|
dataQa: "Pay Now",
|
|
40567
|
-
extraStyles: isMobile && "flex-grow: 1; width: 100%;"
|
|
40620
|
+
extraStyles: isMobile && "flex-grow: 1; width: 100%; margin: 0;"
|
|
40568
40621
|
}))));
|
|
40569
40622
|
};
|
|
40570
40623
|
|
|
40624
|
+
var RemoveAccountModalModule = function RemoveAccountModalModule(_ref) {
|
|
40625
|
+
var agencyName = _ref.agencyName,
|
|
40626
|
+
_ref$obligations = _ref.obligations,
|
|
40627
|
+
obligations = _ref$obligations === void 0 ? [] : _ref$obligations,
|
|
40628
|
+
removeAccount = _ref.removeAccount,
|
|
40629
|
+
accountType = _ref.accountType,
|
|
40630
|
+
isMobile = _ref.isMobile;
|
|
40631
|
+
|
|
40632
|
+
var _useState = useState(false),
|
|
40633
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
40634
|
+
modalIsOpen = _useState2[0],
|
|
40635
|
+
setModalIsOpen = _useState2[1];
|
|
40636
|
+
|
|
40637
|
+
var lastItem = _toConsumableArray(obligations).pop();
|
|
40638
|
+
|
|
40639
|
+
var accounts = obligations.length ? obligations.reduce(function (acc, curr) {
|
|
40640
|
+
var account = curr.details.description;
|
|
40641
|
+
var formattedAccount = curr !== lastItem ? "".concat(account, " and ") : "".concat(account);
|
|
40642
|
+
return formattedAccount === agencyName ? agencyName : acc + formattedAccount;
|
|
40643
|
+
}, "".concat(agencyName, " - ")) : "";
|
|
40644
|
+
var identifier = accountType === "Account" && obligations.length > 1 ? "accounts" : accountType === "Property" && obligations.length > 1 ? "properties" : accountType.toLowerCase();
|
|
40645
|
+
return /*#__PURE__*/React.createElement(Modal$1, {
|
|
40646
|
+
showModal: function showModal() {
|
|
40647
|
+
return setModalIsOpen(true);
|
|
40648
|
+
},
|
|
40649
|
+
hideModal: function hideModal() {
|
|
40650
|
+
return setModalIsOpen(false);
|
|
40651
|
+
},
|
|
40652
|
+
modalOpen: modalIsOpen,
|
|
40653
|
+
modalHeaderText: "Remove ".concat(accountType),
|
|
40654
|
+
modalBodyText: "Are you sure you want to remove the ".concat(identifier, " ").concat(accounts, " from your profile? Any autopay scheduled against ").concat(obligations.length > 1 ? "them" : "it", " will be deactivated."),
|
|
40655
|
+
continueButtonText: "Remove",
|
|
40656
|
+
continueAction: function continueAction() {
|
|
40657
|
+
removeAccount();
|
|
40658
|
+
setModalIsOpen(false);
|
|
40659
|
+
},
|
|
40660
|
+
useDangerButton: true
|
|
40661
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
40662
|
+
padding: "0",
|
|
40663
|
+
extraStyles: "flex-grow: 1;"
|
|
40664
|
+
}, /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
40665
|
+
text: "Remove",
|
|
40666
|
+
variant: "secondary",
|
|
40667
|
+
action: function action() {
|
|
40668
|
+
return setModalIsOpen(true);
|
|
40669
|
+
},
|
|
40670
|
+
dataQa: "Remove Account",
|
|
40671
|
+
extraStyles: isMobile ? "flex-grow: 1; width: 100%; margin: 0;" : "flex-grow: 1;"
|
|
40672
|
+
})));
|
|
40673
|
+
};
|
|
40674
|
+
|
|
40571
40675
|
var InactiveControlsModule = function InactiveControlsModule(_ref) {
|
|
40572
40676
|
var autoPayEnabled = _ref.autoPayEnabled,
|
|
40573
40677
|
autoPaySchedule = _ref.autoPaySchedule,
|
|
@@ -40578,6 +40682,9 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
|
|
|
40578
40682
|
isPaymentPlan = _ref.isPaymentPlan,
|
|
40579
40683
|
nextAutopayDate = _ref.nextAutopayDate,
|
|
40580
40684
|
obligationAssocID = _ref.obligationAssocID,
|
|
40685
|
+
dueDate = _ref.dueDate,
|
|
40686
|
+
agencyName = _ref.agencyName,
|
|
40687
|
+
configType = _ref.configType,
|
|
40581
40688
|
actions = _ref.actions;
|
|
40582
40689
|
|
|
40583
40690
|
var _useState = useState(false),
|
|
@@ -40585,10 +40692,10 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
|
|
|
40585
40692
|
modalOpen = _useState2[0],
|
|
40586
40693
|
toggleModal = _useState2[1];
|
|
40587
40694
|
|
|
40588
|
-
var
|
|
40695
|
+
var deleteObligationAssoc = actions.deleteObligationAssoc;
|
|
40589
40696
|
|
|
40590
40697
|
var handleRemoveAccount = function handleRemoveAccount() {
|
|
40591
|
-
return
|
|
40698
|
+
return deleteObligationAssoc(obligationAssocID);
|
|
40592
40699
|
};
|
|
40593
40700
|
|
|
40594
40701
|
return /*#__PURE__*/React.createElement(Box, {
|
|
@@ -40596,7 +40703,10 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
|
|
|
40596
40703
|
border: isMobile ? "1px solid ".concat(GHOST_GREY) : "0px",
|
|
40597
40704
|
borderWidthOverride: isMobile ? "1px 0 0 0" : "0px"
|
|
40598
40705
|
}, /*#__PURE__*/React.createElement(Cluster, {
|
|
40599
|
-
childGap:
|
|
40706
|
+
childGap: autoPayEnabled ? "8px" : "0",
|
|
40707
|
+
nowrap: true,
|
|
40708
|
+
justify: isMobile && autoPayEnabled && "center",
|
|
40709
|
+
align: isMobile && autoPayEnabled && "center"
|
|
40600
40710
|
}, autoPayEnabled && /*#__PURE__*/React.createElement(Box, {
|
|
40601
40711
|
padding: "0",
|
|
40602
40712
|
extraStyles: "flex-grow: 1;"
|
|
@@ -40607,21 +40717,22 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
|
|
|
40607
40717
|
modalOpen: modalOpen,
|
|
40608
40718
|
navigateToSettings: navigateToSettings,
|
|
40609
40719
|
deactivatePaymentSchedule: deactivatePaymentSchedule,
|
|
40610
|
-
buttonLinkType: true,
|
|
40611
40720
|
isMobile: isMobile,
|
|
40612
40721
|
paymentPlanSchedule: paymentPlanSchedule,
|
|
40613
40722
|
isPaymentPlan: isPaymentPlan,
|
|
40614
40723
|
nextAutopayDate: nextAutopayDate,
|
|
40615
|
-
obligationAssocID: obligationAssocID
|
|
40724
|
+
obligationAssocID: obligationAssocID,
|
|
40725
|
+
dueDate: dueDate,
|
|
40726
|
+
controlType: "secondary",
|
|
40727
|
+
inactive: true
|
|
40616
40728
|
})), /*#__PURE__*/React.createElement(Box, {
|
|
40617
40729
|
padding: "0",
|
|
40618
40730
|
extraStyles: "flex-grow: 1;"
|
|
40619
|
-
}, /*#__PURE__*/React.createElement(
|
|
40620
|
-
|
|
40621
|
-
|
|
40622
|
-
|
|
40623
|
-
|
|
40624
|
-
extraStyles: isMobile && "flex-grow: 1; width: 100%;"
|
|
40731
|
+
}, /*#__PURE__*/React.createElement(RemoveAccountModalModule, {
|
|
40732
|
+
agencyName: agencyName,
|
|
40733
|
+
removeAccount: handleRemoveAccount,
|
|
40734
|
+
accountType: configType === "ACCOUNT" ? "Account" : "Property",
|
|
40735
|
+
isMobile: isMobile
|
|
40625
40736
|
}))));
|
|
40626
40737
|
};
|
|
40627
40738
|
|
|
@@ -40651,10 +40762,12 @@ var InactiveTitleModule = function InactiveTitleModule(_ref) {
|
|
|
40651
40762
|
variant: "extraSmall",
|
|
40652
40763
|
as: "p",
|
|
40653
40764
|
color: BLACK
|
|
40654
|
-
}, "This may mean that the
|
|
40765
|
+
}, "This may mean that the balance has been paid, or there was an error loading it.".concat(autoPayEnabled ? " You may disable autopay for this account by pressing the 'Turn off Autopay' button." : ""))));
|
|
40655
40766
|
};
|
|
40656
40767
|
|
|
40657
40768
|
var Obligation = function Obligation(_ref) {
|
|
40769
|
+
var _firstObligation$cust, _firstObligation$desc, _firstObligation$subD;
|
|
40770
|
+
|
|
40658
40771
|
var config = _ref.config,
|
|
40659
40772
|
obligations = _ref.obligations,
|
|
40660
40773
|
actions = _ref.actions,
|
|
@@ -40669,29 +40782,43 @@ var Obligation = function Obligation(_ref) {
|
|
|
40669
40782
|
isPaymentPlan = _ref.isPaymentPlan,
|
|
40670
40783
|
nextAutopayDate = _ref.nextAutopayDate,
|
|
40671
40784
|
obligationAssocID = _ref.obligationAssocID,
|
|
40672
|
-
|
|
40673
|
-
|
|
40785
|
+
dueDate = _ref.dueDate,
|
|
40786
|
+
agencyName = _ref.agencyName,
|
|
40787
|
+
_ref$inactive = _ref.inactive,
|
|
40788
|
+
inactive = _ref$inactive === void 0 ? false : _ref$inactive,
|
|
40674
40789
|
_ref$inactiveLookupTi = _ref.inactiveLookupTitle,
|
|
40675
40790
|
inactiveLookupTitle = _ref$inactiveLookupTi === void 0 ? "" : _ref$inactiveLookupTi,
|
|
40676
40791
|
_ref$inactiveLookupIn = _ref.inactiveLookupInput,
|
|
40677
40792
|
inactiveLookupInput = _ref$inactiveLookupIn === void 0 ? "Account" : _ref$inactiveLookupIn,
|
|
40678
40793
|
_ref$inactiveLookupVa = _ref.inactiveLookupValue,
|
|
40679
40794
|
inactiveLookupValue = _ref$inactiveLookupVa === void 0 ? "" : _ref$inactiveLookupVa;
|
|
40680
|
-
|
|
40681
|
-
|
|
40682
|
-
|
|
40795
|
+
|
|
40796
|
+
/*
|
|
40797
|
+
The value of obligations is always an array. It can contain:
|
|
40798
|
+
- A single obligation
|
|
40799
|
+
- A group of obligations (a "collection")
|
|
40800
|
+
|
|
40801
|
+
The top level desc/subdesc for all obligations in a collection is the same
|
|
40802
|
+
(Collection accounts look different in the Account Details page)
|
|
40803
|
+
*/
|
|
40804
|
+
var firstObligation = obligations[0];
|
|
40805
|
+
var customAttributes = (_firstObligation$cust = firstObligation === null || firstObligation === void 0 ? void 0 : firstObligation.customAttributes) !== null && _firstObligation$cust !== void 0 ? _firstObligation$cust : {};
|
|
40806
|
+
var boxShadowValue = "0px 2px 4px rgba(41, 42, 51, 0.1), 0px 1px 1px 2px rgba(41, 42, 51, 0.1);";
|
|
40683
40807
|
var activeObligation = /*#__PURE__*/React.createElement(Box, {
|
|
40684
40808
|
padding: "0",
|
|
40685
40809
|
borderRadius: "4px",
|
|
40686
40810
|
boxShadow: boxShadowValue,
|
|
40687
40811
|
as: "section",
|
|
40688
|
-
"aria-label": "".concat(
|
|
40812
|
+
"aria-label": "".concat((_firstObligation$desc = firstObligation === null || firstObligation === void 0 ? void 0 : firstObligation.description) !== null && _firstObligation$desc !== void 0 ? _firstObligation$desc : "account", " ").concat((_firstObligation$subD = firstObligation === null || firstObligation === void 0 ? void 0 : firstObligation.subDescription) !== null && _firstObligation$subD !== void 0 ? _firstObligation$subD : obligationAssocID),
|
|
40813
|
+
border: "1px solid ".concat(GRECIAN_GREY),
|
|
40814
|
+
borderWidthOverride: "1px 0 0 0"
|
|
40689
40815
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
40690
|
-
background: WHITE
|
|
40816
|
+
background: WHITE,
|
|
40817
|
+
padding: isMobile ? "16px" : "24px 16px"
|
|
40691
40818
|
}, /*#__PURE__*/React.createElement(Stack, {
|
|
40692
40819
|
childGap: "14px"
|
|
40693
40820
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
40694
|
-
key: "".concat(
|
|
40821
|
+
key: "".concat(firstObligation === null || firstObligation === void 0 ? void 0 : firstObligation.id, "-top"),
|
|
40695
40822
|
padding: "0 8px",
|
|
40696
40823
|
minWidth: "100%"
|
|
40697
40824
|
}, /*#__PURE__*/React.createElement(Cluster, {
|
|
@@ -40711,12 +40838,12 @@ var Obligation = function Obligation(_ref) {
|
|
|
40711
40838
|
iconValue: config.iconValue,
|
|
40712
40839
|
customAttributes: customAttributes
|
|
40713
40840
|
}), /*#__PURE__*/React.createElement(TitleModule, {
|
|
40714
|
-
title:
|
|
40715
|
-
subtitle:
|
|
40841
|
+
title: firstObligation === null || firstObligation === void 0 ? void 0 : firstObligation.description,
|
|
40842
|
+
subtitle: firstObligation === null || firstObligation === void 0 ? void 0 : firstObligation.subDescription,
|
|
40716
40843
|
titleColor: BRIGHT_GREY,
|
|
40717
40844
|
isMobile: isMobile
|
|
40718
40845
|
}))), !isMobile && /*#__PURE__*/React.createElement(AmountModule, {
|
|
40719
|
-
totalAmountDue: obligations.reduce(function (acc, curr) {
|
|
40846
|
+
totalAmountDue: obligations === null || obligations === void 0 ? void 0 : obligations.reduce(function (acc, curr) {
|
|
40720
40847
|
return acc + curr.amountDue;
|
|
40721
40848
|
}, 0),
|
|
40722
40849
|
autoPayEnabled: autoPayEnabled,
|
|
@@ -40740,7 +40867,8 @@ var Obligation = function Obligation(_ref) {
|
|
|
40740
40867
|
actions: actions,
|
|
40741
40868
|
isMobile: isMobile,
|
|
40742
40869
|
isPaymentPlan: isPaymentPlan,
|
|
40743
|
-
nextAutopayDate: nextAutopayDate
|
|
40870
|
+
nextAutopayDate: nextAutopayDate,
|
|
40871
|
+
obligationAssocID: obligationAssocID
|
|
40744
40872
|
}))), isMobile && /*#__PURE__*/React.createElement(PaymentDetailsActions, {
|
|
40745
40873
|
obligations: obligations,
|
|
40746
40874
|
autoPayEnabled: autoPayEnabled,
|
|
@@ -40754,7 +40882,8 @@ var Obligation = function Obligation(_ref) {
|
|
|
40754
40882
|
actions: actions,
|
|
40755
40883
|
isMobile: isMobile,
|
|
40756
40884
|
isPaymentPlan: isPaymentPlan,
|
|
40757
|
-
nextAutopayDate: nextAutopayDate
|
|
40885
|
+
nextAutopayDate: nextAutopayDate,
|
|
40886
|
+
obligationAssocID: obligationAssocID
|
|
40758
40887
|
}));
|
|
40759
40888
|
var inactiveObligation = /*#__PURE__*/React.createElement(Box, {
|
|
40760
40889
|
padding: "0",
|
|
@@ -40763,23 +40892,25 @@ var Obligation = function Obligation(_ref) {
|
|
|
40763
40892
|
as: "section",
|
|
40764
40893
|
"aria-label": "".concat(inactiveLookupTitle, " ").concat(inactiveLookupInput, ": ").concat(inactiveLookupValue)
|
|
40765
40894
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
40766
|
-
background: ATHENS_GREY
|
|
40895
|
+
background: ATHENS_GREY,
|
|
40896
|
+
padding: isMobile ? "16px" : "24px"
|
|
40767
40897
|
}, /*#__PURE__*/React.createElement(Stack, {
|
|
40768
40898
|
childGap: "14px"
|
|
40769
40899
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
40770
|
-
key: "".concat(
|
|
40771
|
-
padding: "0
|
|
40900
|
+
key: "".concat(obligationAssocID, "-top"),
|
|
40901
|
+
padding: "0",
|
|
40772
40902
|
minWidth: "100%"
|
|
40773
40903
|
}, /*#__PURE__*/React.createElement(Cluster, {
|
|
40774
40904
|
justify: "space-between",
|
|
40775
40905
|
align: "center",
|
|
40776
|
-
childGap: "
|
|
40906
|
+
childGap: "40px",
|
|
40777
40907
|
nowrap: true
|
|
40778
40908
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
40779
40909
|
padding: "0"
|
|
40780
40910
|
}, /*#__PURE__*/React.createElement(Cluster, {
|
|
40781
40911
|
justify: "flex-start",
|
|
40782
|
-
align: "center"
|
|
40912
|
+
align: "center",
|
|
40913
|
+
nowrap: true
|
|
40783
40914
|
}, /*#__PURE__*/React.createElement(IconsModule, {
|
|
40784
40915
|
icon: config.icon,
|
|
40785
40916
|
iconDefault: config.iconDefault,
|
|
@@ -40802,7 +40933,10 @@ var Obligation = function Obligation(_ref) {
|
|
|
40802
40933
|
actions: actions,
|
|
40803
40934
|
isMobile: isMobile,
|
|
40804
40935
|
nextAutopayDate: nextAutopayDate,
|
|
40805
|
-
obligationAssocID: obligationAssocID
|
|
40936
|
+
obligationAssocID: obligationAssocID,
|
|
40937
|
+
dueDate: dueDate,
|
|
40938
|
+
agencyName: agencyName,
|
|
40939
|
+
configType: config.type
|
|
40806
40940
|
}))), isMobile && /*#__PURE__*/React.createElement(InactiveControlsModule, {
|
|
40807
40941
|
obligations: obligations,
|
|
40808
40942
|
autoPayEnabled: autoPayEnabled,
|
|
@@ -40813,9 +40947,12 @@ var Obligation = function Obligation(_ref) {
|
|
|
40813
40947
|
actions: actions,
|
|
40814
40948
|
isMobile: isMobile,
|
|
40815
40949
|
nextAutopayDate: nextAutopayDate,
|
|
40816
|
-
obligationAssocID: obligationAssocID
|
|
40950
|
+
obligationAssocID: obligationAssocID,
|
|
40951
|
+
dueDate: dueDate,
|
|
40952
|
+
agencyName: agencyName,
|
|
40953
|
+
configType: config.type
|
|
40817
40954
|
}))));
|
|
40818
|
-
return
|
|
40955
|
+
return inactive ? inactiveObligation : activeObligation;
|
|
40819
40956
|
};
|
|
40820
40957
|
|
|
40821
40958
|
var PartialAmountForm = function PartialAmountForm(_ref) {
|
|
@@ -41131,10 +41268,49 @@ var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
|
41131
41268
|
subtotal = _ref.subtotal,
|
|
41132
41269
|
total = _ref.total,
|
|
41133
41270
|
variant = _ref.variant,
|
|
41134
|
-
themeValues = _ref.themeValues
|
|
41271
|
+
themeValues = _ref.themeValues,
|
|
41272
|
+
hasVoidablePaymentsSection = _ref.hasVoidablePaymentsSection,
|
|
41273
|
+
voidableTransactionDetails = _ref.voidableTransactionDetails,
|
|
41274
|
+
voidableAmountPaid = _ref.voidableAmountPaid,
|
|
41275
|
+
partialVoidAction = _ref.partialVoidAction;
|
|
41135
41276
|
return /*#__PURE__*/React.createElement(Stack, {
|
|
41136
41277
|
childGap: "16px"
|
|
41137
|
-
}, lineItemElems,
|
|
41278
|
+
}, lineItemElems, hasVoidablePaymentsSection && /*#__PURE__*/React.createElement(Box, {
|
|
41279
|
+
background: ATHENS_GREY
|
|
41280
|
+
}, /*#__PURE__*/React.createElement(Text$1, {
|
|
41281
|
+
variant: "p",
|
|
41282
|
+
color: themeValues.text,
|
|
41283
|
+
weight: "400"
|
|
41284
|
+
}, "Paid"), voidableTransactionDetails.map(function (t) {
|
|
41285
|
+
return /*#__PURE__*/React.createElement(Cluster, {
|
|
41286
|
+
key: t.id,
|
|
41287
|
+
justify: "space-between",
|
|
41288
|
+
align: "center"
|
|
41289
|
+
}, /*#__PURE__*/React.createElement(Cluster, {
|
|
41290
|
+
padding: "0",
|
|
41291
|
+
align: "center"
|
|
41292
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
41293
|
+
padding: "0"
|
|
41294
|
+
}, t.voidText), /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
41295
|
+
variant: "ghost",
|
|
41296
|
+
action: function action() {
|
|
41297
|
+
return partialVoidAction(t);
|
|
41298
|
+
},
|
|
41299
|
+
text: "Void",
|
|
41300
|
+
extraStyles: "min-width: 75px; margin: 0px;",
|
|
41301
|
+
textExtraStyles: "font-weight: ".concat(FONT_WEIGHT_REGULAR, "; font-size: 16px;")
|
|
41302
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
41303
|
+
padding: "0",
|
|
41304
|
+
key: t.id
|
|
41305
|
+
}, displayCurrency(t.amount_given)));
|
|
41306
|
+
}), /*#__PURE__*/React.createElement(Box, {
|
|
41307
|
+
padding: "8px 0px 16px 0px"
|
|
41308
|
+
}, /*#__PURE__*/React.createElement(SolidDivider$1, null)), /*#__PURE__*/React.createElement(LabeledAmount$1, {
|
|
41309
|
+
fontWeight: FONT_WEIGHT_REGULAR,
|
|
41310
|
+
label: "Amount paid",
|
|
41311
|
+
amount: displayCurrency(voidableAmountPaid)
|
|
41312
|
+
})), !hasVoidablePaymentsSection && !!lineItemElems.length && /*#__PURE__*/React.createElement(SolidDivider$1, null) // avoids duplicate dividers -> case of voidable payment section, that acts as divider
|
|
41313
|
+
, /*#__PURE__*/React.createElement(Box, {
|
|
41138
41314
|
padding: "0.5rem 0"
|
|
41139
41315
|
}, /*#__PURE__*/React.createElement(LabeledAmount$1, {
|
|
41140
41316
|
variant: themeValues.labeledAmountSubtotal,
|
|
@@ -41143,7 +41319,7 @@ var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
|
41143
41319
|
}), feeElems), /*#__PURE__*/React.createElement(SolidDivider$1, null), /*#__PURE__*/React.createElement(LabeledAmount$1, {
|
|
41144
41320
|
as: "p",
|
|
41145
41321
|
variant: themeValues.labeledAmountTotal,
|
|
41146
|
-
label: "Total",
|
|
41322
|
+
label: hasVoidablePaymentsSection ? "Remaining amount due" : "Total",
|
|
41147
41323
|
amount: displayCurrency(total),
|
|
41148
41324
|
extraStyles: variant === "small" && "font-weight: ".concat(FONT_WEIGHT_BOLD, ";")
|
|
41149
41325
|
}));
|
|
@@ -41203,7 +41379,15 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
41203
41379
|
collapsibleOnMobile = _ref4$collapsibleOnMo === void 0 ? true : _ref4$collapsibleOnMo,
|
|
41204
41380
|
isMobile = _ref4.isMobile,
|
|
41205
41381
|
supportsTouch = _ref4.supportsTouch,
|
|
41206
|
-
themeValues = _ref4.themeValues
|
|
41382
|
+
themeValues = _ref4.themeValues,
|
|
41383
|
+
_ref4$hasVoidablePaym = _ref4.hasVoidablePaymentsSection,
|
|
41384
|
+
hasVoidablePaymentsSection = _ref4$hasVoidablePaym === void 0 ? false : _ref4$hasVoidablePaym,
|
|
41385
|
+
_ref4$voidableTransac = _ref4.voidableTransactionDetails,
|
|
41386
|
+
voidableTransactionDetails = _ref4$voidableTransac === void 0 ? [] : _ref4$voidableTransac,
|
|
41387
|
+
_ref4$partialVoidActi = _ref4.partialVoidAction,
|
|
41388
|
+
partialVoidAction = _ref4$partialVoidActi === void 0 ? noop : _ref4$partialVoidActi,
|
|
41389
|
+
_ref4$voidableAmountP = _ref4.voidableAmountPaid,
|
|
41390
|
+
voidableAmountPaid = _ref4$voidableAmountP === void 0 ? 0 : _ref4$voidableAmountP;
|
|
41207
41391
|
|
|
41208
41392
|
var _useState = useState(initiallyOpen),
|
|
41209
41393
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -41259,14 +41443,22 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
41259
41443
|
subtotal: subtotal,
|
|
41260
41444
|
total: total,
|
|
41261
41445
|
themeValues: themeValues,
|
|
41262
|
-
variant: variant
|
|
41446
|
+
variant: variant,
|
|
41447
|
+
hasVoidablePaymentsSection: hasVoidablePaymentsSection,
|
|
41448
|
+
voidableTransactionDetails: voidableTransactionDetails,
|
|
41449
|
+
voidableAmountPaid: voidableAmountPaid,
|
|
41450
|
+
partialVoidAction: partialVoidAction
|
|
41263
41451
|
})) : /*#__PURE__*/React.createElement(PaymentDetailsContent, {
|
|
41264
41452
|
lineItemElems: lineItemElems,
|
|
41265
41453
|
feeElems: feeElems,
|
|
41266
41454
|
subtotal: subtotal,
|
|
41267
41455
|
total: total,
|
|
41268
41456
|
themeValues: themeValues,
|
|
41269
|
-
variant: variant
|
|
41457
|
+
variant: variant,
|
|
41458
|
+
hasVoidablePaymentsSection: hasVoidablePaymentsSection,
|
|
41459
|
+
voidableTransactionDetails: voidableTransactionDetails,
|
|
41460
|
+
voidableAmountPaid: voidableAmountPaid,
|
|
41461
|
+
partialVoidAction: partialVoidAction
|
|
41270
41462
|
});
|
|
41271
41463
|
var title = hideTitle ? /*#__PURE__*/React.createElement(Fragment$1, null) : isCollapsible ? /*#__PURE__*/React.createElement(Box, {
|
|
41272
41464
|
width: "100%",
|
|
@@ -42409,7 +42601,7 @@ var TabSidebar = function TabSidebar(_ref) {
|
|
|
42409
42601
|
themeValues = _ref.themeValues;
|
|
42410
42602
|
return /*#__PURE__*/React.createElement(Box, {
|
|
42411
42603
|
padding: "0",
|
|
42412
|
-
background:
|
|
42604
|
+
background: COOL_GREY_05,
|
|
42413
42605
|
minHeight: "100%",
|
|
42414
42606
|
role: "region",
|
|
42415
42607
|
"aria-label": "Profile tabs",
|
|
@@ -42711,7 +42903,8 @@ var WorkflowTile = function WorkflowTile(_ref) {
|
|
|
42711
42903
|
minWidth: "100%",
|
|
42712
42904
|
url: "/service/".concat(slug),
|
|
42713
42905
|
extraStyles: "width: 100%;",
|
|
42714
|
-
linkExtraStyles: "justify-content: center;"
|
|
42906
|
+
linkExtraStyles: "justify-content: center;",
|
|
42907
|
+
dataQa: slug
|
|
42715
42908
|
}))));
|
|
42716
42909
|
};
|
|
42717
42910
|
|
|
@@ -42828,7 +43021,7 @@ var PeriscopeDashboardIframe = function PeriscopeDashboardIframe(_ref) {
|
|
|
42828
43021
|
}, "Your organization may not have a dashboard configured."))), !periscopeDataFailure && url && Dashboard(height)(url)));
|
|
42829
43022
|
};
|
|
42830
43023
|
|
|
42831
|
-
var pageBackground = "#
|
|
43024
|
+
var pageBackground = "#FBFCFD";
|
|
42832
43025
|
var fallbackValues$H = {
|
|
42833
43026
|
pageBackground: pageBackground
|
|
42834
43027
|
};
|
|
@@ -42852,7 +43045,7 @@ var CenterSingle = function CenterSingle(_ref) {
|
|
|
42852
43045
|
return /*#__PURE__*/React.createElement(Box, {
|
|
42853
43046
|
padding: "0",
|
|
42854
43047
|
minWidth: "100%",
|
|
42855
|
-
background:
|
|
43048
|
+
background: COOL_GREY_05,
|
|
42856
43049
|
extraStyles: "flex-grow: 1;"
|
|
42857
43050
|
}, /*#__PURE__*/React.createElement(Cover, {
|
|
42858
43051
|
centerOverride: isMobile && !centeredMobileContent
|
|
@@ -42897,7 +43090,7 @@ var CenterStack = function CenterStack(_ref) {
|
|
|
42897
43090
|
return /*#__PURE__*/React.createElement(Box, {
|
|
42898
43091
|
padding: "0",
|
|
42899
43092
|
minWidth: "100%",
|
|
42900
|
-
background:
|
|
43093
|
+
background: COOL_GREY_05,
|
|
42901
43094
|
extraStyles: "flex-grow: 1;"
|
|
42902
43095
|
}, /*#__PURE__*/React.createElement(Cover, null, header ? header : /*#__PURE__*/React.createElement(Box, {
|
|
42903
43096
|
padding: "0"
|
|
@@ -42937,7 +43130,7 @@ var CenterSingle$2 = function CenterSingle(_ref) {
|
|
|
42937
43130
|
return /*#__PURE__*/React.createElement(Box, {
|
|
42938
43131
|
padding: "0",
|
|
42939
43132
|
minWidth: "100%",
|
|
42940
|
-
background:
|
|
43133
|
+
background: COOL_GREY_05,
|
|
42941
43134
|
extraStyles: "flex-grow: 1;"
|
|
42942
43135
|
}, /*#__PURE__*/React.createElement(Cover, {
|
|
42943
43136
|
childGap: "0",
|
|
@@ -42988,7 +43181,7 @@ var SidebarSingleContent = function SidebarSingleContent(_ref) {
|
|
|
42988
43181
|
return /*#__PURE__*/React.createElement(Box, {
|
|
42989
43182
|
padding: "0",
|
|
42990
43183
|
minWidth: "100%",
|
|
42991
|
-
background:
|
|
43184
|
+
background: COOL_GREY_05,
|
|
42992
43185
|
extraStyles: "flex-grow: 1;"
|
|
42993
43186
|
}, /*#__PURE__*/React.createElement(Cover, {
|
|
42994
43187
|
centerOverride: !sidebarVerticalCenter
|
|
@@ -43044,7 +43237,7 @@ var SidebarStackContent = function SidebarStackContent(_ref) {
|
|
|
43044
43237
|
return /*#__PURE__*/React.createElement(Box, {
|
|
43045
43238
|
padding: "0",
|
|
43046
43239
|
minWidth: "100%",
|
|
43047
|
-
background:
|
|
43240
|
+
background: COOL_GREY_05,
|
|
43048
43241
|
key: "page-bg",
|
|
43049
43242
|
extraStyles: "flex-grow: 1;"
|
|
43050
43243
|
}, /*#__PURE__*/React.createElement(Cover, {
|
|
@@ -43102,5 +43295,5 @@ var index$5 = /*#__PURE__*/Object.freeze({
|
|
|
43102
43295
|
theme: themeUtils
|
|
43103
43296
|
});
|
|
43104
43297
|
|
|
43105
|
-
export { AccountNumberImage, AccountsAddIcon$1 as AccountsAddIcon, AccountsIcon$1 as AccountsIcon, AccountsIconSmall$1 as AccountsIconSmall, AchReturnIcon, AddObligation$1 as AddObligation, AddressForm, Alert$1 as Alert, AllocatedIcon, AmountCallout$1 as AmountCallout, AutopayOnIcon
|
|
43298
|
+
export { AccountNumberImage, AccountsAddIcon$1 as AccountsAddIcon, AccountsIcon$1 as AccountsIcon, AccountsIconSmall$1 as AccountsIconSmall, AchReturnIcon, AddObligation$1 as AddObligation, AddressForm, Alert$1 as Alert, AllocatedIcon, AmountCallout$1 as AmountCallout, AutopayOnIcon, BankIcon, Box, BoxWithShadow$1 as BoxWithShadow, Breadcrumbs as Breadcrumb, ButtonWithAction, ButtonWithLink, CalendarIcon, CarrotIcon$1 as CarrotIcon, CashIcon, Center, CenterSingle$1 as CenterSingle, CenterStack$1 as CenterStack, ChangePasswordForm, ChargebackIcon, ChargebackReversalIcon, CheckIcon, Checkbox$1 as Checkbox, CheckboxList$1 as CheckboxList, CheckmarkIcon, ChevronIcon$1 as ChevronIcon, Cluster, CollapsibleSection$1 as CollapsibleSection, CountryDropdown, Cover, CustomerSearchIcon, DefaultPageTemplate, Detail$1 as Detail, DisplayBox$1 as DisplayBox, DisplayCard, Dropdown$1 as Dropdown, DuplicateIcon, EditNameForm, EditableList, EditableTable, EmailForm, EmptyCartIcon$1 as EmptyCartIcon, ErroredIcon, ExternalLink, FailedIcon, ForgotPasswordForm, ForgotPasswordIcon$1 as ForgotPasswordIcon, FormContainer$1 as FormContainer, FormFooterPanel$1 as FormFooterPanel, FormInput$1 as FormInput, FormInputColumn, FormInputRow, FormSelect$1 as FormSelect, FormattedAddress$1 as FormattedAddress, FormattedCreditCard$1 as FormattedCreditCard, Frame, GenericCard, GenericCardLarge, GoToEmailIcon$1 as GoToEmailIcon, Grid, HamburgerButton, Heading$1 as Heading, HighlightTabRow$1 as HighlightTabRow, IconAdd, IconQuitLarge, Imposter, InternalLink, InternalUserInfoForm, Jumbo$1 as Jumbo, LabeledAmount$1 as LabeledAmount, LineItem$1 as LineItem, Loading, LoginForm, Modal$1 as Modal, Module$1 as Module, Motion, NavFooter, NavHeader, NavMenuDesktop$1 as NavMenuDesktop, NavMenuMobile$1 as NavMenuMobile, NoCustomerResultsIcon, NoPaymentResultsIcon, NotFoundIcon, Obligation, iconsMap as ObligationIcons, Pagination, Paragraph$1 as Paragraph, PartialAmountForm, PasswordRequirements, PaymentButtonBar, PaymentDetails$1 as PaymentDetails, PaymentFormACH, PaymentFormCard$1 as PaymentFormCard, PaymentIcon, PaymentMethodAddIcon$1 as PaymentMethodAddIcon, PaymentMethodIcon$1 as PaymentMethodIcon, PaymentSearchIcon, PaymentsIconSmall$1 as PaymentsIconSmall, PendingIcon, PeriscopeDashboardIframe, PeriscopeFailedIcon, PhoneForm, Placeholder$1 as Placeholder, ProcessingFee$1 as ProcessingFee, ProfileIcon$1 as ProfileIcon, ProfileIconSmall$1 as ProfileIconSmall, PropertiesAddIcon$1 as PropertiesAddIcon, PropertiesIconSmall$1 as PropertiesIconSmall, RadioButton$2 as RadioButton, RadioSection$1 as RadioSection, Reel, RefundIcon, RegistrationForm, RejectedIcon, RejectedVelocityIcon, ResetConfirmationForm$1 as ResetConfirmationForm, ResetPasswordForm, ResetPasswordIcon, ResetPasswordSuccess, RoutingNumberImage, SearchIcon, SearchableSelect$1 as SearchableSelect, SettingsIconSmall$1 as SettingsIconSmall, ShoppingCartIcon, Sidebar, SidebarSingleContent$1 as SidebarSingleContent, SidebarStackContent$1 as SidebarStackContent, SolidDivider$1 as SolidDivider, Spinner$2 as Spinner, Stack, FormStateDropdown as StateProvinceDropdown, StatusUnknownIcon, SuccessfulIcon, Switcher, TabSidebar$1 as TabSidebar, TableListItem, Tabs$1 as Tabs, TermsAndConditions, TermsAndConditionsModal$1 as TermsAndConditionsModal, Text$1 as Text, Timeout$1 as Timeout, TimeoutImage, Title$1 as Title, ToggleSwitch$1 as ToggleSwitch, TrashIcon$1 as TrashIcon, TypeaheadInput, VerifiedEmailIcon$1 as VerifiedEmailIcon, VoidedIcon, WalletIcon$1 as WalletIcon, WarningIconXS, WelcomeModule$1 as WelcomeModule, WorkflowTile, cardRegistry, index$4 as constants, createPartialAmountFormState, index$5 as util, withWindowSize };
|
|
43106
43299
|
//# sourceMappingURL=index.esm.js.map
|