@mxenabled/connect-widget 2.5.5 → 2.5.6
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.es.js +29 -29
- package/dist/index.es.js.map +1 -1
- package/dist/lastBuild.txt +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -80828,32 +80828,32 @@ const AccountTypes = {
|
|
|
80828
80828
|
CHECKING_LINE_OF_CREDIT: 12
|
|
80829
80829
|
};
|
|
80830
80830
|
const AccountTypeNames = [
|
|
80831
|
-
__("Other"),
|
|
80832
|
-
_p("AccountType", "Checking"),
|
|
80833
|
-
__("Savings"),
|
|
80834
|
-
__("Loan"),
|
|
80835
|
-
__("Credit Card"),
|
|
80836
|
-
__("Investment"),
|
|
80837
|
-
__("Line of Credit"),
|
|
80838
|
-
__("Mortgage"),
|
|
80839
|
-
__("Property"),
|
|
80840
|
-
__("Cash"),
|
|
80841
|
-
__("Insurance"),
|
|
80842
|
-
__("Prepaid"),
|
|
80843
|
-
_p("AccountType", "Checking")
|
|
80831
|
+
() => __("Other"),
|
|
80832
|
+
() => _p("AccountType", "Checking"),
|
|
80833
|
+
() => __("Savings"),
|
|
80834
|
+
() => __("Loan"),
|
|
80835
|
+
() => __("Credit Card"),
|
|
80836
|
+
() => __("Investment"),
|
|
80837
|
+
() => __("Line of Credit"),
|
|
80838
|
+
() => __("Mortgage"),
|
|
80839
|
+
() => __("Property"),
|
|
80840
|
+
() => __("Cash"),
|
|
80841
|
+
() => __("Insurance"),
|
|
80842
|
+
() => __("Prepaid"),
|
|
80843
|
+
() => _p("AccountType", "Checking")
|
|
80844
80844
|
// Checking line of credit will be referred to as a checking account
|
|
80845
80845
|
];
|
|
80846
80846
|
const PropertyTypeNames = [
|
|
80847
|
-
__("Real Estate"),
|
|
80848
|
-
__("Vehicle"),
|
|
80849
|
-
__("Art"),
|
|
80850
|
-
__("Jewelry"),
|
|
80851
|
-
__("Furniture"),
|
|
80852
|
-
__("Appliances"),
|
|
80853
|
-
__("Computer"),
|
|
80854
|
-
__("Electronics"),
|
|
80855
|
-
__("Sports Equipment"),
|
|
80856
|
-
__("Miscellaneous")
|
|
80847
|
+
() => __("Real Estate"),
|
|
80848
|
+
() => __("Vehicle"),
|
|
80849
|
+
() => __("Art"),
|
|
80850
|
+
() => __("Jewelry"),
|
|
80851
|
+
() => __("Furniture"),
|
|
80852
|
+
() => __("Appliances"),
|
|
80853
|
+
() => __("Computer"),
|
|
80854
|
+
() => __("Electronics"),
|
|
80855
|
+
() => __("Sports Equipment"),
|
|
80856
|
+
() => __("Miscellaneous")
|
|
80857
80857
|
];
|
|
80858
80858
|
|
|
80859
80859
|
const getFormFields = (accountType) => {
|
|
@@ -80950,7 +80950,7 @@ const propertyTypeOptions = () => {
|
|
|
80950
80950
|
const types = [];
|
|
80951
80951
|
PropertyTypeNames.map((name, i) => {
|
|
80952
80952
|
types.push({
|
|
80953
|
-
label: name,
|
|
80953
|
+
label: name(),
|
|
80954
80954
|
value: i.toString()
|
|
80955
80955
|
});
|
|
80956
80956
|
});
|
|
@@ -81419,7 +81419,7 @@ const ManualAccountForm = React__default.forwardRef(
|
|
|
81419
81419
|
style: styles.icon
|
|
81420
81420
|
}
|
|
81421
81421
|
),
|
|
81422
|
-
AccountTypeNames[props.accountType || 0]
|
|
81422
|
+
AccountTypeNames[props.accountType || 0]()
|
|
81423
81423
|
]
|
|
81424
81424
|
}
|
|
81425
81425
|
) }),
|
|
@@ -81648,13 +81648,13 @@ const ManualAccountMenu = React__default.forwardRef((props, ref) => {
|
|
|
81648
81648
|
/* @__PURE__ */ jsxRuntimeExports.jsx(SlideDown, { delay: getNextDelay(), children: typeList.map((account_type, i) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
81649
81649
|
UtilityRow,
|
|
81650
81650
|
{
|
|
81651
|
-
"aria-label": AccountTypeNames[account_type],
|
|
81651
|
+
"aria-label": AccountTypeNames[account_type](),
|
|
81652
81652
|
borderType: "inset-left",
|
|
81653
|
-
"data-test": `${AccountTypeNames[account_type].replace(/\s+/g, "-")}-button`,
|
|
81653
|
+
"data-test": `${AccountTypeNames[account_type]().replace(/\s+/g, "-")}-button`,
|
|
81654
81654
|
leftChildren: getIcon[account_type],
|
|
81655
81655
|
onClick: () => fadeOut(ref.current, "up", 300).then(props.handleAccountTypeSelect(account_type)),
|
|
81656
81656
|
rightChildren: /* @__PURE__ */ jsxRuntimeExports.jsx(ChevronRight, {}),
|
|
81657
|
-
title: AccountTypeNames[account_type]
|
|
81657
|
+
title: AccountTypeNames[account_type]()
|
|
81658
81658
|
},
|
|
81659
81659
|
i
|
|
81660
81660
|
)) })
|
|
@@ -81713,7 +81713,7 @@ const ManualAccountSuccess = (props) => {
|
|
|
81713
81713
|
style: styles.title,
|
|
81714
81714
|
truncate: false,
|
|
81715
81715
|
variant: "H2",
|
|
81716
|
-
children: __("%1 added", AccountTypeNames[props.accountType])
|
|
81716
|
+
children: __("%1 added", AccountTypeNames[props.accountType]())
|
|
81717
81717
|
}
|
|
81718
81718
|
),
|
|
81719
81719
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|