@justifi/webcomponents 6.12.4 → 6.12.5
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/cjs/{Analytics-BERGweGK.js → Analytics-CITnMj7H.js} +3 -3
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +1 -1
- package/dist/cjs/additional-questions-form-step_14.cjs.entry.js +4 -3
- package/dist/cjs/additional-questions_5.cjs.entry.js +1 -1
- package/dist/cjs/bank-account-billing-form-simple_4.cjs.entry.js +5 -5
- package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
- package/dist/cjs/{business-identity-schema-DI9XFbaD.js → business-identity-schema-DuFGX6_i.js} +2 -2
- package/dist/cjs/card-form.cjs.entry.js +2 -2
- package/dist/cjs/{check-pkg-version-ByKpJklZ.js → check-pkg-version-CZMgXZID.js} +1 -1
- package/dist/cjs/{country-config-D7fss2oF.js → country-config-aJp8ScEs.js} +1 -0
- package/dist/cjs/dispute-notification_2.cjs.entry.js +3 -3
- package/dist/cjs/form-address-fields_3.cjs.entry.js +1 -1
- package/dist/cjs/form-control-number_2.cjs.entry.js +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +1 -1
- package/dist/cjs/justifi-apple-pay_11.cjs.entry.js +3 -3
- package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +3 -3
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +3 -3
- package/dist/cjs/justifi-business-details.cjs.entry.js +3 -3
- package/dist/cjs/justifi-business-form.cjs.entry.js +6 -6
- package/dist/cjs/justifi-card-form.cjs.entry.js +3 -3
- package/dist/cjs/justifi-checkout.cjs.entry.js +3 -3
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +3 -3
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +3 -3
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-details.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payments-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payout-details.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +3 -3
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +3 -3
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +3 -3
- package/dist/cjs/{package-B6L3zyfG.js → package-DOiqjXmm.js} +1 -1
- package/dist/cjs/{schema-validations-_yWWnnaG.js → schema-validations-DNPcvDh5.js} +13 -2
- package/dist/collection/api/Analytics.js +2 -2
- package/dist/collection/components/business-details/owner-details/owner-details.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -0
- package/dist/collection/components/business-forms/schemas/schema-validations.js +2 -2
- package/dist/collection/components/checkout/billing-form/billing-form-full.js +2 -2
- package/dist/collection/components/checkout/billing-form/billing-form-schema.js +1 -1
- package/dist/collection/utils/checkout-billing-state-options.js +12 -0
- package/dist/docs.json +1 -1
- package/dist/esm/{Analytics-B1bQP71R.js → Analytics-Cg17Xhj_.js} +3 -3
- package/dist/esm/additional-questions-details_5.entry.js +1 -1
- package/dist/esm/additional-questions-form-step_14.entry.js +5 -4
- package/dist/esm/additional-questions_5.entry.js +1 -1
- package/dist/esm/additional-statement_8.entry.js +1 -1
- package/dist/esm/bank-account-billing-form-simple_4.entry.js +6 -6
- package/dist/esm/bank-account-form.entry.js +2 -2
- package/dist/esm/{business-identity-schema-D-Nk9aGV.js → business-identity-schema-0Q3kck3C.js} +3 -3
- package/dist/esm/card-form.entry.js +2 -2
- package/dist/esm/{check-pkg-version-CNwUC4SV.js → check-pkg-version-D-rHqtUI.js} +1 -1
- package/dist/esm/{country-config-B_fuF6JU.js → country-config-CdvhLcnT.js} +1 -1
- package/dist/esm/dispute-notification_2.entry.js +3 -3
- package/dist/esm/form-address-fields_3.entry.js +1 -1
- package/dist/esm/form-control-number_2.entry.js +1 -1
- package/dist/esm/hidden-input_2.entry.js +1 -1
- package/dist/esm/{index.esm-CgNcFueq.js → index.esm-BHdVU4hV.js} +1 -1
- package/dist/esm/justifi-apple-pay_11.entry.js +3 -3
- package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +3 -3
- package/dist/esm/justifi-bank-account-form.entry.js +3 -3
- package/dist/esm/justifi-business-details.entry.js +3 -3
- package/dist/esm/justifi-business-form.entry.js +7 -7
- package/dist/esm/justifi-card-form.entry.js +3 -3
- package/dist/esm/justifi-checkout.entry.js +3 -3
- package/dist/esm/justifi-checkouts-list.entry.js +3 -3
- package/dist/esm/justifi-dispute-management.entry.js +3 -3
- package/dist/esm/justifi-gross-payment-chart.entry.js +3 -3
- package/dist/esm/justifi-order-terminals.entry.js +3 -3
- package/dist/esm/justifi-payment-details.entry.js +3 -3
- package/dist/esm/justifi-payment-provisioning.entry.js +3 -3
- package/dist/esm/justifi-payment-transactions-list.entry.js +3 -3
- package/dist/esm/justifi-payments-list.entry.js +3 -3
- package/dist/esm/justifi-payout-details.entry.js +3 -3
- package/dist/esm/justifi-payout-transactions-list.entry.js +3 -3
- package/dist/esm/justifi-payouts-list.entry.js +3 -3
- package/dist/esm/justifi-refund-payment.entry.js +4 -4
- package/dist/esm/justifi-season-interruption-insurance.entry.js +3 -3
- package/dist/esm/justifi-terminal-orders-list.entry.js +3 -3
- package/dist/esm/justifi-terminals-list.entry.js +3 -3
- package/dist/esm/{package-OGt0dCJl.js → package-B6YPrwyC.js} +1 -1
- package/dist/esm/{schema-validations-u9_XnlUL.js → schema-validations-A1o1biOB.js} +14 -4
- package/dist/module/Analytics.js +2 -2
- package/dist/module/billing-form-full2.js +2 -2
- package/dist/module/billing-form-schema.js +1 -1
- package/dist/module/business-address-schema.js +1 -1
- package/dist/module/business-bank-account-form-step2.js +1 -1
- package/dist/module/business-core-info-schema.js +1 -1
- package/dist/module/business-identity-schema.js +1 -1
- package/dist/module/business-owners-form-step2.js +1 -0
- package/dist/module/country-config.js +1 -1
- package/dist/module/owner-details2.js +1 -1
- package/dist/module/package.js +1 -1
- package/dist/module/schema-validations.js +13 -3
- package/dist/types/utils/checkout-billing-state-options.d.ts +9 -0
- package/dist/webcomponents/{p-8aa53ef2.entry.js → p-0ce6c1b1.entry.js} +1 -1
- package/dist/webcomponents/{p-215c6b6b.entry.js → p-137a36a4.entry.js} +1 -1
- package/dist/webcomponents/{p-07236291.entry.js → p-1d294e34.entry.js} +1 -1
- package/dist/webcomponents/{p-383b8317.entry.js → p-1f34b2f7.entry.js} +1 -1
- package/dist/webcomponents/{p-35dd1fc0.entry.js → p-1f7f2436.entry.js} +1 -1
- package/dist/webcomponents/{p-b341efd6.entry.js → p-2aac2ab6.entry.js} +1 -1
- package/dist/webcomponents/{p-a1dcdc8b.entry.js → p-397b28ba.entry.js} +4 -4
- package/dist/webcomponents/{p-a80f69a9.entry.js → p-3cefb032.entry.js} +1 -1
- package/dist/webcomponents/{p-45c0fb53.entry.js → p-45668f01.entry.js} +1 -1
- package/dist/webcomponents/{p-3d6b9434.entry.js → p-5ec9634c.entry.js} +1 -1
- package/dist/webcomponents/{p-ae91fc9b.entry.js → p-60c65da4.entry.js} +1 -1
- package/dist/webcomponents/{p-b272a29d.entry.js → p-63e88b48.entry.js} +1 -1
- package/dist/webcomponents/{p-91aef5bf.entry.js → p-65281b33.entry.js} +1 -1
- package/dist/webcomponents/{p-f3ff7e00.entry.js → p-7ff9ce05.entry.js} +1 -1
- package/dist/webcomponents/{p-c8f3656f.entry.js → p-89844a98.entry.js} +1 -1
- package/dist/webcomponents/{p-69fdd137.entry.js → p-8d6856e7.entry.js} +1 -1
- package/dist/webcomponents/{p-7119fddd.entry.js → p-8e821593.entry.js} +1 -1
- package/dist/webcomponents/{p-9d021e10.entry.js → p-90f2f71d.entry.js} +1 -1
- package/dist/webcomponents/p-91940d05.entry.js +1 -0
- package/dist/webcomponents/{p-8d173a7c.entry.js → p-95317547.entry.js} +1 -1
- package/dist/webcomponents/p-B6YPrwyC.js +1 -0
- package/dist/webcomponents/{p-DwoT0UoX.js → p-CKiAlBsU.js} +1 -1
- package/dist/webcomponents/p-D8ytux5N.js +1 -0
- package/dist/webcomponents/p-DO9lqnbB.js +1 -0
- package/dist/webcomponents/{p-mF5zKtkx.js → p-DjjAx7PF.js} +1 -1
- package/dist/webcomponents/p-DrMJliVY.js +1 -0
- package/dist/webcomponents/p-XIWgia4J.js +1 -0
- package/dist/webcomponents/{p-ea0d7a98.entry.js → p-afe714cb.entry.js} +1 -1
- package/dist/webcomponents/p-b192f251.entry.js +1 -0
- package/dist/webcomponents/{p-daaa2a99.entry.js → p-b436a7d2.entry.js} +1 -1
- package/dist/webcomponents/{p-c9fe4f33.entry.js → p-bde7fe69.entry.js} +1 -1
- package/dist/webcomponents/{p-6220a384.entry.js → p-c108cd71.entry.js} +1 -1
- package/dist/webcomponents/{p-d24240a5.entry.js → p-c4415366.entry.js} +1 -1
- package/dist/webcomponents/{p-f30069ea.entry.js → p-c8bc235f.entry.js} +1 -1
- package/dist/webcomponents/{p-4ec433f4.entry.js → p-d1eabad2.entry.js} +1 -1
- package/dist/webcomponents/{p-49a4123c.entry.js → p-d5e7291a.entry.js} +1 -1
- package/dist/webcomponents/p-e17b92ec.entry.js +1 -0
- package/dist/webcomponents/{p-cde76bf8.entry.js → p-e322dcba.entry.js} +1 -1
- package/dist/webcomponents/p-e6ec9e6d.entry.js +1 -0
- package/dist/webcomponents/{p-9fc7714d.entry.js → p-ff8cf16c.entry.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +2 -2
- package/readme.md +7 -14
- package/dist/webcomponents/p-31452258.entry.js +0 -1
- package/dist/webcomponents/p-3f5e9afb.entry.js +0 -1
- package/dist/webcomponents/p-6RTf1SXX.js +0 -1
- package/dist/webcomponents/p-Cz_7BuGW.js +0 -1
- package/dist/webcomponents/p-DyucNSA4.js +0 -1
- package/dist/webcomponents/p-KXLYEe1D.js +0 -1
- package/dist/webcomponents/p-OGt0dCJl.js +0 -1
- package/dist/webcomponents/p-e4cb7c21.entry.js +0 -1
- package/dist/webcomponents/p-ef85717f.entry.js +0 -1
|
@@ -12,8 +12,8 @@ var styledHost = require('./styled-host-DAi5SuFa.js');
|
|
|
12
12
|
require('./event-types-YOY5TKUN.js');
|
|
13
13
|
var payment_service = require('./payment.service-ByrgA_QZ.js');
|
|
14
14
|
var getPaymentDetails = require('./get-payment-details-dwhA02Zl.js');
|
|
15
|
-
var Analytics = require('./Analytics-
|
|
16
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
15
|
+
var Analytics = require('./Analytics-CITnMj7H.js');
|
|
16
|
+
var checkPkgVersion = require('./check-pkg-version-CZMgXZID.js');
|
|
17
17
|
var utils$1 = require('./utils-FVGp6se3.js');
|
|
18
18
|
var Api = require('./Api-Bukk55YZ.js');
|
|
19
19
|
var skeleton = require('./skeleton-DvRCiQlA.js');
|
|
@@ -21,7 +21,7 @@ require('./_commonjsHelpers-BJu3ubxk.js');
|
|
|
21
21
|
require('./dinero-BwNN_k7x.js');
|
|
22
22
|
require('./index-W-zoNiyM.js');
|
|
23
23
|
require('./parts-BXshb_S-.js');
|
|
24
|
-
require('./package-
|
|
24
|
+
require('./package-DOiqjXmm.js');
|
|
25
25
|
|
|
26
26
|
const amountValidation = (maxAmount) => {
|
|
27
27
|
const max = +maxAmount;
|
|
@@ -6,8 +6,8 @@ var Plaid = require('./Plaid-BRSyOOuw.js');
|
|
|
6
6
|
require('./Pagination-Dediz133.js');
|
|
7
7
|
require('./Business-oBifyXkW.js');
|
|
8
8
|
var utils = require('./utils-FVGp6se3.js');
|
|
9
|
-
var Analytics = require('./Analytics-
|
|
10
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
9
|
+
var Analytics = require('./Analytics-CITnMj7H.js');
|
|
10
|
+
var checkPkgVersion = require('./check-pkg-version-CZMgXZID.js');
|
|
11
11
|
var checkout_store = require('./checkout.store-CztwuCnG.js');
|
|
12
12
|
var utils$1 = require('./utils-BHi4j5rB.js');
|
|
13
13
|
var insuranceState = require('./insurance-state-Xe2auE-N.js');
|
|
@@ -17,7 +17,7 @@ require('./event-types-YOY5TKUN.js');
|
|
|
17
17
|
var skeleton = require('./skeleton-DvRCiQlA.js');
|
|
18
18
|
require('./config-state-BIgGhhe9.js');
|
|
19
19
|
require('./index-W-zoNiyM.js');
|
|
20
|
-
require('./package-
|
|
20
|
+
require('./package-DOiqjXmm.js');
|
|
21
21
|
require('./index-CajjbB9t.js');
|
|
22
22
|
require('./dinero-BwNN_k7x.js');
|
|
23
23
|
|
|
@@ -4,7 +4,7 @@ var index = require('./index-p7cvUYAE.js');
|
|
|
4
4
|
var styledHost = require('./styled-host-DAi5SuFa.js');
|
|
5
5
|
var table = require('./table-DjbNv28p.js');
|
|
6
6
|
var eventTypes = require('./event-types-YOY5TKUN.js');
|
|
7
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
7
|
+
var checkPkgVersion = require('./check-pkg-version-CZMgXZID.js');
|
|
8
8
|
var parts = require('./parts-BXshb_S-.js');
|
|
9
9
|
var utils = require('./utils-BHi4j5rB.js');
|
|
10
10
|
require('./config-state-BIgGhhe9.js');
|
|
@@ -15,10 +15,10 @@ var badge = require('./badge-GBNtUypt.js');
|
|
|
15
15
|
require('./dinero-BwNN_k7x.js');
|
|
16
16
|
var utils$1 = require('./utils-FVGp6se3.js');
|
|
17
17
|
var Api = require('./Api-Bukk55YZ.js');
|
|
18
|
-
var Analytics = require('./Analytics-
|
|
18
|
+
var Analytics = require('./Analytics-CITnMj7H.js');
|
|
19
19
|
var terminalOrdersListParamsState = require('./terminal-orders-list-params-state-vGJZ6Oe2.js');
|
|
20
20
|
require('./spinner-C6ZGOB2P.js');
|
|
21
|
-
require('./package-
|
|
21
|
+
require('./package-DOiqjXmm.js');
|
|
22
22
|
require('./index-W-zoNiyM.js');
|
|
23
23
|
|
|
24
24
|
const MapTerminalOrderStatusToBadge = (status) => {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
4
|
var Plaid = require('./Plaid-BRSyOOuw.js');
|
|
5
|
-
var Analytics = require('./Analytics-
|
|
6
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
5
|
+
var Analytics = require('./Analytics-CITnMj7H.js');
|
|
6
|
+
var checkPkgVersion = require('./check-pkg-version-CZMgXZID.js');
|
|
7
7
|
var terminal_service = require('./terminal.service-BdwHQ3Vv.js');
|
|
8
8
|
require('./config-state-BIgGhhe9.js');
|
|
9
9
|
require('./dinero-BwNN_k7x.js');
|
|
@@ -18,7 +18,7 @@ var badge = require('./badge-GBNtUypt.js');
|
|
|
18
18
|
var parts = require('./parts-BXshb_S-.js');
|
|
19
19
|
var utils$1 = require('./utils-BHi4j5rB.js');
|
|
20
20
|
var terminalsListParamsState = require('./terminals-list-params-state-vGJZ6Oe2.js');
|
|
21
|
-
require('./package-
|
|
21
|
+
require('./package-DOiqjXmm.js');
|
|
22
22
|
require('./Api-Bukk55YZ.js');
|
|
23
23
|
require('./index-W-zoNiyM.js');
|
|
24
24
|
require('./spinner-C6ZGOB2P.js');
|
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index_esm = require('./index.esm-C1ZPG85l.js');
|
|
4
|
+
var countryConfig = require('./country-config-aJp8ScEs.js');
|
|
4
5
|
var Business = require('./Business-oBifyXkW.js');
|
|
5
|
-
var countryConfig = require('./country-config-D7fss2oF.js');
|
|
6
6
|
var businessFormOptions = require('./business-form-options-D_nM7NDk.js');
|
|
7
7
|
|
|
8
|
+
/**
|
|
9
|
+
* US states/territories + Canadian provinces/territories for checkout billing only.
|
|
10
|
+
* Do not use for USA-only business forms (see country-config).
|
|
11
|
+
*/
|
|
12
|
+
const checkoutBillingStateOptions = [
|
|
13
|
+
{ label: 'Choose state / province', value: '' },
|
|
14
|
+
...Business.StateOptions.filter((option) => option.value !== ''),
|
|
15
|
+
...countryConfig.ProvinceOptions.filter((option) => option.value !== ''),
|
|
16
|
+
];
|
|
17
|
+
|
|
8
18
|
const transformEmptyString = (value) => {
|
|
9
19
|
return value === '' ? null : value;
|
|
10
20
|
};
|
|
@@ -180,7 +190,7 @@ const cityValidation = index_esm.create$6()
|
|
|
180
190
|
.max(50, 'City must be less than 50 characters')
|
|
181
191
|
.transform(transformEmptyString);
|
|
182
192
|
const stateValidation = index_esm.create$6()
|
|
183
|
-
.oneOf(
|
|
193
|
+
.oneOf(checkoutBillingStateOptions.map((option) => option.value), 'Select a valid state or province')
|
|
184
194
|
.transform(transformEmptyString);
|
|
185
195
|
const postalValidation = index_esm.create$6()
|
|
186
196
|
.matches(/^((\d{5}-\d{4})|(\d{5})|([A-Z]\d[A-Z]\s\d[A-Z]\d))$/, 'Enter valid postal code')
|
|
@@ -232,6 +242,7 @@ exports.accountTypeValidation = accountTypeValidation;
|
|
|
232
242
|
exports.bankNameValidation = bankNameValidation;
|
|
233
243
|
exports.businessClassificationValidation = businessClassificationValidation;
|
|
234
244
|
exports.businessNameValidation = businessNameValidation;
|
|
245
|
+
exports.checkoutBillingStateOptions = checkoutBillingStateOptions;
|
|
235
246
|
exports.cityValidation = cityValidation;
|
|
236
247
|
exports.dateOfIncorporationValidation = dateOfIncorporationValidation;
|
|
237
248
|
exports.dobValidation = dobValidation;
|
|
@@ -13,9 +13,9 @@ class JustifiAnalytics {
|
|
|
13
13
|
// Track the event
|
|
14
14
|
await this.service.record(data);
|
|
15
15
|
};
|
|
16
|
-
// dont track analytics
|
|
16
|
+
// dont track analytics on local dev or public docs site
|
|
17
17
|
if (window.location.origin.includes('localhost') ||
|
|
18
|
-
window.location.origin.includes('
|
|
18
|
+
window.location.origin.includes('docs.justifi.tech')) {
|
|
19
19
|
return;
|
|
20
20
|
}
|
|
21
21
|
this.service = new AnalyticsService();
|
|
@@ -11,7 +11,7 @@ export class OwnerDetails {
|
|
|
11
11
|
var _a, _b, _c, _d, _e;
|
|
12
12
|
return [
|
|
13
13
|
h(DetailSectionTitle, { sectionTitle: `Owner ${owner === null || owner === void 0 ? void 0 : owner.name}'s Details` }),
|
|
14
|
-
h("div", { class: "d-flex flex-column gap-2 w-100 mt-3" }, h("div", { class: "col-md-6" }, h(DetailItem, { title: "Name", value: owner === null || owner === void 0 ? void 0 : owner.name }), h(DetailItem, { title: "Title", value: owner === null || owner === void 0 ? void 0 : owner.title }), h(DetailItem, { title: "Email", value: owner === null || owner === void 0 ? void 0 : owner.email }), h(DetailItem, { title: "Phone", value: owner === null || owner === void 0 ? void 0 : owner.phone }), h(DetailItem, { title: "Date of Birth", value: formatMediumDate(new Date(Number(owner === null || owner === void 0 ? void 0 : owner.
|
|
14
|
+
h("div", { class: "d-flex flex-column gap-2 w-100 mt-3" }, h("div", { class: "col-md-6" }, h(DetailItem, { title: "Name", value: owner === null || owner === void 0 ? void 0 : owner.name }), h(DetailItem, { title: "Title", value: owner === null || owner === void 0 ? void 0 : owner.title }), h(DetailItem, { title: "Email", value: owner === null || owner === void 0 ? void 0 : owner.email }), h(DetailItem, { title: "Phone", value: owner === null || owner === void 0 ? void 0 : owner.phone }), h(DetailItem, { title: "Date of Birth", value: formatMediumDate(new Date(Number(owner === null || owner === void 0 ? void 0 : owner.dob_year), Number(owner === null || owner === void 0 ? void 0 : owner.dob_month) - 1, Number(owner === null || owner === void 0 ? void 0 : owner.dob_day))) }), h(DetailItem, { title: "Identification Number", value: `********${owner === null || owner === void 0 ? void 0 : owner.ssn_last4}` }), h(DetailItem, { title: "Line 1", value: (_a = owner === null || owner === void 0 ? void 0 : owner.address) === null || _a === void 0 ? void 0 : _a.line1 }), h(DetailItem, { title: "Line 2", value: (_b = owner === null || owner === void 0 ? void 0 : owner.address) === null || _b === void 0 ? void 0 : _b.line2 }), h(DetailItem, { title: "City", value: (_c = owner === null || owner === void 0 ? void 0 : owner.address) === null || _c === void 0 ? void 0 : _c.city }), h(DetailItem, { title: "State", value: (_d = owner === null || owner === void 0 ? void 0 : owner.address) === null || _d === void 0 ? void 0 : _d.state }), h(DetailItem, { title: "Zip", value: (_e = owner === null || owner === void 0 ? void 0 : owner.address) === null || _e === void 0 ? void 0 : _e.postal_code }))),
|
|
15
15
|
];
|
|
16
16
|
})));
|
|
17
17
|
}
|
|
@@ -92,6 +92,7 @@ export class BusinessOwnersFormStep {
|
|
|
92
92
|
this.ownersPayload = this.ownersPayload.filter(owner => owner.id !== '');
|
|
93
93
|
this.patchBusiness({
|
|
94
94
|
payload: {
|
|
95
|
+
representative: { is_owner: true },
|
|
95
96
|
owners: [{ id: this.representative.id }, ...this.ownersPayload],
|
|
96
97
|
},
|
|
97
98
|
onSuccess: () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { string } from "yup";
|
|
2
|
-
import
|
|
2
|
+
import checkoutBillingStateOptions from "../../../utils/checkout-billing-state-options";
|
|
3
3
|
import { CountryCode } from "../../../utils/country-codes";
|
|
4
4
|
import { countryValidation } from "../utils/country-config";
|
|
5
5
|
import { businessServiceReceivedOptions, bankAccountTypeOptions, } from "../utils/business-form-options";
|
|
@@ -158,7 +158,7 @@ export const cityValidation = string()
|
|
|
158
158
|
.max(50, 'City must be less than 50 characters')
|
|
159
159
|
.transform(transformEmptyString);
|
|
160
160
|
export const stateValidation = string()
|
|
161
|
-
.oneOf(
|
|
161
|
+
.oneOf(checkoutBillingStateOptions.map((option) => option.value), 'Select a valid state or province')
|
|
162
162
|
.transform(transformEmptyString);
|
|
163
163
|
export const postalValidation = string()
|
|
164
164
|
.matches(/^((\d{5}-\d{4})|(\d{5})|([A-Z]\d[A-Z]\s\d[A-Z]\d))$/, 'Enter valid postal code')
|
|
@@ -2,7 +2,7 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
import { fullBillingSchema } from "./billing-form-schema";
|
|
3
3
|
import { billingForm } from "../../../styles/parts";
|
|
4
4
|
import { Header3 } from "../../../ui-components";
|
|
5
|
-
import
|
|
5
|
+
import checkoutBillingStateOptions from "../../../utils/checkout-billing-state-options";
|
|
6
6
|
import { FormController } from "../../../ui-components/form/form";
|
|
7
7
|
import { checkoutStore, onChange } from "../../../store/checkout.store";
|
|
8
8
|
export class BillingFormFull {
|
|
@@ -45,7 +45,7 @@ export class BillingFormFull {
|
|
|
45
45
|
return null;
|
|
46
46
|
}
|
|
47
47
|
const billingFormDefaultValue = this.formController.getInitialValues();
|
|
48
|
-
return (h("div", { part: billingForm, class: "mt-4" }, h(Header3, { text: "Billing address", class: "fs-6 fw-bold lh-lg mb-4" }), h("form", null, h("fieldset", null, this.legend && (h("legend", null, this.legend)), h("div", { class: "row gy-3" }, h("div", { class: "col-12" }, h("form-control-text", { name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-select", { name: 'address_state', label: 'State', options:
|
|
48
|
+
return (h("div", { part: billingForm, class: "mt-4" }, h(Header3, { text: "Billing address", class: "fs-6 fw-bold lh-lg mb-4" }), h("form", null, h("fieldset", null, this.legend && (h("legend", null, this.legend)), h("div", { class: "row gy-3" }, h("div", { class: "col-12" }, h("form-control-text", { name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-select", { name: 'address_state', label: 'State / Province', options: checkoutBillingStateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_postal_code', label: "Postal Code", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 7 })))))));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "billing-form-full"; }
|
|
51
51
|
static get properties() {
|
|
@@ -5,7 +5,7 @@ export const fullBillingSchema = () => object({
|
|
|
5
5
|
address_line1: lineOneValidation.required('Enter street address'),
|
|
6
6
|
address_line2: lineTwoValidation.nullable(),
|
|
7
7
|
address_city: cityValidation.required('Enter city'),
|
|
8
|
-
address_state: stateValidation.required('Select state'),
|
|
8
|
+
address_state: stateValidation.required('Select state or province'),
|
|
9
9
|
address_postal_code: postalValidation.required('Enter postal code'),
|
|
10
10
|
});
|
|
11
11
|
export const postalOnlySchema = () => object({
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import ProvinceOptions from "./province-options";
|
|
2
|
+
import StateOptions from "./state-options";
|
|
3
|
+
/**
|
|
4
|
+
* US states/territories + Canadian provinces/territories for checkout billing only.
|
|
5
|
+
* Do not use for USA-only business forms (see country-config).
|
|
6
|
+
*/
|
|
7
|
+
const checkoutBillingStateOptions = [
|
|
8
|
+
{ label: 'Choose state / province', value: '' },
|
|
9
|
+
...StateOptions.filter((option) => option.value !== ''),
|
|
10
|
+
...ProvinceOptions.filter((option) => option.value !== ''),
|
|
11
|
+
];
|
|
12
|
+
export default checkoutBillingStateOptions;
|
package/dist/docs.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as packageJson } from './package-
|
|
1
|
+
import { p as packageJson } from './package-B6YPrwyC.js';
|
|
2
2
|
import { A as Api } from './Api-DMd8hTI-.js';
|
|
3
3
|
import './Plaid-l6nNIjab.js';
|
|
4
4
|
import './Pagination-CLHwhyvu.js';
|
|
@@ -25,9 +25,9 @@ class JustifiAnalytics {
|
|
|
25
25
|
// Track the event
|
|
26
26
|
await this.service.record(data);
|
|
27
27
|
};
|
|
28
|
-
// dont track analytics
|
|
28
|
+
// dont track analytics on local dev or public docs site
|
|
29
29
|
if (window.location.origin.includes('localhost') ||
|
|
30
|
-
window.location.origin.includes('
|
|
30
|
+
window.location.origin.includes('docs.justifi.tech')) {
|
|
31
31
|
return;
|
|
32
32
|
}
|
|
33
33
|
this.service = new AnalyticsService();
|
|
@@ -52,7 +52,7 @@ const OwnerDetails = class {
|
|
|
52
52
|
var _a, _b, _c, _d, _e;
|
|
53
53
|
return [
|
|
54
54
|
h(DetailSectionTitle, { sectionTitle: `Owner ${owner === null || owner === void 0 ? void 0 : owner.name}'s Details` }),
|
|
55
|
-
h("div", { class: "d-flex flex-column gap-2 w-100 mt-3" }, h("div", { class: "col-md-6" }, h(DetailItem, { title: "Name", value: owner === null || owner === void 0 ? void 0 : owner.name }), h(DetailItem, { title: "Title", value: owner === null || owner === void 0 ? void 0 : owner.title }), h(DetailItem, { title: "Email", value: owner === null || owner === void 0 ? void 0 : owner.email }), h(DetailItem, { title: "Phone", value: owner === null || owner === void 0 ? void 0 : owner.phone }), h(DetailItem, { title: "Date of Birth", value: formatMediumDate(new Date(Number(owner === null || owner === void 0 ? void 0 : owner.
|
|
55
|
+
h("div", { class: "d-flex flex-column gap-2 w-100 mt-3" }, h("div", { class: "col-md-6" }, h(DetailItem, { title: "Name", value: owner === null || owner === void 0 ? void 0 : owner.name }), h(DetailItem, { title: "Title", value: owner === null || owner === void 0 ? void 0 : owner.title }), h(DetailItem, { title: "Email", value: owner === null || owner === void 0 ? void 0 : owner.email }), h(DetailItem, { title: "Phone", value: owner === null || owner === void 0 ? void 0 : owner.phone }), h(DetailItem, { title: "Date of Birth", value: formatMediumDate(new Date(Number(owner === null || owner === void 0 ? void 0 : owner.dob_year), Number(owner === null || owner === void 0 ? void 0 : owner.dob_month) - 1, Number(owner === null || owner === void 0 ? void 0 : owner.dob_day))) }), h(DetailItem, { title: "Identification Number", value: `********${owner === null || owner === void 0 ? void 0 : owner.ssn_last4}` }), h(DetailItem, { title: "Line 1", value: (_a = owner === null || owner === void 0 ? void 0 : owner.address) === null || _a === void 0 ? void 0 : _a.line1 }), h(DetailItem, { title: "Line 2", value: (_b = owner === null || owner === void 0 ? void 0 : owner.address) === null || _b === void 0 ? void 0 : _b.line2 }), h(DetailItem, { title: "City", value: (_c = owner === null || owner === void 0 ? void 0 : owner.address) === null || _c === void 0 ? void 0 : _c.city }), h(DetailItem, { title: "State", value: (_d = owner === null || owner === void 0 ? void 0 : owner.address) === null || _d === void 0 ? void 0 : _d.state }), h(DetailItem, { title: "Zip", value: (_e = owner === null || owner === void 0 ? void 0 : owner.address) === null || _e === void 0 ? void 0 : _e.postal_code }))),
|
|
56
56
|
];
|
|
57
57
|
})));
|
|
58
58
|
}
|
|
@@ -2,8 +2,8 @@ import { r as registerInstance, c as createEvent, h, H as Host } from './index-C
|
|
|
2
2
|
import { C as ComponentErrorSeverity, e as ComponentErrorCodes, E as EntityDocumentType, z as EntityDocumentStorage, B as EntityDocument, w as PLAID_ERROR_SEVERITY, x as PLAID_ERROR_MESSAGES, y as PlaidErrorCodes } from './Plaid-l6nNIjab.js';
|
|
3
3
|
import { m as makeGetBusiness, a as makePatchBusiness, c as makePostBankAccount, d as makePostDocumentRecord, e as makeGetIdentity, f as makePatchIdentity, g as makePostIdentity } from './payment-provisioning-actions-cl5xIYnF.js';
|
|
4
4
|
import { B as BusinessService, a as BusinessBankAccountService, D as DocumentRecordService, I as IdentityService } from './business.service-C31wbMVs.js';
|
|
5
|
-
import { a as additionalQuestionsSchema, d as businessCoreInfoSchemaCAN, b as businessCoreInfoSchemaUSA, g as identitySchemaByCountry, h as addressSchemaByCountry } from './business-identity-schema-
|
|
6
|
-
import { F as FormController,
|
|
5
|
+
import { a as additionalQuestionsSchema, d as businessCoreInfoSchemaCAN, b as businessCoreInfoSchemaUSA, g as identitySchemaByCountry, h as addressSchemaByCountry } from './business-identity-schema-0Q3kck3C.js';
|
|
6
|
+
import { F as FormController, c as create$3, a as create$6, b as create$8, d as create$7 } from './index.esm-BHdVU4hV.js';
|
|
7
7
|
import { A as AdditionalQuestions, C as CountryCode, e as CoreBusinessInfo, R as Representative, f as Address, O as Owner } from './Business-BcNb9bVO.js';
|
|
8
8
|
import { C as CURRENCY_MASK, P as PHONE_MASKS, I as IDENTITY_MASKS } from './form-input-masks-CVaOFfrI.js';
|
|
9
9
|
import { b as heading2, a0 as buttonSecondary, C as buttonLink, x as label, u as inputDisabled, D as card, aa as table, a6 as tableHeadCell, aj as tableCell, am as alert, A as heading3, a1 as buttonPrimary } from './parts-CPKMvyV_.js';
|
|
@@ -14,10 +14,10 @@ import './config-state-kKn89dp1.js';
|
|
|
14
14
|
import './dinero-HXpYMWUU.js';
|
|
15
15
|
import './Pagination-CLHwhyvu.js';
|
|
16
16
|
import { n as numberOnlyHandler } from './utils-BnjCmwMr.js';
|
|
17
|
-
import {
|
|
17
|
+
import { B as accountNumberValidation, C as accountTypeValidation, v as identityNameValidation, D as nicknameValidation, E as bankNameValidation, F as numbersOnlyRegex, G as routingNumberValidation } from './schema-validations-A1o1biOB.js';
|
|
18
18
|
import { B as Button } from './button-BvzOzV4l.js';
|
|
19
19
|
import './event-types-CZfYo5-1.js';
|
|
20
|
-
import {
|
|
20
|
+
import { c as countryLabels } from './country-config-CdvhLcnT.js';
|
|
21
21
|
import { s as snakeCaseToHumanReadable, b as formatDate, d as formatTime } from './utils-BTtxWI2r.js';
|
|
22
22
|
import { S as Skeleton } from './skeleton-BEHo2ypu.js';
|
|
23
23
|
import { u as updateFormValues, a as updateAddressFormValues, b as updateDateOfBirthFormValues } from './input-handlers-1lVyzImK.js';
|
|
@@ -901,6 +901,7 @@ const BusinessOwnersFormStep = class {
|
|
|
901
901
|
this.ownersPayload = this.ownersPayload.filter(owner => owner.id !== '');
|
|
902
902
|
this.patchBusiness({
|
|
903
903
|
payload: {
|
|
904
|
+
representative: { is_owner: true },
|
|
904
905
|
owners: [{ id: this.representative.id }, ...this.ownersPayload],
|
|
905
906
|
},
|
|
906
907
|
onSuccess: () => {
|
|
@@ -3,7 +3,7 @@ import { b as businessServiceReceivedOptions, r as recurringPaymentsOptions, s a
|
|
|
3
3
|
import { C as CURRENCY_MASK, I as IDENTITY_MASKS, P as PHONE_MASKS } from './form-input-masks-CVaOFfrI.js';
|
|
4
4
|
import { b as heading2, x as label, u as inputDisabled, a0 as buttonSecondary, ak as alertDanger } from './parts-CPKMvyV_.js';
|
|
5
5
|
import { e as CoreBusinessInfo, d as deconstructDate } from './Business-BcNb9bVO.js';
|
|
6
|
-
import {
|
|
6
|
+
import { c as countryLabels } from './country-config-CdvhLcnT.js';
|
|
7
7
|
|
|
8
8
|
const AdditionalQuestions = class {
|
|
9
9
|
constructor(hostRef) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-CV0Pyo1O.js';
|
|
2
|
-
import {
|
|
2
|
+
import { c as create$3, a as create$6, F as FormController } from './index.esm-BHdVU4hV.js';
|
|
3
3
|
import { a9 as heading5 } from './parts-CPKMvyV_.js';
|
|
4
4
|
import './_commonjsHelpers-BFTU3MAI.js';
|
|
5
5
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-CV0Pyo1O.js';
|
|
2
|
-
import {
|
|
3
|
-
import { y as postalValidation, z as stateValidation, h as cityValidation, l as lineTwoValidation, j as lineOneValidation, v as identityNameValidation } from './schema-validations-
|
|
2
|
+
import { c as create$3, F as FormController } from './index.esm-BHdVU4hV.js';
|
|
3
|
+
import { y as postalValidation, z as stateValidation, h as cityValidation, l as lineTwoValidation, j as lineOneValidation, v as identityNameValidation, A as checkoutBillingStateOptions } from './schema-validations-A1o1biOB.js';
|
|
4
4
|
import { al as billingForm } from './parts-CPKMvyV_.js';
|
|
5
5
|
import { c as checkoutStore, o as onChange } from './checkout.store-DFnkcDZ8.js';
|
|
6
6
|
import { P as PAYMENT_METHODS } from './index-DkoufM1t.js';
|
|
7
7
|
import { H as Header3 } from './header-3-BUDap2xY.js';
|
|
8
8
|
import './event-types-CZfYo5-1.js';
|
|
9
|
-
import { S as StateOptions } from './Business-BcNb9bVO.js';
|
|
10
9
|
import './_commonjsHelpers-BFTU3MAI.js';
|
|
11
|
-
import './country-config-
|
|
10
|
+
import './country-config-CdvhLcnT.js';
|
|
11
|
+
import './Business-BcNb9bVO.js';
|
|
12
12
|
import './business-form-options-DRalxlqN.js';
|
|
13
13
|
import './index-cDVGjRkU.js';
|
|
14
14
|
|
|
@@ -17,7 +17,7 @@ const fullBillingSchema = () => create$3({
|
|
|
17
17
|
address_line1: lineOneValidation.required('Enter street address'),
|
|
18
18
|
address_line2: lineTwoValidation.nullable(),
|
|
19
19
|
address_city: cityValidation.required('Enter city'),
|
|
20
|
-
address_state: stateValidation.required('Select state'),
|
|
20
|
+
address_state: stateValidation.required('Select state or province'),
|
|
21
21
|
address_postal_code: postalValidation.required('Enter postal code'),
|
|
22
22
|
});
|
|
23
23
|
const postalOnlySchema = () => create$3({
|
|
@@ -149,7 +149,7 @@ const BillingFormFull = class {
|
|
|
149
149
|
return null;
|
|
150
150
|
}
|
|
151
151
|
const billingFormDefaultValue = this.formController.getInitialValues();
|
|
152
|
-
return (h("div", { part: billingForm, class: "mt-4" }, h(Header3, { text: "Billing address", class: "fs-6 fw-bold lh-lg mb-4" }), h("form", null, h("fieldset", null, this.legend && (h("legend", null, this.legend)), h("div", { class: "row gy-3" }, h("div", { class: "col-12" }, h("form-control-text", { name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-select", { name: 'address_state', label: 'State', options:
|
|
152
|
+
return (h("div", { part: billingForm, class: "mt-4" }, h(Header3, { text: "Billing address", class: "fs-6 fw-bold lh-lg mb-4" }), h("form", null, h("fieldset", null, this.legend && (h("legend", null, this.legend)), h("div", { class: "row gy-3" }, h("div", { class: "col-12" }, h("form-control-text", { name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-select", { name: 'address_state', label: 'State / Province', options: checkoutBillingStateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_postal_code', label: "Postal Code", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 7 })))))));
|
|
153
153
|
}
|
|
154
154
|
};
|
|
155
155
|
|
|
@@ -2,11 +2,11 @@ import { h, r as registerInstance } from './index-CV0Pyo1O.js';
|
|
|
2
2
|
import { S as Skeleton } from './skeleton-BEHo2ypu.js';
|
|
3
3
|
import { w as waitForConfig, c as configState } from './config-state-kKn89dp1.js';
|
|
4
4
|
import { e as generateTabId } from './utils-BTtxWI2r.js';
|
|
5
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
5
|
+
import { c as checkPkgVersion } from './check-pkg-version-D-rHqtUI.js';
|
|
6
6
|
import './parts-CPKMvyV_.js';
|
|
7
7
|
import './index-cDVGjRkU.js';
|
|
8
8
|
import './dinero-HXpYMWUU.js';
|
|
9
|
-
import './package-
|
|
9
|
+
import './package-B6YPrwyC.js';
|
|
10
10
|
|
|
11
11
|
const BankAccountFormSkeleton = (props) => {
|
|
12
12
|
const { isReady } = props;
|
package/dist/esm/{business-identity-schema-D-Nk9aGV.js → business-identity-schema-0Q3kck3C.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { m as makeTaxIdValidation, d as dateOfIncorporationValidation, i as industryValidation, b as businessClassificationValidation, a as doingBusinessAsValidation, p as phoneValidation, e as emailValidation, w as websiteUrlValidation, c as businessNameValidation, t as taxIdValidation, o as otherPaymentDetailsValidation, f as whenServiceReceivedValidation, r as revenueValidation, g as paymentVolumeValidation, h as cityValidation, l as lineTwoValidation, j as lineOneValidation, k as makePostalValidation, n as ownershipPercentageValidation, s as ssnValidation, q as dobValidation, u as identityTitleValidation, v as identityNameValidation, x as makeIdentityNumberValidation } from './schema-validations-
|
|
1
|
+
import { c as create$3, a as create$6 } from './index.esm-BHdVU4hV.js';
|
|
2
|
+
import { m as makeTaxIdValidation, d as dateOfIncorporationValidation, i as industryValidation, b as businessClassificationValidation, a as doingBusinessAsValidation, p as phoneValidation, e as emailValidation, w as websiteUrlValidation, c as businessNameValidation, t as taxIdValidation, o as otherPaymentDetailsValidation, f as whenServiceReceivedValidation, r as revenueValidation, g as paymentVolumeValidation, h as cityValidation, l as lineTwoValidation, j as lineOneValidation, k as makePostalValidation, n as ownershipPercentageValidation, s as ssnValidation, q as dobValidation, u as identityTitleValidation, v as identityNameValidation, x as makeIdentityNumberValidation } from './schema-validations-A1o1biOB.js';
|
|
3
3
|
import { C as CountryCode } from './Business-BcNb9bVO.js';
|
|
4
|
-
import {
|
|
4
|
+
import { c as countryLabels } from './country-config-CdvhLcnT.js';
|
|
5
5
|
|
|
6
6
|
// Base schema (no country-specific rules for classification/tax id)
|
|
7
7
|
const baseBusinessCoreInfoSchema = (allowOptionalFields) => {
|
|
@@ -2,11 +2,11 @@ import { h, r as registerInstance } from './index-CV0Pyo1O.js';
|
|
|
2
2
|
import { S as Skeleton } from './skeleton-BEHo2ypu.js';
|
|
3
3
|
import { w as waitForConfig, c as configState } from './config-state-kKn89dp1.js';
|
|
4
4
|
import { e as generateTabId } from './utils-BTtxWI2r.js';
|
|
5
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
5
|
+
import { c as checkPkgVersion } from './check-pkg-version-D-rHqtUI.js';
|
|
6
6
|
import './parts-CPKMvyV_.js';
|
|
7
7
|
import './index-cDVGjRkU.js';
|
|
8
8
|
import './dinero-HXpYMWUU.js';
|
|
9
|
-
import './package-
|
|
9
|
+
import './package-B6YPrwyC.js';
|
|
10
10
|
|
|
11
11
|
const CardFormSkeleton = (props) => {
|
|
12
12
|
const { isReady } = props;
|
|
@@ -7,15 +7,15 @@ import './event-types-CZfYo5-1.js';
|
|
|
7
7
|
import { C as ComponentErrorSeverity, e as ComponentErrorCodes } from './Plaid-l6nNIjab.js';
|
|
8
8
|
import { g as getErrorCode, a as getErrorMessage } from './utils-C1B2hVAB.js';
|
|
9
9
|
import { D as DisputeManagementClickActions, a as DisputeService } from './event-types-DalU_6SB.js';
|
|
10
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
11
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
10
|
+
import { c as checkPkgVersion } from './check-pkg-version-D-rHqtUI.js';
|
|
11
|
+
import { J as JustifiAnalytics } from './Analytics-Cg17Xhj_.js';
|
|
12
12
|
import './dinero-HXpYMWUU.js';
|
|
13
13
|
import './Api-DMd8hTI-.js';
|
|
14
14
|
import './config-state-kKn89dp1.js';
|
|
15
15
|
import './index-cDVGjRkU.js';
|
|
16
16
|
import './Pagination-CLHwhyvu.js';
|
|
17
17
|
import './Business-BcNb9bVO.js';
|
|
18
|
-
import './package-
|
|
18
|
+
import './package-B6YPrwyC.js';
|
|
19
19
|
|
|
20
20
|
const makeUpdateDisputeResponse = ({ authToken, disputeId, service }) => async ({ payload, onSuccess, onError, final = () => { } }) => {
|
|
21
21
|
var _a;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, c as createEvent } from './index-CV0Pyo1O.js';
|
|
2
2
|
import { C as CountryCode } from './Business-BcNb9bVO.js';
|
|
3
3
|
import { n as numberOnlyHandler } from './utils-BnjCmwMr.js';
|
|
4
|
-
import { b as countryOptions,
|
|
4
|
+
import { b as countryOptions, c as countryLabels } from './country-config-CdvhLcnT.js';
|
|
5
5
|
import { I as IMask } from './index-Ce_F4E0f.js';
|
|
6
6
|
import { q as inputInvalid, u as inputDisabled, v as inputFocused, w as input, x as label } from './parts-CPKMvyV_.js';
|
|
7
7
|
import { F as FormControlErrorText } from './form-control-error-text-Di9QePY5.js';
|
|
@@ -5,7 +5,7 @@ import { F as FormControlErrorText } from './form-control-error-text-Di9QePY5.js
|
|
|
5
5
|
import './event-types-CZfYo5-1.js';
|
|
6
6
|
import { I as IDENTITY_MASKS, P as PHONE_MASKS } from './form-input-masks-CVaOFfrI.js';
|
|
7
7
|
import { u as updateFormValues, a as updateAddressFormValues, b as updateDateOfBirthFormValues } from './input-handlers-1lVyzImK.js';
|
|
8
|
-
import {
|
|
8
|
+
import { c as countryLabels } from './country-config-CdvhLcnT.js';
|
|
9
9
|
import './Business-BcNb9bVO.js';
|
|
10
10
|
|
|
11
11
|
const FormControlNumber = class {
|
|
@@ -3,7 +3,7 @@ import { c as createStore } from './index-cDVGjRkU.js';
|
|
|
3
3
|
import { a3 as inputInvalidAndFocused, q as inputInvalid, v as inputFocused, w as input, x as label } from './parts-CPKMvyV_.js';
|
|
4
4
|
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-BFTU3MAI.js';
|
|
5
5
|
import { F as FormControlErrorText } from './form-control-error-text-Di9QePY5.js';
|
|
6
|
-
import { p as packageJson } from './package-
|
|
6
|
+
import { p as packageJson } from './package-B6YPrwyC.js';
|
|
7
7
|
|
|
8
8
|
const iframeInputStylesStore = createStore({
|
|
9
9
|
focused: {
|
|
@@ -11941,4 +11941,4 @@ class ObjectSchema extends Schema {
|
|
|
11941
11941
|
}
|
|
11942
11942
|
create$3.prototype = ObjectSchema.prototype;
|
|
11943
11943
|
|
|
11944
|
-
export { FormController as F, create$
|
|
11944
|
+
export { FormController as F, create$6 as a, create$8 as b, create$3 as c, create$7 as d };
|
|
@@ -11,8 +11,8 @@ import { w as waitForConfig, c as configState } from './config-state-kKn89dp1.js
|
|
|
11
11
|
import { H as Header1 } from './header-1-evYxFIGN.js';
|
|
12
12
|
import { H as Header2, b as insuranceValuesOn, h as hasInsuranceValueChanged, i as insuranceValues } from './insurance-state-CLGc1-_4.js';
|
|
13
13
|
import { H as Header3 } from './header-3-BUDap2xY.js';
|
|
14
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
15
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
14
|
+
import { J as JustifiAnalytics } from './Analytics-Cg17Xhj_.js';
|
|
15
|
+
import { c as checkPkgVersion } from './check-pkg-version-D-rHqtUI.js';
|
|
16
16
|
import './dinero-HXpYMWUU.js';
|
|
17
17
|
import './Pagination-CLHwhyvu.js';
|
|
18
18
|
import './Business-BcNb9bVO.js';
|
|
@@ -22,7 +22,7 @@ import { P as PlaidService } from './plaid.service-BiJ65YG8.js';
|
|
|
22
22
|
import { P as PAYMENT_METHODS, a as PaymentMethod, b as PAYMENT_MODE } from './index-DkoufM1t.js';
|
|
23
23
|
import { C as CardBrandLabels } from './payment-method-option-utils-lUHAQVFl.js';
|
|
24
24
|
import './index-cDVGjRkU.js';
|
|
25
|
-
import './package-
|
|
25
|
+
import './package-B6YPrwyC.js';
|
|
26
26
|
|
|
27
27
|
const JustifiRadioListItem = class {
|
|
28
28
|
constructor(hostRef) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
3
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
2
|
+
import { J as JustifiAnalytics } from './Analytics-Cg17Xhj_.js';
|
|
3
|
+
import { c as checkPkgVersion } from './check-pkg-version-D-rHqtUI.js';
|
|
4
4
|
import { w as waitForConfig } from './config-state-kKn89dp1.js';
|
|
5
5
|
import { S as StyledHost } from './styled-host-D6byRazK.js';
|
|
6
6
|
import './event-types-CZfYo5-1.js';
|
|
7
|
-
import './package-
|
|
7
|
+
import './package-B6YPrwyC.js';
|
|
8
8
|
import './Api-DMd8hTI-.js';
|
|
9
9
|
import './utils-BTtxWI2r.js';
|
|
10
10
|
import './dinero-HXpYMWUU.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
3
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
2
|
+
import { c as checkPkgVersion } from './check-pkg-version-D-rHqtUI.js';
|
|
3
|
+
import { J as JustifiAnalytics } from './Analytics-Cg17Xhj_.js';
|
|
4
4
|
import { w as waitForConfig } from './config-state-kKn89dp1.js';
|
|
5
5
|
import { S as StyledHost } from './styled-host-D6byRazK.js';
|
|
6
6
|
import './event-types-CZfYo5-1.js';
|
|
7
|
-
import './package-
|
|
7
|
+
import './package-B6YPrwyC.js';
|
|
8
8
|
import './Api-DMd8hTI-.js';
|
|
9
9
|
import './utils-BTtxWI2r.js';
|
|
10
10
|
import './dinero-HXpYMWUU.js';
|
|
@@ -3,8 +3,8 @@ import { E as ErrorState } from './utils-CX6puxwf.js';
|
|
|
3
3
|
import { B as BusinessService } from './business.service-C31wbMVs.js';
|
|
4
4
|
import { m as makeGetBusiness } from './get-business-Gg6qn5on.js';
|
|
5
5
|
import { C as ComponentErrorSeverity, e as ComponentErrorCodes } from './Plaid-l6nNIjab.js';
|
|
6
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
7
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
6
|
+
import { J as JustifiAnalytics } from './Analytics-Cg17Xhj_.js';
|
|
7
|
+
import { c as checkPkgVersion } from './check-pkg-version-D-rHqtUI.js';
|
|
8
8
|
import { S as StyledHost } from './styled-host-D6byRazK.js';
|
|
9
9
|
import './event-types-CZfYo5-1.js';
|
|
10
10
|
import { S as Skeleton } from './skeleton-BEHo2ypu.js';
|
|
@@ -17,7 +17,7 @@ import './dinero-HXpYMWUU.js';
|
|
|
17
17
|
import './Pagination-CLHwhyvu.js';
|
|
18
18
|
import './Business-BcNb9bVO.js';
|
|
19
19
|
import './utils-C1B2hVAB.js';
|
|
20
|
-
import './package-
|
|
20
|
+
import './package-B6YPrwyC.js';
|
|
21
21
|
|
|
22
22
|
const BusinessDetailsLoading = () => {
|
|
23
23
|
const Block = () => (h("div", { class: "mt-5" }, h(Skeleton, { width: "40%", height: "1.5rem" }), h("hr", null), h("div", { class: "row g-3" }, h("div", { class: "col-12 col-md-6" }, h(Skeleton, null), h(Skeleton, null), h(Skeleton, null)), h("div", { class: "col-12 col-md-6" }, h(Skeleton, null), h(Skeleton, null), h(Skeleton, null)))));
|