@justifi/webcomponents 6.10.0 → 6.10.2
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/bank-account-document-form-inputs_9.cjs.entry.js +1 -1
- package/dist/cjs/{check-pkg-version-DjlvidPw.js → check-pkg-version-axrC8Ato.js} +18 -1
- package/dist/cjs/form-control-number-masked_3.cjs.entry.js +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +1 -1
- package/dist/cjs/internal-tokenize-payment-method_7.cjs.entry.js +2 -2
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +20 -3
- package/dist/cjs/justifi-apple-pay_8.cjs.entry.js +2 -2
- package/dist/cjs/justifi-business-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-business-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +2 -2
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +2 -2
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +20 -0
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payout-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +2 -2
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +2 -2
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-C5inXJfW.js → package-CAxc3X25.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +16 -4
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +6 -0
- package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-already-provisioned.js +6 -0
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +15 -0
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-submission-complete.js +6 -0
- package/dist/collection/components/business-forms/payment-provisioning/plaid-verification/plaid-verification.js +2 -2
- package/dist/collection/utils/check-pkg-version.js +17 -0
- package/dist/docs.json +6 -73
- package/dist/esm/bank-account-document-form-inputs_9.entry.js +2 -2
- package/dist/esm/{check-pkg-version-wgHSN5sV.js → check-pkg-version-BVLXSZXz.js} +18 -1
- package/dist/esm/form-control-number-masked_3.entry.js +1 -1
- package/dist/esm/hidden-input_2.entry.js +1 -1
- package/dist/esm/internal-tokenize-payment-method_7.entry.js +2 -2
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +21 -4
- package/dist/esm/justifi-apple-pay_8.entry.js +2 -2
- package/dist/esm/justifi-business-details.entry.js +2 -2
- package/dist/esm/justifi-business-form.entry.js +2 -2
- package/dist/esm/justifi-checkout.entry.js +2 -2
- package/dist/esm/justifi-checkouts-list.entry.js +2 -2
- package/dist/esm/justifi-dispute-management.entry.js +2 -2
- package/dist/esm/justifi-dispute-notification_3.entry.js +2 -2
- package/dist/esm/justifi-gross-payment-chart.entry.js +2 -2
- package/dist/esm/justifi-order-terminals.entry.js +2 -2
- package/dist/esm/justifi-payment-details.entry.js +2 -2
- package/dist/esm/justifi-payment-provisioning-core.entry.js +21 -1
- package/dist/esm/justifi-payment-provisioning.entry.js +2 -2
- package/dist/esm/justifi-payment-transactions-list.entry.js +2 -2
- package/dist/esm/justifi-payments-list.entry.js +2 -2
- package/dist/esm/justifi-payout-details.entry.js +2 -2
- package/dist/esm/justifi-payout-transactions-list.entry.js +2 -2
- package/dist/esm/justifi-payouts-list.entry.js +2 -2
- package/dist/esm/justifi-refund-payment.entry.js +2 -2
- package/dist/esm/justifi-season-interruption-insurance.entry.js +2 -2
- package/dist/esm/justifi-terminal-orders-list.entry.js +2 -2
- package/dist/esm/justifi-terminals-list.entry.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-D4eE0MBI.js → package-Bjv3eJBk.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Analytics.js +17 -0
- package/dist/module/business-bank-account-form-step.js +15 -3
- package/dist/module/business-core-info-form-step.js +2 -2
- package/dist/module/business-core-info.js +1 -1
- package/dist/module/business-owners-form-step.js +7 -1
- package/dist/module/business-representative-form-inputs.js +1 -1
- package/dist/module/business-representative.js +1 -1
- package/dist/module/button.js +1 -1
- package/dist/module/dispute-notification.js +1 -1
- package/dist/module/dispute-response-core.js +1 -1
- package/dist/module/form-address-fields.js +1 -1
- package/dist/module/justifi-order-terminals.js +1 -1
- package/dist/module/owner-form-inputs2.js +1 -1
- package/dist/module/package.js +1 -1
- package/dist/module/parts.js +1 -1
- package/dist/module/payment-provisioning-core.js +22 -1
- package/dist/module/plaid-verification2.js +2 -2
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +3 -0
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-already-provisioned.d.ts +1 -0
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +1 -0
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-submission-complete.d.ts +1 -0
- package/dist/types/ui-components/button.d.ts +1 -1
- package/dist/webcomponents/{p-df61f19b.entry.js → p-0588173b.entry.js} +1 -1
- package/dist/webcomponents/{p-2bbd810a.entry.js → p-1a4d5f16.entry.js} +1 -1
- package/dist/webcomponents/{p-ed4f8027.entry.js → p-21620dd2.entry.js} +1 -1
- package/dist/webcomponents/p-21b5240d.entry.js +1 -0
- package/dist/webcomponents/{p-2b679e5a.entry.js → p-282134de.entry.js} +1 -1
- package/dist/webcomponents/p-35d1be0f.entry.js +1 -0
- package/dist/webcomponents/{p-423b63ad.entry.js → p-479e4baf.entry.js} +1 -1
- package/dist/webcomponents/{p-d62da4f2.entry.js → p-4d6031dd.entry.js} +1 -1
- package/dist/webcomponents/{p-d766763a.entry.js → p-4ebaafe3.entry.js} +1 -1
- package/dist/webcomponents/{p-8728065b.entry.js → p-4fc5ffda.entry.js} +1 -1
- package/dist/webcomponents/{p-979d22d0.entry.js → p-643f1616.entry.js} +1 -1
- package/dist/webcomponents/{p-38c1e9fa.entry.js → p-6486555d.entry.js} +1 -1
- package/dist/webcomponents/{p-d0813f21.entry.js → p-7318981d.entry.js} +1 -1
- package/dist/webcomponents/{p-3971d6b7.entry.js → p-7d122d5b.entry.js} +1 -1
- package/dist/webcomponents/p-7dc5995e.entry.js +1 -0
- package/dist/webcomponents/{p-d9118b1e.entry.js → p-7e3030c2.entry.js} +1 -1
- package/dist/webcomponents/{p-5d753fd4.entry.js → p-8dc8ad9a.entry.js} +1 -1
- package/dist/webcomponents/p-Bjv3eJBk.js +1 -0
- package/dist/webcomponents/{p-CbTf_N6u.js → p-BqpQa748.js} +1 -1
- package/dist/webcomponents/{p-b4b540fa.entry.js → p-b61080bd.entry.js} +1 -1
- package/dist/webcomponents/p-cb9abd2c.entry.js +1 -0
- package/dist/webcomponents/{p-eb1251bf.entry.js → p-ccb0a84a.entry.js} +1 -1
- package/dist/webcomponents/{p-e2bc6c68.entry.js → p-d36725a3.entry.js} +1 -1
- package/dist/webcomponents/{p-7769de83.entry.js → p-d7bd9d76.entry.js} +1 -1
- package/dist/webcomponents/{p-0e21749b.entry.js → p-e8f9b081.entry.js} +1 -1
- package/dist/webcomponents/{p-2438363d.entry.js → p-ec933218.entry.js} +1 -1
- package/dist/webcomponents/{p-300002dd.entry.js → p-eeee370f.entry.js} +1 -1
- package/dist/webcomponents/{p-f18e90b1.entry.js → p-f1b99b0d.entry.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +3 -2
- package/dist/webcomponents/p-12665340.entry.js +0 -1
- package/dist/webcomponents/p-5cee4e33.entry.js +0 -1
- package/dist/webcomponents/p-D4eE0MBI.js +0 -1
- package/dist/webcomponents/p-afa2ebd9.entry.js +0 -1
- package/dist/webcomponents/p-c725dc53.entry.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement, H as Host } from './index-CV0Pyo1O.js';
|
|
2
2
|
import { S as StyledHost } from './styled-host-D6byRazK.js';
|
|
3
3
|
import './event-types-CZfYo5-1.js';
|
|
4
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
4
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BVLXSZXz.js';
|
|
5
5
|
import { w as waitForConfig, c as configState } from './config-state-kKn89dp1.js';
|
|
6
6
|
import './dinero-HXpYMWUU.js';
|
|
7
7
|
import { a as ComponentErrorCodes, C as ComponentErrorSeverity } from './ComponentError-Cjcsf8ku.js';
|
|
@@ -15,7 +15,7 @@ import { S as Skeleton } from './skeleton-C162KC3u.js';
|
|
|
15
15
|
import { b as generateTabId } from './utils-7bp92NC7.js';
|
|
16
16
|
import { B as Button } from './button-DOkTCYSa.js';
|
|
17
17
|
import { u as radioListItem } from './parts-C4FLe2pT.js';
|
|
18
|
-
import './package-
|
|
18
|
+
import './package-Bjv3eJBk.js';
|
|
19
19
|
import './Api-CLZVsXZg.js';
|
|
20
20
|
import './index-cDVGjRkU.js';
|
|
21
21
|
|
|
@@ -6,7 +6,7 @@ import { a as additionalQuestionsSchema, c as businessCoreInfoSchemaCAN, b as bu
|
|
|
6
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 } from './Business-BcNb9bVO.js';
|
|
8
8
|
import { C as CURRENCY_MASK, P as PHONE_MASKS } from './form-input-masks-CVaOFfrI.js';
|
|
9
|
-
import { J as heading2, am as buttonSecondary, $ as label, Y as inputDisabled, aG as alert } from './parts-C4FLe2pT.js';
|
|
9
|
+
import { J as heading2, a4 as buttonLink, am as buttonSecondary, $ as label, Y as inputDisabled, aG as alert } from './parts-C4FLe2pT.js';
|
|
10
10
|
import { P as PaymentProvisioningLoading } from './payment-provisioning-loading-D_VKtlLm.js';
|
|
11
11
|
import { b as businessServiceReceivedOptions, c as businessClassificationOptions } from './business-form-options-DRalxlqN.js';
|
|
12
12
|
import { a as BusinessFormStep, B as BusinessFormClickActions } from './event-types-XYgDHrVL.js';
|
|
@@ -283,6 +283,7 @@ const BusinessBankAccountFormStep = class {
|
|
|
283
283
|
this.isAddingNewBankAccount = true;
|
|
284
284
|
this.bankAccountVerification = false;
|
|
285
285
|
this.platformAccountId = null;
|
|
286
|
+
this.usePlaidVerification = true;
|
|
286
287
|
this.getSchema = () => {
|
|
287
288
|
const schema = bankAccountSchemaByCountry[this.country];
|
|
288
289
|
return schema(this.allowOptionalFields, this.existingDocuments);
|
|
@@ -344,13 +345,23 @@ const BusinessBankAccountFormStep = class {
|
|
|
344
345
|
this.handleChangeBankAccount = () => {
|
|
345
346
|
this.isAddingNewBankAccount = true;
|
|
346
347
|
this.documentData = new EntityDocumentStorage();
|
|
348
|
+
// Reset to Plaid if available when changing bank account
|
|
349
|
+
this.usePlaidVerification = this.bankAccountVerification && !!this.platformAccountId;
|
|
347
350
|
this.initializeFormController();
|
|
348
351
|
};
|
|
349
352
|
this.handleCancel = () => {
|
|
350
353
|
this.isAddingNewBankAccount = false;
|
|
351
354
|
this.documentData = new EntityDocumentStorage();
|
|
355
|
+
// Reset toggle state when canceling
|
|
356
|
+
this.usePlaidVerification = true;
|
|
352
357
|
this.initializeFormController();
|
|
353
358
|
};
|
|
359
|
+
this.handleToggleToManualEntry = () => {
|
|
360
|
+
this.usePlaidVerification = false;
|
|
361
|
+
};
|
|
362
|
+
this.handleToggleToPlaidVerification = () => {
|
|
363
|
+
this.usePlaidVerification = true;
|
|
364
|
+
};
|
|
354
365
|
this.handleSaveBankAccount = async () => {
|
|
355
366
|
this.formController.validateAndSubmit(() => {
|
|
356
367
|
this.sendData(() => {
|
|
@@ -596,11 +607,11 @@ const BusinessBankAccountFormStep = class {
|
|
|
596
607
|
if (this.isLoading) {
|
|
597
608
|
return h(PaymentProvisioningLoading, null);
|
|
598
609
|
}
|
|
599
|
-
return (h("form", null, h("fieldset", { class: "mb-4" }, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Bank Account Info"), h("form-control-tooltip", { helpText: "This direct deposit account is the designated bank account where incoming funds will be deposited. The name of this account must match the registered business name exactly. We are not able to accept personal accounts unless your business is a registered sole proprietorship." })), h("hr", { class: "mt-2" }), shouldShowPlaidVerification && (h("div", { class: "mt-3" }, h("plaid-verification", { authToken: this.authToken, accountId: this.platformAccountId, businessId: this.businessId, onPlaidVerificationSuccess: () => {
|
|
610
|
+
return (h("form", null, h("fieldset", { class: "mb-4" }, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Bank Account Info"), h("form-control-tooltip", { helpText: "This direct deposit account is the designated bank account where incoming funds will be deposited. The name of this account must match the registered business name exactly. We are not able to accept personal accounts unless your business is a registered sole proprietorship." })), h("hr", { class: "mt-2" }), shouldShowPlaidVerification && this.usePlaidVerification && !this.showReadOnlyView && (h("div", { class: "mt-3" }, h("plaid-verification", { authToken: this.authToken, accountId: this.platformAccountId, businessId: this.businessId, onPlaidVerificationSuccess: () => {
|
|
600
611
|
// Refresh bank account data after successful Plaid verification
|
|
601
612
|
this.isAddingNewBankAccount = false;
|
|
602
613
|
this.refreshBankAccountData();
|
|
603
|
-
} }))), this.country === CountryCode.CAN ? (h("bank-account-form-inputs-canada", { defaultValue: bankAccountDefaultValue, errors: this.errors, inputHandler: this.inputHandler, formDisabled: this.showReadOnlyView })) : (h("bank-account-form-inputs", { defaultValue: bankAccountDefaultValue, errors: this.errors, inputHandler: this.inputHandler, formDisabled: this.showReadOnlyView })), this.showReadOnlyView && (h("div", { class: "mt-3" }, h(Button, { variant: "secondary", type: "button", onClick: this.handleChangeBankAccount, disabled: this.isLoading, part: buttonSecondary }, "Change Bank Account"))), (!this.existingBankAccount || this.isAddingNewBankAccount) && (h("div", { class: "mt-3 d-flex gap-2" }, this.isAddingNewBankAccount && (h(Button, { variant: "secondary", type: "button", onClick: this.handleCancel, disabled: this.isLoading, part: buttonSecondary }, "Cancel")), h(Button, { variant: "primary", type: "button", onClick: this.handleSaveBankAccount, disabled: this.isLoading, isLoading: this.isLoading }, "Save Bank Account")))), h("fieldset", { class: "mt-4" }, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Document Uploads"), h("form-control-tooltip", { helpText: "One document (voided check or bank statement) is required for underwriting purposes. It needs to visibly show the name tied to the account and the account number. Various file formats such as PDF, DOC, DOCX, JPEG are accepted. Multiple files can be uploaded for each document category." })), h("hr", { class: "mt-2" }), h("business-documents-on-file", { documents: this.existingDocuments, isLoading: this.isLoading }), h("bank-account-document-form-inputs", { inputHandler: this.inputHandler, errors: this.errors, storeFiles: this.storeFiles }))));
|
|
614
|
+
} }), h("div", { class: "mt-3" }, h(Button, { type: "button", variant: "link", onClick: this.handleToggleToManualEntry, disabled: this.isLoading, part: buttonLink }, "Enter bank details manually (document upload required)")))), (!this.usePlaidVerification || this.showReadOnlyView) && (h("div", null, shouldShowPlaidVerification && !this.usePlaidVerification && !this.showReadOnlyView && (h("div", { class: "mb-3" }, h(Button, { type: "button", variant: "secondary", onClick: this.handleToggleToPlaidVerification, disabled: this.isLoading, part: buttonSecondary }, "Link bank account with Plaid instead"))), this.country === CountryCode.CAN ? (h("bank-account-form-inputs-canada", { defaultValue: bankAccountDefaultValue, errors: this.errors, inputHandler: this.inputHandler, formDisabled: this.showReadOnlyView })) : (h("bank-account-form-inputs", { defaultValue: bankAccountDefaultValue, errors: this.errors, inputHandler: this.inputHandler, formDisabled: this.showReadOnlyView })))), this.showReadOnlyView && (h("div", { class: "mt-3" }, h(Button, { variant: "secondary", type: "button", onClick: this.handleChangeBankAccount, disabled: this.isLoading, part: buttonSecondary }, "Change Bank Account"))), (!this.existingBankAccount || this.isAddingNewBankAccount) && !this.usePlaidVerification && (h("div", { class: "mt-3 d-flex gap-2" }, this.isAddingNewBankAccount && (h(Button, { variant: "secondary", type: "button", onClick: this.handleCancel, disabled: this.isLoading, part: buttonSecondary }, "Cancel")), h(Button, { variant: "primary", type: "button", onClick: this.handleSaveBankAccount, disabled: this.isLoading, isLoading: this.isLoading }, "Save Bank Account")))), (!this.usePlaidVerification || this.showReadOnlyView) && (h("fieldset", { class: "mt-4" }, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Document Uploads"), h("form-control-tooltip", { helpText: "One document (voided check or bank statement) is required for underwriting purposes. It needs to visibly show the name tied to the account and the account number. Various file formats such as PDF, DOC, DOCX, JPEG are accepted. Multiple files can be uploaded for each document category." })), h("hr", { class: "mt-2" }), h("business-documents-on-file", { documents: this.existingDocuments, isLoading: this.isLoading }), h("bank-account-document-form-inputs", { inputHandler: this.inputHandler, errors: this.errors, storeFiles: this.storeFiles })))));
|
|
604
615
|
}
|
|
605
616
|
static get watchers() { return {
|
|
606
617
|
"authToken": ["propChanged"],
|
|
@@ -730,7 +741,7 @@ const BusinessCoreInfoFormStep = class {
|
|
|
730
741
|
if (this.isLoading) {
|
|
731
742
|
return h(PaymentProvisioningLoading, null);
|
|
732
743
|
}
|
|
733
|
-
return (h("form", null, h("fieldset", null, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Business Information")), h("hr", { class: "mt-2" }), h("div", { class: "row gy-3" }, h("div", { class: "col-12" }, h("form-control-text", { name: "legal_name", label: "Business Name", defaultValue: coreInfoDefaultValue.legal_name, errorText: this.errors.legal_name, inputHandler: this.inputHandler, helpText: "Enter this exactly as it appears on your tax records (don't use acronyms or abbreviations unless you registered that way)." })), h("div", { class: "col-12" }, h("form-control-text", { name: "doing_business_as", label: "Doing Business As (DBA)", defaultValue: coreInfoDefaultValue.doing_business_as, errorText: this.errors.doing_business_as, inputHandler: this.inputHandler, helpText: "Enter this exactly as it appears on your tax records (leave blank if you don't have a registered DBA/trade name)" })), h("div", { class: "col-12 col-md-8" }, h("form-control-select", { name: "classification", label: "Business Classification", options: businessClassificationOptions, defaultValue: coreInfoDefaultValue.classification, errorText: this.errors.classification, inputHandler: this.inputHandler })), h("div", { class: "col-12 col-md-4" }, h("form-control-date", { name: "date_of_incorporation", label: "Date of Registration", defaultValue: coreInfoDefaultValue.date_of_incorporation, errorText: this.errors.date_of_incorporation, inputHandler: this.inputHandler })), h("div", { class: "col-12 col-md-6" }, h("form-control-text", { name: "industry", label: "Industry", defaultValue: coreInfoDefaultValue.industry, errorText: this.errors.industry, inputHandler: this.inputHandler, helpText: "Describe what you sell" })), h("div", { class: "col-12 col-md-6" }, (!((_a = this.coreInfo) === null || _a === void 0 ? void 0 : _a.tax_id_last4) || this.isEditingTaxId) ? (h("form-control-number-masked", { name: "tax_id", label: countryLabels[this.country].taxIdLabel, defaultValue: this.isEditingTaxId ? '' : coreInfoDefaultValue.tax_id, errorText: this.errors.tax_id, inputHandler: this.inputHandler, mask: '000000000', helpText: countryLabels[this.country].taxIdHelpText })) : (h("div", null, h("label", { class: "form-label", part: label }, countryLabels[this.country].taxIdLabel), h("div", { class: "input-group mb-3" }, h("input", { type: "text", class: "form-control", part: inputDisabled, value: `****${(_b = this.coreInfo) === null || _b === void 0 ? void 0 : _b.tax_id_last4}`, disabled: true }), h("button", { class: "btn btn-secondary", type: "button", part: buttonSecondary, onClick: () => {
|
|
744
|
+
return (h("form", null, h("fieldset", null, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Business Information")), h("hr", { class: "mt-2" }), h("div", { class: "row gy-3" }, h("div", { class: "col-12 col-md-6" }, h("form-control-text", { name: "legal_name", label: "Business Name", defaultValue: coreInfoDefaultValue.legal_name, errorText: this.errors.legal_name, inputHandler: this.inputHandler, helpText: "Enter this exactly as it appears on your tax records (don't use acronyms or abbreviations unless you registered that way)." })), h("div", { class: "col-12 col-md-6" }, h("form-control-text", { name: "doing_business_as", label: "Doing Business As (DBA)", defaultValue: coreInfoDefaultValue.doing_business_as, errorText: this.errors.doing_business_as, inputHandler: this.inputHandler, helpText: "Enter this exactly as it appears on your tax records (leave blank if you don't have a registered DBA/trade name)" })), h("div", { class: "col-12 col-md-8" }, h("form-control-select", { name: "classification", label: "Business Classification", options: businessClassificationOptions, defaultValue: coreInfoDefaultValue.classification, errorText: this.errors.classification, inputHandler: this.inputHandler })), h("div", { class: "col-12 col-md-4" }, h("form-control-date", { name: "date_of_incorporation", label: "Date of Registration", defaultValue: coreInfoDefaultValue.date_of_incorporation, errorText: this.errors.date_of_incorporation, inputHandler: this.inputHandler })), h("div", { class: "col-12 col-md-6" }, h("form-control-text", { name: "industry", label: "Industry", defaultValue: coreInfoDefaultValue.industry, errorText: this.errors.industry, inputHandler: this.inputHandler, helpText: "Describe what you sell" })), h("div", { class: "col-12 col-md-6" }, (!((_a = this.coreInfo) === null || _a === void 0 ? void 0 : _a.tax_id_last4) || this.isEditingTaxId) ? (h("form-control-number-masked", { name: "tax_id", label: countryLabels[this.country].taxIdLabel, defaultValue: this.isEditingTaxId ? '' : coreInfoDefaultValue.tax_id, errorText: this.errors.tax_id, inputHandler: this.inputHandler, mask: '000000000', helpText: countryLabels[this.country].taxIdHelpText })) : (h("div", null, h("label", { class: "form-label", part: label }, countryLabels[this.country].taxIdLabel), h("div", { class: "input-group mb-3" }, h("input", { type: "text", class: "form-control", part: inputDisabled, value: `****${(_b = this.coreInfo) === null || _b === void 0 ? void 0 : _b.tax_id_last4}`, disabled: true }), h("button", { class: "btn btn-secondary", type: "button", part: buttonSecondary, onClick: () => {
|
|
734
745
|
this.isEditingTaxId = true;
|
|
735
746
|
// Clear last4-equivalent and current value if any future conditional validation depends on it
|
|
736
747
|
this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { tax_id: '', tax_id_last4: null }));
|
|
@@ -827,6 +838,8 @@ const BusinessOwnersFormStep = class {
|
|
|
827
838
|
this.handleRepresentativeIsOwnerChange = (value) => {
|
|
828
839
|
this.representativeIsOwner = value;
|
|
829
840
|
if (this.representativeIsOwner) {
|
|
841
|
+
this.formLoading.emit(true);
|
|
842
|
+
this.isLoading = true;
|
|
830
843
|
this.ownersPayload = this.ownersPayload.filter(owner => owner.id !== '');
|
|
831
844
|
this.patchBusiness({
|
|
832
845
|
payload: {
|
|
@@ -836,6 +849,10 @@ const BusinessOwnersFormStep = class {
|
|
|
836
849
|
this.getData();
|
|
837
850
|
this.newFormOpen = false;
|
|
838
851
|
},
|
|
852
|
+
finally: () => {
|
|
853
|
+
this.isLoading = false;
|
|
854
|
+
this.formLoading.emit(false);
|
|
855
|
+
}
|
|
839
856
|
});
|
|
840
857
|
}
|
|
841
858
|
};
|
|
@@ -11,7 +11,7 @@ import { w as waitForConfig, c as configState } from './config-state-kKn89dp1.js
|
|
|
11
11
|
import { H as Header1 } from './header-1-xlSavD5o.js';
|
|
12
12
|
import { H as Header2, b as insuranceValuesOn, h as hasInsuranceValueChanged, i as insuranceValues } from './insurance-state-jZTKdt60.js';
|
|
13
13
|
import { H as Header3 } from './header-3-egutsoDI.js';
|
|
14
|
-
import { J as JustifiAnalytics, c as checkPkgVersion } from './check-pkg-version-
|
|
14
|
+
import { J as JustifiAnalytics, c as checkPkgVersion } from './check-pkg-version-BVLXSZXz.js';
|
|
15
15
|
import './dinero-HXpYMWUU.js';
|
|
16
16
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes, b as ComponentErrorMessages } from './ComponentError-Cjcsf8ku.js';
|
|
17
17
|
import './Pagination-CLHwhyvu.js';
|
|
@@ -23,7 +23,7 @@ import { P as PlaidService, p as plaidIconSvg } from './plaid-icon-B7a1QC7F.js';
|
|
|
23
23
|
import { P as PAYMENT_METHODS, a as PaymentMethod, b as PAYMENT_MODE } from './index-DkoufM1t.js';
|
|
24
24
|
import { C as CardBrandLabels } from './payment-method-option-utils-lUHAQVFl.js';
|
|
25
25
|
import './index-cDVGjRkU.js';
|
|
26
|
-
import './package-
|
|
26
|
+
import './package-Bjv3eJBk.js';
|
|
27
27
|
|
|
28
28
|
// Centralized error codes for Apple Pay service
|
|
29
29
|
var ApplePayServiceErrorCode;
|
|
@@ -3,7 +3,7 @@ import { E as ErrorState } from './utils-BSpK1eMX.js';
|
|
|
3
3
|
import { B as BusinessService } from './business.service-CS-wQJoN.js';
|
|
4
4
|
import { m as makeGetBusiness } from './get-business-BtJWpVs_.js';
|
|
5
5
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
|
|
6
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
6
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BVLXSZXz.js';
|
|
7
7
|
import './parts-C4FLe2pT.js';
|
|
8
8
|
import './Api-CLZVsXZg.js';
|
|
9
9
|
import './config-state-kKn89dp1.js';
|
|
@@ -15,7 +15,7 @@ import './Dispute-BH0Xfn-F.js';
|
|
|
15
15
|
import './Pagination-CLHwhyvu.js';
|
|
16
16
|
import './Business-BcNb9bVO.js';
|
|
17
17
|
import './utils-BeQLScSm.js';
|
|
18
|
-
import './package-
|
|
18
|
+
import './package-Bjv3eJBk.js';
|
|
19
19
|
|
|
20
20
|
const BusinessDetails = class {
|
|
21
21
|
constructor(hostRef) {
|
|
@@ -9,7 +9,7 @@ import './Plaid-Cmyilr-q.js';
|
|
|
9
9
|
import './Pagination-CLHwhyvu.js';
|
|
10
10
|
import { C as CountryCode, B as Business, b as BusinessFormServerErrors } from './Business-BcNb9bVO.js';
|
|
11
11
|
import './Dispute-BH0Xfn-F.js';
|
|
12
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
12
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BVLXSZXz.js';
|
|
13
13
|
import { B as Button } from './button-DOkTCYSa.js';
|
|
14
14
|
import { S as StyledHost } from './styled-host-D6byRazK.js';
|
|
15
15
|
import { H as Header1 } from './header-1-xlSavD5o.js';
|
|
@@ -24,7 +24,7 @@ import './country-config-P042rrI3.js';
|
|
|
24
24
|
import './business-form-options-DRalxlqN.js';
|
|
25
25
|
import './index-cDVGjRkU.js';
|
|
26
26
|
import './utils-7bp92NC7.js';
|
|
27
|
-
import './package-
|
|
27
|
+
import './package-Bjv3eJBk.js';
|
|
28
28
|
import './Api-CLZVsXZg.js';
|
|
29
29
|
import './parts-C4FLe2pT.js';
|
|
30
30
|
import './utils-BeQLScSm.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
2
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BVLXSZXz.js';
|
|
3
3
|
import { c as checkoutStore } from './checkout.store-iNkW80yV.js';
|
|
4
4
|
import { c as checkoutSummary } from './parts-C4FLe2pT.js';
|
|
5
5
|
import { S as StyledHost } from './styled-host-D6byRazK.js';
|
|
6
6
|
import './event-types-CZfYo5-1.js';
|
|
7
7
|
import { P as PAYMENT_METHODS } from './index-DkoufM1t.js';
|
|
8
|
-
import './package-
|
|
8
|
+
import './package-Bjv3eJBk.js';
|
|
9
9
|
import './Api-CLZVsXZg.js';
|
|
10
10
|
import './config-state-kKn89dp1.js';
|
|
11
11
|
import './index-cDVGjRkU.js';
|
|
@@ -7,7 +7,7 @@ import './Pagination-CLHwhyvu.js';
|
|
|
7
7
|
import './Business-BcNb9bVO.js';
|
|
8
8
|
import './Dispute-BH0Xfn-F.js';
|
|
9
9
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
10
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
10
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BVLXSZXz.js';
|
|
11
11
|
import { C as CheckoutService } from './checkout.service-BcQ_onZq.js';
|
|
12
12
|
import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts-BFALCYFr.js';
|
|
13
13
|
import { S as StyledHost } from './styled-host-D6byRazK.js';
|
|
@@ -15,7 +15,7 @@ import './event-types-CZfYo5-1.js';
|
|
|
15
15
|
import { d as defaultColumnsKeys } from './checkouts-table-C5aYyqpX.js';
|
|
16
16
|
import './index-cDVGjRkU.js';
|
|
17
17
|
import './utils-7bp92NC7.js';
|
|
18
|
-
import './package-
|
|
18
|
+
import './package-Bjv3eJBk.js';
|
|
19
19
|
import './Api-CLZVsXZg.js';
|
|
20
20
|
import './badge-AZ7Z3PKH.js';
|
|
21
21
|
import './parts-C4FLe2pT.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-CV0Pyo1O.js';
|
|
2
2
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
|
|
3
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
3
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BVLXSZXz.js';
|
|
4
4
|
import { D as Dispute } from './Dispute-BH0Xfn-F.js';
|
|
5
5
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
6
6
|
import { D as DisputeService } from './dispute.service-B_oe0uFV.js';
|
|
7
|
-
import './package-
|
|
7
|
+
import './package-Bjv3eJBk.js';
|
|
8
8
|
import './Api-CLZVsXZg.js';
|
|
9
9
|
import './config-state-kKn89dp1.js';
|
|
10
10
|
import './index-cDVGjRkU.js';
|
|
@@ -9,7 +9,7 @@ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Compone
|
|
|
9
9
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
10
10
|
import { D as DisputeService } from './dispute.service-B_oe0uFV.js';
|
|
11
11
|
import { D as DisputeManagementClickActions } from './event-types-Bg2SZArf.js';
|
|
12
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
12
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BVLXSZXz.js';
|
|
13
13
|
import './dinero-HXpYMWUU.js';
|
|
14
14
|
import './Api-CLZVsXZg.js';
|
|
15
15
|
import './config-state-kKn89dp1.js';
|
|
@@ -18,7 +18,7 @@ import './Plaid-Cmyilr-q.js';
|
|
|
18
18
|
import './Dispute-BH0Xfn-F.js';
|
|
19
19
|
import './Pagination-CLHwhyvu.js';
|
|
20
20
|
import './Business-BcNb9bVO.js';
|
|
21
|
-
import './package-
|
|
21
|
+
import './package-Bjv3eJBk.js';
|
|
22
22
|
|
|
23
23
|
const makeUpdateDisputeResponse = ({ authToken, disputeId, service }) => async ({ payload, onSuccess, onError, final = () => { } }) => {
|
|
24
24
|
var _a;
|
|
@@ -7,13 +7,13 @@ import './Business-BcNb9bVO.js';
|
|
|
7
7
|
import './Dispute-BH0Xfn-F.js';
|
|
8
8
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
9
9
|
import { E as ErrorState } from './utils-BSpK1eMX.js';
|
|
10
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
10
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BVLXSZXz.js';
|
|
11
11
|
import './config-state-kKn89dp1.js';
|
|
12
12
|
import './index-cDVGjRkU.js';
|
|
13
13
|
import './utils-7bp92NC7.js';
|
|
14
14
|
import './dinero-HXpYMWUU.js';
|
|
15
15
|
import './parts-C4FLe2pT.js';
|
|
16
|
-
import './package-
|
|
16
|
+
import './package-Bjv3eJBk.js';
|
|
17
17
|
|
|
18
18
|
const api = Api();
|
|
19
19
|
class ReportsService {
|
|
@@ -2,7 +2,7 @@ import { h, r as registerInstance, c as createEvent } from './index-CV0Pyo1O.js'
|
|
|
2
2
|
import { au as heading5, as as heading4, an as buttonPrimary, H as text } from './parts-C4FLe2pT.js';
|
|
3
3
|
import { S as StyledHost } from './styled-host-D6byRazK.js';
|
|
4
4
|
import './event-types-CZfYo5-1.js';
|
|
5
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
5
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BVLXSZXz.js';
|
|
6
6
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
|
|
7
7
|
import { B as BusinessService } from './business.service-CS-wQJoN.js';
|
|
8
8
|
import { B as Business } from './Business-BcNb9bVO.js';
|
|
@@ -16,7 +16,7 @@ import './Dispute-BH0Xfn-F.js';
|
|
|
16
16
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
17
17
|
import { T as TerminalService } from './terminal.service-Dv1-CZ4Y.js';
|
|
18
18
|
import { l as formatPhoneNumber } from './utils-7bp92NC7.js';
|
|
19
|
-
import './package-
|
|
19
|
+
import './package-Bjv3eJBk.js';
|
|
20
20
|
import './Api-CLZVsXZg.js';
|
|
21
21
|
import './index-cDVGjRkU.js';
|
|
22
22
|
|
|
@@ -3,7 +3,7 @@ import { P as PaymentService } from './payment.service-Nvz1TYZB.js';
|
|
|
3
3
|
import { m as makeGetPaymentDetails } from './get-payment-details-BdewJSTH.js';
|
|
4
4
|
import { E as ErrorState } from './utils-BSpK1eMX.js';
|
|
5
5
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
|
|
6
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
6
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BVLXSZXz.js';
|
|
7
7
|
import './Api-CLZVsXZg.js';
|
|
8
8
|
import './config-state-kKn89dp1.js';
|
|
9
9
|
import './index-cDVGjRkU.js';
|
|
@@ -15,7 +15,7 @@ import './Pagination-CLHwhyvu.js';
|
|
|
15
15
|
import './Business-BcNb9bVO.js';
|
|
16
16
|
import './utils-BeQLScSm.js';
|
|
17
17
|
import './parts-C4FLe2pT.js';
|
|
18
|
-
import './package-
|
|
18
|
+
import './package-Bjv3eJBk.js';
|
|
19
19
|
|
|
20
20
|
const PaymentDetails = class {
|
|
21
21
|
constructor(hostRef) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent
|
|
1
|
+
import { h, r as registerInstance, c as createEvent } from './index-CV0Pyo1O.js';
|
|
2
2
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
|
|
3
3
|
import { C as CountryCode, B as Business, c as checkProvisioningStatus } from './Business-BcNb9bVO.js';
|
|
4
4
|
import { H as text } from './parts-C4FLe2pT.js';
|
|
@@ -9,6 +9,14 @@ import { B as BusinessFormClickActions } from './event-types-XYgDHrVL.js';
|
|
|
9
9
|
import { P as PaymentProvisioningLoading } from './payment-provisioning-loading-D_VKtlLm.js';
|
|
10
10
|
import './skeleton-C162KC3u.js';
|
|
11
11
|
|
|
12
|
+
const PaymentProvisioningAlreadyProvisioned = () => {
|
|
13
|
+
return (h("div", { class: "row gap-3 p-5" }, h("div", { class: "col-12" }, h(Header1, { text: "Business Already Provisioned" })), h("div", { class: "col-12", part: text }, h("p", null, "We have already received the onboarding information for this business."))));
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
const PaymentProvisioningSubmissionComplete = () => {
|
|
17
|
+
return (h("div", { class: "row gap-3 p5" }, h("div", { class: "col-12" }, h(Header1, { text: "You're all set for now" })), h("div", { class: "col-12", part: text }, h("p", null, "We're reviewing your information and working on your approval. We'll be in touch to let you know once you've been approved (or if we find anything that needs fixing). Have a good one!"))));
|
|
18
|
+
};
|
|
19
|
+
|
|
12
20
|
const PaymentProvisioningCore = class {
|
|
13
21
|
constructor(hostRef) {
|
|
14
22
|
registerInstance(this, hostRef);
|
|
@@ -18,6 +26,7 @@ const PaymentProvisioningCore = class {
|
|
|
18
26
|
this.loading = false;
|
|
19
27
|
this.businessLoading = true;
|
|
20
28
|
this.businessProvisioned = false;
|
|
29
|
+
this.formSubmitted = false;
|
|
21
30
|
this.currentStep = 0;
|
|
22
31
|
this.country = CountryCode.USA;
|
|
23
32
|
this.allowOptionalFields = false;
|
|
@@ -53,6 +62,7 @@ const PaymentProvisioningCore = class {
|
|
|
53
62
|
this.postProvisioningData = () => {
|
|
54
63
|
this.postProvisioning({
|
|
55
64
|
onSuccess: (response) => {
|
|
65
|
+
this.formSubmitted = true;
|
|
56
66
|
this.submitEvent.emit({ response: response });
|
|
57
67
|
},
|
|
58
68
|
onError: ({ error, code, severity }) => {
|
|
@@ -119,9 +129,19 @@ const PaymentProvisioningCore = class {
|
|
|
119
129
|
this.loading = event.detail;
|
|
120
130
|
}
|
|
121
131
|
render() {
|
|
132
|
+
// State 1: Loading
|
|
122
133
|
if (this.businessLoading) {
|
|
123
134
|
return (h(StyledHost, null, h(PaymentProvisioningLoading, null)));
|
|
124
135
|
}
|
|
136
|
+
// State 2: Already Provisioned
|
|
137
|
+
if (this.businessProvisioned) {
|
|
138
|
+
return (h(StyledHost, null, h(PaymentProvisioningAlreadyProvisioned, null)));
|
|
139
|
+
}
|
|
140
|
+
// State 3: Submission Complete
|
|
141
|
+
if (this.formSubmitted) {
|
|
142
|
+
return (h(StyledHost, null, h(PaymentProvisioningSubmissionComplete, null)));
|
|
143
|
+
}
|
|
144
|
+
// State 4: Form Steps (default)
|
|
125
145
|
return (h(StyledHost, null, h("div", { class: 'row gap-3' }, h(Header1, { text: this.formTitle }), h("justifi-payment-provisioning-form-steps", { businessId: this.businessId, authToken: this.authToken, refs: this.refs, currentStep: this.currentStep, allowOptionalFields: this.allowOptionalFields, country: this.country, handleFormLoading: this.handleFormLoading }), h("div", { class: 'd-flex justify-content-between align-items-center' }, h("div", { class: 'd-flex align-items-center', part: text }, this.stepCounter), h("justifi-payment-provisioning-form-buttons", { currentStep: this.currentStep, totalSteps: this.totalSteps, formLoading: this.loading, formDisabled: this.formDisabled, previousStepButtonOnClick: this.previousStepButtonOnClick, nextStepButtonOnClick: this.nextStepButtonOnClick })))));
|
|
126
146
|
}
|
|
127
147
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
2
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BVLXSZXz.js';
|
|
3
3
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
|
|
4
4
|
import { m as makeGetBusiness, a as makePostProvisioning } from './payment-provisioning-actions-CBvplwPf.js';
|
|
5
5
|
import { B as BusinessService } from './business.service-CS-wQJoN.js';
|
|
@@ -9,7 +9,7 @@ import './Pagination-CLHwhyvu.js';
|
|
|
9
9
|
import './Business-BcNb9bVO.js';
|
|
10
10
|
import './Dispute-BH0Xfn-F.js';
|
|
11
11
|
import { i as isTokenExpired } from './utils-7bp92NC7.js';
|
|
12
|
-
import './package-
|
|
12
|
+
import './package-Bjv3eJBk.js';
|
|
13
13
|
import './utils-BeQLScSm.js';
|
|
14
14
|
import './config-state-kKn89dp1.js';
|
|
15
15
|
import './index-cDVGjRkU.js';
|
|
@@ -6,7 +6,7 @@ import { h as PaymentBalanceTransaction } from './Plaid-Cmyilr-q.js';
|
|
|
6
6
|
import { p as pagingDefaults } from './Pagination-CLHwhyvu.js';
|
|
7
7
|
import './Business-BcNb9bVO.js';
|
|
8
8
|
import './Dispute-BH0Xfn-F.js';
|
|
9
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
9
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BVLXSZXz.js';
|
|
10
10
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
11
11
|
import { P as PaymentService } from './payment.service-Nvz1TYZB.js';
|
|
12
12
|
import { T as Table, l as TableWrapper, a as TableComponent, b as TableHead, c as TableHeadRow, d as TableBody, e as TableLoadingState, f as TableEmptyState, g as TableErrorState, h as TableRow, i as TableFoot, j as TableFootRow, k as TableFootCell } from './table-hHARNoRM.js';
|
|
@@ -15,7 +15,7 @@ import { T as TableClickActions } from './event-types-CZfYo5-1.js';
|
|
|
15
15
|
import { a as convertToLocal } from './utils-7bp92NC7.js';
|
|
16
16
|
import { V as tableHeadCell, W as getAlternateTableCellPart } from './parts-C4FLe2pT.js';
|
|
17
17
|
import './index-cDVGjRkU.js';
|
|
18
|
-
import './package-
|
|
18
|
+
import './package-Bjv3eJBk.js';
|
|
19
19
|
import './Api-CLZVsXZg.js';
|
|
20
20
|
import './spinner-BfjGGaND.js';
|
|
21
21
|
|
|
@@ -8,14 +8,14 @@ import './Pagination-CLHwhyvu.js';
|
|
|
8
8
|
import './Business-BcNb9bVO.js';
|
|
9
9
|
import './Dispute-BH0Xfn-F.js';
|
|
10
10
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
11
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
11
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BVLXSZXz.js';
|
|
12
12
|
import { S as StyledHost } from './styled-host-D6byRazK.js';
|
|
13
13
|
import './event-types-CZfYo5-1.js';
|
|
14
14
|
import { d as defaultColumnsKeys } from './payments-table-BDaiD836.js';
|
|
15
15
|
import './Api-CLZVsXZg.js';
|
|
16
16
|
import './utils-7bp92NC7.js';
|
|
17
17
|
import './index-cDVGjRkU.js';
|
|
18
|
-
import './package-
|
|
18
|
+
import './package-Bjv3eJBk.js';
|
|
19
19
|
import './payments-status-D4XkcfLU.js';
|
|
20
20
|
import './badge-AZ7Z3PKH.js';
|
|
21
21
|
import './parts-C4FLe2pT.js';
|
|
@@ -9,13 +9,13 @@ import './Business-BcNb9bVO.js';
|
|
|
9
9
|
import './Dispute-BH0Xfn-F.js';
|
|
10
10
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
11
11
|
import { E as ErrorState } from './utils-BSpK1eMX.js';
|
|
12
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
12
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BVLXSZXz.js';
|
|
13
13
|
import { m as makeGetPayoutCSV } from './get-payout-csv-D-Lnooki.js';
|
|
14
14
|
import './Api-CLZVsXZg.js';
|
|
15
15
|
import './utils-7bp92NC7.js';
|
|
16
16
|
import './index-cDVGjRkU.js';
|
|
17
17
|
import './parts-C4FLe2pT.js';
|
|
18
|
-
import './package-
|
|
18
|
+
import './package-Bjv3eJBk.js';
|
|
19
19
|
|
|
20
20
|
const makeGetPayoutDetails = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
|
|
21
21
|
var _a;
|
|
@@ -6,7 +6,7 @@ import { i as PayoutBalanceTransaction } from './Plaid-Cmyilr-q.js';
|
|
|
6
6
|
import { p as pagingDefaults } from './Pagination-CLHwhyvu.js';
|
|
7
7
|
import './Business-BcNb9bVO.js';
|
|
8
8
|
import './Dispute-BH0Xfn-F.js';
|
|
9
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
9
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BVLXSZXz.js';
|
|
10
10
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
11
11
|
import { P as PayoutService } from './payout.service-tTxsxoqF.js';
|
|
12
12
|
import { T as Table, l as TableWrapper, a as TableComponent, b as TableHead, c as TableHeadRow, d as TableBody, e as TableLoadingState, f as TableEmptyState, g as TableErrorState, h as TableRow, i as TableFoot, j as TableFootRow, k as TableFootCell } from './table-hHARNoRM.js';
|
|
@@ -15,7 +15,7 @@ import { T as TableClickActions } from './event-types-CZfYo5-1.js';
|
|
|
15
15
|
import { a as convertToLocal } from './utils-7bp92NC7.js';
|
|
16
16
|
import { V as tableHeadCell, W as getAlternateTableCellPart } from './parts-C4FLe2pT.js';
|
|
17
17
|
import './index-cDVGjRkU.js';
|
|
18
|
-
import './package-
|
|
18
|
+
import './package-Bjv3eJBk.js';
|
|
19
19
|
import './Api-CLZVsXZg.js';
|
|
20
20
|
import './spinner-BfjGGaND.js';
|
|
21
21
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-CV0Pyo1O.js';
|
|
2
2
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
|
|
3
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
3
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BVLXSZXz.js';
|
|
4
4
|
import { P as PayoutService } from './payout.service-tTxsxoqF.js';
|
|
5
5
|
import './config-state-kKn89dp1.js';
|
|
6
6
|
import './dinero-HXpYMWUU.js';
|
|
@@ -14,7 +14,7 @@ import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccoun
|
|
|
14
14
|
import { S as StyledHost } from './styled-host-D6byRazK.js';
|
|
15
15
|
import './event-types-CZfYo5-1.js';
|
|
16
16
|
import { d as defaultColumnsKeys } from './payouts-table-B4nuJlpC.js';
|
|
17
|
-
import './package-
|
|
17
|
+
import './package-Bjv3eJBk.js';
|
|
18
18
|
import './Api-CLZVsXZg.js';
|
|
19
19
|
import './utils-7bp92NC7.js';
|
|
20
20
|
import './index-cDVGjRkU.js';
|
|
@@ -12,7 +12,7 @@ import { S as StyledHost } from './styled-host-D6byRazK.js';
|
|
|
12
12
|
import './event-types-CZfYo5-1.js';
|
|
13
13
|
import { P as PaymentService } from './payment.service-Nvz1TYZB.js';
|
|
14
14
|
import { m as makeGetPaymentDetails } from './get-payment-details-BdewJSTH.js';
|
|
15
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
15
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BVLXSZXz.js';
|
|
16
16
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
17
17
|
import { A as Api } from './Api-CLZVsXZg.js';
|
|
18
18
|
import { S as Skeleton } from './skeleton-C162KC3u.js';
|
|
@@ -20,7 +20,7 @@ import './_commonjsHelpers-BFTU3MAI.js';
|
|
|
20
20
|
import './dinero-HXpYMWUU.js';
|
|
21
21
|
import './index-cDVGjRkU.js';
|
|
22
22
|
import './parts-C4FLe2pT.js';
|
|
23
|
-
import './package-
|
|
23
|
+
import './package-Bjv3eJBk.js';
|
|
24
24
|
|
|
25
25
|
const amountValidation = (maxAmount) => {
|
|
26
26
|
const max = +maxAmount;
|
|
@@ -6,7 +6,7 @@ import './Pagination-CLHwhyvu.js';
|
|
|
6
6
|
import './Business-BcNb9bVO.js';
|
|
7
7
|
import './Dispute-BH0Xfn-F.js';
|
|
8
8
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
9
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
9
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BVLXSZXz.js';
|
|
10
10
|
import { c as checkoutStore } from './checkout.store-iNkW80yV.js';
|
|
11
11
|
import { p as processHTML, f as formatCurrency, r as removeAttribute, k as addAttribute } from './utils-7bp92NC7.js';
|
|
12
12
|
import { v as validateInsuranceValues, i as insuranceValues, a as insuranceErrors, H as Header2 } from './insurance-state-jZTKdt60.js';
|
|
@@ -16,7 +16,7 @@ import './event-types-CZfYo5-1.js';
|
|
|
16
16
|
import { S as Skeleton } from './skeleton-C162KC3u.js';
|
|
17
17
|
import './config-state-kKn89dp1.js';
|
|
18
18
|
import './index-cDVGjRkU.js';
|
|
19
|
-
import './package-
|
|
19
|
+
import './package-Bjv3eJBk.js';
|
|
20
20
|
import './index-DkoufM1t.js';
|
|
21
21
|
import './dinero-HXpYMWUU.js';
|
|
22
22
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-CV0Pyo1O.js';
|
|
2
2
|
import { S as StyledHost } from './styled-host-D6byRazK.js';
|
|
3
3
|
import './event-types-CZfYo5-1.js';
|
|
4
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
4
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BVLXSZXz.js';
|
|
5
5
|
import { d as defaultColumnsKeys } from './terminal-orders-table-B-xs6ocO.js';
|
|
6
6
|
import './config-state-kKn89dp1.js';
|
|
7
7
|
import './dinero-HXpYMWUU.js';
|
|
@@ -12,7 +12,7 @@ import './Business-BcNb9bVO.js';
|
|
|
12
12
|
import './Dispute-BH0Xfn-F.js';
|
|
13
13
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
14
14
|
import { A as Api } from './Api-CLZVsXZg.js';
|
|
15
|
-
import './package-
|
|
15
|
+
import './package-Bjv3eJBk.js';
|
|
16
16
|
import './parts-C4FLe2pT.js';
|
|
17
17
|
import './utils-7bp92NC7.js';
|
|
18
18
|
import './badge-AZ7Z3PKH.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-CV0Pyo1O.js';
|
|
2
2
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
|
|
3
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
3
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BVLXSZXz.js';
|
|
4
4
|
import { T as TerminalService } from './terminal.service-Dv1-CZ4Y.js';
|
|
5
5
|
import './config-state-kKn89dp1.js';
|
|
6
6
|
import './dinero-HXpYMWUU.js';
|
|
@@ -13,7 +13,7 @@ import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccoun
|
|
|
13
13
|
import { S as StyledHost } from './styled-host-D6byRazK.js';
|
|
14
14
|
import './event-types-CZfYo5-1.js';
|
|
15
15
|
import { d as defaultColumnsKeys } from './terminals-table-CnKH-UOw.js';
|
|
16
|
-
import './package-
|
|
16
|
+
import './package-Bjv3eJBk.js';
|
|
17
17
|
import './Api-CLZVsXZg.js';
|
|
18
18
|
import './utils-7bp92NC7.js';
|
|
19
19
|
import './index-cDVGjRkU.js';
|