@justifi/webcomponents 6.12.1 → 6.12.3
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-BhduX1FR.js → Analytics-DcqsdFaD.js} +2 -2
- package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
- package/dist/cjs/card-form.cjs.entry.js +2 -2
- package/dist/cjs/{check-pkg-version-Bd2yxoh4.js → check-pkg-version-DFTQGZz1.js} +1 -1
- package/dist/cjs/{get-business-CKC1P4Qs.js → get-business-TFzhaBXn.js} +4 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +1 -1
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +8 -8
- package/dist/cjs/justifi-apple-pay_11.cjs.entry.js +74 -36
- package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +3 -3
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +3 -3
- package/dist/cjs/justifi-business-details.cjs.entry.js +4 -4
- package/dist/cjs/justifi-business-form.cjs.entry.js +3 -3
- package/dist/cjs/justifi-card-form.cjs.entry.js +3 -3
- package/dist/cjs/justifi-checkout.cjs.entry.js +5 -6
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +4 -4
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +7 -7
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +3 -3
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +8 -7
- package/dist/cjs/justifi-payment-details.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +6 -4
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payments-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payout-details.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +3 -3
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +3 -3
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +3 -3
- package/dist/cjs/{package-CjFkmEML.js → package-bM0MyhTf.js} +1 -1
- package/dist/collection/actions/business/get-business.js +4 -1
- package/dist/collection/api/Analytics.js +1 -1
- package/dist/collection/collection-manifest.json +6 -6
- package/dist/collection/components/business-forms/payment-provisioning/justifi-payment-provisioning.js +3 -1
- package/dist/collection/components/checkout/justifi-checkout.js +2 -3
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/justifi-additional-statement.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/justifi-cancellation-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/justifi-customer-details.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/justifi-dispute-response.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/justifi-duplicate-charge.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/justifi-electronic-evidence.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/justifi-product-or-service.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/justifi-refund-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/justifi-shipping-details.js +1 -1
- package/dist/collection/components/dispute-management/justifi-dispute-management.js +1 -1
- package/dist/collection/components/dispute-management/justifi-dispute-notification.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/justifi-apple-pay.js +34 -14
- package/dist/collection/components/modular-checkout/sub-components/justifi-google-pay.js +4 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-plaid-payment-method.js +27 -14
- package/dist/collection/components/modular-checkout/sub-components/justifi-saved-payment-methods.js +7 -5
- package/dist/collection/components/order-terminals/justifi-order-terminals.js +4 -3
- package/dist/docs.json +6 -6
- package/dist/esm/{Analytics-4PEV3c9V.js → Analytics-Cyc3ZLPx.js} +2 -2
- package/dist/esm/bank-account-form.entry.js +2 -2
- package/dist/esm/card-form.entry.js +2 -2
- package/dist/esm/{check-pkg-version-BmgaID9z.js → check-pkg-version-6iGDh82c.js} +1 -1
- package/dist/esm/{get-business-DpFRs5dE.js → get-business-DIpEbczl.js} +4 -1
- package/dist/esm/hidden-input_2.entry.js +1 -1
- package/dist/esm/justifi-additional-statement_8.entry.js +8 -8
- package/dist/esm/justifi-apple-pay_11.entry.js +75 -37
- package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +3 -3
- package/dist/esm/justifi-bank-account-form.entry.js +3 -3
- package/dist/esm/justifi-business-details.entry.js +4 -4
- package/dist/esm/justifi-business-form.entry.js +3 -3
- package/dist/esm/justifi-card-form.entry.js +3 -3
- package/dist/esm/justifi-checkout.entry.js +5 -6
- package/dist/esm/justifi-checkouts-list.entry.js +3 -3
- package/dist/esm/justifi-dispute-management.entry.js +4 -4
- package/dist/esm/justifi-dispute-notification_3.entry.js +7 -7
- package/dist/esm/justifi-gross-payment-chart.entry.js +3 -3
- package/dist/esm/justifi-order-terminals.entry.js +8 -7
- package/dist/esm/justifi-payment-details.entry.js +3 -3
- package/dist/esm/justifi-payment-provisioning.entry.js +6 -4
- package/dist/esm/justifi-payment-transactions-list.entry.js +3 -3
- package/dist/esm/justifi-payments-list.entry.js +3 -3
- package/dist/esm/justifi-payout-details.entry.js +3 -3
- package/dist/esm/justifi-payout-transactions-list.entry.js +3 -3
- package/dist/esm/justifi-payouts-list.entry.js +3 -3
- package/dist/esm/justifi-refund-payment.entry.js +3 -3
- package/dist/esm/justifi-season-interruption-insurance.entry.js +3 -3
- package/dist/esm/justifi-terminal-orders-list.entry.js +3 -3
- package/dist/esm/justifi-terminals-list.entry.js +3 -3
- package/dist/esm/{package-CXKOe1m5.js → package-beXEDfB9.js} +1 -1
- package/dist/module/Analytics.js +1 -1
- package/dist/module/dispute-response-core.js +1 -1
- package/dist/module/get-business.js +4 -1
- package/dist/module/justifi-additional-statement2.js +1 -1
- package/dist/module/justifi-apple-pay2.js +34 -14
- package/dist/module/justifi-cancellation-policy2.js +1 -1
- package/dist/module/justifi-checkout.js +2 -3
- package/dist/module/justifi-customer-details2.js +1 -1
- package/dist/module/justifi-dispute-management.js +1 -1
- package/dist/module/justifi-dispute-notification2.js +2 -2
- package/dist/module/justifi-dispute-response2.js +1 -1
- package/dist/module/justifi-duplicate-charge2.js +1 -1
- package/dist/module/justifi-electronic-evidence2.js +1 -1
- package/dist/module/justifi-google-pay2.js +4 -1
- package/dist/module/justifi-order-terminals.js +4 -3
- package/dist/module/justifi-payment-provisioning.js +3 -1
- package/dist/module/justifi-plaid-payment-method2.js +27 -14
- package/dist/module/justifi-product-or-service2.js +1 -1
- package/dist/module/justifi-refund-policy2.js +1 -1
- package/dist/module/justifi-saved-payment-methods2.js +7 -5
- package/dist/module/justifi-shipping-details2.js +1 -1
- package/dist/module/package.js +1 -1
- package/dist/types/actions/business/get-business.d.ts +2 -1
- package/dist/types/components/business-forms/payment-provisioning/justifi-payment-provisioning.d.ts +1 -1
- package/dist/types/components/modular-checkout/sub-components/justifi-apple-pay.d.ts +3 -0
- package/dist/types/components/modular-checkout/sub-components/justifi-plaid-payment-method.d.ts +2 -2
- package/dist/webcomponents/{p-647668b6.entry.js → p-1c4f5f1d.entry.js} +1 -1
- package/dist/webcomponents/{p-f4b390bc.entry.js → p-1e8135f0.entry.js} +1 -1
- package/dist/webcomponents/{p-017edf85.entry.js → p-2a755daf.entry.js} +1 -1
- package/dist/webcomponents/{p-0e9cb724.entry.js → p-31e74a5a.entry.js} +1 -1
- package/dist/webcomponents/{p-2b25c768.entry.js → p-3488951f.entry.js} +1 -1
- package/dist/webcomponents/p-437a99dc.entry.js +1 -0
- package/dist/webcomponents/p-49c0cd3a.entry.js +1 -0
- package/dist/webcomponents/p-4d21df48.entry.js +1 -0
- package/dist/webcomponents/p-50f5e313.entry.js +1 -0
- package/dist/webcomponents/{p-06e88d51.entry.js → p-5ef854e0.entry.js} +1 -1
- package/dist/webcomponents/{p-cd267d76.entry.js → p-67498c25.entry.js} +1 -1
- package/dist/webcomponents/{p-61ebdd8b.entry.js → p-6f0c582a.entry.js} +1 -1
- package/dist/webcomponents/{p-f481695c.entry.js → p-94306884.entry.js} +1 -1
- package/dist/webcomponents/{p-b76b743e.entry.js → p-9937e2e7.entry.js} +1 -1
- package/dist/webcomponents/{p-b6d59ff4.entry.js → p-9dca1331.entry.js} +1 -1
- package/dist/webcomponents/{p-GP5gWjhc.js → p-DgH-jcIo.js} +1 -1
- package/dist/webcomponents/p-a75d76ff.entry.js +1 -0
- package/dist/webcomponents/p-a7778957.entry.js +1 -0
- package/dist/webcomponents/p-a9d7cdae.entry.js +1 -0
- package/dist/webcomponents/p-b060a9c9.entry.js +1 -0
- package/dist/webcomponents/p-bdf21f71.entry.js +1 -0
- package/dist/webcomponents/{p-259ea5e0.entry.js → p-be5d1005.entry.js} +1 -1
- package/dist/webcomponents/p-beXEDfB9.js +1 -0
- package/dist/webcomponents/{p-d3829e18.entry.js → p-c09fccd3.entry.js} +1 -1
- package/dist/webcomponents/p-c827cbc9.entry.js +1 -0
- package/dist/webcomponents/{p-1e080e95.entry.js → p-c9e1df15.entry.js} +1 -1
- package/dist/webcomponents/p-cc5b7c27.entry.js +1 -0
- package/dist/webcomponents/{p-1e66d430.entry.js → p-e0b3735f.entry.js} +1 -1
- package/dist/webcomponents/p-ef89824b.entry.js +1 -0
- package/dist/webcomponents/p-qrNmDp6K.js +1 -0
- package/dist/webcomponents/{p-cXPhRFs-.js → p-zi3ljCdQ.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/webcomponents/p-11faee45.entry.js +0 -1
- package/dist/webcomponents/p-238163d8.entry.js +0 -1
- package/dist/webcomponents/p-4f57368a.entry.js +0 -1
- package/dist/webcomponents/p-608a41d2.entry.js +0 -1
- package/dist/webcomponents/p-6ecb3ef9.entry.js +0 -1
- package/dist/webcomponents/p-87a4b33f.entry.js +0 -1
- package/dist/webcomponents/p-9870fff0.entry.js +0 -1
- package/dist/webcomponents/p-CXKOe1m5.js +0 -1
- package/dist/webcomponents/p-GJyHX3us.js +0 -1
- package/dist/webcomponents/p-b8c59954.entry.js +0 -1
- package/dist/webcomponents/p-cf31ccdd.entry.js +0 -1
- package/dist/webcomponents/p-d58a330d.entry.js +0 -1
- package/dist/webcomponents/p-ed580b3c.entry.js +0 -1
- package/dist/webcomponents/p-f91c49a2.entry.js +0 -1
|
@@ -98,7 +98,7 @@ const JustifiAdditionalStatement = class {
|
|
|
98
98
|
}
|
|
99
99
|
render() {
|
|
100
100
|
var _a, _b;
|
|
101
|
-
return (h("div", { key: '
|
|
101
|
+
return (h("div", { key: '97175b1ff6bee9154ec66df8710c7343cdd9a2dd' }, h("div", { key: 'f36de20ce5e724780550bcb0eaa4512b5d1559ef', class: "row gy-3" }, h("div", { key: 'bf5002c5e8b8c3f516fa8cad1f42e7b7ca9e55f9', class: "col-12" }, h("h2", { key: '64f6517d1029463cfe07c435f6b4a1cdca95f097', class: "h5", part: heading5 }, "Additional Evidence")), h("div", { key: '81ced6dd86b41293b6692d3023fbe5e9e11cc392', class: "col-12" }, h("form-control-textarea", { key: 'd5f28108a9dbea3e0f2634b1cd96316a9f986c90', label: "Is there anything else you would like to say about this dispute?", name: "additional_statement", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.additional_statement, inputHandler: this.inputHandler, errorText: this.errors.additional_statement })), h("div", { key: '19d8047c4fc03376f77f5331f2fcfea6cd20e2b9', class: "col-12" }, h("form-control-file-v2", { key: '871bc06d4f7b5e3d56dd73ddfc9a8061d701f501', label: "Additional files", name: "uncategorized_file", multiple: true, helpText: "Upload any additional pieces of evidence that have not already been provided.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.uncategorized_file })))));
|
|
102
102
|
}
|
|
103
103
|
};
|
|
104
104
|
|
|
@@ -132,7 +132,7 @@ const JustifiCancellationPolicy = class {
|
|
|
132
132
|
}
|
|
133
133
|
render() {
|
|
134
134
|
var _a, _b, _c;
|
|
135
|
-
return (h("div", { key: '
|
|
135
|
+
return (h("div", { key: 'f5f98ed91abdb767d3f48efaa9d69a5445d6a5bf' }, h("div", { key: 'b7a2539c1c5971267eb469fb0011508e5c3aa163', class: "row gy-3" }, h("div", { key: '82666927fa4daccb9ea2ad511e445201d216775e', class: "col-12" }, h("h2", { key: '7cf97383cee9cd3c5c95cc20374826b7f0d0ebe3', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: '8a4691ee688de45f97dd624310ca5fc39cf20db2', class: "col-12" }, h("form-control-textarea", { key: '27ce967696f3f89c8b91d5892f7dfffefacd8536', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.cancellation_policy_disclosure, inputHandler: this.inputHandler, errorText: this.errors.cancellation_policy_disclosure })), h("div", { key: '12a25c0dc23b528b412e1b19fd9b7071967fd411', class: "col-12" }, h("form-control-textarea", { key: '81ceef5f5b94ad31eb1cd36991a13e099b13725c', label: "Cancellation Rebuttal", name: "cancellation_rebuttal", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.cancellation_rebuttal, inputHandler: this.inputHandler, errorText: this.errors.cancellation_rebuttal })), h("div", { key: '9afbe3a16b1da50afea763c66e4ee0b5b388b137', class: "col-12" }, h("form-control-file-v2", { key: '9a613e293af4d48354859bfd2329afce152a5f89', label: "Upload Cancellation Policy", name: "cancellation_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.cancellation_policy })))));
|
|
136
136
|
}
|
|
137
137
|
};
|
|
138
138
|
|
|
@@ -167,7 +167,7 @@ const JustifiCustomerDetails = class {
|
|
|
167
167
|
}
|
|
168
168
|
render() {
|
|
169
169
|
var _a, _b, _c, _d, _e;
|
|
170
|
-
return (h("div", { key: '
|
|
170
|
+
return (h("div", { key: '8bc10877cfabb168cd717d463a1ae252809275f5' }, h("div", { key: '12dc083ba94dfbb7b20671c636a0be03f3b67070', class: "row gy-3" }, h("div", { key: '429c91062e19b12711baa35d14b1337f8fbfc9d6', class: "col-12" }, h("h2", { key: '406723145d3bdbaa52b2897a5dc4347be34e7eea', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: '40d5e8bd7c2b1fe8786c38fc2b7a3789278f3497', class: "col-12" }, h("form-control-text", { key: 'ade5ccaf5a45ba5f3f81c68196bfc7879da03315', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), h("div", { key: 'baf8a129aa64d4507bce0d1f9ed7077f0911715e', class: "col-12" }, h("form-control-text", { key: '786f84b55ffec13cc937dff50e587e28865c7114', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), h("div", { key: '2805d754316314934648955b34e8c6da5f709192', class: "col-12" }, h("form-control-textarea", { key: '95a7a8a9d1d9ea70478021110808545c0730ffec', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), h("div", { key: '78fa90926cc11695379a95dde849cfb28cf829f5', class: "col-12" }, h("form-control-file-v2", { key: '984ab42f7742afcb0b74ccf65f313ead0542f75d', label: "Customer Signature", name: "customer_signature", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.customer_signature })), h("div", { key: 'de0bf546a3e767ec1e362446f14edea449643b2b', class: "col-12" }, h("form-control-file-v2", { key: '4124feba010476d48ab052142b7fb962d1550934', label: "Customer Communication", name: "customer_communication", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.customer_communication })))));
|
|
171
171
|
}
|
|
172
172
|
};
|
|
173
173
|
|
|
@@ -201,7 +201,7 @@ const JustifiDuplicateCharge = class {
|
|
|
201
201
|
}
|
|
202
202
|
render() {
|
|
203
203
|
var _a, _b, _c;
|
|
204
|
-
return (h("div", { key: '
|
|
204
|
+
return (h("div", { key: 'a34d10b642c601ff1a2e6109bdad5550afef0dc7' }, h("div", { key: '65dfe9ecb13d4038fbceb5b3f88313e473ad0f2f', class: "row gy-3" }, h("div", { key: '5ec12191f9e56396ff1e67b53dcdfecdca8f21e9', class: "col-12" }, h("h2", { key: 'b5bf89077f1ae3dcbb6c37e28b2728a0c88ed1b4', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: '52cdf5962d03f1724dc610a4525a4bf09a68fe4e', class: "col-12" }, h("form-control-text", { key: '785cc51d4491326c3e7555404e47726cb6f6f0ea', label: "Original Payment ID", name: "duplicate_charge_original_payment_id", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.duplicate_charge_original_payment_id, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_original_payment_id })), h("div", { key: 'c3142d3b716cb3a191d930a5961d8361e4ef6204', class: "col-12" }, h("form-control-textarea", { key: 'd6cd675e958cd0685a89812891c599393a309fef', label: "Duplicate Charge Explanation", name: "duplicate_charge_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.duplicate_charge_explanation, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_explanation })), h("div", { key: 'e805678d04d01f4763ee663590e89e96be9fcfb4', class: "col-12" }, h("form-control-file-v2", { key: 'c83c4e91ebba42be4a6e640aa73186f6b461c42f', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.duplicate_charge_documentation })))));
|
|
205
205
|
}
|
|
206
206
|
};
|
|
207
207
|
|
|
@@ -234,7 +234,7 @@ const JustifiElectronicEvidence = class {
|
|
|
234
234
|
}
|
|
235
235
|
render() {
|
|
236
236
|
var _a, _b;
|
|
237
|
-
return (h("div", { key: '
|
|
237
|
+
return (h("div", { key: '3b0122e517065a72f2d7b8411d75067db093e284' }, h("div", { key: '3f6b7c42a8e6419a4890ae29c41afd98ecdd8f11', class: "row gy-3" }, h("div", { key: 'f807c043be7f75e7f9befd24cb80fd93f56678d5', class: "col-12" }, h("h2", { key: '3c4315f405ab5cead5eebe48975f26e9d93e0d84', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: 'd84fa8fcc504137031181fdb1974f50d1bc49ef8', class: "col-12" }, h("form-control-text", { key: 'db3862f6a1ebd5afcf5e1ff2943de3d977e56bbe', label: "Purchase IP Address", name: "customer_purchase_ip_address", helpText: "The IP address used by the customer during the purchase.", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_purchase_ip_address, inputHandler: this.inputHandler, errorText: this.errors.customer_purchase_ip_address })), h("div", { key: '4e882539af79b200962740ae5645df663c82bde9', class: "col-12" }, h("form-control-file-v2", { key: '2be5e0f0d1ad5b47d41fabb1f2fe25397e7cc69f', label: "Activity Logs", name: "activity_log", helpText: "Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.activity_log })))));
|
|
238
238
|
}
|
|
239
239
|
};
|
|
240
240
|
|
|
@@ -268,7 +268,7 @@ const JustifiProductOrService = class {
|
|
|
268
268
|
}
|
|
269
269
|
render() {
|
|
270
270
|
var _a, _b, _c;
|
|
271
|
-
return (h("div", { key: '
|
|
271
|
+
return (h("div", { key: '4587b32b05500749ada539467d8eb2409d0180bd' }, h("div", { key: 'b6696b8324fff8752b227ae3ba41a13ba1ac9063', class: "row gy-3" }, h("div", { key: '013ea18c3848964f098d18c13caf3dde4670093a', class: "col-12" }, h("h2", { key: '6329d4950881a7856b8b47c9e047c8d25e48aaac', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: 'c30067cffb73b64e57ee0189ef53ef04337a8cf3', class: "col-12" }, h("form-control-text", { key: '23060ee222508fe8ef1e4063bd19a95cb4fab288', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), h("div", { key: '05902305859cbbfa5572fdc2303ef27c4533cbda', class: "col-12" }, h("form-control-date", { key: 'cc4ca8d15ab2d04863323fdb73f4f3cde363b61d', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), h("div", { key: 'a0986336639e8ff22cfa7fd10eb761fa5159e8e7', class: "col-12" }, h("form-control-file-v2", { key: '352467c92329bbf22535a38ee4c2a14d9a9110c6', label: "Service Documentation", name: "service_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.service_documentation })))));
|
|
272
272
|
}
|
|
273
273
|
};
|
|
274
274
|
|
|
@@ -302,7 +302,7 @@ const JustifiRefundPolicy = class {
|
|
|
302
302
|
}
|
|
303
303
|
render() {
|
|
304
304
|
var _a, _b, _c, _d;
|
|
305
|
-
return (h("div", { key: '
|
|
305
|
+
return (h("div", { key: 'e59738a3425e348d989077da9353aa12293cea2f' }, h("div", { key: '32365305802a0584b959e04268796b21ca73fe21', class: "row gy-3" }, h("div", { key: 'ab46282525e6afb9b4db2f82ea6a716e1bd32649', class: "col-12" }, h("h2", { key: 'b1c9fbfccf63eee921a734e0e82cc868ddfb6652', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: '1287269e5c352018fd289c64e876b985137c36c8', class: "col-12" }, h("form-control-textarea", { key: '217292c1ea3a92c3a1cfb68c6d1cbe5b4c532262', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), h("div", { key: '7b54f191e06110c1c186ae316558d7617bd3fc93', class: "col-12" }, h("form-control-textarea", { key: 'ec77cd98d1c77c88e74655b430f89bb2e79bb125', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), h("div", { key: '68971eb2d792f9f733e68b6e9bcab8965cc51412', class: "col-12" }, h("form-control-file-v2", { key: '991ef9fa96a95a52caf72b723d854f17d2c76a0c', label: "Upload Refund Policy", name: "refund_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.refund_policy })), h("div", { key: '22528492e08a56f5b72ad11ef754d1a46884093f', class: "col-12" }, h("form-control-file-v2", { key: '4ea877eeef562dd232bdf5d1359d54cc4e030365', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
|
|
306
306
|
}
|
|
307
307
|
};
|
|
308
308
|
|
|
@@ -339,7 +339,7 @@ const JustifiShippingDetails = class {
|
|
|
339
339
|
}
|
|
340
340
|
render() {
|
|
341
341
|
var _a, _b, _c, _d, _e;
|
|
342
|
-
return (h("div", { key: '
|
|
342
|
+
return (h("div", { key: '66ab4f496a037d4724fcc127803d2fd4c72ad2a8' }, h("div", { key: 'a650a56e124ecc55aaa383a32e27cad862801d01', class: "row gy-3" }, h("div", { key: 'aedaacba104b8540eedafcbc8f7c776fa99ab387', class: "col-12" }, h("h2", { key: 'b4e2dc10ef6cbdab47143f2cc64a484050bfc416', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: '7110551e0ecf98b149f008eb7105235b8d601454', class: "col-12" }, h("form-control-text", { key: '2c17294567ff47b181c8d11cfda7651671adac92', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), h("div", { key: '031476a2435c80b8ae27fb50303f14797d84a801', class: "col-12" }, h("form-control-text", { key: '67441fbba00af48235867763561cf8adf66b9e69', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), h("div", { key: '1fcc1bf129d3ec577f4f36a2801422044ec0a59e', class: "col-12" }, h("form-control-date", { key: 'aa0464427d083dceba8e1604e045c707366d6046', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), h("div", { key: 'f61850943df4c9d6605cde9d86b2e8275ced0af4', class: "col-12" }, h("form-control-textarea", { key: 'a1d4997810348a93f26a9f4932890ffd911ea062', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), h("div", { key: '9dd41ee3436d63e0c89318129e811630e4aad75d', class: "col-12" }, h("form-control-file-v2", { key: 'fe1879caad49f44f1abd312a3925a20e6bdc11bf', label: "Shipping Documentation", name: "shipping_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.shipping_documentation })))));
|
|
343
343
|
}
|
|
344
344
|
};
|
|
345
345
|
|
|
@@ -4,15 +4,15 @@ import { A as ApplePayConfig, o as ApplePayHelpers, p as ApplePayPaymentRequest,
|
|
|
4
4
|
import { S as StyledHost } from './styled-host-D6byRazK.js';
|
|
5
5
|
import './event-types-CZfYo5-1.js';
|
|
6
6
|
import { S as Skeleton } from './skeleton-CXGFVqDf.js';
|
|
7
|
-
import { c as checkoutStore, a as onAnyChange, g as getAvailablePaymentMethodTypes, b as getCheckoutState
|
|
7
|
+
import { c as checkoutStore, o as onChange, a as onAnyChange, g as getAvailablePaymentMethodTypes, b as getCheckoutState } from './checkout.store-DFnkcDZ8.js';
|
|
8
8
|
import { t as text, r as radioListItem } from './parts-DnrawQn3.js';
|
|
9
9
|
import { f as formatCurrency } from './utils-BTtxWI2r.js';
|
|
10
10
|
import { w as waitForConfig, c as configState } from './config-state-kKn89dp1.js';
|
|
11
11
|
import { H as Header1 } from './header-1-Bl7MHW0w.js';
|
|
12
12
|
import { H as Header2, b as insuranceValuesOn, h as hasInsuranceValueChanged, i as insuranceValues } from './insurance-state-qTdpe84i.js';
|
|
13
13
|
import { H as Header3 } from './header-3-C7JJVnMG.js';
|
|
14
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
15
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
14
|
+
import { J as JustifiAnalytics } from './Analytics-Cyc3ZLPx.js';
|
|
15
|
+
import { c as checkPkgVersion } from './check-pkg-version-6iGDh82c.js';
|
|
16
16
|
import './dinero-HXpYMWUU.js';
|
|
17
17
|
import './Pagination-CLHwhyvu.js';
|
|
18
18
|
import './Business-BcNb9bVO.js';
|
|
@@ -23,7 +23,7 @@ import { P as PlaidService } from './plaid.service-BLguQHs_.js';
|
|
|
23
23
|
import { P as PAYMENT_METHODS, a as PaymentMethod, b as PAYMENT_MODE } from './index-DkoufM1t.js';
|
|
24
24
|
import { C as CardBrandLabels } from './payment-method-option-utils-lUHAQVFl.js';
|
|
25
25
|
import './index-cDVGjRkU.js';
|
|
26
|
-
import './package-
|
|
26
|
+
import './package-beXEDfB9.js';
|
|
27
27
|
|
|
28
28
|
const JustifiRadioListItem = class {
|
|
29
29
|
constructor(hostRef) {
|
|
@@ -537,6 +537,7 @@ const JustifiApplePay = class {
|
|
|
537
537
|
this.applePayCompleted = createEvent(this, "applePayCompleted", 7);
|
|
538
538
|
this.applePayCancelled = createEvent(this, "applePayCancelled", 7);
|
|
539
539
|
this.applePayError = createEvent(this, "applePayError", 7);
|
|
540
|
+
this.sdkLoaded = false;
|
|
540
541
|
this.countryCode = "US";
|
|
541
542
|
this.merchantIdentifier = "merchant.com.staging-justifi.checkout-dev";
|
|
542
543
|
this.merchantDisplayName = "JustiFi Checkout";
|
|
@@ -611,6 +612,32 @@ const JustifiApplePay = class {
|
|
|
611
612
|
}
|
|
612
613
|
};
|
|
613
614
|
}
|
|
615
|
+
componentWillLoad() {
|
|
616
|
+
this.isAvailable = ApplePayHelpers.isApplePaySupported();
|
|
617
|
+
if (!this.isAvailable) {
|
|
618
|
+
this.isLoading = false;
|
|
619
|
+
return;
|
|
620
|
+
}
|
|
621
|
+
if (checkoutStore.checkoutLoaded) {
|
|
622
|
+
this.loadApplePaySDK();
|
|
623
|
+
}
|
|
624
|
+
else {
|
|
625
|
+
onChange('checkoutLoaded', (loaded) => {
|
|
626
|
+
if (loaded)
|
|
627
|
+
this.loadApplePaySDK();
|
|
628
|
+
});
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
loadApplePaySDK() {
|
|
632
|
+
if (this.sdkLoaded)
|
|
633
|
+
return;
|
|
634
|
+
this.sdkLoaded = true;
|
|
635
|
+
const script = document.createElement('script');
|
|
636
|
+
script.src = 'https://applepay.cdn-apple.com/jsapi/1.latest/apple-pay-sdk.js';
|
|
637
|
+
script.async = true;
|
|
638
|
+
script.onload = () => this.initializeApplePay();
|
|
639
|
+
document.head.appendChild(script);
|
|
640
|
+
}
|
|
614
641
|
async initializeApplePay() {
|
|
615
642
|
try {
|
|
616
643
|
this.isLoading = true;
|
|
@@ -622,12 +649,6 @@ const JustifiApplePay = class {
|
|
|
622
649
|
if (!hasRequiredConfig) {
|
|
623
650
|
this.error = "Missing required Apple Pay configuration";
|
|
624
651
|
this.isConfigValid = false;
|
|
625
|
-
console.error("Apple Pay config error: missing required values", {
|
|
626
|
-
paymentAmount: checkoutStore.paymentAmount,
|
|
627
|
-
paymentCurrency: checkoutStore.paymentCurrency,
|
|
628
|
-
hasAuthToken: Boolean(checkoutStore.authToken),
|
|
629
|
-
accountId: checkoutStore.accountId,
|
|
630
|
-
});
|
|
631
652
|
this.applePayError.emit({ error: this.error, code: JustifiApplePay.ErrorCode.CONFIG_ERROR });
|
|
632
653
|
this.isLoading = false;
|
|
633
654
|
return;
|
|
@@ -636,14 +657,12 @@ const JustifiApplePay = class {
|
|
|
636
657
|
this.canMakePayments = ApplePayHelpers.canMakePayments();
|
|
637
658
|
if (!this.isAvailable) {
|
|
638
659
|
this.error = "Apple Pay is not supported on this device";
|
|
639
|
-
console.error(this.error);
|
|
640
660
|
this.applePayError.emit({ error: this.error, code: JustifiApplePay.ErrorCode.NOT_SUPPORTED });
|
|
641
661
|
this.isLoading = false;
|
|
642
662
|
return;
|
|
643
663
|
}
|
|
644
664
|
if (!this.canMakePayments) {
|
|
645
665
|
this.error = "Apple Pay is not available";
|
|
646
|
-
console.error(this.error);
|
|
647
666
|
this.applePayError.emit({ error: this.error, code: JustifiApplePay.ErrorCode.NOT_AVAILABLE });
|
|
648
667
|
this.isLoading = false;
|
|
649
668
|
return;
|
|
@@ -664,7 +683,6 @@ const JustifiApplePay = class {
|
|
|
664
683
|
}
|
|
665
684
|
}
|
|
666
685
|
catch (error) {
|
|
667
|
-
console.error("Apple Pay initialization error:", error);
|
|
668
686
|
this.error =
|
|
669
687
|
error instanceof Error
|
|
670
688
|
? error.message
|
|
@@ -685,7 +703,8 @@ const JustifiApplePay = class {
|
|
|
685
703
|
return ApplePayHelpers.getDefaultSupportedNetworks();
|
|
686
704
|
}
|
|
687
705
|
async abort() {
|
|
688
|
-
|
|
706
|
+
var _a;
|
|
707
|
+
(_a = this.applePayService) === null || _a === void 0 ? void 0 : _a.abortPaymentSession();
|
|
689
708
|
this.isProcessing = false;
|
|
690
709
|
this.applePayCancelled.emit();
|
|
691
710
|
}
|
|
@@ -694,13 +713,14 @@ const JustifiApplePay = class {
|
|
|
694
713
|
// Render nothing when Apple Pay is disabled at the checkout settings level
|
|
695
714
|
return null;
|
|
696
715
|
}
|
|
716
|
+
if (!this.isAvailable) {
|
|
717
|
+
return null;
|
|
718
|
+
}
|
|
697
719
|
const isReady = !this.isLoading &&
|
|
698
720
|
this.isAvailable &&
|
|
699
721
|
this.canMakePayments &&
|
|
700
722
|
this.isConfigValid;
|
|
701
|
-
return (h(StyledHost, null,
|
|
702
|
-
this.initializeApplePay();
|
|
703
|
-
} })), h("div", { class: 'apple-pay-container' }, h(ApplePaySkeleton, { isLoading: this.isLoading }), isReady && (h(ApplePayButton, { buttonType: this.buttonType, buttonStyle: this.buttonStyle, disabled: this.disabled, isProcessing: this.isProcessing, isAvailable: this.isAvailable, clickHandler: this.handleApplePayClick, width: this.width, height: this.height }))), h("style", null, `
|
|
723
|
+
return (h(StyledHost, null, h("div", { class: 'apple-pay-container' }, h(ApplePaySkeleton, { isLoading: this.isLoading }), isReady && (h(ApplePayButton, { buttonType: this.buttonType, buttonStyle: this.buttonStyle, disabled: this.disabled, isProcessing: this.isProcessing, isAvailable: this.isAvailable, clickHandler: this.handleApplePayClick, width: this.width, height: this.height }))), h("style", null, `
|
|
704
724
|
.apple-pay-container {
|
|
705
725
|
width: 100%;
|
|
706
726
|
}
|
|
@@ -852,11 +872,14 @@ const JustifiGooglePay = class {
|
|
|
852
872
|
}, this.iframeOrigin);
|
|
853
873
|
}
|
|
854
874
|
render() {
|
|
875
|
+
if (!checkoutStore.checkoutLoaded) {
|
|
876
|
+
return null;
|
|
877
|
+
}
|
|
855
878
|
if (!checkoutStore.googlePayEnabled) {
|
|
856
879
|
console.warn("Google Pay is not enabled for this checkout");
|
|
857
880
|
return null;
|
|
858
881
|
}
|
|
859
|
-
return (h(Host, null, h(GooglePaySkeleton, { isLoading: !this.isReadyToPay }), h("iframe", { ref: (el) => (this.iframeElement = el), src: `${this.iframeOrigin}/v2/googlePay`, style: {
|
|
882
|
+
return (h(Host, null, h(GooglePaySkeleton, { isLoading: !this.isReadyToPay }), h("iframe", { ref: (el) => (this.iframeElement = el), src: `${this.iframeOrigin}/v2/googlePay`, allow: "payment", style: {
|
|
860
883
|
border: "none",
|
|
861
884
|
width: "100%",
|
|
862
885
|
height: "48px",
|
|
@@ -1400,6 +1423,7 @@ const JustifiPlaidPaymentMethod = class {
|
|
|
1400
1423
|
this.isSelected = false;
|
|
1401
1424
|
this.retryCount = 0;
|
|
1402
1425
|
this.isRetrying = false;
|
|
1426
|
+
this.sdkLoaded = false;
|
|
1403
1427
|
this.plaidService = new PlaidService();
|
|
1404
1428
|
this.maxRetries = 3;
|
|
1405
1429
|
this.retryDelay = 2000; // 2 seconds
|
|
@@ -1746,15 +1770,31 @@ const JustifiPlaidPaymentMethod = class {
|
|
|
1746
1770
|
this.openPlaidLink();
|
|
1747
1771
|
}
|
|
1748
1772
|
}
|
|
1749
|
-
|
|
1750
|
-
|
|
1773
|
+
componentWillLoad() {
|
|
1774
|
+
var _a;
|
|
1775
|
+
this.isSelected = ((_a = checkoutStore.selectedPaymentMethod) === null || _a === void 0 ? void 0 : _a.type) === PAYMENT_METHODS.PLAID;
|
|
1776
|
+
if (checkoutStore.bankAccountVerification !== true)
|
|
1751
1777
|
return;
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1778
|
+
if (checkoutStore.checkoutLoaded) {
|
|
1779
|
+
this.loadPlaidSDK();
|
|
1780
|
+
}
|
|
1781
|
+
else {
|
|
1782
|
+
onChange('checkoutLoaded', (loaded) => {
|
|
1783
|
+
if (loaded && checkoutStore.bankAccountVerification === true) {
|
|
1784
|
+
this.loadPlaidSDK();
|
|
1785
|
+
}
|
|
1786
|
+
});
|
|
1787
|
+
}
|
|
1788
|
+
}
|
|
1789
|
+
loadPlaidSDK() {
|
|
1790
|
+
if (this.sdkLoaded)
|
|
1791
|
+
return;
|
|
1792
|
+
this.sdkLoaded = true;
|
|
1793
|
+
const script = document.createElement('script');
|
|
1794
|
+
script.src = 'https://cdn.plaid.com/link/v2/stable/link-initialize.js';
|
|
1795
|
+
script.async = true;
|
|
1796
|
+
script.onload = () => this.initializePlaidLink();
|
|
1797
|
+
script.onerror = () => {
|
|
1758
1798
|
this.handleError({
|
|
1759
1799
|
code: PlaidErrorCodes.PLAID_SDK_LOAD_FAILED,
|
|
1760
1800
|
message: PLAID_ERROR_MESSAGES[PlaidErrorCodes.PLAID_SDK_LOAD_FAILED],
|
|
@@ -1763,11 +1803,7 @@ const JustifiPlaidPaymentMethod = class {
|
|
|
1763
1803
|
userAction: 'Refresh the page and try again'
|
|
1764
1804
|
});
|
|
1765
1805
|
};
|
|
1766
|
-
|
|
1767
|
-
componentWillLoad() {
|
|
1768
|
-
var _a;
|
|
1769
|
-
// Initialize selection state based on store
|
|
1770
|
-
this.isSelected = ((_a = checkoutStore.selectedPaymentMethod) === null || _a === void 0 ? void 0 : _a.type) === PAYMENT_METHODS.PLAID;
|
|
1806
|
+
document.head.appendChild(script);
|
|
1771
1807
|
}
|
|
1772
1808
|
async resolvePaymentMethod() {
|
|
1773
1809
|
if (!this.publicToken) {
|
|
@@ -1913,7 +1949,7 @@ const JustifiPlaidPaymentMethod = class {
|
|
|
1913
1949
|
}
|
|
1914
1950
|
return null;
|
|
1915
1951
|
};
|
|
1916
|
-
return (h(StyledHost, { class: "payment-method" }, h("
|
|
1952
|
+
return (h(StyledHost, { class: "payment-method" }, h("div", { title: "Pay with Plaid" }, h("div", { onClick: (event) => { event.preventDefault(); this.handleSelectionClick(); } }, "Pay with Bank Account ", plaidLogo, " "), renderErrorState(), renderStatusState())));
|
|
1917
1953
|
}
|
|
1918
1954
|
static get watchers() { return {
|
|
1919
1955
|
"isSelected": ["onSelectionChange"]
|
|
@@ -1941,11 +1977,13 @@ const JustifiSavedPaymentMethods = class {
|
|
|
1941
1977
|
};
|
|
1942
1978
|
}
|
|
1943
1979
|
componentWillLoad() {
|
|
1944
|
-
if (
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1980
|
+
if (checkoutStore.checkoutLoaded) {
|
|
1981
|
+
if (!checkoutStore.paymentMethods.length) {
|
|
1982
|
+
console.warn('No saved payment methods available.');
|
|
1983
|
+
}
|
|
1984
|
+
if (checkoutStore.disablePaymentMethodGroup) {
|
|
1985
|
+
console.warn('Payment method group is disabled.');
|
|
1986
|
+
}
|
|
1949
1987
|
}
|
|
1950
1988
|
}
|
|
1951
1989
|
render() {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
3
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
2
|
+
import { J as JustifiAnalytics } from './Analytics-Cyc3ZLPx.js';
|
|
3
|
+
import { c as checkPkgVersion } from './check-pkg-version-6iGDh82c.js';
|
|
4
4
|
import { w as waitForConfig } from './config-state-kKn89dp1.js';
|
|
5
5
|
import { S as StyledHost } from './styled-host-D6byRazK.js';
|
|
6
6
|
import './event-types-CZfYo5-1.js';
|
|
7
|
-
import './package-
|
|
7
|
+
import './package-beXEDfB9.js';
|
|
8
8
|
import './Api-DMd8hTI-.js';
|
|
9
9
|
import './utils-BTtxWI2r.js';
|
|
10
10
|
import './dinero-HXpYMWUU.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
3
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
2
|
+
import { c as checkPkgVersion } from './check-pkg-version-6iGDh82c.js';
|
|
3
|
+
import { J as JustifiAnalytics } from './Analytics-Cyc3ZLPx.js';
|
|
4
4
|
import { w as waitForConfig } from './config-state-kKn89dp1.js';
|
|
5
5
|
import { S as StyledHost } from './styled-host-D6byRazK.js';
|
|
6
6
|
import './event-types-CZfYo5-1.js';
|
|
7
|
-
import './package-
|
|
7
|
+
import './package-beXEDfB9.js';
|
|
8
8
|
import './Api-DMd8hTI-.js';
|
|
9
9
|
import './utils-BTtxWI2r.js';
|
|
10
10
|
import './dinero-HXpYMWUU.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { h, F as Fragment, r as registerInstance, c as createEvent } from './index-CV0Pyo1O.js';
|
|
2
2
|
import { E as ErrorState } from './utils-BxYS3WDw.js';
|
|
3
3
|
import { B as BusinessService } from './business.service-BPbZ5fxQ.js';
|
|
4
|
-
import { m as makeGetBusiness } from './get-business-
|
|
4
|
+
import { m as makeGetBusiness } from './get-business-DIpEbczl.js';
|
|
5
5
|
import { C as ComponentErrorSeverity, e as ComponentErrorCodes } from './Plaid-BuKEVgbB.js';
|
|
6
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
7
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
6
|
+
import { J as JustifiAnalytics } from './Analytics-Cyc3ZLPx.js';
|
|
7
|
+
import { c as checkPkgVersion } from './check-pkg-version-6iGDh82c.js';
|
|
8
8
|
import { S as StyledHost } from './styled-host-D6byRazK.js';
|
|
9
9
|
import './event-types-CZfYo5-1.js';
|
|
10
10
|
import { S as Skeleton } from './skeleton-CXGFVqDf.js';
|
|
@@ -18,7 +18,7 @@ import './Pagination-CLHwhyvu.js';
|
|
|
18
18
|
import './Business-BcNb9bVO.js';
|
|
19
19
|
import './Dispute-BH0Xfn-F.js';
|
|
20
20
|
import './utils-DcfpJGDZ.js';
|
|
21
|
-
import './package-
|
|
21
|
+
import './package-beXEDfB9.js';
|
|
22
22
|
|
|
23
23
|
const BusinessDetailsLoading = () => {
|
|
24
24
|
const Block = () => (h("div", { class: "mt-5" }, h(Skeleton, { width: "40%", height: "1.5rem" }), h("hr", null), h("div", { class: "row g-3" }, h("div", { class: "col-12 col-md-6" }, h(Skeleton, null), h(Skeleton, null), h(Skeleton, null)), h("div", { class: "col-12 col-md-6" }, h(Skeleton, null), h(Skeleton, null), h(Skeleton, null)))));
|
|
@@ -8,12 +8,12 @@ import { C as ComponentErrorSeverity, e as ComponentErrorCodes } from './Plaid-B
|
|
|
8
8
|
import './Pagination-CLHwhyvu.js';
|
|
9
9
|
import { C as CountryCode, B as Business, b as BusinessFormServerErrors } from './Business-BcNb9bVO.js';
|
|
10
10
|
import './Dispute-BH0Xfn-F.js';
|
|
11
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
11
|
+
import { J as JustifiAnalytics } from './Analytics-Cyc3ZLPx.js';
|
|
12
12
|
import { B as Button } from './button-DRdaAudE.js';
|
|
13
13
|
import { S as StyledHost } from './styled-host-D6byRazK.js';
|
|
14
14
|
import { H as Header1 } from './header-1-Bl7MHW0w.js';
|
|
15
15
|
import './event-types-CZfYo5-1.js';
|
|
16
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
16
|
+
import { c as checkPkgVersion } from './check-pkg-version-6iGDh82c.js';
|
|
17
17
|
import { S as Skeleton } from './skeleton-CXGFVqDf.js';
|
|
18
18
|
import { B as BusinessFormClickActions } from './event-types-XYgDHrVL.js';
|
|
19
19
|
import { m as makeGetBusiness, a as makePatchBusiness } from './payment-provisioning-actions-Dr0YIShV.js';
|
|
@@ -24,7 +24,7 @@ import './country-config-P042rrI3.js';
|
|
|
24
24
|
import './business-form-options-DRalxlqN.js';
|
|
25
25
|
import './index-cDVGjRkU.js';
|
|
26
26
|
import './utils-BTtxWI2r.js';
|
|
27
|
-
import './package-
|
|
27
|
+
import './package-beXEDfB9.js';
|
|
28
28
|
import './Api-DMd8hTI-.js';
|
|
29
29
|
import './parts-DnrawQn3.js';
|
|
30
30
|
import './utils-DcfpJGDZ.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
3
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
2
|
+
import { J as JustifiAnalytics } from './Analytics-Cyc3ZLPx.js';
|
|
3
|
+
import { c as checkPkgVersion } from './check-pkg-version-6iGDh82c.js';
|
|
4
4
|
import { w as waitForConfig } from './config-state-kKn89dp1.js';
|
|
5
5
|
import { S as StyledHost } from './styled-host-D6byRazK.js';
|
|
6
6
|
import './event-types-CZfYo5-1.js';
|
|
7
|
-
import './package-
|
|
7
|
+
import './package-beXEDfB9.js';
|
|
8
8
|
import './Api-DMd8hTI-.js';
|
|
9
9
|
import './utils-BTtxWI2r.js';
|
|
10
10
|
import './dinero-HXpYMWUU.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
3
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
2
|
+
import { J as JustifiAnalytics } from './Analytics-Cyc3ZLPx.js';
|
|
3
|
+
import { c as checkPkgVersion } from './check-pkg-version-6iGDh82c.js';
|
|
4
4
|
import { c as checkoutStore } from './checkout.store-DFnkcDZ8.js';
|
|
5
5
|
import { c as checkoutSummary } from './parts-DnrawQn3.js';
|
|
6
6
|
import { S as StyledHost } from './styled-host-D6byRazK.js';
|
|
7
7
|
import './event-types-CZfYo5-1.js';
|
|
8
8
|
import { P as PAYMENT_METHODS } from './index-DkoufM1t.js';
|
|
9
|
-
import './package-
|
|
9
|
+
import './package-beXEDfB9.js';
|
|
10
10
|
import './Api-DMd8hTI-.js';
|
|
11
11
|
import './config-state-kKn89dp1.js';
|
|
12
12
|
import './index-cDVGjRkU.js';
|
|
@@ -53,7 +53,6 @@ const JustifiCheckout = class {
|
|
|
53
53
|
checkoutStore.isSubmitting = false;
|
|
54
54
|
}
|
|
55
55
|
checkoutError(_event) {
|
|
56
|
-
console.error('[justifi-checkout] error-event received', _event === null || _event === void 0 ? void 0 : _event.detail);
|
|
57
56
|
checkoutStore.isSubmitting = false;
|
|
58
57
|
}
|
|
59
58
|
checkoutChanged(event) {
|
|
@@ -88,9 +87,9 @@ const JustifiCheckout = class {
|
|
|
88
87
|
}
|
|
89
88
|
render() {
|
|
90
89
|
var _a, _b;
|
|
91
|
-
return (h(StyledHost, { key: '
|
|
90
|
+
return (h(StyledHost, { key: 'ffd2abaacc7edae588a9abe3a4ff96807b34fcff' }, h("justifi-modular-checkout", { key: '9196c278e24353aeb1ac02c85253d629f683522b', ref: (el) => {
|
|
92
91
|
this.modularCheckoutRef = el;
|
|
93
|
-
}, authToken: this.authToken, checkoutId: this.checkoutId, preCompleteHook: this.preCompleteHook }, h("div", { key: '
|
|
92
|
+
}, authToken: this.authToken, checkoutId: this.checkoutId, preCompleteHook: this.preCompleteHook }, h("div", { key: '895298286bc0aa6acbda896a4f148dd4f8d7e7d2', class: "row gy-3 jfi-checkout-core" }, h("div", { key: 'dd186ed2f0fd479cd60024423b6d55625b962e55', class: "col-12", part: checkoutSummary }, h("justifi-header", { key: '920d4eca26846aa1cbc16693fa45a9d8054d95a7', text: "Summary", level: "h2", class: "fs-5 fw-bold pb-3" }), h("section", { key: '560f8c3757a7cf53fd0aa898fd243b16a2f8e8d5' }, h("justifi-checkout-summary", { key: '31faa6ca984aa22985927a1f80273c86a67c7025' }))), h("div", { key: '3128ae40a739573da32598213a289d8751503fb0', class: "col-12 mt-4" }, h("slot", { key: '4a310881bbc4017734082d5c4f6b41d3d5f2a424', name: "insurance" })), h("div", { key: '8047c4da62e2fd67bd0b3f8654c6a19c0cacc255', class: "col-12 mt-4" }, h("justifi-header", { key: '631ff14201f6246906e3e1572515de21a7977773', text: "Payment", level: "h2", class: "fs-5 fw-bold pb-3" }), this.showPaymentTypeHeader && (h("justifi-header", { key: '7fdc560ef42a5c2e8571f332e3c4ce8ff460d235', text: "Select payment type", level: "h3", class: "fs-6 fw-bold lh-lg" })), h("div", { key: '81dcb52c051044adb4dbd92ac73ee3096edc592b', class: "d-flex flex-column" }, h("section", { key: '4359903b195009a2e8fb997a1f77880cba40dea4' }, h("div", { key: '21728867e6288c3fb7d5e5a6ee3d15974568b866' }, this.availablePaymentMethods.includes(PAYMENT_METHODS.APPLE_PAY) && (h("div", { key: 'bdaa6b6c6d09cba294b2e46b85270241c86d2251', class: "mb-3" }, h("justifi-apple-pay", { key: '150d707bff7b79a1d19141f21a9c47e00e54418a' }))), this.availablePaymentMethods.includes(PAYMENT_METHODS.GOOGLE_PAY) && (h("div", { key: 'ce2be06b20a1e7d0159fde68a1c5c349c2d11998', class: "mb-3" }, h("justifi-google-pay", { key: '0fc867ce77467eb1f1fd198a62e88bd2795f4914', ref: (el) => (this.googlePayRef = el) }))), h("justifi-saved-payment-methods", { key: '0bb1999c093b3837bfdb879134dc54f66c90e164' }), this.availablePaymentMethods.includes(PAYMENT_METHODS.SEZZLE) && (h("justifi-radio-list-item", { key: '1599be9bcea7569d822a204c805f08f18a4e00a4', name: "paymentMethodType", value: PAYMENT_METHODS.SEZZLE, checked: ((_a = checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.selectedPaymentMethod) === null || _a === void 0 ? void 0 : _a.type) === PAYMENT_METHODS.SEZZLE, label: h("justifi-sezzle-payment-method", { ref: (el) => (this.sezzlePaymentMethodRef = el) }), "onRadio-click": () => { var _a; (_a = this.sezzlePaymentMethodRef) === null || _a === void 0 ? void 0 : _a.handleSelectionClick(); } })), this.availablePaymentMethods.includes(PAYMENT_METHODS.PLAID) && !this.disableBnpl && (h("justifi-radio-list-item", { key: 'c1de230257d290efa05f7a7166c2f069451c71a3', name: "paymentMethodType", value: PAYMENT_METHODS.PLAID, checked: ((_b = checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.selectedPaymentMethod) === null || _b === void 0 ? void 0 : _b.type) === PAYMENT_METHODS.PLAID, label: h("justifi-plaid-payment-method", { ref: (el) => (this.plaidPaymentMethodRef = el) }), "onRadio-click": () => { var _a; (_a = this.plaidPaymentMethodRef) === null || _a === void 0 ? void 0 : _a.handleSelectionClick(); } })), h("justifi-tokenize-payment-method", { key: '44bca4ee57857afd4eee213cef98db2d4bd42490', ref: (el) => (this.tokenizePaymentMethodRef = el), authToken: this.authToken, accountId: checkoutStore.accountId, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, hideSubmitButton: true, paymentMethodGroupId: checkoutStore.paymentMethodGroupId }))))), h("div", { key: 'e5b6b4ac6b0fcec20380082f1b4cc5ba73bb88aa', class: "mt-4" }, h("justifi-button", { key: '188a8f46fd37b5f4f2d9b3ba7ff179d44d4a6656', text: "Pay", type: "submit", variant: "primary", clickHandler: (e) => this.submit(e), disabled: checkoutStore.isSubmitting || checkoutStore.isWalletProcessing, isLoading: checkoutStore.isSubmitting || checkoutStore.isWalletProcessing, customStyle: { width: '100%', textAlign: "center" } }))))));
|
|
94
93
|
}
|
|
95
94
|
static get watchers() { return {
|
|
96
95
|
"authToken": ["propChanged"],
|
|
@@ -6,8 +6,8 @@ import './Pagination-CLHwhyvu.js';
|
|
|
6
6
|
import './Business-BcNb9bVO.js';
|
|
7
7
|
import './Dispute-BH0Xfn-F.js';
|
|
8
8
|
import { g as getErrorCode, a as getErrorMessage } from './utils-DcfpJGDZ.js';
|
|
9
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
10
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
9
|
+
import { c as checkPkgVersion } from './check-pkg-version-6iGDh82c.js';
|
|
10
|
+
import { J as JustifiAnalytics } from './Analytics-Cyc3ZLPx.js';
|
|
11
11
|
import { C as CheckoutService } from './checkout.service-CJMfFKyS.js';
|
|
12
12
|
import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts-CgDWE_5o.js';
|
|
13
13
|
import { S as StyledHost } from './styled-host-D6byRazK.js';
|
|
@@ -15,7 +15,7 @@ import './event-types-CZfYo5-1.js';
|
|
|
15
15
|
import { d as defaultColumnsKeys } from './checkouts-table-C8sPHeTm.js';
|
|
16
16
|
import './index-cDVGjRkU.js';
|
|
17
17
|
import './utils-BTtxWI2r.js';
|
|
18
|
-
import './package-
|
|
18
|
+
import './package-beXEDfB9.js';
|
|
19
19
|
import './Api-DMd8hTI-.js';
|
|
20
20
|
import './badge-B6dp1XGV.js';
|
|
21
21
|
import './parts-DnrawQn3.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-CV0Pyo1O.js';
|
|
2
2
|
import { C as ComponentErrorSeverity, e as ComponentErrorCodes } from './Plaid-BuKEVgbB.js';
|
|
3
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
4
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
3
|
+
import { J as JustifiAnalytics } from './Analytics-Cyc3ZLPx.js';
|
|
4
|
+
import { c as checkPkgVersion } from './check-pkg-version-6iGDh82c.js';
|
|
5
5
|
import { D as Dispute } from './Dispute-BH0Xfn-F.js';
|
|
6
6
|
import { g as getErrorCode, a as getErrorMessage } from './utils-DcfpJGDZ.js';
|
|
7
7
|
import { D as DisputeService } from './dispute.service-vlYGy0nR.js';
|
|
8
8
|
import './utils-BTtxWI2r.js';
|
|
9
9
|
import './dinero-HXpYMWUU.js';
|
|
10
|
-
import './package-
|
|
10
|
+
import './package-beXEDfB9.js';
|
|
11
11
|
import './Api-DMd8hTI-.js';
|
|
12
12
|
import './config-state-kKn89dp1.js';
|
|
13
13
|
import './index-cDVGjRkU.js';
|
|
@@ -84,7 +84,7 @@ const JustifiDisputeManagement = class {
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
render() {
|
|
87
|
-
return (h("justifi-dispute-management-core", { key: '
|
|
87
|
+
return (h("justifi-dispute-management-core", { key: 'db9bf0998d45a71d9c2a72f4cedbe4276e67a238', getDispute: this.getDispute, disputeId: this.disputeId, authToken: this.authToken, "onError-event": this.handleErrorEvent }));
|
|
88
88
|
}
|
|
89
89
|
static get watchers() { return {
|
|
90
90
|
"disputeId": ["propChanged"],
|