@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.cjs.js
CHANGED
|
@@ -5899,25 +5899,34 @@ var AQUA_HAZE_WHITE = "#F7F9FA";
|
|
|
5899
5899
|
var BLEACH_WHITE = "#FEF4d7";
|
|
5900
5900
|
var CATSKILL_WHITE = "#EAF2F6"; // GREY
|
|
5901
5901
|
|
|
5902
|
-
var ATHENS_GREY = "#F6F6F9";
|
|
5902
|
+
var ATHENS_GREY = "#F6F6F9"; // CBS-100
|
|
5903
|
+
|
|
5903
5904
|
var ALTO_GREY = "#d1d1d1";
|
|
5904
5905
|
var SILVER_GREY = "#cdcdcd";
|
|
5905
5906
|
var PEWTER_GREY = "#DFE1E4";
|
|
5906
5907
|
var ASH_GREY = "#979797";
|
|
5907
5908
|
var IRON_GREY = "#d5d8dc";
|
|
5908
|
-
var GHOST_GREY = "#CACED8";
|
|
5909
|
+
var GHOST_GREY = "#CACED8"; // CBS-300
|
|
5910
|
+
|
|
5909
5911
|
var DUSTY_GREY = "#9B9B9B";
|
|
5910
5912
|
var REGENT_GREY = "#959EA7";
|
|
5911
|
-
var STORM_GREY = "#6D717E";
|
|
5913
|
+
var STORM_GREY = "#6D717E"; // CBS-700
|
|
5914
|
+
|
|
5912
5915
|
var TROUT_GREY = "#515660";
|
|
5913
5916
|
var MINESHAFT_GREY = "#333333";
|
|
5914
5917
|
var SOOT_GREY = "#999999";
|
|
5915
5918
|
var FIREFLY_GREY = "#091325";
|
|
5916
|
-
var BRIGHT_GREY = "#3B414D";
|
|
5917
|
-
|
|
5918
|
-
var
|
|
5919
|
+
var BRIGHT_GREY = "#3B414D"; // CBS-800
|
|
5920
|
+
|
|
5921
|
+
var CHARADE_GREY = "#292A33"; // CBS-900
|
|
5922
|
+
|
|
5923
|
+
var GRECIAN_GREY = "#E5E7EC"; // CBS-200
|
|
5924
|
+
|
|
5919
5925
|
var BLACK_SQUEEZE = "#EAF2F7";
|
|
5920
|
-
var GREY_CHATEAU = "#959CA8"; //
|
|
5926
|
+
var GREY_CHATEAU = "#959CA8"; // CBS-500
|
|
5927
|
+
|
|
5928
|
+
var COOL_GREY_05 = "#fbfcfd"; // CBS-050
|
|
5929
|
+
// BLUE
|
|
5921
5930
|
|
|
5922
5931
|
var CLOUDBURST_BLUE = "#26395c";
|
|
5923
5932
|
var ZODIAC_BLUE = "#14284b";
|
|
@@ -5951,7 +5960,7 @@ var MUSTARD_YELLOW = "#FFD459";
|
|
|
5951
5960
|
var FIRE_YELLOW = "#B34A00"; // ORANGE
|
|
5952
5961
|
|
|
5953
5962
|
var CARROT_ORANGE = "#ED9620";
|
|
5954
|
-
var ZEST_ORANGE = "#
|
|
5963
|
+
var ZEST_ORANGE = "#B84A00";
|
|
5955
5964
|
var APRICOT_ORANGE = "#FFE8D8"; // RED
|
|
5956
5965
|
|
|
5957
5966
|
var RED = "#FF0000";
|
|
@@ -6021,6 +6030,7 @@ var colors = /*#__PURE__*/Object.freeze({
|
|
|
6021
6030
|
BRIGHT_GREY: BRIGHT_GREY,
|
|
6022
6031
|
CHARADE_GREY: CHARADE_GREY,
|
|
6023
6032
|
GRECIAN_GREY: GRECIAN_GREY,
|
|
6033
|
+
COOL_GREY_05: COOL_GREY_05,
|
|
6024
6034
|
BLACK_SQUEEZE: BLACK_SQUEEZE,
|
|
6025
6035
|
GREY_CHATEAU: GREY_CHATEAU,
|
|
6026
6036
|
CLOUDBURST_BLUE: CLOUDBURST_BLUE,
|
|
@@ -6068,7 +6078,7 @@ var colors = /*#__PURE__*/Object.freeze({
|
|
|
6068
6078
|
var TextSpan = qe.span.withConfig({
|
|
6069
6079
|
displayName: "Textstyled__TextSpan",
|
|
6070
6080
|
componentId: "sc-1oy97we-0"
|
|
6071
|
-
})(["--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) {
|
|
6081
|
+
})(["--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) {
|
|
6072
6082
|
var fontSize = _ref.fontSize;
|
|
6073
6083
|
return fontSize;
|
|
6074
6084
|
}, function (_ref2) {
|
|
@@ -6081,14 +6091,17 @@ var TextSpan = qe.span.withConfig({
|
|
|
6081
6091
|
var color = _ref4.color;
|
|
6082
6092
|
return color;
|
|
6083
6093
|
}, function (_ref5) {
|
|
6084
|
-
var
|
|
6094
|
+
var $textWrap = _ref5.$textWrap;
|
|
6095
|
+
return $textWrap ? "initial" : "nowrap";
|
|
6096
|
+
}, function (_ref6) {
|
|
6097
|
+
var hoverStyles = _ref6.hoverStyles;
|
|
6085
6098
|
return Ae(["", ""], hoverStyles);
|
|
6086
|
-
}, ROYAL_BLUE, function (
|
|
6087
|
-
var disabled =
|
|
6088
|
-
disabledStyles =
|
|
6099
|
+
}, ROYAL_BLUE, function (_ref7) {
|
|
6100
|
+
var disabled = _ref7.disabled,
|
|
6101
|
+
disabledStyles = _ref7.disabledStyles;
|
|
6089
6102
|
return disabled && Ae(["", ""], disabledStyles);
|
|
6090
|
-
}, function (
|
|
6091
|
-
var extraStyles =
|
|
6103
|
+
}, function (_ref8) {
|
|
6104
|
+
var extraStyles = _ref8.extraStyles;
|
|
6092
6105
|
return extraStyles;
|
|
6093
6106
|
});
|
|
6094
6107
|
|
|
@@ -7214,7 +7227,7 @@ var general = /*#__PURE__*/Object.freeze({
|
|
|
7214
7227
|
screenReaderOnlyStyle: screenReaderOnlyStyle
|
|
7215
7228
|
});
|
|
7216
7229
|
|
|
7217
|
-
var _excluded$1 = ["themeValues", "weight", "color", "extraStyles", "hoverStyles", "onClick", "onKeyPress", "as", "dataQa", "children"];
|
|
7230
|
+
var _excluded$1 = ["themeValues", "weight", "color", "textWrap", "extraStyles", "hoverStyles", "onClick", "onKeyPress", "as", "dataQa", "children"];
|
|
7218
7231
|
|
|
7219
7232
|
var Text = function Text(_ref) {
|
|
7220
7233
|
var themeValues = _ref.themeValues,
|
|
@@ -7222,6 +7235,8 @@ var Text = function Text(_ref) {
|
|
|
7222
7235
|
weight = _ref$weight === void 0 ? FONT_WEIGHT_REGULAR : _ref$weight,
|
|
7223
7236
|
_ref$color = _ref.color,
|
|
7224
7237
|
color = _ref$color === void 0 ? FIREFLY_GREY : _ref$color,
|
|
7238
|
+
_ref$textWrap = _ref.textWrap,
|
|
7239
|
+
textWrap = _ref$textWrap === void 0 ? true : _ref$textWrap,
|
|
7225
7240
|
_ref$extraStyles = _ref.extraStyles,
|
|
7226
7241
|
extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
|
|
7227
7242
|
hoverStyles = _ref.hoverStyles,
|
|
@@ -7242,7 +7257,8 @@ var Text = function Text(_ref) {
|
|
|
7242
7257
|
hoverStyles: hoverStyles,
|
|
7243
7258
|
onClick: onClick,
|
|
7244
7259
|
onKeyPress: onKeyPress,
|
|
7245
|
-
"data-qa": dataQa
|
|
7260
|
+
"data-qa": dataQa,
|
|
7261
|
+
$textWrap: textWrap
|
|
7246
7262
|
}, rest), safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
|
|
7247
7263
|
};
|
|
7248
7264
|
|
|
@@ -7286,13 +7302,14 @@ var BoxWrapper = qe(function (_ref) {
|
|
|
7286
7302
|
}).withConfig({
|
|
7287
7303
|
displayName: "Boxstyled__BoxWrapper",
|
|
7288
7304
|
componentId: "sc-1f9ij0d-0"
|
|
7289
|
-
})(["position:relative;box-sizing:border-box;padding:", ";border:", ";box-shadow:", ";background-color:", ";min-height:", ";", " min-width:", ";max-width:", ";color:", ";border-radius:", ";border-width:", ";
|
|
7305
|
+
})(["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) {
|
|
7290
7306
|
var padding = _ref2.padding;
|
|
7291
7307
|
return padding;
|
|
7292
7308
|
}, function (_ref3) {
|
|
7293
|
-
var
|
|
7309
|
+
var border = _ref3.border,
|
|
7310
|
+
borderSize = _ref3.borderSize,
|
|
7294
7311
|
borderColor = _ref3.borderColor;
|
|
7295
|
-
return "".concat(borderSize, " solid ").concat(borderColor);
|
|
7312
|
+
return border ? border : "".concat(borderSize, " solid ").concat(borderColor);
|
|
7296
7313
|
}, function (_ref4) {
|
|
7297
7314
|
var boxShadow = _ref4.boxShadow;
|
|
7298
7315
|
return boxShadow;
|
|
@@ -7318,38 +7335,34 @@ var BoxWrapper = qe(function (_ref) {
|
|
|
7318
7335
|
var borderRadius = _ref11.borderRadius;
|
|
7319
7336
|
return borderRadius;
|
|
7320
7337
|
}, function (_ref12) {
|
|
7321
|
-
var borderWidthOverride = _ref12.borderWidthOverride
|
|
7322
|
-
|
|
7323
|
-
return borderWidthOverride ? borderWidthOverride : borderSize;
|
|
7338
|
+
var borderWidthOverride = _ref12.borderWidthOverride;
|
|
7339
|
+
return borderWidthOverride;
|
|
7324
7340
|
}, function (_ref13) {
|
|
7325
|
-
var
|
|
7326
|
-
return border;
|
|
7327
|
-
}, function (_ref14) {
|
|
7328
|
-
var textAlign = _ref14.textAlign;
|
|
7341
|
+
var textAlign = _ref13.textAlign;
|
|
7329
7342
|
return textAlign;
|
|
7330
|
-
}, function (
|
|
7331
|
-
var hoverStyles =
|
|
7332
|
-
as =
|
|
7343
|
+
}, function (_ref14) {
|
|
7344
|
+
var hoverStyles = _ref14.hoverStyles,
|
|
7345
|
+
as = _ref14.as;
|
|
7333
7346
|
return Ae(["", " ", ""], hoverStyles, as === "button" ? "> * > span {\n ".concat(hoverStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
|
|
7334
|
-
}, function (
|
|
7335
|
-
var as =
|
|
7347
|
+
}, function (_ref15) {
|
|
7348
|
+
var as = _ref15.as;
|
|
7336
7349
|
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 }");
|
|
7350
|
+
}, function (_ref16) {
|
|
7351
|
+
var activeStyles = _ref16.activeStyles,
|
|
7352
|
+
as = _ref16.as;
|
|
7353
|
+
return Ae(["", " ", ""], activeStyles, as === "button" ? " > * > span {\n ".concat(activeStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
|
|
7337
7354
|
}, function (_ref17) {
|
|
7338
|
-
var
|
|
7355
|
+
var disabledStyles = _ref17.disabledStyles,
|
|
7339
7356
|
as = _ref17.as;
|
|
7340
|
-
return Ae(["", " ", ""], activeStyles, as === "button" ? " > * > span {\n ".concat(activeStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
|
|
7341
|
-
}, function (_ref18) {
|
|
7342
|
-
var disabledStyles = _ref18.disabledStyles,
|
|
7343
|
-
as = _ref18.as;
|
|
7344
7357
|
return Ae(["", " ", ""], disabledStyles, as === "button" ? " > * > span {\n ".concat(disabledStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
|
|
7345
|
-
}, function (
|
|
7346
|
-
var color =
|
|
7358
|
+
}, function (_ref18) {
|
|
7359
|
+
var color = _ref18.color;
|
|
7347
7360
|
return color;
|
|
7348
|
-
}, function (
|
|
7349
|
-
var hiddenStyles =
|
|
7361
|
+
}, function (_ref19) {
|
|
7362
|
+
var hiddenStyles = _ref19.hiddenStyles;
|
|
7350
7363
|
return hiddenStyles && Ae(["display:none;"]);
|
|
7351
|
-
}, function (
|
|
7352
|
-
var extraStyles =
|
|
7364
|
+
}, function (_ref20) {
|
|
7365
|
+
var extraStyles = _ref20.extraStyles;
|
|
7353
7366
|
return Ae(["", ""], extraStyles);
|
|
7354
7367
|
});
|
|
7355
7368
|
/* eslint-enable no-unused-vars */
|
|
@@ -7507,8 +7520,8 @@ var ClusterInnerWrapper = qe.div.withConfig({
|
|
|
7507
7520
|
displayName: "Clusterstyled__ClusterInnerWrapper",
|
|
7508
7521
|
componentId: "sc-1dkqsm7-1"
|
|
7509
7522
|
})(["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) {
|
|
7510
|
-
var nowrap = _ref7
|
|
7511
|
-
return nowrap ? "nowrap" : "wrap";
|
|
7523
|
+
var $nowrap = _ref7.$nowrap;
|
|
7524
|
+
return $nowrap ? "nowrap" : "wrap";
|
|
7512
7525
|
}, function (_ref8) {
|
|
7513
7526
|
var justify = _ref8.justify;
|
|
7514
7527
|
return justify;
|
|
@@ -7568,7 +7581,7 @@ var Cluster = function Cluster(_ref) {
|
|
|
7568
7581
|
childGap: childGap,
|
|
7569
7582
|
minHeight: minHeight,
|
|
7570
7583
|
minWidth: minWidth,
|
|
7571
|
-
nowrap: nowrap
|
|
7584
|
+
$nowrap: nowrap
|
|
7572
7585
|
}, safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null))));
|
|
7573
7586
|
};
|
|
7574
7587
|
|
|
@@ -13575,7 +13588,7 @@ var SpinnerIcon = function SpinnerIcon(_ref3) {
|
|
|
13575
13588
|
}))))));
|
|
13576
13589
|
};
|
|
13577
13590
|
|
|
13578
|
-
var _excluded$h = ["action", "variant", "text", "isLoading", "dataQa", "textExtraStyles", "contentOverride", "extraStyles", "tabIndex", "children"];
|
|
13591
|
+
var _excluded$h = ["action", "variant", "text", "textWrap", "isLoading", "dataQa", "textExtraStyles", "contentOverride", "extraStyles", "tabIndex", "children"];
|
|
13579
13592
|
var rotate$1 = posed.div({
|
|
13580
13593
|
fixed: {
|
|
13581
13594
|
rotate: "0deg"
|
|
@@ -13632,6 +13645,8 @@ var ButtonWithAction = function ButtonWithAction(_ref2) {
|
|
|
13632
13645
|
_ref2$variant = _ref2.variant,
|
|
13633
13646
|
variant = _ref2$variant === void 0 ? "primary" : _ref2$variant,
|
|
13634
13647
|
text = _ref2.text,
|
|
13648
|
+
_ref2$textWrap = _ref2.textWrap,
|
|
13649
|
+
textWrap = _ref2$textWrap === void 0 ? false : _ref2$textWrap,
|
|
13635
13650
|
_ref2$isLoading = _ref2.isLoading,
|
|
13636
13651
|
isLoading = _ref2$isLoading === void 0 ? false : _ref2$isLoading,
|
|
13637
13652
|
_ref2$dataQa = _ref2.dataQa,
|
|
@@ -13676,6 +13691,7 @@ var ButtonWithAction = function ButtonWithAction(_ref2) {
|
|
|
13676
13691
|
weight: themeValues.fontWeight,
|
|
13677
13692
|
variant: themeValues.fontSizeVariant,
|
|
13678
13693
|
color: themeValues.color,
|
|
13694
|
+
textWrap: textWrap,
|
|
13679
13695
|
extraStyles: textExtraStyles
|
|
13680
13696
|
}, text)));
|
|
13681
13697
|
};
|
|
@@ -14856,8 +14872,7 @@ var TimeoutImage = function TimeoutImage() {
|
|
|
14856
14872
|
})))));
|
|
14857
14873
|
};
|
|
14858
14874
|
|
|
14859
|
-
var AutopayOnIcon = function AutopayOnIcon(
|
|
14860
|
-
var themeValues = _ref.themeValues;
|
|
14875
|
+
var AutopayOnIcon = function AutopayOnIcon() {
|
|
14861
14876
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
14862
14877
|
xmlns: "http://www.w3.org/2000/svg",
|
|
14863
14878
|
width: "12",
|
|
@@ -14870,14 +14885,12 @@ var AutopayOnIcon = function AutopayOnIcon(_ref) {
|
|
|
14870
14885
|
strokeWidth: "1"
|
|
14871
14886
|
}, /*#__PURE__*/React__default.createElement("path", {
|
|
14872
14887
|
className: "autopayIcon",
|
|
14873
|
-
fill:
|
|
14888
|
+
fill: SEA_GREEN,
|
|
14874
14889
|
fillRule: "nonzero",
|
|
14875
14890
|
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"
|
|
14876
14891
|
})));
|
|
14877
14892
|
};
|
|
14878
14893
|
|
|
14879
|
-
var AutopayOnIcon$1 = themeComponent(AutopayOnIcon, "Icons", fallbackValues$2, "primary");
|
|
14880
|
-
|
|
14881
14894
|
var NotFoundIcon = function NotFoundIcon() {
|
|
14882
14895
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
14883
14896
|
width: "548px",
|
|
@@ -17041,7 +17054,7 @@ var Title = function Title(_ref) {
|
|
|
17041
17054
|
|
|
17042
17055
|
var Title$1 = themeComponent(Title, "Title", fallbacks, "large");
|
|
17043
17056
|
|
|
17044
|
-
var color$3 = "#
|
|
17057
|
+
var color$3 = "#292A33";
|
|
17045
17058
|
var fallbackValues$6 = {
|
|
17046
17059
|
color: color$3
|
|
17047
17060
|
};
|
|
@@ -18008,6 +18021,7 @@ var ExternalLink = function ExternalLink(_ref) {
|
|
|
18008
18021
|
variant = _ref$variant === void 0 ? "primary" : _ref$variant,
|
|
18009
18022
|
_ref$tabIndex = _ref.tabIndex,
|
|
18010
18023
|
tabIndex = _ref$tabIndex === void 0 ? "0" : _ref$tabIndex,
|
|
18024
|
+
dataQa = _ref.dataQa,
|
|
18011
18025
|
children = _ref.children;
|
|
18012
18026
|
var themeContext = React.useContext(Me);
|
|
18013
18027
|
var themeValues = createThemeValues(themeContext, fallbackValues$9, "Link", variant);
|
|
@@ -18023,7 +18037,8 @@ var ExternalLink = function ExternalLink(_ref) {
|
|
|
18023
18037
|
fontFamily: themeValues.fontFamily,
|
|
18024
18038
|
tabIndex: tabIndex,
|
|
18025
18039
|
extrastyles: extraStyles,
|
|
18026
|
-
rel: newTab ? "noopener" : ""
|
|
18040
|
+
rel: newTab ? "noopener" : "",
|
|
18041
|
+
"data-qa": dataQa
|
|
18027
18042
|
}, safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
|
|
18028
18043
|
};
|
|
18029
18044
|
|
|
@@ -18093,6 +18108,7 @@ var InternalLink = function InternalLink(_ref) {
|
|
|
18093
18108
|
margin = _ref.margin,
|
|
18094
18109
|
_ref$tabIndex = _ref.tabIndex,
|
|
18095
18110
|
tabIndex = _ref$tabIndex === void 0 ? "0" : _ref$tabIndex,
|
|
18111
|
+
dataQa = _ref.dataQa,
|
|
18096
18112
|
_ref$extraStyles = _ref.extraStyles,
|
|
18097
18113
|
extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles;
|
|
18098
18114
|
var themeContext = React.useContext(Me);
|
|
@@ -18109,7 +18125,8 @@ var InternalLink = function InternalLink(_ref) {
|
|
|
18109
18125
|
hoverColor: themeValues.hoverColor,
|
|
18110
18126
|
activeColor: themeValues.activeColor,
|
|
18111
18127
|
tabIndex: tabIndex,
|
|
18112
|
-
extrastyles: extraStyles
|
|
18128
|
+
extrastyles: extraStyles,
|
|
18129
|
+
"data-qa": dataQa
|
|
18113
18130
|
}, safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
|
|
18114
18131
|
};
|
|
18115
18132
|
|
|
@@ -19722,7 +19739,7 @@ _curry2(function test(pattern, str) {
|
|
|
19722
19739
|
|
|
19723
19740
|
var URL_TEST = /(([a-z]{3,6}:\/\/)|(^|\s))([a-zA-Z0-9\-]+\.)+[a-z]{2,13}[\.\?\=\&\%\/\w\-]*\b([^@]|$)/;
|
|
19724
19741
|
|
|
19725
|
-
var _excluded$m = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab"];
|
|
19742
|
+
var _excluded$m = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab", "dataQa"];
|
|
19726
19743
|
|
|
19727
19744
|
var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
19728
19745
|
var _ref$url = _ref.url,
|
|
@@ -19735,6 +19752,7 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
|
19735
19752
|
linkExtraStyles = _ref.linkExtraStyles,
|
|
19736
19753
|
_ref$newTab = _ref.newTab,
|
|
19737
19754
|
newTab = _ref$newTab === void 0 ? false : _ref$newTab,
|
|
19755
|
+
dataQa = _ref.dataQa,
|
|
19738
19756
|
otherProps = _objectWithoutProperties(_ref, _excluded$m);
|
|
19739
19757
|
|
|
19740
19758
|
var ButtonWithLinkWrapper = function ButtonWithLinkWrapper(_ref2) {
|
|
@@ -19742,6 +19760,7 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
|
19742
19760
|
url = _ref2.url,
|
|
19743
19761
|
disabled = _ref2.disabled,
|
|
19744
19762
|
newTab = _ref2.newTab,
|
|
19763
|
+
dataQa = _ref2.dataQa,
|
|
19745
19764
|
extraStyles = _ref2.extraStyles;
|
|
19746
19765
|
|
|
19747
19766
|
if (disabled) {
|
|
@@ -19752,10 +19771,12 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
|
19752
19771
|
href: url,
|
|
19753
19772
|
tabIndex: "-1",
|
|
19754
19773
|
newTab: newTab,
|
|
19755
|
-
extraStyles: extraStyles
|
|
19774
|
+
extraStyles: extraStyles,
|
|
19775
|
+
dataQa: dataQa
|
|
19756
19776
|
}, safeChildren(children, /*#__PURE__*/React__default.createElement("span", null))) : /*#__PURE__*/React__default.createElement(InternalLink, {
|
|
19757
19777
|
to: url,
|
|
19758
19778
|
tabIndex: "-1",
|
|
19779
|
+
dataQa: dataQa,
|
|
19759
19780
|
extraStyles: extraStyles
|
|
19760
19781
|
}, safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
|
|
19761
19782
|
};
|
|
@@ -19764,7 +19785,8 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
|
19764
19785
|
url: url,
|
|
19765
19786
|
disabled: disabled,
|
|
19766
19787
|
newTab: newTab,
|
|
19767
|
-
extraStyles: "".concat(linkExtraStyles, " text-decoration: none; &:hover {\n text-decoration: none; }")
|
|
19788
|
+
extraStyles: "".concat(linkExtraStyles, " text-decoration: none; &:hover {\n text-decoration: none; }"),
|
|
19789
|
+
dataQa: dataQa
|
|
19768
19790
|
}, /*#__PURE__*/React__default.createElement(ButtonWithAction, _extends({}, otherProps, {
|
|
19769
19791
|
extraStyles: extraStyles
|
|
19770
19792
|
})));
|
|
@@ -23176,7 +23198,7 @@ var PlaceholderContentWrapper = function PlaceholderContentWrapper(_ref) {
|
|
|
23176
23198
|
dataQa = _ref.dataQa;
|
|
23177
23199
|
return isLink ? /*#__PURE__*/React__default.createElement(reactRouterDom.Link, {
|
|
23178
23200
|
to: destination,
|
|
23179
|
-
|
|
23201
|
+
"data-qa": dataQa
|
|
23180
23202
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
23181
23203
|
padding: "0",
|
|
23182
23204
|
minHeight: "100%",
|
|
@@ -40330,15 +40352,19 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
40330
40352
|
modalOpen = _ref.modalOpen,
|
|
40331
40353
|
deactivatePaymentSchedule = _ref.deactivatePaymentSchedule,
|
|
40332
40354
|
navigateToSettings = _ref.navigateToSettings,
|
|
40333
|
-
|
|
40355
|
+
_ref$controlType = _ref.controlType,
|
|
40356
|
+
controlType = _ref$controlType === void 0 ? "tertiary" : _ref$controlType,
|
|
40334
40357
|
isMobile = _ref.isMobile,
|
|
40335
40358
|
themeValues = _ref.themeValues,
|
|
40336
40359
|
isPaymentPlan = _ref.isPaymentPlan,
|
|
40337
|
-
nextAutopayDate = _ref.nextAutopayDate
|
|
40360
|
+
nextAutopayDate = _ref.nextAutopayDate,
|
|
40361
|
+
dueDate = _ref.dueDate,
|
|
40362
|
+
inactive = _ref.inactive;
|
|
40338
40363
|
var planType = isPaymentPlan ? "Payment Plan" : "Autopay";
|
|
40364
|
+
var nextDate = dueDate || nextAutopayDate;
|
|
40339
40365
|
var modalExtraProps = {
|
|
40340
40366
|
modalHeaderText: autoPayActive ? "Deactivate ".concat(planType) : "Set Up ".concat(planType),
|
|
40341
|
-
modalBodyText: autoPayActive ? "Are you sure you want to deactivate ".concat(isPaymentPlan ? "your payment plan" : "autopay", "?
|
|
40367
|
+
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?"),
|
|
40342
40368
|
continueButtonText: autoPayActive ? "Disable ".concat(planType) : "Add to Profile",
|
|
40343
40369
|
useDangerButton: autoPayActive,
|
|
40344
40370
|
continueAction: autoPayActive ? function () {
|
|
@@ -40349,6 +40375,67 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
40349
40375
|
var hoverStyles = "\n &:hover {\n .autopayIcon { fill: ".concat(themeValues.hoverColor, "; text-decoration: underline; cursor: pointer; }\n }");
|
|
40350
40376
|
var activeStyles = "\n &:active {\n .autopayIcon { fill: ".concat(themeValues.activeColor, "; text-decoration: underline; }\n }");
|
|
40351
40377
|
var defaultStyles = "\n .autopayIcon { fill: ".concat(themeValues.color, "; text-decoration: underline; }\n ");
|
|
40378
|
+
|
|
40379
|
+
var renderAutoPayControl = function renderAutoPayControl() {
|
|
40380
|
+
switch (controlType) {
|
|
40381
|
+
case "secondary":
|
|
40382
|
+
{
|
|
40383
|
+
return /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
40384
|
+
text: autoPayActive ? "Turn off ".concat(planType) : "Set Up ".concat(planType),
|
|
40385
|
+
variant: "secondary",
|
|
40386
|
+
action: function action() {
|
|
40387
|
+
toggleModal(true);
|
|
40388
|
+
},
|
|
40389
|
+
dataQa: "Turn off Autopay",
|
|
40390
|
+
extraStyles: isMobile ? "flex-grow: 1; width: 100%; margin: 0;" : "flex-grow: 1; min-width: 165px;"
|
|
40391
|
+
});
|
|
40392
|
+
}
|
|
40393
|
+
|
|
40394
|
+
case "tertiary":
|
|
40395
|
+
{
|
|
40396
|
+
return /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
40397
|
+
text: autoPayActive ? "Manage ".concat(planType) : "Set Up ".concat(planType),
|
|
40398
|
+
variant: "tertiary",
|
|
40399
|
+
action: function action() {
|
|
40400
|
+
toggleModal(true);
|
|
40401
|
+
},
|
|
40402
|
+
dataQa: "Manage Autopay",
|
|
40403
|
+
extraStyles: isMobile && "flex-grow: 1; width: 100%;"
|
|
40404
|
+
});
|
|
40405
|
+
}
|
|
40406
|
+
|
|
40407
|
+
case "link":
|
|
40408
|
+
{
|
|
40409
|
+
return /*#__PURE__*/React__default.createElement(Box, {
|
|
40410
|
+
padding: "0",
|
|
40411
|
+
onClick: function onClick() {
|
|
40412
|
+
toggleModal(true);
|
|
40413
|
+
},
|
|
40414
|
+
hoverStyles: hoverStyles,
|
|
40415
|
+
activeStyles: activeStyles,
|
|
40416
|
+
extraStyles: defaultStyles
|
|
40417
|
+
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
40418
|
+
justify: isMobile ? "flex-start" : "flex-end",
|
|
40419
|
+
align: "center"
|
|
40420
|
+
}, /*#__PURE__*/React__default.createElement(AutopayOnIcon, null), /*#__PURE__*/React__default.createElement(Text$1, {
|
|
40421
|
+
variant: "pS",
|
|
40422
|
+
onClick: function onClick() {
|
|
40423
|
+
return toggleModal(true);
|
|
40424
|
+
},
|
|
40425
|
+
onKeyPress: function onKeyPress(e) {
|
|
40426
|
+
e.key === "Enter" && toggleModal(true);
|
|
40427
|
+
},
|
|
40428
|
+
tabIndex: "0",
|
|
40429
|
+
dataQa: "".concat(planType, " On"),
|
|
40430
|
+
color: SEA_GREEN,
|
|
40431
|
+
weight: themeValues.fontWeight,
|
|
40432
|
+
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
40433
|
+
extraStyles: "padding-left: 0.25rem;"
|
|
40434
|
+
}, "".concat(planType, " ").concat(nextAutopayDate))));
|
|
40435
|
+
}
|
|
40436
|
+
}
|
|
40437
|
+
};
|
|
40438
|
+
|
|
40352
40439
|
return /*#__PURE__*/React__default.createElement(Modal$1, _extends({
|
|
40353
40440
|
showModal: function showModal() {
|
|
40354
40441
|
return toggleModal(true);
|
|
@@ -40357,43 +40444,7 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
40357
40444
|
return toggleModal(false);
|
|
40358
40445
|
},
|
|
40359
40446
|
modalOpen: modalOpen
|
|
40360
|
-
}, modalExtraProps),
|
|
40361
|
-
text: autoPayActive ? "Manage ".concat(planType) : "Set Up ".concat(planType),
|
|
40362
|
-
variant: "tertiary",
|
|
40363
|
-
action: function action() {
|
|
40364
|
-
toggleModal(true);
|
|
40365
|
-
},
|
|
40366
|
-
dataQa: "Manage Autopay",
|
|
40367
|
-
extraStyles: isMobile && "flex-grow: 1; width: 100%;"
|
|
40368
|
-
}) : /*#__PURE__*/React__default.createElement(Box, {
|
|
40369
|
-
padding: "0",
|
|
40370
|
-
onClick: function onClick() {
|
|
40371
|
-
toggleModal(true);
|
|
40372
|
-
},
|
|
40373
|
-
hoverStyles: hoverStyles,
|
|
40374
|
-
activeStyles: activeStyles,
|
|
40375
|
-
extraStyles: defaultStyles
|
|
40376
|
-
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
40377
|
-
justify: isMobile ? "flex-start" : "flex-end",
|
|
40378
|
-
align: "center"
|
|
40379
|
-
}, /*#__PURE__*/React__default.createElement(AutopayOnIcon$1, null), /*#__PURE__*/React__default.createElement(Text$1, {
|
|
40380
|
-
variant: "pS",
|
|
40381
|
-
onClick: function onClick() {
|
|
40382
|
-
return toggleModal(true);
|
|
40383
|
-
},
|
|
40384
|
-
onKeyPress: function onKeyPress(e) {
|
|
40385
|
-
console.log({
|
|
40386
|
-
e: e
|
|
40387
|
-
});
|
|
40388
|
-
e.key === "Enter" && toggleModal(true);
|
|
40389
|
-
},
|
|
40390
|
-
tabIndex: "0",
|
|
40391
|
-
dataQa: "".concat(planType, " On"),
|
|
40392
|
-
color: SEA_GREEN,
|
|
40393
|
-
weight: themeValues.fontWeight,
|
|
40394
|
-
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
40395
|
-
extraStyles: "padding-left: 0.25rem;"
|
|
40396
|
-
}, "".concat(planType, " ").concat(nextAutopayDate)))));
|
|
40447
|
+
}, modalExtraProps), renderAutoPayControl());
|
|
40397
40448
|
};
|
|
40398
40449
|
|
|
40399
40450
|
var AutopayModalModule = themeComponent(AutopayModal, "AutopayModal", fallbackValues$z);
|
|
@@ -40435,7 +40486,8 @@ var AmountModule = function AmountModule(_ref) {
|
|
|
40435
40486
|
isMobile: isMobile,
|
|
40436
40487
|
paymentPlanSchedule: paymentPlanSchedule,
|
|
40437
40488
|
isPaymentPlan: isPaymentPlan,
|
|
40438
|
-
nextAutopayDate: nextAutopayDate
|
|
40489
|
+
nextAutopayDate: nextAutopayDate,
|
|
40490
|
+
controlType: "link"
|
|
40439
40491
|
})));
|
|
40440
40492
|
};
|
|
40441
40493
|
|
|
@@ -40452,7 +40504,9 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
40452
40504
|
autoPaySchedule = _ref.autoPaySchedule,
|
|
40453
40505
|
paymentPlanSchedule = _ref.paymentPlanSchedule,
|
|
40454
40506
|
isPaymentPlan = _ref.isPaymentPlan,
|
|
40455
|
-
nextAutopayDate = _ref.nextAutopayDate
|
|
40507
|
+
nextAutopayDate = _ref.nextAutopayDate,
|
|
40508
|
+
obligationAssocID = _ref.obligationAssocID,
|
|
40509
|
+
dueDate = _ref.dueDate;
|
|
40456
40510
|
var planType = isPaymentPlan ? "Payment Plan" : "Autopay";
|
|
40457
40511
|
|
|
40458
40512
|
var _useState = React.useState(false),
|
|
@@ -40477,7 +40531,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
40477
40531
|
};
|
|
40478
40532
|
|
|
40479
40533
|
var handleDetailsClick = function handleDetailsClick() {
|
|
40480
|
-
setDetailedObligation(obligations, config);
|
|
40534
|
+
setDetailedObligation(obligations, config, obligationAssocID);
|
|
40481
40535
|
navigateToDetailedObligation(detailsSlug);
|
|
40482
40536
|
};
|
|
40483
40537
|
|
|
@@ -40543,14 +40597,14 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
40543
40597
|
modalOpen: modalOpen,
|
|
40544
40598
|
navigateToSettings: navigateToSettings,
|
|
40545
40599
|
deactivatePaymentSchedule: deactivatePaymentSchedule,
|
|
40546
|
-
|
|
40600
|
+
controlType: "tertiary",
|
|
40547
40601
|
isMobile: isMobile,
|
|
40548
40602
|
paymentPlanSchedule: paymentPlanSchedule,
|
|
40549
40603
|
isPaymentPlan: isPaymentPlan,
|
|
40550
|
-
nextAutopayDate: nextAutopayDate
|
|
40604
|
+
nextAutopayDate: nextAutopayDate,
|
|
40605
|
+
dueDate: dueDate
|
|
40551
40606
|
})), !isMobile && /*#__PURE__*/React__default.createElement(Box, {
|
|
40552
|
-
padding:
|
|
40553
|
-
extraStyles: isMobile && "flex-grow: 1;"
|
|
40607
|
+
padding: "0"
|
|
40554
40608
|
}, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
40555
40609
|
isLoading: isLoading,
|
|
40556
40610
|
action: function action() {
|
|
@@ -40558,8 +40612,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
40558
40612
|
},
|
|
40559
40613
|
text: "Pay Now",
|
|
40560
40614
|
variant: isMobile ? "smallSecondary" : "secondary",
|
|
40561
|
-
dataQa: "Pay Now"
|
|
40562
|
-
extraStyles: isMobile && "flex-grow: 1; width: 100%;"
|
|
40615
|
+
dataQa: "Pay Now"
|
|
40563
40616
|
}))), isMobile && /*#__PURE__*/React__default.createElement(Box, {
|
|
40564
40617
|
padding: "8px 0 0",
|
|
40565
40618
|
width: "100%"
|
|
@@ -40571,10 +40624,61 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
40571
40624
|
text: "Pay Now",
|
|
40572
40625
|
variant: isMobile ? "smallSecondary" : "secondary",
|
|
40573
40626
|
dataQa: "Pay Now",
|
|
40574
|
-
extraStyles: isMobile && "flex-grow: 1; width: 100%;"
|
|
40627
|
+
extraStyles: isMobile && "flex-grow: 1; width: 100%; margin: 0;"
|
|
40575
40628
|
}))));
|
|
40576
40629
|
};
|
|
40577
40630
|
|
|
40631
|
+
var RemoveAccountModalModule = function RemoveAccountModalModule(_ref) {
|
|
40632
|
+
var agencyName = _ref.agencyName,
|
|
40633
|
+
_ref$obligations = _ref.obligations,
|
|
40634
|
+
obligations = _ref$obligations === void 0 ? [] : _ref$obligations,
|
|
40635
|
+
removeAccount = _ref.removeAccount,
|
|
40636
|
+
accountType = _ref.accountType,
|
|
40637
|
+
isMobile = _ref.isMobile;
|
|
40638
|
+
|
|
40639
|
+
var _useState = React.useState(false),
|
|
40640
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
40641
|
+
modalIsOpen = _useState2[0],
|
|
40642
|
+
setModalIsOpen = _useState2[1];
|
|
40643
|
+
|
|
40644
|
+
var lastItem = _toConsumableArray(obligations).pop();
|
|
40645
|
+
|
|
40646
|
+
var accounts = obligations.length ? obligations.reduce(function (acc, curr) {
|
|
40647
|
+
var account = curr.details.description;
|
|
40648
|
+
var formattedAccount = curr !== lastItem ? "".concat(account, " and ") : "".concat(account);
|
|
40649
|
+
return formattedAccount === agencyName ? agencyName : acc + formattedAccount;
|
|
40650
|
+
}, "".concat(agencyName, " - ")) : "";
|
|
40651
|
+
var identifier = accountType === "Account" && obligations.length > 1 ? "accounts" : accountType === "Property" && obligations.length > 1 ? "properties" : accountType.toLowerCase();
|
|
40652
|
+
return /*#__PURE__*/React__default.createElement(Modal$1, {
|
|
40653
|
+
showModal: function showModal() {
|
|
40654
|
+
return setModalIsOpen(true);
|
|
40655
|
+
},
|
|
40656
|
+
hideModal: function hideModal() {
|
|
40657
|
+
return setModalIsOpen(false);
|
|
40658
|
+
},
|
|
40659
|
+
modalOpen: modalIsOpen,
|
|
40660
|
+
modalHeaderText: "Remove ".concat(accountType),
|
|
40661
|
+
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."),
|
|
40662
|
+
continueButtonText: "Remove",
|
|
40663
|
+
continueAction: function continueAction() {
|
|
40664
|
+
removeAccount();
|
|
40665
|
+
setModalIsOpen(false);
|
|
40666
|
+
},
|
|
40667
|
+
useDangerButton: true
|
|
40668
|
+
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
40669
|
+
padding: "0",
|
|
40670
|
+
extraStyles: "flex-grow: 1;"
|
|
40671
|
+
}, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
40672
|
+
text: "Remove",
|
|
40673
|
+
variant: "secondary",
|
|
40674
|
+
action: function action() {
|
|
40675
|
+
return setModalIsOpen(true);
|
|
40676
|
+
},
|
|
40677
|
+
dataQa: "Remove Account",
|
|
40678
|
+
extraStyles: isMobile ? "flex-grow: 1; width: 100%; margin: 0;" : "flex-grow: 1;"
|
|
40679
|
+
})));
|
|
40680
|
+
};
|
|
40681
|
+
|
|
40578
40682
|
var InactiveControlsModule = function InactiveControlsModule(_ref) {
|
|
40579
40683
|
var autoPayEnabled = _ref.autoPayEnabled,
|
|
40580
40684
|
autoPaySchedule = _ref.autoPaySchedule,
|
|
@@ -40585,6 +40689,9 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
|
|
|
40585
40689
|
isPaymentPlan = _ref.isPaymentPlan,
|
|
40586
40690
|
nextAutopayDate = _ref.nextAutopayDate,
|
|
40587
40691
|
obligationAssocID = _ref.obligationAssocID,
|
|
40692
|
+
dueDate = _ref.dueDate,
|
|
40693
|
+
agencyName = _ref.agencyName,
|
|
40694
|
+
configType = _ref.configType,
|
|
40588
40695
|
actions = _ref.actions;
|
|
40589
40696
|
|
|
40590
40697
|
var _useState = React.useState(false),
|
|
@@ -40592,10 +40699,10 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
|
|
|
40592
40699
|
modalOpen = _useState2[0],
|
|
40593
40700
|
toggleModal = _useState2[1];
|
|
40594
40701
|
|
|
40595
|
-
var
|
|
40702
|
+
var deleteObligationAssoc = actions.deleteObligationAssoc;
|
|
40596
40703
|
|
|
40597
40704
|
var handleRemoveAccount = function handleRemoveAccount() {
|
|
40598
|
-
return
|
|
40705
|
+
return deleteObligationAssoc(obligationAssocID);
|
|
40599
40706
|
};
|
|
40600
40707
|
|
|
40601
40708
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -40603,7 +40710,10 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
|
|
|
40603
40710
|
border: isMobile ? "1px solid ".concat(GHOST_GREY) : "0px",
|
|
40604
40711
|
borderWidthOverride: isMobile ? "1px 0 0 0" : "0px"
|
|
40605
40712
|
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
40606
|
-
childGap:
|
|
40713
|
+
childGap: autoPayEnabled ? "8px" : "0",
|
|
40714
|
+
nowrap: true,
|
|
40715
|
+
justify: isMobile && autoPayEnabled && "center",
|
|
40716
|
+
align: isMobile && autoPayEnabled && "center"
|
|
40607
40717
|
}, autoPayEnabled && /*#__PURE__*/React__default.createElement(Box, {
|
|
40608
40718
|
padding: "0",
|
|
40609
40719
|
extraStyles: "flex-grow: 1;"
|
|
@@ -40614,21 +40724,22 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
|
|
|
40614
40724
|
modalOpen: modalOpen,
|
|
40615
40725
|
navigateToSettings: navigateToSettings,
|
|
40616
40726
|
deactivatePaymentSchedule: deactivatePaymentSchedule,
|
|
40617
|
-
buttonLinkType: true,
|
|
40618
40727
|
isMobile: isMobile,
|
|
40619
40728
|
paymentPlanSchedule: paymentPlanSchedule,
|
|
40620
40729
|
isPaymentPlan: isPaymentPlan,
|
|
40621
40730
|
nextAutopayDate: nextAutopayDate,
|
|
40622
|
-
obligationAssocID: obligationAssocID
|
|
40731
|
+
obligationAssocID: obligationAssocID,
|
|
40732
|
+
dueDate: dueDate,
|
|
40733
|
+
controlType: "secondary",
|
|
40734
|
+
inactive: true
|
|
40623
40735
|
})), /*#__PURE__*/React__default.createElement(Box, {
|
|
40624
40736
|
padding: "0",
|
|
40625
40737
|
extraStyles: "flex-grow: 1;"
|
|
40626
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
40627
|
-
|
|
40628
|
-
|
|
40629
|
-
|
|
40630
|
-
|
|
40631
|
-
extraStyles: isMobile && "flex-grow: 1; width: 100%;"
|
|
40738
|
+
}, /*#__PURE__*/React__default.createElement(RemoveAccountModalModule, {
|
|
40739
|
+
agencyName: agencyName,
|
|
40740
|
+
removeAccount: handleRemoveAccount,
|
|
40741
|
+
accountType: configType === "ACCOUNT" ? "Account" : "Property",
|
|
40742
|
+
isMobile: isMobile
|
|
40632
40743
|
}))));
|
|
40633
40744
|
};
|
|
40634
40745
|
|
|
@@ -40658,10 +40769,12 @@ var InactiveTitleModule = function InactiveTitleModule(_ref) {
|
|
|
40658
40769
|
variant: "extraSmall",
|
|
40659
40770
|
as: "p",
|
|
40660
40771
|
color: BLACK
|
|
40661
|
-
}, "This may mean that the
|
|
40772
|
+
}, "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." : ""))));
|
|
40662
40773
|
};
|
|
40663
40774
|
|
|
40664
40775
|
var Obligation = function Obligation(_ref) {
|
|
40776
|
+
var _firstObligation$cust, _firstObligation$desc, _firstObligation$subD;
|
|
40777
|
+
|
|
40665
40778
|
var config = _ref.config,
|
|
40666
40779
|
obligations = _ref.obligations,
|
|
40667
40780
|
actions = _ref.actions,
|
|
@@ -40676,29 +40789,43 @@ var Obligation = function Obligation(_ref) {
|
|
|
40676
40789
|
isPaymentPlan = _ref.isPaymentPlan,
|
|
40677
40790
|
nextAutopayDate = _ref.nextAutopayDate,
|
|
40678
40791
|
obligationAssocID = _ref.obligationAssocID,
|
|
40679
|
-
|
|
40680
|
-
|
|
40792
|
+
dueDate = _ref.dueDate,
|
|
40793
|
+
agencyName = _ref.agencyName,
|
|
40794
|
+
_ref$inactive = _ref.inactive,
|
|
40795
|
+
inactive = _ref$inactive === void 0 ? false : _ref$inactive,
|
|
40681
40796
|
_ref$inactiveLookupTi = _ref.inactiveLookupTitle,
|
|
40682
40797
|
inactiveLookupTitle = _ref$inactiveLookupTi === void 0 ? "" : _ref$inactiveLookupTi,
|
|
40683
40798
|
_ref$inactiveLookupIn = _ref.inactiveLookupInput,
|
|
40684
40799
|
inactiveLookupInput = _ref$inactiveLookupIn === void 0 ? "Account" : _ref$inactiveLookupIn,
|
|
40685
40800
|
_ref$inactiveLookupVa = _ref.inactiveLookupValue,
|
|
40686
40801
|
inactiveLookupValue = _ref$inactiveLookupVa === void 0 ? "" : _ref$inactiveLookupVa;
|
|
40687
|
-
|
|
40688
|
-
|
|
40689
|
-
|
|
40802
|
+
|
|
40803
|
+
/*
|
|
40804
|
+
The value of obligations is always an array. It can contain:
|
|
40805
|
+
- A single obligation
|
|
40806
|
+
- A group of obligations (a "collection")
|
|
40807
|
+
|
|
40808
|
+
The top level desc/subdesc for all obligations in a collection is the same
|
|
40809
|
+
(Collection accounts look different in the Account Details page)
|
|
40810
|
+
*/
|
|
40811
|
+
var firstObligation = obligations[0];
|
|
40812
|
+
var customAttributes = (_firstObligation$cust = firstObligation === null || firstObligation === void 0 ? void 0 : firstObligation.customAttributes) !== null && _firstObligation$cust !== void 0 ? _firstObligation$cust : {};
|
|
40813
|
+
var boxShadowValue = "0px 2px 4px rgba(41, 42, 51, 0.1), 0px 1px 1px 2px rgba(41, 42, 51, 0.1);";
|
|
40690
40814
|
var activeObligation = /*#__PURE__*/React__default.createElement(Box, {
|
|
40691
40815
|
padding: "0",
|
|
40692
40816
|
borderRadius: "4px",
|
|
40693
40817
|
boxShadow: boxShadowValue,
|
|
40694
40818
|
as: "section",
|
|
40695
|
-
"aria-label": "".concat(
|
|
40819
|
+
"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),
|
|
40820
|
+
border: "1px solid ".concat(GRECIAN_GREY),
|
|
40821
|
+
borderWidthOverride: "1px 0 0 0"
|
|
40696
40822
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
40697
|
-
background: WHITE
|
|
40823
|
+
background: WHITE,
|
|
40824
|
+
padding: isMobile ? "16px" : "24px 16px"
|
|
40698
40825
|
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
40699
40826
|
childGap: "14px"
|
|
40700
40827
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
40701
|
-
key: "".concat(
|
|
40828
|
+
key: "".concat(firstObligation === null || firstObligation === void 0 ? void 0 : firstObligation.id, "-top"),
|
|
40702
40829
|
padding: "0 8px",
|
|
40703
40830
|
minWidth: "100%"
|
|
40704
40831
|
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
@@ -40718,12 +40845,12 @@ var Obligation = function Obligation(_ref) {
|
|
|
40718
40845
|
iconValue: config.iconValue,
|
|
40719
40846
|
customAttributes: customAttributes
|
|
40720
40847
|
}), /*#__PURE__*/React__default.createElement(TitleModule, {
|
|
40721
|
-
title:
|
|
40722
|
-
subtitle:
|
|
40848
|
+
title: firstObligation === null || firstObligation === void 0 ? void 0 : firstObligation.description,
|
|
40849
|
+
subtitle: firstObligation === null || firstObligation === void 0 ? void 0 : firstObligation.subDescription,
|
|
40723
40850
|
titleColor: BRIGHT_GREY,
|
|
40724
40851
|
isMobile: isMobile
|
|
40725
40852
|
}))), !isMobile && /*#__PURE__*/React__default.createElement(AmountModule, {
|
|
40726
|
-
totalAmountDue: obligations.reduce(function (acc, curr) {
|
|
40853
|
+
totalAmountDue: obligations === null || obligations === void 0 ? void 0 : obligations.reduce(function (acc, curr) {
|
|
40727
40854
|
return acc + curr.amountDue;
|
|
40728
40855
|
}, 0),
|
|
40729
40856
|
autoPayEnabled: autoPayEnabled,
|
|
@@ -40747,7 +40874,8 @@ var Obligation = function Obligation(_ref) {
|
|
|
40747
40874
|
actions: actions,
|
|
40748
40875
|
isMobile: isMobile,
|
|
40749
40876
|
isPaymentPlan: isPaymentPlan,
|
|
40750
|
-
nextAutopayDate: nextAutopayDate
|
|
40877
|
+
nextAutopayDate: nextAutopayDate,
|
|
40878
|
+
obligationAssocID: obligationAssocID
|
|
40751
40879
|
}))), isMobile && /*#__PURE__*/React__default.createElement(PaymentDetailsActions, {
|
|
40752
40880
|
obligations: obligations,
|
|
40753
40881
|
autoPayEnabled: autoPayEnabled,
|
|
@@ -40761,7 +40889,8 @@ var Obligation = function Obligation(_ref) {
|
|
|
40761
40889
|
actions: actions,
|
|
40762
40890
|
isMobile: isMobile,
|
|
40763
40891
|
isPaymentPlan: isPaymentPlan,
|
|
40764
|
-
nextAutopayDate: nextAutopayDate
|
|
40892
|
+
nextAutopayDate: nextAutopayDate,
|
|
40893
|
+
obligationAssocID: obligationAssocID
|
|
40765
40894
|
}));
|
|
40766
40895
|
var inactiveObligation = /*#__PURE__*/React__default.createElement(Box, {
|
|
40767
40896
|
padding: "0",
|
|
@@ -40770,23 +40899,25 @@ var Obligation = function Obligation(_ref) {
|
|
|
40770
40899
|
as: "section",
|
|
40771
40900
|
"aria-label": "".concat(inactiveLookupTitle, " ").concat(inactiveLookupInput, ": ").concat(inactiveLookupValue)
|
|
40772
40901
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
40773
|
-
background: ATHENS_GREY
|
|
40902
|
+
background: ATHENS_GREY,
|
|
40903
|
+
padding: isMobile ? "16px" : "24px"
|
|
40774
40904
|
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
40775
40905
|
childGap: "14px"
|
|
40776
40906
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
40777
|
-
key: "".concat(
|
|
40778
|
-
padding: "0
|
|
40907
|
+
key: "".concat(obligationAssocID, "-top"),
|
|
40908
|
+
padding: "0",
|
|
40779
40909
|
minWidth: "100%"
|
|
40780
40910
|
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
40781
40911
|
justify: "space-between",
|
|
40782
40912
|
align: "center",
|
|
40783
|
-
childGap: "
|
|
40913
|
+
childGap: "40px",
|
|
40784
40914
|
nowrap: true
|
|
40785
40915
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
40786
40916
|
padding: "0"
|
|
40787
40917
|
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
40788
40918
|
justify: "flex-start",
|
|
40789
|
-
align: "center"
|
|
40919
|
+
align: "center",
|
|
40920
|
+
nowrap: true
|
|
40790
40921
|
}, /*#__PURE__*/React__default.createElement(IconsModule, {
|
|
40791
40922
|
icon: config.icon,
|
|
40792
40923
|
iconDefault: config.iconDefault,
|
|
@@ -40809,7 +40940,10 @@ var Obligation = function Obligation(_ref) {
|
|
|
40809
40940
|
actions: actions,
|
|
40810
40941
|
isMobile: isMobile,
|
|
40811
40942
|
nextAutopayDate: nextAutopayDate,
|
|
40812
|
-
obligationAssocID: obligationAssocID
|
|
40943
|
+
obligationAssocID: obligationAssocID,
|
|
40944
|
+
dueDate: dueDate,
|
|
40945
|
+
agencyName: agencyName,
|
|
40946
|
+
configType: config.type
|
|
40813
40947
|
}))), isMobile && /*#__PURE__*/React__default.createElement(InactiveControlsModule, {
|
|
40814
40948
|
obligations: obligations,
|
|
40815
40949
|
autoPayEnabled: autoPayEnabled,
|
|
@@ -40820,9 +40954,12 @@ var Obligation = function Obligation(_ref) {
|
|
|
40820
40954
|
actions: actions,
|
|
40821
40955
|
isMobile: isMobile,
|
|
40822
40956
|
nextAutopayDate: nextAutopayDate,
|
|
40823
|
-
obligationAssocID: obligationAssocID
|
|
40957
|
+
obligationAssocID: obligationAssocID,
|
|
40958
|
+
dueDate: dueDate,
|
|
40959
|
+
agencyName: agencyName,
|
|
40960
|
+
configType: config.type
|
|
40824
40961
|
}))));
|
|
40825
|
-
return
|
|
40962
|
+
return inactive ? inactiveObligation : activeObligation;
|
|
40826
40963
|
};
|
|
40827
40964
|
|
|
40828
40965
|
var PartialAmountForm = function PartialAmountForm(_ref) {
|
|
@@ -41138,10 +41275,49 @@ var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
|
41138
41275
|
subtotal = _ref.subtotal,
|
|
41139
41276
|
total = _ref.total,
|
|
41140
41277
|
variant = _ref.variant,
|
|
41141
|
-
themeValues = _ref.themeValues
|
|
41278
|
+
themeValues = _ref.themeValues,
|
|
41279
|
+
hasVoidablePaymentsSection = _ref.hasVoidablePaymentsSection,
|
|
41280
|
+
voidableTransactionDetails = _ref.voidableTransactionDetails,
|
|
41281
|
+
voidableAmountPaid = _ref.voidableAmountPaid,
|
|
41282
|
+
partialVoidAction = _ref.partialVoidAction;
|
|
41142
41283
|
return /*#__PURE__*/React__default.createElement(Stack, {
|
|
41143
41284
|
childGap: "16px"
|
|
41144
|
-
}, lineItemElems,
|
|
41285
|
+
}, lineItemElems, hasVoidablePaymentsSection && /*#__PURE__*/React__default.createElement(Box, {
|
|
41286
|
+
background: ATHENS_GREY
|
|
41287
|
+
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
41288
|
+
variant: "p",
|
|
41289
|
+
color: themeValues.text,
|
|
41290
|
+
weight: "400"
|
|
41291
|
+
}, "Paid"), voidableTransactionDetails.map(function (t) {
|
|
41292
|
+
return /*#__PURE__*/React__default.createElement(Cluster, {
|
|
41293
|
+
key: t.id,
|
|
41294
|
+
justify: "space-between",
|
|
41295
|
+
align: "center"
|
|
41296
|
+
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
41297
|
+
padding: "0",
|
|
41298
|
+
align: "center"
|
|
41299
|
+
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
41300
|
+
padding: "0"
|
|
41301
|
+
}, t.voidText), /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
41302
|
+
variant: "ghost",
|
|
41303
|
+
action: function action() {
|
|
41304
|
+
return partialVoidAction(t);
|
|
41305
|
+
},
|
|
41306
|
+
text: "Void",
|
|
41307
|
+
extraStyles: "min-width: 75px; margin: 0px;",
|
|
41308
|
+
textExtraStyles: "font-weight: ".concat(FONT_WEIGHT_REGULAR, "; font-size: 16px;")
|
|
41309
|
+
})), /*#__PURE__*/React__default.createElement(Box, {
|
|
41310
|
+
padding: "0",
|
|
41311
|
+
key: t.id
|
|
41312
|
+
}, displayCurrency(t.amount_given)));
|
|
41313
|
+
}), /*#__PURE__*/React__default.createElement(Box, {
|
|
41314
|
+
padding: "8px 0px 16px 0px"
|
|
41315
|
+
}, /*#__PURE__*/React__default.createElement(SolidDivider$1, null)), /*#__PURE__*/React__default.createElement(LabeledAmount$1, {
|
|
41316
|
+
fontWeight: FONT_WEIGHT_REGULAR,
|
|
41317
|
+
label: "Amount paid",
|
|
41318
|
+
amount: displayCurrency(voidableAmountPaid)
|
|
41319
|
+
})), !hasVoidablePaymentsSection && !!lineItemElems.length && /*#__PURE__*/React__default.createElement(SolidDivider$1, null) // avoids duplicate dividers -> case of voidable payment section, that acts as divider
|
|
41320
|
+
, /*#__PURE__*/React__default.createElement(Box, {
|
|
41145
41321
|
padding: "0.5rem 0"
|
|
41146
41322
|
}, /*#__PURE__*/React__default.createElement(LabeledAmount$1, {
|
|
41147
41323
|
variant: themeValues.labeledAmountSubtotal,
|
|
@@ -41150,7 +41326,7 @@ var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
|
41150
41326
|
}), feeElems), /*#__PURE__*/React__default.createElement(SolidDivider$1, null), /*#__PURE__*/React__default.createElement(LabeledAmount$1, {
|
|
41151
41327
|
as: "p",
|
|
41152
41328
|
variant: themeValues.labeledAmountTotal,
|
|
41153
|
-
label: "Total",
|
|
41329
|
+
label: hasVoidablePaymentsSection ? "Remaining amount due" : "Total",
|
|
41154
41330
|
amount: displayCurrency(total),
|
|
41155
41331
|
extraStyles: variant === "small" && "font-weight: ".concat(FONT_WEIGHT_BOLD, ";")
|
|
41156
41332
|
}));
|
|
@@ -41210,7 +41386,15 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
41210
41386
|
collapsibleOnMobile = _ref4$collapsibleOnMo === void 0 ? true : _ref4$collapsibleOnMo,
|
|
41211
41387
|
isMobile = _ref4.isMobile,
|
|
41212
41388
|
supportsTouch = _ref4.supportsTouch,
|
|
41213
|
-
themeValues = _ref4.themeValues
|
|
41389
|
+
themeValues = _ref4.themeValues,
|
|
41390
|
+
_ref4$hasVoidablePaym = _ref4.hasVoidablePaymentsSection,
|
|
41391
|
+
hasVoidablePaymentsSection = _ref4$hasVoidablePaym === void 0 ? false : _ref4$hasVoidablePaym,
|
|
41392
|
+
_ref4$voidableTransac = _ref4.voidableTransactionDetails,
|
|
41393
|
+
voidableTransactionDetails = _ref4$voidableTransac === void 0 ? [] : _ref4$voidableTransac,
|
|
41394
|
+
_ref4$partialVoidActi = _ref4.partialVoidAction,
|
|
41395
|
+
partialVoidAction = _ref4$partialVoidActi === void 0 ? noop : _ref4$partialVoidActi,
|
|
41396
|
+
_ref4$voidableAmountP = _ref4.voidableAmountPaid,
|
|
41397
|
+
voidableAmountPaid = _ref4$voidableAmountP === void 0 ? 0 : _ref4$voidableAmountP;
|
|
41214
41398
|
|
|
41215
41399
|
var _useState = React.useState(initiallyOpen),
|
|
41216
41400
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -41266,14 +41450,22 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
41266
41450
|
subtotal: subtotal,
|
|
41267
41451
|
total: total,
|
|
41268
41452
|
themeValues: themeValues,
|
|
41269
|
-
variant: variant
|
|
41453
|
+
variant: variant,
|
|
41454
|
+
hasVoidablePaymentsSection: hasVoidablePaymentsSection,
|
|
41455
|
+
voidableTransactionDetails: voidableTransactionDetails,
|
|
41456
|
+
voidableAmountPaid: voidableAmountPaid,
|
|
41457
|
+
partialVoidAction: partialVoidAction
|
|
41270
41458
|
})) : /*#__PURE__*/React__default.createElement(PaymentDetailsContent, {
|
|
41271
41459
|
lineItemElems: lineItemElems,
|
|
41272
41460
|
feeElems: feeElems,
|
|
41273
41461
|
subtotal: subtotal,
|
|
41274
41462
|
total: total,
|
|
41275
41463
|
themeValues: themeValues,
|
|
41276
|
-
variant: variant
|
|
41464
|
+
variant: variant,
|
|
41465
|
+
hasVoidablePaymentsSection: hasVoidablePaymentsSection,
|
|
41466
|
+
voidableTransactionDetails: voidableTransactionDetails,
|
|
41467
|
+
voidableAmountPaid: voidableAmountPaid,
|
|
41468
|
+
partialVoidAction: partialVoidAction
|
|
41277
41469
|
});
|
|
41278
41470
|
var title = hideTitle ? /*#__PURE__*/React__default.createElement(React.Fragment, null) : isCollapsible ? /*#__PURE__*/React__default.createElement(Box, {
|
|
41279
41471
|
width: "100%",
|
|
@@ -42416,7 +42608,7 @@ var TabSidebar = function TabSidebar(_ref) {
|
|
|
42416
42608
|
themeValues = _ref.themeValues;
|
|
42417
42609
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
42418
42610
|
padding: "0",
|
|
42419
|
-
background:
|
|
42611
|
+
background: COOL_GREY_05,
|
|
42420
42612
|
minHeight: "100%",
|
|
42421
42613
|
role: "region",
|
|
42422
42614
|
"aria-label": "Profile tabs",
|
|
@@ -42718,7 +42910,8 @@ var WorkflowTile = function WorkflowTile(_ref) {
|
|
|
42718
42910
|
minWidth: "100%",
|
|
42719
42911
|
url: "/service/".concat(slug),
|
|
42720
42912
|
extraStyles: "width: 100%;",
|
|
42721
|
-
linkExtraStyles: "justify-content: center;"
|
|
42913
|
+
linkExtraStyles: "justify-content: center;",
|
|
42914
|
+
dataQa: slug
|
|
42722
42915
|
}))));
|
|
42723
42916
|
};
|
|
42724
42917
|
|
|
@@ -42835,7 +43028,7 @@ var PeriscopeDashboardIframe = function PeriscopeDashboardIframe(_ref) {
|
|
|
42835
43028
|
}, "Your organization may not have a dashboard configured."))), !periscopeDataFailure && url && Dashboard(height)(url)));
|
|
42836
43029
|
};
|
|
42837
43030
|
|
|
42838
|
-
var pageBackground = "#
|
|
43031
|
+
var pageBackground = "#FBFCFD";
|
|
42839
43032
|
var fallbackValues$H = {
|
|
42840
43033
|
pageBackground: pageBackground
|
|
42841
43034
|
};
|
|
@@ -42859,7 +43052,7 @@ var CenterSingle = function CenterSingle(_ref) {
|
|
|
42859
43052
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
42860
43053
|
padding: "0",
|
|
42861
43054
|
minWidth: "100%",
|
|
42862
|
-
background:
|
|
43055
|
+
background: COOL_GREY_05,
|
|
42863
43056
|
extraStyles: "flex-grow: 1;"
|
|
42864
43057
|
}, /*#__PURE__*/React__default.createElement(Cover, {
|
|
42865
43058
|
centerOverride: isMobile && !centeredMobileContent
|
|
@@ -42904,7 +43097,7 @@ var CenterStack = function CenterStack(_ref) {
|
|
|
42904
43097
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
42905
43098
|
padding: "0",
|
|
42906
43099
|
minWidth: "100%",
|
|
42907
|
-
background:
|
|
43100
|
+
background: COOL_GREY_05,
|
|
42908
43101
|
extraStyles: "flex-grow: 1;"
|
|
42909
43102
|
}, /*#__PURE__*/React__default.createElement(Cover, null, header ? header : /*#__PURE__*/React__default.createElement(Box, {
|
|
42910
43103
|
padding: "0"
|
|
@@ -42944,7 +43137,7 @@ var CenterSingle$2 = function CenterSingle(_ref) {
|
|
|
42944
43137
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
42945
43138
|
padding: "0",
|
|
42946
43139
|
minWidth: "100%",
|
|
42947
|
-
background:
|
|
43140
|
+
background: COOL_GREY_05,
|
|
42948
43141
|
extraStyles: "flex-grow: 1;"
|
|
42949
43142
|
}, /*#__PURE__*/React__default.createElement(Cover, {
|
|
42950
43143
|
childGap: "0",
|
|
@@ -42995,7 +43188,7 @@ var SidebarSingleContent = function SidebarSingleContent(_ref) {
|
|
|
42995
43188
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
42996
43189
|
padding: "0",
|
|
42997
43190
|
minWidth: "100%",
|
|
42998
|
-
background:
|
|
43191
|
+
background: COOL_GREY_05,
|
|
42999
43192
|
extraStyles: "flex-grow: 1;"
|
|
43000
43193
|
}, /*#__PURE__*/React__default.createElement(Cover, {
|
|
43001
43194
|
centerOverride: !sidebarVerticalCenter
|
|
@@ -43051,7 +43244,7 @@ var SidebarStackContent = function SidebarStackContent(_ref) {
|
|
|
43051
43244
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
43052
43245
|
padding: "0",
|
|
43053
43246
|
minWidth: "100%",
|
|
43054
|
-
background:
|
|
43247
|
+
background: COOL_GREY_05,
|
|
43055
43248
|
key: "page-bg",
|
|
43056
43249
|
extraStyles: "flex-grow: 1;"
|
|
43057
43250
|
}, /*#__PURE__*/React__default.createElement(Cover, {
|
|
@@ -43119,7 +43312,7 @@ exports.AddressForm = AddressForm;
|
|
|
43119
43312
|
exports.Alert = Alert$1;
|
|
43120
43313
|
exports.AllocatedIcon = AllocatedIcon;
|
|
43121
43314
|
exports.AmountCallout = AmountCallout$1;
|
|
43122
|
-
exports.AutopayOnIcon = AutopayOnIcon
|
|
43315
|
+
exports.AutopayOnIcon = AutopayOnIcon;
|
|
43123
43316
|
exports.BankIcon = BankIcon;
|
|
43124
43317
|
exports.Box = Box;
|
|
43125
43318
|
exports.BoxWithShadow = BoxWithShadow$1;
|