@thecb/components 4.3.0 → 4.3.3

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 CHANGED
@@ -6471,7 +6471,7 @@ var Center = function Center(_ref) {
6471
6471
  };
6472
6472
 
6473
6473
  function _templateObject2$2() {
6474
- var data = _taggedTemplateLiteral(["\n box-sizing: border-box;\n display: flex;\n flex-wrap: ", ";\n justify-content: ", ";\n align-items: ", ";\n margin: calc(", " / 2 * -1);\n min-height: ", ";\n min-width: ", ";\n\n > * {\n margin: calc(", " / 2);\n }\n"]);
6474
+ var data = _taggedTemplateLiteral(["\n box-sizing: border-box;\n display: flex;\n flex-wrap: ", ";\n justify-content: ", ";\n align-items: ", ";\n margin: calc(", " / 2 * -1);\n min-height: ", ";\n min-width: ", ";\n > * {\n margin: calc(", " / 2);\n }\n"]);
6475
6475
 
6476
6476
  _templateObject2$2 = function _templateObject2() {
6477
6477
  return data;
@@ -15609,19 +15609,10 @@ function _assertThisInitialized(self) {
15609
15609
  return self;
15610
15610
  }
15611
15611
 
15612
- function _setPrototypeOf(o, p) {
15613
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
15614
- o.__proto__ = p;
15615
- return o;
15616
- };
15617
-
15618
- return _setPrototypeOf(o, p);
15619
- }
15620
-
15621
15612
  function _inheritsLoose(subClass, superClass) {
15622
15613
  subClass.prototype = Object.create(superClass.prototype);
15623
15614
  subClass.prototype.constructor = subClass;
15624
- _setPrototypeOf(subClass, superClass);
15615
+ subClass.__proto__ = superClass;
15625
15616
  }
15626
15617
 
15627
15618
  function _getPrototypeOf(o) {
@@ -15631,6 +15622,15 @@ function _getPrototypeOf(o) {
15631
15622
  return _getPrototypeOf(o);
15632
15623
  }
15633
15624
 
15625
+ function _setPrototypeOf(o, p) {
15626
+ _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
15627
+ o.__proto__ = p;
15628
+ return o;
15629
+ };
15630
+
15631
+ return _setPrototypeOf(o, p);
15632
+ }
15633
+
15634
15634
  function _isNativeFunction(fn) {
15635
15635
  return Function.toString.call(fn).indexOf("[native code]") !== -1;
15636
15636
  }
@@ -15641,7 +15641,7 @@ function _isNativeReflectConstruct() {
15641
15641
  if (typeof Proxy === "function") return true;
15642
15642
 
15643
15643
  try {
15644
- Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
15644
+ Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));
15645
15645
  return true;
15646
15646
  } catch (e) {
15647
15647
  return false;
@@ -15781,9 +15781,7 @@ var ERRORS = {
15781
15781
  "73": "Please provide a valid CSS variable.\n\n",
15782
15782
  "74": "CSS variable not found and no default was provided.\n\n",
15783
15783
  "75": "important requires a valid style object, got a %s instead.\n\n",
15784
- "76": "fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen.\n\n",
15785
- "77": "remToPx expects a value in \"rem\" but you provided it in \"%s\".\n\n",
15786
- "78": "base must be set in \"px\" or \"%\" but you set it in \"%s\".\n"
15784
+ "76": "fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen.\n"
15787
15785
  };
15788
15786
  /**
15789
15787
  * super basic version of sprintf
@@ -18583,7 +18581,7 @@ var textColor = {
18583
18581
  "default": "".concat(CHARADE_GREY)
18584
18582
  };
18585
18583
  var disabledCheckColor = {
18586
- "default": "".concat(GHOST_GREY, ";")
18584
+ "default": "".concat(WHITE, ";")
18587
18585
  };
18588
18586
  var checkColor = {
18589
18587
  "default": "".concat(WHITE, ";")
@@ -18594,6 +18592,9 @@ var errorStyles = {
18594
18592
  var focusedStyles = {
18595
18593
  "default": "box-shadow: 0 0 5px 0 ".concat(MATISSE_BLUE, ";")
18596
18594
  };
18595
+ var disabledCheckedStyles = {
18596
+ "default": "\n background: #6d717e;\n border: 1px solid #6d717e;\n"
18597
+ };
18597
18598
  var disabledStyles = {
18598
18599
  "default": "\n background: ".concat(SEASHELL_WHITE, ";\n border: 1px solid ").concat(GHOST_GREY, ";\n")
18599
18600
  };
@@ -18615,7 +18616,8 @@ var fallbackValues$c = {
18615
18616
  focusedStyles: focusedStyles,
18616
18617
  disabledStyles: disabledStyles,
18617
18618
  checkedStyles: checkedStyles,
18618
- defaultStyles: defaultStyles
18619
+ defaultStyles: defaultStyles,
18620
+ disabledCheckedStyles: disabledCheckedStyles
18619
18621
  };
18620
18622
 
18621
18623
  function _templateObject11() {
@@ -18750,8 +18752,9 @@ var StyledCheckbox = styled__default.div(_templateObject7$1(), CheckboxIcon, fun
18750
18752
  checkedStyles = _ref3.checkedStyles,
18751
18753
  focusedStyles = _ref3.focusedStyles,
18752
18754
  errorStyles = _ref3.errorStyles,
18753
- disabledStyles = _ref3.disabledStyles;
18754
- return error ? styled.css(_templateObject8(), errorStyles, focused && focusedStyles) : disabled ? styled.css(_templateObject9(), disabledStyles) : checked ? styled.css(_templateObject10(), checkedStyles, focused && focusedStyles) : styled.css(_templateObject11(), defaultStyles, focused && focusedStyles);
18755
+ disabledStyles = _ref3.disabledStyles,
18756
+ disabledCheckedStyles = _ref3.disabledCheckedStyles;
18757
+ return error ? styled.css(_templateObject8(), errorStyles, focused && focusedStyles) : disabled ? styled.css(_templateObject9(), checked ? disabledCheckedStyles : disabledStyles) : checked ? styled.css(_templateObject10(), checkedStyles, focused && focusedStyles) : styled.css(_templateObject11(), defaultStyles, focused && focusedStyles);
18755
18758
  });
18756
18759
 
18757
18760
  var Checkbox = function Checkbox(_ref4) {
@@ -18766,7 +18769,8 @@ var Checkbox = function Checkbox(_ref4) {
18766
18769
  _ref4$hidden = _ref4.hidden,
18767
18770
  hidden = _ref4$hidden === void 0 ? false : _ref4$hidden,
18768
18771
  _ref4$error = _ref4.error,
18769
- error = _ref4$error === void 0 ? false : _ref4$error;
18772
+ error = _ref4$error === void 0 ? false : _ref4$error,
18773
+ textExtraStyles = _ref4.textExtraStyles;
18770
18774
 
18771
18775
  var _useState = React.useState(false),
18772
18776
  _useState2 = _slicedToArray(_useState, 2),
@@ -18813,6 +18817,7 @@ var Checkbox = function Checkbox(_ref4) {
18813
18817
  checkedStyles: themeValues.checkedStyles,
18814
18818
  errorStyles: themeValues.errorStyles,
18815
18819
  disabledStyles: themeValues.disabledStyles,
18820
+ disabledCheckedStyles: themeValues.disabledCheckedStyles,
18816
18821
  focusedStyles: themeValues.focusedStyles
18817
18822
  }, /*#__PURE__*/React__default.createElement(CheckboxIcon, {
18818
18823
  viewBox: "0 0 24 24",
@@ -18825,7 +18830,7 @@ var Checkbox = function Checkbox(_ref4) {
18825
18830
  variant: "p",
18826
18831
  weight: themeValues.textFontWeight,
18827
18832
  color: themeValues.textColor,
18828
- extraStyles: "margin-left: 1rem"
18833
+ extraStyles: textExtraStyles ? "".concat(textExtraStyles, " ").concat(disabled && "color: #6e727e; background-color: #f7f7f7;", " ") : "margin-left: 1rem ".concat(disabled && "color: #6e727e; background-color: #f7f7f7;")
18829
18834
  }, title)));
18830
18835
  };
18831
18836
 
@@ -19125,7 +19130,7 @@ function _templateObject2$b() {
19125
19130
  }
19126
19131
 
