@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
|
@@ -5,18 +5,18 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
6
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
7
7
|
const paymentProvisioningActions = require('./payment-provisioning-actions-06466dda.js');
|
|
8
|
-
const business_service = require('./business.service-
|
|
8
|
+
const business_service = require('./business.service-65b0dbc8.js');
|
|
9
9
|
const index_esm = require('./index.esm-52757963.js');
|
|
10
10
|
const businessFormTypes = require('./business-form-types-6e1fcda3.js');
|
|
11
|
-
const schemaValidations = require('./schema-validations-
|
|
12
|
-
const businessFormOptions = require('./business-form-options-
|
|
13
|
-
const Api = require('./Api-
|
|
11
|
+
const schemaValidations = require('./schema-validations-0a7e46a3.js');
|
|
12
|
+
const businessFormOptions = require('./business-form-options-5db0bd5e.js');
|
|
13
|
+
const Api = require('./Api-b98b256f.js');
|
|
14
14
|
require('./Pagination-0da8f095.js');
|
|
15
15
|
require('./Payment-1a8a8ca6.js');
|
|
16
16
|
require('./Payout-a2dd7b01.js');
|
|
17
17
|
const config = require('./config-ff2dda66.js');
|
|
18
18
|
const utils = require('./utils-ddacfc44.js');
|
|
19
|
-
const Business = require('./Business-
|
|
19
|
+
const Business = require('./Business-aa799fec.js');
|
|
20
20
|
const skeleton = require('./skeleton-748c5dde.js');
|
|
21
21
|
const button = require('./button-3f400a66.js');
|
|
22
22
|
require('./utils-7a478c37.js');
|
|
@@ -148,7 +148,7 @@ const BusinessBankAccountFormStep = class {
|
|
|
148
148
|
try {
|
|
149
149
|
const formValues = this.formController.values.getValue();
|
|
150
150
|
const payload = Object.assign(Object.assign({}, formValues), { business_id: this.businessId });
|
|
151
|
-
const response = await this.api.post(this.bankAccountEndpoint,
|
|
151
|
+
const response = await this.api.post(this.bankAccountEndpoint, payload);
|
|
152
152
|
this.handleResponse(response, onSuccess);
|
|
153
153
|
}
|
|
154
154
|
catch (error) {
|
|
@@ -217,7 +217,7 @@ const BusinessBankAccountFormStep = class {
|
|
|
217
217
|
}
|
|
218
218
|
render() {
|
|
219
219
|
const bankAccountDefaultValue = this.formController.getInitialValues();
|
|
220
|
-
return (index.h("form", { key: '
|
|
220
|
+
return (index.h("form", { key: 'c2bdcd5ab6301d1a39e4d774df101281c41e2002' }, index.h("fieldset", { key: '7f6b607be5b7bc5fcd0dc1687adaa1ad00d7d2e9' }, index.h("legend", { key: '91b68746c65bb68f4fbd2eef151258e6915f8e35' }, "Bank Account Info"), index.h("hr", { key: '5eceedbf59faef10757c9e2b04d4dc4cd6b88a9b' }), index.h("div", { key: 'd3185db7fceb9851ccb44c1c89f8cbe5a37c24e0', class: "row gy-3" }, index.h("div", { key: '625caf0e9b93c244d94c69174ffff57126d39fa1', class: "col-12" }, index.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 })), index.h("div", { key: 'd7d498353eec8e1947ce748aa35cbee63e793817', class: "col-12" }, index.h("form-control-text", { key: 'a80050dcd088db0209c2e5da65b310d7fc7877f5', name: "nickname", label: "Nickname", defaultValue: bankAccountDefaultValue.nickname, errorText: this.errors.nickname, inputHandler: this.inputHandler, disabled: this.formDisabled })), index.h("div", { key: 'ea5578470e0e4d0fd5b973807475a02c7764c9c8', class: "col-12" }, index.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 })), index.h("div", { key: 'cb3256226c5fdfa5ff2a02c456a6c384e06d16a6', class: "col-12" }, index.h("form-control-select", { key: 'a865f48350a0ae6b6a2a540dc2d54de72a8af074', name: "account_type", label: "Account Type", options: businessFormOptions.bankAccountTypeOptions, defaultValue: bankAccountDefaultValue.account_type, errorText: this.errors.account_type, inputHandler: this.inputHandler, disabled: this.formDisabled })), index.h("div", { key: 'aa9062a25dade06db1f175d4233f2e5bb4e7ecd7', class: "col-12" }, index.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: utils.numberOnlyHandler, disabled: this.formDisabled })), index.h("div", { key: 'c72858a29aa1289b367c0eb89d6cc0eded23346d', class: "col-12" }, index.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: utils.numberOnlyHandler, disabled: this.formDisabled }))))));
|
|
221
221
|
}
|
|
222
222
|
};
|
|
223
223
|
|
|
@@ -335,7 +335,7 @@ const BusinessDocumentFormStep = class {
|
|
|
335
335
|
this.formLoading.emit(true);
|
|
336
336
|
const payload = docData.record_data;
|
|
337
337
|
try {
|
|
338
|
-
const response = await this.api.post(this.documentEndpoint,
|
|
338
|
+
const response = await this.api.post(this.documentEndpoint, payload);
|
|
339
339
|
return this.handleDocRecordResponse(docData, response);
|
|
340
340
|
}
|
|
341
341
|
catch (error) {
|
|
@@ -467,7 +467,7 @@ const BusinessDocumentFormStep = class {
|
|
|
467
467
|
return (index.h("justifi-business-document-upload-input-group", { paymentVolume: this.paymentVolume, inputHandler: this.inputHandler, storeFiles: this.storeFiles, errors: this.errors }));
|
|
468
468
|
}
|
|
469
469
|
render() {
|
|
470
|
-
return (index.h("form", { key: '
|
|
470
|
+
return (index.h("form", { key: '38bb9070ca04f773ec092ebb14ce8ad20f33d8cf' }, index.h("fieldset", { key: '9c736d11200bb9c5a37c1319f3bfb349b7a5e93f' }, index.h("legend", { key: '92ed2fb864e85e38532af364518c25ef4bd275a5' }, "Document Uploads"), index.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."), index.h("hr", { key: '0c696d1bdb614bdacb3cbadeee66c95149efda68' }), this.documentsOnFile, index.h("div", { key: '7919205dfda677526d810a9fa1507ed8a55eafb8', class: "d-flex flex-column" }, this.formInputs))));
|
|
471
471
|
}
|
|
472
472
|
};
|
|
473
473
|
|
|
@@ -608,7 +608,7 @@ const BusinessTermsConditionsFormStep = class {
|
|
|
608
608
|
this.sendData = async (onSuccess) => {
|
|
609
609
|
this.formLoading.emit(true);
|
|
610
610
|
try {
|
|
611
|
-
const payload =
|
|
611
|
+
const payload = this.termsPayload;
|
|
612
612
|
const response = await this.api.post(this.termsConditionsEndpoint, payload);
|
|
613
613
|
this.handleResponse(response, onSuccess);
|
|
614
614
|
}
|
|
@@ -687,7 +687,7 @@ const BusinessTermsConditionsFormStep = class {
|
|
|
687
687
|
});
|
|
688
688
|
}
|
|
689
689
|
render() {
|
|
690
|
-
return (index.h("form", { key: '
|
|
690
|
+
return (index.h("form", { key: 'a292e2b1b69d152009000d9e7009e5ab07698bc8' }, index.h("fieldset", { key: '30843e9ed0029f64abcf076512af82974dd99598' }, index.h("legend", { key: '6453679a074056668bdd93cb91d2d725b73fb0da' }, "Terms and Conditions"), index.h("hr", { key: '6a44c1128e3dceb770b16533aa61fb5e81f5dda2' }), index.h("justifi-business-terms-conditions-text", { key: '714c9f81c1d1f91712a276259acf4eb6734b40d4' }), index.h("br", { key: '5e955908e53af5ade77fca9f2a47e8a9d10e7ad8' }), index.h("div", { key: '7c6ca9d2634c7cc6988292ffedf86b64c3865557', class: "row-gy-3" }, index.h("div", { key: 'e8f01c4bdcc07e0063e3b8f5f1acbabc9b3310f7', class: "col-12" }, index.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 }))))));
|
|
691
691
|
}
|
|
692
692
|
};
|
|
693
693
|
|
|
@@ -4,9 +4,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
6
|
const config = require('./config-ff2dda66.js');
|
|
7
|
-
const Analytics = require('./Analytics-
|
|
8
|
-
require('./package-
|
|
9
|
-
require('./Api-
|
|
7
|
+
const Analytics = require('./Analytics-c866f471.js');
|
|
8
|
+
require('./package-0c613220.js');
|
|
9
|
+
require('./Api-b98b256f.js');
|
|
10
10
|
|
|
11
11
|
const BankAccountForm = class {
|
|
12
12
|
constructor(hostRef) {
|
|
@@ -4,12 +4,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
6
|
const index_esm = require('./index.esm-52757963.js');
|
|
7
|
-
const schemaValidations = require('./schema-validations-
|
|
7
|
+
const schemaValidations = require('./schema-validations-0a7e46a3.js');
|
|
8
8
|
const stateOptions = require('./state-options-4fbcb48a.js');
|
|
9
9
|
const utils = require('./utils-ddacfc44.js');
|
|
10
10
|
const styledHost = require('./styled-host-cc053016.js');
|
|
11
|
-
require('./business-form-options-
|
|
12
|
-
require('./Business-
|
|
11
|
+
require('./business-form-options-5db0bd5e.js');
|
|
12
|
+
require('./Business-aa799fec.js');
|
|
13
13
|
require('./helpers-602962eb.js');
|
|
14
14
|
|
|
15
15
|
const BillingFormSchema = index_esm.create$3({
|
|
@@ -4,16 +4,16 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
6
|
const utils$1 = require('./utils-c1d2e426.js');
|
|
7
|
-
const business_service = require('./business.service-
|
|
8
|
-
const Business = require('./Business-
|
|
7
|
+
const business_service = require('./business.service-65b0dbc8.js');
|
|
8
|
+
const Business = require('./Business-aa799fec.js');
|
|
9
9
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
10
10
|
const utils = require('./utils-7a478c37.js');
|
|
11
|
-
const Analytics = require('./Analytics-
|
|
11
|
+
const Analytics = require('./Analytics-c866f471.js');
|
|
12
12
|
require('./config-ff2dda66.js');
|
|
13
|
-
require('./Api-
|
|
13
|
+
require('./Api-b98b256f.js');
|
|
14
14
|
require('./helpers-602962eb.js');
|
|
15
15
|
require('./state-options-4fbcb48a.js');
|
|
16
|
-
require('./package-
|
|
16
|
+
require('./package-0c613220.js');
|
|
17
17
|
|
|
18
18
|
const makeGetBusiness = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
|
|
19
19
|
var _a;
|
|
@@ -4,24 +4,24 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
6
|
const index_esm = require('./index.esm-52757963.js');
|
|
7
|
-
const businessAdditionalQuestionsSchema = require('./business-additional-questions-schema-
|
|
8
|
-
const
|
|
9
|
-
const Api = require('./Api-
|
|
7
|
+
const businessAdditionalQuestionsSchema = require('./business-additional-questions-schema-26b0eecb.js');
|
|
8
|
+
const businessIdentitySchema = require('./business-identity-schema-503ecb77.js');
|
|
9
|
+
const Api = require('./Api-b98b256f.js');
|
|
10
10
|
require('./Pagination-0da8f095.js');
|
|
11
11
|
require('./Payment-1a8a8ca6.js');
|
|
12
12
|
require('./Payout-a2dd7b01.js');
|
|
13
13
|
const config = require('./config-ff2dda66.js');
|
|
14
14
|
const businessFormTypes = require('./business-form-types-6e1fcda3.js');
|
|
15
|
-
const Business = require('./Business-
|
|
16
|
-
const Analytics = require('./Analytics-
|
|
15
|
+
const Business = require('./Business-aa799fec.js');
|
|
16
|
+
const Analytics = require('./Analytics-c866f471.js');
|
|
17
17
|
const styledHost = require('./styled-host-cc053016.js');
|
|
18
|
-
require('./schema-validations-
|
|
18
|
+
require('./schema-validations-0a7e46a3.js');
|
|
19
19
|
require('./state-options-4fbcb48a.js');
|
|
20
|
-
require('./business-form-options-
|
|
20
|
+
require('./business-form-options-5db0bd5e.js');
|
|
21
21
|
require('./helpers-602962eb.js');
|
|
22
|
-
require('./package-
|
|
22
|
+
require('./package-0c613220.js');
|
|
23
23
|
|
|
24
|
-
const businessFormSchema = index_esm.create$3(Object.assign(Object.assign({}, businessAdditionalQuestionsSchema.businessCoreInfoSchema().fields), { legal_address:
|
|
24
|
+
const businessFormSchema = index_esm.create$3(Object.assign(Object.assign({}, businessAdditionalQuestionsSchema.businessCoreInfoSchema().fields), { legal_address: businessIdentitySchema.addressSchema(), additional_questions: businessAdditionalQuestionsSchema.additionalQuestionsSchema(), representative: businessIdentitySchema.identitySchema('representative') }));
|
|
25
25
|
|
|
26
26
|
const businessFormCss = ":host{display:block}*::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-checkbox){font-family:var(--jfi-layout-font-family);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-style:var(--jfi-form-control-border-style);box-shadow:var(--jfi-form-control-box-shadow);color:var(--jfi-form-control-color);line-height:var(--jfi-form-control-line-height)}*::part(input-checkbox):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-checkbox-invalid){border-color:var(--jfi-form-control-border-color-error);box-shadow:var(--jfi-form-control-box-shadow-error)}*::part(input-checkbox-invalid):focus{border-color:var(--jfi-form-control-border-color-error);box-shadow:var(--jfi-form-control-box-shadow-error-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)}";
|
|
27
27
|
const JustifiBusinessFormStyle0 = businessFormCss;
|
|
@@ -41,8 +41,8 @@ const BusinessForm = class {
|
|
|
41
41
|
try {
|
|
42
42
|
const values = this.formController.values.getValue();
|
|
43
43
|
const initialValues = this.formController.getInitialValues();
|
|
44
|
-
const payload =
|
|
45
|
-
const response = await this.api.patch(this.businessEndpoint,
|
|
44
|
+
const payload = new Business.Business(Object.assign(Object.assign({}, initialValues), values)).payload;
|
|
45
|
+
const response = await this.api.patch(this.businessEndpoint, payload);
|
|
46
46
|
this.handleReponse(response);
|
|
47
47
|
}
|
|
48
48
|
catch (error) {
|
|
@@ -114,7 +114,7 @@ const BusinessForm = class {
|
|
|
114
114
|
this.instantiateBusiness(response.data);
|
|
115
115
|
}
|
|
116
116
|
render() {
|
|
117
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
117
|
+
return (index.h(styledHost.StyledHost, { key: 'e388e1e7658969f0e5687102a62345e2790da97a', exportparts: "label,input,input-invalid" }, index.h("form", { key: 'c22a562e57539e982a071b1906e5bf0bcc249e7d', onSubmit: this.validateAndSubmit }, index.h("div", { key: '44243cd965b448f5be9058880aa2deb32f4ce8dc', class: "row gap-3" }, index.h("h1", { key: 'd666ed8ddacc8ac05d7f42c2f4824208b92cdb3f' }, this.title), index.h("form-alert", { key: 'b1d4025078c4373a789609f2e14d309f0ee280fe', text: this.errorMessage, hideAlert: this.hideErrors }), index.h("div", { key: 'cdc1d597a5dbf9581182de302a453e4ea98bb28f', class: "col-12 mb-4" }, index.h("justifi-business-core-info", { key: '2333164de020eadf54da91cabdcbeb87a2fd1b75', formController: this.formController })), index.h("div", { key: '74eafa5c419f6d6fe2eb3eeb8521e12175f7ee3a', class: "col-12 mb-4" }, index.h("justifi-legal-address-form", { key: '1e5a373f95a77bf3aba1a9f3538b3a2ac3dbf716', formController: this.formController })), index.h("div", { key: 'ec9f6195f3674b426722463341445f0ed1746178', class: "col-12 mb-4" }, index.h("justifi-additional-questions", { key: '0adbc60492f4ad71e3877c446376999418b7dc15', formController: this.formController })), index.h("div", { key: 'cdfb8d0d40e9f888afd9c23cd97d33d861d16f62', class: "col-12 mb-4" }, index.h("justifi-business-representative", { key: '4d03ec95b7c2918494c9970b3e6a5826d4d69a10', formController: this.formController })), index.h("div", { key: '0682dba469e57a938b175499312de5d5c4f55a69', class: "col-12 d-flex flex-row-reverse" }, index.h("button", { key: '64791e2742ee129787094c7123e87c4262735556', type: "submit", class: "btn btn-primary jfi-submit-button", disabled: this.disabledState, onClick: () => this.fireClickEvents({ name: businessFormTypes.BusinessFormClickActions.submit }) }, this.isLoading ? 'Loading...' : 'Submit'))))));
|
|
118
118
|
}
|
|
119
119
|
};
|
|
120
120
|
BusinessForm.style = JustifiBusinessFormStyle0;
|
|
@@ -4,9 +4,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
6
|
const config = require('./config-ff2dda66.js');
|
|
7
|
-
const Analytics = require('./Analytics-
|
|
8
|
-
require('./package-
|
|
9
|
-
require('./Api-
|
|
7
|
+
const Analytics = require('./Analytics-c866f471.js');
|
|
8
|
+
require('./package-0c613220.js');
|
|
9
|
+
require('./Api-b98b256f.js');
|
|
10
10
|
|
|
11
11
|
const CardForm = class {
|
|
12
12
|
constructor(hostRef) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
|
-
const utils = require('./utils-
|
|
6
|
+
const utils = require('./utils-af1b60a9.js');
|
|
7
7
|
const config = require('./config-ff2dda66.js');
|
|
8
8
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
9
9
|
const insuranceState = require('./insurance-state-80e24caf.js');
|
|
@@ -5,13 +5,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
6
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
7
7
|
const utils = require('./utils-7a478c37.js');
|
|
8
|
-
const Api = require('./Api-
|
|
8
|
+
const Api = require('./Api-b98b256f.js');
|
|
9
9
|
require('./Pagination-0da8f095.js');
|
|
10
10
|
require('./Payment-1a8a8ca6.js');
|
|
11
11
|
require('./Payout-a2dd7b01.js');
|
|
12
12
|
const config = require('./config-ff2dda66.js');
|
|
13
|
-
const Analytics = require('./Analytics-
|
|
14
|
-
require('./package-
|
|
13
|
+
const Analytics = require('./Analytics-c866f471.js');
|
|
14
|
+
require('./package-0c613220.js');
|
|
15
15
|
|
|
16
16
|
const makeGetCheckout = ({ authToken, checkoutId, service }) => async ({ onSuccess, onError }) => {
|
|
17
17
|
var _a;
|
|
@@ -80,7 +80,7 @@ class CheckoutService {
|
|
|
80
80
|
if (payment.payment_token) {
|
|
81
81
|
payload.payment_token = payment.payment_token;
|
|
82
82
|
}
|
|
83
|
-
return Api.Api({ authToken, apiOrigin: config.config.proxyApiOrigin }).post(endpoint,
|
|
83
|
+
return Api.Api({ authToken, apiOrigin: config.config.proxyApiOrigin }).post(endpoint, payload);
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
|
|
@@ -4,12 +4,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
6
|
const config = require('./config-ff2dda66.js');
|
|
7
|
-
const Api = require('./Api-
|
|
7
|
+
const Api = require('./Api-b98b256f.js');
|
|
8
8
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
9
9
|
const utils = require('./utils-7a478c37.js');
|
|
10
10
|
const utils$1 = require('./utils-c1d2e426.js');
|
|
11
|
-
const Analytics = require('./Analytics-
|
|
12
|
-
require('./package-
|
|
11
|
+
const Analytics = require('./Analytics-c866f471.js');
|
|
12
|
+
require('./package-0c613220.js');
|
|
13
13
|
|
|
14
14
|
class ReportsService {
|
|
15
15
|
async fetchGrossVolumeChartData(accountId, authToken) {
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
6
|
const config = require('./config-ff2dda66.js');
|
|
7
7
|
const Payment = require('./Payment-1a8a8ca6.js');
|
|
8
|
-
const utils = require('./utils-
|
|
8
|
+
const utils = require('./utils-af1b60a9.js');
|
|
9
9
|
|
|
10
10
|
const PaymentMethodTypeLabels = {
|
|
11
11
|
bankAccount: 'New bank account',
|
|
@@ -4,22 +4,22 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
6
|
const paymentProvisioningActions = require('./payment-provisioning-actions-06466dda.js');
|
|
7
|
-
const business_service = require('./business.service-
|
|
7
|
+
const business_service = require('./business.service-65b0dbc8.js');
|
|
8
8
|
const index_esm = require('./index.esm-52757963.js');
|
|
9
|
-
const Business = require('./Business-
|
|
9
|
+
const Business = require('./Business-aa799fec.js');
|
|
10
10
|
const businessFormTypes = require('./business-form-types-6e1fcda3.js');
|
|
11
|
-
const
|
|
11
|
+
const businessIdentitySchema = require('./business-identity-schema-503ecb77.js');
|
|
12
12
|
const button = require('./button-3f400a66.js');
|
|
13
13
|
const formInputMasks = require('./form-input-masks-0879c139.js');
|
|
14
14
|
const inputHandlers = require('./input-handlers-cff032bb.js');
|
|
15
15
|
require('./ComponentError-233ac749.js');
|
|
16
16
|
require('./utils-7a478c37.js');
|
|
17
17
|
require('./config-ff2dda66.js');
|
|
18
|
-
require('./Api-
|
|
18
|
+
require('./Api-b98b256f.js');
|
|
19
19
|
require('./helpers-602962eb.js');
|
|
20
20
|
require('./state-options-4fbcb48a.js');
|
|
21
|
-
require('./schema-validations-
|
|
22
|
-
require('./business-form-options-
|
|
21
|
+
require('./schema-validations-0a7e46a3.js');
|
|
22
|
+
require('./business-form-options-5db0bd5e.js');
|
|
23
23
|
|
|
24
24
|
const BusinessOwnerForm = class {
|
|
25
25
|
constructor(hostRef) {
|
|
@@ -201,12 +201,12 @@ const BusinessOwnerFormCore = class {
|
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
203
|
get payload() {
|
|
204
|
-
let formValues =
|
|
204
|
+
let formValues = new Business.Owner(this.formController.values.getValue()).payload;
|
|
205
205
|
if (this.ownerId) {
|
|
206
|
-
return
|
|
206
|
+
return formValues;
|
|
207
207
|
}
|
|
208
208
|
else {
|
|
209
|
-
return
|
|
209
|
+
return Object.assign(Object.assign({}, formValues), { business_id: this.businessId });
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
212
|
get formTitle() {
|
|
@@ -230,14 +230,14 @@ const BusinessOwnerFormCore = class {
|
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
232
|
componentWillLoad() {
|
|
233
|
-
this.formController = new index_esm.FormController(
|
|
233
|
+
this.formController = new index_esm.FormController(businessIdentitySchema.identitySchema('owner', this.allowOptionalFields));
|
|
234
234
|
this.ownerId ? this.getData() : this.instantiateOwner({});
|
|
235
235
|
}
|
|
236
236
|
componentDidLoad() {
|
|
237
237
|
this.formController.errors.subscribe(errors => (this.errors = Object.assign({}, errors)));
|
|
238
238
|
}
|
|
239
239
|
render() {
|
|
240
|
-
return (index.h("form", { key: '
|
|
240
|
+
return (index.h("form", { key: '27f0d989f017bd03b84cf8c994fa96f9a65aad08', onSubmit: this.validateAndSubmit }, index.h("fieldset", { key: '2c793f1f8777181e5db0a4cae5b9994d9188685e' }, index.h("legend", { key: 'a8951fcd990c8136cf6672424869f5c96def3cef', class: "fw-semibold fs-5" }, this.formTitle), index.h("br", { key: 'faaf0cc27c448452a5172ad7fcfcf510ec586d2b' }), index.h("div", { key: '486638ad24414a05f84ada3f37a89d0cc12e7ffb', class: "row gy-3" }, index.h("owner-form-inputs", { key: 'bdfe7cb3305f31d93321319ef14eee3e5b331381', ownerDefaultValue: this.formController.getInitialValues(), errors: this.errors, formController: this.formController }), index.h("div", { key: '9e5c63e0637e0bffe5ab77a1f73c203704115479', class: "d-flex gap-2 justify-content-start" }, index.h(button.Button, { key: '85de4b69c697ebf96778f538b1535bd1fb2c43e7', variant: "secondary", type: "button", onClick: this.handleRemoveOwner, hidden: !this.showRemoveButton }, "Remove"), index.h(button.Button, { key: '1dd026432f19f84ae2142101191e511ebd62c2b3', variant: "primary", type: "submit", onClick: this.handleAddOwner, disabled: this.isLoading }, this.submitButtonText))), index.h("hr", { key: '2570611bbe663e2e128f03806ecb036ce750c80b' }))));
|
|
241
241
|
}
|
|
242
242
|
static get watchers() { return {
|
|
243
243
|
"isLoading": ["loadingWatcher"]
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
|
-
const payment_service = require('./payment.service-
|
|
6
|
+
const payment_service = require('./payment.service-33d6ac16.js');
|
|
7
7
|
require('./Pagination-0da8f095.js');
|
|
8
8
|
const Payment = require('./Payment-1a8a8ca6.js');
|
|
9
9
|
require('./Payout-a2dd7b01.js');
|
|
10
10
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
11
11
|
const utils = require('./utils-7a478c37.js');
|
|
12
12
|
const utils$1 = require('./utils-c1d2e426.js');
|
|
13
|
-
const Analytics = require('./Analytics-
|
|
14
|
-
require('./Api-
|
|
13
|
+
const Analytics = require('./Analytics-c866f471.js');
|
|
14
|
+
require('./Api-b98b256f.js');
|
|
15
15
|
require('./config-ff2dda66.js');
|
|
16
|
-
require('./package-
|
|
16
|
+
require('./package-0c613220.js');
|
|
17
17
|
|
|
18
18
|
const makeGetPaymentDetails = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
|
|
19
19
|
var _a;
|
|
@@ -6,15 +6,15 @@ const index = require('./index-fb499e95.js');
|
|
|
6
6
|
require('./Pagination-0da8f095.js');
|
|
7
7
|
const Payment = require('./Payment-1a8a8ca6.js');
|
|
8
8
|
require('./Payout-a2dd7b01.js');
|
|
9
|
-
const utils = require('./utils-
|
|
9
|
+
const utils = require('./utils-af1b60a9.js');
|
|
10
10
|
const config = require('./config-ff2dda66.js');
|
|
11
11
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
12
12
|
const utils$1 = require('./utils-7a478c37.js');
|
|
13
|
-
const Analytics = require('./Analytics-
|
|
13
|
+
const Analytics = require('./Analytics-c866f471.js');
|
|
14
14
|
const button = require('./button-3f400a66.js');
|
|
15
15
|
const styledHost = require('./styled-host-cc053016.js');
|
|
16
|
-
require('./package-
|
|
17
|
-
require('./Api-
|
|
16
|
+
require('./package-0c613220.js');
|
|
17
|
+
require('./Api-b98b256f.js');
|
|
18
18
|
|
|
19
19
|
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)}";
|
|
20
20
|
const JustifiPaymentFormStyle0 = paymentFormCss;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
|
-
const _package = require('./package-
|
|
7
|
-
const utils = require('./utils-
|
|
6
|
+
const _package = require('./package-0c613220.js');
|
|
7
|
+
const utils = require('./utils-af1b60a9.js');
|
|
8
8
|
|
|
9
9
|
var iframeResizer = {exports: {}};
|
|
10
10
|
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
|
-
const Analytics = require('./Analytics-
|
|
6
|
+
const Analytics = require('./Analytics-c866f471.js');
|
|
7
7
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
8
8
|
const paymentProvisioningActions = require('./payment-provisioning-actions-06466dda.js');
|
|
9
|
-
const business_service = require('./business.service-
|
|
9
|
+
const business_service = require('./business.service-65b0dbc8.js');
|
|
10
10
|
const config = require('./config-ff2dda66.js');
|
|
11
|
-
const Api = require('./Api-
|
|
12
|
-
require('./package-
|
|
11
|
+
const Api = require('./Api-b98b256f.js');
|
|
12
|
+
require('./package-0c613220.js');
|
|
13
13
|
require('./utils-7a478c37.js');
|
|
14
14
|
|
|
15
15
|
class ProvisionService {
|
|
@@ -19,7 +19,7 @@ class ProvisionService {
|
|
|
19
19
|
business_id: businessId,
|
|
20
20
|
product_category: product
|
|
21
21
|
};
|
|
22
|
-
return Api.Api({ authToken, apiOrigin: config.config.proxyApiOrigin }).post(endpoint,
|
|
22
|
+
return Api.Api({ authToken, apiOrigin: config.config.proxyApiOrigin }).post(endpoint, payload);
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
|
-
const payment_service = require('./payment.service-
|
|
6
|
+
const payment_service = require('./payment.service-33d6ac16.js');
|
|
7
7
|
require('./Pagination-0da8f095.js');
|
|
8
8
|
const Payment = require('./Payment-1a8a8ca6.js');
|
|
9
9
|
require('./Payout-a2dd7b01.js');
|
|
10
10
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
11
11
|
const utils = require('./utils-7a478c37.js');
|
|
12
12
|
const utils$1 = require('./utils-c1d2e426.js');
|
|
13
|
-
const Analytics = require('./Analytics-
|
|
14
|
-
require('./Api-
|
|
13
|
+
const Analytics = require('./Analytics-c866f471.js');
|
|
14
|
+
require('./Api-b98b256f.js');
|
|
15
15
|
require('./config-ff2dda66.js');
|
|
16
|
-
require('./package-
|
|
16
|
+
require('./package-0c613220.js');
|
|
17
17
|
|
|
18
18
|
const makeGetPayments = ({ id, authToken, service }) => async ({ params, onSuccess, onError }) => {
|
|
19
19
|
var _a, _b;
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
|
-
const getPayoutCsv = require('./get-payout-csv-
|
|
6
|
+
const getPayoutCsv = require('./get-payout-csv-b98b0651.js');
|
|
7
7
|
require('./Pagination-0da8f095.js');
|
|
8
8
|
require('./Payment-1a8a8ca6.js');
|
|
9
9
|
const Payout = require('./Payout-a2dd7b01.js');
|
|
10
10
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
11
11
|
const utils = require('./utils-7a478c37.js');
|
|
12
12
|
const utils$1 = require('./utils-c1d2e426.js');
|
|
13
|
-
const Analytics = require('./Analytics-
|
|
14
|
-
require('./Api-
|
|
13
|
+
const Analytics = require('./Analytics-c866f471.js');
|
|
14
|
+
require('./Api-b98b256f.js');
|
|
15
15
|
require('./config-ff2dda66.js');
|
|
16
|
-
require('./package-
|
|
16
|
+
require('./package-0c613220.js');
|
|
17
17
|
|
|
18
18
|
const makeGetPayoutDetails = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
|
|
19
19
|
var _a;
|
|
@@ -4,17 +4,17 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
6
|
const exportedParts = require('./exported-parts-b18c68c2.js');
|
|
7
|
-
const getPayoutCsv = require('./get-payout-csv-
|
|
7
|
+
const getPayoutCsv = require('./get-payout-csv-b98b0651.js');
|
|
8
8
|
require('./Pagination-0da8f095.js');
|
|
9
9
|
require('./Payment-1a8a8ca6.js');
|
|
10
10
|
const Payout = require('./Payout-a2dd7b01.js');
|
|
11
11
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
12
12
|
const utils = require('./utils-7a478c37.js');
|
|
13
13
|
const utils$1 = require('./utils-c1d2e426.js');
|
|
14
|
-
const Analytics = require('./Analytics-
|
|
15
|
-
require('./Api-
|
|
14
|
+
const Analytics = require('./Analytics-c866f471.js');
|
|
15
|
+
require('./Api-b98b256f.js');
|
|
16
16
|
require('./config-ff2dda66.js');
|
|
17
|
-
require('./package-
|
|
17
|
+
require('./package-0c613220.js');
|
|
18
18
|
|
|
19
19
|
const makeGetPayouts = ({ id, authToken, service }) => async ({ params, onSuccess, onError }) => {
|
|
20
20
|
var _a, _b;
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
6
|
const index_esm = require('./index.esm-52757963.js');
|
|
7
|
-
const Api = require('./Api-
|
|
7
|
+
const Api = require('./Api-b98b256f.js');
|
|
8
8
|
require('./Pagination-0da8f095.js');
|
|
9
9
|
require('./Payment-1a8a8ca6.js');
|
|
10
10
|
require('./Payout-a2dd7b01.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
|
-
const utils = require('./utils-
|
|
6
|
+
const utils = require('./utils-af1b60a9.js');
|
|
7
7
|
const insuranceState = require('./insurance-state-80e24caf.js');
|
|
8
8
|
const styledHost = require('./styled-host-cc053016.js');
|
|
9
9
|
|
|
@@ -3,24 +3,24 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
|
-
const Api = require('./Api-
|
|
6
|
+
const Api = require('./Api-b98b256f.js');
|
|
7
7
|
require('./Pagination-0da8f095.js');
|
|
8
8
|
require('./Payment-1a8a8ca6.js');
|
|
9
9
|
require('./Payout-a2dd7b01.js');
|
|
10
10
|
const config = require('./config-ff2dda66.js');
|
|
11
11
|
const utils = require('./utils-7a478c37.js');
|
|
12
12
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
13
|
-
const Analytics = require('./Analytics-
|
|
14
|
-
require('./package-
|
|
13
|
+
const Analytics = require('./Analytics-c866f471.js');
|
|
14
|
+
require('./package-0c613220.js');
|
|
15
15
|
|
|
16
16
|
class InsuranceService {
|
|
17
17
|
async fetchQuote(authToken, payload) {
|
|
18
18
|
const endpoint = 'insurance/quotes';
|
|
19
|
-
return Api.Api({ authToken, apiOrigin: config.config.proxyApiOrigin }).post(endpoint,
|
|
19
|
+
return Api.Api({ authToken, apiOrigin: config.config.proxyApiOrigin }).post(endpoint, payload);
|
|
20
20
|
}
|
|
21
21
|
async toggleCoverage(authToken, quoteId, payload) {
|
|
22
22
|
const endpoint = `insurance/quotes/${quoteId}/toggle`;
|
|
23
|
-
return Api.Api({ authToken, apiOrigin: config.config.proxyApiOrigin }).post(endpoint,
|
|
23
|
+
return Api.Api({ authToken, apiOrigin: config.config.proxyApiOrigin }).post(endpoint, payload);
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
|
-
const utils$1 = require('./utils-
|
|
6
|
+
const utils$1 = require('./utils-af1b60a9.js');
|
|
7
7
|
const utils = require('./utils-c1d2e426.js');
|
|
8
8
|
const styledHost = require('./styled-host-cc053016.js');
|
|
9
9
|
|
|
@@ -6,7 +6,7 @@ const index = require('./index-fb499e95.js');
|
|
|
6
6
|
const Pagination = require('./Pagination-0da8f095.js');
|
|
7
7
|
require('./Payment-1a8a8ca6.js');
|
|
8
8
|
require('./Payout-a2dd7b01.js');
|
|
9
|
-
const utils = require('./utils-
|
|
9
|
+
const utils = require('./utils-af1b60a9.js');
|
|
10
10
|
const exportedParts = require('./exported-parts-b18c68c2.js');
|
|
11
11
|
const styledHost = require('./styled-host-cc053016.js');
|
|
12
12
|
const tableLoadingState = require('./table-loading-state-8b406852.js');
|