@justifi/webcomponents 4.19.1 → 4.19.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/{Analytics-f870b3ee.js → Analytics-c866f471.js} +3 -3
- package/dist/cjs/{Api-3bc6e43f.js → Api-b98b256f.js} +3 -3
- package/dist/cjs/{Business-aacbe893.js → Business-aa799fec.js} +104 -9
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +1 -1
- package/dist/cjs/{business-additional-questions-schema-11ce0005.js → business-additional-questions-schema-26b0eecb.js} +1 -1
- package/dist/cjs/{business-form-options-26f9900c.js → business-form-options-5db0bd5e.js} +1 -1
- package/dist/cjs/{payload-parsers-969ab9b6.js → business-identity-schema-503ecb77.js} +1 -47
- package/dist/cjs/{business.service-f63650f5.js → business.service-65b0dbc8.js} +1 -1
- package/dist/cjs/form-alert_5.cjs.entry.js +2 -2
- package/dist/cjs/form-control-checkbox_9.cjs.entry.js +26 -26
- package/dist/cjs/{get-payout-csv-f3aee6d0.js → get-payout-csv-b98b0651.js} +1 -1
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +11 -11
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +3 -3
- package/dist/cjs/justifi-billing-form_2.cjs.entry.js +3 -3
- package/dist/cjs/justifi-business-details.cjs.entry.js +5 -5
- package/dist/cjs/justifi-business-form.cjs.entry.js +12 -12
- package/dist/cjs/justifi-card-form.cjs.entry.js +3 -3
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkout.cjs.entry.js +4 -4
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +3 -3
- package/dist/cjs/justifi-new-payment-method_4.cjs.entry.js +1 -1
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +11 -11
- package/dist/cjs/justifi-payment-details.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payment-form.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payment-method-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +5 -5
- package/dist/cjs/justifi-payments-list.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payout-details.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +4 -4
- package/dist/cjs/justifi-refund-form.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +5 -5
- package/dist/cjs/{package-1321b070.js → package-0c613220.js} +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +1 -1
- package/dist/cjs/{payment.service-0a64f9cd.js → payment.service-33d6ac16.js} +1 -1
- package/dist/cjs/payments-list-core.cjs.entry.js +1 -1
- package/dist/cjs/payout-details-core.cjs.entry.js +1 -1
- package/dist/cjs/payouts-list-core.cjs.entry.js +1 -1
- package/dist/cjs/{schema-validations-f3db892c.js → schema-validations-0a7e46a3.js} +1 -1
- package/dist/cjs/{utils-89d86e29.js → utils-af1b60a9.js} +0 -16
- package/dist/collection/api/Api.js +3 -3
- package/dist/collection/api/Business.js +66 -7
- package/dist/collection/api/Identity.js +39 -3
- package/dist/collection/api/services/analytics.service.js +1 -1
- package/dist/collection/api/services/checkout.service.js +1 -1
- package/dist/collection/api/services/insurance.service.js +2 -2
- package/dist/collection/api/services/provision.service.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-form.js +3 -4
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +4 -5
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +3 -3
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +3 -5
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +3 -3
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +3 -4
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +3 -4
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +2 -2
- package/dist/docs.json +2 -2
- package/dist/esm/{Analytics-262cdde5.js → Analytics-3e74964a.js} +3 -3
- package/dist/esm/{Api-b09a2f6a.js → Api-c8abc2e0.js} +3 -3
- package/dist/esm/{Business-e218b4f4.js → Business-b73d5055.js} +104 -9
- package/dist/esm/additional-questions-details_5.entry.js +1 -1
- package/dist/esm/{business-additional-questions-schema-e39bc781.js → business-additional-questions-schema-a5583cf8.js} +1 -1
- package/dist/esm/{business-form-options-0b08e08c.js → business-form-options-d790973e.js} +1 -1
- package/dist/esm/{payload-parsers-62f443e1.js → business-identity-schema-9e3269fb.js} +2 -44
- package/dist/esm/{business.service-74bd1212.js → business.service-6f139c2b.js} +1 -1
- package/dist/esm/form-alert_5.entry.js +2 -2
- package/dist/esm/form-control-checkbox_9.entry.js +21 -21
- package/dist/esm/{get-payout-csv-b494abfe.js → get-payout-csv-383d96c1.js} +1 -1
- package/dist/esm/gross-payment-chart-core.entry.js +1 -1
- package/dist/esm/justifi-additional-questions-form-step_10.entry.js +11 -11
- package/dist/esm/justifi-bank-account-form.entry.js +3 -3
- package/dist/esm/justifi-billing-form_2.entry.js +3 -3
- package/dist/esm/justifi-business-details.entry.js +5 -5
- package/dist/esm/justifi-business-form.entry.js +11 -11
- package/dist/esm/justifi-card-form.entry.js +3 -3
- package/dist/esm/justifi-checkout-core.entry.js +1 -1
- package/dist/esm/justifi-checkout.entry.js +4 -4
- package/dist/esm/justifi-gross-payment-chart.entry.js +3 -3
- package/dist/esm/justifi-new-payment-method_4.entry.js +1 -1
- package/dist/esm/justifi-owner-form_3.entry.js +10 -10
- package/dist/esm/justifi-payment-details.entry.js +4 -4
- package/dist/esm/justifi-payment-form.entry.js +4 -4
- package/dist/esm/justifi-payment-method-form.entry.js +2 -2
- package/dist/esm/justifi-payment-provisioning.entry.js +5 -5
- package/dist/esm/justifi-payments-list.entry.js +4 -4
- package/dist/esm/justifi-payout-details.entry.js +4 -4
- package/dist/esm/justifi-payouts-list.entry.js +4 -4
- package/dist/esm/justifi-refund-form.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +5 -5
- package/dist/esm/{package-d88677e9.js → package-925a0fdd.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +1 -1
- package/dist/esm/{payment.service-3ca4a492.js → payment.service-e4fb5953.js} +1 -1
- package/dist/esm/payments-list-core.entry.js +1 -1
- package/dist/esm/payout-details-core.entry.js +1 -1
- package/dist/esm/payouts-list-core.entry.js +1 -1
- package/dist/esm/{schema-validations-2f4fdebb.js → schema-validations-e725d701.js} +2 -2
- package/dist/esm/{utils-3c1dd2fa.js → utils-e66d8bca.js} +1 -16
- package/dist/module/Analytics.js +1 -1
- package/dist/module/Api.js +3 -3
- package/dist/module/Business.js +104 -9
- package/dist/module/business-additional-questions-form-step-core.js +3 -3
- package/dist/module/business-bank-account-form-step.js +2 -2
- package/dist/module/business-core-info-form-step-core.js +3 -5
- package/dist/module/business-document-upload-form-step.js +2 -2
- package/dist/module/business-document-upload-input-group.js +1 -1
- package/dist/module/business-documents-on-file.js +1 -1
- package/dist/module/business-owners-form-step-core.js +3 -3
- package/dist/module/business-representative-form-step-core.js +3 -4
- package/dist/module/business-terms-conditions-form-step.js +2 -2
- package/dist/module/justifi-business-form.js +3 -4
- package/dist/module/justifi-checkout.js +1 -1
- package/dist/module/justifi-payment-provisioning.js +1 -1
- package/dist/module/justifi-season-interruption-insurance.js +2 -2
- package/dist/module/legal-address-form-step-core.js +3 -4
- package/dist/module/owner-form-core2.js +4 -5
- package/dist/module/package.js +1 -1
- package/dist/module/payment-details-core2.js +1 -1
- package/dist/module/payments-list-core2.js +1 -1
- package/dist/module/payout-details-core2.js +1 -1
- package/dist/module/payouts-list-core2.js +1 -1
- package/dist/module/saved-payment-method.js +1 -1
- package/dist/module/utils2.js +1 -16
- package/dist/types/api/Business.d.ts +87 -1
- package/dist/types/api/Identity.d.ts +45 -1
- package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +44 -1
- package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.d.ts +11 -1
- package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +11 -1
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +24 -1
- package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +11 -1
- package/dist/webcomponents/{p-d765d638.js → p-0052db77.js} +1 -1
- package/dist/webcomponents/{p-60a370fc.entry.js → p-039183f1.entry.js} +1 -1
- package/dist/webcomponents/{p-b16dfd5d.entry.js → p-08a39a65.entry.js} +1 -1
- package/dist/webcomponents/{p-462dc522.entry.js → p-124c1ecd.entry.js} +1 -1
- package/dist/webcomponents/{p-d1c8d794.entry.js → p-1647f06b.entry.js} +1 -1
- package/dist/webcomponents/{p-d25c2f12.js → p-1815a43b.js} +1 -1
- package/dist/webcomponents/p-1cb2a51c.entry.js +1 -0
- package/dist/webcomponents/{p-1a43e355.entry.js → p-1eee25f3.entry.js} +1 -1
- package/dist/webcomponents/{p-3affadfc.entry.js → p-20cee11b.entry.js} +1 -1
- package/dist/webcomponents/{p-04a0dbb6.js → p-277aee05.js} +1 -1
- package/dist/webcomponents/{p-65b561da.entry.js → p-2a5cc4ee.entry.js} +1 -1
- package/dist/webcomponents/p-3b1340dc.js +1 -0
- package/dist/webcomponents/{p-890b3254.entry.js → p-43eff822.entry.js} +1 -1
- package/dist/webcomponents/p-4e01fec8.entry.js +1 -0
- package/dist/webcomponents/{p-241b0ed9.js → p-5022f21c.js} +1 -1
- package/dist/webcomponents/p-55182a59.js +1 -0
- package/dist/webcomponents/{p-83125497.js → p-5e2c9ec8.js} +1 -1
- package/dist/webcomponents/p-5e7c60d8.js +1 -0
- package/dist/webcomponents/p-6ac806ff.entry.js +1 -0
- package/dist/webcomponents/{p-198994c0.entry.js → p-6c2fc744.entry.js} +1 -1
- package/dist/webcomponents/{p-62b32c4c.entry.js → p-721dcf51.entry.js} +1 -1
- package/dist/webcomponents/p-77e55bfc.entry.js +1 -0
- package/dist/webcomponents/{p-29c0b182.js → p-7d3be485.js} +1 -1
- package/dist/webcomponents/{p-52021fa1.entry.js → p-817da23c.entry.js} +1 -1
- package/dist/webcomponents/p-82cff30c.js +1 -0
- package/dist/webcomponents/{p-8603348a.js → p-8eb10f02.js} +1 -1
- package/dist/webcomponents/{p-061dcb79.entry.js → p-8f9fb5c3.entry.js} +1 -1
- package/dist/webcomponents/p-9649b022.entry.js +1 -0
- package/dist/webcomponents/{p-9dc36f76.entry.js → p-9c076da2.entry.js} +1 -1
- package/dist/webcomponents/p-af0aeba4.entry.js +1 -0
- package/dist/webcomponents/p-b1408dea.entry.js +1 -0
- package/dist/webcomponents/{p-72c9e6b3.entry.js → p-ba95679b.entry.js} +1 -1
- package/dist/webcomponents/{p-1f70fa27.entry.js → p-bd2bb302.entry.js} +1 -1
- package/dist/webcomponents/{p-bc92235c.entry.js → p-d2af90c2.entry.js} +1 -1
- package/dist/webcomponents/{p-4abc17f0.entry.js → p-d76002d5.entry.js} +1 -1
- package/dist/webcomponents/{p-9ccfa1c9.entry.js → p-da1d174d.entry.js} +1 -1
- package/dist/webcomponents/{p-53e64f15.entry.js → p-e2b2213f.entry.js} +1 -1
- package/dist/webcomponents/{p-fe33151d.entry.js → p-eccf2e8e.entry.js} +1 -1
- package/dist/webcomponents/p-edab484a.entry.js +1 -0
- package/dist/webcomponents/{p-75b4daef.js → p-f5b5e47b.js} +1 -1
- package/dist/webcomponents/{p-4bac636e.entry.js → p-f844d67b.entry.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/collection/components/business-forms/utils/payload-parsers.js +0 -41
- package/dist/module/payload-parsers.js +0 -43
- package/dist/types/components/business-forms/utils/payload-parsers.d.ts +0 -4
- package/dist/webcomponents/p-2799383d.entry.js +0 -1
- package/dist/webcomponents/p-3d4d566d.entry.js +0 -1
- package/dist/webcomponents/p-3dd4c6c3.entry.js +0 -1
- package/dist/webcomponents/p-46f679a9.js +0 -1
- package/dist/webcomponents/p-48ae16e0.entry.js +0 -1
- package/dist/webcomponents/p-53948ff8.entry.js +0 -1
- package/dist/webcomponents/p-554a3c18.js +0 -1
- package/dist/webcomponents/p-92bb1e5f.entry.js +0 -1
- package/dist/webcomponents/p-ad41c8c7.entry.js +0 -1
- package/dist/webcomponents/p-af244664.js +0 -1
- package/dist/webcomponents/p-d101c5db.js +0 -1
- package/dist/webcomponents/p-d2a5054f.entry.js +0 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-57431c24.js';
|
|
2
2
|
import { a as ComponentErrorCodes, C as ComponentErrorSeverity } from './ComponentError-3ce7f437.js';
|
|
3
3
|
import { m as makeGetBusiness, b as makePatchBusiness } from './payment-provisioning-actions-0635eff7.js';
|
|
4
|
-
import { B as BusinessService } from './business.service-
|
|
4
|
+
import { B as BusinessService } from './business.service-6f139c2b.js';
|
|
5
5
|
import { c as create$3, F as FormController, e as create$7 } from './index.esm-fc4f5c0c.js';
|
|
6
6
|
import { b as BusinessFormStep, a as BusinessFormClickActions } from './business-form-types-1bc5fe08.js';
|
|
7
|
-
import { z as bankNameValidation, A as nicknameValidation,
|
|
8
|
-
import { c as bankAccountTypeOptions } from './business-form-options-
|
|
9
|
-
import { A as Api } from './Api-
|
|
7
|
+
import { z as bankNameValidation, A as nicknameValidation, u as identityNameValidation, B as accountTypeValidation, C as accountNumberValidation, D as routingNumberValidation, E as voidedCheckValidation, F as governmentIdValidation, G as ss4Validation, H as otherDocumentValidation, I as balanceSheetValidation, J as bankStatementValidation, K as profitAndLossStatementValidation, L as EntityDocument, M as EntityDocumentStorage } from './schema-validations-e725d701.js';
|
|
8
|
+
import { c as bankAccountTypeOptions } from './business-form-options-d790973e.js';
|
|
9
|
+
import { A as Api } from './Api-c8abc2e0.js';
|
|
10
10
|
import './Pagination-afc8f96d.js';
|
|
11
11
|
import './Payment-6bf26fe2.js';
|
|
12
12
|
import './Payout-dfe15b00.js';
|
|
13
13
|
import { c as config } from './config-476c7241.js';
|
|
14
14
|
import { n as numberOnlyHandler } from './utils-3bb6347a.js';
|
|
15
|
-
import { B as Business } from './Business-
|
|
15
|
+
import { B as Business } from './Business-b73d5055.js';
|
|
16
16
|
import { S as Skeleton } from './skeleton-145a80d4.js';
|
|
17
17
|
import { B as Button } from './button-34e75e0f.js';
|
|
18
18
|
import './utils-b10dae27.js';
|
|
@@ -144,7 +144,7 @@ const BusinessBankAccountFormStep = class {
|
|
|
144
144
|
try {
|
|
145
145
|
const formValues = this.formController.values.getValue();
|
|
146
146
|
const payload = Object.assign(Object.assign({}, formValues), { business_id: this.businessId });
|
|
147
|
-
const response = await this.api.post(this.bankAccountEndpoint,
|
|
147
|
+
const response = await this.api.post(this.bankAccountEndpoint, payload);
|
|
148
148
|
this.handleResponse(response, onSuccess);
|
|
149
149
|
}
|
|
150
150
|
catch (error) {
|
|
@@ -213,7 +213,7 @@ const BusinessBankAccountFormStep = class {
|
|
|
213
213
|
}
|
|
214
214
|
render() {
|
|
215
215
|
const bankAccountDefaultValue = this.formController.getInitialValues();
|
|
216
|
-
return (h("form", { key: '
|
|
216
|
+
return (h("form", { key: 'c2bdcd5ab6301d1a39e4d774df101281c41e2002' }, h("fieldset", { key: '7f6b607be5b7bc5fcd0dc1687adaa1ad00d7d2e9' }, h("legend", { key: '91b68746c65bb68f4fbd2eef151258e6915f8e35' }, "Bank Account Info"), h("hr", { key: '5eceedbf59faef10757c9e2b04d4dc4cd6b88a9b' }), h("div", { key: 'd3185db7fceb9851ccb44c1c89f8cbe5a37c24e0', class: "row gy-3" }, h("div", { key: '625caf0e9b93c244d94c69174ffff57126d39fa1', class: "col-12" }, h("form-control-text", { key: 'ddf3206b09047dfea56df850babe6c8f92ed33ee', name: "bank_name", label: "Bank Name", defaultValue: bankAccountDefaultValue.bank_name, errorText: this.errors.bank_name, inputHandler: this.inputHandler, disabled: this.formDisabled })), h("div", { key: 'd7d498353eec8e1947ce748aa35cbee63e793817', class: "col-12" }, h("form-control-text", { key: 'a80050dcd088db0209c2e5da65b310d7fc7877f5', name: "nickname", label: "Nickname", defaultValue: bankAccountDefaultValue.nickname, errorText: this.errors.nickname, inputHandler: this.inputHandler, disabled: this.formDisabled })), h("div", { key: 'ea5578470e0e4d0fd5b973807475a02c7764c9c8', class: "col-12" }, h("form-control-text", { key: 'dd8c77b43ddfca61cfd5ed39ce6e142654f18d9f', name: "account_owner_name", label: "Account Owner Name", defaultValue: bankAccountDefaultValue.account_owner_name, errorText: this.errors.account_owner_name, inputHandler: this.inputHandler, disabled: this.formDisabled })), h("div", { key: 'cb3256226c5fdfa5ff2a02c456a6c384e06d16a6', class: "col-12" }, h("form-control-select", { key: 'a865f48350a0ae6b6a2a540dc2d54de72a8af074', name: "account_type", label: "Account Type", options: bankAccountTypeOptions, defaultValue: bankAccountDefaultValue.account_type, errorText: this.errors.account_type, inputHandler: this.inputHandler, disabled: this.formDisabled })), h("div", { key: 'aa9062a25dade06db1f175d4233f2e5bb4e7ecd7', class: "col-12" }, h("form-control-text", { key: '1a87920e4df50178625446c770e4182d918664c7', name: "account_number", label: "Account Number", defaultValue: bankAccountDefaultValue.account_number, maxLength: 17, errorText: this.errors.account_number, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, disabled: this.formDisabled })), h("div", { key: 'c72858a29aa1289b367c0eb89d6cc0eded23346d', class: "col-12" }, h("form-control-text", { key: 'b7fb93bcf16c01689245d5aca11142b013fe6adc', name: "routing_number", label: "Routing Number", defaultValue: bankAccountDefaultValue.routing_number, maxLength: 9, errorText: this.errors.routing_number, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, disabled: this.formDisabled }))))));
|
|
217
217
|
}
|
|
218
218
|
};
|
|
219
219
|
|
|
@@ -331,7 +331,7 @@ const BusinessDocumentFormStep = class {
|
|
|
331
331
|
this.formLoading.emit(true);
|
|
332
332
|
const payload = docData.record_data;
|
|
333
333
|
try {
|
|
334
|
-
const response = await this.api.post(this.documentEndpoint,
|
|
334
|
+
const response = await this.api.post(this.documentEndpoint, payload);
|
|
335
335
|
return this.handleDocRecordResponse(docData, response);
|
|
336
336
|
}
|
|
337
337
|
catch (error) {
|
|
@@ -463,7 +463,7 @@ const BusinessDocumentFormStep = class {
|
|
|
463
463
|
return (h("justifi-business-document-upload-input-group", { paymentVolume: this.paymentVolume, inputHandler: this.inputHandler, storeFiles: this.storeFiles, errors: this.errors }));
|
|
464
464
|
}
|
|
465
465
|
render() {
|
|
466
|
-
return (h("form", { key: '
|
|
466
|
+
return (h("form", { key: '38bb9070ca04f773ec092ebb14ce8ad20f33d8cf' }, h("fieldset", { key: '9c736d11200bb9c5a37c1319f3bfb349b7a5e93f' }, h("legend", { key: '92ed2fb864e85e38532af364518c25ef4bd275a5' }, "Document Uploads"), h("p", { key: 'f5803df74a5d0bc4e544c6cc968333f2a3f77385' }, "Various file formats such as PDF, DOC, DOCX, JPEG, and others are accepted. Multiple files can be uploaded for each document category."), h("hr", { key: '0c696d1bdb614bdacb3cbadeee66c95149efda68' }), this.documentsOnFile, h("div", { key: '7919205dfda677526d810a9fa1507ed8a55eafb8', class: "d-flex flex-column" }, this.formInputs))));
|
|
467
467
|
}
|
|
468
468
|
};
|
|
469
469
|
|
|
@@ -604,7 +604,7 @@ const BusinessTermsConditionsFormStep = class {
|
|
|
604
604
|
this.sendData = async (onSuccess) => {
|
|
605
605
|
this.formLoading.emit(true);
|
|
606
606
|
try {
|
|
607
|
-
const payload =
|
|
607
|
+
const payload = this.termsPayload;
|
|
608
608
|
const response = await this.api.post(this.termsConditionsEndpoint, payload);
|
|
609
609
|
this.handleResponse(response, onSuccess);
|
|
610
610
|
}
|
|
@@ -683,7 +683,7 @@ const BusinessTermsConditionsFormStep = class {
|
|
|
683
683
|
});
|
|
684
684
|
}
|
|
685
685
|
render() {
|
|
686
|
-
return (h("form", { key: '
|
|
686
|
+
return (h("form", { key: 'a292e2b1b69d152009000d9e7009e5ab07698bc8' }, h("fieldset", { key: '30843e9ed0029f64abcf076512af82974dd99598' }, h("legend", { key: '6453679a074056668bdd93cb91d2d725b73fb0da' }, "Terms and Conditions"), h("hr", { key: '6a44c1128e3dceb770b16533aa61fb5e81f5dda2' }), h("justifi-business-terms-conditions-text", { key: '714c9f81c1d1f91712a276259acf4eb6734b40d4' }), h("br", { key: '5e955908e53af5ade77fca9f2a47e8a9d10e7ad8' }), h("div", { key: '7c6ca9d2634c7cc6988292ffedf86b64c3865557', class: "row-gy-3" }, h("div", { key: 'e8f01c4bdcc07e0063e3b8f5f1acbabc9b3310f7', class: "col-12" }, h("form-control-checkbox", { key: 'e09eeb02dc30a9461e958bf43685d2c58f4a608f', name: "accepted", label: "I agree to the terms and conditions", inputHandler: this.inputHandler, errorText: this.errors.accepted, disabled: this.acceptedTermsBefore, helpText: this.formHelperText }))))));
|
|
687
687
|
}
|
|
688
688
|
};
|
|
689
689
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-57431c24.js';
|
|
2
2
|
import { c as config } from './config-476c7241.js';
|
|
3
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
4
|
-
import './package-
|
|
5
|
-
import './Api-
|
|
3
|
+
import { J as JustifiAnalytics } from './Analytics-3e74964a.js';
|
|
4
|
+
import './package-925a0fdd.js';
|
|
5
|
+
import './Api-c8abc2e0.js';
|
|
6
6
|
|
|
7
7
|
const BankAccountForm = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as registerInstance, h, c as createEvent } from './index-57431c24.js';
|
|
2
2
|
import { c as create$3, F as FormController } from './index.esm-fc4f5c0c.js';
|
|
3
|
-
import {
|
|
3
|
+
import { u as identityNameValidation, l as lineOneValidation, k as lineTwoValidation, m as cityValidation, n as stateValidation, q as postalValidation } from './schema-validations-e725d701.js';
|
|
4
4
|
import { S as StateOptions } from './state-options-a356fb11.js';
|
|
5
5
|
import { n as numberOnlyHandler } from './utils-3bb6347a.js';
|
|
6
6
|
import { S as StyledHost } from './styled-host-ab9da520.js';
|
|
7
|
-
import './business-form-options-
|
|
8
|
-
import './Business-
|
|
7
|
+
import './business-form-options-d790973e.js';
|
|
8
|
+
import './Business-b73d5055.js';
|
|
9
9
|
import './helpers-96ea3464.js';
|
|
10
10
|
|
|
11
11
|
const BillingFormSchema = create$3({
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-57431c24.js';
|
|
2
2
|
import { E as ErrorState } from './utils-01413a95.js';
|
|
3
|
-
import { B as BusinessService } from './business.service-
|
|
4
|
-
import { B as Business } from './Business-
|
|
3
|
+
import { B as BusinessService } from './business.service-6f139c2b.js';
|
|
4
|
+
import { B as Business } from './Business-b73d5055.js';
|
|
5
5
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-3ce7f437.js';
|
|
6
6
|
import { g as getErrorMessage, a as getErrorCode } from './utils-b10dae27.js';
|
|
7
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
7
|
+
import { J as JustifiAnalytics } from './Analytics-3e74964a.js';
|
|
8
8
|
import './config-476c7241.js';
|
|
9
|
-
import './Api-
|
|
9
|
+
import './Api-c8abc2e0.js';
|
|
10
10
|
import './helpers-96ea3464.js';
|
|
11
11
|
import './state-options-a356fb11.js';
|
|
12
|
-
import './package-
|
|
12
|
+
import './package-925a0fdd.js';
|
|
13
13
|
|
|
14
14
|
const makeGetBusiness = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
|
|
15
15
|
var _a;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-57431c24.js';
|
|
2
2
|
import { c as create$3, F as FormController } from './index.esm-fc4f5c0c.js';
|
|
3
|
-
import { b as businessCoreInfoSchema, a as additionalQuestionsSchema } from './business-additional-questions-schema-
|
|
4
|
-
import { a as addressSchema, i as identitySchema
|
|
5
|
-
import { A as Api } from './Api-
|
|
3
|
+
import { b as businessCoreInfoSchema, a as additionalQuestionsSchema } from './business-additional-questions-schema-a5583cf8.js';
|
|
4
|
+
import { a as addressSchema, i as identitySchema } from './business-identity-schema-9e3269fb.js';
|
|
5
|
+
import { A as Api } from './Api-c8abc2e0.js';
|
|
6
6
|
import './Pagination-afc8f96d.js';
|
|
7
7
|
import './Payment-6bf26fe2.js';
|
|
8
8
|
import './Payout-dfe15b00.js';
|
|
9
9
|
import { c as config } from './config-476c7241.js';
|
|
10
10
|
import { B as BusinessFormServerErrors, a as BusinessFormClickActions } from './business-form-types-1bc5fe08.js';
|
|
11
|
-
import { B as Business } from './Business-
|
|
12
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
11
|
+
import { B as Business } from './Business-b73d5055.js';
|
|
12
|
+
import { J as JustifiAnalytics } from './Analytics-3e74964a.js';
|
|
13
13
|
import { S as StyledHost } from './styled-host-ab9da520.js';
|
|
14
|
-
import './schema-validations-
|
|
14
|
+
import './schema-validations-e725d701.js';
|
|
15
15
|
import './state-options-a356fb11.js';
|
|
16
|
-
import './business-form-options-
|
|
16
|
+
import './business-form-options-d790973e.js';
|
|
17
17
|
import './helpers-96ea3464.js';
|
|
18
|
-
import './package-
|
|
18
|
+
import './package-925a0fdd.js';
|
|
19
19
|
|
|
20
20
|
const businessFormSchema = create$3(Object.assign(Object.assign({}, businessCoreInfoSchema().fields), { legal_address: addressSchema(), additional_questions: additionalQuestionsSchema(), representative: identitySchema('representative') }));
|
|
21
21
|
|
|
@@ -37,8 +37,8 @@ const BusinessForm = class {
|
|
|
37
37
|
try {
|
|
38
38
|
const values = this.formController.values.getValue();
|
|
39
39
|
const initialValues = this.formController.getInitialValues();
|
|
40
|
-
const payload =
|
|
41
|
-
const response = await this.api.patch(this.businessEndpoint,
|
|
40
|
+
const payload = new Business(Object.assign(Object.assign({}, initialValues), values)).payload;
|
|
41
|
+
const response = await this.api.patch(this.businessEndpoint, payload);
|
|
42
42
|
this.handleReponse(response);
|
|
43
43
|
}
|
|
44
44
|
catch (error) {
|
|
@@ -110,7 +110,7 @@ const BusinessForm = class {
|
|
|
110
110
|
this.instantiateBusiness(response.data);
|
|
111
111
|
}
|
|
112
112
|
render() {
|
|
113
|
-
return (h(StyledHost, { key: '
|
|
113
|
+
return (h(StyledHost, { key: 'e388e1e7658969f0e5687102a62345e2790da97a', exportparts: "label,input,input-invalid" }, h("form", { key: 'c22a562e57539e982a071b1906e5bf0bcc249e7d', onSubmit: this.validateAndSubmit }, h("div", { key: '44243cd965b448f5be9058880aa2deb32f4ce8dc', class: "row gap-3" }, h("h1", { key: 'd666ed8ddacc8ac05d7f42c2f4824208b92cdb3f' }, this.title), h("form-alert", { key: 'b1d4025078c4373a789609f2e14d309f0ee280fe', text: this.errorMessage, hideAlert: this.hideErrors }), h("div", { key: 'cdc1d597a5dbf9581182de302a453e4ea98bb28f', class: "col-12 mb-4" }, h("justifi-business-core-info", { key: '2333164de020eadf54da91cabdcbeb87a2fd1b75', formController: this.formController })), h("div", { key: '74eafa5c419f6d6fe2eb3eeb8521e12175f7ee3a', class: "col-12 mb-4" }, h("justifi-legal-address-form", { key: '1e5a373f95a77bf3aba1a9f3538b3a2ac3dbf716', formController: this.formController })), h("div", { key: 'ec9f6195f3674b426722463341445f0ed1746178', class: "col-12 mb-4" }, h("justifi-additional-questions", { key: '0adbc60492f4ad71e3877c446376999418b7dc15', formController: this.formController })), h("div", { key: 'cdfb8d0d40e9f888afd9c23cd97d33d861d16f62', class: "col-12 mb-4" }, h("justifi-business-representative", { key: '4d03ec95b7c2918494c9970b3e6a5826d4d69a10', formController: this.formController })), h("div", { key: '0682dba469e57a938b175499312de5d5c4f55a69', class: "col-12 d-flex flex-row-reverse" }, h("button", { key: '64791e2742ee129787094c7123e87c4262735556', type: "submit", class: "btn btn-primary jfi-submit-button", disabled: this.disabledState, onClick: () => this.fireClickEvents({ name: BusinessFormClickActions.submit }) }, this.isLoading ? 'Loading...' : 'Submit'))))));
|
|
114
114
|
}
|
|
115
115
|
};
|
|
116
116
|
BusinessForm.style = JustifiBusinessFormStyle0;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-57431c24.js';
|
|
2
2
|
import { c as config } from './config-476c7241.js';
|
|
3
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
4
|
-
import './package-
|
|
5
|
-
import './Api-
|
|
3
|
+
import { J as JustifiAnalytics } from './Analytics-3e74964a.js';
|
|
4
|
+
import './package-925a0fdd.js';
|
|
5
|
+
import './Api-c8abc2e0.js';
|
|
6
6
|
|
|
7
7
|
const CardForm = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-57431c24.js';
|
|
2
|
-
import { f as formatCurrency } from './utils-
|
|
2
|
+
import { f as formatCurrency } from './utils-e66d8bca.js';
|
|
3
3
|
import { c as config } from './config-476c7241.js';
|
|
4
4
|
import { C as ComponentErrorSeverity } from './ComponentError-3ce7f437.js';
|
|
5
5
|
import { i as insuranceValuesOn, v as validateInsuranceValues, a as insuranceValues } from './insurance-state-8ce01e59.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-57431c24.js';
|
|
2
2
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-3ce7f437.js';
|
|
3
3
|
import { g as getErrorMessage, a as getErrorCode } from './utils-b10dae27.js';
|
|
4
|
-
import { A as Api } from './Api-
|
|
4
|
+
import { A as Api } from './Api-c8abc2e0.js';
|
|
5
5
|
import './Pagination-afc8f96d.js';
|
|
6
6
|
import './Payment-6bf26fe2.js';
|
|
7
7
|
import './Payout-dfe15b00.js';
|
|
8
8
|
import { c as config } from './config-476c7241.js';
|
|
9
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
10
|
-
import './package-
|
|
9
|
+
import { J as JustifiAnalytics } from './Analytics-3e74964a.js';
|
|
10
|
+
import './package-925a0fdd.js';
|
|
11
11
|
|
|
12
12
|
const makeGetCheckout = ({ authToken, checkoutId, service }) => async ({ onSuccess, onError }) => {
|
|
13
13
|
var _a;
|
|
@@ -76,7 +76,7 @@ class CheckoutService {
|
|
|
76
76
|
if (payment.payment_token) {
|
|
77
77
|
payload.payment_token = payment.payment_token;
|
|
78
78
|
}
|
|
79
|
-
return Api({ authToken, apiOrigin: config.proxyApiOrigin }).post(endpoint,
|
|
79
|
+
return Api({ authToken, apiOrigin: config.proxyApiOrigin }).post(endpoint, payload);
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-57431c24.js';
|
|
2
2
|
import { c as config } from './config-476c7241.js';
|
|
3
|
-
import { A as Api } from './Api-
|
|
3
|
+
import { A as Api } from './Api-c8abc2e0.js';
|
|
4
4
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-3ce7f437.js';
|
|
5
5
|
import { g as getErrorMessage, a as getErrorCode } from './utils-b10dae27.js';
|
|
6
6
|
import { E as ErrorState } from './utils-01413a95.js';
|
|
7
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
8
|
-
import './package-
|
|
7
|
+
import { J as JustifiAnalytics } from './Analytics-3e74964a.js';
|
|
8
|
+
import './package-925a0fdd.js';
|
|
9
9
|
|
|
10
10
|
class ReportsService {
|
|
11
11
|
async fetchGrossVolumeChartData(accountId, authToken) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, F as Fragment } from './index-57431c24.js';
|
|
2
2
|
import { c as config } from './config-476c7241.js';
|
|
3
3
|
import { a as PaymentMethodTypes } from './Payment-6bf26fe2.js';
|
|
4
|
-
import { g as snakeToCamel, f as formatCurrency } from './utils-
|
|
4
|
+
import { g as snakeToCamel, f as formatCurrency } from './utils-e66d8bca.js';
|
|
5
5
|
|
|
6
6
|
const PaymentMethodTypeLabels = {
|
|
7
7
|
bankAccount: 'New bank account',
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-57431c24.js';
|
|
2
2
|
import { c as makeGetIdentity, d as makePatchIdentity, e as makePostIdentity } from './payment-provisioning-actions-0635eff7.js';
|
|
3
|
-
import { I as IdentityService } from './business.service-
|
|
3
|
+
import { I as IdentityService } from './business.service-6f139c2b.js';
|
|
4
4
|
import { F as FormController } from './index.esm-fc4f5c0c.js';
|
|
5
|
-
import { O as Owner } from './Business-
|
|
5
|
+
import { O as Owner } from './Business-b73d5055.js';
|
|
6
6
|
import { a as BusinessFormClickActions } from './business-form-types-1bc5fe08.js';
|
|
7
|
-
import {
|
|
7
|
+
import { i as identitySchema } from './business-identity-schema-9e3269fb.js';
|
|
8
8
|
import { B as Button } from './button-34e75e0f.js';
|
|
9
9
|
import { S as SSN_MASK, P as PHONE_MASKS } from './form-input-masks-0e18300f.js';
|
|
10
10
|
import { u as updateFormValues, a as updateAddressFormValues, b as updateDateOfBirthFormValues } from './input-handlers-270ac806.js';
|
|
11
11
|
import './ComponentError-3ce7f437.js';
|
|
12
12
|
import './utils-b10dae27.js';
|
|
13
13
|
import './config-476c7241.js';
|
|
14
|
-
import './Api-
|
|
14
|
+
import './Api-c8abc2e0.js';
|
|
15
15
|
import './helpers-96ea3464.js';
|
|
16
16
|
import './state-options-a356fb11.js';
|
|
17
|
-
import './schema-validations-
|
|
18
|
-
import './business-form-options-
|
|
17
|
+
import './schema-validations-e725d701.js';
|
|
18
|
+
import './business-form-options-d790973e.js';
|
|
19
19
|
|
|
20
20
|
const BusinessOwnerForm = class {
|
|
21
21
|
constructor(hostRef) {
|
|
@@ -197,12 +197,12 @@ const BusinessOwnerFormCore = class {
|
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
199
|
get payload() {
|
|
200
|
-
let formValues =
|
|
200
|
+
let formValues = new Owner(this.formController.values.getValue()).payload;
|
|
201
201
|
if (this.ownerId) {
|
|
202
|
-
return
|
|
202
|
+
return formValues;
|
|
203
203
|
}
|
|
204
204
|
else {
|
|
205
|
-
return
|
|
205
|
+
return Object.assign(Object.assign({}, formValues), { business_id: this.businessId });
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
208
|
get formTitle() {
|
|
@@ -233,7 +233,7 @@ const BusinessOwnerFormCore = class {
|
|
|
233
233
|
this.formController.errors.subscribe(errors => (this.errors = Object.assign({}, errors)));
|
|
234
234
|
}
|
|
235
235
|
render() {
|
|
236
|
-
return (h("form", { key: '
|
|
236
|
+
return (h("form", { key: '27f0d989f017bd03b84cf8c994fa96f9a65aad08', onSubmit: this.validateAndSubmit }, h("fieldset", { key: '2c793f1f8777181e5db0a4cae5b9994d9188685e' }, h("legend", { key: 'a8951fcd990c8136cf6672424869f5c96def3cef', class: "fw-semibold fs-5" }, this.formTitle), h("br", { key: 'faaf0cc27c448452a5172ad7fcfcf510ec586d2b' }), h("div", { key: '486638ad24414a05f84ada3f37a89d0cc12e7ffb', class: "row gy-3" }, h("owner-form-inputs", { key: 'bdfe7cb3305f31d93321319ef14eee3e5b331381', ownerDefaultValue: this.formController.getInitialValues(), errors: this.errors, formController: this.formController }), h("div", { key: '9e5c63e0637e0bffe5ab77a1f73c203704115479', class: "d-flex gap-2 justify-content-start" }, h(Button, { key: '85de4b69c697ebf96778f538b1535bd1fb2c43e7', variant: "secondary", type: "button", onClick: this.handleRemoveOwner, hidden: !this.showRemoveButton }, "Remove"), h(Button, { key: '1dd026432f19f84ae2142101191e511ebd62c2b3', variant: "primary", type: "submit", onClick: this.handleAddOwner, disabled: this.isLoading }, this.submitButtonText))), h("hr", { key: '2570611bbe663e2e128f03806ecb036ce750c80b' }))));
|
|
237
237
|
}
|
|
238
238
|
static get watchers() { return {
|
|
239
239
|
"isLoading": ["loadingWatcher"]
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-57431c24.js';
|
|
2
|
-
import { P as PaymentService } from './payment.service-
|
|
2
|
+
import { P as PaymentService } from './payment.service-e4fb5953.js';
|
|
3
3
|
import './Pagination-afc8f96d.js';
|
|
4
4
|
import { P as Payment } from './Payment-6bf26fe2.js';
|
|
5
5
|
import './Payout-dfe15b00.js';
|
|
6
6
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-3ce7f437.js';
|
|
7
7
|
import { g as getErrorMessage, a as getErrorCode } from './utils-b10dae27.js';
|
|
8
8
|
import { E as ErrorState } from './utils-01413a95.js';
|
|
9
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
10
|
-
import './Api-
|
|
9
|
+
import { J as JustifiAnalytics } from './Analytics-3e74964a.js';
|
|
10
|
+
import './Api-c8abc2e0.js';
|
|
11
11
|
import './config-476c7241.js';
|
|
12
|
-
import './package-
|
|
12
|
+
import './package-925a0fdd.js';
|
|
13
13
|
|
|
14
14
|
const makeGetPaymentDetails = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
|
|
15
15
|
var _a;
|
|
@@ -2,15 +2,15 @@ import { r as registerInstance, c as createEvent, h } from './index-57431c24.js'
|
|
|
2
2
|
import './Pagination-afc8f96d.js';
|
|
3
3
|
import { a as PaymentMethodTypes } from './Payment-6bf26fe2.js';
|
|
4
4
|
import './Payout-dfe15b00.js';
|
|
5
|
-
import { l as loadFontsOnParent } from './utils-
|
|
5
|
+
import { l as loadFontsOnParent } from './utils-e66d8bca.js';
|
|
6
6
|
import { c as config } from './config-476c7241.js';
|
|
7
7
|
import { a as ComponentErrorCodes, C as ComponentErrorSeverity } from './ComponentError-3ce7f437.js';
|
|
8
8
|
import { g as getErrorMessage } from './utils-b10dae27.js';
|
|
9
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
9
|
+
import { J as JustifiAnalytics } from './Analytics-3e74964a.js';
|
|
10
10
|
import { B as Button } from './button-34e75e0f.js';
|
|
11
11
|
import { S as StyledHost } from './styled-host-ab9da520.js';
|
|
12
|
-
import './package-
|
|
13
|
-
import './Api-
|
|
12
|
+
import './package-925a0fdd.js';
|
|
13
|
+
import './Api-c8abc2e0.js';
|
|
14
14
|
|
|
15
15
|
const paymentFormCss = ":host{display:block}justifi-payment-method-form{display:block;margin-left:calc(var(--jfi-layout-padding) * -1);margin-right:calc(var(--jfi-layout-padding) * -1)}*::part(label){color:var(--jfi-form-label-color);font-family:var(--jfi-form-label-font-family);font-weight:var(--jfi-form-label-font-weight);font-size:var(--jfi-form-label-font-size);margin:var(--jfi-form-label-margin)}*::part(input){font-family:var(--jfi-layout-font-family);background-color:var(--jfi-form-control-background-color);border-color:var(--jfi-form-control-border-color);border-width:var(--jfi-form-control-border-width);border-bottom-width:var(--jfi-form-control-border-bottom-width);border-left-width:var(--jfi-form-control-border-left-width);border-right-width:var(--jfi-form-control-border-right-width);border-top-width:var(--jfi-form-control-border-top-width);border-radius:var(--jfi-form-control-border-radius);border-style:var(--jfi-form-control-border-style);box-shadow:var(--jfi-form-control-box-shadow);color:var(--jfi-form-control-color);font-size:var(--jfi-form-control-font-size);font-weight:var(--jfi-form-control-font-weight);line-height:var(--jfi-form-control-line-height);margin:var(--jfi-form-control-margin);padding:var(--jfi-form-control-padding)}*::part(input):focus{color:var(--jfi-form-control-color-focus);border-color:var(--jfi-form-control-border-color-focus);box-shadow:var(--jfi-form-control-box-shadow-focus)}*::part(input-invalid){border-color:var(--jfi-form-control-border-color-error);box-shadow:var(--jfi-form-control-box-shadow-error)}*::part(input-invalid):focus{border-color:var(--jfi-form-control-border-color-error);box-shadow:var(--jfi-form-control-box-shadow-error-focus)}.jfi-submit-button{font-family:var(--jfi-layout-font-family);color:var(--jfi-submit-button-color);background-color:var(--jfi-submit-button-background-color);border-color:var(--jfi-submit-button-border-color);padding:var(--jfi-submit-button-padding);font-size:var(--jfi-submit-button-font-size);border-radius:var(--jfi-submit-button-border-radius);width:var(--jfi-submit-button-width);box-shadow:var(--jfi-submit-button-box-shadow)}.jfi-submit-button:hover{color:var(--jfi-submit-button-color-hover);background-color:var(--jfi-submit-button-background-color-hover);border-color:var(--jfi-submit-button-border-color-hover)}.jfi-submit-button:focus{color:var(--jfi-submit-button-color-focus);background-color:var(--jfi-submit-button-background-color-focus);border-color:var(--jfi-submit-button-border-color-focus)}.btn.jfi-submit-button:active{color:var(--jfi-submit-button-color-active);background-color:var(--jfi-submit-button-background-color-active);border-color:var(--jfi-submit-button-border-color-active)}.btn.jfi-submit-button-loading{min-width:75px;color:var(--jfi-submit-button-color-loading);background-color:var(--jfi-submit-button-background-color-loading);border-color:var(--jfi-submit-button-border-color-loading)}.btn.jfi-submit-button-loading .spinner-border{border-top-color:var(--jfi-submit-button-color-loading);border-bottom-color:var(--jfi-submit-button-color-loading);border-left-color:var(--jfi-submit-button-color-loading)}";
|
|
16
16
|
const JustifiPaymentFormStyle0 = paymentFormCss;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-57431c24.js';
|
|
2
|
-
import { p as packageJson } from './package-
|
|
3
|
-
import {
|
|
2
|
+
import { p as packageJson } from './package-925a0fdd.js';
|
|
3
|
+
import { k as composeQueryParams } from './utils-e66d8bca.js';
|
|
4
4
|
|
|
5
5
|
var iframeResizer = {exports: {}};
|
|
6
6
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-57431c24.js';
|
|
2
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
2
|
+
import { J as JustifiAnalytics } from './Analytics-3e74964a.js';
|
|
3
3
|
import { a as ComponentErrorCodes, C as ComponentErrorSeverity } from './ComponentError-3ce7f437.js';
|
|
4
4
|
import { m as makeGetBusiness, a as makePostProvisioning } from './payment-provisioning-actions-0635eff7.js';
|
|
5
|
-
import { B as BusinessService } from './business.service-
|
|
5
|
+
import { B as BusinessService } from './business.service-6f139c2b.js';
|
|
6
6
|
import { c as config } from './config-476c7241.js';
|
|
7
|
-
import { A as Api } from './Api-
|
|
8
|
-
import './package-
|
|
7
|
+
import { A as Api } from './Api-c8abc2e0.js';
|
|
8
|
+
import './package-925a0fdd.js';
|
|
9
9
|
import './utils-b10dae27.js';
|
|
10
10
|
|
|
11
11
|
class ProvisionService {
|
|
@@ -15,7 +15,7 @@ class ProvisionService {
|
|
|
15
15
|
business_id: businessId,
|
|
16
16
|
product_category: product
|
|
17
17
|
};
|
|
18
|
-
return Api({ authToken, apiOrigin: config.proxyApiOrigin }).post(endpoint,
|
|
18
|
+
return Api({ authToken, apiOrigin: config.proxyApiOrigin }).post(endpoint, payload);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-57431c24.js';
|
|
2
|
-
import { P as PaymentService } from './payment.service-
|
|
2
|
+
import { P as PaymentService } from './payment.service-e4fb5953.js';
|
|
3
3
|
import './Pagination-afc8f96d.js';
|
|
4
4
|
import { P as Payment } from './Payment-6bf26fe2.js';
|
|
5
5
|
import './Payout-dfe15b00.js';
|
|
6
6
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-3ce7f437.js';
|
|
7
7
|
import { g as getErrorMessage, a as getErrorCode } from './utils-b10dae27.js';
|
|
8
8
|
import { E as ErrorState } from './utils-01413a95.js';
|
|
9
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
10
|
-
import './Api-
|
|
9
|
+
import { J as JustifiAnalytics } from './Analytics-3e74964a.js';
|
|
10
|
+
import './Api-c8abc2e0.js';
|
|
11
11
|
import './config-476c7241.js';
|
|
12
|
-
import './package-
|
|
12
|
+
import './package-925a0fdd.js';
|
|
13
13
|
|
|
14
14
|
const makeGetPayments = ({ id, authToken, service }) => async ({ params, onSuccess, onError }) => {
|
|
15
15
|
var _a, _b;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-57431c24.js';
|
|
2
|
-
import { m as makeGetPayoutCSV, P as PayoutService } from './get-payout-csv-
|
|
2
|
+
import { m as makeGetPayoutCSV, P as PayoutService } from './get-payout-csv-383d96c1.js';
|
|
3
3
|
import './Pagination-afc8f96d.js';
|
|
4
4
|
import './Payment-6bf26fe2.js';
|
|
5
5
|
import { P as Payout } from './Payout-dfe15b00.js';
|
|
6
6
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-3ce7f437.js';
|
|
7
7
|
import { g as getErrorMessage, a as getErrorCode } from './utils-b10dae27.js';
|
|
8
8
|
import { E as ErrorState } from './utils-01413a95.js';
|
|
9
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
10
|
-
import './Api-
|
|
9
|
+
import { J as JustifiAnalytics } from './Analytics-3e74964a.js';
|
|
10
|
+
import './Api-c8abc2e0.js';
|
|
11
11
|
import './config-476c7241.js';
|
|
12
|
-
import './package-
|
|
12
|
+
import './package-925a0fdd.js';
|
|
13
13
|
|
|
14
14
|
const makeGetPayoutDetails = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
|
|
15
15
|
var _a;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-57431c24.js';
|
|
2
2
|
import { t as tableExportedParts } from './exported-parts-abd4c027.js';
|
|
3
|
-
import { m as makeGetPayoutCSV, P as PayoutService } from './get-payout-csv-
|
|
3
|
+
import { m as makeGetPayoutCSV, P as PayoutService } from './get-payout-csv-383d96c1.js';
|
|
4
4
|
import './Pagination-afc8f96d.js';
|
|
5
5
|
import './Payment-6bf26fe2.js';
|
|
6
6
|
import { P as Payout } from './Payout-dfe15b00.js';
|
|
7
7
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-3ce7f437.js';
|
|
8
8
|
import { g as getErrorMessage, a as getErrorCode } from './utils-b10dae27.js';
|
|
9
9
|
import { E as ErrorState } from './utils-01413a95.js';
|
|
10
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
11
|
-
import './Api-
|
|
10
|
+
import { J as JustifiAnalytics } from './Analytics-3e74964a.js';
|
|
11
|
+
import './Api-c8abc2e0.js';
|
|
12
12
|
import './config-476c7241.js';
|
|
13
|
-
import './package-
|
|
13
|
+
import './package-925a0fdd.js';
|
|
14
14
|
|
|
15
15
|
const makeGetPayouts = ({ id, authToken, service }) => async ({ params, onSuccess, onError }) => {
|
|
16
16
|
var _a, _b;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-57431c24.js';
|
|
2
2
|
import { c as create$3, d as create$5, F as FormController } from './index.esm-fc4f5c0c.js';
|
|
3
|
-
import { A as Api } from './Api-
|
|
3
|
+
import { A as Api } from './Api-c8abc2e0.js';
|
|
4
4
|
import './Pagination-afc8f96d.js';
|
|
5
5
|
import './Payment-6bf26fe2.js';
|
|
6
6
|
import './Payout-dfe15b00.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-57431c24.js';
|
|
2
|
-
import { f as formatCurrency } from './utils-
|
|
2
|
+
import { f as formatCurrency } from './utils-e66d8bca.js';
|
|
3
3
|
import { v as validateInsuranceValues, a as insuranceValues, b as insuranceErrors } from './insurance-state-8ce01e59.js';
|
|
4
4
|
import { S as StyledHost } from './styled-host-ab9da520.js';
|
|
5
5
|
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-57431c24.js';
|
|
2
|
-
import { A as Api } from './Api-
|
|
2
|
+
import { A as Api } from './Api-c8abc2e0.js';
|
|
3
3
|
import './Pagination-afc8f96d.js';
|
|
4
4
|
import './Payment-6bf26fe2.js';
|
|
5
5
|
import './Payout-dfe15b00.js';
|
|
6
6
|
import { c as config } from './config-476c7241.js';
|
|
7
7
|
import { g as getErrorMessage, a as getErrorCode } from './utils-b10dae27.js';
|
|
8
8
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-3ce7f437.js';
|
|
9
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
10
|
-
import './package-
|
|
9
|
+
import { J as JustifiAnalytics } from './Analytics-3e74964a.js';
|
|
10
|
+
import './package-925a0fdd.js';
|
|
11
11
|
|
|
12
12
|
class InsuranceService {
|
|
13
13
|
async fetchQuote(authToken, payload) {
|
|
14
14
|
const endpoint = 'insurance/quotes';
|
|
15
|
-
return Api({ authToken, apiOrigin: config.proxyApiOrigin }).post(endpoint,
|
|
15
|
+
return Api({ authToken, apiOrigin: config.proxyApiOrigin }).post(endpoint, payload);
|
|
16
16
|
}
|
|
17
17
|
async toggleCoverage(authToken, quoteId, payload) {
|
|
18
18
|
const endpoint = `insurance/quotes/${quoteId}/toggle`;
|
|
19
|
-
return Api({ authToken, apiOrigin: config.proxyApiOrigin }).post(endpoint,
|
|
19
|
+
return Api({ authToken, apiOrigin: config.proxyApiOrigin }).post(endpoint, payload);
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-57431c24.js';
|
|
2
|
-
import { M as MapPaymentStatusToBadge, f as formatCurrency, b as formatDate, c as formatTime, s as snakeCaseToHumanReadable } from './utils-
|
|
2
|
+
import { M as MapPaymentStatusToBadge, f as formatCurrency, b as formatDate, c as formatTime, s as snakeCaseToHumanReadable } from './utils-e66d8bca.js';
|
|
3
3
|
import { a as EntityHeadInfo, b as EntityHeadInfoItem, D as DetailSectionTitle, c as DetailItem, C as CodeBlock, E as ErrorState, L as LoadingState } from './utils-01413a95.js';
|
|
4
4
|
import { S as StyledHost } from './styled-host-ab9da520.js';
|
|
5
5
|
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, h } from './index-57431c24.js'
|
|
|
2
2
|
import { p as pagingDefaults } from './Pagination-afc8f96d.js';
|
|
3
3
|
import './Payment-6bf26fe2.js';
|
|
4
4
|
import './Payout-dfe15b00.js';
|
|
5
|
-
import { b as formatDate, c as formatTime, f as formatCurrency, M as MapPaymentStatusToBadge } from './utils-
|
|
5
|
+
import { b as formatDate, c as formatTime, f as formatCurrency, M as MapPaymentStatusToBadge } from './utils-e66d8bca.js';
|
|
6
6
|
import { t as tableExportedParts } from './exported-parts-abd4c027.js';
|
|
7
7
|
import { S as StyledHost } from './styled-host-ab9da520.js';
|
|
8
8
|
import { T as TableLoadingState, a as TableEmptyState, b as TableErrorState } from './table-loading-state-356c7215.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-57431c24.js';
|
|
2
|
-
import { d as MapPayoutStatusToBadge, f as formatCurrency, b as formatDate, c as formatTime } from './utils-
|
|
2
|
+
import { d as MapPayoutStatusToBadge, f as formatCurrency, b as formatDate, c as formatTime } from './utils-e66d8bca.js';
|
|
3
3
|
import { a as EntityHeadInfo, b as EntityHeadInfoItem, D as DetailSectionTitle, c as DetailItem, C as CodeBlock, E as ErrorState, L as LoadingState } from './utils-01413a95.js';
|
|
4
4
|
import { S as StyledHost } from './styled-host-ab9da520.js';
|
|
5
5
|
|
|
@@ -2,7 +2,7 @@ import { h, r as registerInstance, c as createEvent } from './index-57431c24.js'
|
|
|
2
2
|
import { p as pagingDefaults } from './Pagination-afc8f96d.js';
|
|
3
3
|
import './Payment-6bf26fe2.js';
|
|
4
4
|
import { a as PayoutStatuses, b as PayoutStatusesSafeNames } from './Payout-dfe15b00.js';
|
|
5
|
-
import { b as formatDate, c as formatTime, f as formatCurrency } from './utils-
|
|
5
|
+
import { b as formatDate, c as formatTime, f as formatCurrency } from './utils-e66d8bca.js';
|
|
6
6
|
import { a as ComponentErrorCodes, C as ComponentErrorSeverity } from './ComponentError-3ce7f437.js';
|
|
7
7
|
import { t as tableExportedParts } from './exported-parts-abd4c027.js';
|
|
8
8
|
import { S as StyledHost } from './styled-host-ab9da520.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as create$6, b as create$8 } from './index.esm-fc4f5c0c.js';
|
|
2
2
|
import { S as StateOptions } from './state-options-a356fb11.js';
|
|
3
|
-
import { b as businessClassificationOptions, a as businessServiceReceivedOptions, r as recurringPaymentsOptions, s as seasonalBusinessOptions, c as bankAccountTypeOptions } from './business-form-options-
|
|
3
|
+
import { b as businessClassificationOptions, a as businessServiceReceivedOptions, r as recurringPaymentsOptions, s as seasonalBusinessOptions, c as bankAccountTypeOptions } from './business-form-options-d790973e.js';
|
|
4
4
|
|
|
5
5
|
const transformEmptyString = (value) => {
|
|
6
6
|
return value === '' ? null : value;
|
|
@@ -298,4 +298,4 @@ const profitAndLossStatementValidation = (volume, documents, allowOptionalFields
|
|
|
298
298
|
}
|
|
299
299
|
};
|
|
300
300
|
|
|
301
|
-
export { nicknameValidation as A, accountTypeValidation as B, accountNumberValidation as C, routingNumberValidation as D, voidedCheckValidation as E, governmentIdValidation as F, ss4Validation as G, otherDocumentValidation as H, balanceSheetValidation as I, bankStatementValidation as J, profitAndLossStatementValidation as K, EntityDocument as L, EntityDocumentStorage as M, EntityDocumentType as N,
|
|
301
|
+
export { nicknameValidation as A, accountTypeValidation as B, accountNumberValidation as C, routingNumberValidation as D, voidedCheckValidation as E, governmentIdValidation as F, ss4Validation as G, otherDocumentValidation as H, balanceSheetValidation as I, bankStatementValidation as J, profitAndLossStatementValidation as K, EntityDocument as L, EntityDocumentStorage as M, EntityDocumentType as N, businessClassificationValidation as a, businessNameValidation as b, dateOfIncorporationValidation as c, doingBusinessAsValidation as d, emailValidation as e, paymentVolumeValidation as f, whenServiceReceivedValidation as g, recurringPaymentsValidation as h, industryValidation as i, recurringPaymentsPercentageValidation as j, lineTwoValidation as k, lineOneValidation as l, cityValidation as m, stateValidation as n, otherPaymentDetailsValidation as o, phoneValidation as p, postalValidation as q, revenueValidation as r, seasonalBusinessValidation as s, taxIdValidation as t, identityNameValidation as u, identityTitleValidation as v, websiteUrlValidation as w, dobValidation as x, ssnValidation as y, bankNameValidation as z };
|