19127
19132
  function _templateObject$n() {
19128
- var data = _taggedTemplateLiteral(["\n display: flex;\n padding-left: 8px;\n flex-direction: column;\n justify-content: center;\n transition: transform 0.3s ease;\n ", "\n"]);
19133
+ var data = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n transition: transform 0.3s ease;\n ", "\n"]);
19129
19134
 
19130
19135
  _templateObject$n = function _templateObject() {
19131
19136
  return data;
@@ -19183,7 +19188,8 @@ var Dropdown = function Dropdown(_ref9) {
19183
19188
  themeValues = _ref9.themeValues,
19184
19189
  maxHeight = _ref9.maxHeight,
19185
19190
  _ref9$widthFitOptions = _ref9.widthFitOptions,
19186
- widthFitOptions = _ref9$widthFitOptions === void 0 ? false : _ref9$widthFitOptions;
19191
+ widthFitOptions = _ref9$widthFitOptions === void 0 ? false : _ref9$widthFitOptions,
19192
+ disabled = _ref9.disabled;
19187
19193
 
19188
19194
  var _useState = React.useState(""),
19189
19195
  _useState2 = _slicedToArray(_useState, 2),
@@ -19319,7 +19325,8 @@ var Dropdown = function Dropdown(_ref9) {
19319
19325
  padding: "0",
19320
19326
  width: "100%",
19321
19327
  hoverStyles: "background-color: ".concat(themeValues.hoverColor, ";"),
19322
- "aria-expanded": isOpen
19328
+ "aria-expanded": isOpen,
19329
+ extraStyles: disabled && "color: #6e727e;\n background-color: #f7f7f7;\n pointer-events: none;"
19323
19330
  }, /*#__PURE__*/React__default.createElement(Box, {
19324
19331
  as: "button",
19325
19332
  background: isOpen ? themeValues.hoverColor : WHITE,
@@ -19330,8 +19337,8 @@ var Dropdown = function Dropdown(_ref9) {
19330
19337
  borderColor: isError ? ERROR_COLOR : isOpen ? themeValues.selectedColor : GREY_CHATEAU,
19331
19338
  borderRadius: "2px",
19332
19339
  tabIndex: 0,
19333
- extraStyles: "height: 48px;",
19334
- dataQa: placeholder
19340
+ dataQa: placeholder,
19341
+ extraStyles: "height: 48px;\n ".concat(disabled && "color: #6e727e;\n background-color: #f7f7f7;\n pointer-events: none;", "\n ")
19335
19342
  }, /*#__PURE__*/React__default.createElement(Stack, {
19336
19343
  direction: "row",
19337
19344
  bottomItem: 2
@@ -19341,7 +19348,8 @@ var Dropdown = function Dropdown(_ref9) {
19341
19348
  onChange: noop,
19342
19349
  themeValues: themeValues
19343
19350
  }) : /*#__PURE__*/React__default.createElement(Text$1, {
19344
- variant: "p"
19351
+ variant: "p",
19352
+ extraStyles: disabled && "color: #6e727e;\n background-color: #f7f7f7;\n pointer-events: none;"
19345
19353
  }, value ? (_options$find = options.find(function (option) {
19346
19354
  return option.value === value;
19347
19355
  })) === null || _options$find === void 0 ? void 0 : _options$find.text : placeholder), /*#__PURE__*/React__default.createElement(IconWrapper, {
@@ -19492,6 +19500,7 @@ var FormSelect = function FormSelect(_ref) {
19492
19500
  onChange = _ref.onChange,
19493
19501
  dropdownMaxHeight = _ref.dropdownMaxHeight,
19494
19502
  disabledValues = _ref.disabledValues,
19503
+ disabled = _ref.disabled,
19495
19504
  themeValues = _ref.themeValues;
19496
19505
 
19497
19506
  var _useState = React.useState(false),
@@ -19514,7 +19523,8 @@ var FormSelect = function FormSelect(_ref) {
19514
19523
  };
19515
19524
  });
19516
19525
  return /*#__PURE__*/React__default.createElement(SelectContainer, {
19517
- ref: dropdownRef
19526
+ ref: dropdownRef,
19527
+ disabled: disabled
19518
19528
  }, /*#__PURE__*/React__default.createElement(Box, {
19519
19529
  padding: "0",
19520
19530
  minWidth: "100%"
@@ -19544,7 +19554,8 @@ var FormSelect = function FormSelect(_ref) {
19544
19554
  },
19545
19555
  onClick: function onClick() {
19546
19556
  return setOpen(!open);
19547
- }
19557
+ },
19558
+ disabled: disabled
19548
19559
  }), /*#__PURE__*/React__default.createElement(Stack, {
19549
19560
  direction: "row",
19550
19561
  justify: "space-between"
@@ -20755,9 +20766,29 @@ var fallbackValues$h = {
20755
20766
  formFooterPanel: formFooterPanel
20756
20767
  };
20757
20768
 
20758
- function _templateObject4$3() {
20769
+ function _templateObject6$2() {
20759
20770
  var data = _taggedTemplateLiteral(["\n ", "\n "]);
20760
20771
 
20772
+ _templateObject6$2 = function _templateObject6() {
20773
+ return data;
20774
+ };
20775
+
20776
+ return data;
20777
+ }
20778
+
20779
+ function _templateObject5$2() {
20780
+ var data = _taggedTemplateLiteral(["\n color: #6e727e;\n background-color: #f7f7f7;\n "]);
20781
+
20782
+ _templateObject5$2 = function _templateObject5() {
20783
+ return data;
20784
+ };
20785
+
20786
+ return data;
20787
+ }
20788
+
20789
+ function _templateObject4$3() {
20790
+ var data = _taggedTemplateLiteral(["\n border: 1px solid\n ", ";\n border-radius: 2px;\n height: ", ";\n width: 100%;\n padding: 1rem;\n min-width: 100px;\n margin: 0;\n box-sizing: border-box;\n position: relative;\n font-size: 1.1rem;\n line-height: 2rem;\n font-weight: ", ";\n background-color: ", ";\n color: ", ";\n box-shadow: none;\n\n &:focus {\n outline: 3px solid ", ";\n outline-offset: 2px;\n }\n\n ", "\n\n ", "\n"]);
20791
+
20761
20792
  _templateObject4$3 = function _templateObject4() {
20762
20793
  return data;
20763
20794
  };
@@ -20766,7 +20797,7 @@ function _templateObject4$3() {
20766
20797
  }
20767
20798
 
20768
20799
  function _templateObject3$7() {
20769
- var data = _taggedTemplateLiteral(["\n border: 1px solid\n ", ";\n border-radius: 2px;\n height: ", ";\n width: 100%;\n padding: 1rem;\n min-width: 100px;\n margin: 0;\n box-sizing: border-box;\n position: relative;\n font-size: 1.1rem;\n line-height: 2rem;\n font-weight: ", ";\n background-color: ", ";\n color: ", ";\n box-shadow: none;\n\n &:focus {\n outline: 3px solid ", ";\n outline-offset: 2px;\n }\n\n ", "\n"]);
20800
+ var data = _taggedTemplateLiteral(["\n ", "\n "]);
20770
20801
 
20771
20802
  _templateObject3$7 = function _templateObject3() {
20772
20803
  return data;
@@ -20776,7 +20807,7 @@ function _templateObject3$7() {
20776
20807
  }
20777
20808
 
20778
20809
  function _templateObject2$d() {
20779
- var data = _taggedTemplateLiteral(["\n ", "\n "]);
20810
+ var data = _taggedTemplateLiteral(["\n color: #6e727e;\n background-color: #f7f7f7;\n "]);
20780
20811
 
20781
20812
  _templateObject2$d = function _templateObject2() {
20782
20813
  return data;
@@ -20786,7 +20817,7 @@ function _templateObject2$d() {
20786
20817
  }
20787
20818
 
20788
20819
  function _templateObject$p() {
20789
- var data = _taggedTemplateLiteral(["\n border: 1px solid\n ", ";\n border-radius: 2px;\n height: ", ";\n width: 100%;\n padding: 1rem;\n min-width: 100px;\n margin: 0;\n box-sizing: border-box;\n position: relative;\n font-size: 1.1rem;\n font-family: Public Sans;\n line-height: 2rem;\n font-weight: ", ";\n background-color: ", ";\n color: ", ";\n box-shadow: none;\n ", "\n transition: background 0.3s ease;\n\n &:focus {\n outline: 3px solid ", ";\n outline-offset: 2px;\n }\n\n ", "\n"]);
20820
+ var data = _taggedTemplateLiteral(["\n border: 1px solid\n ", ";\n border-radius: 2px;\n height: ", ";\n width: 100%;\n padding: 1rem;\n min-width: 100px;\n margin: 0;\n box-sizing: border-box;\n position: relative;\n font-size: 1.1rem;\n font-family: Public Sans;\n line-height: 2rem;\n font-weight: ", ";\n background-color: ", ";\n color: ", ";\n box-shadow: none;\n ", "\n transition: background 0.3s ease;\n\n &:focus {\n outline: 3px solid ", ";\n outline-offset: 2px;\n }\n\n ", "\n\n ", "\n"]);
20790
20821
 
20791
20822
  _templateObject$p = function _templateObject() {
20792
20823
  return data;
@@ -20813,58 +20844,64 @@ var InputField = styled__default.input(_templateObject$p(), function (_ref) {
20813
20844
  themeValues = _ref5.themeValues;
20814
20845
  return background && "background: ".concat(themeValues.inputBackgroundColor, " url(").concat(background, ") no-repeat right 0.5rem center;");
20815
20846
  }, ROYAL_BLUE, function (_ref6) {
20816
- var extraStyles = _ref6.extraStyles;
20817
- return styled.css(_templateObject2$d(), extraStyles);
20847
+ var disabled = _ref6.disabled;
20848
+ return disabled && styled.css(_templateObject2$d());
20849
+ }, function (_ref7) {
20850
+ var extraStyles = _ref7.extraStyles;
20851
+ return styled.css(_templateObject3$7(), extraStyles);
20818
20852
  }); // eslint-disable-next-line no-unused-vars
20819
20853
 
20820
- var FormattedInputField = styled__default(function (_ref7) {
20821
- var showErrors = _ref7.showErrors,
20822
- themeValues = _ref7.themeValues,
20823
- props = _objectWithoutProperties(_ref7, ["showErrors", "themeValues"]);
20854
+ var FormattedInputField = styled__default(function (_ref8) {
20855
+ var showErrors = _ref8.showErrors,
20856
+ themeValues = _ref8.themeValues,
20857
+ props = _objectWithoutProperties(_ref8, ["showErrors", "themeValues"]);
20824
20858
 
20825
20859
  return /*#__PURE__*/React__default.createElement(src_1, props);
20826
- })(_templateObject3$7(), function (_ref8) {
20827
- var field = _ref8.field,
20828
- showErrors = _ref8.showErrors,
20829
- themeValues = _ref8.themeValues;
20860
+ })(_templateObject4$3(), function (_ref9) {
20861
+ var field = _ref9.field,
20862
+ showErrors = _ref9.showErrors,
20863
+ themeValues = _ref9.themeValues;
20830
20864
  return field.dirty && field.hasErrors || field.hasErrors && showErrors ? ERROR_COLOR : themeValues.borderColor;
20831
- }, function (_ref9) {
20832
- var customHeight = _ref9.customHeight;
20865
+ }, function (_ref10) {
20866
+ var customHeight = _ref10.customHeight;
20833
20867
  return customHeight ? customHeight : "48px";
20834
- }, FONT_WEIGHT_REGULAR, function (_ref10) {
20835
- var themeValues = _ref10.themeValues;
20836
- return themeValues.inputBackgroundColor && themeValues.inputBackgroundColor;
20837
- }, function (_ref11) {
20868
+ }, FONT_WEIGHT_REGULAR, function (_ref11) {
20838
20869
  var themeValues = _ref11.themeValues;
20870
+ return themeValues.inputBackgroundColor && themeValues.inputBackgroundColor;
20871
+ }, function (_ref12) {
20872
+ var themeValues = _ref12.themeValues;
20839
20873
  return themeValues.color && themeValues.color;
20840
- }, ROYAL_BLUE, function (_ref12) {
20841
- var extraStyles = _ref12.extraStyles;
20842
- return styled.css(_templateObject4$3(), extraStyles);
20874
+ }, ROYAL_BLUE, function (_ref13) {
20875
+ var disabled = _ref13.disabled;
20876
+ return disabled && styled.css(_templateObject5$2());
20877
+ }, function (_ref14) {
20878
+ var extraStyles = _ref14.extraStyles;
20879
+ return styled.css(_templateObject6$2(), extraStyles);
20843
20880
  });
20844
20881
 
20845
- var FormInput = function FormInput(_ref13) {
20846
- var _ref13$type = _ref13.type,
20847
- type = _ref13$type === void 0 ? "text" : _ref13$type,
20848
- _ref13$labelTextWhenN = _ref13.labelTextWhenNoError,
20849
- labelTextWhenNoError = _ref13$labelTextWhenN === void 0 ? "" : _ref13$labelTextWhenN,
20850
- errorMessages = _ref13.errorMessages,
20851
- _ref13$isNum = _ref13.isNum,
20852
- isNum = _ref13$isNum === void 0 ? false : _ref13$isNum,
20853
- _ref13$isEmail = _ref13.isEmail,
20854
- isEmail = _ref13$isEmail === void 0 ? false : _ref13$isEmail,
20855
- _ref13$helperModal = _ref13.helperModal,
20856
- helperModal = _ref13$helperModal === void 0 ? false : _ref13$helperModal,
20857
- field = _ref13.field,
20858
- fieldActions = _ref13.fieldActions,
20859
- showErrors = _ref13.showErrors,
20860
- _ref13$formatter = _ref13.formatter,
20861
- formatter = _ref13$formatter === void 0 ? null : _ref13$formatter,
20862
- decorator = _ref13.decorator,
20863
- themeValues = _ref13.themeValues,
20864
- background = _ref13.background,
20865
- customHeight = _ref13.customHeight,
20866
- extraStyles = _ref13.extraStyles,
20867
- props = _objectWithoutProperties(_ref13, ["type", "labelTextWhenNoError", "errorMessages", "isNum", "isEmail", "helperModal", "field", "fieldActions", "showErrors", "formatter", "decorator", "themeValues", "background", "customHeight", "extraStyles"]);
20882
+ var FormInput = function FormInput(_ref15) {
20883
+ var _ref15$type = _ref15.type,
20884
+ type = _ref15$type === void 0 ? "text" : _ref15$type,
20885
+ _ref15$labelTextWhenN = _ref15.labelTextWhenNoError,
20886
+ labelTextWhenNoError = _ref15$labelTextWhenN === void 0 ? "" : _ref15$labelTextWhenN,
20887
+ errorMessages = _ref15.errorMessages,
20888
+ _ref15$isNum = _ref15.isNum,
20889
+ isNum = _ref15$isNum === void 0 ? false : _ref15$isNum,
20890
+ _ref15$isEmail = _ref15.isEmail,
20891
+ isEmail = _ref15$isEmail === void 0 ? false : _ref15$isEmail,
20892
+ _ref15$helperModal = _ref15.helperModal,
20893
+ helperModal = _ref15$helperModal === void 0 ? false : _ref15$helperModal,
20894
+ field = _ref15.field,
20895
+ fieldActions = _ref15.fieldActions,
20896
+ showErrors = _ref15.showErrors,
20897
+ _ref15$formatter = _ref15.formatter,
20898
+ formatter = _ref15$formatter === void 0 ? null : _ref15$formatter,
20899
+ decorator = _ref15.decorator,
20900
+ themeValues = _ref15.themeValues,
20901
+ background = _ref15.background,
20902
+ customHeight = _ref15.customHeight,
20903
+ extraStyles = _ref15.extraStyles,
20904
+ props = _objectWithoutProperties(_ref15, ["type", "labelTextWhenNoError", "errorMessages", "isNum", "isEmail", "helperModal", "field", "fieldActions", "showErrors", "formatter", "decorator", "themeValues", "background", "customHeight", "extraStyles"]);
20868
20905
 
20869
20906
  var _useState = React.useState(false),
20870
20907
  _useState2 = _slicedToArray(_useState, 2),
@@ -21638,20 +21675,20 @@ function _templateObject7$2() {
21638
21675
  return data;
21639
21676
  }
21640
21677
 
21641
- function _templateObject6$2() {
21678
+ function _templateObject6$3() {
21642
21679
  var data = _taggedTemplateLiteral(["", " needs a number"]);
21643
21680
 
21644
- _templateObject6$2 = function _templateObject6() {
21681
+ _templateObject6$3 = function _templateObject6() {
21645
21682
  return data;
21646
21683
  };
21647
21684
 
21648
21685
  return data;
21649
21686
  }
21650
21687
 
21651
- function _templateObject5$2() {
21688
+ function _templateObject5$3() {
21652
21689
  var data = _taggedTemplateLiteral(["", " is not a valid email address"]);
21653
21690
 
21654
- _templateObject5$2 = function _templateObject5() {
21691
+ _templateObject5$3 = function _templateObject5() {
21655
21692
  return data;
21656
21693
  };
21657
21694
 
@@ -21737,7 +21774,7 @@ with interpolation.
21737
21774
  */
21738
21775
 
21739
21776
 
21740
- var DEFAULT_ERROR_MESSAGES = (_DEFAULT_ERROR_MESSAG = {}, _defineProperty(_DEFAULT_ERROR_MESSAG, MIN_LENGTH_ERROR, genErrorMessage(_templateObject$t(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MAX_LENGTH_ERROR, genErrorMessage(_templateObject2$h(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, EXACT_LENGTH_ERROR, genErrorMessage(_templateObject3$9(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MULTIPLE_LENGTHS_ERROR, genErrorMessage(_templateObject4$4(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, EMAIL_ERROR, genErrorMessage(_templateObject5$2(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_NUMBER_ERROR, genErrorMessage(_templateObject6$2(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_UPPERCASE_LETTER_ERROR, genErrorMessage(_templateObject7$2(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_LOWERCASE_LETTER_ERROR, genErrorMessage(_templateObject8$1(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_SPECIAL_CHARACTER_ERROR, genErrorMessage(_templateObject9$1(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, ONLY_NUMBERS_ERROR, genErrorMessage(_templateObject10$1(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, ONLY_LETTERS_ERROR, genErrorMessage(_templateObject11$1(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, REQUIRED_FIELD_ERROR, genErrorMessage(_templateObject12(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, NUM_GREATER_THAN_ERROR, genErrorMessage(_templateObject13(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, NUM_LESS_THAN_ERROR, genErrorMessage(_templateObject14(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MATCHES_FIELD_ERROR, genErrorMessage(_templateObject15(), "fieldLabel", "matchField")), _defineProperty(_DEFAULT_ERROR_MESSAG, VALID_SELECT_OPTION_ERROR, genErrorMessage(_templateObject16(), "fieldLabel")), _DEFAULT_ERROR_MESSAG); // Constants to represent an input's state
21777
+ var DEFAULT_ERROR_MESSAGES = (_DEFAULT_ERROR_MESSAG = {}, _defineProperty(_DEFAULT_ERROR_MESSAG, MIN_LENGTH_ERROR, genErrorMessage(_templateObject$t(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MAX_LENGTH_ERROR, genErrorMessage(_templateObject2$h(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, EXACT_LENGTH_ERROR, genErrorMessage(_templateObject3$9(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MULTIPLE_LENGTHS_ERROR, genErrorMessage(_templateObject4$4(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, EMAIL_ERROR, genErrorMessage(_templateObject5$3(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_NUMBER_ERROR, genErrorMessage(_templateObject6$3(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_UPPERCASE_LETTER_ERROR, genErrorMessage(_templateObject7$2(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_LOWERCASE_LETTER_ERROR, genErrorMessage(_templateObject8$1(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_SPECIAL_CHARACTER_ERROR, genErrorMessage(_templateObject9$1(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, ONLY_NUMBERS_ERROR, genErrorMessage(_templateObject10$1(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, ONLY_LETTERS_ERROR, genErrorMessage(_templateObject11$1(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, REQUIRED_FIELD_ERROR, genErrorMessage(_templateObject12(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, NUM_GREATER_THAN_ERROR, genErrorMessage(_templateObject13(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, NUM_LESS_THAN_ERROR, genErrorMessage(_templateObject14(), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MATCHES_FIELD_ERROR, genErrorMessage(_templateObject15(), "fieldLabel", "matchField")), _defineProperty(_DEFAULT_ERROR_MESSAG, VALID_SELECT_OPTION_ERROR, genErrorMessage(_templateObject16(), "fieldLabel")), _DEFAULT_ERROR_MESSAG); // Constants to represent an input's state
21741
21778
  // Neutral - has not been validated
21742
21779
  // Invalid - has been validated and has an error
21743
21780
  // Valid - has been validated and has no error
@@ -22090,13 +22127,90 @@ var RadioButton$1 = function RadioButton(_ref2) {
22090
22127
 
22091
22128
  var RadioButton$2 = themeComponent(RadioButton$1, "RadioButton", fallbackValues$p);
22092
22129
 
22130
+ var border$2 = {
22131
+ "default": "1px solid #caced8"
22132
+ };
22133
+ var fallbackValues$q = {
22134
+ border: border$2
22135
+ };
22136
+
22137
+ var SELECT_ALL = "Select All";
22138
+
22139
+ var SearchableSelect = function SearchableSelect(_ref) {
22140
+ var items = _ref.items,
22141
+ selectedItems = _ref.selectedItems,
22142
+ allSelected = _ref.allSelected,
22143
+ toggleSelectAllItems = _ref.toggleSelectAllItems,
22144
+ selectItem = _ref.selectItem,
22145
+ fields = _ref.fields,
22146
+ actions = _ref.actions,
22147
+ disabled = _ref.disabled,
22148
+ themeValues = _ref.themeValues;
22149
+
22150
+ var _useState = React.useState([]),
22151
+ _useState2 = _slicedToArray(_useState, 2),
22152
+ itemList = _useState2[0],
22153
+ setItemList = _useState2[1];
22154
+
22155
+ React.useEffect(function () {
22156
+ return setItemList(items);
22157
+ }, [items, selectedItems]);
22158
+ React.useEffect(function () {
22159
+ var filteredItems = items.filter(function (item) {
22160
+ var _item$name, _fields$searchTerm, _fields$searchTerm$ra;
22161
+
22162
+ return item === null || item === void 0 ? void 0 : (_item$name = item.name) === null || _item$name === void 0 ? void 0 : _item$name.toLowerCase().includes(fields === null || fields === void 0 ? void 0 : (_fields$searchTerm = fields.searchTerm) === null || _fields$searchTerm === void 0 ? void 0 : (_fields$searchTerm$ra = _fields$searchTerm.rawValue) === null || _fields$searchTerm$ra === void 0 ? void 0 : _fields$searchTerm$ra.toLowerCase());
22163
+ });
22164
+ setItemList(filteredItems);
22165
+ }, [fields.searchTerm.rawValue]);
22166
+
22167
+ var handleSelect = function handleSelect(value) {
22168
+ if (value.name === SELECT_ALL) {
22169
+ allSelected ? toggleSelectAllItems(false) : toggleSelectAllItems(true);
22170
+ } else {
22171
+ selectItem(value);
22172
+ }
22173
+ };
22174
+
22175
+ return /*#__PURE__*/React__default.createElement(Box, {
22176
+ padding: "1rem",
22177
+ border: themeValues.border,
22178
+ extraStyles: disabled && "color: #6e727e; background-color: #f7f7f7; pointer-events: none;"
22179
+ }, /*#__PURE__*/React__default.createElement(Stack, null, /*#__PURE__*/React__default.createElement(FormInput$1, {
22180
+ errorMessages: {},
22181
+ field: fields.searchTerm,
22182
+ fieldActions: actions.fields.searchTerm,
22183
+ placeholder: "Search departments",
22184
+ disabled: disabled
22185
+ }), /*#__PURE__*/React__default.createElement(Box, {
22186
+ padding: "0.5rem 0",
22187
+ extraStyles: "overflow-y: scroll; height: 250px;"
22188
+ }, /*#__PURE__*/React__default.createElement(Stack, null, itemList.map(function (value) {
22189
+ return /*#__PURE__*/React__default.createElement(Checkbox$1, {
22190
+ key: value.name,
22191
+ title: value.name,
22192
+ name: value.name,
22193
+ checked: selectedItems.find(function (item) {
22194
+ return item.name === value.name;
22195
+ }),
22196
+ onChange: function onChange() {
22197
+ return handleSelect(value);
22198
+ },
22199
+ textExtraStyles: "margin: 0;",
22200
+ disabled: disabled
22201
+ });
22202
+ })))));
22203
+ };
22204
+
22205
+ var SearchableSelect$1 = themeComponent(SearchableSelect, "SearchableSelect", fallbackValues$q, "default");
22206
+
22093
22207
  var borderColor$2 = {
22094
22208
  "default": "".concat(GREY_CHATEAU)
22095
22209
  };
22096
22210
  var borderSize = {
22097
22211
  "default": "1px"
22098
22212
  };
22099
- var fallbackValues$q = {
22213
+ var fallbackValues$r = {
22100
22214
  borderColor: borderColor$2,
22101
22215
  borderSize: borderSize
22102
22216
  };
@@ -22113,7 +22227,7 @@ var SolidDivider = function SolidDivider(_ref) {
22113
22227
  });
22114
22228
  };
22115
22229
 
22116
- var SolidDivider$1 = themeComponent(SolidDivider, "SolidDivider", fallbackValues$q, "default");
22230
+ var SolidDivider$1 = themeComponent(SolidDivider, "SolidDivider", fallbackValues$r, "default");
22117
22231
 
22118
22232
  var placeHolderOptionUS = {
22119
22233
  text: "Please select state",
@@ -32695,7 +32809,7 @@ var offBackground = "".concat(REGENT_GREY);
32695
32809
  var labelStyles = "\n display: flex;\n justify-content: flex-start;\n align-items: center;\n";
32696
32810
  var rightLabelStyles = "\n ".concat(labelStyles, "\n flex-direction: row;\n");
32697
32811
  var leftLabelStyles = "\n ".concat(labelStyles, "\n flex-direction: row-reverse;\n");
32698
- var fallbackValues$r = {
32812
+ var fallbackValues$s = {
32699
32813
  onBackground: onBackground,
32700
32814
  disabledBackground: disabledBackground,
32701
32815
  white: white,
@@ -32897,7 +33011,7 @@ var ToggleSwitch = function ToggleSwitch(_ref6) {
32897
33011
  }, label))));
32898
33012
  };
32899
33013
 
32900
- var ToggleSwitch$1 = themeComponent(ToggleSwitch, "ToggleSwitch", fallbackValues$r);
33014
+ var ToggleSwitch$1 = themeComponent(ToggleSwitch, "ToggleSwitch", fallbackValues$s);
32901
33015
 
32902
33016
  var background$1 = "".concat(ATHENS_GREY);
32903
33017
  var white$1 = "".concat(WHITE);
@@ -34819,7 +34933,7 @@ ChangePasswordForm.mapDispatchToProps = mapDispatchToProps$1;
34819
34933
  var titleColor = "#292A33";
34820
34934
  var headingBackgroundColor = "transparent";
34821
34935
  var bodyBackgroundColor = "transparent";
34822
- var fallbackValues$s = {
34936
+ var fallbackValues$t = {
34823
34937
  titleColor: titleColor,
34824
34938
  headingBackgroundColor: headingBackgroundColor,
34825
34939
  bodyBackgroundColor: bodyBackgroundColor
@@ -34926,7 +35040,7 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
34926
35040
  }, children))));
34927
35041
  };
34928
35042
 
34929
- var CollapsibleSection$1 = themeComponent(CollapsibleSection, "CollapsibleSection", fallbackValues$s);
35043
+ var CollapsibleSection$1 = themeComponent(CollapsibleSection, "CollapsibleSection", fallbackValues$t);
34930
35044
 
34931
35045
  var EditNameForm = function EditNameForm(_ref) {
34932
35046
  var fields = _ref.fields,
@@ -35156,20 +35270,20 @@ function _templateObject7$3() {
35156
35270
  return data;
35157
35271
  }
35158
35272
 
35159
- function _templateObject6$3() {
35273
+ function _templateObject6$4() {
35160
35274
  var data = _taggedTemplateLiteral(["\n display: flex;\n align-self: center;\n justify-content: flex-end;\n ", ";\n flex: 1;\n"]);
35161
35275
 
35162
- _templateObject6$3 = function _templateObject6() {
35276
+ _templateObject6$4 = function _templateObject6() {
35163
35277
  return data;
35164
35278
  };
35165
35279
 
35166
35280
  return data;
35167
35281
  }
35168
35282
 
35169
- function _templateObject5$3() {
35283
+ function _templateObject5$4() {
35170
35284
  var data = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n flex: 1;\n width: 100%;\n border-bottom: 1px solid ", ";\n"]);
35171
35285
 
35172
- _templateObject5$3 = function _templateObject5() {
35286
+ _templateObject5$4 = function _templateObject5() {
35173
35287
  return data;
35174
35288
  };
35175
35289
 
@@ -35237,8 +35351,8 @@ var EditableListAction = styled__default.div(_templateObject4$6(), MATISSE_BLUE,
35237
35351
  var hide = _ref6.hide;
35238
35352
  return hide ? "none" : "flex";
35239
35353
  });
35240
- var ItemWrapper = styled__default.div(_templateObject5$3(), GHOST_GREY);
35241
- var ActionWrapper = styled__default.div(_templateObject6$3(), function (_ref7) {
35354
+ var ItemWrapper = styled__default.div(_templateObject5$4(), GHOST_GREY);
35355
+ var ActionWrapper = styled__default.div(_templateObject6$4(), function (_ref7) {
35242
35356
  var isMobile = _ref7.isMobile;
35243
35357
  return isMobile && "display: none";
35244
35358
  });
@@ -35442,7 +35556,7 @@ ForgotPasswordForm.mapDispatchToProps = mapDispatchToProps$4;
35442
35556
 
35443
35557
  var textColor$2 = "#ffffff";
35444
35558
  var backgroundColor$5 = "#182848";
35445
- var fallbackValues$t = {
35559
+ var fallbackValues$u = {
35446
35560
  textColor: textColor$2,
35447
35561
  backgroundColor: backgroundColor$5
35448
35562
  };
@@ -35488,7 +35602,7 @@ var HighlightTabRow = function HighlightTabRow(_ref) {
35488
35602
  }), repeat( /*#__PURE__*/React__default.createElement(Box, null), boxesAfter))));
35489
35603
  };
35490
35604
 
35491
- var HighlightTabRow$1 = /*#__PURE__*/React.memo(themeComponent(HighlightTabRow, "HighlightTabRow", fallbackValues$t));
35605
+ var HighlightTabRow$1 = /*#__PURE__*/React.memo(themeComponent(HighlightTabRow, "HighlightTabRow", fallbackValues$u));
35492
35606
 
35493
35607
  var AccountBillIcon = function AccountBillIcon() {
35494
35608
  return /*#__PURE__*/React__default.createElement("svg", {
@@ -36941,6 +37055,182 @@ var PROPERTIES_COMMERCIAL_AUTO_ICON = "PROPERTIES_COMMERCIAL_AUTO";
36941
37055
  var MISC_BILL_ICON = "MISC_SINGLE_BILL";
36942
37056
  var iconsMap = (_iconsMap = {}, _defineProperty(_iconsMap, ACCOUNTS_GENERIC_ICON, AccountGenericIcon), _defineProperty(_iconsMap, ACCOUNTS_CONSTRUCTION_ICON, AccountConstructionIcon), _defineProperty(_iconsMap, ACCOUNTS_HEALTH_ICON, AccountMedicalIcon), _defineProperty(_iconsMap, ACCOUNTS_DENTAL_ICON, AccountDentalIcon), _defineProperty(_iconsMap, ACCOUNTS_UTILITY_ELECTRIC_ICON, AccountElectricIcon), _defineProperty(_iconsMap, ACCOUNTS_UTILITY_GARBAGE_ICON, AccountGarbageIcon), _defineProperty(_iconsMap, ACCOUNTS_UTILITY_GAS_ICON, AccountGasIcon), _defineProperty(_iconsMap, ACCOUNTS_UTILITY_WATER_ICON, AccountWaterIcon), _defineProperty(_iconsMap, PROPERTIES_PERSONAL_ICON, PropertyPersonalIcon), _defineProperty(_iconsMap, PROPERTIES_GARAGE_ICON, PropertyGarageIcon), _defineProperty(_iconsMap, PROPERTIES_BUSINESS_ICON, PropertyBusinessIcon), _defineProperty(_iconsMap, PROPERTIES_STOREFRONT_ICON, PropertyStorefrontIcon), _defineProperty(_iconsMap, PROPERTIES_APARTMENT_ICON, PropertyApartmentIcon), _defineProperty(_iconsMap, PROPERTIES_LAND_ICON, PropertyLandIcon), _defineProperty(_iconsMap, PROPERTIES_CAR_ICON, PropertyCarIcon), _defineProperty(_iconsMap, PROPERTIES_MOTORCYCLE_ICON, PropertyMotorcycleIcon), _defineProperty(_iconsMap, PROPERTIES_COMMERCIAL_AUTO_ICON, PropertyCommercialVehicleIcon), _defineProperty(_iconsMap, MISC_BILL_ICON, AccountBillIcon), _iconsMap);
36943
37057
 
37058
+ var _roleDescriptions;
37059
+ var RESEARCHER = "RESEARCHER";
37060
+ var AGENCY_ADMIN = "AGENCY_ADMIN";
37061
+ var CLIENT_ADMIN = "CLIENT_ADMIN";
37062
+ var SUPERVISOR = "SUPERVISOR";
37063
+ var CB_ADMIN = "CITYBASE_ADMIN";
37064
+ var CREATE_CLIENT_ADMIN = "CREATE_CLIENT_ADMIN";
37065
+ var roleDescriptions = (_roleDescriptions = {}, _defineProperty(_roleDescriptions, RESEARCHER, "Researcher"), _defineProperty(_roleDescriptions, AGENCY_ADMIN, "Agency admin"), _defineProperty(_roleDescriptions, CLIENT_ADMIN, "Client admin"), _defineProperty(_roleDescriptions, SUPERVISOR, "Supervisor"), _defineProperty(_roleDescriptions, CB_ADMIN, "Citybase admin"), _roleDescriptions);
37066
+
37067
+ var InternalUserInfoForm = function InternalUserInfoForm(_ref) {
37068
+ var _ref$variant = _ref.variant,
37069
+ variant = _ref$variant === void 0 ? "default" : _ref$variant,
37070
+ fields = _ref.fields,
37071
+ actions = _ref.actions,
37072
+ clearOnDismount = _ref.clearOnDismount,
37073
+ showErrors = _ref.showErrors,
37074
+ _ref$handleSubmit = _ref.handleSubmit,
37075
+ handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
37076
+ allAgencyOptions = _ref.allAgencyOptions,
37077
+ selectedAgencies = _ref.selectedAgencies,
37078
+ allSelected = _ref.allSelected,
37079
+ toggleSelectAllAgencies = _ref.toggleSelectAllAgencies,
37080
+ selectAgency = _ref.selectAgency,
37081
+ roleOptions = _ref.roleOptions,
37082
+ clientOptions = _ref.clientOptions,
37083
+ disabled = _ref.disabled,
37084
+ emailDisabled = _ref.emailDisabled,
37085
+ roleDisabled = _ref.roleDisabled,
37086
+ formType = _ref.formType;
37087
+ React.useEffect(function () {
37088
+ if (formType === CREATE_CLIENT_ADMIN) {
37089
+ actions.fields.client.addValidator(required());
37090
+ }
37091
+ }, []);
37092
+
37093
+ if (clearOnDismount) {
37094
+ React.useEffect(function () {
37095
+ return function () {
37096
+ return actions.form.clear();
37097
+ };
37098
+ }, []);
37099
+ }
37100
+
37101
+ var clientErrorMessages = _defineProperty({}, required.error, "Client is required");
37102
+
37103
+ var firstNameErrorMessages = _defineProperty({}, required.error, "First name is required");
37104
+
37105
+ var lastNameErrorMessages = _defineProperty({}, required.error, "Last name is required");
37106
+
37107
+ var emailErrorMessages = _defineProperty({}, required.error, "Email is required");
37108
+
37109
+ var roleErrorMessages = _defineProperty({}, required.error, "Role is required");
37110
+
37111
+ return /*#__PURE__*/React__default.createElement(FormContainer$1, {
37112
+ variant: variant,
37113
+ role: "form",
37114
+ "aria-label": "user-info-form"
37115
+ }, /*#__PURE__*/React__default.createElement(Stack, null, formType === CREATE_CLIENT_ADMIN && /*#__PURE__*/React__default.createElement(FormInputColumn, null, /*#__PURE__*/React__default.createElement(Heading$1, {
37116
+ variant: "h6",
37117
+ weight: "700",
37118
+ margin: "0 0 1rem"
37119
+ }, "Select Client"), /*#__PURE__*/React__default.createElement(FormSelect$1, {
37120
+ labelTextWhenNoError: "Client",
37121
+ errorMessages: clientErrorMessages,
37122
+ options: clientOptions.map(function (client) {
37123
+ return {
37124
+ text: client,
37125
+ value: client,
37126
+ id: client
37127
+ };
37128
+ }),
37129
+ field: fields.client,
37130
+ fieldActions: actions.fields.client,
37131
+ showErrors: showErrors,
37132
+ onKeyDown: function onKeyDown(e) {
37133
+ return e.key === "Enter" && handleSubmit(e);
37134
+ }
37135
+ })), /*#__PURE__*/React__default.createElement(FormInputColumn, null, /*#__PURE__*/React__default.createElement(Heading$1, {
37136
+ variant: "h6",
37137
+ weight: "700",
37138
+ margin: "0 0 1rem"
37139
+ }, "Personal Information"), /*#__PURE__*/React__default.createElement(FormInput$1, {
37140
+ labelTextWhenNoError: "First Name",
37141
+ errorMessages: firstNameErrorMessages,
37142
+ field: fields.firstName,
37143
+ fieldActions: actions.fields.firstName,
37144
+ showErrors: showErrors,
37145
+ onKeyDown: function onKeyDown(e) {
37146
+ return e.key === "Enter" && handleSubmit(e);
37147
+ }
37148
+ }), /*#__PURE__*/React__default.createElement(FormInput$1, {
37149
+ labelTextWhenNoError: "Last Name",
37150
+ errorMessages: lastNameErrorMessages,
37151
+ field: fields.lastName,
37152
+ fieldActions: actions.fields.lastName,
37153
+ showErrors: showErrors,
37154
+ onKeyDown: function onKeyDown(e) {
37155
+ return e.key === "Enter" && handleSubmit(e);
37156
+ }
37157
+ }), /*#__PURE__*/React__default.createElement(FormInput$1, {
37158
+ labelTextWhenNoError: "Email",
37159
+ errorMessages: emailErrorMessages,
37160
+ field: fields.email,
37161
+ fieldActions: actions.fields.email,
37162
+ showErrors: showErrors,
37163
+ onKeyDown: function onKeyDown(e) {
37164
+ return e.key === "Enter" && handleSubmit(e);
37165
+ },
37166
+ disabled: disabled || emailDisabled
37167
+ })), /*#__PURE__*/React__default.createElement(FormInputColumn, null, /*#__PURE__*/React__default.createElement(Heading$1, {
37168
+ variant: "h6",
37169
+ weight: "700",
37170
+ margin: "0 0 1rem"
37171
+ }, "Dashboard Settings"), /*#__PURE__*/React__default.createElement(FormSelect$1, {
37172
+ labelTextWhenNoError: "Role",
37173
+ errorMessages: roleErrorMessages,
37174
+ options: roleOptions.map(function (role) {
37175
+ return {
37176
+ text: roleDescriptions[role],
37177
+ value: role,
37178
+ id: role
37179
+ };
37180
+ }),
37181
+ field: fields.role,
37182
+ fieldActions: actions.fields.role,
37183
+ showErrors: showErrors,
37184
+ onKeyDown: function onKeyDown(e) {
37185
+ return e.key === "Enter" && handleSubmit(e);
37186
+ },
37187
+ disabled: disabled || roleDisabled
37188
+ })), formType !== CREATE_CLIENT_ADMIN && /*#__PURE__*/React__default.createElement(FormInputColumn, null, /*#__PURE__*/React__default.createElement(Heading$1, {
37189
+ variant: "h6",
37190
+ weight: "700",
37191
+ margin: "0 0 1rem"
37192
+ }, "Select Agencies"), /*#__PURE__*/React__default.createElement(SearchableSelect$1, {
37193
+ actions: actions,
37194
+ fields: fields,
37195
+ items: allAgencyOptions,
37196
+ selectedItems: selectedAgencies,
37197
+ allSelected: allSelected,
37198
+ toggleSelectAllItems: toggleSelectAllAgencies,
37199
+ selectItem: selectAgency,
37200
+ disabled: disabled
37201
+ }))));
37202
+ };
37203
+
37204
+ var formConfig$5 = {
37205
+ client: {
37206
+ validators: []
37207
+ },
37208
+ firstName: {
37209
+ validators: [required()]
37210
+ },
37211
+ lastName: {
37212
+ validators: [required()]
37213
+ },
37214
+ email: {
37215
+ validators: [required(), isProbablyEmail()]
37216
+ },
37217
+ role: {
37218
+ validators: [required()]
37219
+ },
37220
+ searchTerm: {
37221
+ validators: []
37222
+ }
37223
+ };
37224
+
37225
+ var _createFormState$5 = createFormState(formConfig$5),
37226
+ reducer$5 = _createFormState$5.reducer,
37227
+ mapStateToProps$6 = _createFormState$5.mapStateToProps,
37228
+ mapDispatchToProps$5 = _createFormState$5.mapDispatchToProps;
37229
+
37230
+ InternalUserInfoForm.reducer = reducer$5;
37231
+ InternalUserInfoForm.mapStateToProps = mapStateToProps$6;
37232
+ InternalUserInfoForm.mapDispatchToProps = mapDispatchToProps$5;
37233
+
36944
37234
  var LoginForm = function LoginForm(_ref) {
36945
37235
  var _emailErrorMessages;
36946
37236
 
@@ -36990,7 +37280,7 @@ var LoginForm = function LoginForm(_ref) {
36990
37280
  }));
36991
37281
  };
36992
37282
 
36993
- var formConfig$5 = {
37283
+ var formConfig$6 = {
36994
37284
  email: {
36995
37285
  validators: [required(), isProbablyEmail()]
36996
37286
  },
@@ -36999,14 +37289,14 @@ var formConfig$5 = {
36999
37289
  }
37000
37290
  };
37001
37291
 
37002
- var _createFormState$5 = createFormState(formConfig$5),
37003
- reducer$5 = _createFormState$5.reducer,
37004
- mapStateToProps$6 = _createFormState$5.mapStateToProps,
37005
- mapDispatchToProps$5 = _createFormState$5.mapDispatchToProps;
37292
+ var _createFormState$6 = createFormState(formConfig$6),
37293
+ reducer$6 = _createFormState$6.reducer,
37294
+ mapStateToProps$7 = _createFormState$6.mapStateToProps,
37295
+ mapDispatchToProps$6 = _createFormState$6.mapDispatchToProps;
37006
37296
 
37007
- LoginForm.reducer = reducer$5;
37008
- LoginForm.mapStateToProps = mapStateToProps$6;
37009
- LoginForm.mapDispatchToProps = mapDispatchToProps$5;
37297
+ LoginForm.reducer = reducer$6;
37298
+ LoginForm.mapStateToProps = mapStateToProps$7;
37299
+ LoginForm.mapDispatchToProps = mapDispatchToProps$6;
37010
37300
 
37011
37301
  var candidateSelectors = [
37012
37302
  'input',
@@ -38313,7 +38603,7 @@ var backgroundColor$6 = {
38313
38603
  "default": WHITE,
38314
38604
  largeTitle: WHITE
38315
38605
  };
38316
- var fallbackValues$u = {
38606
+ var fallbackValues$v = {
38317
38607
  fontSize: fontSize$8,
38318
38608
  fontWeight: fontWeight$5,
38319
38609
  fontColor: fontColor,
@@ -38354,7 +38644,7 @@ var Module = function Module(_ref) {
38354
38644
  }, children)));
38355
38645
  };
38356
38646
 
38357
- var Module$1 = /*#__PURE__*/React.memo(themeComponent(Module, "Module", fallbackValues$u, "default"));
38647
+ var Module$1 = /*#__PURE__*/React.memo(themeComponent(Module, "Module", fallbackValues$v, "default"));
38358
38648
 
38359
38649
  var backgroundColor$7 = {
38360
38650
  profile: "#3b414d",
@@ -38364,7 +38654,7 @@ var shadowColor = {
38364
38654
  profile: "#292A33",
38365
38655
  cms: "#292A33"
38366
38656
  };
38367
- var fallbackValues$v = {
38657
+ var fallbackValues$w = {
38368
38658
  backgroundColor: backgroundColor$7,
38369
38659
  shadowColor: shadowColor
38370
38660
  };
@@ -38405,7 +38695,7 @@ var NavMenuDesktop = function NavMenuDesktop(_ref) {
38405
38695
  }, menuContent));
38406
38696
  };
38407
38697
 
38408
- var NavMenuDesktop$1 = themeComponent(NavMenuDesktop, "NavMenu", fallbackValues$v, "profile");
38698
+ var NavMenuDesktop$1 = themeComponent(NavMenuDesktop, "NavMenu", fallbackValues$w, "profile");
38409
38699
 
38410
38700
  function _templateObject$z() {
38411
38701
  var data = _taggedTemplateLiteral(["\n position: fixed;\n top: 72px;\n"]);
@@ -38467,7 +38757,7 @@ var NavMenuMobile = function NavMenuMobile(_ref) {
38467
38757
  }, menuContent));
38468
38758
  };
38469
38759
 
38470
- var NavMenuMobile$1 = themeComponent(NavMenuMobile, "NavMenu", fallbackValues$v, "profile");
38760
+ var NavMenuMobile$1 = themeComponent(NavMenuMobile, "NavMenu", fallbackValues$w, "profile");
38471
38761
 
38472
38762
  var IconsModule = function IconsModule(_ref) {
38473
38763
  var icon = _ref.icon,
@@ -38521,7 +38811,7 @@ var activeColor$5 = "#0E506D";
38521
38811
  var linkColor$3 = "#357fb8";
38522
38812
  var fontWeight$6 = FONT_WEIGHT_REGULAR;
38523
38813
  var modalLinkHoverFocus = "outline: none;\n cursor: pointer;\n text-decoration: underline;\n text-decoration-color: #317D4F;";
38524
- var fallbackValues$w = {
38814
+ var fallbackValues$x = {
38525
38815
  color: color$a,
38526
38816
  hoverColor: hoverColor$4,
38527
38817
  activeColor: activeColor$5,
@@ -38604,7 +38894,7 @@ var AutopayModal = function AutopayModal(_ref) {
38604
38894
  }, "".concat(planType, " ").concat(nextAutopayDate)))));
38605
38895
  };
38606
38896
 
38607
- var AutopayModalModule = themeComponent(AutopayModal, "AutopayModal", fallbackValues$w);
38897
+ var AutopayModalModule = themeComponent(AutopayModal, "AutopayModal", fallbackValues$x);
38608
38898
 
38609
38899
  var AmountModule = function AmountModule(_ref) {
38610
38900
  var totalAmountDue = _ref.totalAmountDue,
@@ -39172,7 +39462,7 @@ var labeledAmountTotal = {
39172
39462
  "default": "h6",
39173
39463
  small: "pL"
39174
39464
  };
39175
- var fallbackValues$x = {
39465
+ var fallbackValues$y = {
39176
39466
  backgroundColor: backgroundColor$8,
39177
39467
  lineItem: lineItem,
39178
39468
  labeledAmountSubtotal: labeledAmountSubtotal,
@@ -39348,7 +39638,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
39348
39638
  });
39349
39639
  };
39350
39640
 
39351
- var PaymentDetails$1 = themeComponent(PaymentDetails, "PaymentDetails", fallbackValues$x, "default");
39641
+ var PaymentDetails$1 = themeComponent(PaymentDetails, "PaymentDetails", fallbackValues$y, "default");
39352
39642
 
39353
39643
  var linkColor$4 = {
39354
39644
  "default": "#357fb8"
@@ -39365,7 +39655,7 @@ var fontWeight$7 = {
39365
39655
  var modalLinkHoverFocus$1 = {
39366
39656
  "default": "outline: none; text-decoration: underline;"
39367
39657
  };
39368
- var fallbackValues$y = {
39658
+ var fallbackValues$z = {
39369
39659
  linkColor: linkColor$4,
39370
39660
  fontSize: fontSize$9,
39371
39661
  lineHeight: lineHeight$5,
@@ -39424,7 +39714,7 @@ var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
39424
39714
  }, link));
39425
39715
  };
39426
39716
 
39427
- var AccountAndRoutingModal$1 = themeComponent(AccountAndRoutingModal, "AccountAndRoutingModal", fallbackValues$y, "default");
39717
+ var AccountAndRoutingModal$1 = themeComponent(AccountAndRoutingModal, "AccountAndRoutingModal", fallbackValues$z, "default");
39428
39718
 
39429
39719
  var PaymentFormACH = function PaymentFormACH(_ref) {
39430
39720
  var _routingNumberErrors, _accountNumberErrors;
@@ -39579,7 +39869,7 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
39579
39869
  })));
39580
39870
  };
39581
39871
 
39582
- var formConfig$6 = {
39872
+ var formConfig$7 = {
39583
39873
  name: {
39584
39874
  validators: [required()]
39585
39875
  },
@@ -39605,14 +39895,14 @@ var formConfig$6 = {
39605
39895
  }
39606
39896
  };
39607
39897
 
39608
- var _createFormState$6 = createFormState(formConfig$6),
39609
- reducer$6 = _createFormState$6.reducer,
39610
- mapStateToProps$7 = _createFormState$6.mapStateToProps,
39611
- mapDispatchToProps$6 = _createFormState$6.mapDispatchToProps;
39898
+ var _createFormState$7 = createFormState(formConfig$7),
39899
+ reducer$7 = _createFormState$7.reducer,
39900
+ mapStateToProps$8 = _createFormState$7.mapStateToProps,
39901
+ mapDispatchToProps$7 = _createFormState$7.mapDispatchToProps;
39612
39902
 
39613
- PaymentFormACH.reducer = reducer$6;
39614
- PaymentFormACH.mapStateToProps = mapStateToProps$7;
39615
- PaymentFormACH.mapDispatchToProps = mapDispatchToProps$6;
39903
+ PaymentFormACH.reducer = reducer$7;
39904
+ PaymentFormACH.mapStateToProps = mapStateToProps$8;
39905
+ PaymentFormACH.mapDispatchToProps = mapDispatchToProps$7;
39616
39906
 
39617
39907
  var PaymentFormCard = function PaymentFormCard(_ref) {
39618
39908
  var _creditCardNumberErro, _expirationDateErrors, _cvvErrors, _zipCodeErrors;
@@ -39740,7 +40030,7 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
39740
40030
  })));
39741
40031
  };
39742
40032
 
39743
- var formConfig$7 = {
40033
+ var formConfig$8 = {
39744
40034
  country: {
39745
40035
  defaultValue: "US",
39746
40036
  validators: [required()]
@@ -39766,14 +40056,14 @@ var formConfig$7 = {
39766
40056
  }
39767
40057
  };
39768
40058
 
39769
- var _createFormState$7 = createFormState(formConfig$7),
39770
- reducer$7 = _createFormState$7.reducer,
39771
- mapStateToProps$8 = _createFormState$7.mapStateToProps,
39772
- mapDispatchToProps$7 = _createFormState$7.mapDispatchToProps;
40059
+ var _createFormState$8 = createFormState(formConfig$8),
40060
+ reducer$8 = _createFormState$8.reducer,
40061
+ mapStateToProps$9 = _createFormState$8.mapStateToProps,
40062
+ mapDispatchToProps$8 = _createFormState$8.mapDispatchToProps;
39773
40063
 
39774
- PaymentFormCard.reducer = reducer$7;
39775
- PaymentFormCard.mapStateToProps = mapStateToProps$8;
39776
- PaymentFormCard.mapDispatchToProps = mapDispatchToProps$7;
40064
+ PaymentFormCard.reducer = reducer$8;
40065
+ PaymentFormCard.mapStateToProps = mapStateToProps$9;
40066
+ PaymentFormCard.mapDispatchToProps = mapDispatchToProps$8;
39777
40067
 
39778
40068
  var PhoneForm = function PhoneForm(_ref) {
39779
40069
  var _phoneErrorMessage;
@@ -39822,28 +40112,28 @@ var PhoneForm = function PhoneForm(_ref) {
39822
40112
  })));
39823
40113
  };
39824
40114
 
39825
- var formConfig$8 = {
40115
+ var formConfig$9 = {
39826
40116
  phone: {
39827
40117
  validators: [required(), hasLength(10, 10)],
39828
40118
  constraints: [onlyIntegers(), hasLength(0, 10)]
39829
40119
  }
39830
40120
  };
39831
40121
 
39832
- var _createFormState$8 = createFormState(formConfig$8),
39833
- reducer$8 = _createFormState$8.reducer,
39834
- mapStateToProps$9 = _createFormState$8.mapStateToProps,
39835
- mapDispatchToProps$8 = _createFormState$8.mapDispatchToProps;
40122
+ var _createFormState$9 = createFormState(formConfig$9),
40123
+ reducer$9 = _createFormState$9.reducer,
40124
+ mapStateToProps$a = _createFormState$9.mapStateToProps,
40125
+ mapDispatchToProps$9 = _createFormState$9.mapDispatchToProps;
39836
40126
 
39837
- PhoneForm.reducer = reducer$8;
39838
- PhoneForm.mapStateToProps = mapStateToProps$9;
39839
- PhoneForm.mapDispatchToProps = mapDispatchToProps$8;
40127
+ PhoneForm.reducer = reducer$9;
40128
+ PhoneForm.mapStateToProps = mapStateToProps$a;
40129
+ PhoneForm.mapDispatchToProps = mapDispatchToProps$9;
39840
40130
 
39841
40131
  var headingBackgroundColor$1 = "".concat(WHITE);
39842
40132
  var headingDisabledColor = "".concat(ATHENS_GREY);
39843
40133
  var bodyBackgroundColor$1 = "#eeeeee";
39844
40134
  var borderColor$3 = "".concat(GREY_CHATEAU);
39845
40135
  var focusStyles = "outline: none;";
39846
- var fallbackValues$z = {
40136
+ var fallbackValues$A = {
39847
40137
  headingBackgroundColor: headingBackgroundColor$1,
39848
40138
  headingDisabledColor: headingDisabledColor,
39849
40139
  bodyBackgroundColor: bodyBackgroundColor$1,
@@ -40066,7 +40356,7 @@ var RadioSection = function RadioSection(_ref) {
40066
40356
  })));
40067
40357
  };
40068
40358
 
40069
- var RadioSection$1 = themeComponent(RadioSection, "RadioSection", fallbackValues$z);
40359
+ var RadioSection$1 = themeComponent(RadioSection, "RadioSection", fallbackValues$A);
40070
40360
 
40071
40361
  var RegistrationForm = function RegistrationForm(_ref) {
40072
40362
  var _emailErrorMessages, _passwordErrorMessage;
@@ -40156,7 +40446,7 @@ var RegistrationForm = function RegistrationForm(_ref) {
40156
40446
  })));
40157
40447
  };
40158
40448
 
40159
- var formConfig$9 = {
40449
+ var formConfig$a = {
40160
40450
  firstName: {
40161
40451
  validators: [required()]
40162
40452
  },
@@ -40174,14 +40464,14 @@ var formConfig$9 = {
40174
40464
  }
40175
40465
  };
40176
40466
 
40177
- var _createFormState$9 = createFormState(formConfig$9),
40178
- reducer$9 = _createFormState$9.reducer,
40179
- mapStateToProps$a = _createFormState$9.mapStateToProps,
40180
- mapDispatchToProps$9 = _createFormState$9.mapDispatchToProps;
40467
+ var _createFormState$a = createFormState(formConfig$a),
40468
+ reducer$a = _createFormState$a.reducer,
40469
+ mapStateToProps$b = _createFormState$a.mapStateToProps,
40470
+ mapDispatchToProps$a = _createFormState$a.mapDispatchToProps;
40181
40471
 
40182
- RegistrationForm.reducer = reducer$9;
40183
- RegistrationForm.mapStateToProps = mapStateToProps$a;
40184
- RegistrationForm.mapDispatchToProps = mapDispatchToProps$9;
40472
+ RegistrationForm.reducer = reducer$a;
40473
+ RegistrationForm.mapStateToProps = mapStateToProps$b;
40474
+ RegistrationForm.mapDispatchToProps = mapDispatchToProps$a;
40185
40475
 
40186
40476
  var ResetConfirmationForm = function ResetConfirmationForm() {
40187
40477
  var _useContext = React.useContext(styled.ThemeContext),
@@ -40286,7 +40576,7 @@ var ResetPasswordForm = function ResetPasswordForm(_ref) {
40286
40576
  })));
40287
40577
  };
40288
40578
 
40289
- var formConfig$a = {
40579
+ var formConfig$b = {
40290
40580
  password: {
40291
40581
  validators: [required(), hasLength(8, 100), hasNumber(), hasLowercaseLetter(), hasUppercaseLetter(), hasSpecialCharacter()]
40292
40582
  },
@@ -40295,14 +40585,14 @@ var formConfig$a = {
40295
40585
  }
40296
40586
  };
40297
40587
 
40298
- var _createFormState$a = createFormState(formConfig$a),
40299
- reducer$a = _createFormState$a.reducer,
40300
- mapStateToProps$b = _createFormState$a.mapStateToProps,
40301
- mapDispatchToProps$a = _createFormState$a.mapDispatchToProps;
40588
+ var _createFormState$b = createFormState(formConfig$b),
40589
+ reducer$b = _createFormState$b.reducer,
40590
+ mapStateToProps$c = _createFormState$b.mapStateToProps,
40591
+ mapDispatchToProps$b = _createFormState$b.mapDispatchToProps;
40302
40592
 
40303
- ResetPasswordForm.reducer = reducer$a;
40304
- ResetPasswordForm.mapStateToProps = mapStateToProps$b;
40305
- ResetPasswordForm.mapDispatchToProps = mapDispatchToProps$a;
40593
+ ResetPasswordForm.reducer = reducer$b;
40594
+ ResetPasswordForm.mapStateToProps = mapStateToProps$c;
40595
+ ResetPasswordForm.mapDispatchToProps = mapDispatchToProps$b;
40306
40596
 
40307
40597
  var ResetConfirmationForm$2 = function ResetConfirmationForm() {
40308
40598
  var _useContext = React.useContext(styled.ThemeContext),
@@ -40356,12 +40646,94 @@ var ResetPasswordSuccess = withWindowSize(ResetConfirmationForm$2);
40356
40646
  var activeTabBackground = "#FFFFFF";
40357
40647
  var activeTabAccent = "#15749D";
40358
40648
  var activeTabHover = "#B8D5E1";
40359
- var fallbackValues$A = {
40649
+ var fallbackValues$B = {
40360
40650
  activeTabBackground: activeTabBackground,
40361
40651
  activeTabAccent: activeTabAccent,
40362
40652
  activeTabHover: activeTabHover
40363
40653
  };
40364
40654
 
40655
+ var Tab = function Tab(_ref) {
40656
+ var label = _ref.label,
40657
+ activeTab = _ref.activeTab,
40658
+ setActiveTab = _ref.setActiveTab;
40659
+
40660
+ var onClick = function onClick() {
40661
+ setActiveTab(label);
40662
+ };
40663
+
40664
+ var className = "tab-list-item";
40665
+
40666
+ if (activeTab === label) {
40667
+ className += " tab-list-active";
40668
+ }
40669
+
40670
+ return /*#__PURE__*/React__default.createElement(Box, {
40671
+ className: className,
40672
+ onClick: onClick,
40673
+ margin: "0 0 -1px 0",
40674
+ padding: "0.5rem 0.75rem",
40675
+ background: activeTab === label ? WHITE : GRECIAN_GREY,
40676
+ extraStyles: "cursor: pointer; flex-grow: 1; text-align: center; ".concat(activeTab === label ? "list-style: none;" : "")
40677
+ }, /*#__PURE__*/React__default.createElement(Text$1, null, label));
40678
+ };
40679
+
40680
+ var HORIZONTAL = "horizontal";
40681
+
40682
+ var Tabs = function Tabs(_ref) {
40683
+ var tabsConfig = _ref.tabsConfig,
40684
+ tabsDisplayMode = _ref.tabsDisplayMode;
40685
+
40686
+ var _useState = React.useState(tabsConfig.tabs[0].label),
40687
+ _useState2 = _slicedToArray(_useState, 2),
40688
+ activeTab = _useState2[0],
40689
+ toggleActiveTab = _useState2[1];
40690
+
40691
+ var createTabs = function createTabs(tabConfig, activeTab) {
40692
+ return tabConfig.tabs.map(function (tab) {
40693
+ return /*#__PURE__*/React__default.createElement(Tab, {
40694
+ activeTab: activeTab,
40695
+ key: tab.label,
40696
+ label: tab.label,
40697
+ setActiveTab: function setActiveTab() {
40698
+ return toggleActiveTab(tab.label);
40699
+ }
40700
+ });
40701
+ });
40702
+ };
40703
+
40704
+ var showHorozontal = function showHorozontal(tabsConfig, activeTab) {
40705
+ return /*#__PURE__*/React__default.createElement(Cluster, {
40706
+ justify: "space-around"
40707
+ }, createTabs(tabsConfig, activeTab));
40708
+ };
40709
+
40710
+ var showVertical = function showVertical(tabsConfig, activeTab) {
40711
+ return /*#__PURE__*/React__default.createElement(Stack, null, createTabs(tabsConfig, activeTab));
40712
+ };
40713
+
40714
+ return /*#__PURE__*/React__default.createElement(Box, {
40715
+ className: "tabs"
40716
+ }, /*#__PURE__*/React__default.createElement(Box, {
40717
+ className: "tab-list"
40718
+ }, tabsDisplayMode == HORIZONTAL ? showHorozontal(tabsConfig, activeTab) : showVertical(tabsConfig, activeTab)), /*#__PURE__*/React__default.createElement(Box, {
40719
+ className: "tab-content"
40720
+ }, /*#__PURE__*/React__default.createElement(Box, null, tabsConfig.tabs.map(function (tab) {
40721
+ if (tab.label !== activeTab) return undefined;
40722
+ return tab.content;
40723
+ }))));
40724
+ };
40725
+
40726
+ var Tabs$1 = themeComponent(Tabs, "NavigationTab", fallbackValues$B);
40727
+
40728
+ var activeTabBackground$1 = "#FFFFFF";
40729
+ var activeTabAccent$1 = "#15749D";
40730
+ var activeTabHover$1 = "#B8D5E1";
40731
+ var fallbackValues$C = {
40732
+ activeTabBackground: activeTabBackground$1,
40733
+ activeTabAccent: activeTabAccent$1,
40734
+ activeTabHover: activeTabHover$1
40735
+ };
40736
+
40365
40737
  var TabSidebar = function TabSidebar(_ref) {
40366
40738
  var links = _ref.links,
40367
40739
  isMobile = _ref.isMobile,
@@ -40412,7 +40784,7 @@ var TabSidebar = function TabSidebar(_ref) {
40412
40784
  })));
40413
40785
  };
40414
40786
 
40415
- var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$A);
40787
+ var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$C);
40416
40788
 
40417
40789
  var backgroundColor$9 = {
40418
40790
  "default": "#ffffff",
@@ -40422,7 +40794,7 @@ var linkColor$5 = {
40422
40794
  "default": "#357fb8",
40423
40795
  footer: "#ffffff"
40424
40796
  };
40425
- var border$2 = {
40797
+ var border$3 = {
40426
40798
  "default": "#cdcdcd",
40427
40799
  footer: "#cdcdcd"
40428
40800
  };
@@ -40446,10 +40818,10 @@ var accessibilityColor = {
40446
40818
  "default": "#3181E3",
40447
40819
  footer: "#3181E3"
40448
40820
  };
40449
- var fallbackValues$B = {
40821
+ var fallbackValues$D = {
40450
40822
  backgroundColor: backgroundColor$9,
40451
40823
  linkColor: linkColor$5,
40452
- border: border$2,
40824
+ border: border$3,
40453
40825
  fontSize: fontSize$a,
40454
40826
  lineHeight: lineHeight$6,
40455
40827
  fontWeight: fontWeight$8,
@@ -40508,7 +40880,7 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
40508
40880
  }, link));
40509
40881
  };
40510
40882
 
40511
- var TermsAndConditionsModal$1 = themeComponent(TermsAndConditionsModal, "TermsAndConditionsModal", fallbackValues$B, "default");
40883
+ var TermsAndConditionsModal$1 = themeComponent(TermsAndConditionsModal, "TermsAndConditionsModal", fallbackValues$D, "default");
40512
40884
 
40513
40885
  var TermsAndConditions = function TermsAndConditions(_ref) {
40514
40886
  var onCheck = _ref.onCheck,
@@ -40583,7 +40955,7 @@ var fontColor$1 = WHITE;
40583
40955
  var textAlign$1 = "left";
40584
40956
  var headerBackgroundColor = BRIGHT_GREY;
40585
40957
  var imageBackgroundColor = MATISSE_BLUE;
40586
- var fallbackValues$C = {
40958
+ var fallbackValues$E = {
40587
40959
  fontWeight: fontWeight$9,
40588
40960
  fontColor: fontColor$1,
40589
40961
  textAlign: textAlign$1,
@@ -40636,7 +41008,7 @@ var WelcomeModule = function WelcomeModule(_ref) {
40636
41008
  })))));
40637
41009
  };
40638
41010
 
40639
- var WelcomeModule$1 = /*#__PURE__*/React.memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$C));
41011
+ var WelcomeModule$1 = /*#__PURE__*/React.memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$E));
40640
41012
 
40641
41013
  var WorkflowTile = function WorkflowTile(_ref) {
40642
41014
  var _ref$workflowName = _ref.workflowName,
@@ -40684,7 +41056,7 @@ var WorkflowTile = function WorkflowTile(_ref) {
40684
41056
  };
40685
41057
 
40686
41058
  var pageBackground = "#F6F6F9";
40687
- var fallbackValues$D = {
41059
+ var fallbackValues$F = {
40688
41060
  pageBackground: pageBackground
40689
41061
  };
40690
41062
 
@@ -40731,7 +41103,7 @@ var CenterSingle = function CenterSingle(_ref) {
40731
41103
  })));
40732
41104
  };
40733
41105
 
40734
- var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$D));
41106
+ var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$F));
40735
41107
 
40736
41108
  var CenterStack = function CenterStack(_ref) {
40737
41109
  var header = _ref.header,
@@ -40773,7 +41145,7 @@ var CenterStack = function CenterStack(_ref) {
40773
41145
  })));
40774
41146
  };
40775
41147
 
40776
- var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$D));
41148
+ var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$F));
40777
41149
 
40778
41150
  var CenterSingle$2 = function CenterSingle(_ref) {
40779
41151
  var header = _ref.header,
@@ -40813,7 +41185,7 @@ var CenterSingle$2 = function CenterSingle(_ref) {
40813
41185
  })));
40814
41186
  };
40815
41187
 
40816
- var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$D));
41188
+ var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$F));
40817
41189
 
40818
41190
  var SidebarSingleContent = function SidebarSingleContent(_ref) {
40819
41191
  var header = _ref.header,
@@ -40867,7 +41239,7 @@ var SidebarSingleContent = function SidebarSingleContent(_ref) {
40867
41239
  })));
40868
41240
  };
40869
41241
 
40870
- var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$D));
41242
+ var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$F));
40871
41243
 
40872
41244
  var SidebarStackContent = function SidebarStackContent(_ref) {
40873
41245
  var header = _ref.header,
@@ -40938,7 +41310,7 @@ var SidebarStackContent = function SidebarStackContent(_ref) {
40938
41310
  })));
40939
41311
  };
40940
41312
 
40941
- var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$D));
41313
+ var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$F));
40942
41314
 
40943
41315
 
40944
41316
 
@@ -41025,6 +41397,7 @@ exports.IconAdd = IconAdd;
41025
41397
  exports.IconQuitLarge = IconQuitLarge;
41026
41398
  exports.Imposter = Imposter;
41027
41399
  exports.InternalLink = InternalLink;
41400
+ exports.InternalUserInfoForm = InternalUserInfoForm;
41028
41401
  exports.Jumbo = Jumbo$1;
41029
41402
  exports.LabeledAmount = LabeledAmount$1;
41030
41403
  exports.LineItem = LineItem$1;
@@ -41072,6 +41445,7 @@ exports.ResetPasswordForm = ResetPasswordForm;
41072
41445
  exports.ResetPasswordSuccess = ResetPasswordSuccess;
41073
41446
  exports.RoutingNumberImage = RoutingNumberImage;
41074
41447
  exports.SearchIcon = SearchIcon;
41448
+ exports.SearchableSelect = SearchableSelect$1;
41075
41449
  exports.SettingsIconSmall = SettingsIconSmall$1;
41076
41450
  exports.ShoppingCartIcon = ShoppingCartIcon;
41077
41451
  exports.Sidebar = Sidebar;
@@ -41086,6 +41460,7 @@ exports.SuccessfulIcon = SuccessfulIcon;
41086
41460
  exports.Switcher = Switcher;
41087
41461
  exports.TabSidebar = TabSidebar$1;
41088
41462
  exports.TableListItem = TableListItem;
41463
+ exports.Tabs = Tabs$1;
41089
41464
  exports.TermsAndConditions = TermsAndConditions;
41090
41465
  exports.TermsAndConditionsModal = TermsAndConditionsModal$1;
41091
41466
  exports.Text = Text$1;