@justifi/webcomponents 6.5.0-rc.2 → 6.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/cjs/{GooglePay-D3zN44IX.js → Refund-Blquw3jZ.js} +2 -415
- package/dist/cjs/bank-account-document-form-inputs_6.cjs.entry.js +7 -8
- package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
- package/dist/cjs/{business.service-88yKWtbE.js → business.service-DrBmfEbR.js} +1 -1
- package/dist/cjs/card-form.cjs.entry.js +2 -2
- package/dist/cjs/{check-pkg-version-RW_N0V76.js → check-pkg-version-D06Nzj0h.js} +2 -2
- package/dist/cjs/{checkout.service-Cj1RxduX.js → checkout.service-BEU6CI0t.js} +1 -1
- package/dist/cjs/checkout.store-BA6h-dp2.js +107 -0
- package/dist/cjs/checkouts-list-core.cjs.entry.js +2 -3
- package/dist/cjs/custom-popper.cjs.entry.js +2 -2
- package/dist/cjs/{dispute.service-AXzLxuOs.js → dispute.service-c0CZxPpe.js} +1 -1
- package/dist/cjs/form-alert_5.cjs.entry.js +6 -6
- package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/form-control-date.cjs.entry.js +2 -2
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +2 -2
- package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
- package/dist/cjs/form-control-number-masked_3.cjs.entry.js +4 -4
- package/dist/cjs/form-control-number.cjs.entry.js +2 -2
- package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
- package/dist/cjs/form-control-select_3.cjs.entry.js +4 -4
- package/dist/cjs/{get-payment-details-DVBTf7h5.js → get-payment-details-D8UQRtX1.js} +2 -2
- package/dist/cjs/{get-subaccounts-DuYNs7Ny.js → get-subaccounts-fKcKqvrx.js} +2 -2
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +5 -5
- package/dist/cjs/{index-CajjbB9t.js → index-C2ITzalN.js} +0 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/internal-tokenize-payment-method_7.cjs.entry.js +24 -23
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +5 -6
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +11 -12
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +8 -8
- package/dist/cjs/{justifi-apple-pay_8.cjs.entry.js → justifi-apple-pay_7.cjs.entry.js} +253 -903
- package/dist/cjs/justifi-bank-account-billing-form-simple_3.cjs.entry.js +2 -2
- package/dist/cjs/justifi-business-details.cjs.entry.js +4 -5
- package/dist/cjs/justifi-business-form.cjs.entry.js +4 -5
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout.cjs.entry.js +15 -14
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +9 -9
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +7 -8
- package/dist/cjs/justifi-details.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +5 -6
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +8 -9
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +3 -4
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +9 -10
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +6 -7
- package/dist/cjs/justifi-payment-details.cjs.entry.js +5 -6
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +5 -6
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +6 -7
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +6 -7
- package/dist/cjs/justifi-payout-details.cjs.entry.js +5 -6
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +6 -7
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +7 -8
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +9 -10
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +8 -7
- package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +11 -12
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +6 -7
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +7 -8
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +7 -8
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-DCSehIuE.js → package-gCv25hzn.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +3 -3
- package/dist/cjs/payment-details-core.cjs.entry.js +10 -11
- package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
- package/dist/cjs/{payment.service-7Ayen6ud.js → payment.service-DXbR13Kq.js} +1 -1
- package/dist/cjs/payments-list-core.cjs.entry.js +2 -3
- package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
- package/dist/cjs/{payout.service-6PsVtHcu.js → payout.service-D0U6kzXJ.js} +1 -1
- package/dist/cjs/payouts-list-core.cjs.entry.js +2 -3
- package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +3 -4
- package/dist/cjs/{terminal-orders-table-BQXO4z_E.js → terminal-orders-table-BByfBAEK.js} +3 -3
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/{terminal.service-DgE2p1j0.js → terminal.service-BqXeiERV.js} +1 -1
- package/dist/cjs/terminals-list-core.cjs.entry.js +2 -3
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/Checkout.js +2 -0
- package/dist/collection/api/index.js +0 -2
- package/dist/collection/collection-manifest.json +1 -2
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +6 -7
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +2 -2
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +7 -8
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +6 -7
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +7 -8
- package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/checkout.js +2 -2
- package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout/saved-payment-method.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +3 -2
- package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management.js +1 -1
- package/dist/collection/components/dispute-management/dispute-notification.js +2 -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/filters/table-filters-menu.js +1 -1
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
- package/dist/collection/components/modular-checkout/ModularCheckout.js +0 -1
- package/dist/collection/components/modular-checkout/modular-checkout.js +9 -46
- package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +1 -1
- 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/internal-tokenize-payment-method.js +4 -3
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +10 -5
- package/dist/collection/store/checkout.store.js +0 -4
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/details/details.js +1 -1
- package/dist/collection/ui-components/form/form-control-checkbox.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-select.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/pagination-menu/pagination-menu.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-radio-list-item.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
- package/dist/docs.json +124 -569
- package/dist/esm/{GooglePay-ChLgDgG7.js → Refund-BugCdfRo.js} +3 -405
- package/dist/esm/bank-account-document-form-inputs_6.entry.js +7 -8
- package/dist/esm/bank-account-form.entry.js +2 -2
- package/dist/esm/{business.service-C0JaOBMs.js → business.service-pWcc3kfX.js} +1 -1
- package/dist/esm/card-form.entry.js +2 -2
- package/dist/esm/{check-pkg-version-D0GWFnyL.js → check-pkg-version-AQP98jzk.js} +2 -2
- package/dist/esm/{checkout.service-gxuAcx_d.js → checkout.service-B4xSV2-X.js} +1 -1
- package/dist/esm/checkout.store-CaS_htQd.js +101 -0
- package/dist/esm/checkouts-list-core.entry.js +2 -3
- package/dist/esm/custom-popper.entry.js +2 -2
- package/dist/esm/{dispute.service-DmYLDaWO.js → dispute.service-3Kbbh1J9.js} +1 -1
- package/dist/esm/form-alert_5.entry.js +6 -6
- package/dist/esm/form-control-checkbox.entry.js +2 -2
- package/dist/esm/form-control-date.entry.js +2 -2
- package/dist/esm/form-control-file-v2_2.entry.js +3 -3
- package/dist/esm/form-control-monetary-provisioning.entry.js +2 -2
- package/dist/esm/form-control-monetary.entry.js +2 -2
- package/dist/esm/form-control-number-masked_3.entry.js +4 -4
- package/dist/esm/form-control-number.entry.js +2 -2
- package/dist/esm/form-control-radio.entry.js +2 -2
- package/dist/esm/form-control-select_3.entry.js +4 -4
- package/dist/esm/{get-payment-details-CJ6fHbft.js → get-payment-details-CakzKvOr.js} +1 -1
- package/dist/esm/{get-subaccounts-3zYjlgWb.js → get-subaccounts-Cw1Adtmo.js} +1 -1
- package/dist/esm/gross-payment-chart-core.entry.js +1 -1
- package/dist/esm/hidden-input_2.entry.js +5 -5
- package/dist/esm/{index-DkoufM1t.js → index-DCIW8z1f.js} +0 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/internal-tokenize-payment-method_7.entry.js +13 -12
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +1 -2
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +11 -12
- package/dist/esm/justifi-additional-statement_8.entry.js +8 -8
- package/dist/esm/{justifi-apple-pay_8.entry.js → justifi-apple-pay_7.entry.js} +137 -786
- package/dist/esm/justifi-bank-account-billing-form-simple_3.entry.js +2 -2
- package/dist/esm/justifi-business-details.entry.js +4 -5
- package/dist/esm/justifi-business-form.entry.js +4 -5
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
- package/dist/esm/justifi-checkout.entry.js +8 -7
- package/dist/esm/justifi-checkouts-list-filters.entry.js +3 -3
- package/dist/esm/justifi-checkouts-list.entry.js +6 -7
- package/dist/esm/justifi-details.entry.js +1 -1
- package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
- package/dist/esm/justifi-dispute-management.entry.js +5 -6
- package/dist/esm/justifi-dispute-notification_3.entry.js +8 -9
- package/dist/esm/justifi-gross-payment-chart.entry.js +3 -4
- package/dist/esm/justifi-order-terminals.entry.js +6 -7
- package/dist/esm/justifi-owner-form_3.entry.js +6 -7
- package/dist/esm/justifi-payment-details.entry.js +5 -6
- package/dist/esm/justifi-payment-provisioning-core.entry.js +1 -1
- package/dist/esm/justifi-payment-provisioning.entry.js +5 -6
- package/dist/esm/justifi-payment-transactions-list.entry.js +5 -6
- package/dist/esm/justifi-payments-list-filters.entry.js +2 -2
- package/dist/esm/justifi-payments-list.entry.js +5 -6
- package/dist/esm/justifi-payout-details.entry.js +4 -5
- package/dist/esm/justifi-payout-transactions-list.entry.js +5 -6
- package/dist/esm/justifi-payouts-list-filters.entry.js +2 -2
- package/dist/esm/justifi-payouts-list.entry.js +6 -7
- package/dist/esm/justifi-refund-payment.entry.js +5 -6
- package/dist/esm/justifi-saved-payment-method.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +5 -4
- package/dist/esm/justifi-skeleton.entry.js +1 -1
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +3 -4
- package/dist/esm/justifi-terminal-orders-list.entry.js +5 -6
- package/dist/esm/justifi-terminals-list-filters.entry.js +2 -3
- package/dist/esm/justifi-terminals-list.entry.js +6 -7
- package/dist/esm/justifi-tokenize-payment-method.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-DbqKgrF-.js → package-DQf0KCJj.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +3 -3
- package/dist/esm/payment-details-core.entry.js +9 -10
- package/dist/esm/payment-method-option.entry.js +1 -1
- package/dist/esm/{payment.service-CtzbcN40.js → payment.service-nExZY_sU.js} +1 -1
- package/dist/esm/payments-list-core.entry.js +2 -3
- package/dist/esm/payout-details-core.entry.js +3 -3
- package/dist/esm/{payout.service-BSepoyj1.js → payout.service-B9-JQqU6.js} +1 -1
- package/dist/esm/payouts-list-core.entry.js +2 -3
- package/dist/esm/table-filters-menu.entry.js +1 -1
- package/dist/esm/terminal-orders-list-core.entry.js +3 -4
- package/dist/esm/{terminal-orders-table-BDQyyZp2.js → terminal-orders-table-DsrpmD9F.js} +1 -1
- package/dist/esm/terminal-quantity-selector.entry.js +1 -1
- package/dist/esm/{terminal.service-DFPVyp0k.js → terminal.service-DvFiKAKV.js} +1 -1
- package/dist/esm/terminals-list-core.entry.js +2 -3
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Analytics.js +0 -2
- package/dist/module/ModularCheckout.js +0 -1
- package/dist/module/Refund.js +2 -0
- package/dist/module/additional-questions.js +2 -2
- package/dist/module/additional-statement.js +1 -1
- package/dist/module/apple-pay.js +120 -1
- package/dist/module/bank-account-billing-form-simple.js +1 -1
- package/dist/module/bank-account-document-inputs.js +1 -3
- package/dist/module/bank-account-form-inputs-canada2.js +1 -1
- package/dist/module/bank-account-form-inputs2.js +1 -1
- package/dist/module/bank-account-form.js +2 -2
- package/dist/module/bank-account-read-only-value2.js +1 -1
- package/dist/module/bank-account.js +2 -2
- package/dist/module/business-additional-questions-form-step.js +1 -1
- package/dist/module/business-bank-account-form-step-core.js +0 -2
- package/dist/module/business-bank-account-form-step.js +1 -3
- package/dist/module/business-core-info-form-step.js +1 -1
- package/dist/module/business-core-info.js +2 -2
- package/dist/module/business-owners-form-step.js +1 -1
- package/dist/module/business-representative-form-inputs.js +2 -2
- package/dist/module/business-representative-form-step.js +1 -1
- package/dist/module/business-representative.js +3 -3
- package/dist/module/business-terms-conditions-form-step.js +1 -3
- package/dist/module/business.service.js +0 -2
- package/dist/module/cancellation-policy.js +1 -1
- package/dist/module/card-billing-form-simple.js +1 -1
- package/dist/module/card-form.js +2 -2
- package/dist/module/card-form2.js +2 -2
- package/dist/module/checkout.service.js +0 -2
- package/dist/module/checkout.store.js +0 -4
- package/dist/module/checkouts-list-core2.js +1 -3
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +1 -1
- package/dist/module/details.js +1 -1
- package/dist/module/dispute-management-core.js +1 -1
- package/dist/module/dispute-notification.js +2 -2
- package/dist/module/dispute-response-actions.js +0 -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-address-fields.js +1 -1
- package/dist/module/form-control-checkbox2.js +2 -2
- 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-monetary-provisioning2.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-select2.js +2 -2
- package/dist/module/form-control-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +2 -2
- package/dist/module/get-payment-details.js +0 -2
- package/dist/module/get-subaccounts.js +0 -2
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/identity-address-form.js +1 -1
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/internal-tokenize-payment-method2.js +1 -3
- package/dist/module/justifi-business-form.js +0 -2
- package/dist/module/justifi-button2.js +1 -1
- package/dist/module/justifi-checkout.js +40 -46
- package/dist/module/justifi-checkouts-list-filters.js +2 -3
- package/dist/module/justifi-checkouts-list.js +1 -3
- package/dist/module/justifi-dispute-management.js +1 -1
- package/dist/module/justifi-gross-payment-chart.js +0 -2
- package/dist/module/justifi-header2.js +1 -1
- package/dist/module/justifi-order-terminals.js +1 -3
- package/dist/module/justifi-payment-provisioning.js +1 -3
- package/dist/module/justifi-payment-transactions-list.js +1 -3
- package/dist/module/justifi-payments-list-filters.js +2 -2
- package/dist/module/justifi-payments-list.js +1 -3
- package/dist/module/justifi-payout-details.js +0 -2
- package/dist/module/justifi-payout-transactions-list.js +1 -3
- package/dist/module/justifi-payouts-list-filters.js +2 -2
- package/dist/module/justifi-payouts-list.js +1 -3
- package/dist/module/justifi-radio-list-item2.js +1 -1
- package/dist/module/justifi-refund-payment.js +0 -2
- package/dist/module/justifi-saved-payment-method.js +1 -1
- package/dist/module/justifi-season-interruption-insurance.js +0 -2
- package/dist/module/justifi-skeleton.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +2 -4
- package/dist/module/justifi-terminal-orders-list.js +1 -3
- package/dist/module/justifi-terminals-list-filters.js +1 -3
- package/dist/module/justifi-terminals-list.js +1 -3
- package/dist/module/justifi-tokenize-payment-method.js +1 -1
- package/dist/module/legal-address-form-step.js +1 -1
- package/dist/module/legal-address-form.js +2 -2
- package/dist/module/modular-checkout.js +6 -46
- package/dist/module/owner-form-core2.js +1 -1
- package/dist/module/owner-form-inputs2.js +3 -3
- package/dist/module/owner-form.js +1 -1
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +3 -3
- package/dist/module/payment-details-core2.js +8 -10
- package/dist/module/payment-method-option.js +1 -1
- package/dist/module/payment-provisioning-core.js +1 -1
- package/dist/module/payment-provisioning-form-buttons.js +1 -1
- package/dist/module/payment-provisioning-form-steps.js +1 -1
- package/dist/module/payment.service.js +0 -2
- package/dist/module/payments-list-core2.js +1 -3
- package/dist/module/payout-details-core2.js +3 -3
- package/dist/module/payout.service.js +0 -2
- package/dist/module/payouts-list-core2.js +1 -3
- package/dist/module/plaid.service.js +0 -2
- package/dist/module/product-or-service.js +1 -1
- package/dist/module/refund-policy.js +1 -1
- package/dist/module/save-new-payment-method.js +1 -1
- package/dist/module/shipping-details.js +1 -1
- package/dist/module/summary.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +1 -3
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/terminal.service.js +0 -2
- package/dist/module/terminals-list-core2.js +1 -3
- package/dist/types/api/Checkout.d.ts +3 -3
- package/dist/types/api/index.d.ts +0 -2
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +3 -3
- package/dist/types/components/checkout/checkout.d.ts +0 -1
- package/dist/types/components/modular-checkout/ModularCheckout.d.ts +1 -2
- package/dist/types/components/modular-checkout/modular-checkout.d.ts +0 -5
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +1 -1
- package/dist/types/components.d.ts +22 -160
- package/dist/types/store/checkout.store.d.ts +0 -1
- package/dist/webcomponents/index.esm.js +1 -1
- package/dist/webcomponents/{p-a22d1078.entry.js → p-0082f428.entry.js} +1 -1
- package/dist/webcomponents/{p-19dabeab.entry.js → p-1193a1ac.entry.js} +1 -1
- package/dist/webcomponents/p-159d8ae7.entry.js +1 -0
- package/dist/webcomponents/{p-86111a0a.entry.js → p-1edec396.entry.js} +1 -1
- package/dist/webcomponents/p-20a8b0c0.entry.js +1 -0
- package/dist/webcomponents/p-22f74666.entry.js +1 -0
- package/dist/webcomponents/p-25b382b8.entry.js +1 -0
- package/dist/webcomponents/{p-e6507b93.entry.js → p-2769f945.entry.js} +1 -1
- package/dist/webcomponents/p-30f61f44.entry.js +1 -0
- package/dist/webcomponents/p-3437ce38.entry.js +1 -0
- package/dist/webcomponents/p-34aa9298.entry.js +1 -0
- package/dist/webcomponents/p-36720116.entry.js +1 -0
- package/dist/webcomponents/p-39706e38.entry.js +1 -0
- package/dist/webcomponents/p-3c38cec5.entry.js +1 -0
- package/dist/webcomponents/p-42d756b8.entry.js +1 -0
- package/dist/webcomponents/p-44a94dac.entry.js +1 -0
- package/dist/webcomponents/p-45936490.entry.js +1 -0
- package/dist/webcomponents/p-4761e0aa.entry.js +1 -0
- package/dist/webcomponents/p-4baabba0.entry.js +1 -0
- package/dist/webcomponents/p-4dcbc0af.entry.js +1 -0
- package/dist/webcomponents/{p-f2650bfc.entry.js → p-4e23116c.entry.js} +1 -1
- package/dist/webcomponents/p-54ff9b59.entry.js +1 -0
- package/dist/webcomponents/{p-3bacf834.entry.js → p-58ae4f9e.entry.js} +1 -1
- package/dist/webcomponents/p-5c8c88c6.entry.js +1 -0
- package/dist/webcomponents/p-66688508.entry.js +1 -0
- package/dist/webcomponents/p-7218c312.entry.js +1 -0
- package/dist/webcomponents/p-77b76007.entry.js +1 -0
- package/dist/webcomponents/p-77bd4fb0.entry.js +1 -0
- package/dist/webcomponents/p-79d77eb9.entry.js +1 -0
- package/dist/webcomponents/p-7ee0bae1.entry.js +1 -0
- package/dist/webcomponents/{p-270bf699.entry.js → p-800660f2.entry.js} +1 -1
- package/dist/webcomponents/p-80f5b2c8.entry.js +1 -0
- package/dist/webcomponents/p-84e2bd93.entry.js +1 -0
- package/dist/webcomponents/{p-aaed4997.entry.js → p-8681f258.entry.js} +1 -1
- package/dist/webcomponents/p-89518b26.entry.js +1 -0
- package/dist/webcomponents/p-8b944d09.entry.js +1 -0
- package/dist/webcomponents/p-942c8949.entry.js +1 -0
- package/dist/webcomponents/p-98b8028e.entry.js +1 -0
- package/dist/webcomponents/p-9e1f4231.entry.js +1 -0
- package/dist/webcomponents/{p-fe862786.entry.js → p-9f70ce93.entry.js} +1 -1
- package/dist/webcomponents/{p-B-9GGR7s.js → p-B4ZUYyNh.js} +1 -1
- package/dist/webcomponents/{p-DjhbNep7.js → p-BCPutgAi.js} +1 -1
- package/dist/webcomponents/{p-Ds2u5A8P.js → p-BojLBYsY.js} +1 -1
- package/dist/webcomponents/p-BpaE8q5f.js +1 -0
- package/dist/webcomponents/{p-ByJiG6HY.js → p-C8QOezo8.js} +1 -1
- package/dist/webcomponents/{p-E0ZPuuI7.js → p-CFevTCAJ.js} +1 -1
- package/dist/webcomponents/p-CPtsjcdm.js +1 -0
- package/dist/webcomponents/p-Ch9cTPyq.js +1 -0
- package/dist/webcomponents/p-DCIW8z1f.js +1 -0
- package/dist/webcomponents/p-DQf0KCJj.js +1 -0
- package/dist/webcomponents/p-DU8dqq9U.js +1 -0
- package/dist/webcomponents/{p-7SgMy3r5.js → p-D_IJC4HG.js} +1 -1
- package/dist/webcomponents/{p-C6kJ3uRN.js → p-LeyS3YJV.js} +1 -1
- package/dist/webcomponents/{p-DELUWNSY.js → p-MQxr_LMC.js} +1 -1
- package/dist/webcomponents/p-a4540205.entry.js +1 -0
- package/dist/webcomponents/p-a655b996.entry.js +1 -0
- package/dist/webcomponents/p-ad5e488a.entry.js +1 -0
- package/dist/webcomponents/{p-03c8c754.entry.js → p-aec9185f.entry.js} +1 -1
- package/dist/webcomponents/p-af236d05.entry.js +1 -0
- package/dist/webcomponents/{p-4e71de94.entry.js → p-af48a6bb.entry.js} +1 -1
- package/dist/webcomponents/p-af4e501d.entry.js +1 -0
- package/dist/webcomponents/p-b0e80802.entry.js +1 -0
- package/dist/webcomponents/p-b4d8a3f6.entry.js +1 -0
- package/dist/webcomponents/p-bf8cf72d.entry.js +1 -0
- package/dist/webcomponents/p-c3b71a1f.entry.js +1 -0
- package/dist/webcomponents/p-d2d69454.entry.js +1 -0
- package/dist/webcomponents/p-da26e869.entry.js +1 -0
- package/dist/webcomponents/p-daa534f1.entry.js +1 -0
- package/dist/webcomponents/p-dc0d3484.entry.js +1 -0
- package/dist/webcomponents/{p-48d1bc83.entry.js → p-e2e6c201.entry.js} +1 -1
- package/dist/webcomponents/p-e91af879.entry.js +1 -0
- package/dist/webcomponents/p-eb56ba9b.entry.js +1 -0
- package/dist/webcomponents/p-ed006dd6.entry.js +1 -0
- package/dist/webcomponents/{p-e7e5fee9.entry.js → p-ed55d333.entry.js} +1 -1
- package/dist/webcomponents/p-edcb84bf.entry.js +1 -0
- package/dist/webcomponents/p-efb2a58a.entry.js +1 -0
- package/dist/webcomponents/{p-bbc42ab9.entry.js → p-f6ea74db.entry.js} +1 -1
- package/dist/webcomponents/p-f91b79fb.entry.js +1 -0
- package/dist/webcomponents/p-fab28b02.entry.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +13 -13
- package/dist/collection/api/GooglePay.js +0 -181
- package/dist/collection/api/services/google-pay.service.js +0 -240
- package/dist/collection/components/modular-checkout/sub-components/google-pay-skeleton.js +0 -10
- package/dist/collection/components/modular-checkout/sub-components/google-pay.js +0 -609
- package/dist/collection/ui-components/google-pay-button.js +0 -255
- package/dist/module/ApplePay.js +0 -121
- package/dist/module/GooglePay.js +0 -184
- package/dist/module/google-pay.js +0 -785
- package/dist/module/justifi-google-pay.d.ts +0 -11
- package/dist/module/justifi-google-pay.js +0 -6
- package/dist/types/api/GooglePay.d.ts +0 -271
- package/dist/types/api/services/google-pay.service.d.ts +0 -60
- package/dist/types/components/modular-checkout/sub-components/google-pay-skeleton.d.ts +0 -6
- package/dist/types/components/modular-checkout/sub-components/google-pay.d.ts +0 -59
- package/dist/types/ui-components/google-pay-button.d.ts +0 -18
- package/dist/webcomponents/p-0772719b.entry.js +0 -1
- package/dist/webcomponents/p-10df10cb.entry.js +0 -1
- package/dist/webcomponents/p-1120699e.entry.js +0 -1
- package/dist/webcomponents/p-136b29e3.entry.js +0 -1
- package/dist/webcomponents/p-19f44a6d.entry.js +0 -1
- package/dist/webcomponents/p-1a9311e3.entry.js +0 -1
- package/dist/webcomponents/p-1afcfafd.entry.js +0 -1
- package/dist/webcomponents/p-1ceb7363.entry.js +0 -1
- package/dist/webcomponents/p-1f196690.entry.js +0 -1
- package/dist/webcomponents/p-2da4e6ca.entry.js +0 -1
- package/dist/webcomponents/p-2eb123a3.entry.js +0 -1
- package/dist/webcomponents/p-36ad1db9.entry.js +0 -1
- package/dist/webcomponents/p-38626adf.entry.js +0 -1
- package/dist/webcomponents/p-3868f396.entry.js +0 -1
- package/dist/webcomponents/p-3ac5ab7e.entry.js +0 -1
- package/dist/webcomponents/p-3ad906c1.entry.js +0 -1
- package/dist/webcomponents/p-3ae12b98.entry.js +0 -1
- package/dist/webcomponents/p-4f102cfd.entry.js +0 -1
- package/dist/webcomponents/p-4f82561b.entry.js +0 -1
- package/dist/webcomponents/p-51ae205c.entry.js +0 -1
- package/dist/webcomponents/p-583a1f08.entry.js +0 -1
- package/dist/webcomponents/p-59fb033b.entry.js +0 -1
- package/dist/webcomponents/p-5ba28ff0.entry.js +0 -1
- package/dist/webcomponents/p-6794a435.entry.js +0 -1
- package/dist/webcomponents/p-797be4be.entry.js +0 -1
- package/dist/webcomponents/p-81c1ebd3.entry.js +0 -1
- package/dist/webcomponents/p-8b6b7e20.entry.js +0 -1
- package/dist/webcomponents/p-8fcd277c.entry.js +0 -1
- package/dist/webcomponents/p-90744983.entry.js +0 -1
- package/dist/webcomponents/p-914b590d.entry.js +0 -1
- package/dist/webcomponents/p-Boe55CYS.js +0 -1
- package/dist/webcomponents/p-BusXmwDe.js +0 -1
- package/dist/webcomponents/p-CQsNLuzi.js +0 -1
- package/dist/webcomponents/p-DbqKgrF-.js +0 -1
- package/dist/webcomponents/p-DkoufM1t.js +0 -1
- package/dist/webcomponents/p-a020c889.entry.js +0 -1
- package/dist/webcomponents/p-a6e816f6.entry.js +0 -1
- package/dist/webcomponents/p-ad9307c1.entry.js +0 -1
- package/dist/webcomponents/p-b36d9885.entry.js +0 -1
- package/dist/webcomponents/p-b46223fa.entry.js +0 -1
- package/dist/webcomponents/p-ba76226e.entry.js +0 -1
- package/dist/webcomponents/p-bc510a8a.entry.js +0 -1
- package/dist/webcomponents/p-be3caaf8.entry.js +0 -1
- package/dist/webcomponents/p-c11f5079.entry.js +0 -1
- package/dist/webcomponents/p-c41191e7.entry.js +0 -1
- package/dist/webcomponents/p-c621e7af.entry.js +0 -1
- package/dist/webcomponents/p-d13edf9f.entry.js +0 -1
- package/dist/webcomponents/p-d4503c9a.entry.js +0 -1
- package/dist/webcomponents/p-d913cb6b.entry.js +0 -1
- package/dist/webcomponents/p-e016bb2e.entry.js +0 -1
- package/dist/webcomponents/p-f42c68b0.entry.js +0 -1
- package/dist/webcomponents/p-f4cb581f.entry.js +0 -1
- package/dist/webcomponents/p-f528da70.entry.js +0 -1
- package/dist/webcomponents/p-f632894a.entry.js +0 -1
- package/dist/webcomponents/p-f66de935.entry.js +0 -1
- package/dist/webcomponents/p-fc9d0344.entry.js +0 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023 JustiFi Technologies, Inc.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
var utils = require('./utils-Bab-tddY.js');
|
|
4
4
|
var Dispute = require('./Dispute-CruQTF6_.js');
|
|
5
|
-
var index = require('./index-mmd0OhmD.js');
|
|
6
|
-
var index$1 = require('./index-CajjbB9t.js');
|
|
7
5
|
|
|
8
6
|
class Completion {
|
|
9
7
|
constructor(data) {
|
|
@@ -81,12 +79,14 @@ var ICheckoutPaymentMode;
|
|
|
81
79
|
ICheckoutPaymentMode["card"] = "Card";
|
|
82
80
|
ICheckoutPaymentMode["bank_account"] = "Bank Account";
|
|
83
81
|
ICheckoutPaymentMode["card_present"] = "Card Present";
|
|
82
|
+
ICheckoutPaymentMode["apple_pay"] = "Apple Pay";
|
|
84
83
|
ICheckoutPaymentMode["unknown"] = "";
|
|
85
84
|
})(ICheckoutPaymentMode || (ICheckoutPaymentMode = {}));
|
|
86
85
|
exports.ICheckoutPaymentModeParam = void 0;
|
|
87
86
|
(function (ICheckoutPaymentModeParam) {
|
|
88
87
|
ICheckoutPaymentModeParam["bnpl"] = "bnpl";
|
|
89
88
|
ICheckoutPaymentModeParam["ecom"] = "ecom";
|
|
89
|
+
ICheckoutPaymentModeParam["apple_pay"] = "apple_pay";
|
|
90
90
|
})(exports.ICheckoutPaymentModeParam || (exports.ICheckoutPaymentModeParam = {}));
|
|
91
91
|
exports.ICheckoutStatus = void 0;
|
|
92
92
|
(function (ICheckoutStatus) {
|
|
@@ -589,417 +589,9 @@ class RefundPayload {
|
|
|
589
589
|
}
|
|
590
590
|
}
|
|
591
591
|
|
|
592
|
-
exports.ApplePaySessionStatus = void 0;
|
|
593
|
-
(function (ApplePaySessionStatus) {
|
|
594
|
-
ApplePaySessionStatus["STATUS_SUCCESS"] = "STATUS_SUCCESS";
|
|
595
|
-
ApplePaySessionStatus["STATUS_FAILURE"] = "STATUS_FAILURE";
|
|
596
|
-
})(exports.ApplePaySessionStatus || (exports.ApplePaySessionStatus = {}));
|
|
597
|
-
exports.ApplePayButtonType = void 0;
|
|
598
|
-
(function (ApplePayButtonType) {
|
|
599
|
-
ApplePayButtonType["PLAIN"] = "plain";
|
|
600
|
-
ApplePayButtonType["BUY"] = "buy";
|
|
601
|
-
ApplePayButtonType["SET_UP"] = "set-up";
|
|
602
|
-
ApplePayButtonType["DONATE"] = "donate";
|
|
603
|
-
ApplePayButtonType["CHECK_OUT"] = "check-out";
|
|
604
|
-
ApplePayButtonType["BOOK"] = "book";
|
|
605
|
-
ApplePayButtonType["SUBSCRIBE"] = "subscribe";
|
|
606
|
-
})(exports.ApplePayButtonType || (exports.ApplePayButtonType = {}));
|
|
607
|
-
exports.ApplePayButtonStyle = void 0;
|
|
608
|
-
(function (ApplePayButtonStyle) {
|
|
609
|
-
ApplePayButtonStyle["BLACK"] = "black";
|
|
610
|
-
ApplePayButtonStyle["WHITE"] = "white";
|
|
611
|
-
ApplePayButtonStyle["WHITE_OUTLINE"] = "white-outline";
|
|
612
|
-
})(exports.ApplePayButtonStyle || (exports.ApplePayButtonStyle = {}));
|
|
613
|
-
exports.ApplePayMerchantCapability = void 0;
|
|
614
|
-
(function (ApplePayMerchantCapability) {
|
|
615
|
-
ApplePayMerchantCapability["SUPPORTS_3DS"] = "supports3DS";
|
|
616
|
-
ApplePayMerchantCapability["SUPPORTS_EMV"] = "supportsEMV";
|
|
617
|
-
ApplePayMerchantCapability["SUPPORTS_CREDIT"] = "supportsCredit";
|
|
618
|
-
ApplePayMerchantCapability["SUPPORTS_DEBIT"] = "supportsDebit";
|
|
619
|
-
})(exports.ApplePayMerchantCapability || (exports.ApplePayMerchantCapability = {}));
|
|
620
|
-
class ApplePayConfig {
|
|
621
|
-
constructor(data) {
|
|
622
|
-
this.merchantIdentifier = data.merchantIdentifier;
|
|
623
|
-
this.displayName = data.displayName;
|
|
624
|
-
this.initiative = data.initiative;
|
|
625
|
-
this.initiativeContext = data.initiativeContext;
|
|
626
|
-
this.buttonType = data.buttonType || exports.ApplePayButtonType.PLAIN;
|
|
627
|
-
this.buttonStyle = data.buttonStyle || exports.ApplePayButtonStyle.BLACK;
|
|
628
|
-
this.buttonLocale = data.buttonLocale || 'en-US';
|
|
629
|
-
}
|
|
630
|
-
get isValid() {
|
|
631
|
-
return !!(this.merchantIdentifier &&
|
|
632
|
-
this.displayName &&
|
|
633
|
-
this.initiative &&
|
|
634
|
-
this.initiativeContext);
|
|
635
|
-
}
|
|
636
|
-
}
|
|
637
|
-
class ApplePayPaymentRequest {
|
|
638
|
-
constructor(data) {
|
|
639
|
-
this.countryCode = data.countryCode;
|
|
640
|
-
this.currencyCode = data.currencyCode;
|
|
641
|
-
this.merchantCapabilities = data.merchantCapabilities;
|
|
642
|
-
this.supportedNetworks = data.supportedNetworks;
|
|
643
|
-
this.total = data.total;
|
|
644
|
-
this.lineItems = data.lineItems;
|
|
645
|
-
this.shippingMethods = data.shippingMethods;
|
|
646
|
-
this.applicationData = data.applicationData;
|
|
647
|
-
this.supportedCountries = data.supportedCountries;
|
|
648
|
-
}
|
|
649
|
-
get isValid() {
|
|
650
|
-
var _a, _b, _c, _d;
|
|
651
|
-
return !!(this.countryCode &&
|
|
652
|
-
this.currencyCode &&
|
|
653
|
-
((_a = this.merchantCapabilities) === null || _a === void 0 ? void 0 : _a.length) &&
|
|
654
|
-
((_b = this.supportedNetworks) === null || _b === void 0 ? void 0 : _b.length) &&
|
|
655
|
-
((_c = this.total) === null || _c === void 0 ? void 0 : _c.label) &&
|
|
656
|
-
((_d = this.total) === null || _d === void 0 ? void 0 : _d.amount));
|
|
657
|
-
}
|
|
658
|
-
}
|
|
659
|
-
class ApplePayHelpers {
|
|
660
|
-
static isApplePaySupported() {
|
|
661
|
-
var _a;
|
|
662
|
-
return (typeof window !== 'undefined' &&
|
|
663
|
-
'ApplePaySession' in window &&
|
|
664
|
-
((_a = window.ApplePaySession) === null || _a === void 0 ? void 0 : _a.supportsVersion(3)));
|
|
665
|
-
}
|
|
666
|
-
static canMakePayments() {
|
|
667
|
-
var _a;
|
|
668
|
-
if (!this.isApplePaySupported()) {
|
|
669
|
-
return false;
|
|
670
|
-
}
|
|
671
|
-
return ((_a = window.ApplePaySession) === null || _a === void 0 ? void 0 : _a.canMakePayments()) || false;
|
|
672
|
-
}
|
|
673
|
-
static async canMakePaymentsWithActiveCard(merchantIdentifier) {
|
|
674
|
-
var _a;
|
|
675
|
-
if (!this.isApplePaySupported()) {
|
|
676
|
-
return false;
|
|
677
|
-
}
|
|
678
|
-
try {
|
|
679
|
-
return ((await ((_a = window.ApplePaySession) === null || _a === void 0 ? void 0 : _a.canMakePaymentsWithActiveCard(merchantIdentifier))) || false);
|
|
680
|
-
}
|
|
681
|
-
catch (error) {
|
|
682
|
-
console.error('Error checking Apple Pay active card:', error);
|
|
683
|
-
return false;
|
|
684
|
-
}
|
|
685
|
-
}
|
|
686
|
-
static formatAmount(amount) {
|
|
687
|
-
return (amount / 100).toFixed(2);
|
|
688
|
-
}
|
|
689
|
-
static parseAmount(amount) {
|
|
690
|
-
return Math.round(parseFloat(amount) * 100);
|
|
691
|
-
}
|
|
692
|
-
static createLineItem(label, amount, type = 'final') {
|
|
693
|
-
return {
|
|
694
|
-
label,
|
|
695
|
-
amount: this.formatAmount(amount),
|
|
696
|
-
type,
|
|
697
|
-
};
|
|
698
|
-
}
|
|
699
|
-
static getDefaultSupportedNetworks() {
|
|
700
|
-
return ['amex', 'discover', 'masterCard', 'visa'];
|
|
701
|
-
}
|
|
702
|
-
static getDefaultMerchantCapabilities() {
|
|
703
|
-
return [
|
|
704
|
-
exports.ApplePayMerchantCapability.SUPPORTS_3DS,
|
|
705
|
-
exports.ApplePayMerchantCapability.SUPPORTS_EMV,
|
|
706
|
-
exports.ApplePayMerchantCapability.SUPPORTS_CREDIT,
|
|
707
|
-
exports.ApplePayMerchantCapability.SUPPORTS_DEBIT,
|
|
708
|
-
];
|
|
709
|
-
}
|
|
710
|
-
}
|
|
711
|
-
|
|
712
|
-
const initialState = {
|
|
713
|
-
accountId: '',
|
|
714
|
-
authToken: '',
|
|
715
|
-
billingFormFields: {
|
|
716
|
-
address_postal_code: '',
|
|
717
|
-
},
|
|
718
|
-
bnplEnabled: false,
|
|
719
|
-
applePayEnabled: false,
|
|
720
|
-
googlePayEnabled: false,
|
|
721
|
-
insuranceEnabled: false,
|
|
722
|
-
bnplProviderApiVersion: '',
|
|
723
|
-
bnplProviderCheckoutUrl: '',
|
|
724
|
-
bnplProviderClientId: '',
|
|
725
|
-
bnplProviderMode: '',
|
|
726
|
-
checkoutId: '',
|
|
727
|
-
checkoutLoaded: false,
|
|
728
|
-
bankAccountVerification: undefined,
|
|
729
|
-
disableBankAccount: false,
|
|
730
|
-
disableCreditCard: false,
|
|
731
|
-
disablePaymentMethodGroup: false,
|
|
732
|
-
paymentAmount: 0,
|
|
733
|
-
paymentCurrency: 'USD',
|
|
734
|
-
paymentDescription: '',
|
|
735
|
-
paymentMethodGroupId: undefined,
|
|
736
|
-
paymentMethods: [],
|
|
737
|
-
paymentToken: undefined,
|
|
738
|
-
savePaymentMethod: false,
|
|
739
|
-
selectedPaymentMethod: undefined,
|
|
740
|
-
totalAmount: 0,
|
|
741
|
-
plaidPublicToken: undefined,
|
|
742
|
-
plaidLinkTokenId: undefined,
|
|
743
|
-
};
|
|
744
|
-
const { state: checkoutStore, onChange } = index.createStore(initialState);
|
|
745
|
-
Object.keys(initialState).forEach((key) => {
|
|
746
|
-
// @ts-ignore
|
|
747
|
-
onChange(key, (newValue) => {
|
|
748
|
-
checkoutStore[key] = newValue;
|
|
749
|
-
});
|
|
750
|
-
});
|
|
751
|
-
// Helper: compute available payment methods based on store flags
|
|
752
|
-
function getAvailablePaymentMethodTypes() {
|
|
753
|
-
var _a;
|
|
754
|
-
const methods = [];
|
|
755
|
-
if (!checkoutStore.disablePaymentMethodGroup &&
|
|
756
|
-
((_a = checkoutStore.paymentMethods) === null || _a === void 0 ? void 0 : _a.length)) {
|
|
757
|
-
const hasSavedCard = checkoutStore.paymentMethods.some((pm) => pm.type === index$1.PAYMENT_METHODS.SAVED_CARD);
|
|
758
|
-
const hasSavedBank = checkoutStore.paymentMethods.some((pm) => pm.type === index$1.PAYMENT_METHODS.SAVED_BANK_ACCOUNT);
|
|
759
|
-
if (hasSavedCard && !checkoutStore.disableCreditCard) {
|
|
760
|
-
methods.push(index$1.PAYMENT_METHODS.SAVED_CARD);
|
|
761
|
-
}
|
|
762
|
-
if (hasSavedBank && !checkoutStore.disableBankAccount) {
|
|
763
|
-
methods.push(index$1.PAYMENT_METHODS.SAVED_BANK_ACCOUNT);
|
|
764
|
-
}
|
|
765
|
-
}
|
|
766
|
-
if (!checkoutStore.disableCreditCard) {
|
|
767
|
-
methods.push(index$1.PAYMENT_METHODS.NEW_CARD);
|
|
768
|
-
}
|
|
769
|
-
if (!checkoutStore.disableBankAccount) {
|
|
770
|
-
methods.push(index$1.PAYMENT_METHODS.NEW_BANK_ACCOUNT);
|
|
771
|
-
}
|
|
772
|
-
if (checkoutStore.bnplEnabled) {
|
|
773
|
-
methods.push(index$1.PAYMENT_METHODS.SEZZLE);
|
|
774
|
-
}
|
|
775
|
-
if (checkoutStore.applePayEnabled) {
|
|
776
|
-
methods.push(index$1.PAYMENT_METHODS.APPLE_PAY);
|
|
777
|
-
}
|
|
778
|
-
if (checkoutStore.googlePayEnabled) {
|
|
779
|
-
methods.push(index$1.PAYMENT_METHODS.GOOGLE_PAY);
|
|
780
|
-
}
|
|
781
|
-
if (checkoutStore.bankAccountVerification === true &&
|
|
782
|
-
!checkoutStore.disableBankAccount) {
|
|
783
|
-
methods.push(index$1.PAYMENT_METHODS.PLAID);
|
|
784
|
-
}
|
|
785
|
-
return methods;
|
|
786
|
-
}
|
|
787
|
-
function getCheckoutState() {
|
|
788
|
-
var _a;
|
|
789
|
-
return {
|
|
790
|
-
selectedPaymentMethod: checkoutStore.selectedPaymentMethod,
|
|
791
|
-
paymentAmount: checkoutStore.paymentAmount,
|
|
792
|
-
totalAmount: checkoutStore.totalAmount,
|
|
793
|
-
paymentCurrency: checkoutStore.paymentCurrency,
|
|
794
|
-
paymentDescription: checkoutStore.paymentDescription,
|
|
795
|
-
savedPaymentMethods: checkoutStore.paymentMethods,
|
|
796
|
-
savePaymentMethod: checkoutStore.savePaymentMethod,
|
|
797
|
-
bnplEnabled: checkoutStore.bnplEnabled,
|
|
798
|
-
applePayEnabled: checkoutStore.applePayEnabled,
|
|
799
|
-
insuranceEnabled: checkoutStore.insuranceEnabled,
|
|
800
|
-
disableBankAccount: checkoutStore.disableBankAccount,
|
|
801
|
-
disableCreditCard: checkoutStore.disableCreditCard,
|
|
802
|
-
disablePaymentMethodGroup: checkoutStore.disablePaymentMethodGroup,
|
|
803
|
-
paymentToken: (_a = checkoutStore.paymentToken) !== null && _a !== void 0 ? _a : undefined,
|
|
804
|
-
};
|
|
805
|
-
}
|
|
806
|
-
function onAnyChange(callback) {
|
|
807
|
-
Object.keys(initialState).forEach((key) => {
|
|
808
|
-
// @ts-ignore - onChange is generically typed by stencil/store but not exported here
|
|
809
|
-
onChange(key, (newValue) => callback(key, newValue));
|
|
810
|
-
});
|
|
811
|
-
}
|
|
812
|
-
|
|
813
|
-
exports.GooglePayButtonType = void 0;
|
|
814
|
-
(function (GooglePayButtonType) {
|
|
815
|
-
GooglePayButtonType["PLAIN"] = "plain";
|
|
816
|
-
GooglePayButtonType["BUY"] = "buy";
|
|
817
|
-
GooglePayButtonType["BOOK"] = "book";
|
|
818
|
-
GooglePayButtonType["CHECKOUT"] = "checkout";
|
|
819
|
-
GooglePayButtonType["DONATE"] = "donate";
|
|
820
|
-
GooglePayButtonType["ORDER"] = "order";
|
|
821
|
-
GooglePayButtonType["PAY"] = "pay";
|
|
822
|
-
GooglePayButtonType["SUBSCRIBE"] = "subscribe";
|
|
823
|
-
})(exports.GooglePayButtonType || (exports.GooglePayButtonType = {}));
|
|
824
|
-
exports.GooglePayButtonStyle = void 0;
|
|
825
|
-
(function (GooglePayButtonStyle) {
|
|
826
|
-
GooglePayButtonStyle["BLACK"] = "black";
|
|
827
|
-
GooglePayButtonStyle["WHITE"] = "white";
|
|
828
|
-
})(exports.GooglePayButtonStyle || (exports.GooglePayButtonStyle = {}));
|
|
829
|
-
exports.GooglePayButtonSizeMode = void 0;
|
|
830
|
-
(function (GooglePayButtonSizeMode) {
|
|
831
|
-
GooglePayButtonSizeMode["STATIC"] = "static";
|
|
832
|
-
GooglePayButtonSizeMode["FILL"] = "fill";
|
|
833
|
-
})(exports.GooglePayButtonSizeMode || (exports.GooglePayButtonSizeMode = {}));
|
|
834
|
-
exports.GooglePayEnvironment = void 0;
|
|
835
|
-
(function (GooglePayEnvironment) {
|
|
836
|
-
GooglePayEnvironment["PRODUCTION"] = "PRODUCTION";
|
|
837
|
-
GooglePayEnvironment["TEST"] = "TEST";
|
|
838
|
-
})(exports.GooglePayEnvironment || (exports.GooglePayEnvironment = {}));
|
|
839
|
-
class GooglePayConfig {
|
|
840
|
-
constructor(data) {
|
|
841
|
-
this.environment = data.environment;
|
|
842
|
-
this.merchantId = data.merchantId;
|
|
843
|
-
this.merchantName = data.merchantName;
|
|
844
|
-
this.buttonType = data.buttonType || exports.GooglePayButtonType.PLAIN;
|
|
845
|
-
this.buttonStyle = data.buttonStyle || exports.GooglePayButtonStyle.BLACK;
|
|
846
|
-
this.buttonSizeMode = data.buttonSizeMode || exports.GooglePayButtonSizeMode.STATIC;
|
|
847
|
-
this.buttonLocale = data.buttonLocale || 'en';
|
|
848
|
-
}
|
|
849
|
-
get isValid() {
|
|
850
|
-
return !!(this.environment && this.merchantName);
|
|
851
|
-
}
|
|
852
|
-
}
|
|
853
|
-
class GooglePayPaymentDataRequest {
|
|
854
|
-
constructor(data) {
|
|
855
|
-
this.apiVersion = data.apiVersion;
|
|
856
|
-
this.apiVersionMinor = data.apiVersionMinor;
|
|
857
|
-
this.allowedPaymentMethods = data.allowedPaymentMethods;
|
|
858
|
-
this.transactionInfo = data.transactionInfo;
|
|
859
|
-
this.merchantInfo = data.merchantInfo;
|
|
860
|
-
this.callbackIntents = data.callbackIntents;
|
|
861
|
-
this.shippingAddressRequired = data.shippingAddressRequired;
|
|
862
|
-
this.shippingAddressParameters = data.shippingAddressParameters;
|
|
863
|
-
this.emailRequired = data.emailRequired;
|
|
864
|
-
}
|
|
865
|
-
get isValid() {
|
|
866
|
-
var _a, _b, _c, _d;
|
|
867
|
-
const hasApiVersion = typeof this.apiVersion === 'number' && this.apiVersion > 0;
|
|
868
|
-
const hasApiVersionMinor = typeof this.apiVersionMinor === 'number' && this.apiVersionMinor >= 0;
|
|
869
|
-
const hasAllowedMethods = Array.isArray(this.allowedPaymentMethods) &&
|
|
870
|
-
this.allowedPaymentMethods.length > 0;
|
|
871
|
-
const hasTxnCountry = Boolean((_a = this.transactionInfo) === null || _a === void 0 ? void 0 : _a.countryCode);
|
|
872
|
-
const hasTxnCurrency = Boolean((_b = this.transactionInfo) === null || _b === void 0 ? void 0 : _b.currencyCode);
|
|
873
|
-
const hasTxnTotal = Boolean((_c = this.transactionInfo) === null || _c === void 0 ? void 0 : _c.totalPrice);
|
|
874
|
-
const hasMerchantName = Boolean((_d = this.merchantInfo) === null || _d === void 0 ? void 0 : _d.merchantName);
|
|
875
|
-
return (hasApiVersion &&
|
|
876
|
-
hasApiVersionMinor &&
|
|
877
|
-
hasAllowedMethods &&
|
|
878
|
-
hasTxnCountry &&
|
|
879
|
-
hasTxnCurrency &&
|
|
880
|
-
hasTxnTotal &&
|
|
881
|
-
hasMerchantName);
|
|
882
|
-
}
|
|
883
|
-
}
|
|
884
|
-
class GooglePayHelpers {
|
|
885
|
-
/**
|
|
886
|
-
* Check if Google Pay is supported in the current environment
|
|
887
|
-
*/
|
|
888
|
-
static isGooglePaySupported() {
|
|
889
|
-
return (typeof window !== 'undefined' &&
|
|
890
|
-
'google' in window &&
|
|
891
|
-
'payments' in window.google &&
|
|
892
|
-
'api' in window.google.payments);
|
|
893
|
-
}
|
|
894
|
-
/**
|
|
895
|
-
* Create a Google Pay client instance
|
|
896
|
-
*/
|
|
897
|
-
static createGooglePayClient(environment) {
|
|
898
|
-
if (!this.isGooglePaySupported()) {
|
|
899
|
-
return null;
|
|
900
|
-
}
|
|
901
|
-
try {
|
|
902
|
-
return new window.google.payments.api.PaymentsClient({
|
|
903
|
-
environment: environment === exports.GooglePayEnvironment.PRODUCTION
|
|
904
|
-
? 'PRODUCTION'
|
|
905
|
-
: 'TEST',
|
|
906
|
-
});
|
|
907
|
-
}
|
|
908
|
-
catch (_error) {
|
|
909
|
-
return null;
|
|
910
|
-
}
|
|
911
|
-
}
|
|
912
|
-
/**
|
|
913
|
-
* Format amount for Google Pay (expects string in full currency units)
|
|
914
|
-
*/
|
|
915
|
-
static formatAmount(amount) {
|
|
916
|
-
return (amount / 100).toFixed(2);
|
|
917
|
-
}
|
|
918
|
-
/**
|
|
919
|
-
* Parse amount from Google Pay format to cents
|
|
920
|
-
*/
|
|
921
|
-
static parseAmount(amount) {
|
|
922
|
-
return Math.round(parseFloat(amount) * 100);
|
|
923
|
-
}
|
|
924
|
-
/**
|
|
925
|
-
* Create a line item for Google Pay
|
|
926
|
-
*/
|
|
927
|
-
static createLineItem(label, amount, type = 'LINE_ITEM') {
|
|
928
|
-
return {
|
|
929
|
-
label,
|
|
930
|
-
price: this.formatAmount(amount),
|
|
931
|
-
type,
|
|
932
|
-
};
|
|
933
|
-
}
|
|
934
|
-
/**
|
|
935
|
-
* Get default supported card networks
|
|
936
|
-
*/
|
|
937
|
-
static getDefaultSupportedNetworks() {
|
|
938
|
-
return ['VISA', 'MASTERCARD', 'AMEX', 'DISCOVER'];
|
|
939
|
-
}
|
|
940
|
-
/**
|
|
941
|
-
* Get default allowed authentication methods
|
|
942
|
-
*/
|
|
943
|
-
static getDefaultAuthMethods() {
|
|
944
|
-
return ['PAN_ONLY', 'CRYPTOGRAM_3DS'];
|
|
945
|
-
}
|
|
946
|
-
/**
|
|
947
|
-
* Create default card parameters
|
|
948
|
-
*/
|
|
949
|
-
static createDefaultCardParameters() {
|
|
950
|
-
return {
|
|
951
|
-
allowedAuthMethods: this.getDefaultAuthMethods(),
|
|
952
|
-
allowedCardNetworks: this.getDefaultSupportedNetworks(),
|
|
953
|
-
billingAddressRequired: false,
|
|
954
|
-
};
|
|
955
|
-
}
|
|
956
|
-
/**
|
|
957
|
-
* Create default tokenization specification
|
|
958
|
-
*/
|
|
959
|
-
static createTokenizationSpecification() {
|
|
960
|
-
return {
|
|
961
|
-
type: 'PAYMENT_GATEWAY',
|
|
962
|
-
parameters: {
|
|
963
|
-
gateway: 'justifi',
|
|
964
|
-
gatewayMerchantId: checkoutStore.accountId,
|
|
965
|
-
},
|
|
966
|
-
};
|
|
967
|
-
}
|
|
968
|
-
/**
|
|
969
|
-
* Create default payment method data
|
|
970
|
-
*/
|
|
971
|
-
static createPaymentMethodData() {
|
|
972
|
-
return {
|
|
973
|
-
type: 'CARD',
|
|
974
|
-
parameters: this.createDefaultCardParameters(),
|
|
975
|
-
tokenizationSpecification: this.createTokenizationSpecification(),
|
|
976
|
-
};
|
|
977
|
-
}
|
|
978
|
-
/**
|
|
979
|
-
* Create base payment data request check
|
|
980
|
-
*/
|
|
981
|
-
static createBasePaymentDataRequest() {
|
|
982
|
-
const base = {
|
|
983
|
-
apiVersion: 2,
|
|
984
|
-
apiVersionMinor: 0,
|
|
985
|
-
allowedPaymentMethods: [this.createPaymentMethodData()],
|
|
986
|
-
};
|
|
987
|
-
// For development and broader availability of the button, do not require an existing card
|
|
988
|
-
// This allows isReadyToPay to return true on supported browsers even without a saved payment method
|
|
989
|
-
base.existingPaymentMethodRequired = false;
|
|
990
|
-
return base;
|
|
991
|
-
}
|
|
992
|
-
}
|
|
993
|
-
|
|
994
|
-
exports.ApplePayConfig = ApplePayConfig;
|
|
995
|
-
exports.ApplePayHelpers = ApplePayHelpers;
|
|
996
|
-
exports.ApplePayPaymentRequest = ApplePayPaymentRequest;
|
|
997
592
|
exports.Checkout = Checkout;
|
|
998
593
|
exports.EntityDocument = EntityDocument;
|
|
999
594
|
exports.EntityDocumentStorage = EntityDocumentStorage;
|
|
1000
|
-
exports.GooglePayConfig = GooglePayConfig;
|
|
1001
|
-
exports.GooglePayHelpers = GooglePayHelpers;
|
|
1002
|
-
exports.GooglePayPaymentDataRequest = GooglePayPaymentDataRequest;
|
|
1003
595
|
exports.Payment = Payment;
|
|
1004
596
|
exports.PaymentBalanceTransaction = PaymentBalanceTransaction;
|
|
1005
597
|
exports.Payout = Payout;
|
|
@@ -1009,8 +601,3 @@ exports.SubAccount = SubAccount;
|
|
|
1009
601
|
exports.Terminal = Terminal;
|
|
1010
602
|
exports.TerminalModel = TerminalModel;
|
|
1011
603
|
exports.TerminalOrder = TerminalOrder;
|
|
1012
|
-
exports.checkoutStore = checkoutStore;
|
|
1013
|
-
exports.getAvailablePaymentMethodTypes = getAvailablePaymentMethodTypes;
|
|
1014
|
-
exports.getCheckoutState = getCheckoutState;
|
|
1015
|
-
exports.onAnyChange = onAnyChange;
|
|
1016
|
-
exports.onChange = onChange;
|
|
@@ -4,7 +4,7 @@ var index = require('./index-BhI7cJcE.js');
|
|
|
4
4
|
require('./config-state-CYoBVAca.js');
|
|
5
5
|
require('./dinero-BwNN_k7x.js');
|
|
6
6
|
require('./ComponentError-D4OLnOkg.js');
|
|
7
|
-
var
|
|
7
|
+
var Refund = require('./Refund-Blquw3jZ.js');
|
|
8
8
|
require('./Pagination-Dediz133.js');
|
|
9
9
|
require('./Business-DWHy_-z9.js');
|
|
10
10
|
require('./Dispute-CruQTF6_.js');
|
|
@@ -17,14 +17,13 @@ var skeleton = require('./skeleton-BF3HGL9X.js');
|
|
|
17
17
|
require('./event-types-YOY5TKUN.js');
|
|
18
18
|
var formControlErrorText = require('./form-control-error-text-mhOq2Edp.js');
|
|
19
19
|
require('./index-mmd0OhmD.js');
|
|
20
|
-
require('./index-CajjbB9t.js');
|
|
21
20
|
|
|
22
21
|
const BankAccountDocumentFormInputs = class {
|
|
23
22
|
constructor(hostRef) {
|
|
24
23
|
index.registerInstance(this, hostRef);
|
|
25
24
|
}
|
|
26
25
|
render() {
|
|
27
|
-
return (index.h("div", { key: '
|
|
26
|
+
return (index.h("div", { key: '92e97e95c2875dcfad6c2e4ad5e42a4ae250c7e7', class: "row gy-3" }, index.h("div", { key: 'e24529f3c9a3e4db9e676c7c1e2e32b9f123e9e5', class: "col-12" }, index.h("form-control-file", { key: '09d5b83dfe3ab52c56fa589deb5bd744d2a883f1', name: "voided_check", label: "Voided Check", documentType: Refund.EntityDocumentType.voidedCheck, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["voided_check"], multiple: true })), index.h("div", { key: '887a7e0f3751e57dd08ddc1a8ce3c45380efbf9f', class: "col-12" }, index.h("form-control-file", { key: 'e427c222b43de52cf51d19ffbab7137a5d603d8a', name: "bank_statement", label: "Bank Statement", documentType: Refund.EntityDocumentType.bankStatement, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["bank_statement"], multiple: true }))));
|
|
28
27
|
}
|
|
29
28
|
};
|
|
30
29
|
|
|
@@ -34,7 +33,7 @@ const BankAccountFormInputs = class {
|
|
|
34
33
|
}
|
|
35
34
|
render() {
|
|
36
35
|
var _a, _b, _c, _d, _e, _f;
|
|
37
|
-
return (index.h("div", { key: '
|
|
36
|
+
return (index.h("div", { key: '6414bcb6ef5fd6948154f69b56fd7f20881f091c', class: "row gy-3" }, index.h("div", { key: 'f025f35d2b84fc5672d2a6335dd5bf21d925c960', class: "col-12" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Bank Name", value: (_a = this.defaultValue) === null || _a === void 0 ? void 0 : _a.bank_name })) : (index.h("form-control-text", { name: "bank_name", label: "Bank Name", defaultValue: this.defaultValue.bank_name, errorText: this.errors.bank_name, inputHandler: this.inputHandler }))), index.h("div", { key: '3cf2e75befc249d6b7e996d46206e470cf47ddbf', class: "col-12" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Nickname", value: (_b = this.defaultValue) === null || _b === void 0 ? void 0 : _b.nickname })) : (index.h("form-control-text", { name: "nickname", label: "Nickname", defaultValue: this.defaultValue.nickname, errorText: this.errors.nickname, inputHandler: this.inputHandler }))), index.h("div", { key: '16ec731916e67fc42060372fb6222893cb159483', class: "col-12" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Account Owner Name", value: (_c = this.defaultValue) === null || _c === void 0 ? void 0 : _c.account_owner_name })) : (index.h("form-control-text", { name: "account_owner_name", label: "Account Owner Name", defaultValue: this.defaultValue.account_owner_name, errorText: this.errors.account_owner_name, inputHandler: this.inputHandler }))), index.h("div", { key: '38460bb83c32289d3494f6ef386b45943f2f78e9', class: "col-12" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Account Type", value: (_d = this.defaultValue) === null || _d === void 0 ? void 0 : _d.account_type })) : (index.h("form-control-select", { name: "account_type", label: "Account Type", options: businessFormOptions.bankAccountTypeOptions, defaultValue: this.defaultValue.account_type, errorText: this.errors.account_type, inputHandler: this.inputHandler }))), index.h("div", { key: 'cfbb7ffa2a56ee1c7d1bb7e0b01d872c37d5d5df', class: "col-6" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Account Number", value: ((_e = this.defaultValue) === null || _e === void 0 ? void 0 : _e.account_number_last4) ? `**** ${this.defaultValue.account_number_last4}` : '' })) : (index.h("form-control-text", { name: "account_number", label: "Account Number", defaultValue: this.defaultValue.account_number, maxLength: 17, errorText: this.errors.account_number, inputHandler: this.inputHandler, keyDownHandler: utils.numberOnlyHandler, helpText: "Please copy the account number as shown on your statement/check. Do not include spaces or dashes." }))), index.h("div", { key: '8d844071f3e37c92938e65209ff89170c8e09dc7', class: "col-6" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Routing Number", value: ((_f = this.defaultValue) === null || _f === void 0 ? void 0 : _f.routing_number) || '' })) : (index.h("form-control-text", { name: "routing_number", label: "Routing Number", defaultValue: this.defaultValue.routing_number, maxLength: 9, errorText: this.errors.routing_number, inputHandler: this.inputHandler, keyDownHandler: utils.numberOnlyHandler, helpText: "A valid routing number is nine digits. Please include any leading or trailing zeroes." })))));
|
|
38
37
|
}
|
|
39
38
|
};
|
|
40
39
|
|
|
@@ -44,7 +43,7 @@ const BankAccountFormInputsCanada = class {
|
|
|
44
43
|
}
|
|
45
44
|
render() {
|
|
46
45
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
47
|
-
return (index.h("div", { key: '
|
|
46
|
+
return (index.h("div", { key: '4badae2dd74e7b618730114e3ca6086f970a4b16', class: "row gy-3" }, index.h("div", { key: '39c645b2a10d384ec357e4a5c117bad22d8cd1a5', class: "col-12" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Bank Name", value: (_a = this.defaultValue) === null || _a === void 0 ? void 0 : _a.bank_name })) : (index.h("form-control-text", { name: "bank_name", label: "Bank Name", defaultValue: this.defaultValue.bank_name, errorText: this.errors.bank_name, inputHandler: this.inputHandler }))), index.h("div", { key: 'c1605cd3d83ea214580da9ea59dbe59401420863', class: "col-12" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Nickname", value: (_b = this.defaultValue) === null || _b === void 0 ? void 0 : _b.nickname })) : (index.h("form-control-text", { name: "nickname", label: "Nickname", defaultValue: this.defaultValue.nickname, errorText: this.errors.nickname, inputHandler: this.inputHandler }))), index.h("div", { key: '6aaced2f6c0c8b46e6a3593d8ad13c7527451a23', class: "col-12" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Account Owner Name", value: (_c = this.defaultValue) === null || _c === void 0 ? void 0 : _c.account_owner_name })) : (index.h("form-control-text", { name: "account_owner_name", label: "Account Owner Name", defaultValue: this.defaultValue.account_owner_name, errorText: this.errors.account_owner_name, inputHandler: this.inputHandler }))), index.h("div", { key: 'd381212bea7f03818ce8ea6a33f5183081363fa8', class: "col-12" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Account Type", value: (_d = this.defaultValue) === null || _d === void 0 ? void 0 : _d.account_type })) : (index.h("form-control-select", { name: "account_type", label: "Account Type", options: businessFormOptions.bankAccountTypeOptions, defaultValue: this.defaultValue.account_type, errorText: this.errors.account_type, inputHandler: this.inputHandler }))), index.h("div", { key: '6f8fa0aa9f01c34440277ae56375e99f4e00259f', class: "col-3" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Transit Number", value: ((_e = this.defaultValue) === null || _e === void 0 ? void 0 : _e.transit_number) || '' })) : (index.h("form-control-text", { name: "transit_number", label: "Transit Number", defaultValue: this.defaultValue.transit_number, maxLength: 5, errorText: this.errors.transit_number, inputHandler: this.inputHandler, keyDownHandler: utils.numberOnlyHandler, helpText: "5 digits" }))), index.h("div", { key: '5b5d8fbd0144c30bb830415da675bb466e735b0d', class: "col-3" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Institution Number", value: ((_f = this.defaultValue) === null || _f === void 0 ? void 0 : _f.institution_number) || '' })) : (index.h("form-control-text", { name: "institution_number", label: "Institution Number", defaultValue: this.defaultValue.institution_number, maxLength: 3, errorText: this.errors.institution_number, inputHandler: this.inputHandler, keyDownHandler: utils.numberOnlyHandler, helpText: "3 digits" }))), index.h("div", { key: 'd1de061b7d721dbfb9539212415ceff9655aeed3', class: "col-6" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Account Number", value: ((_g = this.defaultValue) === null || _g === void 0 ? void 0 : _g.account_number_last4) ? `**** ${this.defaultValue.account_number_last4}` : '' })) : (index.h("form-control-text", { name: "account_number", label: "Account Number", defaultValue: this.defaultValue.account_number, maxLength: 17, errorText: this.errors.account_number, inputHandler: this.inputHandler, keyDownHandler: utils.numberOnlyHandler, helpText: "Please copy the account number as shown on your statement. Do not include spaces or dashes." })))));
|
|
48
47
|
}
|
|
49
48
|
};
|
|
50
49
|
|
|
@@ -53,7 +52,7 @@ const BankAccountReadOnlyValue = class {
|
|
|
53
52
|
index.registerInstance(this, hostRef);
|
|
54
53
|
}
|
|
55
54
|
render() {
|
|
56
|
-
return (index.h("div", { key: '
|
|
55
|
+
return (index.h("div", { key: '99b3b6a22eecad258b65287c4f9c8a1485a95d4d' }, index.h("label", { key: 'fcd00510470fa322ee4c2a4a7179de3064569c0e', class: "form-label", part: parts.text }, this.label), index.h("div", { key: '30e4d925bb41664887d41871d87f3bcf2709dcff', part: parts.text }, this.value || '')));
|
|
57
56
|
}
|
|
58
57
|
};
|
|
59
58
|
|
|
@@ -117,10 +116,10 @@ const FileInput = class {
|
|
|
117
116
|
return part;
|
|
118
117
|
}
|
|
119
118
|
render() {
|
|
120
|
-
return (index.h(index.Host, { key: '
|
|
119
|
+
return (index.h(index.Host, { key: 'c1d92b4464500d430ad828ce374b864f0abf79dc' }, index.h("div", { key: '7753e5875afe4c6da178a088721b62590e104039', class: "form-group d-flex flex-column" }, index.h("div", { key: '35732250f1da24e5d8af9d6c984360402aa8c749', class: "d-flex align-items-start gap-2" }, index.h("label", { key: '1dbdb4c74c82415714295d882a48ea3634265cae', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: '132b4e5b01986aba2f1999db2f19373477b0af9d', helpText: this.helpText })), index.h("input", { key: '4c371be7c4d784fb7ba3dc3244aaab5ef7dea763', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
121
120
|
this.isFocused = false;
|
|
122
121
|
this.formControlBlur.emit();
|
|
123
|
-
} }), index.h(formControlErrorText.FormControlErrorText, { key: '
|
|
122
|
+
} }), index.h(formControlErrorText.FormControlErrorText, { key: 'f9c2a057b20ccf863331c90156a5a9df65bb85a6', errorText: this.errorText, name: this.name }))));
|
|
124
123
|
}
|
|
125
124
|
get el() { return index.getElement(this); }
|
|
126
125
|
};
|
|
@@ -48,10 +48,10 @@ const BankAccountForm = class {
|
|
|
48
48
|
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
49
49
|
}
|
|
50
50
|
render() {
|
|
51
|
-
return (index.h(index.Host, { key: '
|
|
51
|
+
return (index.h(index.Host, { key: '75a85f7b9ea4bf40b486706bce4b142821bf9f00' }, index.h(BankAccountFormSkeleton, { key: 'ce957273b6ac57f4f0c636622cc9578582ceff43', isReady: this.isReady }), index.h("div", { key: 'd269050f0fc66d7000096ccfb72a075342e0e91a', class: "container-fluid p-0", style: {
|
|
52
52
|
opacity: this.isReady ? '1' : '0',
|
|
53
53
|
height: this.isReady ? 'auto' : '0',
|
|
54
|
-
} }, index.h("div", { key: '
|
|
54
|
+
} }, index.h("div", { key: '87285840b03837b7f12922257d6c8ca171db2d7d', class: "row mb-3" }, index.h("iframe-input", { key: 'd0ad5b047f1a4e51936ce79edc2d195bd781e4b2', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber?tabId=${this.tabId}` })), index.h("div", { key: 'eee0c473f0add87e7842a0a1f24bdd999fe21a77', class: "row" }, index.h("iframe-input", { key: 'dfaa618afdffabe07a290cdfe63c6f06b38f8ecf', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber?tabId=${this.tabId}` })))));
|
|
55
55
|
}
|
|
56
56
|
};
|
|
57
57
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var Api = require('./Api-BeSnjEuW.js');
|
|
4
4
|
require('./ComponentError-D4OLnOkg.js');
|
|
5
|
-
require('./
|
|
5
|
+
require('./Refund-Blquw3jZ.js');
|
|
6
6
|
require('./Pagination-Dediz133.js');
|
|
7
7
|
require('./Business-DWHy_-z9.js');
|
|
8
8
|
require('./Dispute-CruQTF6_.js');
|
|
@@ -52,10 +52,10 @@ const CardForm = class {
|
|
|
52
52
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
53
53
|
}
|
|
54
54
|
render() {
|
|
55
|
-
return (index.h(index.Host, { key: '
|
|
55
|
+
return (index.h(index.Host, { key: '4867571cdff85823d48b139c1b6e591ff73ca426' }, index.h(CardFormSkeleton, { key: '37b584aa3865acc9266500f734c7a10e49fa139d', isReady: this.isReady }), index.h("div", { key: '09b5e58ed9df060922e2579880b68f022cff2940', class: "container-fluid p-0", style: {
|
|
56
56
|
opacity: this.isReady ? '1' : '0',
|
|
57
57
|
height: this.isReady ? 'auto' : '0',
|
|
58
|
-
} }, index.h("div", { key: '
|
|
58
|
+
} }, index.h("div", { key: 'bd2f777339e421523cd92c402c4fc066cbde7053', class: "mb-3" }, index.h("iframe-input", { key: '45b822e5878806ae47f88cf5aa54fe9ae5592eda', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber?tabId=${this.tabId}` })), index.h("div", { key: 'c9e4d2afd2eef4377356114bc33f1cc29fea46b3', class: "d-flex align-items-start" }, index.h("div", { key: 'e846e807f6524b9fd6a29a0a0bd2fff74c68f11f', class: "flex-fill me-3" }, index.h("iframe-input", { key: 'd48a6f05d3ca1341d8060987b53318bf29db4881', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Exp. Month", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth?tabId=${this.tabId}` })), index.h("div", { key: '9127d9dc4ff3386db9060126a8b0ce2e2125a5c9', class: "flex-fill me-3" }, index.h("iframe-input", { key: 'ced08ea4750b594b87e19fd6e9ae49b2cb6caa72', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "Exp. Year", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear?tabId=${this.tabId}` })), index.h("div", { key: '92e07ff8ee6004f64a1e062371fd749771cdb77d', class: "flex-fill" }, index.h("iframe-input", { key: '487187ddfb9cea24cebc377950f33feb9222b299', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV?tabId=${this.tabId}` }))))));
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
61
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var _package = require('./package-
|
|
3
|
+
var _package = require('./package-gCv25hzn.js');
|
|
4
4
|
var Api = require('./Api-BeSnjEuW.js');
|
|
5
5
|
require('./ComponentError-D4OLnOkg.js');
|
|
6
|
-
require('./
|
|
6
|
+
require('./Refund-Blquw3jZ.js');
|
|
7
7
|
require('./Pagination-Dediz133.js');
|
|
8
8
|
require('./Business-DWHy_-z9.js');
|
|
9
9
|
require('./Dispute-CruQTF6_.js');
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var Api = require('./Api-BeSnjEuW.js');
|
|
4
4
|
require('./ComponentError-D4OLnOkg.js');
|
|
5
|
-
require('./
|
|
5
|
+
require('./Refund-Blquw3jZ.js');
|
|
6
6
|
require('./Pagination-Dediz133.js');
|
|
7
7
|
require('./Business-DWHy_-z9.js');
|
|
8
8
|
require('./Dispute-CruQTF6_.js');
|