@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
|
@@ -5,7 +5,6 @@ exports.PAYMENT_MODE = void 0;
|
|
|
5
5
|
PAYMENT_MODE["ECOM"] = "ecom";
|
|
6
6
|
PAYMENT_MODE["BNPL"] = "bnpl";
|
|
7
7
|
PAYMENT_MODE["APPLE_PAY"] = "apple_pay";
|
|
8
|
-
PAYMENT_MODE["GOOGLE_PAY"] = "google_pay";
|
|
9
8
|
})(exports.PAYMENT_MODE || (exports.PAYMENT_MODE = {}));
|
|
10
9
|
// Maps the backend payment method types to the frontend payment method types
|
|
11
10
|
var PAYMENT_METHOD_TYPES;
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -3,19 +3,20 @@
|
|
|
3
3
|
var index = require('./index-BhI7cJcE.js');
|
|
4
4
|
var styledHost = require('./styled-host-D5g7INLE.js');
|
|
5
5
|
require('./event-types-YOY5TKUN.js');
|
|
6
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
6
|
+
var checkPkgVersion = require('./check-pkg-version-D06Nzj0h.js');
|
|
7
7
|
var configState = require('./config-state-CYoBVAca.js');
|
|
8
8
|
require('./dinero-BwNN_k7x.js');
|
|
9
9
|
var ComponentError = require('./ComponentError-D4OLnOkg.js');
|
|
10
|
-
|
|
10
|
+
require('./Refund-Blquw3jZ.js');
|
|
11
11
|
require('./Pagination-Dediz133.js');
|
|
12
12
|
require('./Business-DWHy_-z9.js');
|
|
13
13
|
require('./Dispute-CruQTF6_.js');
|
|
14
|
-
var
|
|
14
|
+
var checkout_store = require('./checkout.store-BA6h-dp2.js');
|
|
15
|
+
var index$1 = require('./index-C2ITzalN.js');
|
|
15
16
|
var skeleton = require('./skeleton-BF3HGL9X.js');
|
|
16
17
|
var button = require('./button-CARQPDm-.js');
|
|
17
18
|
var parts = require('./parts-Pb06tUMp.js');
|
|
18
|
-
require('./package-
|
|
19
|
+
require('./package-gCv25hzn.js');
|
|
19
20
|
require('./Api-BeSnjEuW.js');
|
|
20
21
|
require('./utils-Bab-tddY.js');
|
|
21
22
|
require('./index-mmd0OhmD.js');
|
|
@@ -31,7 +32,7 @@ const JustifiRadioListItem = class {
|
|
|
31
32
|
};
|
|
32
33
|
}
|
|
33
34
|
render() {
|
|
34
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
35
|
+
return (index.h(styledHost.StyledHost, { key: '1ae40f787970160e38b72f917bda96f480d2a890' }, index.h("div", { key: '2130596c8294cc38365e6126806735da0f93ef4a', class: `radio-list-item p-3 ${this.class || ''}`, part: parts.radioListItem, onClick: this.handleClick, hidden: this.hidden }, index.h("form-control-radio", { key: '7d5524f518430f2bfd1c9863f354318929353cfb', name: this.name, value: this.value, checked: this.checked, label: this.label, inputHandler: () => null }))));
|
|
35
36
|
}
|
|
36
37
|
};
|
|
37
38
|
|
|
@@ -75,7 +76,7 @@ const InternalTokenizePaymentMethod = class {
|
|
|
75
76
|
}
|
|
76
77
|
handleRadioClick(event) {
|
|
77
78
|
this.selectedPaymentMethod = event.detail;
|
|
78
|
-
|
|
79
|
+
checkout_store.checkoutStore.selectedPaymentMethod = { type: event.detail };
|
|
79
80
|
}
|
|
80
81
|
async fillBillingForm(fields) {
|
|
81
82
|
var _a;
|
|
@@ -136,8 +137,8 @@ const InternalTokenizePaymentMethod = class {
|
|
|
136
137
|
try {
|
|
137
138
|
const billingFormFieldValues = await this.billingFormRef.getValues();
|
|
138
139
|
const config = {
|
|
139
|
-
clientId: this.authToken ||
|
|
140
|
-
account: this.accountId ||
|
|
140
|
+
clientId: this.authToken || checkout_store.checkoutStore.authToken,
|
|
141
|
+
account: this.accountId || checkout_store.checkoutStore.accountId,
|
|
141
142
|
paymentMethodMetadata: this.buildPaymentMethodMetadata(billingFormFieldValues),
|
|
142
143
|
};
|
|
143
144
|
return await this.paymentMethodFormRef.tokenize(config);
|
|
@@ -148,13 +149,13 @@ const InternalTokenizePaymentMethod = class {
|
|
|
148
149
|
}
|
|
149
150
|
// 9. Local methods
|
|
150
151
|
validateRequiredProps() {
|
|
151
|
-
if (!this.authToken && !
|
|
152
|
+
if (!this.authToken && !checkout_store.checkoutStore.authToken) {
|
|
152
153
|
this.emitError({
|
|
153
154
|
errorCode: ComponentError.ComponentErrorCodes.TOKENIZE_ERROR,
|
|
154
155
|
message: ERROR_MESSAGES.AUTH_TOKEN_REQUIRED,
|
|
155
156
|
});
|
|
156
157
|
}
|
|
157
|
-
if (!this.accountId && !
|
|
158
|
+
if (!this.accountId && !checkout_store.checkoutStore.accountId) {
|
|
158
159
|
this.emitError({
|
|
159
160
|
errorCode: ComponentError.ComponentErrorCodes.TOKENIZE_ERROR,
|
|
160
161
|
message: ERROR_MESSAGES.ACCOUNT_ID_REQUIRED,
|
|
@@ -167,11 +168,11 @@ const InternalTokenizePaymentMethod = class {
|
|
|
167
168
|
}
|
|
168
169
|
if (!this.disableCreditCard) {
|
|
169
170
|
this.selectedPaymentMethod = index$1.PAYMENT_METHODS.NEW_CARD;
|
|
170
|
-
|
|
171
|
+
checkout_store.checkoutStore.selectedPaymentMethod = { type: index$1.PAYMENT_METHODS.NEW_CARD };
|
|
171
172
|
}
|
|
172
173
|
else if (!this.disableBankAccount) {
|
|
173
174
|
this.selectedPaymentMethod = index$1.PAYMENT_METHODS.NEW_BANK_ACCOUNT;
|
|
174
|
-
|
|
175
|
+
checkout_store.checkoutStore.selectedPaymentMethod = { type: index$1.PAYMENT_METHODS.NEW_BANK_ACCOUNT };
|
|
175
176
|
}
|
|
176
177
|
}
|
|
177
178
|
setComputedHideSubmitButton() {
|
|
@@ -261,16 +262,16 @@ const InternalTokenizePaymentMethod = class {
|
|
|
261
262
|
? Object.assign(Object.assign({}, billingFormFieldValues), { payment_method_group_id: this.paymentMethodGroupID }) : Object.assign({}, billingFormFieldValues);
|
|
262
263
|
}
|
|
263
264
|
get paymentMethodGroupID() {
|
|
264
|
-
return this.paymentMethodGroupId ||
|
|
265
|
+
return this.paymentMethodGroupId || checkout_store.checkoutStore.paymentMethodGroupId;
|
|
265
266
|
}
|
|
266
267
|
get shouldSavePaymentMethod() {
|
|
267
|
-
return !!(this.paymentMethodGroupId ||
|
|
268
|
+
return !!(this.paymentMethodGroupId || checkout_store.checkoutStore.savePaymentMethod);
|
|
268
269
|
}
|
|
269
270
|
get shouldHideRadioInput() {
|
|
270
271
|
return this.disableCreditCard || this.disableBankAccount;
|
|
271
272
|
}
|
|
272
273
|
renderPaymentMethodOption(paymentMethodType) {
|
|
273
|
-
const isSelected = this.selectedPaymentMethod === paymentMethodType &&
|
|
274
|
+
const isSelected = this.selectedPaymentMethod === paymentMethodType && checkout_store.checkoutStore.selectedPaymentMethod.id === undefined;
|
|
274
275
|
return (index.h("div", { class: "payment-method" }, index.h("justifi-radio-list-item", { name: "paymentMethodType", value: paymentMethodType, checked: isSelected, label: PAYMENT_METHOD_TYPE_LABELS[paymentMethodType], hidden: this.shouldHideRadioInput }), isSelected && this.renderSelectedPaymentMethodForm(paymentMethodType)));
|
|
275
276
|
}
|
|
276
277
|
renderSelectedPaymentMethodForm(paymentMethodType) {
|
|
@@ -280,7 +281,7 @@ const InternalTokenizePaymentMethod = class {
|
|
|
280
281
|
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) }));
|
|
281
282
|
}
|
|
282
283
|
render() {
|
|
283
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
284
|
+
return (index.h(styledHost.StyledHost, { key: 'e1ee33f08d3eaff9a2951bd30ef9814a5d959b35' }, index.h("form", { key: 'df73d7965968c0efc3ee2b35a9a85d551915e5a1' }, index.h("fieldset", { key: '2967ed65f1c0af42082a8b7c255db5fdc1c78019' }, index.h("div", { key: 'f45b8e074f39ec6abefc8f7e30bdf0ae57b1272c', class: "row gy-3" }, index.h("div", { key: 'fe9c90b34d60802f4d0dc51863874151f4a17b2b', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), index.h("div", { key: 'ff1b8332d70fe68c3d3140c5a173dd8b419b6a8e', class: "col-12" }, index.h("justifi-button", { key: 'bf2ced1a5164a9c9af2bf2c5b750c5f9734dc86b', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
|
|
284
285
|
}
|
|
285
286
|
get host() { return index.getElement(this); }
|
|
286
287
|
static get watchers() { return {
|
|
@@ -334,10 +335,10 @@ const BankAccountForm = class {
|
|
|
334
335
|
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
335
336
|
}
|
|
336
337
|
render() {
|
|
337
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
338
|
+
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: {
|
|
338
339
|
opacity: this.isReady ? '1' : '0',
|
|
339
340
|
height: this.isReady ? 'auto' : '0',
|
|
340
|
-
} }, index.h("div", { key: '
|
|
341
|
+
} }, 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` })))));
|
|
341
342
|
}
|
|
342
343
|
};
|
|
343
344
|
|
|
@@ -381,7 +382,7 @@ const JustifiButton = class {
|
|
|
381
382
|
this.type = 'button';
|
|
382
383
|
}
|
|
383
384
|
render() {
|
|
384
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
385
|
+
return (index.h(styledHost.StyledHost, { key: 'e3b353dac8bf4c078fed17a4854c6ee1891df140' }, index.h(button.Button, { key: '76bfcc8763775a3442fe7f8c307400c1fa829da0', variant: this.variant, isLoading: this.isLoading, clickHandler: this.clickHandler, class: this.class, type: this.type, disabled: this.disabled, style: this.customStyle }, this.text)));
|
|
385
386
|
}
|
|
386
387
|
};
|
|
387
388
|
|
|
@@ -434,10 +435,10 @@ const JustifiCardForm = class {
|
|
|
434
435
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
435
436
|
}
|
|
436
437
|
render() {
|
|
437
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
438
|
+
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: {
|
|
438
439
|
opacity: this.isReady ? '1' : '0',
|
|
439
440
|
height: this.isReady ? 'auto' : '0',
|
|
440
|
-
} }, index.h("div", { key: '
|
|
441
|
+
} }, 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` }))))));
|
|
441
442
|
}
|
|
442
443
|
};
|
|
443
444
|
|
|
@@ -449,12 +450,12 @@ const SaveNewPaymentMethod = class {
|
|
|
449
450
|
this.isChecked = false;
|
|
450
451
|
this.handleCheckboxChange = (_name, value) => {
|
|
451
452
|
this.isChecked = value;
|
|
452
|
-
|
|
453
|
+
checkout_store.checkoutStore.savePaymentMethod = value;
|
|
453
454
|
this.checkboxChanged.emit(this.isChecked);
|
|
454
455
|
};
|
|
455
456
|
}
|
|
456
457
|
render() {
|
|
457
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
458
|
+
return (index.h(styledHost.StyledHost, { key: '9aa9ce812c0cb2fdc809c47060ed150903ad7cd5' }, index.h("form-control-checkbox", { key: '596bc9a145e363c751c8610f4b9f23ad31dab299', label: this.label || 'Save New Payment Method', name: "saveNewPaymentMethod", checked: this.isChecked, inputHandler: this.handleCheckboxChange })));
|
|
458
459
|
}
|
|
459
460
|
};
|
|
460
461
|
|
|
@@ -10,7 +10,7 @@ var skeleton = require('./skeleton-BF3HGL9X.js');
|
|
|
10
10
|
require('./event-types-YOY5TKUN.js');
|
|
11
11
|
var businessFormOptions = require('./business-form-options-e9UFw4P-.js');
|
|
12
12
|
var eventTypes = require('./event-types-DNOUef41.js');
|
|
13
|
-
var
|
|
13
|
+
var Refund = require('./Refund-Blquw3jZ.js');
|
|
14
14
|
var schemaValidations = require('./schema-validations-BOiGVUHM.js');
|
|
15
15
|
require('./config-state-CYoBVAca.js');
|
|
16
16
|
require('./dinero-BwNN_k7x.js');
|
|
@@ -23,7 +23,6 @@ var businessIdentitySchema = require('./business-identity-schema-rMMiHyPz.js');
|
|
|
23
23
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
24
24
|
require('./utils-Bab-tddY.js');
|
|
25
25
|
require('./index-mmd0OhmD.js');
|
|
26
|
-
require('./index-CajjbB9t.js');
|
|
27
26
|
|
|
28
27
|
class BankAccount {
|
|
29
28
|
constructor(data) {
|
|
@@ -192,8 +191,8 @@ const buildDocumentRules = (documents, allowOptionalFields) => {
|
|
|
192
191
|
bank_statement: index_esm.create$8().nullable(),
|
|
193
192
|
};
|
|
194
193
|
}
|
|
195
|
-
const existingVoidedCheck = checkExistingDocs(documents,
|
|
196
|
-
const existingBankStatement = checkExistingDocs(documents,
|
|
194
|
+
const existingVoidedCheck = checkExistingDocs(documents, Refund.EntityDocumentType.voidedCheck);
|
|
195
|
+
const existingBankStatement = checkExistingDocs(documents, Refund.EntityDocumentType.bankStatement);
|
|
197
196
|
const existingDocument = existingVoidedCheck || existingBankStatement;
|
|
198
197
|
const documentErrorText = 'Please upload either a voided check or a bank statement. Only one is required.';
|
|
199
198
|
return {
|
|
@@ -255,7 +254,7 @@ const BusinessBankAccountFormStepCore = class {
|
|
|
255
254
|
this.errors = {};
|
|
256
255
|
this.bankAccount = {};
|
|
257
256
|
this.existingDocuments = [];
|
|
258
|
-
this.documentData = new
|
|
257
|
+
this.documentData = new Refund.EntityDocumentStorage();
|
|
259
258
|
this.isLoading = false;
|
|
260
259
|
this.getSchema = () => {
|
|
261
260
|
const schema = bankAccountSchemaByCountry[this.country];
|
|
@@ -274,7 +273,7 @@ const BusinessBankAccountFormStepCore = class {
|
|
|
274
273
|
this.storeFiles = (e) => {
|
|
275
274
|
const fileList = Array.from(e.detail.fileList);
|
|
276
275
|
const docType = e.detail.document_type;
|
|
277
|
-
const documentList = fileList.map(file => new
|
|
276
|
+
const documentList = fileList.map(file => new Refund.EntityDocument({ file, document_type: docType }, this.businessId));
|
|
278
277
|
this.documentData[docType] = documentList;
|
|
279
278
|
};
|
|
280
279
|
this.getData = () => {
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
var index = require('./index-BhI7cJcE.js');
|
|
4
4
|
var ComponentError = require('./ComponentError-D4OLnOkg.js');
|
|
5
5
|
var paymentProvisioningActions = require('./payment-provisioning-actions-CZVlnRA0.js');
|
|
6
|
-
var business_service = require('./business.service-
|
|
6
|
+
var business_service = require('./business.service-DrBmfEbR.js');
|
|
7
7
|
require('./config-state-CYoBVAca.js');
|
|
8
8
|
require('./dinero-BwNN_k7x.js');
|
|
9
|
-
require('./
|
|
9
|
+
require('./Refund-Blquw3jZ.js');
|
|
10
10
|
require('./Pagination-Dediz133.js');
|
|
11
11
|
var Business = require('./Business-DWHy_-z9.js');
|
|
12
12
|
require('./Dispute-CruQTF6_.js');
|
|
@@ -19,7 +19,6 @@ require('./event-types-YOY5TKUN.js');
|
|
|
19
19
|
require('./utils-DvUQQLmR.js');
|
|
20
20
|
require('./index-mmd0OhmD.js');
|
|
21
21
|
require('./utils-Bab-tddY.js');
|
|
22
|
-
require('./index-CajjbB9t.js');
|
|
23
22
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
24
23
|
|
|
25
24
|
const AdditionalQuestionsFormStep = class {
|
|
@@ -58,7 +57,7 @@ const AdditionalQuestionsFormStep = class {
|
|
|
58
57
|
}
|
|
59
58
|
}
|
|
60
59
|
render() {
|
|
61
|
-
return (index.h("justifi-additional-questions-form-step-core", { key: '
|
|
60
|
+
return (index.h("justifi-additional-questions-form-step-core", { key: 'a688dd7646fae4e99f46fabca10c0a86921bb560', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
|
|
62
61
|
}
|
|
63
62
|
static get watchers() { return {
|
|
64
63
|
"authToken": ["propChanged"],
|
|
@@ -105,7 +104,7 @@ const BusinessBankAccountFormStep = class {
|
|
|
105
104
|
}
|
|
106
105
|
}
|
|
107
106
|
render() {
|
|
108
|
-
return (index.h("justifi-business-bank-account-form-step-core", { key: '
|
|
107
|
+
return (index.h("justifi-business-bank-account-form-step-core", { key: 'a265d71bf69715689e4ff56f9850119fe6524e8f', businessId: this.businessId, getBusiness: this.getBusiness, postBankAccount: this.postBankAccount, postDocumentRecord: this.postDocumentRecord, allowOptionalFields: this.allowOptionalFields, country: this.country, ref: el => this.coreComponent = el }));
|
|
109
108
|
}
|
|
110
109
|
static get watchers() { return {
|
|
111
110
|
"authToken": ["propChanged"],
|
|
@@ -149,7 +148,7 @@ const BusinessCoreInfoFormStep = class {
|
|
|
149
148
|
}
|
|
150
149
|
}
|
|
151
150
|
render() {
|
|
152
|
-
return (index.h("justifi-business-core-info-form-step-core", { key: '
|
|
151
|
+
return (index.h("justifi-business-core-info-form-step-core", { key: 'f76d7744562afbe13f503876fcc4e2ef7597fee9', businessId: this.businessId, getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, country: this.country, ref: el => this.coreComponent = el }));
|
|
153
152
|
}
|
|
154
153
|
static get watchers() { return {
|
|
155
154
|
"authToken": ["propChanged"],
|
|
@@ -193,7 +192,7 @@ const BusinessOwnersFormStep = class {
|
|
|
193
192
|
}
|
|
194
193
|
}
|
|
195
194
|
render() {
|
|
196
|
-
return (index.h(index.Host, { key: '
|
|
195
|
+
return (index.h(index.Host, { key: '2299a420a6ee8165c1b13ba7ad88664ff9e031de' }, index.h("justifi-business-owners-form-step-core", { key: 'd167e856e2983728beeb95f6647bd7045652fbe8', authToken: this.authToken, businessId: this.businessId, getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, country: this.country, ref: (el) => this.coreComponent = el })));
|
|
197
196
|
}
|
|
198
197
|
static get watchers() { return {
|
|
199
198
|
"authToken": ["propChanged"],
|
|
@@ -237,7 +236,7 @@ const BusinessRepresentativeFormStep = class {
|
|
|
237
236
|
}
|
|
238
237
|
}
|
|
239
238
|
render() {
|
|
240
|
-
return (index.h("justifi-business-representative-form-step-core", { key: '
|
|
239
|
+
return (index.h("justifi-business-representative-form-step-core", { key: '8846ca3e4eb1cbe90155fd097e672a81061da0d3', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, country: this.country, ref: el => this.coreComponent = el }));
|
|
241
240
|
}
|
|
242
241
|
static get watchers() { return {
|
|
243
242
|
"authToken": ["propChanged"],
|
|
@@ -365,7 +364,7 @@ const BusinessTermsConditionsFormStep = class {
|
|
|
365
364
|
return (index.h("a", { href: "https://justifi.tech/merchant-agreement/", target: "_blank", rel: "noopener noreferrer" }, "merchant agreement"));
|
|
366
365
|
}
|
|
367
366
|
render() {
|
|
368
|
-
return (index.h("form", { key: '
|
|
367
|
+
return (index.h("form", { key: 'ed3e493e5c53e303c98e97a15149cffd2865de47' }, index.h("fieldset", { key: 'a4be899152d7930c2e5ac8b384f866ba313a434f' }, index.h("legend", { key: '6b473d236380c13ec4186cb5088f976349f18e7c', part: parts.heading2 }, "Terms and Conditions"), index.h("hr", { key: '4ef52973bed72265e0ef29f0ac6e7a0ac1142f8a' }), index.h("div", { key: '621d89594d6335d10a746af628ce85df0bf4a71f' }, index.h("p", { key: '2f13e9851fdfa4b8f678de19261e7df7a7968cc0' }, "Please read and accept the ", this.merchantAgreementLink, " to submit your provisioning request.")), index.h("br", { key: '7951565f2ad57491cbba0d05d650eb0aea1aea54' }), index.h("div", { key: 'e7d727efbd5d732b31746d3cc61eeaf9eb4b1ff6', class: "row-gy-3" }, index.h("div", { key: 'b6d8d501530fbe4de7c11eb46218c618a7aec26f', class: "col-12" }, index.h("form-control-checkbox", { key: '79030af1a43bc5d1742726b8ea66d6dda3306473', name: "accepted", label: "I agree to the terms and conditions", inputHandler: this.inputHandler, errorText: this.errors.accepted, disabled: this.acceptedTermsBefore, helpText: this.formHelperText, checked: this.acceptedTerms }))))));
|
|
369
368
|
}
|
|
370
369
|
};
|
|
371
370
|
|
|
@@ -405,7 +404,7 @@ const LegalAddressFormStep = class {
|
|
|
405
404
|
}
|
|
406
405
|
}
|
|
407
406
|
render() {
|
|
408
|
-
return (index.h("justifi-legal-address-form-step-core", { key: '
|
|
407
|
+
return (index.h("justifi-legal-address-form-step-core", { key: 'a8b4b59a646739f00e3a7867519a7f996ecb3c83', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, country: this.country, ref: el => this.coreComponent = el }));
|
|
409
408
|
}
|
|
410
409
|
static get watchers() { return {
|
|
411
410
|
"authToken": ["propChanged"],
|
|
@@ -427,7 +426,7 @@ const PaymentProvisioningFormButtons = class {
|
|
|
427
426
|
return this.currentStep === this.totalSteps;
|
|
428
427
|
}
|
|
429
428
|
render() {
|
|
430
|
-
return (index.h("div", { key: '
|
|
429
|
+
return (index.h("div", { key: 'e13d3613af061d0067d1dbd84b6c3aebfc782aad', class: 'd-flex gap-2' }, index.h(button.Button, { key: '7b422ce77e13872f3dbd622574bce0e3e6e9c2ed', variant: "secondary", type: "button", onClick: () => this.previousStepButtonOnClick(), disabled: this.formDisabled, hidden: !this.showPreviousStepButton }, "Previous"), index.h(button.Button, { key: 'ea1242fdccb0b0af2438f4aaab91e3e17a607ef7', variant: "primary", type: "button", onClick: (e) => this.nextStepButtonOnClick(e, eventTypes.BusinessFormClickActions.nextStep), disabled: this.formDisabled, isLoading: this.formLoading, hidden: !this.showNextStepButton }, "Next"), index.h(button.Button, { key: '0c323f533ea84608dcdabb885f69d71a81ec684b', variant: "primary", type: "submit", onClick: (e) => this.nextStepButtonOnClick(e, eventTypes.BusinessFormClickActions.submit), disabled: this.formDisabled, isLoading: this.formLoading, hidden: !this.showSubmitButton }, "Submit")));
|
|
431
430
|
}
|
|
432
431
|
};
|
|
433
432
|
|
|
@@ -450,7 +449,7 @@ const PaymentProvisioningFormSteps = class {
|
|
|
450
449
|
return this.componentStepMapping[this.currentStep]();
|
|
451
450
|
}
|
|
452
451
|
render() {
|
|
453
|
-
return (index.h("div", { key: '
|
|
452
|
+
return (index.h("div", { key: 'dcf3f283bae7de00311f35e41b8d803196f50d49', class: 'col-12 mb-4' }, this.currentStepComponent));
|
|
454
453
|
}
|
|
455
454
|
};
|
|
456
455
|
|
|
@@ -100,7 +100,7 @@ const AdditionalStatement = class {
|
|
|
100
100
|
}
|
|
101
101
|
render() {
|
|
102
102
|
var _a, _b;
|
|
103
|
-
return (index.h("div", { key: '
|
|
103
|
+
return (index.h("div", { key: 'c3458b13a7a265c9538725f706febf90251beb0e' }, index.h("div", { key: 'f8df4f3ae70640acf11f5c803ae1f77f1f501b48', class: "row gy-3" }, index.h("div", { key: '4d92037e9cb588c137bac7a505d35764de1fc83e', class: "col-12" }, index.h("h2", { key: '6cbf7f95a025011299aa0612e9c28c87f4fb6553', class: "h5", part: parts.heading5 }, "Additional Evidence")), index.h("div", { key: '36d990b686e17568dffe11529582638cb5e1e812', class: "col-12" }, index.h("form-control-textarea", { key: 'c75f3f622ecfcf142d003e1af09f81794d4f6a1d', label: "Is there anything else you would like to say about this dispute?", name: "additional_statement", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.additional_statement, inputHandler: this.inputHandler, errorText: this.errors.additional_statement })), index.h("div", { key: 'd6da0f0922e5c1ba99dbef034b9a8d8817739899', class: "col-12" }, index.h("form-control-file-v2", { key: '0e333a243b510fbe96bf874fa523ea9e4d7bfa6f', label: "Additional files", name: "uncategorized_file", multiple: true, helpText: "Upload any additional pieces of evidence that have not already been provided.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.uncategorized_file })))));
|
|
104
104
|
}
|
|
105
105
|
};
|
|
106
106
|
|
|
@@ -134,7 +134,7 @@ const CancellationPolicy = class {
|
|
|
134
134
|
}
|
|
135
135
|
render() {
|
|
136
136
|
var _a, _b, _c;
|
|
137
|
-
return (index.h("div", { key: '
|
|
137
|
+
return (index.h("div", { key: 'bd78bece625aec456d3433cc20bff08c16ae147a' }, index.h("div", { key: '80b32adabf3205beb07609c2758ba8609f22cf87', class: "row gy-3" }, index.h("div", { key: 'baa7766e30f6d9a9be7d2194d07e2fd53e859642', class: "col-12" }, index.h("h2", { key: 'bb1bb5a301dfaa5f4ce3cdcef84ff987088f2933', class: "h5", part: parts.heading5 }, "Cancellation Policy")), index.h("div", { key: '47fd127e97420bcc5aca04e6cdf2067edd7d9a97', class: "col-12" }, index.h("form-control-textarea", { key: 'c85dd2dc03c872e96c052e347bb698c9c8f17b3b', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.cancellation_policy_disclosure, inputHandler: this.inputHandler, errorText: this.errors.cancellation_policy_disclosure })), index.h("div", { key: 'e070c23f89b84d414992b842107531136b2541a6', class: "col-12" }, index.h("form-control-textarea", { key: '0c3acec921d25929feb496f810a1745debc440fb', label: "Cancellation Rebuttal", name: "cancellation_rebuttal", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.cancellation_rebuttal, inputHandler: this.inputHandler, errorText: this.errors.cancellation_rebuttal })), index.h("div", { key: 'd40087a09150c9e801b6499604b71b48019a33b7', class: "col-12" }, index.h("form-control-file-v2", { key: '75c6d00c7a29c60bd81ab2f187f901d6fbe522d1', label: "Upload Cancellation Policy", name: "cancellation_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.cancellation_policy })))));
|
|
138
138
|
}
|
|
139
139
|
};
|
|
140
140
|
|
|
@@ -169,7 +169,7 @@ const CustomerDetails = class {
|
|
|
169
169
|
}
|
|
170
170
|
render() {
|
|
171
171
|
var _a, _b, _c, _d, _e;
|
|
172
|
-
return (index.h("div", { key: '
|
|
172
|
+
return (index.h("div", { key: '4f66d1737416342483855947c8d0bc84633efd1a' }, index.h("div", { key: '0a7be5af6e92d56bf58ceb5e1a5269163f8a5eef', class: "row gy-3" }, index.h("div", { key: '0ae8574e9228b7cee09f33595f901a216fad571c', class: "col-12" }, index.h("h2", { key: '9a025c901262dc362e048a72f3f5d17eaa8bc7a4', class: "h5", part: parts.heading5 }, "Customer Details")), index.h("div", { key: '8d651d6a4f9f3ebc519e3fd8b6cd03da452f7a5e', class: "col-12" }, index.h("form-control-text", { key: '00b3d5ffef1d253b75cdba11c26c05fc4b3d3e7d', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), index.h("div", { key: '3494745d7843208abe678662359cf1612b035d2d', class: "col-12" }, index.h("form-control-text", { key: 'b6822a0f33dab183f717e58b68cd1c95445a62c8', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), index.h("div", { key: '86f9e759614375d50238fa26756ceac0ebd3d55c', class: "col-12" }, index.h("form-control-textarea", { key: 'e86f3fcc5a5f31cf46b67d53ee282b16232c0016', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), index.h("div", { key: 'bda34fee75daeaf9ac91758a096febabe98ddf14', class: "col-12" }, index.h("form-control-file-v2", { key: '49c40325d8478296a6da2f124114a7a06d29b4c6', label: "Customer Signature", name: "customer_signature", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.customer_signature })), index.h("div", { key: '8f1b66a41596a3606b5c2f2a0c94844f11aa4b27', class: "col-12" }, index.h("form-control-file-v2", { key: 'c5c539c9f9cf799a1043330e657a6064510e59ba', label: "Customer Communication", name: "customer_communication", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.customer_communication })))));
|
|
173
173
|
}
|
|
174
174
|
};
|
|
175
175
|
|
|
@@ -203,7 +203,7 @@ const DuplicateCharge = class {
|
|
|
203
203
|
}
|
|
204
204
|
render() {
|
|
205
205
|
var _a, _b, _c;
|
|
206
|
-
return (index.h("div", { key: '
|
|
206
|
+
return (index.h("div", { key: '68152308257c9331e3e3e1b8141922634390c91d' }, index.h("div", { key: '0ff743d3d260272e98f9d9c9219e1465de1c7516', class: "row gy-3" }, index.h("div", { key: 'c02a18a34320cc8b4574b65f378b8a54207eb01c', class: "col-12" }, index.h("h2", { key: '254ae07ed42f2c61fed3b0be8cd02f928ac64f92', class: "h5", part: parts.heading5 }, "Duplicate Charge")), index.h("div", { key: 'dfd97f7c5817bcd14458e4d390736b79651c29db', class: "col-12" }, index.h("form-control-text", { key: '76c551ab0641c3ebb78c40cdb78bb184911033c9', label: "Original Payment ID", name: "duplicate_charge_original_payment_id", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.duplicate_charge_original_payment_id, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_original_payment_id })), index.h("div", { key: '1edd78dcefbe32156f27e924e5b032a016dbffc5', class: "col-12" }, index.h("form-control-textarea", { key: '556829c59b797a79b8bd31d3add791819a2ef84a', label: "Duplicate Charge Explanation", name: "duplicate_charge_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.duplicate_charge_explanation, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_explanation })), index.h("div", { key: '183a68bf83924559e0032af6a43308466944fdcb', class: "col-12" }, index.h("form-control-file-v2", { key: 'fa3817f0e2e8ff17d5cdd142ccabc0e539a48d38', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.duplicate_charge_documentation })))));
|
|
207
207
|
}
|
|
208
208
|
};
|
|
209
209
|
|
|
@@ -236,7 +236,7 @@ const ElectronicEvidence = class {
|
|
|
236
236
|
}
|
|
237
237
|
render() {
|
|
238
238
|
var _a, _b;
|
|
239
|
-
return (index.h("div", { key: '
|
|
239
|
+
return (index.h("div", { key: '677a04d0eb6000066063a68bfe85d286c5c207fa' }, index.h("div", { key: 'b231437fc879fa2c24474c498eba17edd34128a3', class: "row gy-3" }, index.h("div", { key: 'd0cf03d9f5e2de19f63e47fd42f0bec710d44bd1', class: "col-12" }, index.h("h2", { key: '5343dcbeffdaa14e4605944eef18c5ebf1418a20', class: "h5", part: parts.heading5 }, "Electronic Evidence")), index.h("div", { key: 'a4b816038465b14e4078b13d46543280b212c676', class: "col-12" }, index.h("form-control-text", { key: '8cebdd64857d99b8058013df9a10ac007869b998', label: "Purchase IP Address", name: "customer_purchase_ip_address", helpText: "The IP address used by the customer during the purchase.", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_purchase_ip_address, inputHandler: this.inputHandler, errorText: this.errors.customer_purchase_ip_address })), index.h("div", { key: '637f3221604b415b8ea5c04af800a72dbfa40c4b', class: "col-12" }, index.h("form-control-file-v2", { key: '89b3db82c57b8673124369e915efa4f0ec3927a8', label: "Activity Logs", name: "activity_log", helpText: "Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.activity_log })))));
|
|
240
240
|
}
|
|
241
241
|
};
|
|
242
242
|
|
|
@@ -270,7 +270,7 @@ const ProductOrService = class {
|
|
|
270
270
|
}
|
|
271
271
|
render() {
|
|
272
272
|
var _a, _b, _c;
|
|
273
|
-
return (index.h("div", { key: '
|
|
273
|
+
return (index.h("div", { key: 'ae1fdf1a29d12408c3be84b02dcd058cb4c7849b' }, index.h("div", { key: '499977f5ad1d9bcbddb749b556539cd1b641d3e8', class: "row gy-3" }, index.h("div", { key: '1318ffbe476b9b0cb662b85f3bc670c66e97f8f5', class: "col-12" }, index.h("h2", { key: '58bf1ca5a29f3a4942b249f7d35f60f4f9976b62', class: "h5", part: parts.heading5 }, "Product & Service Details")), index.h("div", { key: '957203535d86a521d5d702d0d85eb09201deab3a', class: "col-12" }, index.h("form-control-text", { key: 'b02101dd7b3e22b06feea75f451fca6ac1496851', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), index.h("div", { key: '5eddaf6586b22c516f5fd48943cfd6f4a7bb83ce', class: "col-12" }, index.h("form-control-date", { key: 'bbc3a6d58d6f7e123d08802ca933135603476cca', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), index.h("div", { key: '4d810ce7ffdd4aec9fb8d1ce81aa8cc23aacb8f7', class: "col-12" }, index.h("form-control-file-v2", { key: 'c3d029eb2da6364df611604b6956a285dcde63ca', label: "Service Documentation", name: "service_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.service_documentation })))));
|
|
274
274
|
}
|
|
275
275
|
};
|
|
276
276
|
|
|
@@ -304,7 +304,7 @@ const RefundPolicy = class {
|
|
|
304
304
|
}
|
|
305
305
|
render() {
|
|
306
306
|
var _a, _b, _c, _d;
|
|
307
|
-
return (index.h("div", { key: '
|
|
307
|
+
return (index.h("div", { key: 'd5afb26778b8e72bb914c964ab03490887149ef7' }, index.h("div", { key: '58c0472396b62c36304fc5b05400ea1e92106d48', class: "row gy-3" }, index.h("div", { key: '0178337b922c635efd5967da10ffb9a4fcf974e3', class: "col-12" }, index.h("h2", { key: '754263a51e6d0dd4a0b42205855446194a01fbde', class: "h5", part: parts.heading5 }, "Refund Policy and Receipt")), index.h("div", { key: '3d618f3d5c73ac55275d189b16b8d0ee2eaf56b4', class: "col-12" }, index.h("form-control-textarea", { key: '42d90a550814a48fdd3bcb5fc8a18dfa3739512d', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), index.h("div", { key: '108c2376a1680468000d83a31753cd2e1a2143f4', class: "col-12" }, index.h("form-control-textarea", { key: '7b1db2802760357080a7cd004bc322cc644c1741', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), index.h("div", { key: 'f1c140d81063c530b5f2c9df8a78cd7edad56482', class: "col-12" }, index.h("form-control-file-v2", { key: '6d7fc6f84f8a3af171e344d1a05d465d144bd6b5', label: "Upload Refund Policy", name: "refund_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.refund_policy })), index.h("div", { key: 'aefdff678a562ea84dd20f2855045ad1e2be2e65', class: "col-12" }, index.h("form-control-file-v2", { key: 'c745a8ca84affd92d6590d4c2ccc0ca11ba71bd6', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
|
|
308
308
|
}
|
|
309
309
|
};
|
|
310
310
|
|
|
@@ -341,7 +341,7 @@ const ShippingDetails = class {
|
|
|
341
341
|
}
|
|
342
342
|
render() {
|
|
343
343
|
var _a, _b, _c, _d, _e;
|
|
344
|
-
return (index.h("div", { key: '
|
|
344
|
+
return (index.h("div", { key: '12761f4d70524d91bfc9ad614d2235a1f7ff9fb2' }, index.h("div", { key: 'f09f1107bd01120198dd8b5fac777494720be56e', class: "row gy-3" }, index.h("div", { key: '2533b4452bada515f9b4d116521122989ca010b8', class: "col-12" }, index.h("h2", { key: '56d3d7c5361dbdc23e98608ca2296532d1d9b9f9', class: "h5", part: parts.heading5 }, "Shipping Details")), index.h("div", { key: 'fd93a97d9829d7aa5999b8c90e769da63f1e5e75', class: "col-12" }, index.h("form-control-text", { key: '0121bfaedb5a3ad33cb71ff4af667099b0fed28c', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), index.h("div", { key: '17def8633c36b773387bf770f203584c01d78d56', class: "col-12" }, index.h("form-control-text", { key: '23a511ccca24f322f56876f31f1c70699808106f', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), index.h("div", { key: '18e25d53629ec3d0096f9ed53a3a6c92e0e746b9', class: "col-12" }, index.h("form-control-date", { key: 'fcdb6e192c8dda9e31e97fd1b6d0e9c74e86712f', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), index.h("div", { key: 'dd2c4332df4a13bab91e26770845c2ad62b4e5ab', class: "col-12" }, index.h("form-control-textarea", { key: '855a2b47ea8363befc57b5a8533d5aac1f18e00e', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), index.h("div", { key: '880ed83f7ef2e3c4aba497c8906c9b39d0f3b922', class: "col-12" }, index.h("form-control-file-v2", { key: '78815509ec89c00074326d5752f77797c4b47746', label: "Shipping Documentation", name: "shipping_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.shipping_documentation })))));
|
|
345
345
|
}
|
|
346
346
|
};
|
|
347
347
|
|