@thecb/components 4.3.2 → 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 +450 -156
- package/package.json +1 -1
- package/src/components/atoms/checkbox/Checkbox.js +13 -4
- package/src/components/atoms/checkbox/Checkbox.theme.js +10 -2
- package/src/components/atoms/dropdown/Dropdown.js +23 -5
- package/src/components/atoms/form-layouts/FormInput.js +14 -0
- package/src/components/atoms/form-select/FormSelect.js +3 -1
- package/src/components/atoms/index.js +1 -0
- package/src/components/atoms/searchable-select/SearchableSelect.js +84 -0
- package/src/components/atoms/searchable-select/SearchableSelect.theme.js +7 -0
- package/src/components/atoms/searchable-select/index.js +3 -0
- package/src/components/molecules/index.js +1 -0
- package/src/components/molecules/internal-user-info-form/InternalUserInfoForm.js +165 -0
- package/src/components/molecules/internal-user-info-form/InternalUserInfoForm.state.js +26 -0
- package/src/components/molecules/internal-user-info-form/index.js +11 -0
package/dist/index.cjs.js
CHANGED
|
@@ -18581,7 +18581,7 @@ var textColor = {
|
|
|
18581
18581
|
"default": "".concat(CHARADE_GREY)
|
|
18582
18582
|
};
|
|
18583
18583
|
var disabledCheckColor = {
|
|
18584
|
-
"default": "".concat(
|
|
18584
|
+
"default": "".concat(WHITE, ";")
|
|
18585
18585
|
};
|
|
18586
18586
|
var checkColor = {
|
|
18587
18587
|
"default": "".concat(WHITE, ";")
|
|
@@ -18592,6 +18592,9 @@ var errorStyles = {
|
|
|
18592
18592
|
var focusedStyles = {
|
|
18593
18593
|
"default": "box-shadow: 0 0 5px 0 ".concat(MATISSE_BLUE, ";")
|
|
18594
18594
|
};
|
|
18595
|
+
var disabledCheckedStyles = {
|
|
18596
|
+
"default": "\n background: #6d717e;\n border: 1px solid #6d717e;\n"
|
|
18597
|
+
};
|
|
18595
18598
|
var disabledStyles = {
|
|
18596
18599
|
"default": "\n background: ".concat(SEASHELL_WHITE, ";\n border: 1px solid ").concat(GHOST_GREY, ";\n")
|
|
18597
18600
|
};
|
|
@@ -18613,7 +18616,8 @@ var fallbackValues$c = {
|
|
|
18613
18616
|
focusedStyles: focusedStyles,
|
|
18614
18617
|
disabledStyles: disabledStyles,
|
|
18615
18618
|
checkedStyles: checkedStyles,
|
|
18616
|
-
defaultStyles: defaultStyles
|
|
18619
|
+
defaultStyles: defaultStyles,
|
|
18620
|
+
disabledCheckedStyles: disabledCheckedStyles
|
|
18617
18621
|
};
|
|
18618
18622
|
|
|
18619
18623
|
function _templateObject11() {
|
|
@@ -18748,8 +18752,9 @@ var StyledCheckbox = styled__default.div(_templateObject7$1(), CheckboxIcon, fun
|
|
|
18748
18752
|
checkedStyles = _ref3.checkedStyles,
|
|
18749
18753
|
focusedStyles = _ref3.focusedStyles,
|
|
18750
18754
|
errorStyles = _ref3.errorStyles,
|
|
18751
|
-
disabledStyles = _ref3.disabledStyles
|
|
18752
|
-
|
|
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);
|
|
18753
18758
|
});
|
|
18754
18759
|
|
|
18755
18760
|
var Checkbox = function Checkbox(_ref4) {
|
|
@@ -18764,7 +18769,8 @@ var Checkbox = function Checkbox(_ref4) {
|
|
|
18764
18769
|
_ref4$hidden = _ref4.hidden,
|
|
18765
18770
|
hidden = _ref4$hidden === void 0 ? false : _ref4$hidden,
|
|
18766
18771
|
_ref4$error = _ref4.error,
|
|
18767
|
-
error = _ref4$error === void 0 ? false : _ref4$error
|
|
18772
|
+
error = _ref4$error === void 0 ? false : _ref4$error,
|
|
18773
|
+
textExtraStyles = _ref4.textExtraStyles;
|
|
18768
18774
|
|
|
18769
18775
|
var _useState = React.useState(false),
|
|
18770
18776
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -18811,6 +18817,7 @@ var Checkbox = function Checkbox(_ref4) {
|
|
|
18811
18817
|
checkedStyles: themeValues.checkedStyles,
|
|
18812
18818
|
errorStyles: themeValues.errorStyles,
|
|
18813
18819
|
disabledStyles: themeValues.disabledStyles,
|
|
18820
|
+
disabledCheckedStyles: themeValues.disabledCheckedStyles,
|
|
18814
18821
|
focusedStyles: themeValues.focusedStyles
|
|
18815
18822
|
}, /*#__PURE__*/React__default.createElement(CheckboxIcon, {
|
|
18816
18823
|
viewBox: "0 0 24 24",
|
|
@@ -18823,7 +18830,7 @@ var Checkbox = function Checkbox(_ref4) {
|
|
|
18823
18830
|
variant: "p",
|
|
18824
18831
|
weight: themeValues.textFontWeight,
|
|
18825
18832
|
color: themeValues.textColor,
|
|
18826
|
-
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;")
|
|
18827
18834
|
}, title)));
|
|
18828
18835
|
};
|
|
18829
18836
|
|
|
@@ -19123,7 +19130,7 @@ function _templateObject2$b() {
|
|
|
19123
19130
|
}
|
|
19124
19131
|
|
|
19125
19132
|
function _templateObject$n() {
|
|
19126
|
-
var data = _taggedTemplateLiteral(["\n display: flex;\n
|
|
19133
|
+
var data = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n transition: transform 0.3s ease;\n ", "\n"]);
|
|
19127
19134
|
|
|
19128
19135
|
_templateObject$n = function _templateObject() {
|
|
19129
19136
|
return data;
|
|
@@ -19181,7 +19188,8 @@ var Dropdown = function Dropdown(_ref9) {
|
|
|
19181
19188
|
themeValues = _ref9.themeValues,
|
|
19182
19189
|
maxHeight = _ref9.maxHeight,
|
|
19183
19190
|
_ref9$widthFitOptions = _ref9.widthFitOptions,
|
|
19184
|
-
widthFitOptions = _ref9$widthFitOptions === void 0 ? false : _ref9$widthFitOptions
|
|
19191
|
+
widthFitOptions = _ref9$widthFitOptions === void 0 ? false : _ref9$widthFitOptions,
|
|
19192
|
+
disabled = _ref9.disabled;
|
|
19185
19193
|
|
|
19186
19194
|
var _useState = React.useState(""),
|
|
19187
19195
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -19317,7 +19325,8 @@ var Dropdown = function Dropdown(_ref9) {
|
|
|
19317
19325
|
padding: "0",
|
|
19318
19326
|
width: "100%",
|
|
19319
19327
|
hoverStyles: "background-color: ".concat(themeValues.hoverColor, ";"),
|
|
19320
|
-
"aria-expanded": isOpen
|
|
19328
|
+
"aria-expanded": isOpen,
|
|
19329
|
+
extraStyles: disabled && "color: #6e727e;\n background-color: #f7f7f7;\n pointer-events: none;"
|
|
19321
19330
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
19322
19331
|
as: "button",
|
|
19323
19332
|
background: isOpen ? themeValues.hoverColor : WHITE,
|
|
@@ -19328,8 +19337,8 @@ var Dropdown = function Dropdown(_ref9) {
|
|
|
19328
19337
|
borderColor: isError ? ERROR_COLOR : isOpen ? themeValues.selectedColor : GREY_CHATEAU,
|
|
19329
19338
|
borderRadius: "2px",
|
|
19330
19339
|
tabIndex: 0,
|
|
19331
|
-
|
|
19332
|
-
|
|
19340
|
+
dataQa: placeholder,
|
|
19341
|
+
extraStyles: "height: 48px;\n ".concat(disabled && "color: #6e727e;\n background-color: #f7f7f7;\n pointer-events: none;", "\n ")
|
|
19333
19342
|
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
19334
19343
|
direction: "row",
|
|
19335
19344
|
bottomItem: 2
|
|
@@ -19339,7 +19348,8 @@ var Dropdown = function Dropdown(_ref9) {
|
|
|
19339
19348
|
onChange: noop,
|
|
19340
19349
|
themeValues: themeValues
|
|
19341
19350
|
}) : /*#__PURE__*/React__default.createElement(Text$1, {
|
|
19342
|
-
variant: "p"
|
|
19351
|
+
variant: "p",
|
|
19352
|
+
extraStyles: disabled && "color: #6e727e;\n background-color: #f7f7f7;\n pointer-events: none;"
|
|
19343
19353
|
}, value ? (_options$find = options.find(function (option) {
|
|
19344
19354
|
return option.value === value;
|
|
19345
19355
|
})) === null || _options$find === void 0 ? void 0 : _options$find.text : placeholder), /*#__PURE__*/React__default.createElement(IconWrapper, {
|
|
@@ -19490,6 +19500,7 @@ var FormSelect = function FormSelect(_ref) {
|
|
|
19490
19500
|
onChange = _ref.onChange,
|
|
19491
19501
|
dropdownMaxHeight = _ref.dropdownMaxHeight,
|
|
19492
19502
|
disabledValues = _ref.disabledValues,
|
|
19503
|
+
disabled = _ref.disabled,
|
|
19493
19504
|
themeValues = _ref.themeValues;
|
|
19494
19505
|
|
|
19495
19506
|
var _useState = React.useState(false),
|
|
@@ -19512,7 +19523,8 @@ var FormSelect = function FormSelect(_ref) {
|
|
|
19512
19523
|
};
|
|
19513
19524
|
});
|
|
19514
19525
|
return /*#__PURE__*/React__default.createElement(SelectContainer, {
|
|
19515
|
-
ref: dropdownRef
|
|
19526
|
+
ref: dropdownRef,
|
|
19527
|
+
disabled: disabled
|
|
19516
19528
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
19517
19529
|
padding: "0",
|
|
19518
19530
|
minWidth: "100%"
|
|
@@ -19542,7 +19554,8 @@ var FormSelect = function FormSelect(_ref) {
|
|
|
19542
19554
|
},
|
|
19543
19555
|
onClick: function onClick() {
|
|
19544
19556
|
return setOpen(!open);
|
|
19545
|
-
}
|
|
19557
|
+
},
|
|
19558
|
+
disabled: disabled
|
|
19546
19559
|
}), /*#__PURE__*/React__default.createElement(Stack, {
|
|
19547
19560
|
direction: "row",
|
|
19548
19561
|
justify: "space-between"
|
|
@@ -20753,9 +20766,29 @@ var fallbackValues$h = {
|
|
|
20753
20766
|
formFooterPanel: formFooterPanel
|
|
20754
20767
|
};
|
|
20755
20768
|
|
|
20756
|
-
function
|
|
20769
|
+
function _templateObject6$2() {
|
|
20757
20770
|
var data = _taggedTemplateLiteral(["\n ", "\n "]);
|
|
20758
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
|
+
|
|
20759
20792
|
_templateObject4$3 = function _templateObject4() {
|
|
20760
20793
|
return data;
|
|
20761
20794
|
};
|
|
@@ -20764,7 +20797,7 @@ function _templateObject4$3() {
|
|
|
20764
20797
|
}
|
|
20765
20798
|
|
|
20766
20799
|
function _templateObject3$7() {
|
|
20767
|
-
var data = _taggedTemplateLiteral(["\n
|
|
20800
|
+
var data = _taggedTemplateLiteral(["\n ", "\n "]);
|
|
20768
20801
|
|
|
20769
20802
|
_templateObject3$7 = function _templateObject3() {
|
|
20770
20803
|
return data;
|
|
@@ -20774,7 +20807,7 @@ function _templateObject3$7() {
|
|
|
20774
20807
|
}
|
|
20775
20808
|
|
|
20776
20809
|
function _templateObject2$d() {
|
|
20777
|
-
var data = _taggedTemplateLiteral(["\n
|
|
20810
|
+
var data = _taggedTemplateLiteral(["\n color: #6e727e;\n background-color: #f7f7f7;\n "]);
|
|
20778
20811
|
|
|
20779
20812
|
_templateObject2$d = function _templateObject2() {
|
|
20780
20813
|
return data;
|
|
@@ -20784,7 +20817,7 @@ function _templateObject2$d() {
|
|
|
20784
20817
|
}
|
|
20785
20818
|
|
|
20786
20819
|
function _templateObject$p() {
|
|
20787
|
-
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"]);
|
|
20788
20821
|
|
|
20789
20822
|
_templateObject$p = function _templateObject() {
|
|
20790
20823
|
return data;
|
|
@@ -20811,58 +20844,64 @@ var InputField = styled__default.input(_templateObject$p(), function (_ref) {
|
|
|
20811
20844
|
themeValues = _ref5.themeValues;
|
|
20812
20845
|
return background && "background: ".concat(themeValues.inputBackgroundColor, " url(").concat(background, ") no-repeat right 0.5rem center;");
|
|
20813
20846
|
}, ROYAL_BLUE, function (_ref6) {
|
|
20814
|
-
var
|
|
20815
|
-
return styled.css(_templateObject2$d()
|
|
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);
|
|
20816
20852
|
}); // eslint-disable-next-line no-unused-vars
|
|
20817
20853
|
|
|
20818
|
-
var FormattedInputField = styled__default(function (
|
|
20819
|
-
var showErrors =
|
|
20820
|
-
themeValues =
|
|
20821
|
-
props = _objectWithoutProperties(
|
|
20854
|
+
var FormattedInputField = styled__default(function (_ref8) {
|
|
20855
|
+
var showErrors = _ref8.showErrors,
|
|
20856
|
+
themeValues = _ref8.themeValues,
|
|
20857
|
+
props = _objectWithoutProperties(_ref8, ["showErrors", "themeValues"]);
|
|
20822
20858
|
|
|
20823
20859
|
return /*#__PURE__*/React__default.createElement(src_1, props);
|
|
20824
|
-
})(
|
|
20825
|
-
var field =
|
|
20826
|
-
showErrors =
|
|
20827
|
-
themeValues =
|
|
20860
|
+
})(_templateObject4$3(), function (_ref9) {
|
|
20861
|
+
var field = _ref9.field,
|
|
20862
|
+
showErrors = _ref9.showErrors,
|
|
20863
|
+
themeValues = _ref9.themeValues;
|
|
20828
20864
|
return field.dirty && field.hasErrors || field.hasErrors && showErrors ? ERROR_COLOR : themeValues.borderColor;
|
|
20829
|
-
}, function (
|
|
20830
|
-
var customHeight =
|
|
20865
|
+
}, function (_ref10) {
|
|
20866
|
+
var customHeight = _ref10.customHeight;
|
|
20831
20867
|
return customHeight ? customHeight : "48px";
|
|
20832
|
-
}, FONT_WEIGHT_REGULAR, function (
|
|
20833
|
-
var themeValues = _ref10.themeValues;
|
|
20834
|
-
return themeValues.inputBackgroundColor && themeValues.inputBackgroundColor;
|
|
20835
|
-
}, function (_ref11) {
|
|
20868
|
+
}, FONT_WEIGHT_REGULAR, function (_ref11) {
|
|
20836
20869
|
var themeValues = _ref11.themeValues;
|
|
20870
|
+
return themeValues.inputBackgroundColor && themeValues.inputBackgroundColor;
|
|
20871
|
+
}, function (_ref12) {
|
|
20872
|
+
var themeValues = _ref12.themeValues;
|
|
20837
20873
|
return themeValues.color && themeValues.color;
|
|
20838
|
-
}, ROYAL_BLUE, function (
|
|
20839
|
-
var
|
|
20840
|
-
return styled.css(
|
|
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);
|
|
20841
20880
|
});
|
|
20842
20881
|
|
|
20843
|
-
var FormInput = function FormInput(
|
|
20844
|
-
var
|
|
20845
|
-
type =
|
|
20846
|
-
|
|
20847
|
-
labelTextWhenNoError =
|
|
20848
|
-
errorMessages =
|
|
20849
|
-
|
|
20850
|
-
isNum =
|
|
20851
|
-
|
|
20852
|
-
isEmail =
|
|
20853
|
-
|
|
20854
|
-
helperModal =
|
|
20855
|
-
field =
|
|
20856
|
-
fieldActions =
|
|
20857
|
-
showErrors =
|
|
20858
|
-
|
|
20859
|
-
formatter =
|
|
20860
|
-
decorator =
|
|
20861
|
-
themeValues =
|
|
20862
|
-
background =
|
|
20863
|
-
customHeight =
|
|
20864
|
-
extraStyles =
|
|
20865
|
-
props = _objectWithoutProperties(
|
|
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"]);
|
|
20866
20905
|
|
|
20867
20906
|
var _useState = React.useState(false),
|
|
20868
20907
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -21636,20 +21675,20 @@ function _templateObject7$2() {
|
|
|
21636
21675
|
return data;
|
|
21637
21676
|
}
|
|
21638
21677
|
|
|
21639
|
-
function _templateObject6$
|
|
21678
|
+
function _templateObject6$3() {
|
|
21640
21679
|
var data = _taggedTemplateLiteral(["", " needs a number"]);
|
|
21641
21680
|
|
|
21642
|
-
_templateObject6$
|
|
21681
|
+
_templateObject6$3 = function _templateObject6() {
|
|
21643
21682
|
return data;
|
|
21644
21683
|
};
|
|
21645
21684
|
|
|
21646
21685
|
return data;
|
|
21647
21686
|
}
|
|
21648
21687
|
|
|
21649
|
-
function _templateObject5$
|
|
21688
|
+
function _templateObject5$3() {
|
|
21650
21689
|
var data = _taggedTemplateLiteral(["", " is not a valid email address"]);
|
|
21651
21690
|
|
|
21652
|
-
_templateObject5$
|
|
21691
|
+
_templateObject5$3 = function _templateObject5() {
|
|
21653
21692
|
return data;
|
|
21654
21693
|
};
|
|
21655
21694
|
|
|
@@ -21735,7 +21774,7 @@ with interpolation.
|
|
|
21735
21774
|
*/
|
|
21736
21775
|
|
|
21737
21776
|
|
|
21738
|
-
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$
|
|
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
|
|
21739
21778
|
// Neutral - has not been validated
|
|
21740
21779
|
// Invalid - has been validated and has an error
|
|
21741
21780
|
// Valid - has been validated and has no error
|
|
@@ -22088,13 +22127,90 @@ var RadioButton$1 = function RadioButton(_ref2) {
|
|
|
22088
22127
|
|
|
22089
22128
|
var RadioButton$2 = themeComponent(RadioButton$1, "RadioButton", fallbackValues$p);
|
|
22090
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
|
+
|
|
22091
22207
|
var borderColor$2 = {
|
|
22092
22208
|
"default": "".concat(GREY_CHATEAU)
|
|
22093
22209
|
};
|
|
22094
22210
|
var borderSize = {
|
|
22095
22211
|
"default": "1px"
|
|
22096
22212
|
};
|
|
22097
|
-
var fallbackValues$
|
|
22213
|
+
var fallbackValues$r = {
|
|
22098
22214
|
borderColor: borderColor$2,
|
|
22099
22215
|
borderSize: borderSize
|
|
22100
22216
|
};
|
|
@@ -22111,7 +22227,7 @@ var SolidDivider = function SolidDivider(_ref) {
|
|
|
22111
22227
|
});
|
|
22112
22228
|
};
|
|
22113
22229
|
|
|
22114
|
-
var SolidDivider$1 = themeComponent(SolidDivider, "SolidDivider", fallbackValues$
|
|
22230
|
+
var SolidDivider$1 = themeComponent(SolidDivider, "SolidDivider", fallbackValues$r, "default");
|
|
22115
22231
|
|
|
22116
22232
|
var placeHolderOptionUS = {
|
|
22117
22233
|
text: "Please select state",
|
|
@@ -32693,7 +32809,7 @@ var offBackground = "".concat(REGENT_GREY);
|
|
|
32693
32809
|
var labelStyles = "\n display: flex;\n justify-content: flex-start;\n align-items: center;\n";
|
|
32694
32810
|
var rightLabelStyles = "\n ".concat(labelStyles, "\n flex-direction: row;\n");
|
|
32695
32811
|
var leftLabelStyles = "\n ".concat(labelStyles, "\n flex-direction: row-reverse;\n");
|
|
32696
|
-
var fallbackValues$
|
|
32812
|
+
var fallbackValues$s = {
|
|
32697
32813
|
onBackground: onBackground,
|
|
32698
32814
|
disabledBackground: disabledBackground,
|
|
32699
32815
|
white: white,
|
|
@@ -32895,7 +33011,7 @@ var ToggleSwitch = function ToggleSwitch(_ref6) {
|
|
|
32895
33011
|
}, label))));
|
|
32896
33012
|
};
|
|
32897
33013
|
|
|
32898
|
-
var ToggleSwitch$1 = themeComponent(ToggleSwitch, "ToggleSwitch", fallbackValues$
|
|
33014
|
+
var ToggleSwitch$1 = themeComponent(ToggleSwitch, "ToggleSwitch", fallbackValues$s);
|
|
32899
33015
|
|
|
32900
33016
|
var background$1 = "".concat(ATHENS_GREY);
|
|
32901
33017
|
var white$1 = "".concat(WHITE);
|
|
@@ -34817,7 +34933,7 @@ ChangePasswordForm.mapDispatchToProps = mapDispatchToProps$1;
|
|
|
34817
34933
|
var titleColor = "#292A33";
|
|
34818
34934
|
var headingBackgroundColor = "transparent";
|
|
34819
34935
|
var bodyBackgroundColor = "transparent";
|
|
34820
|
-
var fallbackValues$
|
|
34936
|
+
var fallbackValues$t = {
|
|
34821
34937
|
titleColor: titleColor,
|
|
34822
34938
|
headingBackgroundColor: headingBackgroundColor,
|
|
34823
34939
|
bodyBackgroundColor: bodyBackgroundColor
|
|
@@ -34924,7 +35040,7 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
|
34924
35040
|
}, children))));
|
|
34925
35041
|
};
|
|
34926
35042
|
|
|
34927
|
-
var CollapsibleSection$1 = themeComponent(CollapsibleSection, "CollapsibleSection", fallbackValues$
|
|
35043
|
+
var CollapsibleSection$1 = themeComponent(CollapsibleSection, "CollapsibleSection", fallbackValues$t);
|
|
34928
35044
|
|
|
34929
35045
|
var EditNameForm = function EditNameForm(_ref) {
|
|
34930
35046
|
var fields = _ref.fields,
|
|
@@ -35154,20 +35270,20 @@ function _templateObject7$3() {
|
|
|
35154
35270
|
return data;
|
|
35155
35271
|
}
|
|
35156
35272
|
|
|
35157
|
-
function _templateObject6$
|
|
35273
|
+
function _templateObject6$4() {
|
|
35158
35274
|
var data = _taggedTemplateLiteral(["\n display: flex;\n align-self: center;\n justify-content: flex-end;\n ", ";\n flex: 1;\n"]);
|
|
35159
35275
|
|
|
35160
|
-
_templateObject6$
|
|
35276
|
+
_templateObject6$4 = function _templateObject6() {
|
|
35161
35277
|
return data;
|
|
35162
35278
|
};
|
|
35163
35279
|
|
|
35164
35280
|
return data;
|
|
35165
35281
|
}
|
|
35166
35282
|
|
|
35167
|
-
function _templateObject5$
|
|
35283
|
+
function _templateObject5$4() {
|
|
35168
35284
|
var data = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n flex: 1;\n width: 100%;\n border-bottom: 1px solid ", ";\n"]);
|
|
35169
35285
|
|
|
35170
|
-
_templateObject5$
|
|
35286
|
+
_templateObject5$4 = function _templateObject5() {
|
|
35171
35287
|
return data;
|
|
35172
35288
|
};
|
|
35173
35289
|
|
|
@@ -35235,8 +35351,8 @@ var EditableListAction = styled__default.div(_templateObject4$6(), MATISSE_BLUE,
|
|
|
35235
35351
|
var hide = _ref6.hide;
|
|
35236
35352
|
return hide ? "none" : "flex";
|
|
35237
35353
|
});
|
|
35238
|
-
var ItemWrapper = styled__default.div(_templateObject5$
|
|
35239
|
-
var ActionWrapper = styled__default.div(_templateObject6$
|
|
35354
|
+
var ItemWrapper = styled__default.div(_templateObject5$4(), GHOST_GREY);
|
|
35355
|
+
var ActionWrapper = styled__default.div(_templateObject6$4(), function (_ref7) {
|
|
35240
35356
|
var isMobile = _ref7.isMobile;
|
|
35241
35357
|
return isMobile && "display: none";
|
|
35242
35358
|
});
|
|
@@ -35440,7 +35556,7 @@ ForgotPasswordForm.mapDispatchToProps = mapDispatchToProps$4;
|
|
|
35440
35556
|
|
|
35441
35557
|
var textColor$2 = "#ffffff";
|
|
35442
35558
|
var backgroundColor$5 = "#182848";
|
|
35443
|
-
var fallbackValues$
|
|
35559
|
+
var fallbackValues$u = {
|
|
35444
35560
|
textColor: textColor$2,
|
|
35445
35561
|
backgroundColor: backgroundColor$5
|
|
35446
35562
|
};
|
|
@@ -35486,7 +35602,7 @@ var HighlightTabRow = function HighlightTabRow(_ref) {
|
|
|
35486
35602
|
}), repeat( /*#__PURE__*/React__default.createElement(Box, null), boxesAfter))));
|
|
35487
35603
|
};
|
|
35488
35604
|
|
|
35489
|
-
var HighlightTabRow$1 = /*#__PURE__*/React.memo(themeComponent(HighlightTabRow, "HighlightTabRow", fallbackValues$
|
|
35605
|
+
var HighlightTabRow$1 = /*#__PURE__*/React.memo(themeComponent(HighlightTabRow, "HighlightTabRow", fallbackValues$u));
|
|
35490
35606
|
|
|
35491
35607
|
var AccountBillIcon = function AccountBillIcon() {
|
|
35492
35608
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
@@ -36939,6 +37055,182 @@ var PROPERTIES_COMMERCIAL_AUTO_ICON = "PROPERTIES_COMMERCIAL_AUTO";
|
|
|
36939
37055
|
var MISC_BILL_ICON = "MISC_SINGLE_BILL";
|
|
36940
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);
|
|
36941
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
|
+
|
|
36942
37234
|
var LoginForm = function LoginForm(_ref) {
|
|
36943
37235
|
var _emailErrorMessages;
|
|
36944
37236
|
|
|
@@ -36988,7 +37280,7 @@ var LoginForm = function LoginForm(_ref) {
|
|
|
36988
37280
|
}));
|
|
36989
37281
|
};
|
|
36990
37282
|
|
|
36991
|
-
var formConfig$
|
|
37283
|
+
var formConfig$6 = {
|
|
36992
37284
|
email: {
|
|
36993
37285
|
validators: [required(), isProbablyEmail()]
|
|
36994
37286
|
},
|
|
@@ -36997,14 +37289,14 @@ var formConfig$5 = {
|
|
|
36997
37289
|
}
|
|
36998
37290
|
};
|
|
36999
37291
|
|
|
37000
|
-
var _createFormState$
|
|
37001
|
-
reducer$
|
|
37002
|
-
mapStateToProps$
|
|
37003
|
-
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;
|
|
37004
37296
|
|
|
37005
|
-
LoginForm.reducer = reducer$
|
|
37006
|
-
LoginForm.mapStateToProps = mapStateToProps$
|
|
37007
|
-
LoginForm.mapDispatchToProps = mapDispatchToProps$
|
|
37297
|
+
LoginForm.reducer = reducer$6;
|
|
37298
|
+
LoginForm.mapStateToProps = mapStateToProps$7;
|
|
37299
|
+
LoginForm.mapDispatchToProps = mapDispatchToProps$6;
|
|
37008
37300
|
|
|
37009
37301
|
var candidateSelectors = [
|
|
37010
37302
|
'input',
|
|
@@ -38311,7 +38603,7 @@ var backgroundColor$6 = {
|
|
|
38311
38603
|
"default": WHITE,
|
|
38312
38604
|
largeTitle: WHITE
|
|
38313
38605
|
};
|
|
38314
|
-
var fallbackValues$
|
|
38606
|
+
var fallbackValues$v = {
|
|
38315
38607
|
fontSize: fontSize$8,
|
|
38316
38608
|
fontWeight: fontWeight$5,
|
|
38317
38609
|
fontColor: fontColor,
|
|
@@ -38352,7 +38644,7 @@ var Module = function Module(_ref) {
|
|
|
38352
38644
|
}, children)));
|
|
38353
38645
|
};
|
|
38354
38646
|
|
|
38355
|
-
var Module$1 = /*#__PURE__*/React.memo(themeComponent(Module, "Module", fallbackValues$
|
|
38647
|
+
var Module$1 = /*#__PURE__*/React.memo(themeComponent(Module, "Module", fallbackValues$v, "default"));
|
|
38356
38648
|
|
|
38357
38649
|
var backgroundColor$7 = {
|
|
38358
38650
|
profile: "#3b414d",
|
|
@@ -38362,7 +38654,7 @@ var shadowColor = {
|
|
|
38362
38654
|
profile: "#292A33",
|
|
38363
38655
|
cms: "#292A33"
|
|
38364
38656
|
};
|
|
38365
|
-
var fallbackValues$
|
|
38657
|
+
var fallbackValues$w = {
|
|
38366
38658
|
backgroundColor: backgroundColor$7,
|
|
38367
38659
|
shadowColor: shadowColor
|
|
38368
38660
|
};
|
|
@@ -38403,7 +38695,7 @@ var NavMenuDesktop = function NavMenuDesktop(_ref) {
|
|
|
38403
38695
|
}, menuContent));
|
|
38404
38696
|
};
|
|
38405
38697
|
|
|
38406
|
-
var NavMenuDesktop$1 = themeComponent(NavMenuDesktop, "NavMenu", fallbackValues$
|
|
38698
|
+
var NavMenuDesktop$1 = themeComponent(NavMenuDesktop, "NavMenu", fallbackValues$w, "profile");
|
|
38407
38699
|
|
|
38408
38700
|
function _templateObject$z() {
|
|
38409
38701
|
var data = _taggedTemplateLiteral(["\n position: fixed;\n top: 72px;\n"]);
|
|
@@ -38465,7 +38757,7 @@ var NavMenuMobile = function NavMenuMobile(_ref) {
|
|
|
38465
38757
|
}, menuContent));
|
|
38466
38758
|
};
|
|
38467
38759
|
|
|
38468
|
-
var NavMenuMobile$1 = themeComponent(NavMenuMobile, "NavMenu", fallbackValues$
|
|
38760
|
+
var NavMenuMobile$1 = themeComponent(NavMenuMobile, "NavMenu", fallbackValues$w, "profile");
|
|
38469
38761
|
|
|
38470
38762
|
var IconsModule = function IconsModule(_ref) {
|
|
38471
38763
|
var icon = _ref.icon,
|
|
@@ -38519,7 +38811,7 @@ var activeColor$5 = "#0E506D";
|
|
|
38519
38811
|
var linkColor$3 = "#357fb8";
|
|
38520
38812
|
var fontWeight$6 = FONT_WEIGHT_REGULAR;
|
|
38521
38813
|
var modalLinkHoverFocus = "outline: none;\n cursor: pointer;\n text-decoration: underline;\n text-decoration-color: #317D4F;";
|
|
38522
|
-
var fallbackValues$
|
|
38814
|
+
var fallbackValues$x = {
|
|
38523
38815
|
color: color$a,
|
|
38524
38816
|
hoverColor: hoverColor$4,
|
|
38525
38817
|
activeColor: activeColor$5,
|
|
@@ -38602,7 +38894,7 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
38602
38894
|
}, "".concat(planType, " ").concat(nextAutopayDate)))));
|
|
38603
38895
|
};
|
|
38604
38896
|
|
|
38605
|
-
var AutopayModalModule = themeComponent(AutopayModal, "AutopayModal", fallbackValues$
|
|
38897
|
+
var AutopayModalModule = themeComponent(AutopayModal, "AutopayModal", fallbackValues$x);
|
|
38606
38898
|
|
|
38607
38899
|
var AmountModule = function AmountModule(_ref) {
|
|
38608
38900
|
var totalAmountDue = _ref.totalAmountDue,
|
|
@@ -39170,7 +39462,7 @@ var labeledAmountTotal = {
|
|
|
39170
39462
|
"default": "h6",
|
|
39171
39463
|
small: "pL"
|
|
39172
39464
|
};
|
|
39173
|
-
var fallbackValues$
|
|
39465
|
+
var fallbackValues$y = {
|
|
39174
39466
|
backgroundColor: backgroundColor$8,
|
|
39175
39467
|
lineItem: lineItem,
|
|
39176
39468
|
labeledAmountSubtotal: labeledAmountSubtotal,
|
|
@@ -39346,7 +39638,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
39346
39638
|
});
|
|
39347
39639
|
};
|
|
39348
39640
|
|
|
39349
|
-
var PaymentDetails$1 = themeComponent(PaymentDetails, "PaymentDetails", fallbackValues$
|
|
39641
|
+
var PaymentDetails$1 = themeComponent(PaymentDetails, "PaymentDetails", fallbackValues$y, "default");
|
|
39350
39642
|
|
|
39351
39643
|
var linkColor$4 = {
|
|
39352
39644
|
"default": "#357fb8"
|
|
@@ -39363,7 +39655,7 @@ var fontWeight$7 = {
|
|
|
39363
39655
|
var modalLinkHoverFocus$1 = {
|
|
39364
39656
|
"default": "outline: none; text-decoration: underline;"
|
|
39365
39657
|
};
|
|
39366
|
-
var fallbackValues$
|
|
39658
|
+
var fallbackValues$z = {
|
|
39367
39659
|
linkColor: linkColor$4,
|
|
39368
39660
|
fontSize: fontSize$9,
|
|
39369
39661
|
lineHeight: lineHeight$5,
|
|
@@ -39422,7 +39714,7 @@ var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
|
|
|
39422
39714
|
}, link));
|
|
39423
39715
|
};
|
|
39424
39716
|
|
|
39425
|
-
var AccountAndRoutingModal$1 = themeComponent(AccountAndRoutingModal, "AccountAndRoutingModal", fallbackValues$
|
|
39717
|
+
var AccountAndRoutingModal$1 = themeComponent(AccountAndRoutingModal, "AccountAndRoutingModal", fallbackValues$z, "default");
|
|
39426
39718
|
|
|
39427
39719
|
var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
39428
39720
|
var _routingNumberErrors, _accountNumberErrors;
|
|
@@ -39577,7 +39869,7 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
|
39577
39869
|
})));
|
|
39578
39870
|
};
|
|
39579
39871
|
|
|
39580
|
-
var formConfig$
|
|
39872
|
+
var formConfig$7 = {
|
|
39581
39873
|
name: {
|
|
39582
39874
|
validators: [required()]
|
|
39583
39875
|
},
|
|
@@ -39603,14 +39895,14 @@ var formConfig$6 = {
|
|
|
39603
39895
|
}
|
|
39604
39896
|
};
|
|
39605
39897
|
|
|
39606
|
-
var _createFormState$
|
|
39607
|
-
reducer$
|
|
39608
|
-
mapStateToProps$
|
|
39609
|
-
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;
|
|
39610
39902
|
|
|
39611
|
-
PaymentFormACH.reducer = reducer$
|
|
39612
|
-
PaymentFormACH.mapStateToProps = mapStateToProps$
|
|
39613
|
-
PaymentFormACH.mapDispatchToProps = mapDispatchToProps$
|
|
39903
|
+
PaymentFormACH.reducer = reducer$7;
|
|
39904
|
+
PaymentFormACH.mapStateToProps = mapStateToProps$8;
|
|
39905
|
+
PaymentFormACH.mapDispatchToProps = mapDispatchToProps$7;
|
|
39614
39906
|
|
|
39615
39907
|
var PaymentFormCard = function PaymentFormCard(_ref) {
|
|
39616
39908
|
var _creditCardNumberErro, _expirationDateErrors, _cvvErrors, _zipCodeErrors;
|
|
@@ -39738,7 +40030,7 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
|
|
|
39738
40030
|
})));
|
|
39739
40031
|
};
|
|
39740
40032
|
|
|
39741
|
-
var formConfig$
|
|
40033
|
+
var formConfig$8 = {
|
|
39742
40034
|
country: {
|
|
39743
40035
|
defaultValue: "US",
|
|
39744
40036
|
validators: [required()]
|
|
@@ -39764,14 +40056,14 @@ var formConfig$7 = {
|
|
|
39764
40056
|
}
|
|
39765
40057
|
};
|
|
39766
40058
|
|
|
39767
|
-
var _createFormState$
|
|
39768
|
-
reducer$
|
|
39769
|
-
mapStateToProps$
|
|
39770
|
-
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;
|
|
39771
40063
|
|
|
39772
|
-
PaymentFormCard.reducer = reducer$
|
|
39773
|
-
PaymentFormCard.mapStateToProps = mapStateToProps$
|
|
39774
|
-
PaymentFormCard.mapDispatchToProps = mapDispatchToProps$
|
|
40064
|
+
PaymentFormCard.reducer = reducer$8;
|
|
40065
|
+
PaymentFormCard.mapStateToProps = mapStateToProps$9;
|
|
40066
|
+
PaymentFormCard.mapDispatchToProps = mapDispatchToProps$8;
|
|
39775
40067
|
|
|
39776
40068
|
var PhoneForm = function PhoneForm(_ref) {
|
|
39777
40069
|
var _phoneErrorMessage;
|
|
@@ -39820,28 +40112,28 @@ var PhoneForm = function PhoneForm(_ref) {
|
|
|
39820
40112
|
})));
|
|
39821
40113
|
};
|
|
39822
40114
|
|
|
39823
|
-
var formConfig$
|
|
40115
|
+
var formConfig$9 = {
|
|
39824
40116
|
phone: {
|
|
39825
40117
|
validators: [required(), hasLength(10, 10)],
|
|
39826
40118
|
constraints: [onlyIntegers(), hasLength(0, 10)]
|
|
39827
40119
|
}
|
|
39828
40120
|
};
|
|
39829
40121
|
|
|
39830
|
-
var _createFormState$
|
|
39831
|
-
reducer$
|
|
39832
|
-
mapStateToProps$
|
|
39833
|
-
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;
|
|
39834
40126
|
|
|
39835
|
-
PhoneForm.reducer = reducer$
|
|
39836
|
-
PhoneForm.mapStateToProps = mapStateToProps$
|
|
39837
|
-
PhoneForm.mapDispatchToProps = mapDispatchToProps$
|
|
40127
|
+
PhoneForm.reducer = reducer$9;
|
|
40128
|
+
PhoneForm.mapStateToProps = mapStateToProps$a;
|
|
40129
|
+
PhoneForm.mapDispatchToProps = mapDispatchToProps$9;
|
|
39838
40130
|
|
|
39839
40131
|
var headingBackgroundColor$1 = "".concat(WHITE);
|
|
39840
40132
|
var headingDisabledColor = "".concat(ATHENS_GREY);
|
|
39841
40133
|
var bodyBackgroundColor$1 = "#eeeeee";
|
|
39842
40134
|
var borderColor$3 = "".concat(GREY_CHATEAU);
|
|
39843
40135
|
var focusStyles = "outline: none;";
|
|
39844
|
-
var fallbackValues$
|
|
40136
|
+
var fallbackValues$A = {
|
|
39845
40137
|
headingBackgroundColor: headingBackgroundColor$1,
|
|
39846
40138
|
headingDisabledColor: headingDisabledColor,
|
|
39847
40139
|
bodyBackgroundColor: bodyBackgroundColor$1,
|
|
@@ -40064,7 +40356,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
40064
40356
|
})));
|
|
40065
40357
|
};
|
|
40066
40358
|
|
|
40067
|
-
var RadioSection$1 = themeComponent(RadioSection, "RadioSection", fallbackValues$
|
|
40359
|
+
var RadioSection$1 = themeComponent(RadioSection, "RadioSection", fallbackValues$A);
|
|
40068
40360
|
|
|
40069
40361
|
var RegistrationForm = function RegistrationForm(_ref) {
|
|
40070
40362
|
var _emailErrorMessages, _passwordErrorMessage;
|
|
@@ -40154,7 +40446,7 @@ var RegistrationForm = function RegistrationForm(_ref) {
|
|
|
40154
40446
|
})));
|
|
40155
40447
|
};
|
|
40156
40448
|
|
|
40157
|
-
var formConfig$
|
|
40449
|
+
var formConfig$a = {
|
|
40158
40450
|
firstName: {
|
|
40159
40451
|
validators: [required()]
|
|
40160
40452
|
},
|
|
@@ -40172,14 +40464,14 @@ var formConfig$9 = {
|
|
|
40172
40464
|
}
|
|
40173
40465
|
};
|
|
40174
40466
|
|
|
40175
|
-
var _createFormState$
|
|
40176
|
-
reducer$
|
|
40177
|
-
mapStateToProps$
|
|
40178
|
-
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;
|
|
40179
40471
|
|
|
40180
|
-
RegistrationForm.reducer = reducer$
|
|
40181
|
-
RegistrationForm.mapStateToProps = mapStateToProps$
|
|
40182
|
-
RegistrationForm.mapDispatchToProps = mapDispatchToProps$
|
|
40472
|
+
RegistrationForm.reducer = reducer$a;
|
|
40473
|
+
RegistrationForm.mapStateToProps = mapStateToProps$b;
|
|
40474
|
+
RegistrationForm.mapDispatchToProps = mapDispatchToProps$a;
|
|
40183
40475
|
|
|
40184
40476
|
var ResetConfirmationForm = function ResetConfirmationForm() {
|
|
40185
40477
|
var _useContext = React.useContext(styled.ThemeContext),
|
|
@@ -40284,7 +40576,7 @@ var ResetPasswordForm = function ResetPasswordForm(_ref) {
|
|
|
40284
40576
|
})));
|
|
40285
40577
|
};
|
|
40286
40578
|
|
|
40287
|
-
var formConfig$
|
|
40579
|
+
var formConfig$b = {
|
|
40288
40580
|
password: {
|
|
40289
40581
|
validators: [required(), hasLength(8, 100), hasNumber(), hasLowercaseLetter(), hasUppercaseLetter(), hasSpecialCharacter()]
|
|
40290
40582
|
},
|
|
@@ -40293,14 +40585,14 @@ var formConfig$a = {
|
|
|
40293
40585
|
}
|
|
40294
40586
|
};
|
|
40295
40587
|
|
|
40296
|
-
var _createFormState$
|
|
40297
|
-
reducer$
|
|
40298
|
-
mapStateToProps$
|
|
40299
|
-
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;
|
|
40300
40592
|
|
|
40301
|
-
ResetPasswordForm.reducer = reducer$
|
|
40302
|
-
ResetPasswordForm.mapStateToProps = mapStateToProps$
|
|
40303
|
-
ResetPasswordForm.mapDispatchToProps = mapDispatchToProps$
|
|
40593
|
+
ResetPasswordForm.reducer = reducer$b;
|
|
40594
|
+
ResetPasswordForm.mapStateToProps = mapStateToProps$c;
|
|
40595
|
+
ResetPasswordForm.mapDispatchToProps = mapDispatchToProps$b;
|
|
40304
40596
|
|
|
40305
40597
|
var ResetConfirmationForm$2 = function ResetConfirmationForm() {
|
|
40306
40598
|
var _useContext = React.useContext(styled.ThemeContext),
|
|
@@ -40354,7 +40646,7 @@ var ResetPasswordSuccess = withWindowSize(ResetConfirmationForm$2);
|
|
|
40354
40646
|
var activeTabBackground = "#FFFFFF";
|
|
40355
40647
|
var activeTabAccent = "#15749D";
|
|
40356
40648
|
var activeTabHover = "#B8D5E1";
|
|
40357
|
-
var fallbackValues$
|
|
40649
|
+
var fallbackValues$B = {
|
|
40358
40650
|
activeTabBackground: activeTabBackground,
|
|
40359
40651
|
activeTabAccent: activeTabAccent,
|
|
40360
40652
|
activeTabHover: activeTabHover
|
|
@@ -40431,12 +40723,12 @@ var Tabs = function Tabs(_ref) {
|
|
|
40431
40723
|
}))));
|
|
40432
40724
|
};
|
|
40433
40725
|
|
|
40434
|
-
var Tabs$1 = themeComponent(Tabs, "NavigationTab", fallbackValues$
|
|
40726
|
+
var Tabs$1 = themeComponent(Tabs, "NavigationTab", fallbackValues$B);
|
|
40435
40727
|
|
|
40436
40728
|
var activeTabBackground$1 = "#FFFFFF";
|
|
40437
40729
|
var activeTabAccent$1 = "#15749D";
|
|
40438
40730
|
var activeTabHover$1 = "#B8D5E1";
|
|
40439
|
-
var fallbackValues$
|
|
40731
|
+
var fallbackValues$C = {
|
|
40440
40732
|
activeTabBackground: activeTabBackground$1,
|
|
40441
40733
|
activeTabAccent: activeTabAccent$1,
|
|
40442
40734
|
activeTabHover: activeTabHover$1
|
|
@@ -40492,7 +40784,7 @@ var TabSidebar = function TabSidebar(_ref) {
|
|
|
40492
40784
|
})));
|
|
40493
40785
|
};
|
|
40494
40786
|
|
|
40495
|
-
var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$
|
|
40787
|
+
var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$C);
|
|
40496
40788
|
|
|
40497
40789
|
var backgroundColor$9 = {
|
|
40498
40790
|
"default": "#ffffff",
|
|
@@ -40502,7 +40794,7 @@ var linkColor$5 = {
|
|
|
40502
40794
|
"default": "#357fb8",
|
|
40503
40795
|
footer: "#ffffff"
|
|
40504
40796
|
};
|
|
40505
|
-
var border$
|
|
40797
|
+
var border$3 = {
|
|
40506
40798
|
"default": "#cdcdcd",
|
|
40507
40799
|
footer: "#cdcdcd"
|
|
40508
40800
|
};
|
|
@@ -40526,10 +40818,10 @@ var accessibilityColor = {
|
|
|
40526
40818
|
"default": "#3181E3",
|
|
40527
40819
|
footer: "#3181E3"
|
|
40528
40820
|
};
|
|
40529
|
-
var fallbackValues$
|
|
40821
|
+
var fallbackValues$D = {
|
|
40530
40822
|
backgroundColor: backgroundColor$9,
|
|
40531
40823
|
linkColor: linkColor$5,
|
|
40532
|
-
border: border$
|
|
40824
|
+
border: border$3,
|
|
40533
40825
|
fontSize: fontSize$a,
|
|
40534
40826
|
lineHeight: lineHeight$6,
|
|
40535
40827
|
fontWeight: fontWeight$8,
|
|
@@ -40588,7 +40880,7 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
|
40588
40880
|
}, link));
|
|
40589
40881
|
};
|
|
40590
40882
|
|
|
40591
|
-
var TermsAndConditionsModal$1 = themeComponent(TermsAndConditionsModal, "TermsAndConditionsModal", fallbackValues$
|
|
40883
|
+
var TermsAndConditionsModal$1 = themeComponent(TermsAndConditionsModal, "TermsAndConditionsModal", fallbackValues$D, "default");
|
|
40592
40884
|
|
|
40593
40885
|
var TermsAndConditions = function TermsAndConditions(_ref) {
|
|
40594
40886
|
var onCheck = _ref.onCheck,
|
|
@@ -40663,7 +40955,7 @@ var fontColor$1 = WHITE;
|
|
|
40663
40955
|
var textAlign$1 = "left";
|
|
40664
40956
|
var headerBackgroundColor = BRIGHT_GREY;
|
|
40665
40957
|
var imageBackgroundColor = MATISSE_BLUE;
|
|
40666
|
-
var fallbackValues$
|
|
40958
|
+
var fallbackValues$E = {
|
|
40667
40959
|
fontWeight: fontWeight$9,
|
|
40668
40960
|
fontColor: fontColor$1,
|
|
40669
40961
|
textAlign: textAlign$1,
|
|
@@ -40716,7 +41008,7 @@ var WelcomeModule = function WelcomeModule(_ref) {
|
|
|
40716
41008
|
})))));
|
|
40717
41009
|
};
|
|
40718
41010
|
|
|
40719
|
-
var WelcomeModule$1 = /*#__PURE__*/React.memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$
|
|
41011
|
+
var WelcomeModule$1 = /*#__PURE__*/React.memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$E));
|
|
40720
41012
|
|
|
40721
41013
|
var WorkflowTile = function WorkflowTile(_ref) {
|
|
40722
41014
|
var _ref$workflowName = _ref.workflowName,
|
|
@@ -40764,7 +41056,7 @@ var WorkflowTile = function WorkflowTile(_ref) {
|
|
|
40764
41056
|
};
|
|
40765
41057
|
|
|
40766
41058
|
var pageBackground = "#F6F6F9";
|
|
40767
|
-
var fallbackValues$
|
|
41059
|
+
var fallbackValues$F = {
|
|
40768
41060
|
pageBackground: pageBackground
|
|
40769
41061
|
};
|
|
40770
41062
|
|
|
@@ -40811,7 +41103,7 @@ var CenterSingle = function CenterSingle(_ref) {
|
|
|
40811
41103
|
})));
|
|
40812
41104
|
};
|
|
40813
41105
|
|
|
40814
|
-
var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$
|
|
41106
|
+
var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$F));
|
|
40815
41107
|
|
|
40816
41108
|
var CenterStack = function CenterStack(_ref) {
|
|
40817
41109
|
var header = _ref.header,
|
|
@@ -40853,7 +41145,7 @@ var CenterStack = function CenterStack(_ref) {
|
|
|
40853
41145
|
})));
|
|
40854
41146
|
};
|
|
40855
41147
|
|
|
40856
|
-
var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$
|
|
41148
|
+
var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$F));
|
|
40857
41149
|
|
|
40858
41150
|
var CenterSingle$2 = function CenterSingle(_ref) {
|
|
40859
41151
|
var header = _ref.header,
|
|
@@ -40893,7 +41185,7 @@ var CenterSingle$2 = function CenterSingle(_ref) {
|
|
|
40893
41185
|
})));
|
|
40894
41186
|
};
|
|
40895
41187
|
|
|
40896
|
-
var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$
|
|
41188
|
+
var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$F));
|
|
40897
41189
|
|
|
40898
41190
|
var SidebarSingleContent = function SidebarSingleContent(_ref) {
|
|
40899
41191
|
var header = _ref.header,
|
|
@@ -40947,7 +41239,7 @@ var SidebarSingleContent = function SidebarSingleContent(_ref) {
|
|
|
40947
41239
|
})));
|
|
40948
41240
|
};
|
|
40949
41241
|
|
|
40950
|
-
var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$
|
|
41242
|
+
var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$F));
|
|
40951
41243
|
|
|
40952
41244
|
var SidebarStackContent = function SidebarStackContent(_ref) {
|
|
40953
41245
|
var header = _ref.header,
|
|
@@ -41018,7 +41310,7 @@ var SidebarStackContent = function SidebarStackContent(_ref) {
|
|
|
41018
41310
|
})));
|
|
41019
41311
|
};
|
|
41020
41312
|
|
|
41021
|
-
var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$
|
|
41313
|
+
var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$F));
|
|
41022
41314
|
|
|
41023
41315
|
|
|
41024
41316
|
|
|
@@ -41105,6 +41397,7 @@ exports.IconAdd = IconAdd;
|
|
|
41105
41397
|
exports.IconQuitLarge = IconQuitLarge;
|
|
41106
41398
|
exports.Imposter = Imposter;
|
|
41107
41399
|
exports.InternalLink = InternalLink;
|
|
41400
|
+
exports.InternalUserInfoForm = InternalUserInfoForm;
|
|
41108
41401
|
exports.Jumbo = Jumbo$1;
|
|
41109
41402
|
exports.LabeledAmount = LabeledAmount$1;
|
|
41110
41403
|
exports.LineItem = LineItem$1;
|
|
@@ -41152,6 +41445,7 @@ exports.ResetPasswordForm = ResetPasswordForm;
|
|
|
41152
41445
|
exports.ResetPasswordSuccess = ResetPasswordSuccess;
|
|
41153
41446
|
exports.RoutingNumberImage = RoutingNumberImage;
|
|
41154
41447
|
exports.SearchIcon = SearchIcon;
|
|
41448
|
+
exports.SearchableSelect = SearchableSelect$1;
|
|
41155
41449
|
exports.SettingsIconSmall = SettingsIconSmall$1;
|
|
41156
41450
|
exports.ShoppingCartIcon = ShoppingCartIcon;
|
|
41157
41451
|
exports.Sidebar = Sidebar;
|