@justifi/webcomponents 4.14.0 → 4.15.0
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/{Payment-eceed10f.js → Payment-24f22eca.js} +2 -1
- package/dist/cjs/{SubAccount-b3902202.js → SubAccount-f1eda5da.js} +1 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +1 -1
- package/dist/cjs/business-additional-questions-schema-e7dd7bc3.js +57 -0
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
- package/dist/cjs/{index.esm-d25bd7bf.js → index.esm-a32e1831.js} +727 -0
- package/dist/cjs/justifi-additional-questions-form-step_5.cjs.entry.js +14 -11
- package/dist/cjs/justifi-additional-questions_4.cjs.entry.js +4 -1
- package/dist/cjs/justifi-billing-form_2.cjs.entry.js +1796 -0
- package/dist/cjs/justifi-business-form.cjs.entry.js +6 -6
- package/dist/cjs/justifi-business-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +7 -3
- package/dist/cjs/justifi-checkout.cjs.entry.js +6 -2
- package/dist/cjs/justifi-new-payment-method_4.cjs.entry.js +13 -11
- package/dist/cjs/justifi-owner-form.cjs.entry.js +10 -6
- package/dist/cjs/justifi-payment-balance-transactions.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-form.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-method-selector.cjs.entry.js +1 -1
- package/dist/cjs/justifi-payments-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payout-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-proceeds-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-refund-form.cjs.entry.js +3 -4
- package/dist/cjs/justifi-subaccount-details.cjs.entry.js +3 -3
- package/dist/cjs/justifi-subaccounts-list.cjs.entry.js +3 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/payload-parsers-c2df4b29.js +95 -0
- package/dist/cjs/payment-details-core.cjs.entry.js +1 -1
- package/dist/cjs/{payment.service-019157e9.js → payment.service-35298e95.js} +1 -1
- package/dist/cjs/payments-list-core.cjs.entry.js +2 -2
- package/dist/cjs/payout-details-core.cjs.entry.js +1 -1
- package/dist/cjs/{payout.service-7203762f.js → payout.service-eec372aa.js} +1 -1
- package/dist/cjs/payouts-list-core.cjs.entry.js +2 -2
- package/dist/cjs/{payload-parsers-6c4b5323.js → schema-validations-3c70335c.js} +15 -89
- package/dist/cjs/select-input.cjs.entry.js +31 -0
- package/dist/cjs/subaccount-account-details_4.cjs.entry.js +1 -1
- package/dist/cjs/text-input.cjs.entry.js +30 -0
- package/dist/cjs/{utils-6f62f7a1.js → utils-e58fe016.js} +0 -2
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/Payment.js +2 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/billing-form/billing-form-schema.js +8 -8
- package/dist/collection/components/billing-form/billing-form.js +49 -89
- package/dist/collection/components/billing-form/test/billing-form.spec.js +2 -1
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +4 -1
- package/dist/collection/components/business-forms/owner-form/owner-form.js +5 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +4 -1
- package/dist/collection/components/business-forms/schemas/business-identity-schema.js +4 -2
- package/dist/collection/components/business-forms/schemas/schema-validations.js +5 -0
- package/dist/collection/components/checkout/checkout-core.js +74 -2
- package/dist/collection/components/checkout/checkout.js +73 -1
- package/dist/collection/components/checkout/payment-method-options.css +6 -6
- package/dist/collection/components/checkout/payment-method-options.js +42 -6
- package/dist/collection/components/checkout/{sezzel-payment-method.js → sezzle-payment-method.js} +2 -2
- package/dist/collection/components/checkout/test/checkout-core.spec.js +1 -1
- package/dist/collection/components/payment-form/payment-form.js +2 -3
- package/dist/collection/components/payment-form/payment-method-selector.js +1 -1
- package/dist/collection/components/payment-form/test/payment-form.spec.js +1 -1
- package/dist/collection/components/payment-method-form/payment-method-form.js +1 -1
- package/dist/docs.json +265 -80
- package/dist/esm/{Payment-ef9fc1ae.js → Payment-3e94da9c.js} +2 -1
- package/dist/esm/{SubAccount-f4ae9809.js → SubAccount-80d46814.js} +1 -1
- package/dist/esm/additional-questions-details_5.entry.js +1 -1
- package/dist/esm/{business-additional-questions-schema-e96b0509.js → business-additional-questions-schema-1fdc5c40.js} +2 -2
- package/dist/esm/gross-payment-chart-core.entry.js +1 -1
- package/dist/esm/{index.esm-22b47398.js → index.esm-d98bc080.js} +727 -1
- package/dist/esm/justifi-additional-questions-form-step_5.entry.js +10 -7
- package/dist/esm/justifi-additional-questions_4.entry.js +4 -1
- package/dist/esm/justifi-billing-form_2.entry.js +1791 -0
- package/dist/esm/justifi-business-form.entry.js +5 -5
- package/dist/esm/justifi-business-list.entry.js +2 -2
- package/dist/esm/justifi-checkout-core.entry.js +7 -3
- package/dist/esm/justifi-checkout.entry.js +6 -2
- package/dist/esm/justifi-new-payment-method_4.entry.js +13 -11
- package/dist/esm/justifi-owner-form.entry.js +9 -5
- package/dist/esm/justifi-payment-balance-transactions.entry.js +2 -2
- package/dist/esm/justifi-payment-details.entry.js +2 -2
- package/dist/esm/justifi-payment-form.entry.js +3 -3
- package/dist/esm/justifi-payment-method-selector.entry.js +1 -1
- package/dist/esm/justifi-payments-list.entry.js +2 -2
- package/dist/esm/justifi-payout-details.entry.js +2 -2
- package/dist/esm/justifi-payouts-list.entry.js +2 -2
- package/dist/esm/justifi-proceeds-list.entry.js +2 -2
- package/dist/esm/justifi-refund-form.entry.js +2 -3
- package/dist/esm/justifi-subaccount-details.entry.js +3 -3
- package/dist/esm/justifi-subaccounts-list.entry.js +3 -3
- package/dist/esm/loader.js +1 -1
- package/dist/esm/payload-parsers-fd35eeca.js +88 -0
- package/dist/esm/payment-details-core.entry.js +1 -1
- package/dist/esm/{payment.service-03e274d7.js → payment.service-c62d82d3.js} +1 -1
- package/dist/esm/payments-list-core.entry.js +2 -2
- package/dist/esm/payout-details-core.entry.js +1 -1
- package/dist/esm/{payout.service-9823d66d.js → payout.service-28b9594f.js} +1 -1
- package/dist/esm/payouts-list-core.entry.js +2 -2
- package/dist/esm/{payload-parsers-32028700.js → schema-validations-31feaa53.js} +7 -84
- package/dist/{module/select-input2.js → esm/select-input.entry.js} +7 -30
- package/dist/esm/subaccount-account-details_4.entry.js +1 -1
- package/dist/{module/text-input2.js → esm/text-input.entry.js} +7 -29
- package/dist/esm/{utils-243abdb4.js → utils-37533368.js} +1 -2
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Payment.js +2 -1
- package/dist/module/billing-form.js +41 -62
- package/dist/module/business-additional-questions-form-step.js +1 -1
- package/dist/module/business-additional-questions-schema.js +1 -1
- package/dist/module/business-address-schema.js +1 -1
- package/dist/module/business-core-info-form-step.js +1 -1
- package/dist/module/business-core-info-schema.js +1 -1
- package/dist/module/business-form-types.js +1 -154
- package/dist/module/business-identity-schema.js +5 -3
- package/dist/module/business-representative-form-step.js +5 -2
- package/dist/module/business-representative.js +4 -1
- package/dist/module/checkout-core.js +27 -19
- package/dist/module/identity-address-form.js +1 -1
- package/dist/module/index.esm.js +727 -1
- package/dist/module/justifi-business-details.js +1 -1
- package/dist/module/justifi-business-form.js +3 -4
- package/dist/module/justifi-checkout.js +29 -21
- package/dist/module/justifi-gross-payment-chart.js +1 -1
- package/dist/module/justifi-payment-details.js +1 -1
- package/dist/module/justifi-payment-form.js +13 -13
- package/dist/module/justifi-payment-provisioning.js +2 -2
- package/dist/module/justifi-payments-list.js +1 -1
- package/dist/module/justifi-payout-details.js +1 -1
- package/dist/module/justifi-payouts-list.js +1 -1
- package/dist/module/justifi-refund-form.js +1 -2
- package/dist/module/justifi-sezzle-payment-method.d.ts +11 -0
- package/dist/module/justifi-sezzle-payment-method.js +6 -0
- package/dist/module/legal-address-form-step.js +2 -2
- package/dist/module/legal-address-form.js +1 -1
- package/dist/module/new-payment-method.js +9 -9
- package/dist/module/owner-form.js +8 -4
- package/dist/module/payment-method-form.js +1 -1
- package/dist/module/payment-method-options.js +26 -22
- package/dist/module/schema-validations.js +159 -0
- package/dist/module/select-input.js +48 -1
- package/dist/module/{sezzel-payment-method.js → sezzle-payment-method.js} +6 -6
- package/dist/module/text-input.js +46 -1
- package/dist/module/utils2.js +1 -2
- package/dist/module/utils3.js +12 -21
- package/dist/module/utils4.js +21 -12
- package/dist/types/api/Payment.d.ts +2 -1
- package/dist/types/components/billing-form/billing-form.d.ts +8 -15
- package/dist/types/components/business-forms/business-form/business-representative/business-representative.d.ts +1 -0
- package/dist/types/components/business-forms/owner-form/owner-form.d.ts +1 -0
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.d.ts +1 -0
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +3 -1
- package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +2 -0
- package/dist/types/components/checkout/checkout-core.d.ts +4 -0
- package/dist/types/components/checkout/checkout.d.ts +4 -0
- package/dist/types/components/checkout/payment-method-options.d.ts +2 -0
- package/dist/types/components/checkout/{sezzel-payment-method.d.ts → sezzle-payment-method.d.ts} +1 -1
- package/dist/types/components.d.ts +35 -28
- package/dist/webcomponents/{p-96a86f04.entry.js → p-0603a526.entry.js} +1 -1
- package/dist/webcomponents/{p-3917edbf.entry.js → p-09a6df17.entry.js} +1 -1
- package/dist/webcomponents/{p-7da249b8.entry.js → p-1367c4c7.entry.js} +1 -1
- package/dist/webcomponents/{p-a6f170ba.entry.js → p-1f23c9d5.entry.js} +1 -1
- package/dist/webcomponents/p-21f301a0.entry.js +1 -0
- package/dist/webcomponents/p-243caf7c.entry.js +1 -0
- package/dist/webcomponents/{p-c6e207f6.entry.js → p-27ea1f3f.entry.js} +1 -1
- package/dist/webcomponents/{p-28b38699.js → p-3cd675e7.js} +1 -1
- package/dist/webcomponents/{p-c48a99b9.entry.js → p-55d37253.entry.js} +1 -1
- package/dist/webcomponents/{p-0b8c1ffc.entry.js → p-60ea8fd1.entry.js} +1 -1
- package/dist/webcomponents/p-624ed594.entry.js +1 -0
- package/dist/webcomponents/{p-598bb67c.entry.js → p-62bbcdfb.entry.js} +1 -1
- package/dist/webcomponents/p-76e74f01.js +1 -0
- package/dist/webcomponents/p-7ca334d6.entry.js +1 -0
- package/dist/webcomponents/p-7d6c67bb.js +1 -0
- package/dist/webcomponents/{p-5dac370e.entry.js → p-7ea5b11c.entry.js} +1 -1
- package/dist/webcomponents/p-83ae34bf.js +1 -0
- package/dist/webcomponents/p-84aea66c.entry.js +1 -0
- package/dist/webcomponents/{p-4824018b.entry.js → p-8960e936.entry.js} +1 -1
- package/dist/webcomponents/{p-28181471.entry.js → p-8d53f1de.entry.js} +1 -1
- package/dist/webcomponents/p-969572f2.entry.js +1 -0
- package/dist/webcomponents/{p-fce2b224.entry.js → p-9a36fca6.entry.js} +1 -1
- package/dist/webcomponents/p-a38fdda7.entry.js +1 -0
- package/dist/webcomponents/{p-1334f776.entry.js → p-adc9ae0f.entry.js} +1 -1
- package/dist/webcomponents/p-b53d7b7f.js +1 -0
- package/dist/webcomponents/p-b8d70349.entry.js +1 -0
- package/dist/webcomponents/p-b9db1c52.entry.js +1 -0
- package/dist/webcomponents/{p-edb66ae0.js → p-ca39c89f.js} +1 -1
- package/dist/webcomponents/{p-02993072.entry.js → p-d6b980a3.entry.js} +1 -1
- package/dist/webcomponents/p-dd609661.js +1 -0
- package/dist/webcomponents/{p-7c5f15f8.entry.js → p-de4ffaa1.entry.js} +1 -1
- package/dist/webcomponents/{p-9f529959.entry.js → p-e1a3a670.entry.js} +1 -1
- package/dist/webcomponents/{p-d2fcc58b.entry.js → p-e4be71ee.entry.js} +1 -1
- package/dist/webcomponents/p-e8706cc4.js +1 -0
- package/dist/webcomponents/{p-65510838.js → p-f4dec164.js} +1 -1
- package/dist/webcomponents/p-f942f90b.entry.js +1 -0
- package/dist/webcomponents/p-fea93cb9.entry.js +1 -0
- package/dist/webcomponents/{p-f76283a5.entry.js → p-fee64d38.entry.js} +1 -1
- package/dist/webcomponents/webcomponents.css +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/business-additional-questions-schema-0a35f597.js +0 -57
- package/dist/cjs/form-2ad3d374.js +0 -729
- package/dist/cjs/justifi-billing-form_4.cjs.entry.js +0 -1864
- package/dist/esm/form-5279c05a.js +0 -727
- package/dist/esm/justifi-billing-form_4.entry.js +0 -1857
- package/dist/module/form.js +0 -727
- package/dist/module/justifi-sezzel-payment-method.d.ts +0 -11
- package/dist/module/justifi-sezzel-payment-method.js +0 -6
- package/dist/webcomponents/p-02fa533c.js +0 -1
- package/dist/webcomponents/p-132ba228.js +0 -1
- package/dist/webcomponents/p-230b96df.entry.js +0 -1
- package/dist/webcomponents/p-3d2f2937.entry.js +0 -1
- package/dist/webcomponents/p-3da23f21.js +0 -1
- package/dist/webcomponents/p-617caf03.entry.js +0 -1
- package/dist/webcomponents/p-64710363.entry.js +0 -1
- package/dist/webcomponents/p-70d43109.entry.js +0 -1
- package/dist/webcomponents/p-9b4b91ba.js +0 -1
- package/dist/webcomponents/p-ade12f56.js +0 -1
- package/dist/webcomponents/p-c1be3378.entry.js +0 -1
- package/dist/webcomponents/p-c211d068.js +0 -1
- package/dist/webcomponents/p-c3d5f7de.entry.js +0 -1
- package/dist/webcomponents/p-d57f5f01.entry.js +0 -1
- package/dist/webcomponents/p-f5ae07c4.entry.js +0 -1
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5d5f2219.js');
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const payloadParsers = require('./payload-parsers-6c4b5323.js');
|
|
6
|
+
const index_esm = require('./index.esm-a32e1831.js');
|
|
7
|
+
const businessAdditionalQuestionsSchema = require('./business-additional-questions-schema-e7dd7bc3.js');
|
|
8
|
+
const payloadParsers = require('./payload-parsers-c2df4b29.js');
|
|
10
9
|
const Api = require('./Api-3bc6e43f.js');
|
|
11
10
|
require('./Pagination-0da8f095.js');
|
|
12
|
-
require('./Payment-
|
|
11
|
+
require('./Payment-24f22eca.js');
|
|
13
12
|
require('./Payout-a2dd7b01.js');
|
|
14
13
|
const config = require('./config-ff2dda66.js');
|
|
15
14
|
const utils = require('./utils-fc72268d.js');
|
|
16
15
|
const businessFormTypes = require('./business-form-types-29b2bad9.js');
|
|
17
16
|
const Business = require('./Business-32a53780.js');
|
|
17
|
+
require('./schema-validations-3c70335c.js');
|
|
18
18
|
require('./state-options-4fbcb48a.js');
|
|
19
19
|
require('./business-form-options-43366c9a.js');
|
|
20
20
|
|
|
@@ -97,7 +97,7 @@ const BusinessForm = class {
|
|
|
97
97
|
console.error(missingAuthTokenMessage);
|
|
98
98
|
if (!this.businessId)
|
|
99
99
|
console.error(missingBusinessIdMessage);
|
|
100
|
-
this.formController = new
|
|
100
|
+
this.formController = new index_esm.FormController(businessFormSchema);
|
|
101
101
|
this.api = Api.Api({ authToken: this.authToken, apiOrigin: config.config.proxyApiOrigin });
|
|
102
102
|
this.fetchData();
|
|
103
103
|
}
|
|
@@ -5,10 +5,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-5d5f2219.js');
|
|
6
6
|
const Api = require('./Api-3bc6e43f.js');
|
|
7
7
|
const Pagination = require('./Pagination-0da8f095.js');
|
|
8
|
-
require('./Payment-
|
|
8
|
+
require('./Payment-24f22eca.js');
|
|
9
9
|
require('./Payout-a2dd7b01.js');
|
|
10
10
|
const Business = require('./Business-32a53780.js');
|
|
11
|
-
const utils = require('./utils-
|
|
11
|
+
const utils = require('./utils-e58fe016.js');
|
|
12
12
|
const config = require('./config-ff2dda66.js');
|
|
13
13
|
require('./state-options-4fbcb48a.js');
|
|
14
14
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5d5f2219.js');
|
|
6
|
-
const utils = require('./utils-
|
|
6
|
+
const utils = require('./utils-e58fe016.js');
|
|
7
7
|
const config = require('./config-ff2dda66.js');
|
|
8
8
|
const ComponentError = require('./ComponentError-8ba0c0e7.js');
|
|
9
9
|
|
|
@@ -38,6 +38,10 @@ const CheckoutCore = class {
|
|
|
38
38
|
this.getCheckout = undefined;
|
|
39
39
|
this.complete = undefined;
|
|
40
40
|
this.checkoutId = undefined;
|
|
41
|
+
this.disableCreditCard = undefined;
|
|
42
|
+
this.disableBankAccount = undefined;
|
|
43
|
+
this.disableBnpl = undefined;
|
|
44
|
+
this.disablePaymentMethodGroup = undefined;
|
|
41
45
|
this.hasLoadedFonts = false;
|
|
42
46
|
this.isLoading = false;
|
|
43
47
|
this.checkout = undefined;
|
|
@@ -116,8 +120,8 @@ const CheckoutCore = class {
|
|
|
116
120
|
}
|
|
117
121
|
}
|
|
118
122
|
render() {
|
|
119
|
-
var _a, _b, _c, _d, _e, _f
|
|
120
|
-
return (index.h(index.Host, null, index.h("div", { class: "row gy-3 jfi-checkout-core" }, index.h("div", { class: "col-12 mb-4" }, index.h("h2", { class: "fs-5 fw-bold pb-3 jfi-header" }, "Summary"), this.checkout && (index.h("div", null, index.h("div", { class: "jfi-payment-description" }, (_a = this.checkout) === null || _a === void 0 ? void 0 : _a.payment_description), index.h("div", { class: "jfi-payment-total" }, index.h("span", { class: "jfi-payment-total-label" }, "Total"), "\u00A0", index.h("span", { class: "jfi-payment-total-amount" }, utils.formatCurrency(+this.checkout.payment_amount)))))), index.h("div", { class: "col-12" }, index.h("h2", { class: "fs-5 fw-bold pb-3 jfi-header" }, "Payment"), index.h("h3", { class: "fs-6 fw-bold lh-lg" }, "Select payment type"), index.h("div", { class: "d-flex flex-column" }, index.h("justifi-payment-method-options", { ref: (el) => (this.paymentMethodOptionsRef = el), "show-card":
|
|
123
|
+
var _a, _b, _c, _d, _e, _f;
|
|
124
|
+
return (index.h(index.Host, null, index.h("div", { class: "row gy-3 jfi-checkout-core" }, index.h("div", { class: "col-12 mb-4" }, index.h("h2", { class: "fs-5 fw-bold pb-3 jfi-header" }, "Summary"), this.checkout && (index.h("div", null, index.h("div", { class: "jfi-payment-description" }, (_a = this.checkout) === null || _a === void 0 ? void 0 : _a.payment_description), index.h("div", { class: "jfi-payment-total" }, index.h("span", { class: "jfi-payment-total-label" }, "Total"), "\u00A0", index.h("span", { class: "jfi-payment-total-amount" }, utils.formatCurrency(+this.checkout.payment_amount)))))), index.h("div", { class: "col-12" }, index.h("h2", { class: "fs-5 fw-bold pb-3 jfi-header" }, "Payment"), index.h("h3", { class: "fs-6 fw-bold lh-lg" }, "Select payment type"), index.h("div", { class: "d-flex flex-column" }, index.h("justifi-payment-method-options", { ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": !this.disableBnpl, "show-saved-payment-methods": !this.disablePaymentMethodGroup, bnpl: (_b = this.checkout) === null || _b === void 0 ? void 0 : _b.bnpl, "client-id": (_c = this.checkout) === null || _c === void 0 ? void 0 : _c.payment_client_id, "account-id": (_d = this.checkout) === null || _d === void 0 ? void 0 : _d.account_id, savedPaymentMethods: ((_e = this.checkout) === null || _e === void 0 ? void 0 : _e.payment_methods) || [], paymentAmount: (_f = this.checkout) === null || _f === void 0 ? void 0 : _f.payment_amount }))), index.h("div", { class: "col-12" }, index.h("div", { class: "d-flex justify-content-end" }, index.h("button", { type: "submit", onClick: event => this.submit(event), disabled: this.isLoading, part: "pay-button", class: `btn btn-primary jfi-submit-button ${this.isLoading ? 'jfi-submit-button-loading' : ''}` }, this.isLoading ? this.loadingSpinner : 'Pay'))))));
|
|
121
125
|
}
|
|
122
126
|
};
|
|
123
127
|
CheckoutCore.style = checkoutCoreCss;
|
|
@@ -7,7 +7,7 @@ const ComponentError = require('./ComponentError-8ba0c0e7.js');
|
|
|
7
7
|
const utils = require('./utils-491248ca.js');
|
|
8
8
|
const Api = require('./Api-3bc6e43f.js');
|
|
9
9
|
require('./Pagination-0da8f095.js');
|
|
10
|
-
require('./Payment-
|
|
10
|
+
require('./Payment-24f22eca.js');
|
|
11
11
|
require('./Payout-a2dd7b01.js');
|
|
12
12
|
const config = require('./config-ff2dda66.js');
|
|
13
13
|
|
|
@@ -89,6 +89,10 @@ const Checkout = class {
|
|
|
89
89
|
this.iframeOrigin = undefined;
|
|
90
90
|
this.authToken = undefined;
|
|
91
91
|
this.checkoutId = undefined;
|
|
92
|
+
this.disableCreditCard = undefined;
|
|
93
|
+
this.disableBankAccount = undefined;
|
|
94
|
+
this.disableBnpl = undefined;
|
|
95
|
+
this.disablePaymentMethodGroup = undefined;
|
|
92
96
|
this.getCheckout = undefined;
|
|
93
97
|
this.complete = undefined;
|
|
94
98
|
this.errorMessage = '';
|
|
@@ -121,7 +125,7 @@ const Checkout = class {
|
|
|
121
125
|
this.initializeGetCheckout();
|
|
122
126
|
}
|
|
123
127
|
render() {
|
|
124
|
-
return (index.h("justifi-checkout-core", { getCheckout: this.getCheckout, complete: this.complete }));
|
|
128
|
+
return (index.h("justifi-checkout-core", { getCheckout: this.getCheckout, complete: this.complete, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, disableBnpl: this.disableBnpl, disablePaymentMethodGroup: this.disablePaymentMethodGroup }));
|
|
125
129
|
}
|
|
126
130
|
static get watchers() { return {
|
|
127
131
|
"authToken": ["propChanged"],
|