@justifi/webcomponents 6.2.0-rc.1 → 6.2.0-rc.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/{Api-CjtvTD2_.js → Api-BeSnjEuW.js} +1 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
- package/dist/cjs/{badge-CE3ss_OU.js → badge-_nY1l5Rq.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_6.cjs.entry.js +7 -7
- package/dist/cjs/bank-account-form.cjs.entry.js +4 -4
- package/dist/cjs/{business-additional-questions-schema-CetDMUp7.js → business-additional-questions-schema-BzHg6qqg.js} +1 -1
- package/dist/cjs/business-details-core.cjs.entry.js +4 -4
- package/dist/cjs/{business-identity-schema-Cd0tvfJr.js → business-identity-schema-Di-jf6nr.js} +4 -3
- package/dist/cjs/{business.service-DRZurAMP.js → business.service-DIlSj5KT.js} +1 -1
- package/dist/cjs/{button-gPNZ9XRn.js → button-CARQPDm-.js} +1 -1
- package/dist/cjs/card-form.cjs.entry.js +4 -4
- package/dist/cjs/{check-pkg-version-W_AFeiO6.js → check-pkg-version-NXr7H2Sp.js} +2 -2
- package/dist/cjs/{checkout.service-vZbSE3A3.js → checkout.service-Ce0F8cOf.js} +1 -1
- package/dist/cjs/{checkout.store-Bswr7kNY.js → checkout.store-BiT7zKgX.js} +19 -1
- package/dist/cjs/checkouts-list-core.cjs.entry.js +8 -8
- package/dist/cjs/{payments-list-params-state-BYpq-c6X.js → checkouts-list-params-state-DfZySwaC.js} +1 -1
- package/dist/cjs/{checkouts-table-C5AHeIr0.js → checkouts-table-2fOlhkc4.js} +2 -2
- package/dist/cjs/{config-state-C7babhLh.js → config-state-CYoBVAca.js} +1 -1
- package/dist/cjs/custom-popper.cjs.entry.js +3 -3
- package/dist/cjs/{dispute.service-DV9a61Tu.js → dispute.service-DuYeSUgK.js} +1 -1
- package/dist/cjs/form-alert_5.cjs.entry.js +1 -1
- package/dist/cjs/form-control-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/form-control-date.cjs.entry.js +4 -4
- package/dist/cjs/{form-control-error-text-BnMWn8U_.js → form-control-error-text-mhOq2Edp.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
- package/dist/cjs/{form-control-help-text-DEi5vSjN.js → form-control-help-text-BoRpAoX6.js} +1 -1
- package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +3 -3
- package/dist/cjs/form-control-monetary.cjs.entry.js +5 -5
- package/dist/cjs/form-control-number-masked_3.cjs.entry.js +4 -4
- package/dist/cjs/form-control-number.cjs.entry.js +5 -5
- package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
- package/dist/cjs/form-control-select_3.cjs.entry.js +4 -4
- package/dist/cjs/{get-payment-details-AYzxPu-X.js → get-payment-details-vVIxYblm.js} +1 -1
- package/dist/cjs/{get-subaccounts-C_KD197w.js → get-subaccounts-yo2pT61R.js} +2 -2
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +4 -4
- package/dist/cjs/{header-1-D3r87SC6.js → header-1-CBO8uDuZ.js} +1 -1
- package/dist/cjs/{header-3-BFQJJgBb.js → header-3-CPWtI1t0.js} +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +8 -8
- package/dist/cjs/{index-Bhtk1qkX.js → index-BhI7cJcE.js} +37 -2
- package/dist/cjs/{index-CWM5ions.js → index-mmd0OhmD.js} +1 -1
- package/dist/cjs/{insurance-state-JbqYvJN3.js → insurance-state-BMHITXoD.js} +2 -2
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +8 -8
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +6 -6
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +9 -9
- package/dist/cjs/justifi-apple-pay_8.cjs.entry.js +31 -94
- package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +17 -17
- package/dist/cjs/justifi-business-details.cjs.entry.js +8 -8
- package/dist/cjs/justifi-business-form.cjs.entry.js +14 -14
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +5 -5
- package/dist/cjs/justifi-checkout.cjs.entry.js +8 -8
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +5 -5
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +11 -11
- package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
- package/dist/cjs/justifi-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +7 -7
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +29 -14
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +7 -7
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +11 -11
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payment-details.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +11 -11
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payments-list.cjs.entry.js +12 -12
- package/dist/cjs/justifi-payout-details.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +11 -11
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +13 -13
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +11 -11
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +10 -10
- package/dist/cjs/justifi-skeleton.cjs.entry.js +4 -4
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +7 -7
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +6 -6
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +12 -12
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{package-BADgkv50.js → package-DPdtuJhk.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +16 -16
- package/dist/cjs/payment-method-option.cjs.entry.js +3 -3
- package/dist/cjs/{payment.service-1t60I69m.js → payment.service-DLvoJ2K6.js} +1 -1
- package/dist/cjs/payments-list-core.cjs.entry.js +10 -10
- package/dist/cjs/{payouts-list-params-state-BYpq-c6X.js → payments-list-params-state-DfZySwaC.js} +1 -1
- package/dist/cjs/{payments-status-CnNXcRLO.js → payments-status-t4fVj8f9.js} +2 -2
- package/dist/cjs/{payments-table-BGuCOPTJ.js → payments-table-C6SCvqLD.js} +2 -2
- package/dist/cjs/payout-details-core.cjs.entry.js +10 -10
- package/dist/cjs/{payout.service-CQEXfufW.js → payout.service-CrBp8aru.js} +1 -1
- package/dist/cjs/payouts-list-core.cjs.entry.js +10 -10
- package/dist/cjs/{terminal-orders-list-params-state-BYpq-c6X.js → payouts-list-params-state-DfZySwaC.js} +1 -1
- package/dist/cjs/{payouts-status-2na6MMgV.js → payouts-status-pIO9qZG6.js} +2 -2
- package/dist/cjs/{payouts-table-DXekpbYc.js → payouts-table-CEnUtKNR.js} +2 -2
- package/dist/cjs/{schema-validations-0mjPveQ0.js → schema-validations-AxtufX7q.js} +5 -0
- package/dist/cjs/{skeleton-BvdAh448.js → skeleton-BF3HGL9X.js} +1 -1
- package/dist/cjs/{spinner-Rt52JMa2.js → spinner-BBdv3Iq1.js} +1 -1
- package/dist/cjs/{styled-host-BSooSIhA.js → styled-host-D5g7INLE.js} +1 -1
- package/dist/cjs/{table-Ccg4k90C.js → table-CfBpaApw.js} +2 -2
- package/dist/cjs/table-filters-menu.cjs.entry.js +2 -2
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +9 -9
- package/dist/cjs/{checkouts-list-params-state-BYpq-c6X.js → terminal-orders-list-params-state-DfZySwaC.js} +1 -1
- package/dist/cjs/{terminal-orders-table-B4ZXHj3w.js → terminal-orders-table-8PxObvu8.js} +3 -3
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
- package/dist/cjs/{terminal.service-BlW-CJ67.js → terminal.service-D0fIw59V.js} +1 -1
- package/dist/cjs/terminals-list-core.cjs.entry.js +9 -9
- package/dist/cjs/terminals-list-params-state-DfZySwaC.js +22 -0
- package/dist/cjs/{terminals-table-ByYs-pH7.js → terminals-table-EeeLeuDN.js} +2 -2
- package/dist/cjs/{utils-CUcA4G_O.js → utils-Cjq3ZCad.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +3 -3
- package/dist/collection/api/services/apple-pay.service.js +3 -43
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +4 -4
- package/dist/collection/components/business-forms/schemas/business-identity-schema.js +3 -2
- package/dist/collection/components/business-forms/schemas/schema-validations.js +5 -0
- package/dist/collection/components/dispute-management/dispute-notification.js +17 -2
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
- package/dist/collection/components/modular-checkout/modular-checkout.js +41 -2
- package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +0 -34
- package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
- package/dist/collection/components/order-terminals/order-terminals.js +1 -1
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
- package/dist/collection/components/payment-details/payment-details-core.js +8 -8
- package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
- package/dist/collection/components/payments-list/payments-list-core.js +1 -1
- package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
- package/dist/collection/components/payments-list/payments-list.js +1 -1
- package/dist/collection/components/payout-details/payout-details-core.js +3 -3
- package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
- package/dist/collection/components/payouts-list/payouts-list.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
- package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list.js +1 -1
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +1 -1
- package/dist/collection/store/checkout.store.js +17 -0
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/form/form-control-date.js +2 -2
- package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
- package/dist/collection/ui-components/form/form-control-file.js +2 -2
- package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
- package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
- package/dist/collection/ui-components/form/form-control-number.js +2 -2
- package/dist/collection/ui-components/form/form-control-radio.js +2 -2
- package/dist/collection/ui-components/form/form-control-text.js +2 -2
- package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +3 -3
- package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
- package/dist/docs.json +45 -2
- package/dist/esm/{Api-K9QH1Aki.js → Api-DX-IWyBw.js} +1 -1
- package/dist/esm/additional-questions-details_5.entry.js +2 -2
- package/dist/esm/{badge-B8fF98jp.js → badge-BkjjtNUQ.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_6.entry.js +7 -7
- package/dist/esm/bank-account-form.entry.js +4 -4
- package/dist/esm/{business-additional-questions-schema-DSvdNuI1.js → business-additional-questions-schema-BCXg6YTP.js} +1 -1
- package/dist/esm/business-details-core.entry.js +4 -4
- package/dist/esm/{business-identity-schema-mN4VhA1v.js → business-identity-schema-CvzdGI9h.js} +4 -3
- package/dist/esm/{business.service-BJcGEUDH.js → business.service-CaEVmi4X.js} +1 -1
- package/dist/esm/{button-DZoLTGMB.js → button-DHljyr0K.js} +1 -1
- package/dist/esm/card-form.entry.js +4 -4
- package/dist/esm/{check-pkg-version-CG8qzhGl.js → check-pkg-version-BifOuhlz.js} +2 -2
- package/dist/esm/{checkout.service-aymuZDC9.js → checkout.service-BpaVN1_f.js} +1 -1
- package/dist/esm/{checkout.store-4nUf2OuT.js → checkout.store-CMsV0tl9.js} +19 -2
- package/dist/esm/checkouts-list-core.entry.js +8 -8
- package/dist/esm/{checkouts-list-params-state-C_fug9R3.js → checkouts-list-params-state-gllzDQAb.js} +1 -1
- package/dist/esm/{checkouts-table-B8k-Aylm.js → checkouts-table-Dn1sFyZs.js} +2 -2
- package/dist/esm/{config-state-DiHV-4QK.js → config-state-C2NXATwF.js} +1 -1
- package/dist/esm/custom-popper.entry.js +3 -3
- package/dist/esm/{dispute.service-DiPbsswm.js → dispute.service-Dq1SPI2m.js} +1 -1
- package/dist/esm/form-alert_5.entry.js +1 -1
- package/dist/esm/form-control-checkbox.entry.js +3 -3
- package/dist/esm/form-control-date.entry.js +4 -4
- package/dist/esm/{form-control-error-text-BmD6bGbR.js → form-control-error-text-Cje0veu2.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +5 -5
- package/dist/esm/{form-control-help-text-DbIhIcc6.js → form-control-help-text-ClJnecm3.js} +1 -1
- package/dist/esm/form-control-help-text.entry.js +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
- package/dist/esm/form-control-monetary.entry.js +5 -5
- package/dist/esm/form-control-number-masked_3.entry.js +4 -4
- package/dist/esm/form-control-number.entry.js +5 -5
- package/dist/esm/form-control-radio.entry.js +3 -3
- package/dist/esm/form-control-select_3.entry.js +4 -4
- package/dist/esm/{get-payment-details-DcC5v85s.js → get-payment-details-C2YiQBG7.js} +1 -1
- package/dist/esm/{get-subaccounts-CMJMDwSP.js → get-subaccounts-Cjz3-2D3.js} +2 -2
- package/dist/esm/gross-payment-chart-core.entry.js +4 -4
- package/dist/esm/{header-1-umkpdspt.js → header-1-uiFiNrVs.js} +1 -1
- package/dist/esm/{header-3-CD5K5vCa.js → header-3-BVYYTpLc.js} +1 -1
- package/dist/esm/hidden-input_2.entry.js +8 -8
- package/dist/esm/{index-DJ9G-4S-.js → index-B-fWxE5e.js} +1 -1
- package/dist/esm/{index-DOjVAAtq.js → index-DwYM91AU.js} +37 -2
- package/dist/esm/{insurance-state-sR5DrCdu.js → insurance-state-iJs0LRg_.js} +2 -2
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +8 -8
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +6 -6
- package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
- package/dist/esm/justifi-apple-pay_8.entry.js +31 -94
- package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +17 -17
- package/dist/esm/justifi-business-details.entry.js +8 -8
- package/dist/esm/justifi-business-form.entry.js +14 -14
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +5 -5
- package/dist/esm/justifi-checkout.entry.js +8 -8
- package/dist/esm/justifi-checkouts-list-filters.entry.js +5 -5
- package/dist/esm/justifi-checkouts-list.entry.js +11 -11
- package/dist/esm/justifi-config-provider.entry.js +3 -3
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
- package/dist/esm/justifi-dispute-management.entry.js +7 -7
- package/dist/esm/justifi-dispute-notification_3.entry.js +29 -14
- package/dist/esm/justifi-gross-payment-chart.entry.js +7 -7
- package/dist/esm/justifi-order-terminals.entry.js +11 -11
- package/dist/esm/justifi-owner-form_3.entry.js +8 -8
- package/dist/esm/justifi-payment-details.entry.js +9 -9
- package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
- package/dist/esm/justifi-payment-provisioning.entry.js +7 -7
- package/dist/esm/justifi-payment-transactions-list.entry.js +11 -11
- package/dist/esm/justifi-payments-list-filters.entry.js +6 -6
- package/dist/esm/justifi-payments-list.entry.js +12 -12
- package/dist/esm/justifi-payout-details.entry.js +8 -8
- package/dist/esm/justifi-payout-transactions-list.entry.js +11 -11
- package/dist/esm/justifi-payouts-list-filters.entry.js +6 -6
- package/dist/esm/justifi-payouts-list.entry.js +13 -13
- package/dist/esm/justifi-refund-payment.entry.js +11 -11
- package/dist/esm/justifi-saved-payment-method.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +10 -10
- package/dist/esm/justifi-skeleton.entry.js +4 -4
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +7 -7
- package/dist/esm/justifi-terminal-orders-list.entry.js +10 -10
- package/dist/esm/justifi-terminals-list-filters.entry.js +6 -6
- package/dist/esm/justifi-terminals-list.entry.js +12 -12
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{package-yiqa5abX.js → package-CuLmJjEz.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/payment-details-core.entry.js +16 -16
- package/dist/esm/payment-method-option.entry.js +3 -3
- package/dist/esm/{payment.service-C0xnydJ8.js → payment.service-4wGt-zDW.js} +1 -1
- package/dist/esm/payments-list-core.entry.js +10 -10
- package/dist/esm/{payments-list-params-state-C_fug9R3.js → payments-list-params-state-gllzDQAb.js} +1 -1
- package/dist/esm/{payments-status-CzazNnFv.js → payments-status-DK2me5T2.js} +2 -2
- package/dist/esm/{payments-table-BPKxBAJ0.js → payments-table-DxRdl7-E.js} +2 -2
- package/dist/esm/payout-details-core.entry.js +10 -10
- package/dist/esm/{payout.service-Cl4yxnrx.js → payout.service-BYigYrQu.js} +1 -1
- package/dist/esm/payouts-list-core.entry.js +10 -10
- package/dist/esm/{payouts-list-params-state-C_fug9R3.js → payouts-list-params-state-gllzDQAb.js} +1 -1
- package/dist/esm/{payouts-status-rKlX41bK.js → payouts-status-BfEM6F8q.js} +2 -2
- package/dist/esm/{payouts-table-C6ZDcd_-.js → payouts-table-C2binjIW.js} +2 -2
- package/dist/esm/{schema-validations-BFoU1cR8.js → schema-validations-CoIE0a4H.js} +5 -0
- package/dist/esm/{skeleton-BEoPu3My.js → skeleton-DdynMBnt.js} +1 -1
- package/dist/esm/{spinner-Ac-w5zWg.js → spinner-BRMSkfVc.js} +1 -1
- package/dist/esm/{styled-host-OalOsPBp.js → styled-host-DhOcKWqZ.js} +1 -1
- package/dist/esm/{table-BCwizIf9.js → table-DYlsfkCm.js} +2 -2
- package/dist/esm/table-filters-menu.entry.js +2 -2
- package/dist/esm/terminal-orders-list-core.entry.js +9 -9
- package/dist/esm/{terminal-orders-list-params-state-C_fug9R3.js → terminal-orders-list-params-state-gllzDQAb.js} +1 -1
- package/dist/esm/{terminal-orders-table-BBQsoUh8.js → terminal-orders-table-zf0ASRCr.js} +3 -3
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/{terminal.service-mwaS-Mbj.js → terminal.service-RAu777Qf.js} +1 -1
- package/dist/esm/terminals-list-core.entry.js +9 -9
- package/dist/esm/terminals-list-params-state-gllzDQAb.js +16 -0
- package/dist/esm/{terminals-table-ByiFdTfy.js → terminals-table-DNUTk3gi.js} +2 -2
- package/dist/esm/{utils-KBIYAa0D.js → utils-DUz-H1tG.js} +1 -1
- package/dist/esm/webcomponents.js +4 -4
- package/dist/module/additional-statement.js +1 -1
- package/dist/module/apple-pay.js +3 -77
- package/dist/module/bank-account.js +2 -2
- package/dist/module/business-identity-schema.js +3 -2
- package/dist/module/business-representative-form-inputs.js +4 -4
- package/dist/module/cancellation-policy.js +1 -1
- package/dist/module/card-form2.js +2 -2
- package/dist/module/checkout.store.js +18 -1
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +1 -1
- package/dist/module/dispute-notification.js +17 -2
- package/dist/module/dispute-response-core.js +1 -1
- package/dist/module/dispute-response.js +1 -1
- package/dist/module/duplicate-charge.js +1 -1
- package/dist/module/electronic-evidence.js +1 -1
- package/dist/module/form-control-date2.js +2 -2
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +2 -2
- package/dist/module/form-control-monetary2.js +2 -2
- package/dist/module/form-control-number-masked2.js +2 -2
- package/dist/module/form-control-number.js +2 -2
- package/dist/module/form-control-radio2.js +2 -2
- package/dist/module/form-control-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +2 -2
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/justifi-button2.js +1 -1
- package/dist/module/justifi-header2.js +1 -1
- package/dist/module/justifi-order-terminals.js +1 -1
- package/dist/module/justifi-payment-transactions-list.js +1 -1
- package/dist/module/justifi-payments-list-filters.js +2 -2
- package/dist/module/justifi-payments-list.js +1 -1
- package/dist/module/justifi-payout-transactions-list.js +1 -1
- package/dist/module/justifi-payouts-list-filters.js +2 -2
- package/dist/module/justifi-payouts-list.js +1 -1
- package/dist/module/justifi-skeleton.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +2 -2
- package/dist/module/justifi-terminal-orders-list.js +1 -1
- package/dist/module/justifi-terminals-list-filters.js +1 -1
- package/dist/module/justifi-terminals-list.js +1 -1
- package/dist/module/modular-checkout.js +14 -2
- package/dist/module/package.js +1 -1
- package/dist/module/payment-details-core2.js +8 -8
- package/dist/module/payment-method-option.js +1 -1
- package/dist/module/payments-list-core2.js +1 -1
- package/dist/module/payout-details-core2.js +3 -3
- package/dist/module/payouts-list-core2.js +1 -1
- package/dist/module/plaid-payment-method.js +1 -1
- package/dist/module/product-or-service.js +1 -1
- package/dist/module/refund-policy.js +1 -1
- package/dist/module/schema-validations.js +5 -0
- package/dist/module/shipping-details.js +1 -1
- package/dist/module/summary.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +1 -1
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/terminals-list-core2.js +1 -1
- package/dist/module/tokenize-payment-method.js +1 -1
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +2 -0
- package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +4 -0
- package/dist/types/components/dispute-management/dispute-notification.d.ts +1 -0
- package/dist/types/components/modular-checkout/ModularCheckout.d.ts +2 -0
- package/dist/types/components/modular-checkout/modular-checkout.d.ts +3 -1
- package/dist/types/components.d.ts +6 -2
- package/dist/types/stencil-public-runtime.d.ts +1 -1
- package/dist/types/store/checkout.store.d.ts +16 -0
- package/dist/webcomponents/{p-0926c397.entry.js → p-03474a21.entry.js} +1 -1
- package/dist/webcomponents/{p-580f3bb6.entry.js → p-0348a46b.entry.js} +1 -1
- package/dist/webcomponents/{p-fcb185fd.entry.js → p-0d7650e4.entry.js} +1 -1
- package/dist/webcomponents/{p-89052ce0.entry.js → p-0d928de1.entry.js} +1 -1
- package/dist/webcomponents/{p-620ec409.entry.js → p-123ad398.entry.js} +1 -1
- package/dist/webcomponents/p-1414e80b.entry.js +1 -0
- package/dist/webcomponents/{p-cca865be.entry.js → p-198a6ae3.entry.js} +1 -1
- package/dist/webcomponents/{p-09aaaf03.entry.js → p-1fa1e280.entry.js} +1 -1
- package/dist/webcomponents/{p-a4846316.entry.js → p-20af8597.entry.js} +1 -1
- package/dist/webcomponents/p-238859ef.entry.js +1 -0
- package/dist/webcomponents/p-256a95eb.entry.js +1 -0
- package/dist/webcomponents/p-27acf7cc.entry.js +1 -0
- package/dist/webcomponents/{p-8896ab68.entry.js → p-28c28c0b.entry.js} +1 -1
- package/dist/webcomponents/p-36259848.entry.js +1 -0
- package/dist/webcomponents/{p-2ebc8539.entry.js → p-38352272.entry.js} +1 -1
- package/dist/webcomponents/{p-3b43f8c0.entry.js → p-3c313469.entry.js} +1 -1
- package/dist/webcomponents/{p-221ec54e.entry.js → p-46d7ca2f.entry.js} +3 -3
- package/dist/webcomponents/{p-10537b60.entry.js → p-4c3f1bea.entry.js} +1 -1
- package/dist/webcomponents/p-4e90834e.entry.js +1 -0
- package/dist/webcomponents/p-52cb10a7.entry.js +1 -0
- package/dist/webcomponents/{p-a2344efb.entry.js → p-56d9a8f1.entry.js} +1 -1
- package/dist/webcomponents/p-590290a2.entry.js +1 -0
- package/dist/webcomponents/p-5a3f2d71.entry.js +1 -0
- package/dist/webcomponents/p-6023553c.entry.js +1 -0
- package/dist/webcomponents/{p-4e57359c.entry.js → p-605e0aa1.entry.js} +1 -1
- package/dist/webcomponents/{p-cfd3035e.entry.js → p-62cdb2b1.entry.js} +1 -1
- package/dist/webcomponents/{p-cd108cae.entry.js → p-6612f9fb.entry.js} +1 -1
- package/dist/webcomponents/p-6b563428.entry.js +1 -0
- package/dist/webcomponents/{p-54cea29e.entry.js → p-6c2b5d37.entry.js} +1 -1
- package/dist/webcomponents/p-730eaf8b.entry.js +1 -0
- package/dist/webcomponents/{p-b72794e3.entry.js → p-75f81cbf.entry.js} +1 -1
- package/dist/webcomponents/p-78f5b1e5.entry.js +1 -0
- package/dist/webcomponents/p-79cb28bd.entry.js +1 -0
- package/dist/webcomponents/p-7c78bb5e.entry.js +1 -0
- package/dist/webcomponents/p-7e46060a.entry.js +1 -0
- package/dist/webcomponents/p-83cd698c.entry.js +1 -0
- package/dist/webcomponents/{p-4d6e0ebe.entry.js → p-855eefb0.entry.js} +1 -1
- package/dist/webcomponents/p-8993c961.entry.js +1 -0
- package/dist/webcomponents/{p-9ce44689.entry.js → p-89fdee6e.entry.js} +1 -1
- package/dist/webcomponents/p-9633fbb8.entry.js +1 -0
- package/dist/webcomponents/{p-af31dc6d.entry.js → p-97250c61.entry.js} +1 -1
- package/dist/webcomponents/{p-ef8ac9f4.entry.js → p-9a459083.entry.js} +1 -1
- package/dist/webcomponents/p-9ae2b437.entry.js +1 -0
- package/dist/webcomponents/{p-66833631.entry.js → p-9db64da8.entry.js} +1 -1
- package/dist/webcomponents/{p-UUJudj_5.js → p-B-7rLJIB.js} +1 -1
- package/dist/webcomponents/{p-BdmYH_IK.js → p-BB3MQDQq.js} +1 -1
- package/dist/webcomponents/p-BHe87s0Y.js +1 -0
- package/dist/webcomponents/{p-B9MN_vv4.js → p-BItPr6Gj.js} +1 -1
- package/dist/webcomponents/p-BOqOio4U.js +1 -0
- package/dist/webcomponents/{p-BhCH9S0e.js → p-BP2sTIQV.js} +1 -1
- package/dist/webcomponents/p-BUsqF4-J.js +1 -0
- package/dist/webcomponents/{p-BkaPXFTl.js → p-BVWZSqCK.js} +1 -1
- package/dist/webcomponents/{p-DdMxswn1.js → p-BYsgavgS.js} +1 -1
- package/dist/webcomponents/{p-C6g4MbnB.js → p-BfYkosa4.js} +1 -1
- package/dist/webcomponents/{p-Dy3-IlQ3.js → p-C2gAiiwJ.js} +1 -1
- package/dist/webcomponents/p-C7m-gAAM.js +1 -0
- package/dist/webcomponents/{p-ty1sI-fI.js → p-C8yN3uBj.js} +1 -1
- package/dist/webcomponents/{p-BYrSeoci.js → p-C9Ho60F2.js} +1 -1
- package/dist/webcomponents/{p-DqPvh0aN.js → p-C9_8N76_.js} +1 -1
- package/dist/webcomponents/p-CO8ZJ0jB.js +1 -0
- package/dist/webcomponents/{p-DfsX5bt_.js → p-CXxdHjVv.js} +1 -1
- package/dist/webcomponents/p-CbBTgsKC.js +1 -0
- package/dist/webcomponents/p-CgbXzEbz.js +1 -0
- package/dist/webcomponents/p-Cpp4qrH2.js +1 -0
- package/dist/webcomponents/{p-CTAOJGVx.js → p-CriWtqRc.js} +1 -1
- package/dist/webcomponents/{p-Bm8T-MOQ.js → p-Cu1FEdFr.js} +1 -1
- package/dist/webcomponents/p-CuLmJjEz.js +1 -0
- package/dist/webcomponents/{p-i--LPP1s.js → p-CxPieTnF.js} +1 -1
- package/dist/webcomponents/p-D0YDz3L6.js +1 -0
- package/dist/webcomponents/{p-DSCBoCn-.js → p-D2DVDmwd.js} +1 -1
- package/dist/webcomponents/{p-F6TcNeK4.js → p-D8HCCl2t.js} +1 -1
- package/dist/webcomponents/p-DKGn-ILd.js +1 -0
- package/dist/webcomponents/p-DdJYXOQX.js +1 -0
- package/dist/webcomponents/{p-CJ9qo7_g.js → p-DkOvNRJs.js} +1 -1
- package/dist/webcomponents/p-Do561C8g.js +1 -0
- package/dist/webcomponents/{p-BRbqaU66.js → p-DsR5Dt9w.js} +1 -1
- package/dist/webcomponents/{p-DxnXyWPn.js → p-DwLZbA7D.js} +1 -1
- package/dist/webcomponents/p-DwYM91AU.js +2 -0
- package/dist/webcomponents/{p-D9Yus-je.js → p-JvWiY69B.js} +1 -1
- package/dist/webcomponents/p-Uqevvbqm.js +1 -0
- package/dist/webcomponents/{p-BIcS6lTe.js → p-VhOlg78I.js} +1 -1
- package/dist/webcomponents/{p-CQQ0H4Pb.js → p-ZrJKEEoy.js} +1 -1
- package/dist/webcomponents/{p-91b09245.entry.js → p-a49ca7d8.entry.js} +1 -1
- package/dist/webcomponents/{p-c4d919be.entry.js → p-a95dfc01.entry.js} +1 -1
- package/dist/webcomponents/{p-f72f67ef.entry.js → p-ab739e07.entry.js} +1 -1
- package/dist/webcomponents/{p-be0cbdf9.entry.js → p-ac1a4470.entry.js} +1 -1
- package/dist/webcomponents/{p-8a156528.entry.js → p-af48a6bb.entry.js} +1 -1
- package/dist/webcomponents/{p-164fe6d3.entry.js → p-b15f80c2.entry.js} +1 -1
- package/dist/webcomponents/{p-24621c40.entry.js → p-bc5d225e.entry.js} +1 -1
- package/dist/webcomponents/{p-81099469.entry.js → p-c67d86b1.entry.js} +1 -1
- package/dist/webcomponents/p-cbe349bf.entry.js +1 -0
- package/dist/webcomponents/p-cd5bf3c1.entry.js +1 -0
- package/dist/webcomponents/p-cdf94860.entry.js +1 -0
- package/dist/webcomponents/{p-5fcfedb2.entry.js → p-d160381c.entry.js} +1 -1
- package/dist/webcomponents/{p-72f5e234.entry.js → p-d812d34f.entry.js} +1 -1
- package/dist/webcomponents/p-d8fc3996.entry.js +1 -0
- package/dist/webcomponents/{p-5de4d9e4.entry.js → p-de09adac.entry.js} +1 -1
- package/dist/webcomponents/{p-c8e94ab9.entry.js → p-e06327aa.entry.js} +1 -1
- package/dist/webcomponents/{p-6190fbb7.entry.js → p-e3c111d5.entry.js} +1 -1
- package/dist/webcomponents/{p-82723f07.entry.js → p-ea6bda92.entry.js} +1 -1
- package/dist/webcomponents/p-edd335bb.entry.js +1 -0
- package/dist/webcomponents/{p-d8c2cea4.entry.js → p-ef89c7df.entry.js} +1 -1
- package/dist/webcomponents/{p-2f40f708.entry.js → p-f37f3e94.entry.js} +1 -1
- package/dist/webcomponents/p-f535328c.entry.js +1 -0
- package/dist/webcomponents/{p-890S0Nwr.js → p-fDGfMEwy.js} +1 -1
- package/dist/webcomponents/{p-c9bed02a.entry.js → p-ff411ffd.entry.js} +1 -1
- package/dist/webcomponents/{p-IYf7zn5J.js → p-q6C7btl0.js} +1 -1
- package/dist/webcomponents/{p-a6tcNl_T.js → p-tGDdRx0W.js} +1 -1
- package/dist/webcomponents/p-wYnnDDuR.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/terminals-list-params-state-BYpq-c6X.js +0 -22
- package/dist/esm/terminals-list-params-state-C_fug9R3.js +0 -16
- package/dist/webcomponents/p-0b36f1a8.entry.js +0 -1
- package/dist/webcomponents/p-0fgTPVV0.js +0 -1
- package/dist/webcomponents/p-1c362f36.entry.js +0 -1
- package/dist/webcomponents/p-30848456.entry.js +0 -1
- package/dist/webcomponents/p-4a0f34de.entry.js +0 -1
- package/dist/webcomponents/p-4d243123.entry.js +0 -1
- package/dist/webcomponents/p-5277f2a6.entry.js +0 -1
- package/dist/webcomponents/p-65090485.entry.js +0 -1
- package/dist/webcomponents/p-68aeb5bd.entry.js +0 -1
- package/dist/webcomponents/p-6d61092c.entry.js +0 -1
- package/dist/webcomponents/p-7498759d.entry.js +0 -1
- package/dist/webcomponents/p-760e739c.entry.js +0 -1
- package/dist/webcomponents/p-86372164.entry.js +0 -1
- package/dist/webcomponents/p-8a68be8f.entry.js +0 -1
- package/dist/webcomponents/p-BT473_5I.js +0 -1
- package/dist/webcomponents/p-BXMAoCNA.js +0 -1
- package/dist/webcomponents/p-BwBb2Opu.js +0 -1
- package/dist/webcomponents/p-C2JJBtMc.js +0 -1
- package/dist/webcomponents/p-CVtpEQBE.js +0 -1
- package/dist/webcomponents/p-DGsXKF67.js +0 -1
- package/dist/webcomponents/p-DIdnZUSh.js +0 -1
- package/dist/webcomponents/p-DOjVAAtq.js +0 -2
- package/dist/webcomponents/p-Dieke6TH.js +0 -1
- package/dist/webcomponents/p-DxVCqvBt.js +0 -1
- package/dist/webcomponents/p-Dyk0thEr.js +0 -1
- package/dist/webcomponents/p-DzWLLt4t.js +0 -1
- package/dist/webcomponents/p-NwmOm8Pg.js +0 -1
- package/dist/webcomponents/p-a42ec25b.entry.js +0 -1
- package/dist/webcomponents/p-a81f9fc3.entry.js +0 -1
- package/dist/webcomponents/p-aa51c9e6.entry.js +0 -1
- package/dist/webcomponents/p-b4b5dd24.entry.js +0 -1
- package/dist/webcomponents/p-b4bb6fa6.entry.js +0 -1
- package/dist/webcomponents/p-c796f813.entry.js +0 -1
- package/dist/webcomponents/p-c8656d20.entry.js +0 -1
- package/dist/webcomponents/p-d7558874.entry.js +0 -1
- package/dist/webcomponents/p-e2ab3f61.entry.js +0 -1
- package/dist/webcomponents/p-e4e6f3b8.entry.js +0 -1
- package/dist/webcomponents/p-e60e7f6a.entry.js +0 -1
- package/dist/webcomponents/p-f4a1d3da.entry.js +0 -1
- package/dist/webcomponents/p-fdf5a349.entry.js +0 -1
- package/dist/webcomponents/p-lKnUT24T.js +0 -1
- package/dist/webcomponents/p-yiqa5abX.js +0 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var Api = require('./Api-
|
|
5
|
-
var styledHost = require('./styled-host-
|
|
3
|
+
var index = require('./index-BhI7cJcE.js');
|
|
4
|
+
var Api = require('./Api-BeSnjEuW.js');
|
|
5
|
+
var styledHost = require('./styled-host-D5g7INLE.js');
|
|
6
6
|
require('./event-types-YOY5TKUN.js');
|
|
7
|
-
var skeleton = require('./skeleton-
|
|
8
|
-
var checkout_store = require('./checkout.store-
|
|
7
|
+
var skeleton = require('./skeleton-BF3HGL9X.js');
|
|
8
|
+
var checkout_store = require('./checkout.store-BiT7zKgX.js');
|
|
9
9
|
var parts = require('./parts-Pb06tUMp.js');
|
|
10
10
|
var utils = require('./utils-Bab-tddY.js');
|
|
11
|
-
var header1 = require('./header-1-
|
|
12
|
-
var insuranceState = require('./insurance-state-
|
|
13
|
-
var header3 = require('./header-3-
|
|
14
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
15
|
-
require('./config-state-
|
|
11
|
+
var header1 = require('./header-1-CBO8uDuZ.js');
|
|
12
|
+
var insuranceState = require('./insurance-state-BMHITXoD.js');
|
|
13
|
+
var header3 = require('./header-3-CPWtI1t0.js');
|
|
14
|
+
var checkPkgVersion = require('./check-pkg-version-NXr7H2Sp.js');
|
|
15
|
+
require('./config-state-CYoBVAca.js');
|
|
16
16
|
require('./dinero-BwNN_k7x.js');
|
|
17
17
|
var ComponentError = require('./ComponentError-D4OLnOkg.js');
|
|
18
18
|
var Refund = require('./Refund-BnhHNKLz.js');
|
|
@@ -20,11 +20,11 @@ require('./Pagination-Dediz133.js');
|
|
|
20
20
|
require('./Business-DWHy_-z9.js');
|
|
21
21
|
require('./Dispute-CruQTF6_.js');
|
|
22
22
|
var utils$1 = require('./utils-DvUQQLmR.js');
|
|
23
|
-
var checkout_service = require('./checkout.service-
|
|
23
|
+
var checkout_service = require('./checkout.service-Ce0F8cOf.js');
|
|
24
24
|
var index$1 = require('./index-C2ITzalN.js');
|
|
25
25
|
var paymentMethodOptionUtils = require('./payment-method-option-utils-WYHIHy-l.js');
|
|
26
|
-
require('./index-
|
|
27
|
-
require('./package-
|
|
26
|
+
require('./index-mmd0OhmD.js');
|
|
27
|
+
require('./package-DPdtuJhk.js');
|
|
28
28
|
|
|
29
29
|
var ApplePaySessionStatus;
|
|
30
30
|
(function (ApplePaySessionStatus) {
|
|
@@ -181,7 +181,8 @@ class ApplePayService {
|
|
|
181
181
|
'Sub-Account': accountId,
|
|
182
182
|
},
|
|
183
183
|
body: {
|
|
184
|
-
domain: window.location.host
|
|
184
|
+
domain: window.location.host,
|
|
185
|
+
display_name: this.applePayConfig.displayName
|
|
185
186
|
}
|
|
186
187
|
});
|
|
187
188
|
return response;
|
|
@@ -228,22 +229,15 @@ class ApplePayService {
|
|
|
228
229
|
* Start Apple Pay session
|
|
229
230
|
*/
|
|
230
231
|
async startPaymentSession(paymentRequest, authToken, accountId) {
|
|
231
|
-
// Begin
|
|
232
|
-
console.groupCollapsed('[ApplePayService] startPaymentSession called');
|
|
233
|
-
console.log('[ApplePayService] raw paymentRequest:', JSON.stringify(paymentRequest, null, 2));
|
|
234
|
-
console.log('[ApplePayService] has authToken:', Boolean(authToken));
|
|
235
|
-
console.log('[ApplePayService] accountId:', accountId);
|
|
236
|
-
console.log('[ApplePayService] has config:', Boolean(this.applePayConfig));
|
|
232
|
+
// Begin session
|
|
237
233
|
if (!this.applePayConfig) {
|
|
238
234
|
console.error('[ApplePayService] Missing applePayConfig. Did you call initialize()?');
|
|
239
|
-
console.groupEnd();
|
|
240
235
|
throw new Error('Apple Pay not initialized. Call initialize() first.');
|
|
241
236
|
}
|
|
242
237
|
// if (!this.isAvailable()) {
|
|
243
238
|
// throw new Error('Apple Pay is not available on this device/browser');
|
|
244
239
|
// }
|
|
245
240
|
const request = new ApplePayPaymentRequest(paymentRequest);
|
|
246
|
-
console.log('[ApplePayService] created ApplePayPaymentRequest:', request);
|
|
247
241
|
if (!request.isValid) {
|
|
248
242
|
const missingFields = [];
|
|
249
243
|
if (!request.countryCode)
|
|
@@ -258,17 +252,14 @@ class ApplePayService {
|
|
|
258
252
|
if (!request.total || !request.total.label || !request.total.amount)
|
|
259
253
|
missingFields.push('total');
|
|
260
254
|
console.error('[ApplePayService] Payment request is invalid. Missing/invalid:', missingFields);
|
|
261
|
-
console.groupEnd();
|
|
262
255
|
throw new Error('Invalid payment request provided');
|
|
263
256
|
}
|
|
264
257
|
this.currentPaymentRequest = request;
|
|
265
258
|
return new Promise((resolve, reject) => {
|
|
266
259
|
try {
|
|
267
|
-
console.log('[ApplePayService] About to instantiate ApplePaySession');
|
|
268
260
|
// Defensive checks for Apple Pay environment
|
|
269
261
|
if (typeof window === 'undefined' || !('ApplePaySession' in window)) {
|
|
270
262
|
console.error('[ApplePayService] ApplePaySession not available on window');
|
|
271
|
-
console.groupEnd();
|
|
272
263
|
return reject({
|
|
273
264
|
success: false,
|
|
274
265
|
error: {
|
|
@@ -278,16 +269,11 @@ class ApplePayService {
|
|
|
278
269
|
});
|
|
279
270
|
}
|
|
280
271
|
this.currentSession = new window.ApplePaySession(3, request);
|
|
281
|
-
console.log('[ApplePayService] ApplePaySession instantiated:', this.currentSession);
|
|
282
272
|
this.setupSessionEventHandlers(resolve, reject, authToken, accountId);
|
|
283
|
-
console.log('[ApplePayService] Event handlers set. Beginning session...');
|
|
284
273
|
this.currentSession.begin();
|
|
285
|
-
console.log('[ApplePayService] Session.begin() called');
|
|
286
|
-
console.groupEnd();
|
|
287
274
|
}
|
|
288
275
|
catch (error) {
|
|
289
276
|
console.error('[ApplePayService] Exception while starting session:', error);
|
|
290
|
-
console.groupEnd();
|
|
291
277
|
reject({
|
|
292
278
|
success: false,
|
|
293
279
|
error: {
|
|
@@ -325,18 +311,14 @@ class ApplePayService {
|
|
|
325
311
|
return;
|
|
326
312
|
}
|
|
327
313
|
this.currentSession.onvalidatemerchant = async () => {
|
|
328
|
-
console.groupCollapsed('[ApplePayService] onvalidatemerchant');
|
|
329
314
|
try {
|
|
330
|
-
console.log('[ApplePayService] accountId:', accountId);
|
|
331
315
|
if (!authToken) {
|
|
332
316
|
console.error('[ApplePayService] Missing authToken for merchant validation');
|
|
333
317
|
throw new Error('Authentication token not provided.');
|
|
334
318
|
}
|
|
335
319
|
const merchantSession = await this.validateMerchant(authToken, accountId);
|
|
336
|
-
console.log('[ApplePayService] merchantSession received');
|
|
337
320
|
try {
|
|
338
321
|
this.currentSession.completeMerchantValidation(merchantSession);
|
|
339
|
-
console.log('[ApplePayService] completeMerchantValidation called');
|
|
340
322
|
}
|
|
341
323
|
catch (completionError) {
|
|
342
324
|
console.error('Error calling completeMerchantValidation:', completionError);
|
|
@@ -360,30 +342,20 @@ class ApplePayService {
|
|
|
360
342
|
},
|
|
361
343
|
});
|
|
362
344
|
}
|
|
363
|
-
console.groupEnd();
|
|
364
345
|
};
|
|
365
346
|
this.currentSession.onpaymentauthorized = async (event) => {
|
|
366
|
-
var _a;
|
|
367
|
-
console.groupCollapsed('[ApplePayService] onpaymentauthorized');
|
|
368
347
|
try {
|
|
369
348
|
const payment = event.payment;
|
|
370
|
-
console.log('[ApplePayService] payment payload snapshot:', {
|
|
371
|
-
hasToken: Boolean(payment === null || payment === void 0 ? void 0 : payment.token),
|
|
372
|
-
tokenType: ((_a = payment === null || payment === void 0 ? void 0 : payment.token) === null || _a === void 0 ? void 0 : _a.paymentData) ? 'paymentData' : 'raw',
|
|
373
|
-
});
|
|
374
349
|
const paymentPayload = Object.assign(Object.assign({}, payment.token), { product_details: {
|
|
375
350
|
name: this.currentPaymentRequest.total.label,
|
|
376
351
|
price: ApplePayHelpers.parseAmount(this.currentPaymentRequest.total.amount),
|
|
377
352
|
description: this.currentPaymentRequest.total.label,
|
|
378
353
|
} });
|
|
379
|
-
console.log('[ApplePayService] paymentPayload prepared');
|
|
380
354
|
const paymentResult = await this.processPayment(authToken, accountId, paymentPayload);
|
|
381
|
-
console.log('[ApplePayService] processPayment result:', paymentResult);
|
|
382
355
|
if (paymentResult.success) {
|
|
383
356
|
this.currentSession.completePayment({
|
|
384
357
|
status: ApplePaySessionStatus.STATUS_SUCCESS,
|
|
385
358
|
});
|
|
386
|
-
console.log('[ApplePayService] Payment success; resolving');
|
|
387
359
|
resolve({
|
|
388
360
|
success: true,
|
|
389
361
|
token: payment.token,
|
|
@@ -424,40 +396,31 @@ class ApplePayService {
|
|
|
424
396
|
});
|
|
425
397
|
}
|
|
426
398
|
finally {
|
|
427
|
-
console.log('[ApplePayService] Cleaning up session state');
|
|
428
399
|
this.currentSession = undefined;
|
|
429
400
|
this.currentPaymentRequest = undefined;
|
|
430
401
|
}
|
|
431
|
-
console.groupEnd();
|
|
432
402
|
};
|
|
433
403
|
this.currentSession.onpaymentmethodselected = () => {
|
|
434
|
-
console.groupCollapsed('[ApplePayService] onpaymentmethodselected');
|
|
435
404
|
const paymentUpdate = {
|
|
436
405
|
newTotal: this.currentPaymentRequest.total,
|
|
437
406
|
newLineItems: this.currentPaymentRequest.lineItems || [],
|
|
438
407
|
};
|
|
439
408
|
try {
|
|
440
409
|
this.currentSession.completePaymentMethodSelection(paymentUpdate);
|
|
441
|
-
console.log('[ApplePayService] completePaymentMethodSelection called');
|
|
442
410
|
}
|
|
443
411
|
catch (error) {
|
|
444
412
|
console.error('Error completing payment method selection:', error);
|
|
445
413
|
this.currentSession.abort();
|
|
446
414
|
}
|
|
447
|
-
console.groupEnd();
|
|
448
415
|
};
|
|
449
416
|
this.currentSession.onshippingmethodselected = () => {
|
|
450
|
-
console.groupCollapsed('[ApplePayService] onshippingmethodselected');
|
|
451
417
|
this.currentSession.completeShippingMethodSelection({
|
|
452
418
|
status: ApplePaySessionStatus.STATUS_SUCCESS,
|
|
453
419
|
newTotal: this.currentPaymentRequest.total,
|
|
454
420
|
newLineItems: this.currentPaymentRequest.lineItems || [],
|
|
455
421
|
});
|
|
456
|
-
console.log('[ApplePayService] completeShippingMethodSelection called');
|
|
457
|
-
console.groupEnd();
|
|
458
422
|
};
|
|
459
423
|
this.currentSession.oncancel = (event) => {
|
|
460
|
-
console.groupCollapsed('[ApplePayService] oncancel');
|
|
461
424
|
if (event.sessionError) {
|
|
462
425
|
console.error(event.sessionError);
|
|
463
426
|
switch (event.sessionError.code) {
|
|
@@ -488,11 +451,9 @@ class ApplePayService {
|
|
|
488
451
|
message: 'User cancelled the Apple Pay session',
|
|
489
452
|
},
|
|
490
453
|
});
|
|
491
|
-
console.groupEnd();
|
|
492
454
|
};
|
|
493
455
|
if ('onerror' in this.currentSession) {
|
|
494
456
|
this.currentSession.onerror = (error) => {
|
|
495
|
-
console.groupCollapsed('[ApplePayService] onerror');
|
|
496
457
|
console.error('=== APPLE PAY SESSION ERROR ===');
|
|
497
458
|
console.error('Session error:', error);
|
|
498
459
|
this.currentSession = undefined;
|
|
@@ -504,7 +465,6 @@ class ApplePayService {
|
|
|
504
465
|
message: 'Apple Pay session error occurred',
|
|
505
466
|
},
|
|
506
467
|
});
|
|
507
|
-
console.groupEnd();
|
|
508
468
|
};
|
|
509
469
|
}
|
|
510
470
|
}
|
|
@@ -711,14 +671,6 @@ const ApplePay = class {
|
|
|
711
671
|
this.isProcessing = true;
|
|
712
672
|
this.error = null;
|
|
713
673
|
this.applePayStarted.emit();
|
|
714
|
-
console.groupCollapsed('[ApplePay Component] handleApplePayClick');
|
|
715
|
-
console.log('[ApplePay Component] click context:', {
|
|
716
|
-
isProcessing: this.isProcessing,
|
|
717
|
-
disabled: this.disabled,
|
|
718
|
-
isAvailable: this.isAvailable,
|
|
719
|
-
canMakePayments: this.canMakePayments,
|
|
720
|
-
hasService: Boolean(this.applePayService),
|
|
721
|
-
});
|
|
722
674
|
const paymentRequest = {
|
|
723
675
|
countryCode: this.countryCode,
|
|
724
676
|
currencyCode: checkout_store.checkoutStore.paymentCurrency,
|
|
@@ -730,13 +682,7 @@ const ApplePay = class {
|
|
|
730
682
|
supportedNetworks: ApplePayHelpers.getDefaultSupportedNetworks(),
|
|
731
683
|
total: ApplePayHelpers.createLineItem(checkout_store.checkoutStore.paymentDescription, checkout_store.checkoutStore.paymentAmount),
|
|
732
684
|
};
|
|
733
|
-
console.log("[ApplePay Component] paymentRequest", paymentRequest);
|
|
734
|
-
console.log('[ApplePay Component] identifiers snapshot:', {
|
|
735
|
-
authTokenLength: checkout_store.checkoutStore.authToken ? String(checkout_store.checkoutStore.authToken).length : 0,
|
|
736
|
-
accountId: checkout_store.checkoutStore.accountId,
|
|
737
|
-
});
|
|
738
685
|
const result = await this.applePayService.startPaymentSession(paymentRequest, checkout_store.checkoutStore.authToken, checkout_store.checkoutStore.accountId);
|
|
739
|
-
console.log("[ApplePay Component] startPaymentSession result", result);
|
|
740
686
|
if (result.success) {
|
|
741
687
|
this.applePayCompleted.emit({
|
|
742
688
|
success: true,
|
|
@@ -766,7 +712,6 @@ const ApplePay = class {
|
|
|
766
712
|
}
|
|
767
713
|
finally {
|
|
768
714
|
this.isProcessing = false;
|
|
769
|
-
console.groupEnd();
|
|
770
715
|
}
|
|
771
716
|
};
|
|
772
717
|
}
|
|
@@ -775,13 +720,6 @@ const ApplePay = class {
|
|
|
775
720
|
this.isLoading = true;
|
|
776
721
|
this.error = null;
|
|
777
722
|
this.isConfigValid = true;
|
|
778
|
-
console.groupCollapsed('[ApplePay Component] initializeApplePay');
|
|
779
|
-
console.log('[ApplePay Component] checkout state snapshot:', {
|
|
780
|
-
paymentAmount: checkout_store.checkoutStore.paymentAmount,
|
|
781
|
-
paymentCurrency: checkout_store.checkoutStore.paymentCurrency,
|
|
782
|
-
hasAuthToken: Boolean(checkout_store.checkoutStore.authToken),
|
|
783
|
-
accountId: checkout_store.checkoutStore.accountId,
|
|
784
|
-
});
|
|
785
723
|
const hasRequiredConfig = Boolean(checkout_store.checkoutStore.paymentAmount) &&
|
|
786
724
|
Boolean(checkout_store.checkoutStore.paymentCurrency) &&
|
|
787
725
|
Boolean(checkout_store.checkoutStore.authToken);
|
|
@@ -796,22 +734,15 @@ const ApplePay = class {
|
|
|
796
734
|
});
|
|
797
735
|
this.applePayError.emit({ error: this.error, code: ApplePay.ErrorCode.CONFIG_ERROR });
|
|
798
736
|
this.isLoading = false;
|
|
799
|
-
console.groupEnd();
|
|
800
737
|
return;
|
|
801
738
|
}
|
|
802
739
|
this.isAvailable = ApplePayHelpers.isApplePaySupported();
|
|
803
740
|
this.canMakePayments = ApplePayHelpers.canMakePayments();
|
|
804
|
-
console.log('[ApplePay Component] support check:', {
|
|
805
|
-
isAvailable: this.isAvailable,
|
|
806
|
-
canMakePayments: this.canMakePayments,
|
|
807
|
-
hasApplePaySessionOnWindow: typeof window !== 'undefined' && 'ApplePaySession' in window,
|
|
808
|
-
});
|
|
809
741
|
if (!this.isAvailable) {
|
|
810
742
|
this.error = "Apple Pay is not supported on this device";
|
|
811
743
|
console.error(this.error);
|
|
812
744
|
this.applePayError.emit({ error: this.error, code: ApplePay.ErrorCode.NOT_SUPPORTED });
|
|
813
745
|
this.isLoading = false;
|
|
814
|
-
console.groupEnd();
|
|
815
746
|
return;
|
|
816
747
|
}
|
|
817
748
|
if (!this.canMakePayments) {
|
|
@@ -819,7 +750,6 @@ const ApplePay = class {
|
|
|
819
750
|
console.error(this.error);
|
|
820
751
|
this.applePayError.emit({ error: this.error, code: ApplePay.ErrorCode.NOT_AVAILABLE });
|
|
821
752
|
this.isLoading = false;
|
|
822
|
-
console.groupEnd();
|
|
823
753
|
return;
|
|
824
754
|
}
|
|
825
755
|
const applePayConfig = {
|
|
@@ -830,7 +760,6 @@ const ApplePay = class {
|
|
|
830
760
|
buttonType: this.buttonType,
|
|
831
761
|
buttonStyle: this.buttonStyle,
|
|
832
762
|
};
|
|
833
|
-
console.log('[ApplePay Component] initializing service with config:', applePayConfig);
|
|
834
763
|
this.applePayService = new ApplePayService();
|
|
835
764
|
this.applePayService.initialize(applePayConfig);
|
|
836
765
|
const hasActiveCard = await this.applePayService.canMakePaymentsWithActiveCard();
|
|
@@ -848,7 +777,6 @@ const ApplePay = class {
|
|
|
848
777
|
}
|
|
849
778
|
finally {
|
|
850
779
|
this.isLoading = false;
|
|
851
|
-
console.groupEnd();
|
|
852
780
|
}
|
|
853
781
|
}
|
|
854
782
|
async isSupported() {
|
|
@@ -868,7 +796,6 @@ const ApplePay = class {
|
|
|
868
796
|
render() {
|
|
869
797
|
if (!checkout_store.checkoutStore.applePayEnabled) {
|
|
870
798
|
// Render nothing when Apple Pay is disabled at the checkout settings level
|
|
871
|
-
console.log('[ApplePay Component] Apple Pay disabled in checkout settings; not rendering');
|
|
872
799
|
return null;
|
|
873
800
|
}
|
|
874
801
|
const isReady = !this.isLoading &&
|
|
@@ -876,7 +803,6 @@ const ApplePay = class {
|
|
|
876
803
|
this.canMakePayments &&
|
|
877
804
|
this.isConfigValid;
|
|
878
805
|
return (index.h(styledHost.StyledHost, null, checkout_store.checkoutStore.checkoutLoaded && (index.h("script", { async: true, src: 'https://applepay.cdn-apple.com/jsapi/1.latest/apple-pay-sdk.js', onLoad: () => {
|
|
879
|
-
console.log('[ApplePay Component] Apple Pay SDK script loaded');
|
|
880
806
|
this.initializeApplePay();
|
|
881
807
|
} })), index.h("div", { class: 'apple-pay-container' }, index.h(ApplePaySkeleton, { isLoading: this.isLoading }), isReady && (index.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 }))), index.h("style", null, `
|
|
882
808
|
.apple-pay-container {
|
|
@@ -899,7 +825,7 @@ const Summary = class {
|
|
|
899
825
|
index.registerInstance(this, hostRef);
|
|
900
826
|
}
|
|
901
827
|
render() {
|
|
902
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
828
|
+
return (index.h(styledHost.StyledHost, { key: 'fd2c61dcafdc800d0064c19d29c6e007aed5adb5' }, index.h("section", { key: 'f2abef1233f3ccad3982d10c61ec5765e13e27a5' }, index.h("div", { key: '713d66ef6f7e2fc73135e765069baba6df976f52' }, index.h("div", { key: 'b8dd28f257948aa317366fe3ea6d2bc4911ef164', part: parts.text }, checkout_store.checkoutStore === null || checkout_store.checkoutStore === void 0 ? void 0 : checkout_store.checkoutStore.paymentDescription), index.h("div", { key: '675676b40de7dc27d07bfafc0eee77eb855a3d26' }, index.h("span", { key: 'cbd47994d9c3f1518741a298de3f5d62a0ad5313', part: parts.text }, "Total"), "\u00A0", index.h("span", { key: '614748853f666f1b072d4fa9b14ee15ef5717112', part: parts.text }, utils.formatCurrency(+(checkout_store.checkoutStore === null || checkout_store.checkoutStore === void 0 ? void 0 : checkout_store.checkoutStore.totalAmount))))))));
|
|
903
829
|
}
|
|
904
830
|
};
|
|
905
831
|
|
|
@@ -915,7 +841,7 @@ const Header = class {
|
|
|
915
841
|
}
|
|
916
842
|
render() {
|
|
917
843
|
const HeaderComponent = this.levels[this.level];
|
|
918
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
844
|
+
return (index.h(styledHost.StyledHost, { key: '89edcc4c5a478317da615d276af05cac241c1867' }, index.h(HeaderComponent, { key: 'a5c01967f8809fd6b824ddc8730599041ae31822', text: this.text, class: this.class })));
|
|
919
845
|
}
|
|
920
846
|
};
|
|
921
847
|
|
|
@@ -1326,6 +1252,17 @@ const ModularCheckout = class {
|
|
|
1326
1252
|
payment_mode: mapTypeToPaymentMode((_e = checkout_store.checkoutStore.selectedPaymentMethod) === null || _e === void 0 ? void 0 : _e.type),
|
|
1327
1253
|
payment_token: checkout_store.checkoutStore.paymentToken,
|
|
1328
1254
|
};
|
|
1255
|
+
if (this.preCompleteHook) {
|
|
1256
|
+
const state = checkout_store.getCheckoutState();
|
|
1257
|
+
try {
|
|
1258
|
+
await new Promise((resolve, reject) => {
|
|
1259
|
+
this.preCompleteHook(state, () => resolve(), () => reject());
|
|
1260
|
+
});
|
|
1261
|
+
}
|
|
1262
|
+
catch (_f) {
|
|
1263
|
+
return;
|
|
1264
|
+
}
|
|
1265
|
+
}
|
|
1329
1266
|
this.completeCheckout({
|
|
1330
1267
|
payment,
|
|
1331
1268
|
onSuccess: ({ checkout }) => {
|
|
@@ -1344,7 +1281,7 @@ const ModularCheckout = class {
|
|
|
1344
1281
|
});
|
|
1345
1282
|
}
|
|
1346
1283
|
render() {
|
|
1347
|
-
return index.h(index.Host, { key: '
|
|
1284
|
+
return index.h(index.Host, { key: '56a003ca1e1ac4bdc1baa8f862cdb05b2d8af4b1' });
|
|
1348
1285
|
}
|
|
1349
1286
|
get hostEl() { return index.getElement(this); }
|
|
1350
1287
|
};
|
|
@@ -2285,7 +2222,7 @@ const TokenizePaymentMethod = class {
|
|
|
2285
2222
|
return paymentMethodType === index$1.PAYMENT_METHODS.NEW_CARD ? (index.h("justifi-card-form", { ref: (el) => (this.paymentMethodFormRef = el) })) : (index.h("justifi-bank-account-form", { ref: (el) => (this.paymentMethodFormRef = el) }));
|
|
2286
2223
|
}
|
|
2287
2224
|
render() {
|
|
2288
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
2225
|
+
return (index.h(styledHost.StyledHost, { key: '805537f9c210dd7d2cd6fa101659c143d716e187' }, index.h("form", { key: 'c05caa0149784c7653021eb58b8eb41e1119e93c' }, index.h("fieldset", { key: '885abce69e70089d9841b9f866b41f9469a84437' }, index.h("div", { key: '0411d66e395077e3442dacab459f6c9150d16d4e', class: "row gy-3" }, index.h("div", { key: '1fa3dd928574a04b22ccca6a1727d4c8d602eea7', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), index.h("div", { key: 'ec3db8e32cd0c6205992225df7e7c317e9d2a7b0', class: "col-12" }, index.h("justifi-button", { key: '0eaba5f83caaf693fb110dfabfb78e2898d946df', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
|
|
2289
2226
|
}
|
|
2290
2227
|
get host() { return index.getElement(this); }
|
|
2291
2228
|
static get watchers() { return {
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-BhI7cJcE.js');
|
|
4
4
|
var index_esm = require('./index.esm-ByC0D4sJ.js');
|
|
5
|
-
var schemaValidations = require('./schema-validations-
|
|
5
|
+
var schemaValidations = require('./schema-validations-AxtufX7q.js');
|
|
6
6
|
var parts = require('./parts-Pb06tUMp.js');
|
|
7
|
-
var styledHost = require('./styled-host-
|
|
7
|
+
var styledHost = require('./styled-host-D5g7INLE.js');
|
|
8
8
|
require('./event-types-YOY5TKUN.js');
|
|
9
|
-
var skeleton = require('./skeleton-
|
|
10
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
11
|
-
var configState = require('./config-state-
|
|
9
|
+
var skeleton = require('./skeleton-BF3HGL9X.js');
|
|
10
|
+
var checkPkgVersion = require('./check-pkg-version-NXr7H2Sp.js');
|
|
11
|
+
var configState = require('./config-state-CYoBVAca.js');
|
|
12
12
|
var index$1 = require('./index-C2ITzalN.js');
|
|
13
|
-
var header3 = require('./header-3-
|
|
13
|
+
var header3 = require('./header-3-CPWtI1t0.js');
|
|
14
14
|
var utils = require('./utils-DAyWinG2.js');
|
|
15
15
|
var Business = require('./Business-DWHy_-z9.js');
|
|
16
|
-
var button = require('./button-
|
|
17
|
-
var checkout_store = require('./checkout.store-
|
|
16
|
+
var button = require('./button-CARQPDm-.js');
|
|
17
|
+
var checkout_store = require('./checkout.store-BiT7zKgX.js');
|
|
18
18
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
19
19
|
require('./country-config-MCOhn8o3.js');
|
|
20
20
|
require('./business-form-options-e9UFw4P-.js');
|
|
21
|
-
require('./package-
|
|
22
|
-
require('./Api-
|
|
21
|
+
require('./package-DPdtuJhk.js');
|
|
22
|
+
require('./Api-BeSnjEuW.js');
|
|
23
23
|
require('./utils-Bab-tddY.js');
|
|
24
24
|
require('./dinero-BwNN_k7x.js');
|
|
25
25
|
require('./ComponentError-D4OLnOkg.js');
|
|
26
26
|
require('./Refund-BnhHNKLz.js');
|
|
27
27
|
require('./Dispute-CruQTF6_.js');
|
|
28
28
|
require('./Pagination-Dediz133.js');
|
|
29
|
-
require('./index-
|
|
29
|
+
require('./index-mmd0OhmD.js');
|
|
30
30
|
|
|
31
31
|
const JustifiRadioListItem = class {
|
|
32
32
|
constructor(hostRef) {
|
|
@@ -147,10 +147,10 @@ const BankAccountForm = class {
|
|
|
147
147
|
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
148
148
|
}
|
|
149
149
|
render() {
|
|
150
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
150
|
+
return (index.h(styledHost.StyledHost, { key: '62431aba939585a8a341942d9847e8d491b0a658' }, index.h(BankAccountFormSkeleton, { key: '2da8452c73e52a6fc67d80e483c40a2d0dd276f9', isReady: this.isReady }), index.h("hidden-input", { key: 'c34bc48ee7e1925ae272b5fe60fd362ddf2433eb' }), index.h("div", { key: '3fefe63e9f9c98d7e08e0ceac5df0f8008303aec', class: "container-fluid p-0", style: {
|
|
151
151
|
opacity: this.isReady ? '1' : '0',
|
|
152
152
|
height: this.isReady ? 'auto' : '0',
|
|
153
|
-
} }, index.h("div", { key: '
|
|
153
|
+
} }, index.h("div", { key: '6c19ea238eb0bff6b245f2f39028d651438c55d0', class: "row mb-3" }, index.h("iframe-input", { key: 'b5588dc21d24ec873fecedd91fbcb0344fbe324c', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), index.h("div", { key: '910f130a307449a3d60ef76eee6cc27fc86c3fe0', class: "row" }, index.h("iframe-input", { key: '72756b92912c3031cc472dee5bbf945f06c38920', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
|
|
154
154
|
}
|
|
155
155
|
};
|
|
156
156
|
|
|
@@ -231,7 +231,7 @@ const JustifiButton = class {
|
|
|
231
231
|
this.type = 'button';
|
|
232
232
|
}
|
|
233
233
|
render() {
|
|
234
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
234
|
+
return (index.h(styledHost.StyledHost, { key: '4303daf453d356b8111a2a00f821bc83cdd658c5' }, index.h(button.Button, { key: '7c1b0a71ac3274bb03218a8d921d5dc39bc48528', variant: this.variant, isLoading: this.isLoading, clickHandler: this.clickHandler, class: this.class, type: this.type, disabled: this.disabled, style: this.customStyle }, this.text)));
|
|
235
235
|
}
|
|
236
236
|
};
|
|
237
237
|
|
|
@@ -318,10 +318,10 @@ const JustifiCardForm = class {
|
|
|
318
318
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
319
319
|
}
|
|
320
320
|
render() {
|
|
321
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
321
|
+
return (index.h(styledHost.StyledHost, { key: '0db53b1dace76a8e02bab9f65fdc70e20f440a62' }, index.h(CardFormSkeleton, { key: 'ea756f1799b01b81a678ce5bd2592551edd81211', isReady: this.isReady }), index.h("hidden-input", { key: 'a6203630db26bfbb683e2b45174c79d753154eda' }), index.h("div", { key: 'dbb6328ba3a27106474f6b9af6fc3c347b99ae7d', class: "container-fluid p-0", style: {
|
|
322
322
|
opacity: this.isReady ? '1' : '0',
|
|
323
323
|
height: this.isReady ? 'auto' : '0',
|
|
324
|
-
} }, index.h("div", { key: '
|
|
324
|
+
} }, index.h("div", { key: '64055e42612ce94da35022d7e8314ed917f90f8a', class: "mb-3" }, index.h("iframe-input", { key: 'e99008d298b6ec6e22ff5a4e73042e3e8805f09b', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), index.h("div", { key: '34ed1849877a47fe6ec32f443472fa9c913dae67', class: "row" }, index.h("div", { key: '39bfdd5c8dd6271315a09cd3022083fe4b45f5ea', class: "col-4 align-content-end" }, index.h("iframe-input", { key: '981b65ebd142396312d09df8927fd5d08a5dea72', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), index.h("div", { key: 'a6fee6c1cc609b665b3ba9935190a43a118c5e5c', class: "col-4 align-content-end" }, index.h("iframe-input", { key: '257b738139e182dc6e9f6a6893f8b6a0bc3f6b69', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), index.h("div", { key: '523316b64f673cdf89b5d01c1ecf4cf25ccef246', class: "col-4 align-content-end" }, index.h("iframe-input", { key: '37305b54e421d759ded57b0f9de7743a07be4b5b', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
|
|
325
325
|
}
|
|
326
326
|
};
|
|
327
327
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var utils = require('./utils-
|
|
5
|
-
var business_service = require('./business.service-
|
|
3
|
+
var index = require('./index-BhI7cJcE.js');
|
|
4
|
+
var utils = require('./utils-Cjq3ZCad.js');
|
|
5
|
+
var business_service = require('./business.service-DIlSj5KT.js');
|
|
6
6
|
var getBusiness = require('./get-business-D9ZHyPem.js');
|
|
7
7
|
var ComponentError = require('./ComponentError-D4OLnOkg.js');
|
|
8
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
8
|
+
var checkPkgVersion = require('./check-pkg-version-NXr7H2Sp.js');
|
|
9
9
|
require('./parts-Pb06tUMp.js');
|
|
10
|
-
require('./Api-
|
|
11
|
-
require('./config-state-
|
|
12
|
-
require('./index-
|
|
10
|
+
require('./Api-BeSnjEuW.js');
|
|
11
|
+
require('./config-state-CYoBVAca.js');
|
|
12
|
+
require('./index-mmd0OhmD.js');
|
|
13
13
|
require('./utils-Bab-tddY.js');
|
|
14
14
|
require('./dinero-BwNN_k7x.js');
|
|
15
15
|
require('./Refund-BnhHNKLz.js');
|
|
@@ -17,7 +17,7 @@ require('./Dispute-CruQTF6_.js');
|
|
|
17
17
|
require('./Pagination-Dediz133.js');
|
|
18
18
|
require('./Business-DWHy_-z9.js');
|
|
19
19
|
require('./utils-DvUQQLmR.js');
|
|
20
|
-
require('./package-
|
|
20
|
+
require('./package-DPdtuJhk.js');
|
|
21
21
|
|
|
22
22
|
const BusinessDetails = class {
|
|
23
23
|
constructor(hostRef) {
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-BhI7cJcE.js');
|
|
4
4
|
var index_esm = require('./index.esm-ByC0D4sJ.js');
|
|
5
|
-
var businessAdditionalQuestionsSchema = require('./business-additional-questions-schema-
|
|
6
|
-
var businessIdentitySchema = require('./business-identity-schema-
|
|
7
|
-
require('./config-state-
|
|
5
|
+
var businessAdditionalQuestionsSchema = require('./business-additional-questions-schema-BzHg6qqg.js');
|
|
6
|
+
var businessIdentitySchema = require('./business-identity-schema-Di-jf6nr.js');
|
|
7
|
+
require('./config-state-CYoBVAca.js');
|
|
8
8
|
require('./dinero-BwNN_k7x.js');
|
|
9
9
|
var ComponentError = require('./ComponentError-D4OLnOkg.js');
|
|
10
10
|
require('./Refund-BnhHNKLz.js');
|
|
11
11
|
require('./Pagination-Dediz133.js');
|
|
12
12
|
var Business = require('./Business-DWHy_-z9.js');
|
|
13
13
|
require('./Dispute-CruQTF6_.js');
|
|
14
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
15
|
-
var button = require('./button-
|
|
16
|
-
var styledHost = require('./styled-host-
|
|
17
|
-
var header1 = require('./header-1-
|
|
14
|
+
var checkPkgVersion = require('./check-pkg-version-NXr7H2Sp.js');
|
|
15
|
+
var button = require('./button-CARQPDm-.js');
|
|
16
|
+
var styledHost = require('./styled-host-D5g7INLE.js');
|
|
17
|
+
var header1 = require('./header-1-CBO8uDuZ.js');
|
|
18
18
|
require('./event-types-YOY5TKUN.js');
|
|
19
|
-
var skeleton = require('./skeleton-
|
|
19
|
+
var skeleton = require('./skeleton-BF3HGL9X.js');
|
|
20
20
|
var eventTypes = require('./event-types-DNOUef41.js');
|
|
21
21
|
var paymentProvisioningActions = require('./payment-provisioning-actions-CZVlnRA0.js');
|
|
22
|
-
var business_service = require('./business.service-
|
|
22
|
+
var business_service = require('./business.service-DIlSj5KT.js');
|
|
23
23
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
24
|
-
require('./schema-validations-
|
|
24
|
+
require('./schema-validations-AxtufX7q.js');
|
|
25
25
|
require('./country-config-MCOhn8o3.js');
|
|
26
26
|
require('./business-form-options-e9UFw4P-.js');
|
|
27
|
-
require('./index-
|
|
27
|
+
require('./index-mmd0OhmD.js');
|
|
28
28
|
require('./utils-Bab-tddY.js');
|
|
29
|
-
require('./package-
|
|
30
|
-
require('./Api-
|
|
29
|
+
require('./package-DPdtuJhk.js');
|
|
30
|
+
require('./Api-BeSnjEuW.js');
|
|
31
31
|
require('./parts-Pb06tUMp.js');
|
|
32
32
|
require('./utils-DvUQQLmR.js');
|
|
33
33
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-BhI7cJcE.js');
|
|
4
4
|
var inputHandlers = require('./input-handlers-D6QMwPTB.js');
|
|
5
5
|
var formInputMasks = require('./form-input-masks-BnNFJ3IJ.js');
|
|
6
6
|
var parts = require('./parts-Pb06tUMp.js');
|
|
@@ -22,12 +22,12 @@ const RepresentativeFormInputs = class {
|
|
|
22
22
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
23
23
|
return (index.h("form", { key: '7f2a20427197ce4f402c1b4b859839d506613769' }, index.h("fieldset", { key: 'fe71959a012c1961b6f91d98862ca4ea9411bf6d' }, index.h("div", { key: '801fb53d33eeff75f82552da84210abfb1daa55d', class: "d-flex align-items-center gap-2" }, index.h("legend", { key: '63486b252a7c4f71e944712a833a2edc762c1692', class: "mb-0", part: parts.heading2 }, "Representative"), index.h("form-control-tooltip", { key: '9a22a232bb856c05ca8c75a0255ea8a2b33b8a80', helpText: "The representative for your business needs to be someone who has significant control over managing your business\u2019s finance. You will have an opportunity to add owners later in the form." })), index.h("hr", { key: 'b29a6dcd41991b2874cb64fc3cd058f3bcf10a48', class: "mt-2" }), index.h("div", { key: '52e2b29c6f915f50e1f33c19363657e657355b85', class: "row gy-3" }, index.h("div", { key: '9531872c804ef3713c0778c6bff1d3ca589bb3d5', class: "col-12 col-md-8" }, index.h("form-control-text", { key: 'd1eedf80da0790767a6c294f084c4b9d4112b9cf', name: "name", label: "Full Name", defaultValue: (_a = this.representativeDefaultValue) === null || _a === void 0 ? void 0 : _a.name, errorText: this.errors.name, inputHandler: this.inputHandler })), index.h("div", { key: 'b5effb996c7b97cd5a8815781474ea32e5bc37b6', class: "col-12 col-md-4" }, index.h("form-control-text", { key: '554a6fe90a0c68a32ae7e6b0401e43a8a2d6c7fe', name: "title", label: "Title", defaultValue: (_b = this.representativeDefaultValue) === null || _b === void 0 ? void 0 : _b.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), index.h("div", { key: '6025d1b2b67120a9e9e25d0a6e3e352651759c62', class: "col-12 col-md-6" }, index.h("form-control-text", { key: 'ed758eafa726ee6801c16535fbba7d05886c21d5', name: "email", label: "Email Address", defaultValue: (_c = this.representativeDefaultValue) === null || _c === void 0 ? void 0 : _c.email, errorText: this.errors.email, inputHandler: this.inputHandler })), index.h("div", { key: '933650753a5fdc6f75db658baf536ce4033e0e6c', class: "col-12 col-md-6" }, index.h("form-control-number-masked", { key: '81ba9debb6c8fd8225c67a0c0a6b8612e87fc3f0', name: "phone", label: "Phone Number", defaultValue: (_d = this.representativeDefaultValue) === null || _d === void 0 ? void 0 : _d.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: formInputMasks.PHONE_MASKS.US })), index.h("div", { key: '913c766d6eb5fe5f132eafecba91145a6c418dae', class: "col-12 col-md-4" }, index.h("form-control-date", { key: 'c50e5ad2022906d753b783e7892be8322d80661c', name: "dob_full", label: "Birth Date", defaultValue: (_e = this.representativeDefaultValue) === null || _e === void 0 ? void 0 : _e.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => inputHandlers.updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), index.h("div", { key: '74492ad88a4962c2abfd04319880edb757d78796', class: "col-12 col-md-8" }, (!((_f = this.representativeDefaultValue) === null || _f === void 0 ? void 0 : _f.ssn_last4) || this.isEditingIdentification) ? (index.h("form-control-number-masked", { name: "identification_number", label: countryConfig.countryLabels[this.country].idNumberLabel, defaultValue: this.isEditingIdentification ? '' : (_g = this.representativeDefaultValue) === null || _g === void 0 ? void 0 : _g.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: formInputMasks.IDENTITY_MASKS[this.country], helpText: countryConfig.countryLabels[this.country].identityHelpText })) : (index.h("div", null, index.h("label", { class: "form-label", part: parts.label }, countryConfig.countryLabels[this.country].idNumberLabel), index.h("div", { class: "input-group mb-3" }, index.h("input", { type: "text", class: "form-control", part: parts.inputDisabled, value: `****${(_h = this.representativeDefaultValue) === null || _h === void 0 ? void 0 : _h.ssn_last4}`, disabled: true }), index.h("button", { class: "btn btn-secondary", type: "button", part: parts.buttonSecondary, onClick: () => {
|
|
24
24
|
this.isEditingIdentification = true;
|
|
25
|
-
// Clear
|
|
25
|
+
// Clear current value to force validation
|
|
26
26
|
inputHandlers.updateFormValues(this.formController, {
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
identification_number: '',
|
|
28
|
+
ssn_last4: null
|
|
29
29
|
});
|
|
30
|
-
} }, "Change"))))), index.h("div", { key: '
|
|
30
|
+
} }, "Change"))))), index.h("div", { key: 'dd27d90284c7eac1ec619622bf3e25b28360fe4c', class: "col-12" }, index.h("justifi-identity-address-form", { key: 'fa011614b624b6ad395f304552ff334d64d2c048', errors: this.errors.address, defaultValues: (_j = this.representativeDefaultValue) === null || _j === void 0 ? void 0 : _j.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))))));
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
5
|
-
var checkout_store = require('./checkout.store-
|
|
3
|
+
var index = require('./index-BhI7cJcE.js');
|
|
4
|
+
var checkPkgVersion = require('./check-pkg-version-NXr7H2Sp.js');
|
|
5
|
+
var checkout_store = require('./checkout.store-BiT7zKgX.js');
|
|
6
6
|
var parts = require('./parts-Pb06tUMp.js');
|
|
7
|
-
var styledHost = require('./styled-host-
|
|
7
|
+
var styledHost = require('./styled-host-D5g7INLE.js');
|
|
8
8
|
require('./event-types-YOY5TKUN.js');
|
|
9
9
|
var index$1 = require('./index-C2ITzalN.js');
|
|
10
|
-
require('./package-
|
|
11
|
-
require('./Api-
|
|
12
|
-
require('./config-state-
|
|
13
|
-
require('./index-
|
|
10
|
+
require('./package-DPdtuJhk.js');
|
|
11
|
+
require('./Api-BeSnjEuW.js');
|
|
12
|
+
require('./config-state-CYoBVAca.js');
|
|
13
|
+
require('./index-mmd0OhmD.js');
|
|
14
14
|
require('./utils-Bab-tddY.js');
|
|
15
15
|
require('./dinero-BwNN_k7x.js');
|
|
16
16
|
require('./ComponentError-D4OLnOkg.js');
|