@thecb/components 7.10.5-beta.2 → 7.10.5-beta.4
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 +2025 -541
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +212 -19
- package/dist/index.esm.js +1999 -540
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/constants/colors.js +4 -4
package/dist/index.esm.js
CHANGED
|
@@ -4959,7 +4959,8 @@ var SEASHELL_WHITE = "#F1F1F1";
|
|
|
4959
4959
|
var ALABASTER_WHITE = "#F7F7F7";
|
|
4960
4960
|
var AQUA_HAZE_WHITE = "#F7F9FA";
|
|
4961
4961
|
var BLEACH_WHITE = "#FEF4d7";
|
|
4962
|
-
var CATSKILL_WHITE = "#EAF2F6";
|
|
4962
|
+
var CATSKILL_WHITE = "#EAF2F6";
|
|
4963
|
+
var HALF_COLONIAL_WHITE = "#FDF4D2"; // GREY
|
|
4963
4964
|
|
|
4964
4965
|
var ATHENS_GREY = "#F6F6F9"; // CBS-100
|
|
4965
4966
|
|
|
@@ -5007,7 +5008,9 @@ var INFO_BLUE = "#E4F4FD";
|
|
|
5007
5008
|
var HOVER_LIGHT_BLUE = "#EFFAFF";
|
|
5008
5009
|
var MATISSE_BLUE = "#15749D";
|
|
5009
5010
|
var ROYAL_BLUE = "#3181E3";
|
|
5010
|
-
var ASTRAL_BLUE = "#3176AA";
|
|
5011
|
+
var ASTRAL_BLUE = "#3176AA";
|
|
5012
|
+
var SAPPHIRE_BLUE = "#116285";
|
|
5013
|
+
var PEACOCK_BLUE = "#0E506D"; // GREEN
|
|
5011
5014
|
|
|
5012
5015
|
var FOREST_GREEN = "#19b03F";
|
|
5013
5016
|
var MEADOW_GREEN = "#16C98D";
|
|
@@ -5030,6 +5033,7 @@ var RED = "#FF0000";
|
|
|
5030
5033
|
var CRIMSON_RED = "#ED1C24";
|
|
5031
5034
|
var THUNDERBIRD_RED = "#C3191F";
|
|
5032
5035
|
var RAZZMATAZZ_RED = "#D11053";
|
|
5036
|
+
var RASPBERRY = "#ED125F";
|
|
5033
5037
|
var FANTASY_RED = "#FCF4F4";
|
|
5034
5038
|
var COSMOS_RED = "#FFD0D3";
|
|
5035
5039
|
var BLUSH_RED = "#FFF0F5"; // Second level color constants
|
|
@@ -5063,6 +5067,25 @@ var ALERT_COLORS = {
|
|
|
5063
5067
|
},
|
|
5064
5068
|
text: ZODIAC_BLUE,
|
|
5065
5069
|
link: SCIENCE_BLUE
|
|
5070
|
+
}; // These pill colors match the current CityBase design and are grouped for convenience.
|
|
5071
|
+
|
|
5072
|
+
var PILL_COLORS = {
|
|
5073
|
+
danger: {
|
|
5074
|
+
background: BLUSH_RED,
|
|
5075
|
+
text: RAZZMATAZZ_RED
|
|
5076
|
+
},
|
|
5077
|
+
neutral: {
|
|
5078
|
+
background: GRECIAN_GREY,
|
|
5079
|
+
text: CHARADE_GREY
|
|
5080
|
+
},
|
|
5081
|
+
success: {
|
|
5082
|
+
background: HINT_GREEN,
|
|
5083
|
+
text: SEA_GREEN
|
|
5084
|
+
},
|
|
5085
|
+
warning: {
|
|
5086
|
+
background: HALF_COLONIAL_WHITE,
|
|
5087
|
+
text: ZEST_ORANGE
|
|
5088
|
+
}
|
|
5066
5089
|
};
|
|
5067
5090
|
|
|
5068
5091
|
var colors = /*#__PURE__*/Object.freeze({
|
|
@@ -5114,6 +5137,8 @@ var colors = /*#__PURE__*/Object.freeze({
|
|
|
5114
5137
|
MATISSE_BLUE: MATISSE_BLUE,
|
|
5115
5138
|
ROYAL_BLUE: ROYAL_BLUE,
|
|
5116
5139
|
ASTRAL_BLUE: ASTRAL_BLUE,
|
|
5140
|
+
SAPPHIRE_BLUE: SAPPHIRE_BLUE,
|
|
5141
|
+
PEACOCK_BLUE: PEACOCK_BLUE,
|
|
5117
5142
|
FOREST_GREEN: FOREST_GREEN,
|
|
5118
5143
|
MEADOW_GREEN: MEADOW_GREEN,
|
|
5119
5144
|
POLAR_GREEN: POLAR_GREEN,
|
|
@@ -5125,6 +5150,7 @@ var colors = /*#__PURE__*/Object.freeze({
|
|
|
5125
5150
|
SELECTIVE_YELLOW: SELECTIVE_YELLOW,
|
|
5126
5151
|
MUSTARD_YELLOW: MUSTARD_YELLOW,
|
|
5127
5152
|
FIRE_YELLOW: FIRE_YELLOW,
|
|
5153
|
+
HALF_COLONIAL_WHITE: HALF_COLONIAL_WHITE,
|
|
5128
5154
|
CARROT_ORANGE: CARROT_ORANGE,
|
|
5129
5155
|
ZEST_ORANGE: ZEST_ORANGE,
|
|
5130
5156
|
APRICOT_ORANGE: APRICOT_ORANGE,
|
|
@@ -5135,7 +5161,9 @@ var colors = /*#__PURE__*/Object.freeze({
|
|
|
5135
5161
|
FANTASY_RED: FANTASY_RED,
|
|
5136
5162
|
COSMOS_RED: COSMOS_RED,
|
|
5137
5163
|
BLUSH_RED: BLUSH_RED,
|
|
5164
|
+
RASPBERRY: RASPBERRY,
|
|
5138
5165
|
ALERT_COLORS: ALERT_COLORS,
|
|
5166
|
+
PILL_COLORS: PILL_COLORS,
|
|
5139
5167
|
ERROR_COLOR: ERROR_COLOR
|
|
5140
5168
|
});
|
|
5141
5169
|
|
|
@@ -6310,6 +6338,14 @@ var throttle = function throttle(delay, fn) {
|
|
|
6310
6338
|
return fn.apply(void 0, arguments);
|
|
6311
6339
|
};
|
|
6312
6340
|
};
|
|
6341
|
+
var titleCaseWord = function titleCaseWord(word) {
|
|
6342
|
+
return word.charAt(0).toUpperCase() + word.slice(1);
|
|
6343
|
+
};
|
|
6344
|
+
var titleCaseString = function titleCaseString(string) {
|
|
6345
|
+
return string.split(" ").map(function (word, index, string) {
|
|
6346
|
+
return index === 0 || index === string.length - 1 || word.length > 3 ? titleCaseWord(word.toLowerCase()) : word;
|
|
6347
|
+
}).join(" ");
|
|
6348
|
+
};
|
|
6313
6349
|
|
|
6314
6350
|
var general = /*#__PURE__*/Object.freeze({
|
|
6315
6351
|
__proto__: null,
|
|
@@ -6327,7 +6363,9 @@ var general = /*#__PURE__*/Object.freeze({
|
|
|
6327
6363
|
inputPlaceholderTextStyle: inputPlaceholderTextStyle,
|
|
6328
6364
|
inputDisabledStyle: inputDisabledStyle,
|
|
6329
6365
|
MOBILE_WIDTH: MOBILE_WIDTH,
|
|
6330
|
-
throttle: throttle
|
|
6366
|
+
throttle: throttle,
|
|
6367
|
+
titleCaseWord: titleCaseWord,
|
|
6368
|
+
titleCaseString: titleCaseString
|
|
6331
6369
|
});
|
|
6332
6370
|
|
|
6333
6371
|
var _excluded$1 = ["themeValues", "weight", "color", "textWrap", "extraStyles", "hoverStyles", "onClick", "onKeyPress", "as", "dataQa", "children", "variant"];
|
|
@@ -6448,8 +6486,9 @@ var BoxWrapper = styled(function (_ref) {
|
|
|
6448
6486
|
return textAlign;
|
|
6449
6487
|
}, function (_ref14) {
|
|
6450
6488
|
var hoverStyles = _ref14.hoverStyles,
|
|
6451
|
-
as = _ref14.as
|
|
6452
|
-
|
|
6489
|
+
as = _ref14.as,
|
|
6490
|
+
disabled = _ref14.disabled;
|
|
6491
|
+
return css(["", " ", ""], hoverStyles, as === "button" && !disabled ? "> * > span {\n ".concat(hoverStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
|
|
6453
6492
|
}, function (_ref15) {
|
|
6454
6493
|
var as = _ref15.as;
|
|
6455
6494
|
return css(["outline:3px solid ", ";outline-offset:2px;", ""], ROYAL_BLUE, as === "button" && "\n > * > span {\n border: none;\n outline: none;\n box-shadow: none;\n }");
|
|
@@ -6649,7 +6688,7 @@ var ClusterInnerWrapper = styled.div.withConfig({
|
|
|
6649
6688
|
return childGap;
|
|
6650
6689
|
});
|
|
6651
6690
|
|
|
6652
|
-
var _excluded$6 = ["justify", "align", "childGap", "minHeight", "minWidth", "nowrap", "overflow", "justifySelf", "alignSelf", "flexGrow", "extraStyles", "children"];
|
|
6691
|
+
var _excluded$6 = ["justify", "align", "childGap", "minHeight", "minWidth", "nowrap", "overflow", "justifySelf", "alignSelf", "flexGrow", "extraStyles", "children", "innerWrapperAs"];
|
|
6653
6692
|
/*
|
|
6654
6693
|
Cluster components suit any groups of elements that differ in
|
|
6655
6694
|
length and are liable to wrap. Buttons that appear together at the
|
|
@@ -6673,6 +6712,8 @@ var Cluster = function Cluster(_ref) {
|
|
|
6673
6712
|
flexGrow = _ref.flexGrow,
|
|
6674
6713
|
extraStyles = _ref.extraStyles,
|
|
6675
6714
|
children = _ref.children,
|
|
6715
|
+
_ref$innerWrapperAs = _ref.innerWrapperAs,
|
|
6716
|
+
innerWrapperAs = _ref$innerWrapperAs === void 0 ? "div" : _ref$innerWrapperAs,
|
|
6676
6717
|
rest = _objectWithoutProperties(_ref, _excluded$6);
|
|
6677
6718
|
|
|
6678
6719
|
return /*#__PURE__*/React.createElement(ClusterWrapper, _extends({
|
|
@@ -6688,7 +6729,8 @@ var Cluster = function Cluster(_ref) {
|
|
|
6688
6729
|
childGap: childGap,
|
|
6689
6730
|
minHeight: minHeight,
|
|
6690
6731
|
minWidth: minWidth,
|
|
6691
|
-
$nowrap: nowrap
|
|
6732
|
+
$nowrap: nowrap,
|
|
6733
|
+
as: innerWrapperAs
|
|
6692
6734
|
}, safeChildren(children, /*#__PURE__*/React.createElement(Fragment$1, null))));
|
|
6693
6735
|
};
|
|
6694
6736
|
|
|
@@ -12525,10 +12567,6 @@ var Reel = function Reel(_ref) {
|
|
|
12525
12567
|
}), safeChildren(children, /*#__PURE__*/React.createElement(Fragment$1, null)));
|
|
12526
12568
|
};
|
|
12527
12569
|
|
|
12528
|
-
/*
|
|
12529
|
-
For now I'm using string values, eventually shared components library will have its own constants file
|
|
12530
|
-
for colors/values that should be used here instead
|
|
12531
|
-
*/
|
|
12532
12570
|
var padding = {
|
|
12533
12571
|
primary: "0.75rem 1.5rem",
|
|
12534
12572
|
secondary: "0.75rem 1.5rem",
|
|
@@ -12539,21 +12577,23 @@ var padding = {
|
|
|
12539
12577
|
tertiary: "0.75rem 1.5rem",
|
|
12540
12578
|
ghost: "0.65rem 0",
|
|
12541
12579
|
danger: "0.75rem 1.5rem",
|
|
12580
|
+
dangerSecondary: "0.75rem 1.5rem",
|
|
12542
12581
|
whiteSecondary: "0.75rem 2rem",
|
|
12543
12582
|
whitePrimary: "1.125rem 0.75rem"
|
|
12544
12583
|
};
|
|
12545
12584
|
var color$1 = {
|
|
12546
|
-
primary:
|
|
12547
|
-
secondary:
|
|
12548
|
-
back:
|
|
12549
|
-
smallPrimary:
|
|
12550
|
-
smallSecondary:
|
|
12551
|
-
smallGhost:
|
|
12552
|
-
ghost:
|
|
12553
|
-
tertiary:
|
|
12554
|
-
danger:
|
|
12555
|
-
|
|
12556
|
-
|
|
12585
|
+
primary: WHITE,
|
|
12586
|
+
secondary: MATISSE_BLUE,
|
|
12587
|
+
back: MATISSE_BLUE,
|
|
12588
|
+
smallPrimary: WHITE,
|
|
12589
|
+
smallSecondary: MATISSE_BLUE,
|
|
12590
|
+
smallGhost: MATISSE_BLUE,
|
|
12591
|
+
ghost: MATISSE_BLUE,
|
|
12592
|
+
tertiary: MATISSE_BLUE,
|
|
12593
|
+
danger: WHITE,
|
|
12594
|
+
dangerSecondary: ERROR_COLOR,
|
|
12595
|
+
whiteSecondary: WHITE,
|
|
12596
|
+
whitePrimary: WHITE
|
|
12557
12597
|
};
|
|
12558
12598
|
var fontSizeVariant = {
|
|
12559
12599
|
primary: "pS",
|
|
@@ -12565,6 +12605,7 @@ var fontSizeVariant = {
|
|
|
12565
12605
|
ghost: "pL",
|
|
12566
12606
|
tertiary: "pS",
|
|
12567
12607
|
danger: "pS",
|
|
12608
|
+
dangerSecondary: "pS",
|
|
12568
12609
|
whiteSecondary: "pS",
|
|
12569
12610
|
whitePrimary: "pS"
|
|
12570
12611
|
};
|
|
@@ -12578,6 +12619,7 @@ var fontWeight = {
|
|
|
12578
12619
|
ghost: "600",
|
|
12579
12620
|
tertiary: "600",
|
|
12580
12621
|
danger: "600",
|
|
12622
|
+
dangerSecondary: "600",
|
|
12581
12623
|
whiteSecondary: "600",
|
|
12582
12624
|
whitePrimary: "600"
|
|
12583
12625
|
};
|
|
@@ -12591,6 +12633,7 @@ var height = {
|
|
|
12591
12633
|
ghost: "3rem",
|
|
12592
12634
|
tertiary: "3rem",
|
|
12593
12635
|
danger: "3rem",
|
|
12636
|
+
dangerSecondary: "3rem",
|
|
12594
12637
|
whiteSecondary: "3rem",
|
|
12595
12638
|
whitePrimary: "auto"
|
|
12596
12639
|
};
|
|
@@ -12604,112 +12647,121 @@ var minWidth = {
|
|
|
12604
12647
|
ghost: "130px",
|
|
12605
12648
|
tertiary: "130px",
|
|
12606
12649
|
danger: "130px",
|
|
12650
|
+
dangerSecondary: "157px",
|
|
12607
12651
|
whiteSecondary: "160px",
|
|
12608
12652
|
whitePrimary: "130px"
|
|
12609
12653
|
};
|
|
12610
12654
|
var backgroundColor = {
|
|
12611
|
-
primary:
|
|
12612
|
-
secondary:
|
|
12613
|
-
back:
|
|
12614
|
-
smallPrimary:
|
|
12615
|
-
smallSecondary:
|
|
12616
|
-
smallGhost:
|
|
12617
|
-
ghost:
|
|
12618
|
-
tertiary:
|
|
12619
|
-
danger:
|
|
12620
|
-
|
|
12621
|
-
|
|
12655
|
+
primary: MATISSE_BLUE,
|
|
12656
|
+
secondary: TRANSPARENT,
|
|
12657
|
+
back: TRANSPARENT,
|
|
12658
|
+
smallPrimary: MATISSE_BLUE,
|
|
12659
|
+
smallSecondary: TRANSPARENT,
|
|
12660
|
+
smallGhost: TRANSPARENT,
|
|
12661
|
+
ghost: TRANSPARENT,
|
|
12662
|
+
tertiary: TRANSPARENT,
|
|
12663
|
+
danger: RASPBERRY,
|
|
12664
|
+
dangerSecondary: TRANSPARENT,
|
|
12665
|
+
whiteSecondary: TRANSPARENT,
|
|
12666
|
+
whitePrimary: TRANSPARENT
|
|
12622
12667
|
};
|
|
12623
12668
|
var border = {
|
|
12624
|
-
primary: "2px solid
|
|
12625
|
-
secondary: "2px solid
|
|
12626
|
-
back: "2px solid
|
|
12627
|
-
smallPrimary: "2px solid
|
|
12628
|
-
smallSecondary: "2px solid
|
|
12669
|
+
primary: "2px solid " + MATISSE_BLUE,
|
|
12670
|
+
secondary: "2px solid " + MATISSE_BLUE,
|
|
12671
|
+
back: "2px solid " + MATISSE_BLUE,
|
|
12672
|
+
smallPrimary: "2px solid " + MATISSE_BLUE,
|
|
12673
|
+
smallSecondary: "2px solid " + MATISSE_BLUE,
|
|
12629
12674
|
smallGhost: "none",
|
|
12630
12675
|
ghost: "none",
|
|
12631
12676
|
tertiary: "none",
|
|
12632
|
-
danger: "2px solid
|
|
12633
|
-
|
|
12634
|
-
|
|
12677
|
+
danger: "2px solid " + RASPBERRY,
|
|
12678
|
+
dangerSecondary: "2px solid " + ERROR_COLOR,
|
|
12679
|
+
whiteSecondary: "2px solid " + WHITE,
|
|
12680
|
+
whitePrimary: "2px solid " + TRANSPARENT
|
|
12635
12681
|
};
|
|
12636
12682
|
var hoverBackgroundColor = {
|
|
12637
|
-
primary:
|
|
12683
|
+
primary: SAPPHIRE_BLUE,
|
|
12638
12684
|
secondary: "#DBEAF0",
|
|
12639
|
-
back:
|
|
12640
|
-
smallPrimary:
|
|
12685
|
+
back: TRANSPARENT,
|
|
12686
|
+
smallPrimary: SAPPHIRE_BLUE,
|
|
12641
12687
|
smallSecondary: "#DBEAF0",
|
|
12642
|
-
smallGhost:
|
|
12643
|
-
ghost:
|
|
12644
|
-
tertiary:
|
|
12688
|
+
smallGhost: TRANSPARENT,
|
|
12689
|
+
ghost: TRANSPARENT,
|
|
12690
|
+
tertiary: TRANSPARENT,
|
|
12645
12691
|
danger: "#BA002C",
|
|
12646
|
-
|
|
12647
|
-
|
|
12692
|
+
dangerSecondary: "#FAE7EE",
|
|
12693
|
+
whiteSecondary: TRANSPARENT,
|
|
12694
|
+
whitePrimary: TRANSPARENT
|
|
12648
12695
|
};
|
|
12649
12696
|
var hoverBorderColor = {
|
|
12650
|
-
primary:
|
|
12651
|
-
secondary:
|
|
12697
|
+
primary: SAPPHIRE_BLUE,
|
|
12698
|
+
secondary: MATISSE_BLUE,
|
|
12652
12699
|
back: "#DCEAF1",
|
|
12653
|
-
smallPrimary:
|
|
12654
|
-
smallSecondary:
|
|
12655
|
-
smallGhost:
|
|
12656
|
-
ghost:
|
|
12657
|
-
tertiary:
|
|
12700
|
+
smallPrimary: SAPPHIRE_BLUE,
|
|
12701
|
+
smallSecondary: MATISSE_BLUE,
|
|
12702
|
+
smallGhost: TRANSPARENT,
|
|
12703
|
+
ghost: TRANSPARENT,
|
|
12704
|
+
tertiary: TRANSPARENT,
|
|
12658
12705
|
danger: "#BA002C",
|
|
12659
|
-
|
|
12660
|
-
|
|
12706
|
+
dangerSecondary: "#B10541",
|
|
12707
|
+
whiteSecondary: "2px solid " + TRANSPARENT,
|
|
12708
|
+
whitePrimary: "2px solid " + TRANSPARENT
|
|
12661
12709
|
};
|
|
12662
12710
|
var hoverColor = {
|
|
12663
|
-
primary:
|
|
12664
|
-
secondary:
|
|
12665
|
-
back:
|
|
12666
|
-
smallPrimary:
|
|
12667
|
-
smallSecondary:
|
|
12668
|
-
smallGhost:
|
|
12669
|
-
ghost:
|
|
12670
|
-
tertiary:
|
|
12671
|
-
danger:
|
|
12672
|
-
|
|
12673
|
-
|
|
12711
|
+
primary: WHITE,
|
|
12712
|
+
secondary: SAPPHIRE_BLUE,
|
|
12713
|
+
back: SAPPHIRE_BLUE,
|
|
12714
|
+
smallPrimary: WHITE,
|
|
12715
|
+
smallSecondary: SAPPHIRE_BLUE,
|
|
12716
|
+
smallGhost: SAPPHIRE_BLUE,
|
|
12717
|
+
ghost: SAPPHIRE_BLUE,
|
|
12718
|
+
tertiary: SAPPHIRE_BLUE,
|
|
12719
|
+
danger: WHITE,
|
|
12720
|
+
dangerSecondary: "#B10541",
|
|
12721
|
+
whiteSecondary: WHITE,
|
|
12722
|
+
whitePrimary: WHITE
|
|
12674
12723
|
};
|
|
12675
12724
|
var activeBackgroundColor = {
|
|
12676
|
-
primary:
|
|
12725
|
+
primary: PEACOCK_BLUE,
|
|
12677
12726
|
secondary: "#B8D5E1",
|
|
12678
|
-
back:
|
|
12679
|
-
smallPrimary:
|
|
12727
|
+
back: TRANSPARENT,
|
|
12728
|
+
smallPrimary: PEACOCK_BLUE,
|
|
12680
12729
|
smallSecondary: "#B8D5E1",
|
|
12681
|
-
smallGhost:
|
|
12682
|
-
ghost:
|
|
12683
|
-
tertiary:
|
|
12730
|
+
smallGhost: TRANSPARENT,
|
|
12731
|
+
ghost: TRANSPARENT,
|
|
12732
|
+
tertiary: TRANSPARENT,
|
|
12684
12733
|
danger: "#870000",
|
|
12685
|
-
|
|
12686
|
-
|
|
12734
|
+
dangerSecondary: "#FAE7EE",
|
|
12735
|
+
whiteSecondary: TRANSPARENT,
|
|
12736
|
+
whitePrimary: TRANSPARENT
|
|
12687
12737
|
};
|
|
12688
12738
|
var activeBorderColor = {
|
|
12689
|
-
primary:
|
|
12690
|
-
secondary:
|
|
12691
|
-
back:
|
|
12692
|
-
smallPrimary:
|
|
12693
|
-
smallSecondary:
|
|
12694
|
-
smallGhost:
|
|
12695
|
-
ghost:
|
|
12696
|
-
tertiary:
|
|
12739
|
+
primary: PEACOCK_BLUE,
|
|
12740
|
+
secondary: MATISSE_BLUE,
|
|
12741
|
+
back: PEACOCK_BLUE,
|
|
12742
|
+
smallPrimary: PEACOCK_BLUE,
|
|
12743
|
+
smallSecondary: MATISSE_BLUE,
|
|
12744
|
+
smallGhost: TRANSPARENT,
|
|
12745
|
+
ghost: TRANSPARENT,
|
|
12746
|
+
tertiary: TRANSPARENT,
|
|
12697
12747
|
danger: "#870000",
|
|
12698
|
-
|
|
12699
|
-
|
|
12748
|
+
dangerSecondary: "#910029",
|
|
12749
|
+
whiteSecondary: "2px solid " + TRANSPARENT,
|
|
12750
|
+
whitePrimary: "2px solid " + TRANSPARENT
|
|
12700
12751
|
};
|
|
12701
12752
|
var activeColor = {
|
|
12702
|
-
primary:
|
|
12703
|
-
secondary:
|
|
12704
|
-
back:
|
|
12705
|
-
smallPrimary:
|
|
12706
|
-
smallSecondary:
|
|
12707
|
-
smallGhost:
|
|
12708
|
-
ghost:
|
|
12709
|
-
tertiary:
|
|
12710
|
-
danger:
|
|
12711
|
-
|
|
12712
|
-
|
|
12753
|
+
primary: WHITE,
|
|
12754
|
+
secondary: MATISSE_BLUE,
|
|
12755
|
+
back: PEACOCK_BLUE,
|
|
12756
|
+
smallPrimary: WHITE,
|
|
12757
|
+
smallSecondary: PEACOCK_BLUE,
|
|
12758
|
+
smallGhost: PEACOCK_BLUE,
|
|
12759
|
+
ghost: PEACOCK_BLUE,
|
|
12760
|
+
tertiary: PEACOCK_BLUE,
|
|
12761
|
+
danger: WHITE,
|
|
12762
|
+
dangerSecondary: "#910029",
|
|
12763
|
+
whiteSecondary: WHITE,
|
|
12764
|
+
whitePrimary: WHITE
|
|
12713
12765
|
};
|
|
12714
12766
|
var fallbackValues$1 = {
|
|
12715
12767
|
padding: padding,
|
|
@@ -12793,7 +12845,7 @@ var SpinnerIcon = function SpinnerIcon(_ref3) {
|
|
|
12793
12845
|
}))))));
|
|
12794
12846
|
};
|
|
12795
12847
|
|
|
12796
|
-
var _excluded$h = ["action", "variant", "text", "textWrap", "isLoading", "dataQa", "textExtraStyles", "contentOverride", "extraStyles", "tabIndex", "children"];
|
|
12848
|
+
var _excluded$h = ["action", "variant", "text", "textWrap", "isLoading", "loadingColor", "dataQa", "textExtraStyles", "contentOverride", "extraStyles", "tabIndex", "children", "extraDisabledStyles"];
|
|
12797
12849
|
var rotate$1 = posed.div({
|
|
12798
12850
|
fixed: {
|
|
12799
12851
|
rotate: "0deg"
|
|
@@ -12819,11 +12871,13 @@ var SpinnerIconWrapper$1 = styled(rotate$1).withConfig({
|
|
|
12819
12871
|
})([""]);
|
|
12820
12872
|
|
|
12821
12873
|
var Spinner = function Spinner(_ref) {
|
|
12822
|
-
var
|
|
12874
|
+
var color = _ref.color,
|
|
12875
|
+
isMobile = _ref.isMobile;
|
|
12823
12876
|
return /*#__PURE__*/React.createElement(SpinnerContainer$1, null, /*#__PURE__*/React.createElement(SpinnerIconWrapper$1, {
|
|
12824
12877
|
initialPose: "fixed",
|
|
12825
12878
|
pose: "rotate"
|
|
12826
12879
|
}, /*#__PURE__*/React.createElement(SpinnerIcon, {
|
|
12880
|
+
color: color,
|
|
12827
12881
|
isMobile: isMobile
|
|
12828
12882
|
})));
|
|
12829
12883
|
};
|
|
@@ -12854,6 +12908,8 @@ var ButtonWithAction = function ButtonWithAction(_ref2) {
|
|
|
12854
12908
|
textWrap = _ref2$textWrap === void 0 ? false : _ref2$textWrap,
|
|
12855
12909
|
_ref2$isLoading = _ref2.isLoading,
|
|
12856
12910
|
isLoading = _ref2$isLoading === void 0 ? false : _ref2$isLoading,
|
|
12911
|
+
_ref2$loadingColor = _ref2.loadingColor,
|
|
12912
|
+
loadingColor = _ref2$loadingColor === void 0 ? "white" : _ref2$loadingColor,
|
|
12857
12913
|
_ref2$dataQa = _ref2.dataQa,
|
|
12858
12914
|
dataQa = _ref2$dataQa === void 0 ? null : _ref2$dataQa,
|
|
12859
12915
|
textExtraStyles = _ref2.textExtraStyles,
|
|
@@ -12863,6 +12919,7 @@ var ButtonWithAction = function ButtonWithAction(_ref2) {
|
|
|
12863
12919
|
extraStyles = _ref2$extraStyles === void 0 ? "" : _ref2$extraStyles,
|
|
12864
12920
|
tabIndex = _ref2.tabIndex,
|
|
12865
12921
|
children = _ref2.children,
|
|
12922
|
+
extraDisabledStyles = _ref2.extraDisabledStyles,
|
|
12866
12923
|
rest = _objectWithoutProperties(_ref2, _excluded$h);
|
|
12867
12924
|
|
|
12868
12925
|
var themeContext = useContext(ThemeContext);
|
|
@@ -12870,7 +12927,7 @@ var ButtonWithAction = function ButtonWithAction(_ref2) {
|
|
|
12870
12927
|
var isMobile = themeContext.isMobile;
|
|
12871
12928
|
var hoverStyles = "\n outline: none;\n background-color: ".concat(themeValues.hoverBackgroundColor, ";\n border-color: ").concat(themeValues.hoverBorderColor, ";\n color: ").concat(themeValues.hoverColor, ";\n text-decoration: ").concat(variant === "ghost" || variant === "smallGhost" ? "underline" : "none", ";\n cursor: pointer;\n ");
|
|
12872
12929
|
var activeStyles = "\n outline: none;\n background-color: ".concat(themeValues.activeBackgroundColor, ";\n border-color: ").concat(themeValues.activeBorderColor, ";\n color: ").concat(themeValues.activeColor, ";\n text-decoration: ").concat(variant === "ghost" || variant === "smallGhost" ? "underline" : "none", ";\n ");
|
|
12873
|
-
var disabledStyles = "\n background-color: #6D717E;\n border-color: #6D717E;\n color: #FFFFFF;\n cursor: default;\n &:focus {\n box-shadow: 0 0 10px #6D717E;\n outline: none;\n }\n ";
|
|
12930
|
+
var disabledStyles = "\n background-color: #6D717E;\n border-color: #6D717E;\n color: #FFFFFF;\n cursor: default;\n &:focus {\n box-shadow: 0 0 10px #6D717E;\n outline: none;\n }\n ".concat(extraDisabledStyles, "\n ");
|
|
12874
12931
|
return /*#__PURE__*/React.createElement(Box, _extends({
|
|
12875
12932
|
variant: variant,
|
|
12876
12933
|
padding: themeValues.padding,
|
|
@@ -12891,6 +12948,7 @@ var ButtonWithAction = function ButtonWithAction(_ref2) {
|
|
|
12891
12948
|
}, rest), contentOverride ? children : /*#__PURE__*/React.createElement(Center, {
|
|
12892
12949
|
intrinsic: true
|
|
12893
12950
|
}, isLoading ? /*#__PURE__*/React.createElement(Spinner, {
|
|
12951
|
+
color: loadingColor,
|
|
12894
12952
|
isMobile: isMobile
|
|
12895
12953
|
}) : /*#__PURE__*/React.createElement(Text$1, {
|
|
12896
12954
|
weight: themeValues.fontWeight,
|
|
@@ -13788,6 +13846,35 @@ var BankIcon = function BankIcon() {
|
|
|
13788
13846
|
}));
|
|
13789
13847
|
};
|
|
13790
13848
|
|
|
13849
|
+
var BankIconLarge = function BankIconLarge(_ref) {
|
|
13850
|
+
var _ref$iconIndex = _ref.iconIndex,
|
|
13851
|
+
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
13852
|
+
var id = "BankIconLarge-".concat(iconIndex);
|
|
13853
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
13854
|
+
width: "36",
|
|
13855
|
+
height: "24",
|
|
13856
|
+
viewBox: "0 0 36 24",
|
|
13857
|
+
fill: "none",
|
|
13858
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
13859
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
13860
|
+
clipPath: "url(#".concat(id, ")")
|
|
13861
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
13862
|
+
d: "M0 3C0 1.34315 1.34315 0 3 0H33C34.6569 0 36 1.34315 36 3V21C36 22.6569 34.6569 24 33 24H3C1.34315 24 0 22.6569 0 21V3Z",
|
|
13863
|
+
fill: "#E4F4FD"
|
|
13864
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
13865
|
+
fillRule: "evenodd",
|
|
13866
|
+
clipRule: "evenodd",
|
|
13867
|
+
d: "M33 1.5H3C2.17157 1.5 1.5 2.17157 1.5 3V21C1.5 21.8284 2.17157 22.5 3 22.5H33C33.8284 22.5 34.5 21.8284 34.5 21V3C34.5 2.17157 33.8284 1.5 33 1.5ZM3 0C1.34315 0 0 1.34315 0 3V21C0 22.6569 1.34315 24 3 24H33C34.6569 24 36 22.6569 36 21V3C36 1.34315 34.6569 0 33 0H3ZM23.7544 14.8335C23.6706 14.9563 23.6209 15.1293 23.6209 15.3332C23.6209 15.5465 23.5436 15.7411 23.4165 15.8885C23.349 15.9671 23.2696 16.0296 23.1834 16.0752C23.0922 16.1237 22.9909 16.1546 22.8836 16.1637C22.6961 16.1799 22.5022 16.1282 22.3391 16.0029C21.4102 15.2896 20.6945 14.8834 20.1572 14.6767C19.6165 14.4687 19.3143 14.4844 19.17 14.5249C18.988 14.576 18.7994 14.7857 18.7994 15.3332C18.7994 15.7935 18.4397 16.1665 17.9959 16.1665C17.5521 16.1665 17.1923 15.7935 17.1923 15.3332C17.1923 14.5422 17.4859 13.2709 18.7503 12.9161C19.3292 12.7536 19.9913 12.8352 20.7162 13.1141C21.2068 13.3028 21.7532 13.592 22.3632 13.9954C22.3882 13.9532 22.4147 13.9115 22.4428 13.8703C22.7715 13.3891 23.2775 13.0439 23.9432 12.9038C25.2058 12.6381 27.0336 13.1058 29.636 14.6047C30.024 14.8281 30.1638 15.3354 29.9483 15.7378C29.7329 16.1401 29.2437 16.2852 28.8557 16.0617C26.3153 14.5986 24.9289 14.397 24.2629 14.5371C23.9643 14.5999 23.8275 14.7265 23.7544 14.8335ZM26.8351 8.66659C26.8351 9.12683 26.4754 9.49992 26.0316 9.49992H17.996C17.5522 9.49992 17.1924 9.12683 17.1924 8.66659C17.1924 8.20636 17.5522 7.83327 17.996 7.83327H26.0316C26.4754 7.83327 26.8351 8.20636 26.8351 8.66659ZM8.81666 5.33333H10.8382C10.9311 5.33333 11.0201 5.37159 11.0858 5.43968C11.1514 5.50777 11.1883 5.60012 11.1883 5.69642V6.76975C11.9563 6.96326 12.6887 7.3019 13.3469 7.77398C13.4195 7.83002 13.4679 7.91348 13.4816 8.00627C13.4953 8.09906 13.4731 8.1937 13.42 8.26967L12.4001 9.76307C12.3498 9.84051 12.2725 9.89466 12.1844 9.9141C12.0964 9.93354 12.0045 9.91674 11.9282 9.86726C11.166 9.34181 10.2765 9.04965 9.36164 9.02426C8.67662 9.02426 8.34171 9.31157 8.34171 9.70308V9.73465C8.34171 10.2177 8.69184 10.4293 10.1167 10.7608C12.4427 11.288 13.898 12.071 13.898 14.0475V14.0759C13.898 15.789 12.8604 16.9502 11.1944 17.3552V18.3508C11.1944 18.3931 11.1862 18.4349 11.1704 18.4739C11.1545 18.5128 11.1312 18.548 11.102 18.5775C11.0728 18.6069 11.0381 18.63 11.0001 18.6453C10.9621 18.6606 10.9215 18.6678 10.8808 18.6665H8.77705C8.6963 18.6665 8.61885 18.6333 8.56175 18.5741C8.50466 18.5148 8.4726 18.4345 8.4726 18.3508V17.4163C7.31992 17.2199 6.22353 16.7352 5.28198 15.9955C5.24358 15.966 5.21155 15.9285 5.18791 15.8854C5.16427 15.8423 5.14954 15.7946 5.14467 15.7453C5.1398 15.696 5.1449 15.6462 5.15963 15.599C5.17436 15.5519 5.1984 15.5084 5.23023 15.4714L6.36278 14.0728C6.41845 14.0015 6.49805 13.9548 6.58558 13.9419C6.67311 13.929 6.76211 13.9509 6.83469 14.0033C7.71463 14.685 8.78089 15.0588 9.87921 15.0704C10.6495 15.0704 11.0544 14.7989 11.0544 14.3474V14.3159C11.0544 13.8644 10.7225 13.637 9.32511 13.2929C7.16045 12.7783 5.489 12.1468 5.489 9.99039V9.95881C5.489 8.27314 6.59751 6.98782 8.46654 6.66335V5.69642C8.46654 5.60012 8.50342 5.50777 8.56908 5.43968C8.63474 5.37159 8.7238 5.33333 8.81666 5.33333Z",
|
|
13868
|
+
fill: "#15749D"
|
|
13869
|
+
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
13870
|
+
id: id
|
|
13871
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
13872
|
+
width: "36",
|
|
13873
|
+
height: "24",
|
|
13874
|
+
fill: "white"
|
|
13875
|
+
}))));
|
|
13876
|
+
};
|
|
13877
|
+
|
|
13791
13878
|
var GenericCard = function GenericCard() {
|
|
13792
13879
|
return /*#__PURE__*/React.createElement("svg", {
|
|
13793
13880
|
width: "28",
|
|
@@ -13813,33 +13900,6 @@ var GenericCard = function GenericCard() {
|
|
|
13813
13900
|
}));
|
|
13814
13901
|
};
|
|
13815
13902
|
|
|
13816
|
-
var BankItemWrapper = styled.div.withConfig({
|
|
13817
|
-
displayName: "PaymentIcon__BankItemWrapper",
|
|
13818
|
-
componentId: "sc-1k0jl35-0"
|
|
13819
|
-
})(["display:flex;justify-content:flex-start;align-items:center;"]);
|
|
13820
|
-
var BankAccountText = styled.h4.withConfig({
|
|
13821
|
-
displayName: "PaymentIcon__BankAccountText",
|
|
13822
|
-
componentId: "sc-1k0jl35-1"
|
|
13823
|
-
})(["color:", ";font-size:1rem;font-weight:400;line-height:1.5rem;text-align:left;margin-right:0.5rem;display:inline-block;"], CHARADE_GREY);
|
|
13824
|
-
var CHECKING = "CHECKING";
|
|
13825
|
-
var SAVINGS = "SAVINGS";
|
|
13826
|
-
|
|
13827
|
-
var PaymentIcon = function PaymentIcon(_ref) {
|
|
13828
|
-
var lastFour = _ref.lastFour,
|
|
13829
|
-
accountType = _ref.accountType,
|
|
13830
|
-
autoPay = _ref.autoPay;
|
|
13831
|
-
return /*#__PURE__*/React.createElement(BankItemWrapper, null, /*#__PURE__*/React.createElement(Box, {
|
|
13832
|
-
padding: "0.25rem 0 0 0",
|
|
13833
|
-
extraStyles: "margin-right: 1rem;"
|
|
13834
|
-
}, /*#__PURE__*/React.createElement(BankIcon, null)), /*#__PURE__*/React.createElement(Stack, {
|
|
13835
|
-
childGap: "0"
|
|
13836
|
-
}, accountType === CHECKING && /*#__PURE__*/React.createElement(BankAccountText, null, "Checking Account ending in ", lastFour), accountType === SAVINGS && /*#__PURE__*/React.createElement(BankAccountText, null, "Savings Account ending in ", lastFour), autoPay && /*#__PURE__*/React.createElement(Text$1, {
|
|
13837
|
-
variant: "p",
|
|
13838
|
-
color: REGENT_GREY,
|
|
13839
|
-
extraStyles: "font-style: italic;"
|
|
13840
|
-
}, "Autopay Enabled")));
|
|
13841
|
-
};
|
|
13842
|
-
|
|
13843
13903
|
var IconAdd = function IconAdd() {
|
|
13844
13904
|
return /*#__PURE__*/React.createElement("svg", {
|
|
13845
13905
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -14694,6 +14754,26 @@ var FailedIcon = function FailedIcon() {
|
|
|
14694
14754
|
}))));
|
|
14695
14755
|
};
|
|
14696
14756
|
|
|
14757
|
+
var PencilIcon = function PencilIcon(_ref) {
|
|
14758
|
+
var _ref$ariaLabel = _ref.ariaLabel,
|
|
14759
|
+
ariaLabel = _ref$ariaLabel === void 0 ? "Edit" : _ref$ariaLabel,
|
|
14760
|
+
themeValues = _ref.themeValues;
|
|
14761
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
14762
|
+
"aria-label": ariaLabel,
|
|
14763
|
+
width: "24px",
|
|
14764
|
+
height: "24px",
|
|
14765
|
+
fill: "none",
|
|
14766
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
14767
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
14768
|
+
fillRule: "evenodd",
|
|
14769
|
+
clipRule: "evenodd",
|
|
14770
|
+
d: "M19.74 6.84a.885.885 0 0 1 0 1.253l-1.626 1.626-3.333-3.333 1.626-1.626a.885.885 0 0 1 1.253 0l2.08 2.08ZM4 20.5v-3.333l9.83-9.83 3.333 3.333-9.83 9.83H4Z",
|
|
14771
|
+
fill: themeValues.subIconColor
|
|
14772
|
+
}));
|
|
14773
|
+
};
|
|
14774
|
+
|
|
14775
|
+
var PencilIcon$1 = themeComponent(PencilIcon, "Icons", fallbackValues$2, "info");
|
|
14776
|
+
|
|
14697
14777
|
var PendingIcon = function PendingIcon() {
|
|
14698
14778
|
return /*#__PURE__*/React.createElement("svg", {
|
|
14699
14779
|
width: "32px",
|
|
@@ -15561,7 +15641,14 @@ var CheckIcon = function CheckIcon() {
|
|
|
15561
15641
|
})))))));
|
|
15562
15642
|
};
|
|
15563
15643
|
|
|
15564
|
-
var WarningIconXS = function WarningIconXS() {
|
|
15644
|
+
var WarningIconXS = function WarningIconXS(_ref) {
|
|
15645
|
+
var _ref$color = _ref.color,
|
|
15646
|
+
color = _ref$color === void 0 ? "#B34A00" : _ref$color,
|
|
15647
|
+
title = _ref.title,
|
|
15648
|
+
_ref$titleID = _ref.titleID,
|
|
15649
|
+
titleID = _ref$titleID === void 0 ? "warning-icon-title" : _ref$titleID,
|
|
15650
|
+
_ref$iconIndex = _ref.iconIndex,
|
|
15651
|
+
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
15565
15652
|
return /*#__PURE__*/React.createElement("svg", {
|
|
15566
15653
|
width: "16px",
|
|
15567
15654
|
height: "13px",
|
|
@@ -15569,40 +15656,40 @@ var WarningIconXS = function WarningIconXS() {
|
|
|
15569
15656
|
version: "1.1",
|
|
15570
15657
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15571
15658
|
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
15572
|
-
"aria-labelledby": "#
|
|
15659
|
+
"aria-labelledby": title && "#".concat(titleID, "-").concat(iconIndex),
|
|
15573
15660
|
role: "img"
|
|
15574
|
-
}, /*#__PURE__*/React.createElement("title", {
|
|
15575
|
-
id: "
|
|
15576
|
-
},
|
|
15661
|
+
}, title && /*#__PURE__*/React.createElement("title", {
|
|
15662
|
+
id: "".concat(titleID, "-").concat(iconIndex)
|
|
15663
|
+
}, title), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("path", {
|
|
15577
15664
|
d: "M11.0106463,4.4659633 C11.3063934,4.63914978 11.5526739,4.88543032 11.7258604,5.18117739 L16.7999622,13.846119 C17.3581267,14.7992854 17.0379144,16.0244612 16.0847481,16.5826257 C15.7781918,16.762142 15.4293522,16.8567653 15.0741018,16.8567653 L4.92589823,16.8567653 C3.82132873,16.8567653 2.92589823,15.9613348 2.92589823,14.8567653 C2.92589823,14.5015149 3.02052159,14.1526753 3.20003784,13.846119 L8.27413962,5.18117739 C8.83230416,4.22801102 10.0574799,3.90779877 11.0106463,4.4659633 Z M10.6666667,13.3333333 L9.33333333,13.3333333 L9.33333333,14.6666667 L10.6666667,14.6666667 L10.6666667,13.3333333 Z M10.6666667,6.66666667 L9.33333333,6.66666667 L9.33333333,12 L10.6666667,12 L10.6666667,6.66666667 Z",
|
|
15578
|
-
id: "WarningIconXs-path-1"
|
|
15665
|
+
id: "WarningIconXs-path-1-".concat(iconIndex)
|
|
15579
15666
|
})), /*#__PURE__*/React.createElement("g", {
|
|
15580
|
-
id: "WarningIconXs-
|
|
15667
|
+
id: "WarningIconXs-Group-1-".concat(iconIndex),
|
|
15581
15668
|
stroke: "none",
|
|
15582
15669
|
strokeWidth: "1",
|
|
15583
15670
|
fill: "none",
|
|
15584
15671
|
fillRule: "evenodd"
|
|
15585
15672
|
}, /*#__PURE__*/React.createElement("g", {
|
|
15586
|
-
id: "WarningIconXs-
|
|
15673
|
+
id: "WarningIconXs-Group-2-".concat(iconIndex),
|
|
15587
15674
|
transform: "translate(-135.000000, -483.000000)"
|
|
15588
15675
|
}, /*#__PURE__*/React.createElement("g", {
|
|
15589
|
-
id: "WarningIconXs-Group",
|
|
15676
|
+
id: "WarningIconXs-Group-3-".concat(iconIndex),
|
|
15590
15677
|
transform: "translate(133.000000, 479.000000)"
|
|
15591
15678
|
}, /*#__PURE__*/React.createElement("mask", {
|
|
15592
|
-
id: "WarningIconXs-mask-2",
|
|
15679
|
+
id: "WarningIconXs-mask-2-".concat(iconIndex),
|
|
15593
15680
|
fill: "white"
|
|
15594
15681
|
}, /*#__PURE__*/React.createElement("use", {
|
|
15595
|
-
xlinkHref: "#WarningIconXs-path-1"
|
|
15682
|
+
xlinkHref: "#WarningIconXs-path-1-".concat(iconIndex)
|
|
15596
15683
|
})), /*#__PURE__*/React.createElement("use", {
|
|
15597
|
-
id: "WarningIconXs-Mask",
|
|
15598
|
-
fill:
|
|
15684
|
+
id: "WarningIconXs-Mask-".concat(iconIndex),
|
|
15685
|
+
fill: color,
|
|
15599
15686
|
fillRule: "nonzero",
|
|
15600
|
-
xlinkHref: "#WarningIconXs-path-1"
|
|
15687
|
+
xlinkHref: "#WarningIconXs-path-1-".concat(iconIndex)
|
|
15601
15688
|
}), /*#__PURE__*/React.createElement("polygon", {
|
|
15602
|
-
id: "WarningIconXs-Path",
|
|
15603
|
-
fill:
|
|
15689
|
+
id: "WarningIconXs-Path-".concat(iconIndex),
|
|
15690
|
+
fill: color,
|
|
15604
15691
|
fillRule: "nonzero",
|
|
15605
|
-
mask: "url(#WarningIconXs-mask-2)",
|
|
15692
|
+
mask: "url(#WarningIconXs-mask-2-".concat(iconIndex, ")"),
|
|
15606
15693
|
points: "-2.84217094e-14 -4.26325641e-14 20 -4.26325641e-14 20 20 -2.84217094e-14 20"
|
|
15607
15694
|
})))));
|
|
15608
15695
|
};
|
|
@@ -16474,6 +16561,762 @@ var FindIconSmall = function FindIconSmall(_ref) {
|
|
|
16474
16561
|
|
|
16475
16562
|
var FindIconSmall$1 = themeComponent(FindIconSmall, "Icons", fallbackValues$2, "primary");
|
|
16476
16563
|
|
|
16564
|
+
var HistoryIconSmall = function HistoryIconSmall(_ref) {
|
|
16565
|
+
var themeValues = _ref.themeValues;
|
|
16566
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
16567
|
+
width: "20",
|
|
16568
|
+
height: "20",
|
|
16569
|
+
viewBox: "0 0 20 20",
|
|
16570
|
+
fill: "none",
|
|
16571
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
16572
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
16573
|
+
d: "M3.33337 8.33333C3.33337 7.8731 3.70647 7.5 4.16671 7.5H15.8334C16.2936 7.5 16.6667 7.8731 16.6667 8.33333V16.6667C16.6667 17.1269 16.2936 17.5 15.8334 17.5H4.16671C3.70647 17.5 3.33337 17.1269 3.33337 16.6667V8.33333Z",
|
|
16574
|
+
fill: themeValues.singleIconColor
|
|
16575
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
16576
|
+
fillRule: "evenodd",
|
|
16577
|
+
clipRule: "evenodd",
|
|
16578
|
+
d: "M5.08337 4.75C4.66916 4.75 4.33337 5.08579 4.33337 5.5C4.33337 5.91421 4.66916 6.25 5.08337 6.25H14.9134C15.3276 6.25 15.6634 5.91421 15.6634 5.5C15.6634 5.08579 15.3276 4.75 14.9134 4.75H5.08337Z",
|
|
16579
|
+
fill: themeValues.singleIconColor
|
|
16580
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
16581
|
+
fillRule: "evenodd",
|
|
16582
|
+
clipRule: "evenodd",
|
|
16583
|
+
d: "M6.03337 2.25C5.64677 2.25 5.33337 2.5634 5.33337 2.95C5.33337 3.3366 5.64678 3.65 6.03337 3.65H13.9634C14.35 3.65 14.6634 3.3366 14.6634 2.95C14.6634 2.5634 14.35 2.25 13.9634 2.25H6.03337Z",
|
|
16584
|
+
fill: themeValues.singleIconColor
|
|
16585
|
+
}));
|
|
16586
|
+
};
|
|
16587
|
+
|
|
16588
|
+
var HistoryIconSmall$1 = themeComponent(HistoryIconSmall, "Icons", fallbackValues$2, "primary");
|
|
16589
|
+
|
|
16590
|
+
var ChargebackIconSmall = function ChargebackIconSmall(_ref) {
|
|
16591
|
+
var _ref$color = _ref.color,
|
|
16592
|
+
color = _ref$color === void 0 ? "#15749D" : _ref$color,
|
|
16593
|
+
_ref$iconIndex = _ref.iconIndex,
|
|
16594
|
+
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
16595
|
+
var id = "ChargebackIconSmall-".concat(iconIndex);
|
|
16596
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
16597
|
+
width: "20",
|
|
16598
|
+
height: "20",
|
|
16599
|
+
viewBox: "0 0 20 20",
|
|
16600
|
+
fill: "none",
|
|
16601
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
16602
|
+
}, /*#__PURE__*/React.createElement("circle", {
|
|
16603
|
+
cx: "10",
|
|
16604
|
+
cy: "10",
|
|
16605
|
+
r: "10",
|
|
16606
|
+
fill: color
|
|
16607
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
16608
|
+
id: id,
|
|
16609
|
+
style: {
|
|
16610
|
+
maskType: "luminance"
|
|
16611
|
+
},
|
|
16612
|
+
maskUnits: "userSpaceOnUse",
|
|
16613
|
+
x: "2",
|
|
16614
|
+
y: "5",
|
|
16615
|
+
width: "15",
|
|
16616
|
+
height: "10"
|
|
16617
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
16618
|
+
fillRule: "evenodd",
|
|
16619
|
+
clipRule: "evenodd",
|
|
16620
|
+
d: "M6.6667 6.83325C6.6667 6.28097 7.11441 5.83325 7.6667 5.83325H15.6667C16.219 5.83325 16.6667 6.28097 16.6667 6.83325V8.33325V9.99992V13.1666C16.6667 13.7189 16.219 14.1666 15.6667 14.1666H7.6667C7.11441 14.1666 6.6667 13.7189 6.6667 13.1666V9.99992V8.33325V6.83325ZM16.0417 6.5277V8.33325H7.2917V8.26381V6.5277H16.0417ZM7.2917 13.4721V9.99992H16.0417V13.4721H7.2917ZM4.8275 8.70703C4.8275 8.26157 4.28893 8.03849 3.97395 8.35347L2.68105 9.64636C2.48579 9.84163 2.48579 10.1582 2.68105 10.3535L3.97395 11.6464C4.28893 11.9613 4.8275 11.7383 4.8275 11.2928V8.70703ZM13.4896 11.6666C13.2595 11.6666 13.0729 11.8531 13.0729 12.0833C13.0729 12.3134 13.2595 12.4999 13.4896 12.4999H14.5313C14.7614 12.4999 14.9479 12.3134 14.9479 12.0833C14.9479 11.8531 14.7614 11.6666 14.5313 11.6666H13.4896Z",
|
|
16621
|
+
fill: "white"
|
|
16622
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
16623
|
+
mask: "url(#".concat(id, ")")
|
|
16624
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
16625
|
+
x: "2.5",
|
|
16626
|
+
y: "2.5",
|
|
16627
|
+
width: "15",
|
|
16628
|
+
height: "15",
|
|
16629
|
+
fill: "white"
|
|
16630
|
+
})));
|
|
16631
|
+
};
|
|
16632
|
+
|
|
16633
|
+
var ChargebackReversalIconSmall = function ChargebackReversalIconSmall(_ref) {
|
|
16634
|
+
var _ref$color = _ref.color,
|
|
16635
|
+
color = _ref$color === void 0 ? "#15749D" : _ref$color,
|
|
16636
|
+
_ref$iconIndex = _ref.iconIndex,
|
|
16637
|
+
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
16638
|
+
var id = "ChargebackReversalIconSmall-".concat(iconIndex);
|
|
16639
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
16640
|
+
width: "20",
|
|
16641
|
+
height: "20",
|
|
16642
|
+
viewBox: "0 0 20 20",
|
|
16643
|
+
fill: "none",
|
|
16644
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
16645
|
+
}, /*#__PURE__*/React.createElement("circle", {
|
|
16646
|
+
cx: "10",
|
|
16647
|
+
cy: "10",
|
|
16648
|
+
r: "10",
|
|
16649
|
+
fill: color
|
|
16650
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
16651
|
+
id: id,
|
|
16652
|
+
style: {
|
|
16653
|
+
maskType: "luminance"
|
|
16654
|
+
},
|
|
16655
|
+
maskUnits: "userSpaceOnUse",
|
|
16656
|
+
x: "4",
|
|
16657
|
+
y: "5",
|
|
16658
|
+
width: "14",
|
|
16659
|
+
height: "10"
|
|
16660
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
16661
|
+
fillRule: "evenodd",
|
|
16662
|
+
clipRule: "evenodd",
|
|
16663
|
+
d: "M4.16669 6.83325C4.16669 6.28097 4.6144 5.83325 5.16669 5.83325H13.1667C13.719 5.83325 14.1667 6.28097 14.1667 6.83325V8.33325V9.99992V13.1666C14.1667 13.7189 13.719 14.1666 13.1667 14.1666H5.16669C4.6144 14.1666 4.16669 13.7189 4.16669 13.1666V9.99992V8.33325V6.83325ZM13.5417 6.5277V8.33325H4.79169V8.26381V6.5277H13.5417ZM4.79169 13.4721V9.99992H13.5417V13.4721H4.79169ZM15 11.2928C15 11.7383 15.5386 11.9613 15.8536 11.6464L17.1465 10.3535C17.3417 10.1582 17.3417 9.84163 17.1465 9.64636L15.8536 8.35347C15.5386 8.03849 15 8.26157 15 8.70703V11.2928ZM10.9896 11.6666C10.7595 11.6666 10.5729 11.8531 10.5729 12.0833C10.5729 12.3134 10.7595 12.4999 10.9896 12.4999H12.0313C12.2614 12.4999 12.4479 12.3134 12.4479 12.0833C12.4479 11.8531 12.2614 11.6666 12.0313 11.6666H10.9896Z",
|
|
16664
|
+
fill: "white"
|
|
16665
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
16666
|
+
mask: "url(#".concat(id, ")")
|
|
16667
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
16668
|
+
x: "2.5",
|
|
16669
|
+
y: "2.5",
|
|
16670
|
+
width: "15",
|
|
16671
|
+
height: "15",
|
|
16672
|
+
fill: "white"
|
|
16673
|
+
})));
|
|
16674
|
+
};
|
|
16675
|
+
|
|
16676
|
+
var RefundIconSmall = function RefundIconSmall(_ref) {
|
|
16677
|
+
var _ref$color = _ref.color,
|
|
16678
|
+
color = _ref$color === void 0 ? "#15749D" : _ref$color,
|
|
16679
|
+
_ref$iconIndex = _ref.iconIndex,
|
|
16680
|
+
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
16681
|
+
var id = "RefundIconSmall-".concat(iconIndex);
|
|
16682
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
16683
|
+
width: "20",
|
|
16684
|
+
height: "20",
|
|
16685
|
+
viewBox: "0 0 20 20",
|
|
16686
|
+
fill: "none",
|
|
16687
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
16688
|
+
}, /*#__PURE__*/React.createElement("circle", {
|
|
16689
|
+
cx: "10",
|
|
16690
|
+
cy: "10",
|
|
16691
|
+
r: "10",
|
|
16692
|
+
fill: color
|
|
16693
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
16694
|
+
fillRule: "evenodd",
|
|
16695
|
+
clipRule: "evenodd",
|
|
16696
|
+
d: "M12.5812 14.0293V15H11.1768V14.0347C9.64976 13.8666 8.66331 13.1291 8.51283 11.757L10.2071 11.7245C10.3798 12.4403 11.004 12.82 11.8957 12.82C12.6983 12.82 13.2723 12.4024 13.2723 11.8438C13.2723 11.2636 12.8989 11.0249 12.1131 10.8514L10.7923 10.5748C9.56059 10.3308 8.7692 9.63124 8.75248 8.42733C8.74133 7.14751 9.76679 6.28525 11.2047 6.07375V5H12.6147V6.07918C14.0191 6.31779 14.8718 7.25054 14.8551 8.3731L13.211 8.40022C13.1107 7.70607 12.7875 7.28308 11.9292 7.28308C11.043 7.28308 10.4969 7.67354 10.4969 8.24295C10.4969 8.69848 10.7532 8.92625 11.6282 9.14859L12.9268 9.4577C14.3925 9.79935 15 10.6562 15 11.833C15 13.0152 14.0693 13.8395 12.5812 14.0293ZM7.5 11.3438C7.5 11.7558 7.02962 11.991 6.7 11.7438L4.7 10.2438C4.43333 10.0438 4.43333 9.64375 4.7 9.44375L6.7 7.94375C7.02962 7.69654 7.5 7.93173 7.5 8.34375V11.3438Z",
|
|
16697
|
+
fill: "white"
|
|
16698
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
16699
|
+
id: id,
|
|
16700
|
+
style: {
|
|
16701
|
+
maskType: "luminance"
|
|
16702
|
+
},
|
|
16703
|
+
maskUnits: "userSpaceOnUse",
|
|
16704
|
+
x: "4",
|
|
16705
|
+
y: "5",
|
|
16706
|
+
width: "11",
|
|
16707
|
+
height: "10"
|
|
16708
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
16709
|
+
fillRule: "evenodd",
|
|
16710
|
+
clipRule: "evenodd",
|
|
16711
|
+
d: "M12.5812 14.0293V15H11.1768V14.0347C9.64976 13.8666 8.66331 13.1291 8.51283 11.757L10.2071 11.7245C10.3798 12.4403 11.004 12.82 11.8957 12.82C12.6983 12.82 13.2723 12.4024 13.2723 11.8438C13.2723 11.2636 12.8989 11.0249 12.1131 10.8514L10.7923 10.5748C9.56059 10.3308 8.7692 9.63124 8.75248 8.42733C8.74133 7.14751 9.76679 6.28525 11.2047 6.07375V5H12.6147V6.07918C14.0191 6.31779 14.8718 7.25054 14.8551 8.3731L13.211 8.40022C13.1107 7.70607 12.7875 7.28308 11.9292 7.28308C11.043 7.28308 10.4969 7.67354 10.4969 8.24295C10.4969 8.69848 10.7532 8.92625 11.6282 9.14859L12.9268 9.4577C14.3925 9.79935 15 10.6562 15 11.833C15 13.0152 14.0693 13.8395 12.5812 14.0293ZM7.5 11.3438C7.5 11.7558 7.02962 11.991 6.7 11.7438L4.7 10.2438C4.43333 10.0438 4.43333 9.64375 4.7 9.44375L6.7 7.94375C7.02962 7.69654 7.5 7.93173 7.5 8.34375V11.3438Z",
|
|
16712
|
+
fill: "white"
|
|
16713
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
16714
|
+
mask: "url(#".concat(id, ")")
|
|
16715
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
16716
|
+
x: "2.5",
|
|
16717
|
+
y: "2.5",
|
|
16718
|
+
width: "15",
|
|
16719
|
+
height: "15",
|
|
16720
|
+
fill: "white"
|
|
16721
|
+
})));
|
|
16722
|
+
};
|
|
16723
|
+
|
|
16724
|
+
var XCircleIconSmall = function XCircleIconSmall(_ref) {
|
|
16725
|
+
var _ref$color = _ref.color,
|
|
16726
|
+
color = _ref$color === void 0 ? "#D11053" : _ref$color,
|
|
16727
|
+
_ref$iconIndex = _ref.iconIndex,
|
|
16728
|
+
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
16729
|
+
var id = "XCircleIconSmall-".concat(iconIndex);
|
|
16730
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
16731
|
+
width: "21",
|
|
16732
|
+
height: "20",
|
|
16733
|
+
viewBox: "0 0 21 20",
|
|
16734
|
+
fill: "none",
|
|
16735
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
16736
|
+
}, /*#__PURE__*/React.createElement("circle", {
|
|
16737
|
+
cx: "10.5",
|
|
16738
|
+
cy: "10",
|
|
16739
|
+
r: "10",
|
|
16740
|
+
fill: color
|
|
16741
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
16742
|
+
fillRule: "evenodd",
|
|
16743
|
+
clipRule: "evenodd",
|
|
16744
|
+
d: "M13.8298 6.18691C13.6345 5.99165 13.3179 5.99165 13.1227 6.18691L10.5 8.80955L7.87739 6.18691C7.68213 5.99165 7.36554 5.99165 7.17028 6.18691L6.68691 6.67028C6.49165 6.86554 6.49165 7.18213 6.68691 7.37739L9.30955 10L6.68691 12.6227C6.49165 12.8179 6.49165 13.1345 6.68691 13.3298L7.17028 13.8131C7.36554 14.0084 7.68213 14.0084 7.87739 13.8131L10.5 11.1905L13.1227 13.8131C13.3179 14.0084 13.6345 14.0084 13.8298 13.8131L14.3131 13.3298C14.5084 13.1345 14.5084 12.8179 14.3131 12.6227L11.6905 10L14.3131 7.37739C14.5084 7.18213 14.5084 6.86554 14.3131 6.67028L13.8298 6.18691Z",
|
|
16745
|
+
fill: "white"
|
|
16746
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
16747
|
+
id: id,
|
|
16748
|
+
style: {
|
|
16749
|
+
maskType: "luminance"
|
|
16750
|
+
},
|
|
16751
|
+
maskUnits: "userSpaceOnUse",
|
|
16752
|
+
x: "6",
|
|
16753
|
+
y: "6",
|
|
16754
|
+
width: "9",
|
|
16755
|
+
height: "8"
|
|
16756
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
16757
|
+
fillRule: "evenodd",
|
|
16758
|
+
clipRule: "evenodd",
|
|
16759
|
+
d: "M13.8298 6.18691C13.6345 5.99165 13.3179 5.99165 13.1227 6.18691L10.5 8.80955L7.87739 6.18691C7.68213 5.99165 7.36554 5.99165 7.17028 6.18691L6.68691 6.67028C6.49165 6.86554 6.49165 7.18213 6.68691 7.37739L9.30955 10L6.68691 12.6227C6.49165 12.8179 6.49165 13.1345 6.68691 13.3298L7.17028 13.8131C7.36554 14.0084 7.68213 14.0084 7.87739 13.8131L10.5 11.1905L13.1227 13.8131C13.3179 14.0084 13.6345 14.0084 13.8298 13.8131L14.3131 13.3298C14.5084 13.1345 14.5084 12.8179 14.3131 12.6227L11.6905 10L14.3131 7.37739C14.5084 7.18213 14.5084 6.86554 14.3131 6.67028L13.8298 6.18691Z",
|
|
16760
|
+
fill: "white"
|
|
16761
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
16762
|
+
mask: "url(#".concat(id, ")")
|
|
16763
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
16764
|
+
d: "M0.5 0H20.5V20H0.5V0Z",
|
|
16765
|
+
fill: "white"
|
|
16766
|
+
})));
|
|
16767
|
+
};
|
|
16768
|
+
|
|
16769
|
+
var SuccessfulIconSmall = function SuccessfulIconSmall(_ref) {
|
|
16770
|
+
var _ref$iconIndex = _ref.iconIndex,
|
|
16771
|
+
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
16772
|
+
var mask0ID = "SuccessfulIconSmall-mask0-".concat(iconIndex);
|
|
16773
|
+
var mask1ID = "SuccessfulIconSmall-mask1-".concat(iconIndex);
|
|
16774
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
16775
|
+
width: "20",
|
|
16776
|
+
height: "20",
|
|
16777
|
+
viewBox: "0 0 20 20",
|
|
16778
|
+
fill: "none",
|
|
16779
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
16780
|
+
}, /*#__PURE__*/React.createElement("circle", {
|
|
16781
|
+
cx: "10",
|
|
16782
|
+
cy: "10",
|
|
16783
|
+
r: "10",
|
|
16784
|
+
fill: "#317D4F"
|
|
16785
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
16786
|
+
id: mask0ID,
|
|
16787
|
+
style: {
|
|
16788
|
+
maskType: "luminance"
|
|
16789
|
+
},
|
|
16790
|
+
maskUnits: "userSpaceOnUse",
|
|
16791
|
+
x: "0",
|
|
16792
|
+
y: "0",
|
|
16793
|
+
width: "20",
|
|
16794
|
+
height: "20"
|
|
16795
|
+
}, /*#__PURE__*/React.createElement("circle", {
|
|
16796
|
+
cx: "10",
|
|
16797
|
+
cy: "10",
|
|
16798
|
+
r: "10",
|
|
16799
|
+
fill: "white"
|
|
16800
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
16801
|
+
mask: "url(#".concat(mask0ID, ")")
|
|
16802
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
16803
|
+
fillRule: "evenodd",
|
|
16804
|
+
clipRule: "evenodd",
|
|
16805
|
+
d: "M14.7817 6.18688C14.5864 5.99162 14.2698 5.99162 14.0746 6.18688L8.53558 11.7259L6.53211 9.72242C6.33685 9.52715 6.02027 9.52715 5.825 9.72242L5.3536 10.1938C5.15834 10.3891 5.15834 10.7057 5.3536 10.9009L7.71062 13.2579L8.18203 13.7294C8.37729 13.9246 8.69387 13.9246 8.88913 13.7294L9.36054 13.258C9.36068 13.2578 9.36082 13.2577 9.36096 13.2575L15.2531 7.36539C15.4484 7.17013 15.4484 6.85355 15.2531 6.65829L14.7817 6.18688Z",
|
|
16806
|
+
fill: "white"
|
|
16807
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
16808
|
+
id: mask1ID,
|
|
16809
|
+
style: {
|
|
16810
|
+
maskType: "luminance"
|
|
16811
|
+
},
|
|
16812
|
+
maskUnits: "userSpaceOnUse",
|
|
16813
|
+
x: "5",
|
|
16814
|
+
y: "6",
|
|
16815
|
+
width: "11",
|
|
16816
|
+
height: "8"
|
|
16817
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
16818
|
+
fillRule: "evenodd",
|
|
16819
|
+
clipRule: "evenodd",
|
|
16820
|
+
d: "M14.7817 6.18688C14.5864 5.99162 14.2698 5.99162 14.0746 6.18688L8.53558 11.7259L6.53211 9.72242C6.33685 9.52715 6.02027 9.52715 5.825 9.72242L5.3536 10.1938C5.15834 10.3891 5.15834 10.7057 5.3536 10.9009L7.71062 13.2579L8.18203 13.7294C8.37729 13.9246 8.69387 13.9246 8.88913 13.7294L9.36054 13.258C9.36068 13.2578 9.36082 13.2577 9.36096 13.2575L15.2531 7.36539C15.4484 7.17013 15.4484 6.85355 15.2531 6.65829L14.7817 6.18688Z",
|
|
16821
|
+
fill: "white"
|
|
16822
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
16823
|
+
mask: "url(#".concat(mask1ID, ")")
|
|
16824
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
16825
|
+
x: "1.66669",
|
|
16826
|
+
y: "1.66666",
|
|
16827
|
+
width: "16.6667",
|
|
16828
|
+
height: "16.6667",
|
|
16829
|
+
fill: "white"
|
|
16830
|
+
}))));
|
|
16831
|
+
};
|
|
16832
|
+
|
|
16833
|
+
var ArrowLeftCircleIconSmall = function ArrowLeftCircleIconSmall(_ref) {
|
|
16834
|
+
var _ref$color = _ref.color,
|
|
16835
|
+
color = _ref$color === void 0 ? "#15749D" : _ref$color,
|
|
16836
|
+
_ref$iconIndex = _ref.iconIndex,
|
|
16837
|
+
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
16838
|
+
var id = "ArrowLeftCircleIconSmall-".concat(iconIndex);
|
|
16839
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
16840
|
+
width: "20",
|
|
16841
|
+
height: "20",
|
|
16842
|
+
viewBox: "0 0 20 20",
|
|
16843
|
+
fill: "none",
|
|
16844
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
16845
|
+
}, /*#__PURE__*/React.createElement("circle", {
|
|
16846
|
+
cx: "10",
|
|
16847
|
+
cy: "10",
|
|
16848
|
+
r: "10",
|
|
16849
|
+
fill: color
|
|
16850
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
16851
|
+
fillRule: "evenodd",
|
|
16852
|
+
clipRule: "evenodd",
|
|
16853
|
+
d: "M10.528 14.472C10.7232 14.2768 10.7233 13.9605 10.5283 13.7652L7.39375 10.625H14.5C14.7761 10.625 15 10.4011 15 10.125V9.875C15 9.59886 14.7761 9.375 14.5 9.375H7.39375L10.5283 6.2348C10.7233 6.03949 10.7232 5.72315 10.528 5.52801L10.3536 5.35355C10.1583 5.15829 9.84171 5.15829 9.64645 5.35355L5.35355 9.64645C5.15829 9.84171 5.15829 10.1583 5.35355 10.3536L9.64645 14.6464C9.84171 14.8417 10.1583 14.8417 10.3536 14.6464L10.528 14.472Z",
|
|
16854
|
+
fill: "white"
|
|
16855
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
16856
|
+
id: id,
|
|
16857
|
+
style: {
|
|
16858
|
+
maskType: "luminance"
|
|
16859
|
+
},
|
|
16860
|
+
maskUnits: "userSpaceOnUse",
|
|
16861
|
+
x: "5",
|
|
16862
|
+
y: "5",
|
|
16863
|
+
width: "10",
|
|
16864
|
+
height: "10"
|
|
16865
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
16866
|
+
fillRule: "evenodd",
|
|
16867
|
+
clipRule: "evenodd",
|
|
16868
|
+
d: "M10.528 14.472C10.7232 14.2768 10.7233 13.9605 10.5283 13.7652L7.39375 10.625H14.5C14.7761 10.625 15 10.4011 15 10.125V9.875C15 9.59886 14.7761 9.375 14.5 9.375H7.39375L10.5283 6.2348C10.7233 6.03949 10.7232 5.72315 10.528 5.52801L10.3536 5.35355C10.1583 5.15829 9.84171 5.15829 9.64645 5.35355L5.35355 9.64645C5.15829 9.84171 5.15829 10.1583 5.35355 10.3536L9.64645 14.6464C9.84171 14.8417 10.1583 14.8417 10.3536 14.6464L10.528 14.472Z",
|
|
16869
|
+
fill: "white"
|
|
16870
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
16871
|
+
mask: "url(#".concat(id, ")")
|
|
16872
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
16873
|
+
x: "17.5",
|
|
16874
|
+
y: "17.5",
|
|
16875
|
+
width: "15",
|
|
16876
|
+
height: "15",
|
|
16877
|
+
transform: "rotate(180 17.5 17.5)",
|
|
16878
|
+
fill: "white"
|
|
16879
|
+
})));
|
|
16880
|
+
};
|
|
16881
|
+
|
|
16882
|
+
var ArrowRightCircleIconSmall = function ArrowRightCircleIconSmall(_ref) {
|
|
16883
|
+
var _ref$color = _ref.color,
|
|
16884
|
+
color = _ref$color === void 0 ? "#15749D" : _ref$color,
|
|
16885
|
+
_ref$iconIndex = _ref.iconIndex,
|
|
16886
|
+
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
16887
|
+
var id = "ArrowRightCircleIconSmall-".concat(iconIndex);
|
|
16888
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
16889
|
+
width: "20",
|
|
16890
|
+
height: "20",
|
|
16891
|
+
viewBox: "0 0 20 20",
|
|
16892
|
+
fill: "none",
|
|
16893
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
16894
|
+
}, /*#__PURE__*/React.createElement("circle", {
|
|
16895
|
+
cx: "10",
|
|
16896
|
+
cy: "10",
|
|
16897
|
+
r: "10",
|
|
16898
|
+
fill: color
|
|
16899
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
16900
|
+
fillRule: "evenodd",
|
|
16901
|
+
clipRule: "evenodd",
|
|
16902
|
+
d: "M9.47199 5.52801C9.27685 5.72315 9.27671 6.03949 9.47167 6.2348L12.6062 9.375H5.5C5.22386 9.375 5 9.59886 5 9.875V10.125C5 10.4011 5.22386 10.625 5.5 10.625H12.6062L9.47167 13.7652C9.27671 13.9605 9.27685 14.2768 9.47199 14.472L9.64645 14.6464C9.84171 14.8417 10.1583 14.8417 10.3536 14.6464L14.6464 10.3536C14.8417 10.1583 14.8417 9.84171 14.6464 9.64645L10.3536 5.35355C10.1583 5.15829 9.84171 5.15829 9.64645 5.35355L9.47199 5.52801Z",
|
|
16903
|
+
fill: "white"
|
|
16904
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
16905
|
+
id: id,
|
|
16906
|
+
style: {
|
|
16907
|
+
maskType: "luminance"
|
|
16908
|
+
},
|
|
16909
|
+
maskUnits: "userSpaceOnUse",
|
|
16910
|
+
x: "5",
|
|
16911
|
+
y: "5",
|
|
16912
|
+
width: "10",
|
|
16913
|
+
height: "10"
|
|
16914
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
16915
|
+
fillRule: "evenodd",
|
|
16916
|
+
clipRule: "evenodd",
|
|
16917
|
+
d: "M9.47199 5.52801C9.27685 5.72315 9.27671 6.03949 9.47167 6.2348L12.6062 9.375H5.5C5.22386 9.375 5 9.59886 5 9.875V10.125C5 10.4011 5.22386 10.625 5.5 10.625H12.6062L9.47167 13.7652C9.27671 13.9605 9.27685 14.2768 9.47199 14.472L9.64645 14.6464C9.84171 14.8417 10.1583 14.8417 10.3536 14.6464L14.6464 10.3536C14.8417 10.1583 14.8417 9.84171 14.6464 9.64645L10.3536 5.35355C10.1583 5.15829 9.84171 5.15829 9.64645 5.35355L9.47199 5.52801Z",
|
|
16918
|
+
fill: "white"
|
|
16919
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
16920
|
+
mask: "url(#".concat(id, ")")
|
|
16921
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
16922
|
+
x: "2.5",
|
|
16923
|
+
y: "2.5",
|
|
16924
|
+
width: "15",
|
|
16925
|
+
height: "15",
|
|
16926
|
+
fill: "white"
|
|
16927
|
+
})));
|
|
16928
|
+
};
|
|
16929
|
+
|
|
16930
|
+
var ArrowUpCircleIconSmall = function ArrowUpCircleIconSmall(_ref) {
|
|
16931
|
+
var _ref$color = _ref.color,
|
|
16932
|
+
color = _ref$color === void 0 ? "#15749D" : _ref$color,
|
|
16933
|
+
_ref$iconIndex = _ref.iconIndex,
|
|
16934
|
+
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
16935
|
+
var id = "ArrowUpCircleIconSmall-".concat(iconIndex);
|
|
16936
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
16937
|
+
width: "20",
|
|
16938
|
+
height: "20",
|
|
16939
|
+
viewBox: "0 0 20 20",
|
|
16940
|
+
fill: "none",
|
|
16941
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
16942
|
+
}, /*#__PURE__*/React.createElement("circle", {
|
|
16943
|
+
cx: "10",
|
|
16944
|
+
cy: "10",
|
|
16945
|
+
r: "10",
|
|
16946
|
+
fill: color
|
|
16947
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
16948
|
+
fillRule: "evenodd",
|
|
16949
|
+
clipRule: "evenodd",
|
|
16950
|
+
d: "M5.52801 10.528C5.72315 10.7232 6.03949 10.7233 6.2348 10.5283L9.375 7.39375L9.375 14.5C9.375 14.7761 9.59886 15 9.875 15H10.125C10.4011 15 10.625 14.7761 10.625 14.5L10.625 7.39375L13.7652 10.5283C13.9605 10.7233 14.2768 10.7232 14.472 10.528L14.6464 10.3536C14.8417 10.1583 14.8417 9.84171 14.6464 9.64645L10.3536 5.35355C10.1583 5.15829 9.84171 5.15829 9.64645 5.35355L5.35355 9.64645C5.15829 9.84171 5.15829 10.1583 5.35355 10.3536L5.52801 10.528Z",
|
|
16951
|
+
fill: "white"
|
|
16952
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
16953
|
+
id: id,
|
|
16954
|
+
style: {
|
|
16955
|
+
maskType: "luminance"
|
|
16956
|
+
},
|
|
16957
|
+
maskUnits: "userSpaceOnUse",
|
|
16958
|
+
x: "5",
|
|
16959
|
+
y: "5",
|
|
16960
|
+
width: "10",
|
|
16961
|
+
height: "10"
|
|
16962
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
16963
|
+
fillRule: "evenodd",
|
|
16964
|
+
clipRule: "evenodd",
|
|
16965
|
+
d: "M5.52801 10.528C5.72315 10.7232 6.03949 10.7233 6.2348 10.5283L9.375 7.39375L9.375 14.5C9.375 14.7761 9.59886 15 9.875 15H10.125C10.4011 15 10.625 14.7761 10.625 14.5L10.625 7.39375L13.7652 10.5283C13.9605 10.7233 14.2768 10.7232 14.472 10.528L14.6464 10.3536C14.8417 10.1583 14.8417 9.84171 14.6464 9.64645L10.3536 5.35355C10.1583 5.15829 9.84171 5.15829 9.64645 5.35355L5.35355 9.64645C5.15829 9.84171 5.15829 10.1583 5.35355 10.3536L5.52801 10.528Z",
|
|
16966
|
+
fill: "white"
|
|
16967
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
16968
|
+
mask: "url(#".concat(id, ")")
|
|
16969
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
16970
|
+
x: "2.5",
|
|
16971
|
+
y: "17.5",
|
|
16972
|
+
width: "15",
|
|
16973
|
+
height: "15",
|
|
16974
|
+
transform: "rotate(-90 2.5 17.5)",
|
|
16975
|
+
fill: "white"
|
|
16976
|
+
})));
|
|
16977
|
+
};
|
|
16978
|
+
|
|
16979
|
+
var ArrowDownCircleIconSmall = function ArrowDownCircleIconSmall(_ref) {
|
|
16980
|
+
var _ref$color = _ref.color,
|
|
16981
|
+
color = _ref$color === void 0 ? "#15749D" : _ref$color,
|
|
16982
|
+
_ref$iconIndex = _ref.iconIndex,
|
|
16983
|
+
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
16984
|
+
var id = "ArrowDownCircleIconSmall-".concat(iconIndex);
|
|
16985
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
16986
|
+
width: "20",
|
|
16987
|
+
height: "20",
|
|
16988
|
+
viewBox: "0 0 20 20",
|
|
16989
|
+
fill: "none",
|
|
16990
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
16991
|
+
}, /*#__PURE__*/React.createElement("circle", {
|
|
16992
|
+
cx: "10",
|
|
16993
|
+
cy: "10",
|
|
16994
|
+
r: "10",
|
|
16995
|
+
fill: color
|
|
16996
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
16997
|
+
fillRule: "evenodd",
|
|
16998
|
+
clipRule: "evenodd",
|
|
16999
|
+
d: "M14.6696 9.47199C14.4745 9.27685 14.1581 9.27671 13.9628 9.47167L10.8226 12.6062V5.5C10.8226 5.22386 10.5988 5 10.3226 5H10.0726C9.79649 5 9.57263 5.22386 9.57263 5.5V12.6062L6.43244 9.47167C6.23712 9.27671 5.92078 9.27685 5.72564 9.47199L5.55119 9.64645C5.35592 9.84171 5.35592 10.1583 5.55119 10.3536L9.84408 14.6464C10.0393 14.8417 10.3559 14.8417 10.5512 14.6464L14.8441 10.3536C15.0393 10.1583 15.0393 9.84171 14.8441 9.64645L14.6696 9.47199Z",
|
|
17000
|
+
fill: "white"
|
|
17001
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
17002
|
+
id: id,
|
|
17003
|
+
style: {
|
|
17004
|
+
maskType: "luminance"
|
|
17005
|
+
},
|
|
17006
|
+
maskUnits: "userSpaceOnUse",
|
|
17007
|
+
x: "5",
|
|
17008
|
+
y: "5",
|
|
17009
|
+
width: "10",
|
|
17010
|
+
height: "10"
|
|
17011
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
17012
|
+
fillRule: "evenodd",
|
|
17013
|
+
clipRule: "evenodd",
|
|
17014
|
+
d: "M14.6696 9.47199C14.4745 9.27685 14.1581 9.27671 13.9628 9.47167L10.8226 12.6062V5.5C10.8226 5.22386 10.5988 5 10.3226 5H10.0726C9.79649 5 9.57263 5.22386 9.57263 5.5V12.6062L6.43244 9.47167C6.23712 9.27671 5.92078 9.27685 5.72564 9.47199L5.55119 9.64645C5.35592 9.84171 5.35592 10.1583 5.55119 10.3536L9.84408 14.6464C10.0393 14.8417 10.3559 14.8417 10.5512 14.6464L14.8441 10.3536C15.0393 10.1583 15.0393 9.84171 14.8441 9.64645L14.6696 9.47199Z",
|
|
17015
|
+
fill: "white"
|
|
17016
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
17017
|
+
mask: "url(#".concat(id, ")")
|
|
17018
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
17019
|
+
x: "17.6976",
|
|
17020
|
+
y: "2.5",
|
|
17021
|
+
width: "15",
|
|
17022
|
+
height: "15",
|
|
17023
|
+
transform: "rotate(90 17.6976 2.5)",
|
|
17024
|
+
fill: "white"
|
|
17025
|
+
})));
|
|
17026
|
+
};
|
|
17027
|
+
|
|
17028
|
+
var SuccessfulIconMedium = function SuccessfulIconMedium(_ref) {
|
|
17029
|
+
var _ref$iconIndex = _ref.iconIndex,
|
|
17030
|
+
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
17031
|
+
var mask0ID = "SuccessfulIconMedium-mask0-".concat(iconIndex);
|
|
17032
|
+
var mask1ID = "SuccessfulIconMedium-mask1-".concat(iconIndex);
|
|
17033
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
17034
|
+
width: "24",
|
|
17035
|
+
height: "24",
|
|
17036
|
+
viewBox: "0 0 24 24",
|
|
17037
|
+
fill: "none",
|
|
17038
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
17039
|
+
}, /*#__PURE__*/React.createElement("circle", {
|
|
17040
|
+
cx: "12",
|
|
17041
|
+
cy: "12",
|
|
17042
|
+
r: "12",
|
|
17043
|
+
fill: "#317D4F"
|
|
17044
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
17045
|
+
id: mask0ID,
|
|
17046
|
+
style: {
|
|
17047
|
+
maskType: "luminance"
|
|
17048
|
+
},
|
|
17049
|
+
maskUnits: "userSpaceOnUse",
|
|
17050
|
+
x: "0",
|
|
17051
|
+
y: "0",
|
|
17052
|
+
width: "24",
|
|
17053
|
+
height: "24"
|
|
17054
|
+
}, /*#__PURE__*/React.createElement("circle", {
|
|
17055
|
+
cx: "12",
|
|
17056
|
+
cy: "12",
|
|
17057
|
+
r: "12",
|
|
17058
|
+
fill: "white"
|
|
17059
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
17060
|
+
mask: "url(#".concat(mask0ID, ")")
|
|
17061
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
17062
|
+
fillRule: "evenodd",
|
|
17063
|
+
clipRule: "evenodd",
|
|
17064
|
+
d: "M17.6672 7.35354C17.472 7.15828 17.1554 7.15828 16.9601 7.35354L10.2426 14.0711L7.76775 11.5962C7.57249 11.4009 7.25591 11.4009 7.06065 11.5962L6.35354 12.3033C6.15828 12.4985 6.15828 12.8151 6.35354 13.0104L9.18167 15.8385C9.18177 15.8386 9.18187 15.8387 9.18197 15.8388L9.88907 16.5459C10.0843 16.7412 10.4009 16.7412 10.5962 16.5459L11.3033 15.8388C11.3034 15.8387 11.3036 15.8386 11.3037 15.8384L18.3744 8.76775C18.5696 8.57249 18.5696 8.25591 18.3744 8.06065L17.6672 7.35354Z",
|
|
17065
|
+
fill: "white"
|
|
17066
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
17067
|
+
id: mask1ID,
|
|
17068
|
+
style: {
|
|
17069
|
+
maskType: "luminance"
|
|
17070
|
+
},
|
|
17071
|
+
maskUnits: "userSpaceOnUse",
|
|
17072
|
+
x: "6",
|
|
17073
|
+
y: "7",
|
|
17074
|
+
width: "13",
|
|
17075
|
+
height: "10"
|
|
17076
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
17077
|
+
fillRule: "evenodd",
|
|
17078
|
+
clipRule: "evenodd",
|
|
17079
|
+
d: "M17.6672 7.35354C17.472 7.15828 17.1554 7.15828 16.9601 7.35354L10.2426 14.0711L7.76775 11.5962C7.57249 11.4009 7.25591 11.4009 7.06065 11.5962L6.35354 12.3033C6.15828 12.4985 6.15828 12.8151 6.35354 13.0104L9.18167 15.8385C9.18177 15.8386 9.18187 15.8387 9.18197 15.8388L9.88907 16.5459C10.0843 16.7412 10.4009 16.7412 10.5962 16.5459L11.3033 15.8388C11.3034 15.8387 11.3036 15.8386 11.3037 15.8384L18.3744 8.76775C18.5696 8.57249 18.5696 8.25591 18.3744 8.06065L17.6672 7.35354Z",
|
|
17080
|
+
fill: "white"
|
|
17081
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
17082
|
+
mask: "url(#".concat(mask1ID, ")")
|
|
17083
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
17084
|
+
x: "2",
|
|
17085
|
+
y: "2",
|
|
17086
|
+
width: "20",
|
|
17087
|
+
height: "20",
|
|
17088
|
+
fill: "white"
|
|
17089
|
+
}))));
|
|
17090
|
+
};
|
|
17091
|
+
|
|
17092
|
+
var XCircleIconMedium = function XCircleIconMedium(_ref) {
|
|
17093
|
+
var _ref$color = _ref.color,
|
|
17094
|
+
color = _ref$color === void 0 ? "#D11053" : _ref$color,
|
|
17095
|
+
_ref$iconIndex = _ref.iconIndex,
|
|
17096
|
+
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
17097
|
+
var id = "XCircleIconMedium-".concat(iconIndex);
|
|
17098
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
17099
|
+
width: "24",
|
|
17100
|
+
height: "24",
|
|
17101
|
+
viewBox: "0 0 24 24",
|
|
17102
|
+
fill: "none",
|
|
17103
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
17104
|
+
}, /*#__PURE__*/React.createElement("circle", {
|
|
17105
|
+
cx: "12",
|
|
17106
|
+
cy: "12",
|
|
17107
|
+
r: "12",
|
|
17108
|
+
fill: color
|
|
17109
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
17110
|
+
fillRule: "evenodd",
|
|
17111
|
+
clipRule: "evenodd",
|
|
17112
|
+
d: "M7.35355 8.07502C7.15829 8.27028 7.15829 8.58686 7.35355 8.78212L10.5714 12L7.35355 15.2179C7.15829 15.4131 7.15829 15.7297 7.35355 15.925L8.07502 16.6464C8.27028 16.8417 8.58686 16.8417 8.78212 16.6464L12 13.4286L15.2179 16.6464C15.4131 16.8417 15.7297 16.8417 15.925 16.6464L16.6464 15.925C16.8417 15.7297 16.8417 15.4131 16.6464 15.2179L13.4286 12L16.6464 8.78212C16.8417 8.58686 16.8417 8.27028 16.6464 8.07502L15.925 7.35355C15.7297 7.15829 15.4131 7.15829 15.2179 7.35355L12 10.5714L8.78212 7.35355C8.58686 7.15829 8.27028 7.15829 8.07502 7.35355L7.35355 8.07502Z",
|
|
17113
|
+
fill: "white"
|
|
17114
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
17115
|
+
id: id,
|
|
17116
|
+
style: {
|
|
17117
|
+
maskType: "luminance"
|
|
17118
|
+
},
|
|
17119
|
+
maskUnits: "userSpaceOnUse",
|
|
17120
|
+
x: "7",
|
|
17121
|
+
y: "7",
|
|
17122
|
+
width: "10",
|
|
17123
|
+
height: "10"
|
|
17124
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
17125
|
+
fillRule: "evenodd",
|
|
17126
|
+
clipRule: "evenodd",
|
|
17127
|
+
d: "M7.35355 8.07502C7.15829 8.27028 7.15829 8.58686 7.35355 8.78212L10.5714 12L7.35355 15.2179C7.15829 15.4131 7.15829 15.7297 7.35355 15.925L8.07502 16.6464C8.27028 16.8417 8.58686 16.8417 8.78212 16.6464L12 13.4286L15.2179 16.6464C15.4131 16.8417 15.7297 16.8417 15.925 16.6464L16.6464 15.925C16.8417 15.7297 16.8417 15.4131 16.6464 15.2179L13.4286 12L16.6464 8.78212C16.8417 8.58686 16.8417 8.27028 16.6464 8.07502L15.925 7.35355C15.7297 7.15829 15.4131 7.15829 15.2179 7.35355L12 10.5714L8.78212 7.35355C8.58686 7.15829 8.27028 7.15829 8.07502 7.35355L7.35355 8.07502Z",
|
|
17128
|
+
fill: "white"
|
|
17129
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
17130
|
+
mask: "url(#".concat(id, ")")
|
|
17131
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
17132
|
+
d: "M0 0H24V24H0V0Z",
|
|
17133
|
+
fill: "white"
|
|
17134
|
+
})));
|
|
17135
|
+
};
|
|
17136
|
+
|
|
17137
|
+
var RefundIconMedium = function RefundIconMedium(_ref) {
|
|
17138
|
+
var _ref$color = _ref.color,
|
|
17139
|
+
color = _ref$color === void 0 ? "#15749D" : _ref$color,
|
|
17140
|
+
_ref$iconIndex = _ref.iconIndex,
|
|
17141
|
+
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
17142
|
+
var id = "RefundIconMedium-".concat(iconIndex);
|
|
17143
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
17144
|
+
width: "24",
|
|
17145
|
+
height: "24",
|
|
17146
|
+
viewBox: "0 0 24 24",
|
|
17147
|
+
fill: "none",
|
|
17148
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
17149
|
+
}, /*#__PURE__*/React.createElement("circle", {
|
|
17150
|
+
cx: "12",
|
|
17151
|
+
cy: "12",
|
|
17152
|
+
r: "12",
|
|
17153
|
+
fill: color
|
|
17154
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
17155
|
+
fillRule: "evenodd",
|
|
17156
|
+
clipRule: "evenodd",
|
|
17157
|
+
d: "M15.0975 16.8351V18H13.4122V16.8416C11.5797 16.6399 10.396 15.7549 10.2154 14.1085L12.2485 14.0694C12.4558 14.9284 13.2049 15.3839 14.2749 15.3839C15.2379 15.3839 15.9268 14.8829 15.9268 14.2126C15.9268 13.5163 15.4787 13.2299 14.5357 13.0217L12.9507 12.6898C11.4727 12.397 10.523 11.5575 10.503 10.1128C10.4896 8.57701 11.7202 7.5423 13.4456 7.2885V6H15.1376V7.29501C16.823 7.58134 17.8462 8.70065 17.8261 10.0477L15.8532 10.0803C15.7328 9.24729 15.345 8.7397 14.315 8.7397C13.2517 8.7397 12.5963 9.20824 12.5963 9.89154C12.5963 10.4382 12.9039 10.7115 13.9539 10.9783L15.5121 11.3492C17.271 11.7592 18 12.7874 18 14.1996C18 15.6182 16.8831 16.6074 15.0975 16.8351ZM9.00001 13.8125C9.00001 14.2245 8.52963 14.4597 8.20001 14.2125L5.53334 12.2125C5.26668 12.0125 5.26668 11.6125 5.53334 11.4125L8.20001 9.4125C8.52963 9.16529 9.00001 9.40048 9.00001 9.8125V13.8125Z",
|
|
17158
|
+
fill: "white"
|
|
17159
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
17160
|
+
id: id,
|
|
17161
|
+
style: {
|
|
17162
|
+
maskType: "luminance"
|
|
17163
|
+
},
|
|
17164
|
+
maskUnits: "userSpaceOnUse",
|
|
17165
|
+
x: "5",
|
|
17166
|
+
y: "6",
|
|
17167
|
+
width: "13",
|
|
17168
|
+
height: "12"
|
|
17169
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
17170
|
+
fillRule: "evenodd",
|
|
17171
|
+
clipRule: "evenodd",
|
|
17172
|
+
d: "M15.0975 16.8351V18H13.4122V16.8416C11.5797 16.6399 10.396 15.7549 10.2154 14.1085L12.2485 14.0694C12.4558 14.9284 13.2049 15.3839 14.2749 15.3839C15.2379 15.3839 15.9268 14.8829 15.9268 14.2126C15.9268 13.5163 15.4787 13.2299 14.5357 13.0217L12.9507 12.6898C11.4727 12.397 10.523 11.5575 10.503 10.1128C10.4896 8.57701 11.7202 7.5423 13.4456 7.2885V6H15.1376V7.29501C16.823 7.58134 17.8462 8.70065 17.8261 10.0477L15.8532 10.0803C15.7328 9.24729 15.345 8.7397 14.315 8.7397C13.2517 8.7397 12.5963 9.20824 12.5963 9.89154C12.5963 10.4382 12.9039 10.7115 13.9539 10.9783L15.5121 11.3492C17.271 11.7592 18 12.7874 18 14.1996C18 15.6182 16.8831 16.6074 15.0975 16.8351ZM9.00001 13.8125C9.00001 14.2245 8.52963 14.4597 8.20001 14.2125L5.53334 12.2125C5.26668 12.0125 5.26668 11.6125 5.53334 11.4125L8.20001 9.4125C8.52963 9.16529 9.00001 9.40048 9.00001 9.8125V13.8125Z",
|
|
17173
|
+
fill: "white"
|
|
17174
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
17175
|
+
mask: "url(#".concat(id, ")")
|
|
17176
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
17177
|
+
x: "3",
|
|
17178
|
+
y: "3",
|
|
17179
|
+
width: "18",
|
|
17180
|
+
height: "18",
|
|
17181
|
+
fill: "white"
|
|
17182
|
+
})));
|
|
17183
|
+
};
|
|
17184
|
+
|
|
17185
|
+
var ArrowLeftCircleIconMedium = function ArrowLeftCircleIconMedium(_ref) {
|
|
17186
|
+
var _ref$color = _ref.color,
|
|
17187
|
+
color = _ref$color === void 0 ? "#15749D" : _ref$color,
|
|
17188
|
+
_ref$iconIndex = _ref.iconIndex,
|
|
17189
|
+
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
17190
|
+
var id = "ArrowLeftCircleIconMedium-".concat(iconIndex);
|
|
17191
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
17192
|
+
width: "24",
|
|
17193
|
+
height: "24",
|
|
17194
|
+
viewBox: "0 0 24 24",
|
|
17195
|
+
fill: "none",
|
|
17196
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
17197
|
+
}, /*#__PURE__*/React.createElement("circle", {
|
|
17198
|
+
cx: "12",
|
|
17199
|
+
cy: "12",
|
|
17200
|
+
r: "12",
|
|
17201
|
+
fill: color
|
|
17202
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
17203
|
+
fillRule: "evenodd",
|
|
17204
|
+
clipRule: "evenodd",
|
|
17205
|
+
d: "M12.7043 17.2957C12.8994 17.1006 12.8995 16.7843 12.7046 16.5889L8.8725 12.75H17.5C17.7761 12.75 18 12.5261 18 12.25V11.75C18 11.4739 17.7761 11.25 17.5 11.25H8.8725L12.7046 7.41105C12.8995 7.21574 12.8994 6.8994 12.7043 6.70426L12.3536 6.35355C12.1583 6.15829 11.8417 6.15829 11.6464 6.35355L6.35355 11.6464C6.15829 11.8417 6.15829 12.1583 6.35355 12.3536L11.6464 17.6464C11.8417 17.8417 12.1583 17.8417 12.3536 17.6464L12.7043 17.2957Z",
|
|
17206
|
+
fill: "white"
|
|
17207
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
17208
|
+
id: id,
|
|
17209
|
+
style: {
|
|
17210
|
+
maskType: "luminance"
|
|
17211
|
+
},
|
|
17212
|
+
maskUnits: "userSpaceOnUse",
|
|
17213
|
+
x: "6",
|
|
17214
|
+
y: "6",
|
|
17215
|
+
width: "12",
|
|
17216
|
+
height: "12"
|
|
17217
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
17218
|
+
fillRule: "evenodd",
|
|
17219
|
+
clipRule: "evenodd",
|
|
17220
|
+
d: "M12.7043 17.2957C12.8994 17.1006 12.8995 16.7843 12.7046 16.5889L8.8725 12.75H17.5C17.7761 12.75 18 12.5261 18 12.25V11.75C18 11.4739 17.7761 11.25 17.5 11.25H8.8725L12.7046 7.41105C12.8995 7.21574 12.8994 6.8994 12.7043 6.70426L12.3536 6.35355C12.1583 6.15829 11.8417 6.15829 11.6464 6.35355L6.35355 11.6464C6.15829 11.8417 6.15829 12.1583 6.35355 12.3536L11.6464 17.6464C11.8417 17.8417 12.1583 17.8417 12.3536 17.6464L12.7043 17.2957Z",
|
|
17221
|
+
fill: "white"
|
|
17222
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
17223
|
+
mask: "url(#".concat(id, ")")
|
|
17224
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
17225
|
+
x: "21",
|
|
17226
|
+
y: "21",
|
|
17227
|
+
width: "18",
|
|
17228
|
+
height: "18",
|
|
17229
|
+
transform: "rotate(180 21 21)",
|
|
17230
|
+
fill: "white"
|
|
17231
|
+
})));
|
|
17232
|
+
};
|
|
17233
|
+
|
|
17234
|
+
var ChargebackIconMedium = function ChargebackIconMedium(_ref) {
|
|
17235
|
+
var _ref$color = _ref.color,
|
|
17236
|
+
color = _ref$color === void 0 ? "#15749D" : _ref$color,
|
|
17237
|
+
_ref$iconIndex = _ref.iconIndex,
|
|
17238
|
+
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
17239
|
+
var id = "ChargebackIconMedium-".concat(iconIndex);
|
|
17240
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
17241
|
+
width: "24",
|
|
17242
|
+
height: "24",
|
|
17243
|
+
viewBox: "0 0 24 24",
|
|
17244
|
+
fill: "none",
|
|
17245
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
17246
|
+
}, /*#__PURE__*/React.createElement("circle", {
|
|
17247
|
+
cx: "12",
|
|
17248
|
+
cy: "12",
|
|
17249
|
+
r: "12",
|
|
17250
|
+
fill: color
|
|
17251
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
17252
|
+
id: id,
|
|
17253
|
+
style: {
|
|
17254
|
+
maskType: "luminance"
|
|
17255
|
+
},
|
|
17256
|
+
maskUnits: "userSpaceOnUse",
|
|
17257
|
+
x: "3",
|
|
17258
|
+
y: "7",
|
|
17259
|
+
width: "17",
|
|
17260
|
+
height: "10"
|
|
17261
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
17262
|
+
fillRule: "evenodd",
|
|
17263
|
+
clipRule: "evenodd",
|
|
17264
|
+
d: "M7.99999 8C7.99999 7.44772 8.4477 7 8.99999 7H19C19.5523 7 20 7.44772 20 8V10V12V16C20 16.5523 19.5523 17 19 17H8.99999C8.4477 17 7.99999 16.5523 7.99999 16V12V10V8ZM19.25 7.83333V10H8.74999V9.91667V7.83333H19.25ZM8.74999 16.1667V12H19.25V16.1667H8.74999ZM5.79295 10.2071C5.79295 9.76165 5.25438 9.53857 4.9394 9.85355L3.14651 11.6464C2.95125 11.8417 2.95125 12.1583 3.14651 12.3536L4.9394 14.1464C5.25438 14.4614 5.79295 14.2383 5.79295 13.7929V10.2071ZM16.1875 14C15.9113 14 15.6875 14.2239 15.6875 14.5C15.6875 14.7761 15.9113 15 16.1875 15H17.4375C17.7136 15 17.9375 14.7761 17.9375 14.5C17.9375 14.2239 17.7136 14 17.4375 14H16.1875Z",
|
|
17265
|
+
fill: "white"
|
|
17266
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
17267
|
+
mask: "url(#".concat(id, ")")
|
|
17268
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
17269
|
+
x: "3",
|
|
17270
|
+
y: "3",
|
|
17271
|
+
width: "18",
|
|
17272
|
+
height: "18",
|
|
17273
|
+
fill: "white"
|
|
17274
|
+
})));
|
|
17275
|
+
};
|
|
17276
|
+
|
|
17277
|
+
var ChargebackReversalIconMedium = function ChargebackReversalIconMedium(_ref) {
|
|
17278
|
+
var _ref$color = _ref.color,
|
|
17279
|
+
color = _ref$color === void 0 ? "#15749D" : _ref$color,
|
|
17280
|
+
_ref$iconIndex = _ref.iconIndex,
|
|
17281
|
+
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
17282
|
+
var id = "ChargebackReversalIconMedium-".concat(iconIndex);
|
|
17283
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
17284
|
+
width: "24",
|
|
17285
|
+
height: "24",
|
|
17286
|
+
viewBox: "0 0 24 24",
|
|
17287
|
+
fill: "none",
|
|
17288
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
17289
|
+
}, /*#__PURE__*/React.createElement("circle", {
|
|
17290
|
+
cx: "12",
|
|
17291
|
+
cy: "12",
|
|
17292
|
+
r: "12",
|
|
17293
|
+
fill: color
|
|
17294
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
17295
|
+
id: id,
|
|
17296
|
+
style: {
|
|
17297
|
+
maskType: "luminance"
|
|
17298
|
+
},
|
|
17299
|
+
maskUnits: "userSpaceOnUse",
|
|
17300
|
+
x: "5",
|
|
17301
|
+
y: "7",
|
|
17302
|
+
width: "16",
|
|
17303
|
+
height: "10"
|
|
17304
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
17305
|
+
fillRule: "evenodd",
|
|
17306
|
+
clipRule: "evenodd",
|
|
17307
|
+
d: "M5 8C5 7.44772 5.44772 7 6 7H16C16.5523 7 17 7.44772 17 8V10V12V16C17 16.5523 16.5523 17 16 17H6C5.44772 17 5 16.5523 5 16V12V10V8ZM16.25 7.83333V10H5.75V9.91667V7.83333H16.25ZM5.75 16.1667V12H16.25V16.1667H5.75ZM18 13.7929C18 14.2383 18.5386 14.4614 18.8536 14.1464L20.6464 12.3536C20.8417 12.1583 20.8417 11.8417 20.6464 11.6464L18.8536 9.85355C18.5386 9.53857 18 9.76165 18 10.2071V13.7929ZM13.1875 14C12.9114 14 12.6875 14.2239 12.6875 14.5C12.6875 14.7761 12.9114 15 13.1875 15H14.4375C14.7136 15 14.9375 14.7761 14.9375 14.5C14.9375 14.2239 14.7136 14 14.4375 14H13.1875Z",
|
|
17308
|
+
fill: "white"
|
|
17309
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
17310
|
+
mask: "url(#".concat(id, ")")
|
|
17311
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
17312
|
+
x: "3",
|
|
17313
|
+
y: "3",
|
|
17314
|
+
width: "18",
|
|
17315
|
+
height: "18",
|
|
17316
|
+
fill: "white"
|
|
17317
|
+
})));
|
|
17318
|
+
};
|
|
17319
|
+
|
|
16477
17320
|
var color$2 = "#15749D";
|
|
16478
17321
|
var hoverColor$1 = "#116285";
|
|
16479
17322
|
var activeColor$1 = "#0E506D";
|
|
@@ -20168,7 +21011,7 @@ var CheckboxContainer = styled.div.withConfig({
|
|
|
20168
21011
|
var CheckboxLabelContainer = styled.label.withConfig({
|
|
20169
21012
|
displayName: "Checkbox__CheckboxLabelContainer",
|
|
20170
21013
|
componentId: "sc-36kqbv-1"
|
|
20171
|
-
})(["display:flex;align-items:center;"]);
|
|
21014
|
+
})(["display:flex;align-items:center;column-gap:1rem;"]);
|
|
20172
21015
|
var CheckboxIcon = styled.svg.withConfig({
|
|
20173
21016
|
displayName: "Checkbox__CheckboxIcon",
|
|
20174
21017
|
componentId: "sc-36kqbv-2"
|
|
@@ -20187,7 +21030,7 @@ var HiddenCheckbox = styled.input.attrs({
|
|
|
20187
21030
|
var StyledCheckbox = styled.div.withConfig({
|
|
20188
21031
|
displayName: "Checkbox__StyledCheckbox",
|
|
20189
21032
|
componentId: "sc-36kqbv-4"
|
|
20190
|
-
})(["display:inline-block;
|
|
21033
|
+
})(["display:inline-block;width:24px;height:24px;border-radius:2px;transition:all 150ms;", "{visibility:", ";}", ";"], CheckboxIcon, function (_ref2) {
|
|
20191
21034
|
var checked = _ref2.checked;
|
|
20192
21035
|
return checked ? "visible" : "hidden";
|
|
20193
21036
|
}, function (_ref3) {
|
|
@@ -20217,6 +21060,8 @@ var Checkbox = function Checkbox(_ref4) {
|
|
|
20217
21060
|
hidden = _ref4$hidden === void 0 ? false : _ref4$hidden,
|
|
20218
21061
|
_ref4$error = _ref4.error,
|
|
20219
21062
|
error = _ref4$error === void 0 ? false : _ref4$error,
|
|
21063
|
+
_ref4$checkboxMargin = _ref4.checkboxMargin,
|
|
21064
|
+
checkboxMargin = _ref4$checkboxMargin === void 0 ? "0 16px 0 0" : _ref4$checkboxMargin,
|
|
20220
21065
|
extraStyles = _ref4.extraStyles,
|
|
20221
21066
|
textExtraStyles = _ref4.textExtraStyles;
|
|
20222
21067
|
|
|
@@ -20245,7 +21090,7 @@ var Checkbox = function Checkbox(_ref4) {
|
|
|
20245
21090
|
},
|
|
20246
21091
|
hiddenStyles: hidden,
|
|
20247
21092
|
background: themeValues.backgroundColor,
|
|
20248
|
-
extraStyles: "outline: none; ".concat(extraStyles)
|
|
21093
|
+
extraStyles: "outline: none; ".concat(extraStyles, "; margin: ").concat(checkboxMargin, ";")
|
|
20249
21094
|
}, /*#__PURE__*/React.createElement(CheckboxLabelContainer, null, /*#__PURE__*/React.createElement(CheckboxContainer, {
|
|
20250
21095
|
"data-qa": "Checkbox"
|
|
20251
21096
|
}, /*#__PURE__*/React.createElement(HiddenCheckbox, {
|
|
@@ -20257,7 +21102,7 @@ var Checkbox = function Checkbox(_ref4) {
|
|
|
20257
21102
|
onChange: onChange,
|
|
20258
21103
|
tabIndex: "-1",
|
|
20259
21104
|
"aria-invalid": error,
|
|
20260
|
-
"aria-describedby": "".concat(name, "-error-message")
|
|
21105
|
+
"aria-describedby": error ? "".concat(name, "-error-message") : ""
|
|
20261
21106
|
}), /*#__PURE__*/React.createElement(StyledCheckbox, {
|
|
20262
21107
|
error: error,
|
|
20263
21108
|
disabled: disabled,
|
|
@@ -20276,7 +21121,7 @@ var Checkbox = function Checkbox(_ref4) {
|
|
|
20276
21121
|
checkColor: themeValues.checkColor
|
|
20277
21122
|
}, /*#__PURE__*/React.createElement("polyline", {
|
|
20278
21123
|
points: "20 6 9 17 4 12"
|
|
20279
|
-
})))), /*#__PURE__*/React.createElement(Text$1, {
|
|
21124
|
+
})))), title && /*#__PURE__*/React.createElement(Text$1, {
|
|
20280
21125
|
variant: "p",
|
|
20281
21126
|
weight: themeValues.textFontWeight,
|
|
20282
21127
|
color: themeValues.textColor,
|
|
@@ -23561,6 +24406,40 @@ var creditCardFormat = createFormat(creditCardFormats, formatDelimiter);
|
|
|
23561
24406
|
var expirationDateFormat = createFormat(expirationDateFormats, formatDelimiter);
|
|
23562
24407
|
var phoneFormat = createFormat(phoneFormats, formatDelimiter);
|
|
23563
24408
|
var moneyFormat = createFormat(moneyFormats, formatDelimiter);
|
|
24409
|
+
var renderCardStatus = function renderCardStatus(expirationStatus, expireDate) {
|
|
24410
|
+
var textAlign = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "right";
|
|
24411
|
+
var as = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : "span";
|
|
24412
|
+
var ACTIVE = "ACTIVE";
|
|
24413
|
+
var EXPIRING_SOON = "EXPIRING_SOON";
|
|
24414
|
+
var EXPIRED = "EXPIRED";
|
|
24415
|
+
var textMargin = textAlign === "right" ? "auto" : "0";
|
|
24416
|
+
|
|
24417
|
+
switch (expirationStatus) {
|
|
24418
|
+
case ACTIVE:
|
|
24419
|
+
return /*#__PURE__*/React.createElement(Text$1, {
|
|
24420
|
+
as: as,
|
|
24421
|
+
variant: "pXS",
|
|
24422
|
+
color: ASH_GREY,
|
|
24423
|
+
extraStyles: "text-align: ".concat(textAlign, "; margin: ").concat(textMargin, ";")
|
|
24424
|
+
}, "Exp Date ", expireDate);
|
|
24425
|
+
|
|
24426
|
+
case EXPIRING_SOON:
|
|
24427
|
+
return /*#__PURE__*/React.createElement(Text$1, {
|
|
24428
|
+
as: as,
|
|
24429
|
+
variant: "pXS",
|
|
24430
|
+
color: FIRE_YELLOW,
|
|
24431
|
+
extraStyles: "text-align: ".concat(textAlign, "; margin: ").concat(textMargin, ";")
|
|
24432
|
+
}, "Expiring Soon ", expireDate);
|
|
24433
|
+
|
|
24434
|
+
case EXPIRED:
|
|
24435
|
+
return /*#__PURE__*/React.createElement(Text$1, {
|
|
24436
|
+
as: as,
|
|
24437
|
+
variant: "pXS",
|
|
24438
|
+
color: ASH_GREY,
|
|
24439
|
+
extraStyles: "text-align: ".concat(textAlign, "; margin: ").concat(textMargin, ";")
|
|
24440
|
+
}, "Expired");
|
|
24441
|
+
}
|
|
24442
|
+
};
|
|
23564
24443
|
|
|
23565
24444
|
var formats = /*#__PURE__*/Object.freeze({
|
|
23566
24445
|
__proto__: null,
|
|
@@ -23572,7 +24451,8 @@ var formats = /*#__PURE__*/Object.freeze({
|
|
|
23572
24451
|
creditCardFormat: creditCardFormat,
|
|
23573
24452
|
expirationDateFormat: expirationDateFormat,
|
|
23574
24453
|
phoneFormat: phoneFormat,
|
|
23575
|
-
moneyFormat: moneyFormat
|
|
24454
|
+
moneyFormat: moneyFormat,
|
|
24455
|
+
renderCardStatus: renderCardStatus
|
|
23576
24456
|
});
|
|
23577
24457
|
|
|
23578
24458
|
var useFocusInvalidInput = function useFocusInvalidInput(hasErrors) {
|
|
@@ -23632,10 +24512,10 @@ var fallbackValues$i = {
|
|
|
23632
24512
|
popoverTriggerColor: popoverTriggerColor
|
|
23633
24513
|
};
|
|
23634
24514
|
|
|
23635
|
-
var arrowBorder = function arrowBorder(direction) {
|
|
23636
|
-
var width = arguments.length >
|
|
24515
|
+
var arrowBorder = function arrowBorder(borderColor, direction) {
|
|
24516
|
+
var width = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "8px";
|
|
23637
24517
|
var angle = "".concat(width, " solid transparent");
|
|
23638
|
-
var straight = "".concat(width, " solid
|
|
24518
|
+
var straight = "".concat(width, " solid ").concat(borderColor);
|
|
23639
24519
|
|
|
23640
24520
|
if (direction == "down") {
|
|
23641
24521
|
return "border-left: ".concat(angle, "; border-right: ").concat(angle, "; border-top: ").concat(straight);
|
|
@@ -23677,7 +24557,12 @@ var Popover = function Popover(_ref) {
|
|
|
23677
24557
|
arrowDirection = _ref$arrowDirection === void 0 ? "down" : _ref$arrowDirection,
|
|
23678
24558
|
_ref$transform = _ref.transform,
|
|
23679
24559
|
transform = _ref$transform === void 0 ? "none" : _ref$transform,
|
|
23680
|
-
buttonExtraStyles = _ref.buttonExtraStyles
|
|
24560
|
+
buttonExtraStyles = _ref.buttonExtraStyles,
|
|
24561
|
+
_ref$backgroundColor = _ref.backgroundColor,
|
|
24562
|
+
backgroundColor = _ref$backgroundColor === void 0 ? "white" : _ref$backgroundColor,
|
|
24563
|
+
_ref$borderColor = _ref.borderColor,
|
|
24564
|
+
borderColor = _ref$borderColor === void 0 ? "rgba(255, 255, 255, 0.85)" : _ref$borderColor,
|
|
24565
|
+
popoverExtraStyles = _ref.popoverExtraStyles;
|
|
23681
24566
|
var hoverColor = themeValues.hoverColor,
|
|
23682
24567
|
activeColor = themeValues.activeColor,
|
|
23683
24568
|
popoverTriggerColor = themeValues.popoverTriggerColor;
|
|
@@ -23763,7 +24648,7 @@ var Popover = function Popover(_ref) {
|
|
|
23763
24648
|
color: popoverTriggerColor,
|
|
23764
24649
|
extraStyles: "&:active { color: ".concat(activeColor, "; } &:hover { color: ").concat(hoverColor, " }; ").concat(textExtraStyles)
|
|
23765
24650
|
}, triggerText)), /*#__PURE__*/React.createElement(Box, {
|
|
23766
|
-
background:
|
|
24651
|
+
background: backgroundColor,
|
|
23767
24652
|
borderRadius: "4px",
|
|
23768
24653
|
boxShadow: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)",
|
|
23769
24654
|
id: "Disclosed".concat(popoverID),
|
|
@@ -23772,10 +24657,10 @@ var Popover = function Popover(_ref) {
|
|
|
23772
24657
|
tabIndex: popoverFocus && popoverOpen ? "0" : "-1",
|
|
23773
24658
|
minWidth: minWidth,
|
|
23774
24659
|
maxWidth: maxWidth,
|
|
23775
|
-
extraStyles: "\n display: ".concat(popoverOpen ? "block" : "none", "; \n position: absolute; \n top: ").concat(top, "; \n right: ").concat(right, "; \n bottom: ").concat(bottom, "; \n left: ").concat(left, ";\n height: ").concat(height, ";\n transform: ").concat(transform, ";\n ")
|
|
24660
|
+
extraStyles: "\n display: ".concat(popoverOpen ? "block" : "none", "; \n position: absolute; \n top: ").concat(top, "; \n right: ").concat(right, "; \n bottom: ").concat(bottom, "; \n left: ").concat(left, ";\n height: ").concat(height, ";\n transform: ").concat(transform, ";\n ").concat(popoverExtraStyles, ";\n ")
|
|
23776
24661
|
}, /*#__PURE__*/React.createElement(Paragraph$1, null, content), /*#__PURE__*/React.createElement(Box, {
|
|
23777
24662
|
padding: "0",
|
|
23778
|
-
extraStyles: "\n position: absolute;\n content: \"\";\n width: 0;\n height: 0;\n ".concat(arrowBorder(arrowDirection, "8px"), ";\n filter: drop-shadow(2px 8px 14px black);\n bottom: ").concat(arrowBottom, ";\n right: ").concat(arrowRight, ";\n top: ").concat(arrowTop, ";\n left: ").concat(arrowLeft, ";\n ")
|
|
24663
|
+
extraStyles: "\n position: absolute;\n content: \"\";\n width: 0;\n height: 0;\n ".concat(arrowBorder(borderColor, arrowDirection, "8px"), ";\n filter: drop-shadow(2px 8px 14px black);\n bottom: ").concat(arrowBottom, ";\n right: ").concat(arrowRight, ";\n top: ").concat(arrowTop, ";\n left: ").concat(arrowLeft, ";\n ")
|
|
23779
24664
|
})));
|
|
23780
24665
|
};
|
|
23781
24666
|
|
|
@@ -24265,9 +25150,50 @@ var fallbackValues$l = {
|
|
|
24265
25150
|
autopayTextColor: autopayTextColor
|
|
24266
25151
|
};
|
|
24267
25152
|
|
|
24268
|
-
var
|
|
24269
|
-
|
|
24270
|
-
|
|
25153
|
+
var BankItemWrapper = styled.div.withConfig({
|
|
25154
|
+
displayName: "FormattedBankAccount__BankItemWrapper",
|
|
25155
|
+
componentId: "sc-18hcgw4-0"
|
|
25156
|
+
})(["display:flex;justify-content:flex-start;align-items:center;"]);
|
|
25157
|
+
var BankAccountText = styled.h4.withConfig({
|
|
25158
|
+
displayName: "FormattedBankAccount__BankAccountText",
|
|
25159
|
+
componentId: "sc-18hcgw4-1"
|
|
25160
|
+
})(["color:", ";font-size:1rem;font-weight:400;line-height:1.5rem;text-align:left;margin-right:0.5rem;display:inline-block;"], function (_ref) {
|
|
25161
|
+
var color = _ref.color;
|
|
25162
|
+
return color;
|
|
25163
|
+
});
|
|
25164
|
+
var CHECKING = "CHECKING";
|
|
25165
|
+
var SAVINGS = "SAVINGS";
|
|
25166
|
+
|
|
25167
|
+
var FormattedBankAccount = function FormattedBankAccount(_ref2) {
|
|
25168
|
+
var lastFour = _ref2.lastFour,
|
|
25169
|
+
accountType = _ref2.accountType,
|
|
25170
|
+
autoPay = _ref2.autoPay,
|
|
25171
|
+
themeValues = _ref2.themeValues;
|
|
25172
|
+
return /*#__PURE__*/React.createElement(BankItemWrapper, null, /*#__PURE__*/React.createElement(Box, {
|
|
25173
|
+
padding: "0.25rem 0 0 0",
|
|
25174
|
+
extraStyles: "margin-right: 1rem;"
|
|
25175
|
+
}, /*#__PURE__*/React.createElement(BankIcon, null)), /*#__PURE__*/React.createElement(Stack, {
|
|
25176
|
+
childGap: "0"
|
|
25177
|
+
}, accountType === CHECKING && /*#__PURE__*/React.createElement(BankAccountText, {
|
|
25178
|
+
color: themeValues.textColor
|
|
25179
|
+
}, "Checking Account ending in ", lastFour), accountType === SAVINGS && /*#__PURE__*/React.createElement(BankAccountText, {
|
|
25180
|
+
color: themeValues.textColor
|
|
25181
|
+
}, "Savings Account ending in ", lastFour), autoPay && /*#__PURE__*/React.createElement(Text$1, {
|
|
25182
|
+
variant: "p",
|
|
25183
|
+
color: themeValues.autopayTextColor,
|
|
25184
|
+
extraStyles: "font-style: italic;"
|
|
25185
|
+
}, "Autopay Enabled")));
|
|
25186
|
+
};
|
|
25187
|
+
|
|
25188
|
+
var FormattedBankAccount$1 = themeComponent(FormattedBankAccount, "FormattedBankAccount", fallbackValues$l);
|
|
25189
|
+
|
|
25190
|
+
var textColor$2 = "".concat(CHARADE_GREY);
|
|
25191
|
+
var autopayTextColor$1 = "".concat(REGENT_GREY);
|
|
25192
|
+
var fallbackValues$m = {
|
|
25193
|
+
textColor: textColor$2,
|
|
25194
|
+
autopayTextColor: autopayTextColor$1
|
|
25195
|
+
};
|
|
25196
|
+
|
|
24271
25197
|
var CreditCardWrapper = styled.div.withConfig({
|
|
24272
25198
|
displayName: "FormattedCreditCard__CreditCardWrapper",
|
|
24273
25199
|
componentId: "sc-s0ta5l-0"
|
|
@@ -24283,32 +25209,6 @@ var FormattedCreditCard = function FormattedCreditCard(_ref) {
|
|
|
24283
25209
|
expireDate = _ref.expireDate,
|
|
24284
25210
|
expirationStatus = _ref.expirationStatus,
|
|
24285
25211
|
themeValues = _ref.themeValues;
|
|
24286
|
-
|
|
24287
|
-
var renderCardStatus = function renderCardStatus() {
|
|
24288
|
-
switch (expirationStatus) {
|
|
24289
|
-
case ACTIVE:
|
|
24290
|
-
return /*#__PURE__*/React.createElement(Paragraph$1, {
|
|
24291
|
-
variant: "pXS",
|
|
24292
|
-
color: ASH_GREY,
|
|
24293
|
-
textAlign: "left"
|
|
24294
|
-
}, "Exp Date ", expireDate);
|
|
24295
|
-
|
|
24296
|
-
case EXPIRING_SOON:
|
|
24297
|
-
return /*#__PURE__*/React.createElement(Paragraph$1, {
|
|
24298
|
-
variant: "pXS",
|
|
24299
|
-
color: FIRE_YELLOW,
|
|
24300
|
-
textAlign: "left"
|
|
24301
|
-
}, "Expiring Soon ", expireDate);
|
|
24302
|
-
|
|
24303
|
-
case EXPIRED:
|
|
24304
|
-
return /*#__PURE__*/React.createElement(Paragraph$1, {
|
|
24305
|
-
variant: "pXS",
|
|
24306
|
-
color: ASH_GREY,
|
|
24307
|
-
textAlign: "left"
|
|
24308
|
-
}, "Expired");
|
|
24309
|
-
}
|
|
24310
|
-
};
|
|
24311
|
-
|
|
24312
25212
|
return /*#__PURE__*/React.createElement(CreditCardWrapper, null, /*#__PURE__*/React.createElement(CCIconWrapper, null, /*#__PURE__*/React.createElement(GenericCard, null)), /*#__PURE__*/React.createElement(Stack, {
|
|
24313
25213
|
childGap: "0"
|
|
24314
25214
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
@@ -24319,14 +25219,14 @@ var FormattedCreditCard = function FormattedCreditCard(_ref) {
|
|
|
24319
25219
|
color: themeValues.textColor,
|
|
24320
25220
|
textAlign: "left",
|
|
24321
25221
|
extraStyles: "display: inline-block;"
|
|
24322
|
-
}, "Card ending in ".concat(lastFour)), expireDate && /*#__PURE__*/React.createElement(Fragment$1, null, renderCardStatus())), autoPay && /*#__PURE__*/React.createElement(Text$1, {
|
|
25222
|
+
}, "Card ending in ".concat(lastFour)), expireDate && /*#__PURE__*/React.createElement(Fragment$1, null, renderCardStatus(expirationStatus, expireDate, "left", "p"))), autoPay && /*#__PURE__*/React.createElement(Text$1, {
|
|
24323
25223
|
variant: "p",
|
|
24324
25224
|
color: themeValues.autopayTextColor,
|
|
24325
25225
|
extraStyles: "font-style: italic;"
|
|
24326
25226
|
}, "Autopay Enabled")));
|
|
24327
25227
|
};
|
|
24328
25228
|
|
|
24329
|
-
var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$
|
|
25229
|
+
var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$m);
|
|
24330
25230
|
|
|
24331
25231
|
var Hamburger = styled.button.withConfig({
|
|
24332
25232
|
displayName: "HamburgerButton__Hamburger",
|
|
@@ -24408,7 +25308,7 @@ var fontSize$8 = {
|
|
|
24408
25308
|
h5: "1.375rem",
|
|
24409
25309
|
h6: "1.25rem"
|
|
24410
25310
|
};
|
|
24411
|
-
var fallbackValues$
|
|
25311
|
+
var fallbackValues$n = {
|
|
24412
25312
|
fontFamily: fontFamily$5,
|
|
24413
25313
|
fontSize: fontSize$8
|
|
24414
25314
|
};
|
|
@@ -24450,7 +25350,60 @@ var Heading = function Heading(_ref) {
|
|
|
24450
25350
|
}, rest), safeChildren(children, /*#__PURE__*/React.createElement("span", null)));
|
|
24451
25351
|
};
|
|
24452
25352
|
|
|
24453
|
-
var Heading$1 = themeComponent(Heading, "Heading", fallbackValues$
|
|
25353
|
+
var Heading$1 = themeComponent(Heading, "Heading", fallbackValues$n, "h1");
|
|
25354
|
+
|
|
25355
|
+
var Image = styled.img.withConfig({
|
|
25356
|
+
displayName: "ImageBoxstyled__Image",
|
|
25357
|
+
componentId: "sc-8lg9y6-0"
|
|
25358
|
+
})(["width:", ";height:", ";object-fit:", ";object-position:", ";"], function (_ref) {
|
|
25359
|
+
var _ref$width = _ref.width,
|
|
25360
|
+
width = _ref$width === void 0 ? "100%" : _ref$width;
|
|
25361
|
+
return width;
|
|
25362
|
+
}, function (_ref2) {
|
|
25363
|
+
var _ref2$height = _ref2.height,
|
|
25364
|
+
height = _ref2$height === void 0 ? "100%" : _ref2$height;
|
|
25365
|
+
return height;
|
|
25366
|
+
}, function (_ref3) {
|
|
25367
|
+
var _ref3$objectFit = _ref3.objectFit,
|
|
25368
|
+
objectFit = _ref3$objectFit === void 0 ? "cover" : _ref3$objectFit;
|
|
25369
|
+
return objectFit;
|
|
25370
|
+
}, function (_ref4) {
|
|
25371
|
+
var _ref4$objectPosition = _ref4.objectPosition,
|
|
25372
|
+
objectPosition = _ref4$objectPosition === void 0 ? "center" : _ref4$objectPosition;
|
|
25373
|
+
return objectPosition;
|
|
25374
|
+
});
|
|
25375
|
+
|
|
25376
|
+
var ImageBox = function ImageBox(_ref) {
|
|
25377
|
+
var image = _ref.image,
|
|
25378
|
+
minHeight = _ref.minHeight,
|
|
25379
|
+
minWidth = _ref.minWidth,
|
|
25380
|
+
maxWidth = _ref.maxWidth,
|
|
25381
|
+
borderRadius = _ref.borderRadius,
|
|
25382
|
+
imgWidth = _ref.imgWidth,
|
|
25383
|
+
imgHeight = _ref.imgHeight,
|
|
25384
|
+
objectFit = _ref.objectFit,
|
|
25385
|
+
objectPosition = _ref.objectPosition;
|
|
25386
|
+
var boxMaxWidth = maxWidth || minWidth;
|
|
25387
|
+
var _image$url = image.url,
|
|
25388
|
+
url = _image$url === void 0 ? "" : _image$url,
|
|
25389
|
+
_image$altText = image.altText,
|
|
25390
|
+
altText = _image$altText === void 0 ? "" : _image$altText;
|
|
25391
|
+
return /*#__PURE__*/React.createElement(Box, {
|
|
25392
|
+
padding: "0",
|
|
25393
|
+
minWidth: minWidth,
|
|
25394
|
+
minHeight: minHeight,
|
|
25395
|
+
maxWidth: boxMaxWidth,
|
|
25396
|
+
borderRadius: borderRadius,
|
|
25397
|
+
extraStyles: "height: ".concat(minHeight, ";")
|
|
25398
|
+
}, /*#__PURE__*/React.createElement(Image, {
|
|
25399
|
+
width: imgWidth,
|
|
25400
|
+
height: imgHeight,
|
|
25401
|
+
objectFit: objectFit,
|
|
25402
|
+
objectPosition: objectPosition,
|
|
25403
|
+
src: url,
|
|
25404
|
+
alt: altText
|
|
25405
|
+
}));
|
|
25406
|
+
};
|
|
24454
25407
|
|
|
24455
25408
|
var Jumbo = function Jumbo(_ref) {
|
|
24456
25409
|
var showButton = _ref.showButton,
|
|
@@ -24524,7 +25477,7 @@ var fontWeight$4 = {
|
|
|
24524
25477
|
pL: "600",
|
|
24525
25478
|
h6: "700"
|
|
24526
25479
|
};
|
|
24527
|
-
var fallbackValues$
|
|
25480
|
+
var fallbackValues$o = {
|
|
24528
25481
|
fontWeight: fontWeight$4
|
|
24529
25482
|
};
|
|
24530
25483
|
|
|
@@ -24552,7 +25505,7 @@ var LabeledAmount = function LabeledAmount(_ref) {
|
|
|
24552
25505
|
}, amount));
|
|
24553
25506
|
};
|
|
24554
25507
|
|
|
24555
|
-
var LabeledAmount$1 = themeComponent(LabeledAmount, "LabeledAmount", fallbackValues$
|
|
25508
|
+
var LabeledAmount$1 = themeComponent(LabeledAmount, "LabeledAmount", fallbackValues$o, "default");
|
|
24556
25509
|
|
|
24557
25510
|
var weightTitle = {
|
|
24558
25511
|
"default": "600",
|
|
@@ -24562,7 +25515,7 @@ var paragraphVariant = {
|
|
|
24562
25515
|
"default": "pL",
|
|
24563
25516
|
small: "pS"
|
|
24564
25517
|
};
|
|
24565
|
-
var fallbackValues$
|
|
25518
|
+
var fallbackValues$p = {
|
|
24566
25519
|
weightTitle: weightTitle,
|
|
24567
25520
|
paragraphVariant: paragraphVariant
|
|
24568
25521
|
};
|
|
@@ -24571,7 +25524,9 @@ var LineItem = function LineItem(_ref) {
|
|
|
24571
25524
|
var description = _ref.description,
|
|
24572
25525
|
subDescription = _ref.subDescription,
|
|
24573
25526
|
amount = _ref.amount,
|
|
24574
|
-
themeValues = _ref.themeValues
|
|
25527
|
+
themeValues = _ref.themeValues,
|
|
25528
|
+
_ref$displayQuantity = _ref.displayQuantity,
|
|
25529
|
+
displayQuantity = _ref$displayQuantity === void 0 ? null : _ref$displayQuantity;
|
|
24575
25530
|
return /*#__PURE__*/React.createElement(Cluster, {
|
|
24576
25531
|
nowrap: true,
|
|
24577
25532
|
justify: "space-between",
|
|
@@ -24584,17 +25539,20 @@ var LineItem = function LineItem(_ref) {
|
|
|
24584
25539
|
}, description), /*#__PURE__*/React.createElement(Paragraph$1, {
|
|
24585
25540
|
variant: themeValues.paragraphVariant,
|
|
24586
25541
|
weight: "400"
|
|
24587
|
-
}, subDescription)), /*#__PURE__*/React.createElement(Paragraph$1, {
|
|
25542
|
+
}, subDescription)), !!displayQuantity && /*#__PURE__*/React.createElement(Paragraph$1, {
|
|
25543
|
+
variant: themeValues.paragraphVariant,
|
|
25544
|
+
weight: themeValues.weightTitle
|
|
25545
|
+
}, "x".concat(displayQuantity)), /*#__PURE__*/React.createElement(Paragraph$1, {
|
|
24588
25546
|
variant: themeValues.paragraphVariant,
|
|
24589
25547
|
weight: "600",
|
|
24590
25548
|
extraStyles: "margin: 0; text-align: end; min-width: fit-content; padding-left: 32px;"
|
|
24591
25549
|
}, amount));
|
|
24592
25550
|
};
|
|
24593
25551
|
|
|
24594
|
-
var LineItem$1 = themeComponent(LineItem, "LineItem", fallbackValues$
|
|
25552
|
+
var LineItem$1 = themeComponent(LineItem, "LineItem", fallbackValues$p, "default");
|
|
24595
25553
|
|
|
24596
25554
|
var color$8 = "#15749D";
|
|
24597
|
-
var fallbackValues$
|
|
25555
|
+
var fallbackValues$q = {
|
|
24598
25556
|
color: color$8
|
|
24599
25557
|
};
|
|
24600
25558
|
|
|
@@ -24633,7 +25591,7 @@ var Spinner$1 = function Spinner(_ref4) {
|
|
|
24633
25591
|
})));
|
|
24634
25592
|
};
|
|
24635
25593
|
|
|
24636
|
-
var Spinner$2 = themeComponent(Spinner$1, "Spinner", fallbackValues$
|
|
25594
|
+
var Spinner$2 = themeComponent(Spinner$1, "Spinner", fallbackValues$q);
|
|
24637
25595
|
|
|
24638
25596
|
var Loading = function Loading() {
|
|
24639
25597
|
return /*#__PURE__*/React.createElement(Box, {
|
|
@@ -24899,7 +25857,7 @@ var height$1 = {
|
|
|
24899
25857
|
"default": "3rem",
|
|
24900
25858
|
large: "192px"
|
|
24901
25859
|
};
|
|
24902
|
-
var fallbackValues$
|
|
25860
|
+
var fallbackValues$r = {
|
|
24903
25861
|
color: color$9,
|
|
24904
25862
|
height: height$1
|
|
24905
25863
|
};
|
|
@@ -25008,12 +25966,12 @@ var Placeholder = function Placeholder(_ref2) {
|
|
|
25008
25966
|
}, text)))))))))));
|
|
25009
25967
|
};
|
|
25010
25968
|
|
|
25011
|
-
var Placeholder$1 = themeComponent(Placeholder, "Placeholder", fallbackValues$
|
|
25969
|
+
var Placeholder$1 = themeComponent(Placeholder, "Placeholder", fallbackValues$r, "default");
|
|
25012
25970
|
|
|
25013
25971
|
var backgroundColor$4 = {
|
|
25014
25972
|
"default": "".concat(WHITE)
|
|
25015
25973
|
};
|
|
25016
|
-
var fallbackValues$
|
|
25974
|
+
var fallbackValues$s = {
|
|
25017
25975
|
backgroundColor: backgroundColor$4
|
|
25018
25976
|
};
|
|
25019
25977
|
|
|
@@ -25041,7 +25999,7 @@ var ProcessingFee = function ProcessingFee(_ref) {
|
|
|
25041
25999
|
}));
|
|
25042
26000
|
};
|
|
25043
26001
|
|
|
25044
|
-
var ProcessingFee$1 = themeComponent(ProcessingFee, "ProcessingFee", fallbackValues$
|
|
26002
|
+
var ProcessingFee$1 = themeComponent(ProcessingFee, "ProcessingFee", fallbackValues$s, "default");
|
|
25045
26003
|
|
|
25046
26004
|
|
|
25047
26005
|
|
|
@@ -25103,7 +26061,7 @@ var RadioButtonWithLabel = function RadioButtonWithLabel(_ref) {
|
|
|
25103
26061
|
|
|
25104
26062
|
var activeColor$5 = "".concat(MATISSE_BLUE);
|
|
25105
26063
|
var inactiveColor = "".concat(GREY_CHATEAU);
|
|
25106
|
-
var fallbackValues$
|
|
26064
|
+
var fallbackValues$t = {
|
|
25107
26065
|
activeColor: activeColor$5,
|
|
25108
26066
|
inactiveColor: inactiveColor
|
|
25109
26067
|
};
|
|
@@ -25125,6 +26083,8 @@ var RadioButton$1 = function RadioButton(_ref2) {
|
|
|
25125
26083
|
name = _ref2.name,
|
|
25126
26084
|
_ref2$disabled = _ref2.disabled,
|
|
25127
26085
|
disabled = _ref2$disabled === void 0 ? false : _ref2$disabled,
|
|
26086
|
+
_ref2$ariaDescribedBy = _ref2.ariaDescribedBy,
|
|
26087
|
+
ariaDescribedBy = _ref2$ariaDescribedBy === void 0 ? "" : _ref2$ariaDescribedBy,
|
|
25128
26088
|
themeValues = _ref2.themeValues;
|
|
25129
26089
|
var buttonBorder = {
|
|
25130
26090
|
onFocused: {
|
|
@@ -25176,6 +26136,7 @@ var RadioButton$1 = function RadioButton(_ref2) {
|
|
|
25176
26136
|
"aria-label": name,
|
|
25177
26137
|
disabled: disabled,
|
|
25178
26138
|
onClick: toggleRadio,
|
|
26139
|
+
"aria-describedby": ariaDescribedBy,
|
|
25179
26140
|
tabIndex: "-1"
|
|
25180
26141
|
}), /*#__PURE__*/React.createElement(Motion, {
|
|
25181
26142
|
borderWidth: "1px",
|
|
@@ -25193,12 +26154,12 @@ var RadioButton$1 = function RadioButton(_ref2) {
|
|
|
25193
26154
|
})));
|
|
25194
26155
|
};
|
|
25195
26156
|
|
|
25196
|
-
var RadioButton$2 = themeComponent(RadioButton$1, "RadioButton", fallbackValues$
|
|
26157
|
+
var RadioButton$2 = themeComponent(RadioButton$1, "RadioButton", fallbackValues$t);
|
|
25197
26158
|
|
|
25198
26159
|
var border$2 = {
|
|
25199
26160
|
"default": "1px solid #caced8"
|
|
25200
26161
|
};
|
|
25201
|
-
var fallbackValues$
|
|
26162
|
+
var fallbackValues$u = {
|
|
25202
26163
|
border: border$2
|
|
25203
26164
|
};
|
|
25204
26165
|
|
|
@@ -25213,7 +26174,9 @@ var SearchableSelect = function SearchableSelect(_ref) {
|
|
|
25213
26174
|
fields = _ref.fields,
|
|
25214
26175
|
actions = _ref.actions,
|
|
25215
26176
|
disabled = _ref.disabled,
|
|
25216
|
-
themeValues = _ref.themeValues
|
|
26177
|
+
themeValues = _ref.themeValues,
|
|
26178
|
+
_ref$placeholder = _ref.placeholder,
|
|
26179
|
+
placeholder = _ref$placeholder === void 0 ? "Search agencies" : _ref$placeholder;
|
|
25217
26180
|
|
|
25218
26181
|
var _useState = useState([]),
|
|
25219
26182
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -25244,15 +26207,15 @@ var SearchableSelect = function SearchableSelect(_ref) {
|
|
|
25244
26207
|
padding: "1rem",
|
|
25245
26208
|
border: themeValues.border,
|
|
25246
26209
|
extraStyles: disabled && "color: #6e727e; background-color: #f7f7f7; pointer-events: none;"
|
|
25247
|
-
}, /*#__PURE__*/React.createElement(
|
|
26210
|
+
}, /*#__PURE__*/React.createElement(FormInput$1, {
|
|
25248
26211
|
errorMessages: {},
|
|
25249
26212
|
field: fields.searchTerm,
|
|
25250
26213
|
fieldActions: actions.fields.searchTerm,
|
|
25251
|
-
placeholder:
|
|
26214
|
+
placeholder: placeholder,
|
|
25252
26215
|
disabled: disabled
|
|
25253
26216
|
}), /*#__PURE__*/React.createElement(Box, {
|
|
25254
|
-
padding: "0.5rem
|
|
25255
|
-
extraStyles: "overflow-y: scroll; height: 250px;"
|
|
26217
|
+
padding: "0 0 0.5rem",
|
|
26218
|
+
extraStyles: "overflow-y: scroll; max-height: 250px;"
|
|
25256
26219
|
}, /*#__PURE__*/React.createElement(Stack, null, itemList.map(function (value) {
|
|
25257
26220
|
var _selectedItems$find;
|
|
25258
26221
|
|
|
@@ -25268,12 +26231,12 @@ var SearchableSelect = function SearchableSelect(_ref) {
|
|
|
25268
26231
|
},
|
|
25269
26232
|
textExtraStyles: "margin: 0;",
|
|
25270
26233
|
disabled: disabled,
|
|
25271
|
-
extraStyles: "margin: 0
|
|
26234
|
+
extraStyles: "margin: 0.5rem;"
|
|
25272
26235
|
});
|
|
25273
|
-
}))))
|
|
26236
|
+
}))));
|
|
25274
26237
|
};
|
|
25275
26238
|
|
|
25276
|
-
var SearchableSelect$1 = themeComponent(SearchableSelect, "SearchableSelect", fallbackValues$
|
|
26239
|
+
var SearchableSelect$1 = themeComponent(SearchableSelect, "SearchableSelect", fallbackValues$u, "default");
|
|
25277
26240
|
|
|
25278
26241
|
var borderColor$2 = {
|
|
25279
26242
|
"default": "".concat(GREY_CHATEAU)
|
|
@@ -25281,7 +26244,7 @@ var borderColor$2 = {
|
|
|
25281
26244
|
var borderSize = {
|
|
25282
26245
|
"default": "1px"
|
|
25283
26246
|
};
|
|
25284
|
-
var fallbackValues$
|
|
26247
|
+
var fallbackValues$v = {
|
|
25285
26248
|
borderColor: borderColor$2,
|
|
25286
26249
|
borderSize: borderSize
|
|
25287
26250
|
};
|
|
@@ -25298,7 +26261,7 @@ var SolidDivider = function SolidDivider(_ref) {
|
|
|
25298
26261
|
});
|
|
25299
26262
|
};
|
|
25300
26263
|
|
|
25301
|
-
var SolidDivider$1 = themeComponent(SolidDivider, "SolidDivider", fallbackValues$
|
|
26264
|
+
var SolidDivider$1 = themeComponent(SolidDivider, "SolidDivider", fallbackValues$v, "default");
|
|
25302
26265
|
|
|
25303
26266
|
var placeHolderOptionUS = {
|
|
25304
26267
|
text: "Please select state",
|
|
@@ -35882,7 +36845,7 @@ var offBackground = "".concat(REGENT_GREY);
|
|
|
35882
36845
|
var labelStyles = "\n display: flex;\n justify-content: flex-start;\n align-items: center;\n";
|
|
35883
36846
|
var rightLabelStyles = "\n ".concat(labelStyles, "\n flex-direction: row;\n");
|
|
35884
36847
|
var leftLabelStyles = "\n ".concat(labelStyles, "\n flex-direction: row-reverse;\n");
|
|
35885
|
-
var fallbackValues$
|
|
36848
|
+
var fallbackValues$w = {
|
|
35886
36849
|
onBackground: onBackground,
|
|
35887
36850
|
disabledBackground: disabledBackground,
|
|
35888
36851
|
white: white,
|
|
@@ -36058,7 +37021,7 @@ var ToggleSwitch = function ToggleSwitch(_ref6) {
|
|
|
36058
37021
|
}, label))));
|
|
36059
37022
|
};
|
|
36060
37023
|
|
|
36061
|
-
var ToggleSwitch$1 = themeComponent(ToggleSwitch, "ToggleSwitch", fallbackValues$
|
|
37024
|
+
var ToggleSwitch$1 = themeComponent(ToggleSwitch, "ToggleSwitch", fallbackValues$w);
|
|
36062
37025
|
|
|
36063
37026
|
var background$1 = "".concat(ATHENS_GREY);
|
|
36064
37027
|
var white$1 = "".concat(WHITE);
|
|
@@ -36107,7 +37070,7 @@ var backgroundColor$5 = WHITE;
|
|
|
36107
37070
|
var imageBackgroundColor = INFO_BLUE;
|
|
36108
37071
|
var headerBackgroundColor = STORM_GREY;
|
|
36109
37072
|
var headerColor = WHITE;
|
|
36110
|
-
var fallbackValues$
|
|
37073
|
+
var fallbackValues$x = {
|
|
36111
37074
|
backgroundColor: backgroundColor$5,
|
|
36112
37075
|
imageBackgroundColor: imageBackgroundColor,
|
|
36113
37076
|
headerBackgroundColor: headerBackgroundColor,
|
|
@@ -36130,11 +37093,11 @@ var CardImage = styled.img.withConfig({
|
|
|
36130
37093
|
|
|
36131
37094
|
var titleColor = BRIGHT_GREY;
|
|
36132
37095
|
var titleWeight = FONT_WEIGHT_BOLD;
|
|
36133
|
-
var textColor$
|
|
36134
|
-
var fallbackValues$
|
|
37096
|
+
var textColor$3 = BRIGHT_GREY;
|
|
37097
|
+
var fallbackValues$y = {
|
|
36135
37098
|
titleColor: titleColor,
|
|
36136
37099
|
titleWeight: titleWeight,
|
|
36137
|
-
textColor: textColor$
|
|
37100
|
+
textColor: textColor$3
|
|
36138
37101
|
};
|
|
36139
37102
|
|
|
36140
37103
|
var CardText = function CardText(_ref) {
|
|
@@ -36155,7 +37118,7 @@ var CardText = function CardText(_ref) {
|
|
|
36155
37118
|
color: themeValues.textColor
|
|
36156
37119
|
}, text))));
|
|
36157
37120
|
};
|
|
36158
|
-
var CardText$1 = themeComponent(withWindowSize(CardText), "CardText", fallbackValues$
|
|
37121
|
+
var CardText$1 = themeComponent(withWindowSize(CardText), "CardText", fallbackValues$y);
|
|
36159
37122
|
|
|
36160
37123
|
var CardHeader = function CardHeader(_ref) {
|
|
36161
37124
|
var backgroundColor = _ref.backgroundColor,
|
|
@@ -36252,12 +37215,12 @@ var Card = function Card(_ref) {
|
|
|
36252
37215
|
}), children)));
|
|
36253
37216
|
};
|
|
36254
37217
|
|
|
36255
|
-
var Card$1 = themeComponent(withWindowSize(Card), "Card", fallbackValues$
|
|
37218
|
+
var Card$1 = themeComponent(withWindowSize(Card), "Card", fallbackValues$x);
|
|
36256
37219
|
|
|
36257
37220
|
var fontFamily$6 = "Public Sans, sans-serif";
|
|
36258
37221
|
var activeColor$6 = MATISSE_BLUE;
|
|
36259
37222
|
var linkColor$3 = CHARADE_GREY;
|
|
36260
|
-
var fallbackValues$
|
|
37223
|
+
var fallbackValues$z = {
|
|
36261
37224
|
fontFamily: fontFamily$6,
|
|
36262
37225
|
activeColor: activeColor$6,
|
|
36263
37226
|
linkColor: linkColor$3
|
|
@@ -36290,7 +37253,7 @@ var NavTab = function NavTab(_ref) {
|
|
|
36290
37253
|
}, label));
|
|
36291
37254
|
};
|
|
36292
37255
|
|
|
36293
|
-
var NavTab$1 = themeComponent(NavTab, "NavTab", fallbackValues$
|
|
37256
|
+
var NavTab$1 = themeComponent(NavTab, "NavTab", fallbackValues$z);
|
|
36294
37257
|
|
|
36295
37258
|
var NavTabs = function NavTabs(_ref) {
|
|
36296
37259
|
var tabsConfig = _ref.tabsConfig,
|
|
@@ -36345,6 +37308,142 @@ var LoadingLine = function LoadingLine(_ref) {
|
|
|
36345
37308
|
});
|
|
36346
37309
|
};
|
|
36347
37310
|
|
|
37311
|
+
var Table_styled = styled.table.withConfig({
|
|
37312
|
+
displayName: "Tablestyled",
|
|
37313
|
+
componentId: "sc-mveye7-0"
|
|
37314
|
+
})(["width:100%;table-layout:auto;border-collapse:collapse;", ""], function (_ref) {
|
|
37315
|
+
var extraStyles = _ref.extraStyles;
|
|
37316
|
+
return extraStyles;
|
|
37317
|
+
});
|
|
37318
|
+
|
|
37319
|
+
var TableBody_styled = styled.tbody.withConfig({
|
|
37320
|
+
displayName: "TableBodystyled",
|
|
37321
|
+
componentId: "sc-wk5osr-0"
|
|
37322
|
+
})(["", ""], function (_ref) {
|
|
37323
|
+
var extraStyles = _ref.extraStyles;
|
|
37324
|
+
return extraStyles;
|
|
37325
|
+
});
|
|
37326
|
+
|
|
37327
|
+
var TableCell_styled = styled.td.withConfig({
|
|
37328
|
+
displayName: "TableCellstyled",
|
|
37329
|
+
componentId: "sc-iqndn8-0"
|
|
37330
|
+
})(["padding:", ";font-size:", " white-space:nowrap;max-width:", ";overflow:hidden;text-overflow:ellipsis;&:last-child{text-align:right;}", ";"], function (_ref) {
|
|
37331
|
+
var _ref$padding = _ref.padding,
|
|
37332
|
+
padding = _ref$padding === void 0 ? "24px" : _ref$padding;
|
|
37333
|
+
return padding;
|
|
37334
|
+
}, function (_ref2) {
|
|
37335
|
+
var _ref2$fontSize = _ref2.fontSize,
|
|
37336
|
+
fontSize = _ref2$fontSize === void 0 ? "0.875rem" : _ref2$fontSize;
|
|
37337
|
+
return fontSize;
|
|
37338
|
+
}, function (_ref3) {
|
|
37339
|
+
var _ref3$maxWidth = _ref3.maxWidth,
|
|
37340
|
+
maxWidth = _ref3$maxWidth === void 0 ? "250px" : _ref3$maxWidth;
|
|
37341
|
+
return maxWidth;
|
|
37342
|
+
}, function (_ref4) {
|
|
37343
|
+
var extraStyles = _ref4.extraStyles;
|
|
37344
|
+
return extraStyles;
|
|
37345
|
+
});
|
|
37346
|
+
|
|
37347
|
+
var backgroundColor$6 = ALABASTER_WHITE;
|
|
37348
|
+
var borderColor$3 = GREY_CHATEAU;
|
|
37349
|
+
var fallbackValues$A = {
|
|
37350
|
+
backgroundColor: backgroundColor$6,
|
|
37351
|
+
borderColor: borderColor$3
|
|
37352
|
+
};
|
|
37353
|
+
|
|
37354
|
+
var StyledTableHead = styled.thead.withConfig({
|
|
37355
|
+
displayName: "TableHeadstyled",
|
|
37356
|
+
componentId: "sc-j8e6c1-0"
|
|
37357
|
+
})(["background-color:", ";border-bottom:", ";font-size:", ";"], function (_ref) {
|
|
37358
|
+
var backgroundColor = _ref.backgroundColor;
|
|
37359
|
+
return backgroundColor;
|
|
37360
|
+
}, function (_ref2) {
|
|
37361
|
+
var borderColor = _ref2.borderColor;
|
|
37362
|
+
return "1px solid ".concat(borderColor);
|
|
37363
|
+
}, function (_ref3) {
|
|
37364
|
+
var _ref3$fontSize = _ref3.fontSize,
|
|
37365
|
+
fontSize = _ref3$fontSize === void 0 ? "0.875rem" : _ref3$fontSize;
|
|
37366
|
+
return fontSize;
|
|
37367
|
+
});
|
|
37368
|
+
|
|
37369
|
+
var borderColor$4 = GREY_CHATEAU;
|
|
37370
|
+
var hoverBackgroundColor$1 = HOVER_LIGHT_BLUE;
|
|
37371
|
+
var fallbackValues$B = {
|
|
37372
|
+
borderColor: borderColor$4,
|
|
37373
|
+
hoverBackgroundColor: hoverBackgroundColor$1
|
|
37374
|
+
};
|
|
37375
|
+
|
|
37376
|
+
var TableRowWrapper = styled.tr.withConfig({
|
|
37377
|
+
displayName: "TableRowstyled",
|
|
37378
|
+
componentId: "sc-1tc0sav-0"
|
|
37379
|
+
})(["&:not(:last-child){border-bottom:", ";}", " ", ""], function (_ref) {
|
|
37380
|
+
var borderColor = _ref.borderColor;
|
|
37381
|
+
return "1px solid ".concat(borderColor);
|
|
37382
|
+
}, function (_ref2) {
|
|
37383
|
+
var hoverCursor = _ref2.hoverCursor,
|
|
37384
|
+
hoverEffect = _ref2.hoverEffect,
|
|
37385
|
+
hoverBackgroundColor = _ref2.hoverBackgroundColor;
|
|
37386
|
+
return hoverEffect && "&:hover {\n ".concat(hoverCursor && "cursor: pointer", ";\n background-color: ").concat(hoverBackgroundColor, ";\n }");
|
|
37387
|
+
}, function (_ref3) {
|
|
37388
|
+
var extraStyles = _ref3.extraStyles;
|
|
37389
|
+
return extraStyles;
|
|
37390
|
+
});
|
|
37391
|
+
|
|
37392
|
+
var _excluded$w = ["children", "extraStyles", "hoverCursor", "hoverEffect", "onClick", "themeValues"];
|
|
37393
|
+
|
|
37394
|
+
var TableRow = function TableRow(_ref) {
|
|
37395
|
+
var children = _ref.children,
|
|
37396
|
+
extraStyles = _ref.extraStyles,
|
|
37397
|
+
_ref$hoverCursor = _ref.hoverCursor,
|
|
37398
|
+
_ref$hoverEffect = _ref.hoverEffect,
|
|
37399
|
+
hoverEffect = _ref$hoverEffect === void 0 ? true : _ref$hoverEffect,
|
|
37400
|
+
onClick = _ref.onClick,
|
|
37401
|
+
themeValues = _ref.themeValues,
|
|
37402
|
+
props = _objectWithoutProperties(_ref, _excluded$w);
|
|
37403
|
+
|
|
37404
|
+
return /*#__PURE__*/React.createElement(TableRowWrapper, _extends({
|
|
37405
|
+
onClick: onClick,
|
|
37406
|
+
hoverEffect: hoverEffect,
|
|
37407
|
+
extraStyles: extraStyles,
|
|
37408
|
+
borderColor: themeValues.borderColor,
|
|
37409
|
+
hoverBackgroundColor: themeValues.hoverBackgroundColor
|
|
37410
|
+
}, props), children);
|
|
37411
|
+
};
|
|
37412
|
+
|
|
37413
|
+
var TableRow$1 = themeComponent(TableRow, "TableRow", fallbackValues$B);
|
|
37414
|
+
|
|
37415
|
+
var TableHead = function TableHead(_ref) {
|
|
37416
|
+
var children = _ref.children,
|
|
37417
|
+
_ref$extraStyles = _ref.extraStyles,
|
|
37418
|
+
extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
|
|
37419
|
+
themeValues = _ref.themeValues;
|
|
37420
|
+
return /*#__PURE__*/React.createElement(StyledTableHead, {
|
|
37421
|
+
backgroundColor: themeValues.backgroundColor,
|
|
37422
|
+
borderColor: themeValues.borderColor
|
|
37423
|
+
}, /*#__PURE__*/React.createElement(TableRow$1, {
|
|
37424
|
+
extraStyles: extraStyles,
|
|
37425
|
+
hoverEffect: false
|
|
37426
|
+
}, children));
|
|
37427
|
+
};
|
|
37428
|
+
|
|
37429
|
+
var TableHead$1 = themeComponent(TableHead, "TableHead", fallbackValues$A);
|
|
37430
|
+
|
|
37431
|
+
var TableHeading_styled = styled.th.withConfig({
|
|
37432
|
+
displayName: "TableHeadingstyled",
|
|
37433
|
+
componentId: "sc-1ggk38d-0"
|
|
37434
|
+
})(["padding:", ";min-width:", ";text-align:left;&:last-child{text-align:right;}", ""], function (_ref) {
|
|
37435
|
+
var _ref$padding = _ref.padding,
|
|
37436
|
+
padding = _ref$padding === void 0 ? "24px" : _ref$padding;
|
|
37437
|
+
return padding;
|
|
37438
|
+
}, function (_ref2) {
|
|
37439
|
+
var _ref2$minWidth = _ref2.minWidth,
|
|
37440
|
+
minWidth = _ref2$minWidth === void 0 ? "initial" : _ref2$minWidth;
|
|
37441
|
+
return minWidth;
|
|
37442
|
+
}, function (_ref3) {
|
|
37443
|
+
var extraStyles = _ref3.extraStyles;
|
|
37444
|
+
return extraStyles;
|
|
37445
|
+
});
|
|
37446
|
+
|
|
36348
37447
|
const validatorToPredicate = (validatorFn, emptyCase) => (
|
|
36349
37448
|
value,
|
|
36350
37449
|
...rest
|
|
@@ -38247,9 +39346,9 @@ AddressForm.reducer = reducer;
|
|
|
38247
39346
|
AddressForm.mapStateToProps = mapStateToProps$1;
|
|
38248
39347
|
AddressForm.mapDispatchToProps = mapDispatchToProps;
|
|
38249
39348
|
|
|
38250
|
-
var backgroundColor$
|
|
38251
|
-
var fallbackValues$
|
|
38252
|
-
backgroundColor: backgroundColor$
|
|
39349
|
+
var backgroundColor$7 = "#ebeffb";
|
|
39350
|
+
var fallbackValues$C = {
|
|
39351
|
+
backgroundColor: backgroundColor$7
|
|
38253
39352
|
};
|
|
38254
39353
|
|
|
38255
39354
|
var Banner = function Banner(_ref) {
|
|
@@ -38300,7 +39399,7 @@ var Banner = function Banner(_ref) {
|
|
|
38300
39399
|
}, /*#__PURE__*/React.createElement(Image, null))));
|
|
38301
39400
|
};
|
|
38302
39401
|
|
|
38303
|
-
var Banner$1 = themeComponent(Banner, "Banner", fallbackValues$
|
|
39402
|
+
var Banner$1 = themeComponent(Banner, "Banner", fallbackValues$C);
|
|
38304
39403
|
|
|
38305
39404
|
var ChangePasswordForm = function ChangePasswordForm(_ref) {
|
|
38306
39405
|
var _newPasswordErrorMess;
|
|
@@ -38442,7 +39541,7 @@ ChangePasswordForm.mapDispatchToProps = mapDispatchToProps$1;
|
|
|
38442
39541
|
var titleColor$1 = "#292A33";
|
|
38443
39542
|
var headingBackgroundColor = "transparent";
|
|
38444
39543
|
var bodyBackgroundColor = "transparent";
|
|
38445
|
-
var fallbackValues$
|
|
39544
|
+
var fallbackValues$D = {
|
|
38446
39545
|
titleColor: titleColor$1,
|
|
38447
39546
|
headingBackgroundColor: headingBackgroundColor,
|
|
38448
39547
|
bodyBackgroundColor: bodyBackgroundColor
|
|
@@ -38569,7 +39668,7 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
|
38569
39668
|
}, children))));
|
|
38570
39669
|
};
|
|
38571
39670
|
|
|
38572
|
-
var CollapsibleSection$1 = themeComponent(CollapsibleSection, "CollapsibleSection", fallbackValues$
|
|
39671
|
+
var CollapsibleSection$1 = themeComponent(CollapsibleSection, "CollapsibleSection", fallbackValues$D);
|
|
38573
39672
|
|
|
38574
39673
|
var ClipboardIcon = function ClipboardIcon(_ref) {
|
|
38575
39674
|
var themeValues = _ref.themeValues;
|
|
@@ -38830,8 +39929,8 @@ var EditableListItemControls = styled.div.withConfig({
|
|
|
38830
39929
|
componentId: "sc-10ehkz7-1"
|
|
38831
39930
|
})(["display:flex;justify-content:space-evenly;align-items:center;"]);
|
|
38832
39931
|
|
|
38833
|
-
var ACTIVE
|
|
38834
|
-
var EXPIRED
|
|
39932
|
+
var ACTIVE = "ACTIVE";
|
|
39933
|
+
var EXPIRED = "EXPIRED";
|
|
38835
39934
|
|
|
38836
39935
|
var EditableList = function EditableList(_ref) {
|
|
38837
39936
|
var _ref$title = _ref.title,
|
|
@@ -38860,13 +39959,16 @@ var EditableList = function EditableList(_ref) {
|
|
|
38860
39959
|
autoPayMethods = _ref.autoPayMethods,
|
|
38861
39960
|
_ref$as = _ref.as,
|
|
38862
39961
|
as = _ref$as === void 0 ? "p" : _ref$as,
|
|
39962
|
+
_ref$listPadding = _ref.listPadding,
|
|
39963
|
+
listPadding = _ref$listPadding === void 0 ? "0rem 0rem 1.5rem 0rem" : _ref$listPadding,
|
|
38863
39964
|
qaPrefix = _ref.qaPrefix,
|
|
38864
39965
|
ariaLabel = _ref.ariaLabel;
|
|
38865
39966
|
var addText = "Add a".concat(itemName[0].match(/[aieouAIEOU]/) ? "n" : "", " ").concat(itemName);
|
|
38866
39967
|
return /*#__PURE__*/React.createElement(Box, {
|
|
38867
|
-
padding:
|
|
39968
|
+
padding: listPadding,
|
|
38868
39969
|
as: "section",
|
|
38869
|
-
"aria-labelledby": "
|
|
39970
|
+
"aria-labelledby": typeof title === "string" ? "editable-list-".concat(createIdFromString(title)) : "",
|
|
39971
|
+
"aria-label": !title && typeof itemName === "string" ? "editable-list-".concat(createIdFromString(itemName)) : ""
|
|
38870
39972
|
}, /*#__PURE__*/React.createElement(Stack, {
|
|
38871
39973
|
childGap: "0rem"
|
|
38872
39974
|
}, title !== "" && /*#__PURE__*/React.createElement(Box, {
|
|
@@ -38875,7 +39977,8 @@ var EditableList = function EditableList(_ref) {
|
|
|
38875
39977
|
as: as,
|
|
38876
39978
|
weight: titleWeight,
|
|
38877
39979
|
color: CHARADE_GREY,
|
|
38878
|
-
extraStyles: "letter-spacing: 0.29px; font-size: 1.125rem;"
|
|
39980
|
+
extraStyles: "letter-spacing: 0.29px; font-size: 1.125rem;",
|
|
39981
|
+
id: typeof title === "string" ? "editable-list-".concat(createIdFromString(title)) : ""
|
|
38879
39982
|
}, title)), /*#__PURE__*/React.createElement(Box, {
|
|
38880
39983
|
padding: "0",
|
|
38881
39984
|
borderRadius: "4px",
|
|
@@ -38888,13 +39991,13 @@ var EditableList = function EditableList(_ref) {
|
|
|
38888
39991
|
modalOpen = _useState2[0],
|
|
38889
39992
|
toggleModal = _useState2[1];
|
|
38890
39993
|
|
|
38891
|
-
var expiredItem = (_item$expirationStatu = item === null || item === void 0 ? void 0 : item.expirationStatus) !== null && _item$expirationStatu !== void 0 ? _item$expirationStatu : ACTIVE
|
|
39994
|
+
var expiredItem = (_item$expirationStatu = item === null || item === void 0 ? void 0 : item.expirationStatus) !== null && _item$expirationStatu !== void 0 ? _item$expirationStatu : ACTIVE;
|
|
38892
39995
|
return /*#__PURE__*/React.createElement(EditableListItem, {
|
|
38893
39996
|
listItemSize: !!item.id && autoPayMethods !== null && autoPayMethods !== void 0 && autoPayMethods.some(function (methodID) {
|
|
38894
39997
|
return methodID === item.id;
|
|
38895
39998
|
}) ? "big" : listItemSize,
|
|
38896
39999
|
key: item.id || item,
|
|
38897
|
-
disabled: expiredItem === EXPIRED
|
|
40000
|
+
disabled: expiredItem === EXPIRED
|
|
38898
40001
|
}, /*#__PURE__*/React.createElement(Text$1, {
|
|
38899
40002
|
variant: "p",
|
|
38900
40003
|
color: CHARADE_GREY
|
|
@@ -39155,7 +40258,7 @@ EmailForm.mapDispatchToProps = mapDispatchToProps$3;
|
|
|
39155
40258
|
|
|
39156
40259
|
var footerBackgroundColor = BRIGHT_GREY;
|
|
39157
40260
|
var subfooterBackgroundColor = STORM_GREY;
|
|
39158
|
-
var fallbackValues$
|
|
40261
|
+
var fallbackValues$E = {
|
|
39159
40262
|
footerBackgroundColor: footerBackgroundColor,
|
|
39160
40263
|
subfooterBackgroundColor: subfooterBackgroundColor
|
|
39161
40264
|
};
|
|
@@ -39187,7 +40290,7 @@ var FooterWithSubfooter = function FooterWithSubfooter(_ref) {
|
|
|
39187
40290
|
}));
|
|
39188
40291
|
};
|
|
39189
40292
|
|
|
39190
|
-
var FooterWithSubfooter$1 = themeComponent(FooterWithSubfooter, "FooterWithSubfooter", fallbackValues$
|
|
40293
|
+
var FooterWithSubfooter$1 = themeComponent(FooterWithSubfooter, "FooterWithSubfooter", fallbackValues$E);
|
|
39191
40294
|
|
|
39192
40295
|
var ForgotPasswordForm = function ForgotPasswordForm(_ref) {
|
|
39193
40296
|
var _EmailErrorMessages;
|
|
@@ -39237,11 +40340,11 @@ ForgotPasswordForm.reducer = reducer$4;
|
|
|
39237
40340
|
ForgotPasswordForm.mapStateToProps = mapStateToProps$5;
|
|
39238
40341
|
ForgotPasswordForm.mapDispatchToProps = mapDispatchToProps$4;
|
|
39239
40342
|
|
|
39240
|
-
var textColor$
|
|
39241
|
-
var backgroundColor$
|
|
39242
|
-
var fallbackValues$
|
|
39243
|
-
textColor: textColor$
|
|
39244
|
-
backgroundColor: backgroundColor$
|
|
40343
|
+
var textColor$4 = "#ffffff";
|
|
40344
|
+
var backgroundColor$8 = "#182848";
|
|
40345
|
+
var fallbackValues$F = {
|
|
40346
|
+
textColor: textColor$4,
|
|
40347
|
+
backgroundColor: backgroundColor$8
|
|
39245
40348
|
};
|
|
39246
40349
|
|
|
39247
40350
|
var HighlightTabRow = function HighlightTabRow(_ref) {
|
|
@@ -39271,13 +40374,15 @@ var HighlightTabRow = function HighlightTabRow(_ref) {
|
|
|
39271
40374
|
maxWidth: "76.5rem"
|
|
39272
40375
|
}, /*#__PURE__*/React.createElement(Reel, {
|
|
39273
40376
|
padding: "0",
|
|
39274
|
-
childGap: "
|
|
40377
|
+
childGap: "0",
|
|
39275
40378
|
childWidth: "11rem",
|
|
39276
40379
|
justifyContent: "space-evenly",
|
|
39277
40380
|
disableScroll: true,
|
|
39278
40381
|
useOrderedList: useOrderedList,
|
|
39279
40382
|
useUnorderedList: useUnorderedList
|
|
39280
40383
|
}, repeat( /*#__PURE__*/React.createElement(Box, null), boxesBefore), tabs.map(function (t, i) {
|
|
40384
|
+
var _t$toLowerCase;
|
|
40385
|
+
|
|
39281
40386
|
return /*#__PURE__*/React.createElement(Box, {
|
|
39282
40387
|
key: t,
|
|
39283
40388
|
borderSize: "3px",
|
|
@@ -39285,7 +40390,8 @@ var HighlightTabRow = function HighlightTabRow(_ref) {
|
|
|
39285
40390
|
borderWidthOverride: "0 0 3px 0",
|
|
39286
40391
|
extraStyles: "text-align: center; display: block;",
|
|
39287
40392
|
as: "li",
|
|
39288
|
-
"aria-current": highlightIndex == i ? "step" : ""
|
|
40393
|
+
"aria-current": highlightIndex == i ? "step" : "",
|
|
40394
|
+
id: "".concat(t === null || t === void 0 ? void 0 : (_t$toLowerCase = t.toLowerCase()) === null || _t$toLowerCase === void 0 ? void 0 : _t$toLowerCase.replace(/\s/g, "-"), "-tab")
|
|
39289
40395
|
}, /*#__PURE__*/React.createElement(Text$1, {
|
|
39290
40396
|
variant: "p",
|
|
39291
40397
|
textAlign: "center",
|
|
@@ -39296,7 +40402,7 @@ var HighlightTabRow = function HighlightTabRow(_ref) {
|
|
|
39296
40402
|
}), repeat( /*#__PURE__*/React.createElement(Box, null), boxesAfter))));
|
|
39297
40403
|
};
|
|
39298
40404
|
|
|
39299
|
-
var HighlightTabRow$1 =
|
|
40405
|
+
var HighlightTabRow$1 = themeComponent(HighlightTabRow, "HighlightTabRow", fallbackValues$F);
|
|
39300
40406
|
|
|
39301
40407
|
var AccountBillIcon = function AccountBillIcon() {
|
|
39302
40408
|
return /*#__PURE__*/React.createElement("svg", {
|
|
@@ -44443,12 +45549,12 @@ var borderRadius = {
|
|
|
44443
45549
|
largeTitle: "0.25rem",
|
|
44444
45550
|
small: "0.25rem"
|
|
44445
45551
|
};
|
|
44446
|
-
var backgroundColor$
|
|
45552
|
+
var backgroundColor$9 = {
|
|
44447
45553
|
"default": WHITE,
|
|
44448
45554
|
largeTitle: WHITE,
|
|
44449
45555
|
small: WHITE
|
|
44450
45556
|
};
|
|
44451
|
-
var fallbackValues$
|
|
45557
|
+
var fallbackValues$G = {
|
|
44452
45558
|
fontSize: fontSize$9,
|
|
44453
45559
|
fontWeight: fontWeight$5,
|
|
44454
45560
|
fontColor: fontColor,
|
|
@@ -44458,7 +45564,7 @@ var fallbackValues$D = {
|
|
|
44458
45564
|
titleSpacing: titleSpacing,
|
|
44459
45565
|
boxShadow: boxShadow$1,
|
|
44460
45566
|
borderRadius: borderRadius,
|
|
44461
|
-
backgroundColor: backgroundColor$
|
|
45567
|
+
backgroundColor: backgroundColor$9
|
|
44462
45568
|
};
|
|
44463
45569
|
|
|
44464
45570
|
/*
|
|
@@ -44485,19 +45591,28 @@ var Module = function Module(_ref) {
|
|
|
44485
45591
|
variant = _ref$variant === void 0 ? "default" : _ref$variant,
|
|
44486
45592
|
fontSize = _ref.fontSize,
|
|
44487
45593
|
as = _ref.as,
|
|
45594
|
+
_ref$titleID = _ref.titleID,
|
|
45595
|
+
titleID = _ref$titleID === void 0 ? "" : _ref$titleID,
|
|
45596
|
+
rightTitleContent = _ref.rightTitleContent,
|
|
44488
45597
|
children = _ref.children;
|
|
44489
45598
|
var themedFontSize = variant === "small" ? "1.25rem" : variant === "default" ? "1.375rem" : "2rem";
|
|
44490
45599
|
var computedFontSize = fontSize || themedFontSize;
|
|
44491
45600
|
var themedElemType = variant === "small" ? "h6" : variant === "default" ? "h5" : "h2";
|
|
44492
45601
|
var computedElemType = as || themedElemType;
|
|
44493
|
-
|
|
45602
|
+
var headingText = /*#__PURE__*/React.createElement(Title$1, {
|
|
44494
45603
|
weight: themeValues.fontWeight,
|
|
44495
45604
|
color: themeValues.fontColor,
|
|
44496
45605
|
margin: "".concat(spacing, " 0 ").concat(themeValues.titleSpacing, " 0"),
|
|
44497
45606
|
textAlign: themeValues.textAlign,
|
|
44498
45607
|
as: computedElemType,
|
|
44499
|
-
extraStyles: "font-size: ".concat(computedFontSize, ";")
|
|
44500
|
-
|
|
45608
|
+
extraStyles: "font-size: ".concat(computedFontSize, ";"),
|
|
45609
|
+
id: titleID
|
|
45610
|
+
}, heading);
|
|
45611
|
+
return /*#__PURE__*/React.createElement(Fragment$1, null, heading && !rightTitleContent && headingText, heading && rightTitleContent && /*#__PURE__*/React.createElement(Cluster, {
|
|
45612
|
+
justify: "space-between",
|
|
45613
|
+
align: "center",
|
|
45614
|
+
nowrap: true
|
|
45615
|
+
}, headingText, rightTitleContent), /*#__PURE__*/React.createElement(Box, {
|
|
44501
45616
|
padding: "0 0 ".concat(spacingBottom)
|
|
44502
45617
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
44503
45618
|
padding: padding,
|
|
@@ -44507,9 +45622,9 @@ var Module = function Module(_ref) {
|
|
|
44507
45622
|
}, children)));
|
|
44508
45623
|
};
|
|
44509
45624
|
|
|
44510
|
-
var Module$1 = /*#__PURE__*/memo(themeComponent(Module, "Module", fallbackValues$
|
|
45625
|
+
var Module$1 = /*#__PURE__*/memo(themeComponent(Module, "Module", fallbackValues$G, "default"));
|
|
44511
45626
|
|
|
44512
|
-
var backgroundColor$
|
|
45627
|
+
var backgroundColor$a = {
|
|
44513
45628
|
profile: "#3b414d",
|
|
44514
45629
|
cms: "#3b414d"
|
|
44515
45630
|
};
|
|
@@ -44517,8 +45632,8 @@ var shadowColor = {
|
|
|
44517
45632
|
profile: "#292A33",
|
|
44518
45633
|
cms: "#292A33"
|
|
44519
45634
|
};
|
|
44520
|
-
var fallbackValues$
|
|
44521
|
-
backgroundColor: backgroundColor$
|
|
45635
|
+
var fallbackValues$H = {
|
|
45636
|
+
backgroundColor: backgroundColor$a,
|
|
44522
45637
|
shadowColor: shadowColor
|
|
44523
45638
|
};
|
|
44524
45639
|
|
|
@@ -44558,7 +45673,7 @@ var NavMenuDesktop = function NavMenuDesktop(_ref) {
|
|
|
44558
45673
|
}, menuContent));
|
|
44559
45674
|
};
|
|
44560
45675
|
|
|
44561
|
-
var NavMenuDesktop$1 = themeComponent(NavMenuDesktop, "NavMenu", fallbackValues$
|
|
45676
|
+
var NavMenuDesktop$1 = themeComponent(NavMenuDesktop, "NavMenu", fallbackValues$H, "profile");
|
|
44562
45677
|
|
|
44563
45678
|
var menu = posed.div({
|
|
44564
45679
|
invisible: {
|
|
@@ -44593,19 +45708,25 @@ var menu = posed.div({
|
|
|
44593
45708
|
var ImposterMenu = styled(menu).withConfig({
|
|
44594
45709
|
displayName: "NavMenuMobile__ImposterMenu",
|
|
44595
45710
|
componentId: "sc-1pf0qp7-0"
|
|
44596
|
-
})(["position:fixed;top:
|
|
45711
|
+
})(["position:fixed;top:", ";"], function (_ref) {
|
|
45712
|
+
var headerSize = _ref.headerSize;
|
|
45713
|
+
return headerSize;
|
|
45714
|
+
});
|
|
44597
45715
|
|
|
44598
|
-
var NavMenuMobile = function NavMenuMobile(
|
|
44599
|
-
var id =
|
|
44600
|
-
|
|
44601
|
-
menuContent =
|
|
44602
|
-
|
|
44603
|
-
visible =
|
|
44604
|
-
|
|
45716
|
+
var NavMenuMobile = function NavMenuMobile(_ref2) {
|
|
45717
|
+
var id = _ref2.id,
|
|
45718
|
+
_ref2$menuContent = _ref2.menuContent,
|
|
45719
|
+
menuContent = _ref2$menuContent === void 0 ? [] : _ref2$menuContent,
|
|
45720
|
+
_ref2$visible = _ref2.visible,
|
|
45721
|
+
visible = _ref2$visible === void 0 ? false : _ref2$visible,
|
|
45722
|
+
_ref2$headerSize = _ref2.headerSize,
|
|
45723
|
+
headerSize = _ref2$headerSize === void 0 ? "72px" : _ref2$headerSize,
|
|
45724
|
+
themeValues = _ref2.themeValues;
|
|
44605
45725
|
return /*#__PURE__*/React.createElement(ImposterMenu, {
|
|
44606
45726
|
id: id,
|
|
44607
45727
|
initialPose: "invisible",
|
|
44608
|
-
pose: visible ? "visible" : "invisible"
|
|
45728
|
+
pose: visible ? "visible" : "invisible",
|
|
45729
|
+
headerSize: headerSize
|
|
44609
45730
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
44610
45731
|
width: "100vw",
|
|
44611
45732
|
padding: "1rem 0.5rem",
|
|
@@ -44614,7 +45735,11 @@ var NavMenuMobile = function NavMenuMobile(_ref) {
|
|
|
44614
45735
|
}, menuContent));
|
|
44615
45736
|
};
|
|
44616
45737
|
|
|
44617
|
-
var NavMenuMobile$1 = themeComponent(NavMenuMobile, "NavMenu", fallbackValues$
|
|
45738
|
+
var NavMenuMobile$1 = themeComponent(NavMenuMobile, "NavMenu", fallbackValues$H, "profile");
|
|
45739
|
+
|
|
45740
|
+
var ACH_METHOD = "BANK_ACCOUNT";
|
|
45741
|
+
var CC_METHOD = "CREDIT_CARD";
|
|
45742
|
+
var CASH_METHOD = "CASH";
|
|
44618
45743
|
|
|
44619
45744
|
var IconsModule = function IconsModule(_ref) {
|
|
44620
45745
|
var icon = _ref.icon,
|
|
@@ -44671,7 +45796,7 @@ var activeColor$7 = "#0E506D";
|
|
|
44671
45796
|
var linkColor$4 = "#3176AA";
|
|
44672
45797
|
var fontWeight$6 = FONT_WEIGHT_REGULAR;
|
|
44673
45798
|
var modalLinkHoverFocus = "outline: none;\n cursor: pointer;\n text-decoration: underline;\n text-decoration-color: #317D4F;";
|
|
44674
|
-
var fallbackValues$
|
|
45799
|
+
var fallbackValues$I = {
|
|
44675
45800
|
color: color$a,
|
|
44676
45801
|
hoverColor: hoverColor$5,
|
|
44677
45802
|
activeColor: activeColor$7,
|
|
@@ -44695,13 +45820,27 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
44695
45820
|
isPaymentPlan = _ref.isPaymentPlan,
|
|
44696
45821
|
nextAutopayDate = _ref.nextAutopayDate,
|
|
44697
45822
|
dueDate = _ref.dueDate,
|
|
44698
|
-
inactive = _ref.inactive
|
|
44699
|
-
|
|
45823
|
+
inactive = _ref.inactive,
|
|
45824
|
+
description = _ref.description,
|
|
45825
|
+
subDescription = _ref.subDescription,
|
|
45826
|
+
allowedPaymentInstruments = _ref.allowedPaymentInstruments;
|
|
45827
|
+
|
|
45828
|
+
var generateMethodNeededText = function generateMethodNeededText(planText, allowedPaymentInstruments) {
|
|
45829
|
+
var allowsCard = allowedPaymentInstruments.includes(CC_METHOD);
|
|
45830
|
+
var allowsACH = allowedPaymentInstruments.includes(ACH_METHOD);
|
|
45831
|
+
var methodRequired = allowsCard && !allowsACH ? "debit or credit card payment method" : !allowsCard && allowsACH ? "checking account payment method" : "payment method";
|
|
45832
|
+
return "To setup ".concat(planText, " you must have a saved ").concat(methodRequired, " and address in your profile. Do you want to save these now?");
|
|
45833
|
+
};
|
|
45834
|
+
|
|
45835
|
+
var plan = isPaymentPlan ? "your payment plan" : "autopay";
|
|
45836
|
+
var shortPlan = isPaymentPlan ? "Payment Plan" : "Autopay";
|
|
45837
|
+
var deactivateText = "deactivate ".concat(shortPlan, " for ").concat(description, ": ").concat(subDescription);
|
|
45838
|
+
var activateText = "Set Up ".concat(shortPlan, " for ").concat(description, ": ").concat(subDescription);
|
|
44700
45839
|
var nextDate = dueDate || nextAutopayDate;
|
|
44701
45840
|
var modalExtraProps = {
|
|
44702
|
-
modalHeaderText: autoPayActive ?
|
|
44703
|
-
modalBodyText: autoPayActive ? "Are you sure you want to deactivate ".concat(
|
|
44704
|
-
continueButtonText: autoPayActive ? "Disable ".concat(
|
|
45841
|
+
modalHeaderText: autoPayActive ? titleCaseString(deactivateText) : titleCaseString(activateText),
|
|
45842
|
+
modalBodyText: autoPayActive ? "Are you sure you want to deactivate ".concat(plan, "? ").concat(!inactive && nextDate ? "Your next payment will be due on ".concat(nextDate, ".") : "") : generateMethodNeededText(plan, allowedPaymentInstruments),
|
|
45843
|
+
continueButtonText: autoPayActive ? "Disable ".concat(shortPlan) : "Add to Profile",
|
|
44705
45844
|
useDangerButton: autoPayActive,
|
|
44706
45845
|
continueAction: autoPayActive ? function () {
|
|
44707
45846
|
deactivatePaymentSchedule(isPaymentPlan ? paymentPlanSchedule : autoPaySchedule, isPaymentPlan);
|
|
@@ -44717,7 +45856,7 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
44717
45856
|
case "secondary":
|
|
44718
45857
|
{
|
|
44719
45858
|
return /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
44720
|
-
text: autoPayActive ? "Turn off ".concat(
|
|
45859
|
+
text: autoPayActive ? "Turn off ".concat(shortPlan) : "Set Up ".concat(shortPlan),
|
|
44721
45860
|
variant: "secondary",
|
|
44722
45861
|
action: function action() {
|
|
44723
45862
|
toggleModal(true);
|
|
@@ -44730,7 +45869,7 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
44730
45869
|
case "tertiary":
|
|
44731
45870
|
{
|
|
44732
45871
|
return /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
44733
|
-
text: autoPayActive ? "Manage ".concat(
|
|
45872
|
+
text: autoPayActive ? "Manage ".concat(shortPlan) : "Set Up ".concat(shortPlan),
|
|
44734
45873
|
variant: "tertiary",
|
|
44735
45874
|
action: function action() {
|
|
44736
45875
|
toggleModal(true);
|
|
@@ -44762,12 +45901,12 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
44762
45901
|
e.key === "Enter" && toggleModal(true);
|
|
44763
45902
|
},
|
|
44764
45903
|
tabIndex: "0",
|
|
44765
|
-
dataQa: "".concat(
|
|
45904
|
+
dataQa: "".concat(shortPlan, " On"),
|
|
44766
45905
|
color: SEA_GREEN,
|
|
44767
45906
|
weight: themeValues.fontWeight,
|
|
44768
45907
|
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
44769
45908
|
extraStyles: "padding-left: 0.25rem;"
|
|
44770
|
-
}, "".concat(
|
|
45909
|
+
}, "".concat(shortPlan, " ").concat(nextAutopayDate))));
|
|
44771
45910
|
}
|
|
44772
45911
|
}
|
|
44773
45912
|
};
|
|
@@ -44783,7 +45922,7 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
44783
45922
|
}, modalExtraProps), renderAutoPayControl());
|
|
44784
45923
|
};
|
|
44785
45924
|
|
|
44786
|
-
var AutopayModalModule = themeComponent(AutopayModal, "AutopayModal", fallbackValues$
|
|
45925
|
+
var AutopayModalModule = themeComponent(AutopayModal, "AutopayModal", fallbackValues$I);
|
|
44787
45926
|
|
|
44788
45927
|
var AmountModule = function AmountModule(_ref) {
|
|
44789
45928
|
var totalAmountDue = _ref.totalAmountDue,
|
|
@@ -44794,7 +45933,10 @@ var AmountModule = function AmountModule(_ref) {
|
|
|
44794
45933
|
autoPaySchedule = _ref.autoPaySchedule,
|
|
44795
45934
|
paymentPlanSchedule = _ref.paymentPlanSchedule,
|
|
44796
45935
|
isPaymentPlan = _ref.isPaymentPlan,
|
|
44797
|
-
nextAutopayDate = _ref.nextAutopayDate
|
|
45936
|
+
nextAutopayDate = _ref.nextAutopayDate,
|
|
45937
|
+
description = _ref.description,
|
|
45938
|
+
subDescription = _ref.subDescription,
|
|
45939
|
+
allowedPaymentInstruments = _ref.allowedPaymentInstruments;
|
|
44798
45940
|
|
|
44799
45941
|
var _useState = useState(false),
|
|
44800
45942
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -44823,7 +45965,10 @@ var AmountModule = function AmountModule(_ref) {
|
|
|
44823
45965
|
paymentPlanSchedule: paymentPlanSchedule,
|
|
44824
45966
|
isPaymentPlan: isPaymentPlan,
|
|
44825
45967
|
nextAutopayDate: nextAutopayDate,
|
|
44826
|
-
controlType: "link"
|
|
45968
|
+
controlType: "link",
|
|
45969
|
+
description: description,
|
|
45970
|
+
subDescription: subDescription,
|
|
45971
|
+
allowedPaymentInstruments: allowedPaymentInstruments
|
|
44827
45972
|
})));
|
|
44828
45973
|
};
|
|
44829
45974
|
|
|
@@ -44842,7 +45987,10 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
44842
45987
|
isPaymentPlan = _ref.isPaymentPlan,
|
|
44843
45988
|
nextAutopayDate = _ref.nextAutopayDate,
|
|
44844
45989
|
obligationAssocID = _ref.obligationAssocID,
|
|
44845
|
-
dueDate = _ref.dueDate
|
|
45990
|
+
dueDate = _ref.dueDate,
|
|
45991
|
+
description = _ref.description,
|
|
45992
|
+
subDescription = _ref.subDescription,
|
|
45993
|
+
allowedPaymentInstruments = _ref.allowedPaymentInstruments;
|
|
44846
45994
|
var planType = isPaymentPlan ? "Payment Plan" : "Autopay";
|
|
44847
45995
|
|
|
44848
45996
|
var _useState = useState(false),
|
|
@@ -44898,7 +46046,10 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
44898
46046
|
autoPaySchedule: autoPaySchedule,
|
|
44899
46047
|
paymentPlanSchedule: paymentPlanSchedule,
|
|
44900
46048
|
isPaymentPlan: isPaymentPlan,
|
|
44901
|
-
nextAutopayDate: nextAutopayDate
|
|
46049
|
+
nextAutopayDate: nextAutopayDate,
|
|
46050
|
+
description: description,
|
|
46051
|
+
subDescription: subDescription,
|
|
46052
|
+
allowedPaymentInstruments: allowedPaymentInstruments
|
|
44902
46053
|
}))), /*#__PURE__*/React.createElement(Box, {
|
|
44903
46054
|
padding: isMobile ? "16px" : "0"
|
|
44904
46055
|
}, /*#__PURE__*/React.createElement(Cluster, {
|
|
@@ -44938,7 +46089,10 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
44938
46089
|
paymentPlanSchedule: paymentPlanSchedule,
|
|
44939
46090
|
isPaymentPlan: isPaymentPlan,
|
|
44940
46091
|
nextAutopayDate: nextAutopayDate,
|
|
44941
|
-
dueDate: dueDate
|
|
46092
|
+
dueDate: dueDate,
|
|
46093
|
+
description: description,
|
|
46094
|
+
subDescription: subDescription,
|
|
46095
|
+
allowedPaymentInstruments: allowedPaymentInstruments
|
|
44942
46096
|
})), !isMobile && /*#__PURE__*/React.createElement(Box, {
|
|
44943
46097
|
padding: "0"
|
|
44944
46098
|
}, /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
@@ -45028,7 +46182,10 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
|
|
|
45028
46182
|
dueDate = _ref.dueDate,
|
|
45029
46183
|
agencyName = _ref.agencyName,
|
|
45030
46184
|
configType = _ref.configType,
|
|
45031
|
-
actions = _ref.actions
|
|
46185
|
+
actions = _ref.actions,
|
|
46186
|
+
description = _ref.description,
|
|
46187
|
+
subDescription = _ref.subDescription,
|
|
46188
|
+
allowedPaymentInstruments = _ref.allowedPaymentInstruments;
|
|
45032
46189
|
|
|
45033
46190
|
var _useState = useState(false),
|
|
45034
46191
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -45067,7 +46224,10 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
|
|
|
45067
46224
|
obligationAssocID: obligationAssocID,
|
|
45068
46225
|
dueDate: dueDate,
|
|
45069
46226
|
controlType: "secondary",
|
|
45070
|
-
inactive: true
|
|
46227
|
+
inactive: true,
|
|
46228
|
+
description: description,
|
|
46229
|
+
subDescription: subDescription,
|
|
46230
|
+
allowedPaymentInstruments: allowedPaymentInstruments
|
|
45071
46231
|
})), /*#__PURE__*/React.createElement(Box, {
|
|
45072
46232
|
padding: "0",
|
|
45073
46233
|
extraStyles: "flex-grow: 1;"
|
|
@@ -45109,7 +46269,7 @@ var InactiveTitleModule = function InactiveTitleModule(_ref) {
|
|
|
45109
46269
|
};
|
|
45110
46270
|
|
|
45111
46271
|
var Obligation = function Obligation(_ref) {
|
|
45112
|
-
var _firstObligation$cust
|
|
46272
|
+
var _obligations$, _firstObligation$cust;
|
|
45113
46273
|
|
|
45114
46274
|
var config = _ref.config,
|
|
45115
46275
|
obligations = _ref.obligations,
|
|
@@ -45144,7 +46304,13 @@ var Obligation = function Obligation(_ref) {
|
|
|
45144
46304
|
The top level desc/subdesc for all obligations in a collection is the same
|
|
45145
46305
|
(Collection accounts look different in the Account Details page)
|
|
45146
46306
|
*/
|
|
45147
|
-
var firstObligation = obligations[0];
|
|
46307
|
+
var firstObligation = (_obligations$ = obligations === null || obligations === void 0 ? void 0 : obligations[0]) !== null && _obligations$ !== void 0 ? _obligations$ : {};
|
|
46308
|
+
var _firstObligation$allo = firstObligation.allowedPaymentInstruments,
|
|
46309
|
+
allowedPaymentInstruments = _firstObligation$allo === void 0 ? [CASH_METHOD, CC_METHOD, ACH_METHOD] : _firstObligation$allo,
|
|
46310
|
+
_firstObligation$desc = firstObligation.description,
|
|
46311
|
+
description = _firstObligation$desc === void 0 ? "Account" : _firstObligation$desc,
|
|
46312
|
+
_firstObligation$subD = firstObligation.subDescription,
|
|
46313
|
+
subDescription = _firstObligation$subD === void 0 ? obligationAssocID : _firstObligation$subD;
|
|
45148
46314
|
var customAttributes = (_firstObligation$cust = firstObligation === null || firstObligation === void 0 ? void 0 : firstObligation.customAttributes) !== null && _firstObligation$cust !== void 0 ? _firstObligation$cust : {};
|
|
45149
46315
|
var boxShadowValue = "0px 2px 4px rgba(41, 42, 51, 0.1), 0px 1px 1px 2px rgba(41, 42, 51, 0.1);";
|
|
45150
46316
|
var activeObligation = /*#__PURE__*/React.createElement(Box, {
|
|
@@ -45152,7 +46318,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
45152
46318
|
borderRadius: "4px",
|
|
45153
46319
|
boxShadow: boxShadowValue,
|
|
45154
46320
|
as: "section",
|
|
45155
|
-
"aria-label": "".concat(
|
|
46321
|
+
"aria-label": "".concat(description, " - ").concat(subDescription),
|
|
45156
46322
|
border: "1px solid ".concat(GRECIAN_GREY),
|
|
45157
46323
|
borderWidthOverride: "1px 0 0 0"
|
|
45158
46324
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
@@ -45181,8 +46347,8 @@ var Obligation = function Obligation(_ref) {
|
|
|
45181
46347
|
iconValue: config.iconValue,
|
|
45182
46348
|
customAttributes: customAttributes
|
|
45183
46349
|
}), /*#__PURE__*/React.createElement(TitleModule, {
|
|
45184
|
-
title:
|
|
45185
|
-
subtitle:
|
|
46350
|
+
title: description,
|
|
46351
|
+
subtitle: subDescription,
|
|
45186
46352
|
titleColor: BRIGHT_GREY,
|
|
45187
46353
|
isMobile: isMobile
|
|
45188
46354
|
}))), !isMobile && /*#__PURE__*/React.createElement(AmountModule, {
|
|
@@ -45196,7 +46362,10 @@ var Obligation = function Obligation(_ref) {
|
|
|
45196
46362
|
autoPaySchedule: autoPaySchedule,
|
|
45197
46363
|
paymentPlanSchedule: paymentPlanSchedule,
|
|
45198
46364
|
isPaymentPlan: isPaymentPlan,
|
|
45199
|
-
nextAutopayDate: nextAutopayDate
|
|
46365
|
+
nextAutopayDate: nextAutopayDate,
|
|
46366
|
+
description: description,
|
|
46367
|
+
subDescription: subDescription,
|
|
46368
|
+
allowedPaymentInstruments: allowedPaymentInstruments
|
|
45200
46369
|
}))), !isMobile && /*#__PURE__*/React.createElement(PaymentDetailsActions, {
|
|
45201
46370
|
obligations: obligations,
|
|
45202
46371
|
autoPayEnabled: autoPayEnabled,
|
|
@@ -45211,7 +46380,10 @@ var Obligation = function Obligation(_ref) {
|
|
|
45211
46380
|
isMobile: isMobile,
|
|
45212
46381
|
isPaymentPlan: isPaymentPlan,
|
|
45213
46382
|
nextAutopayDate: nextAutopayDate,
|
|
45214
|
-
obligationAssocID: obligationAssocID
|
|
46383
|
+
obligationAssocID: obligationAssocID,
|
|
46384
|
+
description: description,
|
|
46385
|
+
subDescription: subDescription,
|
|
46386
|
+
allowedPaymentInstruments: allowedPaymentInstruments
|
|
45215
46387
|
}))), isMobile && /*#__PURE__*/React.createElement(PaymentDetailsActions, {
|
|
45216
46388
|
obligations: obligations,
|
|
45217
46389
|
autoPayEnabled: autoPayEnabled,
|
|
@@ -45226,7 +46398,10 @@ var Obligation = function Obligation(_ref) {
|
|
|
45226
46398
|
isMobile: isMobile,
|
|
45227
46399
|
isPaymentPlan: isPaymentPlan,
|
|
45228
46400
|
nextAutopayDate: nextAutopayDate,
|
|
45229
|
-
obligationAssocID: obligationAssocID
|
|
46401
|
+
obligationAssocID: obligationAssocID,
|
|
46402
|
+
description: description,
|
|
46403
|
+
subDescription: subDescription,
|
|
46404
|
+
allowedPaymentInstruments: allowedPaymentInstruments
|
|
45230
46405
|
}));
|
|
45231
46406
|
var inactiveObligation = /*#__PURE__*/React.createElement(Box, {
|
|
45232
46407
|
padding: "0",
|
|
@@ -45279,7 +46454,10 @@ var Obligation = function Obligation(_ref) {
|
|
|
45279
46454
|
obligationAssocID: obligationAssocID,
|
|
45280
46455
|
dueDate: dueDate,
|
|
45281
46456
|
agencyName: agencyName,
|
|
45282
|
-
configType: config.type
|
|
46457
|
+
configType: config.type,
|
|
46458
|
+
description: description,
|
|
46459
|
+
subDescription: subDescription,
|
|
46460
|
+
allowedPaymentInstruments: allowedPaymentInstruments
|
|
45283
46461
|
}))), isMobile && /*#__PURE__*/React.createElement(InactiveControlsModule, {
|
|
45284
46462
|
obligations: obligations,
|
|
45285
46463
|
autoPayEnabled: autoPayEnabled,
|
|
@@ -45293,7 +46471,10 @@ var Obligation = function Obligation(_ref) {
|
|
|
45293
46471
|
obligationAssocID: obligationAssocID,
|
|
45294
46472
|
dueDate: dueDate,
|
|
45295
46473
|
agencyName: agencyName,
|
|
45296
|
-
configType: config.type
|
|
46474
|
+
configType: config.type,
|
|
46475
|
+
description: description,
|
|
46476
|
+
subDescription: subDescription,
|
|
46477
|
+
allowedPaymentInstruments: allowedPaymentInstruments
|
|
45297
46478
|
}))));
|
|
45298
46479
|
return inactive ? inactiveObligation : activeObligation;
|
|
45299
46480
|
};
|
|
@@ -45393,24 +46574,54 @@ var createPartialAmountFormState = function createPartialAmountFormState(lineIte
|
|
|
45393
46574
|
};
|
|
45394
46575
|
};
|
|
45395
46576
|
|
|
46577
|
+
var arrowColor = WHITE;
|
|
46578
|
+
var numberColor = MATISSE_BLUE;
|
|
46579
|
+
var hoverBackgroundColor$2 = ALABASTER_WHITE;
|
|
46580
|
+
var activeBackgroundColor$1 = WHITE;
|
|
46581
|
+
var activeColor$8 = MATISSE_BLUE;
|
|
46582
|
+
var fallbackValues$J = {
|
|
46583
|
+
activeColor: activeColor$8,
|
|
46584
|
+
activeBackgroundColor: activeBackgroundColor$1,
|
|
46585
|
+
arrowColor: arrowColor,
|
|
46586
|
+
hoverBackgroundColor: hoverBackgroundColor$2,
|
|
46587
|
+
numberColor: numberColor
|
|
46588
|
+
};
|
|
46589
|
+
|
|
45396
46590
|
var PAGING_SPACE = 2; // how many pages we want to have before/after delimiter
|
|
45397
46591
|
|
|
45398
46592
|
var PAGING_INIT_SPACE = 3; // first delimiter should appear after 3 pages
|
|
45399
46593
|
|
|
45400
|
-
var
|
|
45401
|
-
var
|
|
45402
|
-
|
|
45403
|
-
|
|
45404
|
-
|
|
46594
|
+
var PrevNextPlaceholder = function PrevNextPlaceholder(_ref) {
|
|
46595
|
+
var buttonHeight = _ref.buttonHeight,
|
|
46596
|
+
buttonWidth = _ref.buttonWidth;
|
|
46597
|
+
return /*#__PURE__*/React.createElement(Box, {
|
|
46598
|
+
padding: "0",
|
|
46599
|
+
minHeight: buttonHeight,
|
|
46600
|
+
minWidth: buttonWidth,
|
|
46601
|
+
extraStyles: "max-height: ".concat(buttonHeight, ";")
|
|
46602
|
+
});
|
|
46603
|
+
};
|
|
46604
|
+
|
|
46605
|
+
var PrevNextButton = function PrevNextButton(_ref2) {
|
|
46606
|
+
var action = _ref2.action,
|
|
46607
|
+
ariaLabel = _ref2.ariaLabel,
|
|
46608
|
+
arrowColor = _ref2.arrowColor,
|
|
46609
|
+
borderRadius = _ref2.borderRadius,
|
|
46610
|
+
buttonHeight = _ref2.buttonHeight,
|
|
46611
|
+
buttonWidth = _ref2.buttonWidth,
|
|
46612
|
+
numberColor = _ref2.numberColor,
|
|
46613
|
+
type = _ref2.type;
|
|
45405
46614
|
return /*#__PURE__*/React.createElement(Box, {
|
|
45406
|
-
padding: "0
|
|
45407
|
-
minHeight:
|
|
45408
|
-
extraStyles: "max-height:
|
|
46615
|
+
padding: "0",
|
|
46616
|
+
minHeight: buttonHeight,
|
|
46617
|
+
extraStyles: "max-height: ".concat(buttonHeight, ";"),
|
|
46618
|
+
as: "li"
|
|
45409
46619
|
}, /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
45410
46620
|
action: action,
|
|
45411
46621
|
contentOverride: true,
|
|
45412
46622
|
dataQa: type,
|
|
45413
|
-
|
|
46623
|
+
"aria-label": ariaLabel,
|
|
46624
|
+
extraStyles: "\n background-color: ".concat(numberColor, ";\n border-color: ").concat(numberColor, ";\n border-radius: ").concat(borderRadius, ";\n margin: 0;\n max-height: ").concat(buttonHeight, ";\n min-height: 100%;\n min-width: ").concat(buttonWidth, ";\n padding: 0;\n ")
|
|
45414
46625
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
45415
46626
|
padding: "0",
|
|
45416
46627
|
extraStyles: type === "prev" && "transform: scaleX(-1)"
|
|
@@ -45434,26 +46645,30 @@ var getPagesPanel = function getPagesPanel(page, pagesCount) {
|
|
|
45434
46645
|
|
|
45435
46646
|
if (page > space + 1) {
|
|
45436
46647
|
pages.push({
|
|
45437
|
-
isDelimiter: true
|
|
46648
|
+
isDelimiter: true,
|
|
46649
|
+
id: "first-delimiter"
|
|
45438
46650
|
});
|
|
45439
46651
|
}
|
|
45440
46652
|
|
|
45441
46653
|
for (var j = Math.max(1, page - space) + 1; j < Math.min(lastPageNumber, page + space); j++) {
|
|
45442
46654
|
pages.push({
|
|
45443
46655
|
index: j,
|
|
45444
|
-
isButton: true
|
|
46656
|
+
isButton: true,
|
|
46657
|
+
id: "page-".concat(j)
|
|
45445
46658
|
});
|
|
45446
46659
|
}
|
|
45447
46660
|
|
|
45448
46661
|
if (page < lastPageNumber - space) {
|
|
45449
46662
|
pages.push({
|
|
45450
|
-
isDelimiter: true
|
|
46663
|
+
isDelimiter: true,
|
|
46664
|
+
id: "last-delimiter"
|
|
45451
46665
|
});
|
|
45452
46666
|
}
|
|
45453
46667
|
|
|
45454
46668
|
pages.push({
|
|
45455
46669
|
index: lastPageNumber,
|
|
45456
|
-
isButton: true
|
|
46670
|
+
isButton: true,
|
|
46671
|
+
id: "page-".concat(lastPageNumber)
|
|
45457
46672
|
});
|
|
45458
46673
|
var activePage = pages.find(function (p) {
|
|
45459
46674
|
return p.index === page;
|
|
@@ -45466,59 +46681,114 @@ var getPagesPanel = function getPagesPanel(page, pagesCount) {
|
|
|
45466
46681
|
return pages;
|
|
45467
46682
|
};
|
|
45468
46683
|
|
|
45469
|
-
var Pagination = function Pagination(
|
|
45470
|
-
var
|
|
45471
|
-
|
|
45472
|
-
|
|
45473
|
-
|
|
45474
|
-
|
|
45475
|
-
|
|
45476
|
-
|
|
46684
|
+
var Pagination = function Pagination(_ref3) {
|
|
46685
|
+
var _ref3$activeBorderWid = _ref3.activeBorderWidth,
|
|
46686
|
+
activeBorderWidth = _ref3$activeBorderWid === void 0 ? "3px" : _ref3$activeBorderWid,
|
|
46687
|
+
arrowColor = _ref3.arrowColor,
|
|
46688
|
+
_ref3$borderRadius = _ref3.borderRadius,
|
|
46689
|
+
borderRadius = _ref3$borderRadius === void 0 ? "3px" : _ref3$borderRadius,
|
|
46690
|
+
_ref3$buttonHeight = _ref3.buttonHeight,
|
|
46691
|
+
buttonHeight = _ref3$buttonHeight === void 0 ? "44px" : _ref3$buttonHeight,
|
|
46692
|
+
_ref3$buttonWidth = _ref3.buttonWidth,
|
|
46693
|
+
buttonWidth = _ref3$buttonWidth === void 0 ? "44px" : _ref3$buttonWidth,
|
|
46694
|
+
_ref3$childGap = _ref3.childGap,
|
|
46695
|
+
childGap = _ref3$childGap === void 0 ? "24px" : _ref3$childGap,
|
|
46696
|
+
currentPage = _ref3.currentPage,
|
|
46697
|
+
_ref3$fontSize = _ref3.fontSize,
|
|
46698
|
+
fontSize = _ref3$fontSize === void 0 ? "17px" : _ref3$fontSize,
|
|
46699
|
+
_ref3$fontWeight = _ref3.fontWeight,
|
|
46700
|
+
fontWeight = _ref3$fontWeight === void 0 ? "900" : _ref3$fontWeight,
|
|
46701
|
+
numberColor = _ref3.numberColor,
|
|
46702
|
+
pageCount = _ref3.pageCount,
|
|
46703
|
+
pageNext = _ref3.pageNext,
|
|
46704
|
+
pagePrevious = _ref3.pagePrevious,
|
|
46705
|
+
setCurrentPage = _ref3.setCurrentPage,
|
|
46706
|
+
ariaLabel = _ref3.ariaLabel,
|
|
46707
|
+
themeValues = _ref3.themeValues;
|
|
46708
|
+
|
|
46709
|
+
var _useContext = useContext(ThemeContext),
|
|
46710
|
+
isMobile = _useContext.isMobile;
|
|
46711
|
+
|
|
46712
|
+
var extraStyles = "\n min-width: ".concat(buttonWidth, "; min-height: 100%; padding: 0;\n border-radius: ").concat(borderRadius, ";\n &:hover, &:focus {\n text-decoration: none;\n > * > span {\n text-decoration: none;\n }\n }\n > * > span {\n color: ").concat(numberColor !== null && numberColor !== void 0 ? numberColor : themeValues.numberColor, "\n }\n margin: 0;\n &:hover {\n background-color: ").concat(themeValues.hoverBackgroundColor, "\n }\n ");
|
|
46713
|
+
var currentPageStyles = "\n border: ".concat(activeBorderWidth, " solid ").concat(numberColor !== null && numberColor !== void 0 ? numberColor : themeValues.numberColor, ";\n color: ").concat(numberColor !== null && numberColor !== void 0 ? numberColor : themeValues.activeColor, ";\n background-color: ").concat(themeValues.activeBackgroundColor, ";\n &:focus {\n box-shadow: none;\n }\n &:hover {\n background-color: initial;\n border: ").concat(activeBorderWidth, " solid ").concat(numberColor !== null && numberColor !== void 0 ? numberColor : themeValues.numberColor, ";\n background-color: ").concat(themeValues.activeBackgroundColor, ";\n }\n ");
|
|
45477
46714
|
return /*#__PURE__*/React.createElement(Cluster, {
|
|
45478
46715
|
justify: "center",
|
|
45479
|
-
childGap:
|
|
45480
|
-
|
|
45481
|
-
|
|
46716
|
+
childGap: childGap,
|
|
46717
|
+
overflow: true,
|
|
46718
|
+
as: "nav",
|
|
46719
|
+
role: "navigation",
|
|
46720
|
+
innerWrapperAs: "ul",
|
|
46721
|
+
"aria-label": ariaLabel,
|
|
46722
|
+
extraStyles: "> ul { padding: 0px; > li { list-style-type: none; } };"
|
|
46723
|
+
}, currentPage > 1 ? /*#__PURE__*/React.createElement(PrevNextButton, {
|
|
45482
46724
|
action: pagePrevious,
|
|
45483
|
-
|
|
45484
|
-
|
|
45485
|
-
|
|
46725
|
+
ariaLabel: "Previous Page",
|
|
46726
|
+
arrowColor: arrowColor !== null && arrowColor !== void 0 ? arrowColor : themeValues.arrowColor,
|
|
46727
|
+
borderRadius: borderRadius,
|
|
46728
|
+
buttonHeight: buttonHeight,
|
|
46729
|
+
buttonWidth: buttonWidth,
|
|
46730
|
+
numberColor: numberColor !== null && numberColor !== void 0 ? numberColor : themeValues.numberColor,
|
|
46731
|
+
type: "prev"
|
|
46732
|
+
}) : isMobile && /*#__PURE__*/React.createElement(PrevNextPlaceholder, {
|
|
46733
|
+
buttonHeight: buttonHeight,
|
|
46734
|
+
buttonWidth: buttonWidth
|
|
46735
|
+
}), isMobile ? pageCount > 0 && /*#__PURE__*/React.createElement(Box, {
|
|
46736
|
+
padding: "0"
|
|
46737
|
+
}, /*#__PURE__*/React.createElement(Cover, {
|
|
46738
|
+
singleChild: true
|
|
46739
|
+
}, /*#__PURE__*/React.createElement(Text$1, {
|
|
46740
|
+
variant: "pXL",
|
|
46741
|
+
weight: fontWeight,
|
|
46742
|
+
color: numberColor !== null && numberColor !== void 0 ? numberColor : themeValues.numberColor,
|
|
46743
|
+
extraStyles: "font-size: ".concat(fontSize)
|
|
46744
|
+
}, "".concat(currentPage, " of ").concat(pageCount)))) : getPagesPanel(currentPage, pageCount).map(function (item, index) {
|
|
45486
46745
|
return item.isButton ? /*#__PURE__*/React.createElement(Box, {
|
|
45487
46746
|
padding: "0",
|
|
45488
|
-
|
|
45489
|
-
|
|
45490
|
-
|
|
46747
|
+
extraStyles: "max-height: ".concat(buttonHeight, ";"),
|
|
46748
|
+
as: "li",
|
|
46749
|
+
key: item.id
|
|
45491
46750
|
}, /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
45492
46751
|
variant: "ghost",
|
|
45493
|
-
key: item.index,
|
|
45494
46752
|
text: item.index,
|
|
45495
|
-
|
|
46753
|
+
"aria-current": item.active ? "page" : undefined,
|
|
46754
|
+
"aria-label": "".concat(item.index == pageCount ? "Last Page, " : "", "page ").concat(item.index),
|
|
45496
46755
|
action: !item.active ? function () {
|
|
45497
46756
|
return setCurrentPage({
|
|
45498
46757
|
pageNumber: item.index
|
|
45499
46758
|
});
|
|
45500
46759
|
} : noop,
|
|
45501
|
-
textExtraStyles: "font-size:
|
|
45502
|
-
extraStyles: "
|
|
46760
|
+
textExtraStyles: "font-size: ".concat(fontSize, "; font-weight: ").concat(fontWeight, ";"),
|
|
46761
|
+
extraStyles: "".concat(extraStyles).concat(item.active ? currentPageStyles : ""),
|
|
45503
46762
|
dataQa: index
|
|
45504
46763
|
}, item.index)) : /*#__PURE__*/React.createElement(Box, {
|
|
45505
|
-
padding: "0 10px"
|
|
46764
|
+
padding: "0 10px",
|
|
46765
|
+
as: "li",
|
|
46766
|
+
key: item.id
|
|
45506
46767
|
}, /*#__PURE__*/React.createElement(Cluster, {
|
|
45507
46768
|
justify: "flex-end"
|
|
45508
46769
|
}, /*#__PURE__*/React.createElement(Text$1, {
|
|
45509
|
-
key: index,
|
|
45510
46770
|
variant: "pXL",
|
|
45511
|
-
weight:
|
|
45512
|
-
color: numberColor !== null && numberColor !== void 0 ? numberColor :
|
|
45513
|
-
|
|
45514
|
-
|
|
45515
|
-
|
|
46771
|
+
weight: fontWeight,
|
|
46772
|
+
color: numberColor !== null && numberColor !== void 0 ? numberColor : themeValues.numberColor,
|
|
46773
|
+
role: "presentation"
|
|
46774
|
+
}, "…")));
|
|
46775
|
+
}), currentPage < pageCount ? /*#__PURE__*/React.createElement(PrevNextButton, {
|
|
45516
46776
|
action: pageNext,
|
|
45517
|
-
|
|
45518
|
-
|
|
46777
|
+
ariaLabel: "Next Page",
|
|
46778
|
+
arrowColor: arrowColor !== null && arrowColor !== void 0 ? arrowColor : themeValues.arrowColor,
|
|
46779
|
+
borderRadius: borderRadius,
|
|
46780
|
+
buttonHeight: buttonHeight,
|
|
46781
|
+
buttonWidth: buttonWidth,
|
|
46782
|
+
numberColor: numberColor !== null && numberColor !== void 0 ? numberColor : themeValues.numberColor,
|
|
46783
|
+
type: "next"
|
|
46784
|
+
}) : isMobile && /*#__PURE__*/React.createElement(PrevNextPlaceholder, {
|
|
46785
|
+
buttonHeight: buttonHeight,
|
|
46786
|
+
buttonWidth: buttonWidth
|
|
45519
46787
|
}));
|
|
45520
46788
|
};
|
|
45521
46789
|
|
|
46790
|
+
var Pagination$1 = themeComponent(Pagination, "Pagination", fallbackValues$J);
|
|
46791
|
+
|
|
45522
46792
|
var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
45523
46793
|
var _ref$forwardButtonTex = _ref.forwardButtonText,
|
|
45524
46794
|
forwardButtonText = _ref$forwardButtonTex === void 0 ? "Next" : _ref$forwardButtonTex,
|
|
@@ -45579,7 +46849,7 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
|
45579
46849
|
}, backButton, !hideForwardButton && /*#__PURE__*/React.createElement(Fragment$1, null, forwardButton))));
|
|
45580
46850
|
};
|
|
45581
46851
|
|
|
45582
|
-
var backgroundColor$
|
|
46852
|
+
var backgroundColor$b = {
|
|
45583
46853
|
"default": "transparent",
|
|
45584
46854
|
small: "transparent"
|
|
45585
46855
|
};
|
|
@@ -45595,14 +46865,14 @@ var labeledAmountTotal = {
|
|
|
45595
46865
|
"default": "h6",
|
|
45596
46866
|
small: "p"
|
|
45597
46867
|
};
|
|
45598
|
-
var fallbackValues$
|
|
45599
|
-
backgroundColor: backgroundColor$
|
|
46868
|
+
var fallbackValues$K = {
|
|
46869
|
+
backgroundColor: backgroundColor$b,
|
|
45600
46870
|
lineItem: lineItem,
|
|
45601
46871
|
labeledAmountSubtotal: labeledAmountSubtotal,
|
|
45602
46872
|
labeledAmountTotal: labeledAmountTotal
|
|
45603
46873
|
};
|
|
45604
46874
|
|
|
45605
|
-
var _excluded$
|
|
46875
|
+
var _excluded$x = ["amount"],
|
|
45606
46876
|
_excluded2$1 = ["amount"];
|
|
45607
46877
|
|
|
45608
46878
|
var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
@@ -45747,7 +47017,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
45747
47017
|
return fee.amount > 0;
|
|
45748
47018
|
}).map(function (_ref5) {
|
|
45749
47019
|
var amount = _ref5.amount,
|
|
45750
|
-
rest = _objectWithoutProperties(_ref5, _excluded$
|
|
47020
|
+
rest = _objectWithoutProperties(_ref5, _excluded$x);
|
|
45751
47021
|
|
|
45752
47022
|
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
45753
47023
|
amount: displayCurrency(amount)
|
|
@@ -45846,7 +47116,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
45846
47116
|
});
|
|
45847
47117
|
};
|
|
45848
47118
|
|
|
45849
|
-
var PaymentDetails$1 = themeComponent(PaymentDetails, "PaymentDetails", fallbackValues$
|
|
47119
|
+
var PaymentDetails$1 = themeComponent(PaymentDetails, "PaymentDetails", fallbackValues$K, "default");
|
|
45850
47120
|
|
|
45851
47121
|
var linkColor$5 = {
|
|
45852
47122
|
"default": "#3176AA"
|
|
@@ -45863,7 +47133,7 @@ var fontWeight$7 = {
|
|
|
45863
47133
|
var modalLinkHoverFocus$1 = {
|
|
45864
47134
|
"default": "outline: none; text-decoration: underline;"
|
|
45865
47135
|
};
|
|
45866
|
-
var fallbackValues$
|
|
47136
|
+
var fallbackValues$L = {
|
|
45867
47137
|
linkColor: linkColor$5,
|
|
45868
47138
|
fontSize: fontSize$a,
|
|
45869
47139
|
lineHeight: lineHeight$4,
|
|
@@ -45922,7 +47192,324 @@ var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
|
|
|
45922
47192
|
}, link));
|
|
45923
47193
|
};
|
|
45924
47194
|
|
|
45925
|
-
var AccountAndRoutingModal$1 = themeComponent(AccountAndRoutingModal, "AccountAndRoutingModal", fallbackValues$
|
|
47195
|
+
var AccountAndRoutingModal$1 = themeComponent(AccountAndRoutingModal, "AccountAndRoutingModal", fallbackValues$L, "default");
|
|
47196
|
+
|
|
47197
|
+
var backgroundColor$c = {
|
|
47198
|
+
"default": "#ffffff",
|
|
47199
|
+
footer: "#ffffff"
|
|
47200
|
+
};
|
|
47201
|
+
var linkColor$6 = {
|
|
47202
|
+
"default": "#3176AA",
|
|
47203
|
+
footer: "#ffffff"
|
|
47204
|
+
};
|
|
47205
|
+
var border$3 = {
|
|
47206
|
+
"default": "#cdcdcd",
|
|
47207
|
+
footer: "#cdcdcd"
|
|
47208
|
+
};
|
|
47209
|
+
var fontSize$b = {
|
|
47210
|
+
"default": "1rem",
|
|
47211
|
+
footer: "0.875rem"
|
|
47212
|
+
};
|
|
47213
|
+
var lineHeight$5 = {
|
|
47214
|
+
"default": "1.5rem",
|
|
47215
|
+
footer: "1.25rem"
|
|
47216
|
+
};
|
|
47217
|
+
var fontWeight$8 = {
|
|
47218
|
+
"default": FONT_WEIGHT_REGULAR,
|
|
47219
|
+
footer: FONT_WEIGHT_SEMIBOLD
|
|
47220
|
+
};
|
|
47221
|
+
var standardInteractionStyles = "\n &:hover {\n outline: none; \n text-decoration: underline;\n }\n &:focus {\n outline: 3px solid #3181E3;\n outline-offset: 2px;\n }\n";
|
|
47222
|
+
var modalLinkHoverFocus$2 = {
|
|
47223
|
+
"default": standardInteractionStyles,
|
|
47224
|
+
footer: standardInteractionStyles
|
|
47225
|
+
};
|
|
47226
|
+
var fallbackValues$M = {
|
|
47227
|
+
backgroundColor: backgroundColor$c,
|
|
47228
|
+
linkColor: linkColor$6,
|
|
47229
|
+
border: border$3,
|
|
47230
|
+
fontSize: fontSize$b,
|
|
47231
|
+
lineHeight: lineHeight$5,
|
|
47232
|
+
fontWeight: fontWeight$8,
|
|
47233
|
+
modalLinkHoverFocus: modalLinkHoverFocus$2
|
|
47234
|
+
};
|
|
47235
|
+
|
|
47236
|
+
var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
47237
|
+
var link = _ref.link,
|
|
47238
|
+
_ref$title = _ref.title,
|
|
47239
|
+
title = _ref$title === void 0 ? "Terms & Conditions" : _ref$title,
|
|
47240
|
+
isOpen = _ref.isOpen,
|
|
47241
|
+
toggleOpen = _ref.toggleOpen,
|
|
47242
|
+
toggleAccepted = _ref.toggleAccepted,
|
|
47243
|
+
acceptText = _ref.acceptText,
|
|
47244
|
+
terms = _ref.terms,
|
|
47245
|
+
variant = _ref.variant,
|
|
47246
|
+
_ref$linkVariant = _ref.linkVariant,
|
|
47247
|
+
linkVariant = _ref$linkVariant === void 0 ? "p" : _ref$linkVariant,
|
|
47248
|
+
themeValues = _ref.themeValues;
|
|
47249
|
+
return /*#__PURE__*/React.createElement(Modal$1, {
|
|
47250
|
+
modalOpen: isOpen,
|
|
47251
|
+
hideModal: function hideModal() {
|
|
47252
|
+
return toggleOpen(false);
|
|
47253
|
+
},
|
|
47254
|
+
showModal: function showModal() {
|
|
47255
|
+
return toggleOpen(true);
|
|
47256
|
+
},
|
|
47257
|
+
modalHeaderText: title,
|
|
47258
|
+
modalBodyText: /*#__PURE__*/React.createElement(Box, {
|
|
47259
|
+
background: themeValues.backgroundColor,
|
|
47260
|
+
border: "1px solid ".concat(themeValues.border),
|
|
47261
|
+
borderRadius: "3px",
|
|
47262
|
+
extraStyles: "overflow: scroll; max-height: 20rem;",
|
|
47263
|
+
id: "terms-body-text"
|
|
47264
|
+
}, /*#__PURE__*/React.createElement(Text$1, {
|
|
47265
|
+
variant: "p",
|
|
47266
|
+
extraStyles: "& a { text-decoration: underline; }"
|
|
47267
|
+
}, terms)),
|
|
47268
|
+
defaultWrapper: false,
|
|
47269
|
+
onlyCloseButton: !acceptText,
|
|
47270
|
+
continueButtonText: acceptText,
|
|
47271
|
+
continueAction: function continueAction() {
|
|
47272
|
+
toggleAccepted(true);
|
|
47273
|
+
toggleOpen(false);
|
|
47274
|
+
}
|
|
47275
|
+
}, /*#__PURE__*/React.createElement(Text$1, {
|
|
47276
|
+
variant: linkVariant,
|
|
47277
|
+
onClick: function onClick() {
|
|
47278
|
+
return toggleOpen(true);
|
|
47279
|
+
},
|
|
47280
|
+
onKeyPress: function onKeyPress(e) {
|
|
47281
|
+
return e.key === "Enter" && toggleOpen(true);
|
|
47282
|
+
},
|
|
47283
|
+
tabIndex: "0",
|
|
47284
|
+
color: themeValues.linkColor,
|
|
47285
|
+
weight: themeValues.fontWeight,
|
|
47286
|
+
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
47287
|
+
extraStyles: "display: inline-block; width: fit-content; cursor: pointer"
|
|
47288
|
+
}, link));
|
|
47289
|
+
};
|
|
47290
|
+
|
|
47291
|
+
var TermsAndConditionsModal$1 = themeComponent(TermsAndConditionsModal, "TermsAndConditionsModal", fallbackValues$M, "default");
|
|
47292
|
+
|
|
47293
|
+
var TermsAndConditionsControlV1 = function TermsAndConditionsControlV1(_ref) {
|
|
47294
|
+
var onCheck = _ref.onCheck,
|
|
47295
|
+
isChecked = _ref.isChecked,
|
|
47296
|
+
html = _ref.html,
|
|
47297
|
+
terms = _ref.terms,
|
|
47298
|
+
_ref$error = _ref.error,
|
|
47299
|
+
error = _ref$error === void 0 ? false : _ref$error,
|
|
47300
|
+
linkVariant = _ref.linkVariant;
|
|
47301
|
+
|
|
47302
|
+
var _useState = useState(false),
|
|
47303
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
47304
|
+
showTerms = _useState2[0],
|
|
47305
|
+
toggleShowTerms = _useState2[1];
|
|
47306
|
+
|
|
47307
|
+
return /*#__PURE__*/React.createElement(DisplayBox$1, null, /*#__PURE__*/React.createElement(Stack, null, /*#__PURE__*/React.createElement(Checkbox$1, {
|
|
47308
|
+
name: "terms",
|
|
47309
|
+
title: "Terms and Conditions",
|
|
47310
|
+
error: error,
|
|
47311
|
+
checked: isChecked,
|
|
47312
|
+
onChange: onCheck
|
|
47313
|
+
}), /*#__PURE__*/React.createElement(Box, {
|
|
47314
|
+
padding: "0 0 0 58px"
|
|
47315
|
+
}, /*#__PURE__*/React.createElement(Stack, null, /*#__PURE__*/React.createElement(Box, {
|
|
47316
|
+
padding: "0"
|
|
47317
|
+
}, html), terms && /*#__PURE__*/React.createElement(TermsAndConditionsModal$1, {
|
|
47318
|
+
link: "Learn More",
|
|
47319
|
+
terms: terms,
|
|
47320
|
+
isOpen: showTerms,
|
|
47321
|
+
toggleOpen: toggleShowTerms,
|
|
47322
|
+
linkVariant: linkVariant
|
|
47323
|
+
})))));
|
|
47324
|
+
};
|
|
47325
|
+
|
|
47326
|
+
/*
|
|
47327
|
+
|
|
47328
|
+
A utility function that can generate box-shadow values for components
|
|
47329
|
+
Takes a string representing an rgb color value and returns an object
|
|
47330
|
+
with values for standard, inset, and overlay shadows.
|
|
47331
|
+
|
|
47332
|
+
The objects for standard and inset shadows contain versions approiate
|
|
47333
|
+
for base, hover, and active interaction states.
|
|
47334
|
+
|
|
47335
|
+
*/
|
|
47336
|
+
|
|
47337
|
+
/*
|
|
47338
|
+
Function to convert string representing rgb color to rgba value with provided opacity
|
|
47339
|
+
("rgb(41, 42, 51)", "0.1") => "rgba(41, 42, 51, 0.1)"
|
|
47340
|
+
|
|
47341
|
+
*/
|
|
47342
|
+
var rgbToRgba = function rgbToRgba() {
|
|
47343
|
+
var rgbValue = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "";
|
|
47344
|
+
var opacity = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "";
|
|
47345
|
+
|
|
47346
|
+
if (typeof rgbValue !== "string" || typeof opacity !== "string" || rgbValue.charAt(0) === "#") {
|
|
47347
|
+
return "";
|
|
47348
|
+
}
|
|
47349
|
+
|
|
47350
|
+
return "".concat(rgbValue.slice(0, 3), "a").concat(rgbValue.slice(3, -1), ", ").concat(opacity).concat(rgbValue.slice(-1));
|
|
47351
|
+
};
|
|
47352
|
+
|
|
47353
|
+
var generateShadows = function generateShadows(baseColorRGB) {
|
|
47354
|
+
var colorTen = rgbToRgba(baseColorRGB, "0.1") || "rgba(41, 42, 51, 0.1)";
|
|
47355
|
+
var colorTwenty = rgbToRgba(baseColorRGB, "0.2") || "rgba(41, 42, 51, 0.2)";
|
|
47356
|
+
var colorTwentyFive = rgbToRgba(baseColorRGB, "0.25") || "rgba(41, 42, 51, 0.25)";
|
|
47357
|
+
var colorThirty = rgbToRgba(baseColorRGB, "0.3") || "rgba(41, 42, 51, 0.3)";
|
|
47358
|
+
var blackTwentyFive = "rgba(0, 0, 0, 0.25)";
|
|
47359
|
+
var standard = {
|
|
47360
|
+
base: "0px 1px 2px 0px ".concat(colorTen, ", 0px 2px 6px 0px ").concat(colorTwenty, ", inset 0px 1px 0px 0px ").concat(colorTen),
|
|
47361
|
+
hover: "0px 1px 2px 0px ".concat(colorTwenty, ", 0px 4px 8px 0px ").concat(blackTwentyFive, ", 0px 6px 12px 0px ").concat(colorTen),
|
|
47362
|
+
active: "0px 2px 8px 0px ".concat(colorTwenty, ", 0px 4px 8px 0px ").concat(colorThirty, ", 0px 6px 12px 0px ").concat(colorTwentyFive)
|
|
47363
|
+
};
|
|
47364
|
+
var inset = {
|
|
47365
|
+
base: "0px 1px 2px 0px ".concat(colorTen, ", 0px 2px 4px 0px ").concat(colorTwenty, ", inset 0px 1px 0px 0px ").concat(colorTen),
|
|
47366
|
+
hover: "0px 1px 2px 0px ".concat(colorTen, ", 0px 2px 4px 0px ").concat(colorTwentyFive, ", 0px 4px 8px 0px ").concat(colorTen),
|
|
47367
|
+
active: "0px 1px 2px 2px ".concat(colorTwenty, ", 0px 3px 6px 0px ").concat(colorThirty, ", 0px 4px 8px 0px ").concat(colorTwenty)
|
|
47368
|
+
};
|
|
47369
|
+
var overlay = {
|
|
47370
|
+
base: "0px 7px 32px 0px ".concat(colorTwenty, ", 0px 1px 4px 0px ").concat(colorTwenty, ", 0px 1px 8px -1px ").concat(colorThirty)
|
|
47371
|
+
};
|
|
47372
|
+
return {
|
|
47373
|
+
standard: standard,
|
|
47374
|
+
inset: inset,
|
|
47375
|
+
overlay: overlay
|
|
47376
|
+
};
|
|
47377
|
+
};
|
|
47378
|
+
|
|
47379
|
+
/*
|
|
47380
|
+
Hook that takes an ID selector for an element on the screen
|
|
47381
|
+
And optionally values for top position, left position, smooth behavior
|
|
47382
|
+
Finds element on screen and scrolls it to the provided coordinates
|
|
47383
|
+
|
|
47384
|
+
(string, number, number, string, number) => undefined;
|
|
47385
|
+
*/
|
|
47386
|
+
var useScrollTo = function useScrollTo(id) {
|
|
47387
|
+
var top = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
47388
|
+
var left = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
|
|
47389
|
+
var behavior = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : "auto";
|
|
47390
|
+
var delay = arguments.length > 4 ? arguments[4] : undefined;
|
|
47391
|
+
var scrollItem;
|
|
47392
|
+
|
|
47393
|
+
if (delay) {
|
|
47394
|
+
setTimeout(function () {
|
|
47395
|
+
var _scrollItem;
|
|
47396
|
+
|
|
47397
|
+
scrollItem = document.getElementById(id);
|
|
47398
|
+
(_scrollItem = scrollItem) === null || _scrollItem === void 0 ? void 0 : _scrollItem.scrollTo({
|
|
47399
|
+
top: top,
|
|
47400
|
+
left: left,
|
|
47401
|
+
behavior: behavior
|
|
47402
|
+
});
|
|
47403
|
+
}, delay);
|
|
47404
|
+
} else {
|
|
47405
|
+
var _scrollItem2;
|
|
47406
|
+
|
|
47407
|
+
scrollItem = document.getElementById(id);
|
|
47408
|
+
(_scrollItem2 = scrollItem) === null || _scrollItem2 === void 0 ? void 0 : _scrollItem2.scrollTo({
|
|
47409
|
+
top: top,
|
|
47410
|
+
left: left,
|
|
47411
|
+
behavior: behavior
|
|
47412
|
+
});
|
|
47413
|
+
}
|
|
47414
|
+
};
|
|
47415
|
+
|
|
47416
|
+
var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
|
|
47417
|
+
var _ref$showCheckbox = _ref.showCheckbox,
|
|
47418
|
+
showCheckbox = _ref$showCheckbox === void 0 ? true : _ref$showCheckbox,
|
|
47419
|
+
onCheck = _ref.onCheck,
|
|
47420
|
+
isChecked = _ref.isChecked,
|
|
47421
|
+
hasError = _ref.hasError,
|
|
47422
|
+
_ref$errorMessage = _ref.errorMessage,
|
|
47423
|
+
errorMessage = _ref$errorMessage === void 0 ? "Please accept Terms and Conditions" : _ref$errorMessage,
|
|
47424
|
+
_ref$description = _ref.description,
|
|
47425
|
+
description = _ref$description === void 0 ? "" : _ref$description,
|
|
47426
|
+
_ref$linkText = _ref.linkText,
|
|
47427
|
+
linkText = _ref$linkText === void 0 ? "Terms and Conditions" : _ref$linkText,
|
|
47428
|
+
html = _ref.html,
|
|
47429
|
+
terms = _ref.terms,
|
|
47430
|
+
_ref$id = _ref.id,
|
|
47431
|
+
id = _ref$id === void 0 ? "terms-and-conditions" : _ref$id,
|
|
47432
|
+
_ref$displayInline = _ref.displayInline,
|
|
47433
|
+
displayInline = _ref$displayInline === void 0 ? true : _ref$displayInline,
|
|
47434
|
+
_ref$modalVariant = _ref.modalVariant,
|
|
47435
|
+
modalVariant = _ref$modalVariant === void 0 ? "default" : _ref$modalVariant,
|
|
47436
|
+
_ref$containerBackgro = _ref.containerBackground,
|
|
47437
|
+
containerBackground = _ref$containerBackgro === void 0 ? ATHENS_GREY : _ref$containerBackgro,
|
|
47438
|
+
_ref$checkboxMargin = _ref.checkboxMargin,
|
|
47439
|
+
checkboxMargin = _ref$checkboxMargin === void 0 ? "4px 8px 4px 4px" : _ref$checkboxMargin,
|
|
47440
|
+
_ref$modalTitle = _ref.modalTitle,
|
|
47441
|
+
modalTitle = _ref$modalTitle === void 0 ? "Terms and Conditions" : _ref$modalTitle;
|
|
47442
|
+
|
|
47443
|
+
var _useState = useState(false),
|
|
47444
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
47445
|
+
showTerms = _useState2[0],
|
|
47446
|
+
toggleShowTerms = _useState2[1];
|
|
47447
|
+
|
|
47448
|
+
var standardBoxShadow = generateShadows().standard.base;
|
|
47449
|
+
|
|
47450
|
+
var toggleTerms = function toggleTerms(termsOpen) {
|
|
47451
|
+
toggleShowTerms(termsOpen);
|
|
47452
|
+
|
|
47453
|
+
if (termsOpen) {
|
|
47454
|
+
useScrollTo("terms-body-text", 0, 0, "smooth", 100);
|
|
47455
|
+
}
|
|
47456
|
+
};
|
|
47457
|
+
|
|
47458
|
+
return /*#__PURE__*/React.createElement(Box, {
|
|
47459
|
+
padding: displayInline ? "0" : "1.5rem",
|
|
47460
|
+
minWidth: displayInline ? "0" : "100%",
|
|
47461
|
+
background: displayInline ? "transparent" : containerBackground,
|
|
47462
|
+
boxShadow: displayInline ? "none" : standardBoxShadow,
|
|
47463
|
+
borderRadius: displayInline ? "0" : "4px"
|
|
47464
|
+
}, /*#__PURE__*/React.createElement(Stack, {
|
|
47465
|
+
childGap: "0"
|
|
47466
|
+
}, html && /*#__PURE__*/React.createElement(Box, {
|
|
47467
|
+
padding: "0"
|
|
47468
|
+
}, html), /*#__PURE__*/React.createElement(Cluster, {
|
|
47469
|
+
justify: "flex-start",
|
|
47470
|
+
align: "center",
|
|
47471
|
+
nowrap: true
|
|
47472
|
+
}, showCheckbox && /*#__PURE__*/React.createElement(Checkbox$1, {
|
|
47473
|
+
name: id,
|
|
47474
|
+
error: hasError,
|
|
47475
|
+
checked: isChecked,
|
|
47476
|
+
onChange: onCheck,
|
|
47477
|
+
checkboxMargin: checkboxMargin,
|
|
47478
|
+
extraStyles: "align-self: flex-start;"
|
|
47479
|
+
}), /*#__PURE__*/React.createElement(Stack, {
|
|
47480
|
+
childGap: "0.25rem",
|
|
47481
|
+
fullHeight: true
|
|
47482
|
+
}, /*#__PURE__*/React.createElement(Cluster, {
|
|
47483
|
+
justify: "flex-start",
|
|
47484
|
+
align: "center",
|
|
47485
|
+
nowrap: true,
|
|
47486
|
+
extraStyles: "padding-right: 2px; > div > * { margin: 4px 2px; };"
|
|
47487
|
+
}, description && /*#__PURE__*/React.createElement(Text$1, {
|
|
47488
|
+
color: CHARADE_GREY
|
|
47489
|
+
}, description), terms && /*#__PURE__*/React.createElement(TermsAndConditionsModal$1, {
|
|
47490
|
+
link: linkText,
|
|
47491
|
+
terms: terms,
|
|
47492
|
+
isOpen: showTerms,
|
|
47493
|
+
toggleOpen: toggleTerms,
|
|
47494
|
+
linkVariant: modalVariant,
|
|
47495
|
+
title: modalTitle
|
|
47496
|
+
})), showCheckbox && hasError && /*#__PURE__*/React.createElement(Text$1, {
|
|
47497
|
+
variant: "pXS",
|
|
47498
|
+
color: ERROR_COLOR,
|
|
47499
|
+
id: "".concat(id, "-error-message")
|
|
47500
|
+
}, errorMessage)))));
|
|
47501
|
+
};
|
|
47502
|
+
|
|
47503
|
+
var _excluded$y = ["version"];
|
|
47504
|
+
|
|
47505
|
+
var TermsAndConditions = function TermsAndConditions(_ref) {
|
|
47506
|
+
var _ref$version = _ref.version,
|
|
47507
|
+
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
47508
|
+
rest = _objectWithoutProperties(_ref, _excluded$y);
|
|
47509
|
+
|
|
47510
|
+
var TermsAndConditionsControl = version === "v1" ? TermsAndConditionsControlV1 : TermsAndConditionsControlV2;
|
|
47511
|
+
return /*#__PURE__*/React.createElement(TermsAndConditionsControl, rest);
|
|
47512
|
+
};
|
|
45926
47513
|
|
|
45927
47514
|
var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
45928
47515
|
var _routingNumberErrors, _accountNumberErrors;
|
|
@@ -45942,7 +47529,8 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
|
45942
47529
|
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
45943
47530
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
45944
47531
|
saveToWallet = _ref.saveToWallet,
|
|
45945
|
-
walletCheckboxMarked = _ref.walletCheckboxMarked
|
|
47532
|
+
walletCheckboxMarked = _ref.walletCheckboxMarked,
|
|
47533
|
+
termsContent = _ref.termsContent;
|
|
45946
47534
|
|
|
45947
47535
|
if (clearOnDismount) {
|
|
45948
47536
|
useEffect$1(function () {
|
|
@@ -45962,6 +47550,8 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
|
45962
47550
|
showAccount = _useState4[0],
|
|
45963
47551
|
toggleShowAccount = _useState4[1];
|
|
45964
47552
|
|
|
47553
|
+
var showTerms = !!termsContent;
|
|
47554
|
+
|
|
45965
47555
|
var nameErrors = _defineProperty({}, required.error, "Name is required");
|
|
45966
47556
|
|
|
45967
47557
|
var routingNumberErrors = (_routingNumberErrors = {}, _defineProperty(_routingNumberErrors, required.error, "Routing number is required"), _defineProperty(_routingNumberErrors, hasLength.error, "Routing number must be 9 digits"), _defineProperty(_routingNumberErrors, isRoutingNumber.error, "Invalid routing number"), _routingNumberErrors);
|
|
@@ -46070,12 +47660,22 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
|
46070
47660
|
onChange: toggleCheckbox,
|
|
46071
47661
|
checked: defaultMethod.value,
|
|
46072
47662
|
hidden: hideDefaultPayment
|
|
46073
|
-
}), showWalletCheckbox && /*#__PURE__*/React.createElement(
|
|
47663
|
+
}), (showWalletCheckbox || showTerms) && /*#__PURE__*/React.createElement(Cluster, {
|
|
47664
|
+
childGap: "4px",
|
|
47665
|
+
align: "center"
|
|
47666
|
+
}, showWalletCheckbox && /*#__PURE__*/React.createElement(Checkbox$1, {
|
|
46074
47667
|
name: "bank checkbox",
|
|
46075
|
-
title: "Save checking account to wallet",
|
|
47668
|
+
title: "Save checking account to wallet.",
|
|
46076
47669
|
checked: walletCheckboxMarked,
|
|
46077
47670
|
onChange: saveToWallet
|
|
46078
|
-
})
|
|
47671
|
+
}), showTerms && /*#__PURE__*/React.createElement(Cover, {
|
|
47672
|
+
singleChild: true
|
|
47673
|
+
}, /*#__PURE__*/React.createElement(TermsAndConditions, {
|
|
47674
|
+
version: "v2",
|
|
47675
|
+
showCheckbox: false,
|
|
47676
|
+
description: "View",
|
|
47677
|
+
terms: termsContent
|
|
47678
|
+
})))));
|
|
46079
47679
|
};
|
|
46080
47680
|
|
|
46081
47681
|
var formConfig$6 = {
|
|
@@ -46129,11 +47729,13 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
|
|
|
46129
47729
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
46130
47730
|
saveToWallet = _ref.saveToWallet,
|
|
46131
47731
|
walletCheckboxMarked = _ref.walletCheckboxMarked,
|
|
46132
|
-
deniedCards = _ref.deniedCards
|
|
47732
|
+
deniedCards = _ref.deniedCards,
|
|
47733
|
+
termsContent = _ref.termsContent;
|
|
46133
47734
|
|
|
46134
47735
|
var _useContext = useContext(ThemeContext),
|
|
46135
47736
|
isMobile = _useContext.isMobile;
|
|
46136
47737
|
|
|
47738
|
+
var showTerms = !!termsContent;
|
|
46137
47739
|
useEffect$1(function () {
|
|
46138
47740
|
if (deniedCards) {
|
|
46139
47741
|
deniedCards.map(function (card) {
|
|
@@ -46242,12 +47844,22 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
|
|
|
46242
47844
|
return e.key === "Enter" && handleSubmit(e);
|
|
46243
47845
|
},
|
|
46244
47846
|
autocomplete: "billing postal-code"
|
|
46245
|
-
})), showWalletCheckbox && /*#__PURE__*/React.createElement(
|
|
47847
|
+
})), (showWalletCheckbox || showTerms) && /*#__PURE__*/React.createElement(Cluster, {
|
|
47848
|
+
childGap: "4px",
|
|
47849
|
+
align: "center"
|
|
47850
|
+
}, showWalletCheckbox && /*#__PURE__*/React.createElement(Checkbox$1, {
|
|
46246
47851
|
name: "credit card checkbox",
|
|
46247
|
-
title: "Save credit card to wallet",
|
|
47852
|
+
title: "Save credit card to wallet.",
|
|
46248
47853
|
checked: walletCheckboxMarked,
|
|
46249
47854
|
onChange: saveToWallet
|
|
46250
|
-
})
|
|
47855
|
+
}), showTerms && /*#__PURE__*/React.createElement(Cover, {
|
|
47856
|
+
singleChild: true
|
|
47857
|
+
}, /*#__PURE__*/React.createElement(TermsAndConditions, {
|
|
47858
|
+
version: "v2",
|
|
47859
|
+
showCheckbox: false,
|
|
47860
|
+
description: "View",
|
|
47861
|
+
terms: termsContent
|
|
47862
|
+
})))));
|
|
46251
47863
|
};
|
|
46252
47864
|
|
|
46253
47865
|
var PaymentFormCard$1 = withWindowSize(PaymentFormCard);
|
|
@@ -46526,13 +48138,13 @@ var RadioGroup = function RadioGroup(_ref) {
|
|
|
46526
48138
|
var headingBackgroundColor$1 = "".concat(WHITE);
|
|
46527
48139
|
var headingDisabledColor = "".concat(ATHENS_GREY);
|
|
46528
48140
|
var bodyBackgroundColor$1 = "#eeeeee";
|
|
46529
|
-
var borderColor$
|
|
48141
|
+
var borderColor$5 = "".concat(GREY_CHATEAU);
|
|
46530
48142
|
var focusStyles = "outline: none;";
|
|
46531
|
-
var fallbackValues$
|
|
48143
|
+
var fallbackValues$N = {
|
|
46532
48144
|
headingBackgroundColor: headingBackgroundColor$1,
|
|
46533
48145
|
headingDisabledColor: headingDisabledColor,
|
|
46534
48146
|
bodyBackgroundColor: bodyBackgroundColor$1,
|
|
46535
|
-
borderColor: borderColor$
|
|
48147
|
+
borderColor: borderColor$5,
|
|
46536
48148
|
focusStyles: focusStyles
|
|
46537
48149
|
};
|
|
46538
48150
|
|
|
@@ -46545,7 +48157,8 @@ var fallbackValues$I = {
|
|
|
46545
48157
|
hideRadioButton: boolean, (keeps section displayed but hides radio and disables open/close function),
|
|
46546
48158
|
hidden: boolean, (hides section entirely)
|
|
46547
48159
|
dataQa: string,
|
|
46548
|
-
content: <React Component(s)> e.g.: <Box><Stack>cool content stuff</Stack></Box> (any collection of components will work)
|
|
48160
|
+
content: <React Component(s)> e.g.: <Box><Stack>cool content stuff</Stack></Box> (any collection of components will work),
|
|
48161
|
+
rightTitleContent: <React Component(s)> (rendered on the very right of the title section, use to supplement "rightIcons" with text, as in expired CC status, or render other custom content)
|
|
46549
48162
|
}
|
|
46550
48163
|
|
|
46551
48164
|
Also takes an "openSection" which should equal the id of the section that should be open
|
|
@@ -46558,10 +48171,6 @@ var fallbackValues$I = {
|
|
|
46558
48171
|
|
|
46559
48172
|
*/
|
|
46560
48173
|
|
|
46561
|
-
var ACTIVE$2 = "ACTIVE";
|
|
46562
|
-
var EXPIRING_SOON$1 = "EXPIRING_SOON";
|
|
46563
|
-
var EXPIRED$2 = "EXPIRED";
|
|
46564
|
-
|
|
46565
48174
|
var RadioSection = function RadioSection(_ref) {
|
|
46566
48175
|
var themeValues = _ref.themeValues,
|
|
46567
48176
|
isMobile = _ref.isMobile,
|
|
@@ -46576,7 +48185,8 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
46576
48185
|
_ref$initiallyOpen = _ref.initiallyOpen,
|
|
46577
48186
|
initiallyOpen = _ref$initiallyOpen === void 0 ? true : _ref$initiallyOpen,
|
|
46578
48187
|
_ref$openHeight = _ref.openHeight,
|
|
46579
|
-
openHeight = _ref$openHeight === void 0 ? "auto" : _ref$openHeight
|
|
48188
|
+
openHeight = _ref$openHeight === void 0 ? "auto" : _ref$openHeight,
|
|
48189
|
+
ariaDescribedBy = _ref.ariaDescribedBy;
|
|
46580
48190
|
|
|
46581
48191
|
var handleKeyDown = function handleKeyDown(id, e) {
|
|
46582
48192
|
if ((e === null || e === void 0 ? void 0 : e.keyCode) === 13) {
|
|
@@ -46584,34 +48194,6 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
46584
48194
|
}
|
|
46585
48195
|
};
|
|
46586
48196
|
|
|
46587
|
-
var renderCardStatus = function renderCardStatus(item) {
|
|
46588
|
-
var expirationStatus = item.expirationStatus,
|
|
46589
|
-
expireDate = item.expireDate;
|
|
46590
|
-
|
|
46591
|
-
switch (expirationStatus) {
|
|
46592
|
-
case ACTIVE$2:
|
|
46593
|
-
return /*#__PURE__*/React.createElement(Text$1, {
|
|
46594
|
-
variant: "pXS",
|
|
46595
|
-
color: ASH_GREY,
|
|
46596
|
-
extraStyles: "text-align: right;"
|
|
46597
|
-
}, "Exp Date ", expireDate);
|
|
46598
|
-
|
|
46599
|
-
case EXPIRING_SOON$1:
|
|
46600
|
-
return /*#__PURE__*/React.createElement(Text$1, {
|
|
46601
|
-
variant: "pXS",
|
|
46602
|
-
color: FIRE_YELLOW,
|
|
46603
|
-
extraStyles: "text-align: right;"
|
|
46604
|
-
}, "Expiring Soon ", expireDate);
|
|
46605
|
-
|
|
46606
|
-
case EXPIRED$2:
|
|
46607
|
-
return /*#__PURE__*/React.createElement(Text$1, {
|
|
46608
|
-
variant: "pXS",
|
|
46609
|
-
color: ASH_GREY,
|
|
46610
|
-
extraStyles: "text-align: right;"
|
|
46611
|
-
}, "Expired");
|
|
46612
|
-
}
|
|
46613
|
-
};
|
|
46614
|
-
|
|
46615
48197
|
var wrapper = {
|
|
46616
48198
|
open: {
|
|
46617
48199
|
height: openHeight,
|
|
@@ -46665,13 +48247,13 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
46665
48247
|
return /*#__PURE__*/React.createElement(Motion, {
|
|
46666
48248
|
tabIndex: section.hideRadioButton || section.disabled ? "-1" : "0",
|
|
46667
48249
|
onKeyDown: function onKeyDown(e) {
|
|
46668
|
-
return handleKeyDown(section.id, e);
|
|
48250
|
+
return !section.disabled && handleKeyDown(section.id, e);
|
|
46669
48251
|
},
|
|
46670
48252
|
onFocus: function onFocus() {
|
|
46671
|
-
return setFocused(section.id);
|
|
48253
|
+
return !section.disabled && setFocused(section.id);
|
|
46672
48254
|
},
|
|
46673
48255
|
onBlur: function onBlur() {
|
|
46674
|
-
return setFocused(null);
|
|
48256
|
+
return !section.disabled && setFocused(null);
|
|
46675
48257
|
},
|
|
46676
48258
|
hoverStyles: themeValues.focusStyles,
|
|
46677
48259
|
animate: openSection === section.id ? "open" : "closed",
|
|
@@ -46681,12 +48263,12 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
46681
48263
|
}, /*#__PURE__*/React.createElement(Stack, {
|
|
46682
48264
|
childGap: "0"
|
|
46683
48265
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
46684
|
-
padding: section.hideRadioButton ? "1.5rem" : "1.25rem 1.5rem
|
|
48266
|
+
padding: section.hideRadioButton ? "1.5rem" : "1.25rem 1.5rem",
|
|
46685
48267
|
background: section.disabled ? themeValues.headingDisabledColor : themeValues.headingBackgroundColor,
|
|
46686
48268
|
onClick: isMobile && supportsTouch || section.disabled ? noop : function () {
|
|
46687
48269
|
return toggleOpenSection(section.id);
|
|
46688
48270
|
},
|
|
46689
|
-
onTouchEnd: isMobile && supportsTouch
|
|
48271
|
+
onTouchEnd: isMobile && supportsTouch && !section.disabled ? function () {
|
|
46690
48272
|
return toggleOpenSection(section.id);
|
|
46691
48273
|
} : noop,
|
|
46692
48274
|
key: "header-".concat(section.id),
|
|
@@ -46698,7 +48280,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
46698
48280
|
}, /*#__PURE__*/React.createElement(Cluster, {
|
|
46699
48281
|
justify: "space-between",
|
|
46700
48282
|
align: "center",
|
|
46701
|
-
childGap: "
|
|
48283
|
+
childGap: "1px",
|
|
46702
48284
|
nowrap: true
|
|
46703
48285
|
}, /*#__PURE__*/React.createElement(Cluster, {
|
|
46704
48286
|
justify: "flex-start",
|
|
@@ -46707,7 +48289,8 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
46707
48289
|
}, !section.hideRadioButton && /*#__PURE__*/React.createElement(Box, {
|
|
46708
48290
|
padding: "0"
|
|
46709
48291
|
}, /*#__PURE__*/React.createElement(RadioButton$2, {
|
|
46710
|
-
name: section.id,
|
|
48292
|
+
name: typeof section.title === "string" ? createIdFromString(section.title) : section.id,
|
|
48293
|
+
ariaDescribedBy: ariaDescribedBy,
|
|
46711
48294
|
radioOn: openSection === section.id,
|
|
46712
48295
|
radioFocused: focused === section.id,
|
|
46713
48296
|
toggleRadio: section.disabled ? noop : function () {
|
|
@@ -46731,7 +48314,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
46731
48314
|
isMobile: isMobile,
|
|
46732
48315
|
alt: icon.altText
|
|
46733
48316
|
});
|
|
46734
|
-
})), section.
|
|
48317
|
+
})), section.rightTitleContent && /*#__PURE__*/React.createElement(Fragment$1, null, section.rightTitleContent))), /*#__PURE__*/React.createElement(AnimatePresence, {
|
|
46735
48318
|
initial: false
|
|
46736
48319
|
}, openSection === section.id && /*#__PURE__*/React.createElement(Motion, {
|
|
46737
48320
|
key: "content-".concat(section.id),
|
|
@@ -46747,7 +48330,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
46747
48330
|
})));
|
|
46748
48331
|
};
|
|
46749
48332
|
|
|
46750
|
-
var RadioSection$1 = themeComponent(RadioSection, "RadioSection", fallbackValues$
|
|
48333
|
+
var RadioSection$1 = themeComponent(RadioSection, "RadioSection", fallbackValues$N);
|
|
46751
48334
|
|
|
46752
48335
|
var RegistrationForm = function RegistrationForm(_ref) {
|
|
46753
48336
|
var _emailErrorMessages, _passwordErrorMessage;
|
|
@@ -47044,7 +48627,7 @@ var ResetPasswordSuccess = withWindowSize(ResetConfirmationForm$2);
|
|
|
47044
48627
|
var activeTabBackground = "#FFFFFF";
|
|
47045
48628
|
var activeTabAccent = "#15749D";
|
|
47046
48629
|
var activeTabHover = "#B8D5E1";
|
|
47047
|
-
var fallbackValues$
|
|
48630
|
+
var fallbackValues$O = {
|
|
47048
48631
|
activeTabBackground: activeTabBackground,
|
|
47049
48632
|
activeTabAccent: activeTabAccent,
|
|
47050
48633
|
activeTabHover: activeTabHover
|
|
@@ -47123,12 +48706,12 @@ var Tabs = function Tabs(_ref) {
|
|
|
47123
48706
|
}))));
|
|
47124
48707
|
};
|
|
47125
48708
|
|
|
47126
|
-
var Tabs$1 = themeComponent(Tabs, "NavigationTab", fallbackValues$
|
|
48709
|
+
var Tabs$1 = themeComponent(Tabs, "NavigationTab", fallbackValues$O);
|
|
47127
48710
|
|
|
47128
48711
|
var activeTabBackground$1 = "#FFFFFF";
|
|
47129
48712
|
var activeTabAccent$1 = "#15749D";
|
|
47130
48713
|
var activeTabHover$1 = "#B8D5E1";
|
|
47131
|
-
var fallbackValues$
|
|
48714
|
+
var fallbackValues$P = {
|
|
47132
48715
|
activeTabBackground: activeTabBackground$1,
|
|
47133
48716
|
activeTabAccent: activeTabAccent$1,
|
|
47134
48717
|
activeTabHover: activeTabHover$1
|
|
@@ -47184,131 +48767,7 @@ var TabSidebar = function TabSidebar(_ref) {
|
|
|
47184
48767
|
})));
|
|
47185
48768
|
};
|
|
47186
48769
|
|
|
47187
|
-
var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$
|
|
47188
|
-
|
|
47189
|
-
var backgroundColor$b = {
|
|
47190
|
-
"default": "#ffffff",
|
|
47191
|
-
footer: "#ffffff"
|
|
47192
|
-
};
|
|
47193
|
-
var linkColor$6 = {
|
|
47194
|
-
"default": "#3176AA",
|
|
47195
|
-
footer: "#ffffff"
|
|
47196
|
-
};
|
|
47197
|
-
var border$3 = {
|
|
47198
|
-
"default": "#cdcdcd",
|
|
47199
|
-
footer: "#cdcdcd"
|
|
47200
|
-
};
|
|
47201
|
-
var fontSize$b = {
|
|
47202
|
-
"default": "1rem",
|
|
47203
|
-
footer: "0.875rem"
|
|
47204
|
-
};
|
|
47205
|
-
var lineHeight$5 = {
|
|
47206
|
-
"default": "1.5rem",
|
|
47207
|
-
footer: "1.25rem"
|
|
47208
|
-
};
|
|
47209
|
-
var fontWeight$8 = {
|
|
47210
|
-
"default": FONT_WEIGHT_REGULAR,
|
|
47211
|
-
footer: FONT_WEIGHT_SEMIBOLD
|
|
47212
|
-
};
|
|
47213
|
-
var standardInteractionStyles = "\n &:hover {\n outline: none; \n text-decoration: underline;\n }\n &:focus {\n outline: 3px solid #3181E3;\n outline-offset: 2px;\n }\n";
|
|
47214
|
-
var modalLinkHoverFocus$2 = {
|
|
47215
|
-
"default": standardInteractionStyles,
|
|
47216
|
-
footer: standardInteractionStyles
|
|
47217
|
-
};
|
|
47218
|
-
var fallbackValues$L = {
|
|
47219
|
-
backgroundColor: backgroundColor$b,
|
|
47220
|
-
linkColor: linkColor$6,
|
|
47221
|
-
border: border$3,
|
|
47222
|
-
fontSize: fontSize$b,
|
|
47223
|
-
lineHeight: lineHeight$5,
|
|
47224
|
-
fontWeight: fontWeight$8,
|
|
47225
|
-
modalLinkHoverFocus: modalLinkHoverFocus$2
|
|
47226
|
-
};
|
|
47227
|
-
|
|
47228
|
-
var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
47229
|
-
var link = _ref.link,
|
|
47230
|
-
_ref$title = _ref.title,
|
|
47231
|
-
title = _ref$title === void 0 ? "Terms & Conditions" : _ref$title,
|
|
47232
|
-
isOpen = _ref.isOpen,
|
|
47233
|
-
toggleOpen = _ref.toggleOpen,
|
|
47234
|
-
toggleAccepted = _ref.toggleAccepted,
|
|
47235
|
-
acceptText = _ref.acceptText,
|
|
47236
|
-
terms = _ref.terms,
|
|
47237
|
-
variant = _ref.variant,
|
|
47238
|
-
themeValues = _ref.themeValues;
|
|
47239
|
-
return /*#__PURE__*/React.createElement(Modal$1, {
|
|
47240
|
-
modalOpen: isOpen,
|
|
47241
|
-
hideModal: function hideModal() {
|
|
47242
|
-
return toggleOpen(false);
|
|
47243
|
-
},
|
|
47244
|
-
showModal: function showModal() {
|
|
47245
|
-
return toggleOpen(true);
|
|
47246
|
-
},
|
|
47247
|
-
modalHeaderText: title,
|
|
47248
|
-
modalBodyText: /*#__PURE__*/React.createElement(Box, {
|
|
47249
|
-
background: themeValues.backgroundColor,
|
|
47250
|
-
border: "1px solid ".concat(themeValues.border),
|
|
47251
|
-
borderRadius: "3px",
|
|
47252
|
-
extraStyles: "overflow: scroll; max-height: 20rem;"
|
|
47253
|
-
}, /*#__PURE__*/React.createElement(Text$1, {
|
|
47254
|
-
variant: "p",
|
|
47255
|
-
extraStyles: "& a { text-decoration: underline; }"
|
|
47256
|
-
}, terms)),
|
|
47257
|
-
defaultWrapper: false,
|
|
47258
|
-
onlyCloseButton: !acceptText,
|
|
47259
|
-
continueButtonText: acceptText,
|
|
47260
|
-
continueAction: function continueAction() {
|
|
47261
|
-
toggleAccepted(true);
|
|
47262
|
-
toggleOpen(false);
|
|
47263
|
-
}
|
|
47264
|
-
}, /*#__PURE__*/React.createElement(Text$1, {
|
|
47265
|
-
variant: variant === "default" ? "pS" : "pXS",
|
|
47266
|
-
onClick: function onClick() {
|
|
47267
|
-
return toggleOpen(true);
|
|
47268
|
-
},
|
|
47269
|
-
onKeyPress: function onKeyPress(e) {
|
|
47270
|
-
return e.key === "Enter" && toggleOpen(true);
|
|
47271
|
-
},
|
|
47272
|
-
tabIndex: "0",
|
|
47273
|
-
color: themeValues.linkColor,
|
|
47274
|
-
weight: themeValues.fontWeight,
|
|
47275
|
-
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
47276
|
-
extraStyles: "display: inline-block; width: fit-content;"
|
|
47277
|
-
}, link));
|
|
47278
|
-
};
|
|
47279
|
-
|
|
47280
|
-
var TermsAndConditionsModal$1 = themeComponent(TermsAndConditionsModal, "TermsAndConditionsModal", fallbackValues$L, "default");
|
|
47281
|
-
|
|
47282
|
-
var TermsAndConditions = function TermsAndConditions(_ref) {
|
|
47283
|
-
var onCheck = _ref.onCheck,
|
|
47284
|
-
isChecked = _ref.isChecked,
|
|
47285
|
-
html = _ref.html,
|
|
47286
|
-
terms = _ref.terms,
|
|
47287
|
-
_ref$error = _ref.error,
|
|
47288
|
-
error = _ref$error === void 0 ? false : _ref$error;
|
|
47289
|
-
|
|
47290
|
-
var _useState = useState(false),
|
|
47291
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
47292
|
-
showTerms = _useState2[0],
|
|
47293
|
-
toggleShowTerms = _useState2[1];
|
|
47294
|
-
|
|
47295
|
-
return /*#__PURE__*/React.createElement(DisplayBox$1, null, /*#__PURE__*/React.createElement(Stack, null, /*#__PURE__*/React.createElement(Checkbox$1, {
|
|
47296
|
-
name: "terms",
|
|
47297
|
-
title: "Terms and Conditions",
|
|
47298
|
-
error: error,
|
|
47299
|
-
checked: isChecked,
|
|
47300
|
-
onChange: onCheck
|
|
47301
|
-
}), /*#__PURE__*/React.createElement(Box, {
|
|
47302
|
-
padding: "0 0 0 58px"
|
|
47303
|
-
}, /*#__PURE__*/React.createElement(Stack, null, /*#__PURE__*/React.createElement(Box, {
|
|
47304
|
-
padding: "0"
|
|
47305
|
-
}, html), terms && /*#__PURE__*/React.createElement(TermsAndConditionsModal$1, {
|
|
47306
|
-
link: "Learn More",
|
|
47307
|
-
terms: terms,
|
|
47308
|
-
isOpen: showTerms,
|
|
47309
|
-
toggleOpen: toggleShowTerms
|
|
47310
|
-
})))));
|
|
47311
|
-
};
|
|
48770
|
+
var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$P);
|
|
47312
48771
|
|
|
47313
48772
|
var Timeout = function Timeout(_ref) {
|
|
47314
48773
|
var onLogout = _ref.onLogout;
|
|
@@ -47352,7 +48811,7 @@ var fontColor$1 = WHITE;
|
|
|
47352
48811
|
var textAlign$1 = "left";
|
|
47353
48812
|
var headerBackgroundColor$1 = BRIGHT_GREY;
|
|
47354
48813
|
var imageBackgroundColor$1 = MATISSE_BLUE;
|
|
47355
|
-
var fallbackValues$
|
|
48814
|
+
var fallbackValues$Q = {
|
|
47356
48815
|
fontWeight: fontWeight$9,
|
|
47357
48816
|
fontColor: fontColor$1,
|
|
47358
48817
|
textAlign: textAlign$1,
|
|
@@ -47399,7 +48858,7 @@ var WelcomeModule = function WelcomeModule(_ref) {
|
|
|
47399
48858
|
})))));
|
|
47400
48859
|
};
|
|
47401
48860
|
|
|
47402
|
-
var WelcomeModule$1 = /*#__PURE__*/memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$
|
|
48861
|
+
var WelcomeModule$1 = /*#__PURE__*/memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$Q));
|
|
47403
48862
|
|
|
47404
48863
|
var WorkflowTile = function WorkflowTile(_ref) {
|
|
47405
48864
|
var _ref$workflowName = _ref.workflowName,
|
|
@@ -47454,7 +48913,7 @@ var WorkflowTile = function WorkflowTile(_ref) {
|
|
|
47454
48913
|
};
|
|
47455
48914
|
|
|
47456
48915
|
var pageBackground = "#FBFCFD";
|
|
47457
|
-
var fallbackValues$
|
|
48916
|
+
var fallbackValues$R = {
|
|
47458
48917
|
pageBackground: pageBackground
|
|
47459
48918
|
};
|
|
47460
48919
|
|
|
@@ -47501,7 +48960,7 @@ var CenterSingle = function CenterSingle(_ref) {
|
|
|
47501
48960
|
})));
|
|
47502
48961
|
};
|
|
47503
48962
|
|
|
47504
|
-
var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$
|
|
48963
|
+
var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$R));
|
|
47505
48964
|
|
|
47506
48965
|
var CenterStack = function CenterStack(_ref) {
|
|
47507
48966
|
var header = _ref.header,
|
|
@@ -47543,7 +49002,7 @@ var CenterStack = function CenterStack(_ref) {
|
|
|
47543
49002
|
})));
|
|
47544
49003
|
};
|
|
47545
49004
|
|
|
47546
|
-
var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$
|
|
49005
|
+
var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$R));
|
|
47547
49006
|
|
|
47548
49007
|
var CenterSingle$2 = function CenterSingle(_ref) {
|
|
47549
49008
|
var header = _ref.header,
|
|
@@ -47588,7 +49047,7 @@ var CenterSingle$2 = function CenterSingle(_ref) {
|
|
|
47588
49047
|
})));
|
|
47589
49048
|
};
|
|
47590
49049
|
|
|
47591
|
-
var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$
|
|
49050
|
+
var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$R));
|
|
47592
49051
|
|
|
47593
49052
|
var SidebarSingleContent = function SidebarSingleContent(_ref) {
|
|
47594
49053
|
var header = _ref.header,
|
|
@@ -47642,7 +49101,7 @@ var SidebarSingleContent = function SidebarSingleContent(_ref) {
|
|
|
47642
49101
|
})));
|
|
47643
49102
|
};
|
|
47644
49103
|
|
|
47645
|
-
var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$
|
|
49104
|
+
var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$R));
|
|
47646
49105
|
|
|
47647
49106
|
var SidebarStackContent = function SidebarStackContent(_ref) {
|
|
47648
49107
|
var header = _ref.header,
|
|
@@ -47713,7 +49172,7 @@ var SidebarStackContent = function SidebarStackContent(_ref) {
|
|
|
47713
49172
|
})));
|
|
47714
49173
|
};
|
|
47715
49174
|
|
|
47716
|
-
var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$
|
|
49175
|
+
var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$R));
|
|
47717
49176
|
|
|
47718
|
-
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, Banner$1 as Banner, Box, BoxWithShadow$1 as BoxWithShadow, Breadcrumbs as Breadcrumb, ButtonWithAction, ButtonWithLink, CalendarIcon, Card$1 as Card, 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, Copyable, 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, ExternalLinkIcon, FailedIcon, FindIconSmall$1 as FindIconSmall, FooterWithSubfooter$1 as FooterWithSubfooter, 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, GuidedCheckoutImage, HamburgerButton, Heading$1 as Heading, HighlightTabRow$1 as HighlightTabRow, IconAdd, IconQuitLarge, Imposter, InternalLink, Jumbo$1 as Jumbo, LabeledAmount$1 as LabeledAmount, LineItem$1 as LineItem, Loading, LoadingLine, LoginForm, Modal$1 as Modal, Module$1 as Module, Motion, NavFooter, NavHeader, NavMenuDesktop$1 as NavMenuDesktop, NavMenuMobile$1 as NavMenuMobile, NavTabs, NoCustomerResultsIcon, NoPaymentResultsIcon, NotFoundIcon, Obligation, iconsMap as ObligationIcons, Pagination, Paragraph$1 as Paragraph, PartialAmountForm, PasswordRequirements, PaymentButtonBar, PaymentDetails$1 as PaymentDetails, PaymentFormACH, PaymentFormCard$1 as PaymentFormCard,
|
|
49177
|
+
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, ArrowDownCircleIconSmall, ArrowLeftCircleIconMedium, ArrowLeftCircleIconSmall, ArrowRightCircleIconSmall, ArrowUpCircleIconSmall, AutopayOnIcon, BankIcon, BankIconLarge, Banner$1 as Banner, Box, BoxWithShadow$1 as BoxWithShadow, Breadcrumbs as Breadcrumb, ButtonWithAction, ButtonWithLink, CalendarIcon, Card$1 as Card, CarrotIcon$1 as CarrotIcon, CashIcon, Center, CenterSingle$1 as CenterSingle, CenterStack$1 as CenterStack, ChangePasswordForm, ChargebackIcon, ChargebackIconMedium, ChargebackIconSmall, ChargebackReversalIcon, ChargebackReversalIconMedium, ChargebackReversalIconSmall, CheckIcon, Checkbox$1 as Checkbox, CheckboxList$1 as CheckboxList, CheckmarkIcon, ChevronIcon$1 as ChevronIcon, Cluster, CollapsibleSection$1 as CollapsibleSection, Copyable, 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, ExternalLinkIcon, FailedIcon, FindIconSmall$1 as FindIconSmall, FooterWithSubfooter$1 as FooterWithSubfooter, 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, FormattedBankAccount$1 as FormattedBankAccount, FormattedCreditCard$1 as FormattedCreditCard, Frame, GenericCard, GenericCardLarge, GoToEmailIcon$1 as GoToEmailIcon, Grid, GuidedCheckoutImage, HamburgerButton, Heading$1 as Heading, HighlightTabRow$1 as HighlightTabRow, HistoryIconSmall$1 as HistoryIconSmall, IconAdd, IconQuitLarge, ImageBox, Imposter, InternalLink, Jumbo$1 as Jumbo, LabeledAmount$1 as LabeledAmount, LineItem$1 as LineItem, Loading, LoadingLine, LoginForm, Modal$1 as Modal, Module$1 as Module, Motion, NavFooter, NavHeader, NavMenuDesktop$1 as NavMenuDesktop, NavMenuMobile$1 as NavMenuMobile, NavTabs, NoCustomerResultsIcon, NoPaymentResultsIcon, NotFoundIcon, Obligation, iconsMap as ObligationIcons, Pagination$1 as Pagination, Paragraph$1 as Paragraph, PartialAmountForm, PasswordRequirements, PaymentButtonBar, PaymentDetails$1 as PaymentDetails, PaymentFormACH, PaymentFormCard$1 as PaymentFormCard, PaymentMethodAddIcon$1 as PaymentMethodAddIcon, PaymentMethodIcon$1 as PaymentMethodIcon, PaymentSearchIcon, PaymentsIconSmall$1 as PaymentsIconSmall, PencilIcon$1 as PencilIcon, PendingIcon, PeriscopeDashboardIframe, PeriscopeFailedIcon, PhoneForm, Placeholder$1 as Placeholder, Popover$1 as Popover, ProcessingFee$1 as ProcessingFee, ProfileIcon$1 as ProfileIcon, ProfileIconSmall$1 as ProfileIconSmall, ProfileImage, PropertiesAddIcon$1 as PropertiesAddIcon, PropertiesIconSmall$1 as PropertiesIconSmall, RadioButton$2 as RadioButton, RadioButtonWithLabel, RadioGroup, RadioSection$1 as RadioSection, Reel, RefundIcon, RefundIconMedium, RefundIconSmall, RegistrationForm, RejectedIcon, RejectedVelocityIcon, ResetConfirmationForm$1 as ResetConfirmationForm, ResetPasswordForm, ResetPasswordIcon, ResetPasswordSuccess, RevenueManagementImage, 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, StandardCheckoutImage, FormStateDropdown as StateProvinceDropdown, StatusUnknownIcon, SuccessfulIcon, SuccessfulIconMedium, SuccessfulIconSmall, Switcher, TabSidebar$1 as TabSidebar, Table_styled as Table, TableBody_styled as TableBody, TableCell_styled as TableCell, TableHead$1 as TableHead, TableHeading_styled as TableHeading, TableListItem, TableRow$1 as TableRow, 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, WalletBannerIcon$1 as WalletBannerIcon, WalletIcon$1 as WalletIcon, WalletIconSmall$1 as WalletIconSmall, WarningIconXS, WelcomeModule$1 as WelcomeModule, WorkflowTile, XCircleIconMedium, XCircleIconSmall, cardRegistry, index$5 as constants, createPartialAmountFormState, index$4 as util, withWindowSize };
|
|
47719
49178
|
//# sourceMappingURL=index.esm.js.map
|