@justifi/webcomponents 6.4.2 → 6.5.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{Refund-BnhHNKLz.js → GooglePay-D3zN44IX.js} +415 -0
- package/dist/cjs/bank-account-document-form-inputs_6.cjs.entry.js +8 -7
- package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
- package/dist/cjs/{business.service-DIlSj5KT.js → business.service-88yKWtbE.js} +1 -1
- package/dist/cjs/card-form.cjs.entry.js +2 -2
- package/dist/cjs/{check-pkg-version-goSFbVFL.js → check-pkg-version-DV1hwzA2.js} +2 -2
- package/dist/cjs/{checkout.service-Ce0F8cOf.js → checkout.service-Cj1RxduX.js} +1 -1
- package/dist/cjs/checkouts-list-core.cjs.entry.js +3 -2
- package/dist/cjs/custom-popper.cjs.entry.js +2 -2
- package/dist/cjs/{dispute.service-DuYeSUgK.js → dispute.service-AXzLxuOs.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-vVIxYblm.js → get-payment-details-DVBTf7h5.js} +2 -2
- package/dist/cjs/{get-subaccounts-yo2pT61R.js → get-subaccounts-DuYNs7Ny.js} +2 -2
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +21 -7
- package/dist/cjs/{index-C2ITzalN.js → index-CajjbB9t.js} +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/internal-tokenize-payment-method_7.cjs.entry.js +23 -24
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +6 -5
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +12 -11
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +8 -8
- package/dist/cjs/{justifi-apple-pay_7.cjs.entry.js → justifi-apple-pay_8.cjs.entry.js} +903 -253
- package/dist/cjs/justifi-bank-account-billing-form-simple_3.cjs.entry.js +2 -2
- package/dist/cjs/justifi-business-details.cjs.entry.js +5 -4
- package/dist/cjs/justifi-business-form.cjs.entry.js +5 -4
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout.cjs.entry.js +14 -15
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +9 -8
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +8 -7
- 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 +6 -5
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +9 -8
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +4 -3
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +10 -9
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +7 -6
- package/dist/cjs/justifi-payment-details.cjs.entry.js +6 -5
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +6 -5
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +7 -6
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +7 -6
- package/dist/cjs/justifi-payout-details.cjs.entry.js +6 -5
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +7 -6
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +8 -7
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +10 -9
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +7 -8
- package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +12 -11
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +7 -6
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +8 -7
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +8 -7
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-jZDXnKmY.js → package-MS7_CYge.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +3 -3
- package/dist/cjs/payment-details-core.cjs.entry.js +11 -10
- package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
- package/dist/cjs/{payment.service-DLvoJ2K6.js → payment.service-7Ayen6ud.js} +1 -1
- package/dist/cjs/payments-list-core.cjs.entry.js +3 -2
- package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
- package/dist/cjs/{payout.service-CrBp8aru.js → payout.service-6PsVtHcu.js} +1 -1
- package/dist/cjs/payouts-list-core.cjs.entry.js +3 -2
- package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +4 -3
- package/dist/cjs/{terminal-orders-table-8PxObvu8.js → terminal-orders-table-BQXO4z_E.js} +3 -3
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/{terminal.service-D0fIw59V.js → terminal.service-DgE2p1j0.js} +1 -1
- package/dist/cjs/terminals-list-core.cjs.entry.js +3 -2
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/GooglePay.js +181 -0
- package/dist/collection/api/index.js +2 -0
- package/dist/collection/api/services/google-pay.service.js +240 -0
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +7 -6
- 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 +8 -7
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +7 -6
- 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 +8 -7
- 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 +1 -1
- 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 +1 -0
- package/dist/collection/components/modular-checkout/modular-checkout.js +46 -9
- 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/google-pay-skeleton.js +10 -0
- package/dist/collection/components/modular-checkout/sub-components/google-pay.js +609 -0
- 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 +3 -4
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +5 -10
- package/dist/collection/store/checkout.store.js +4 -0
- 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 +17 -3
- package/dist/collection/ui-components/form/iframe-input.js +3 -3
- package/dist/collection/ui-components/google-pay-button.js +255 -0
- 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 +567 -119
- package/dist/esm/{Refund-L_muwEAh.js → GooglePay-ChLgDgG7.js} +405 -1
- package/dist/esm/bank-account-document-form-inputs_6.entry.js +8 -7
- package/dist/esm/bank-account-form.entry.js +2 -2
- package/dist/esm/{business.service-CaEVmi4X.js → business.service-C0JaOBMs.js} +1 -1
- package/dist/esm/card-form.entry.js +2 -2
- package/dist/esm/{check-pkg-version-CPDwCVPS.js → check-pkg-version-BQxLpn00.js} +2 -2
- package/dist/esm/{checkout.service-BpaVN1_f.js → checkout.service-gxuAcx_d.js} +1 -1
- package/dist/esm/checkouts-list-core.entry.js +3 -2
- package/dist/esm/custom-popper.entry.js +2 -2
- package/dist/esm/{dispute.service-Dq1SPI2m.js → dispute.service-DmYLDaWO.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-C2YiQBG7.js → get-payment-details-CJ6fHbft.js} +1 -1
- package/dist/esm/{get-subaccounts-Cjz3-2D3.js → get-subaccounts-3zYjlgWb.js} +1 -1
- package/dist/esm/gross-payment-chart-core.entry.js +1 -1
- package/dist/esm/hidden-input_2.entry.js +21 -7
- package/dist/esm/{index-DCIW8z1f.js → index-DkoufM1t.js} +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/internal-tokenize-payment-method_7.entry.js +12 -13
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +2 -1
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +12 -11
- package/dist/esm/justifi-additional-statement_8.entry.js +8 -8
- package/dist/esm/{justifi-apple-pay_7.entry.js → justifi-apple-pay_8.entry.js} +786 -137
- package/dist/esm/justifi-bank-account-billing-form-simple_3.entry.js +2 -2
- package/dist/esm/justifi-business-details.entry.js +5 -4
- package/dist/esm/justifi-business-form.entry.js +5 -4
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
- package/dist/esm/justifi-checkout.entry.js +7 -8
- package/dist/esm/justifi-checkouts-list-filters.entry.js +3 -2
- package/dist/esm/justifi-checkouts-list.entry.js +7 -6
- 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 +6 -5
- package/dist/esm/justifi-dispute-notification_3.entry.js +9 -8
- package/dist/esm/justifi-gross-payment-chart.entry.js +4 -3
- package/dist/esm/justifi-order-terminals.entry.js +7 -6
- package/dist/esm/justifi-owner-form_3.entry.js +7 -6
- package/dist/esm/justifi-payment-details.entry.js +6 -5
- package/dist/esm/justifi-payment-provisioning-core.entry.js +1 -1
- package/dist/esm/justifi-payment-provisioning.entry.js +6 -5
- package/dist/esm/justifi-payment-transactions-list.entry.js +6 -5
- package/dist/esm/justifi-payments-list-filters.entry.js +2 -2
- package/dist/esm/justifi-payments-list.entry.js +6 -5
- package/dist/esm/justifi-payout-details.entry.js +5 -4
- package/dist/esm/justifi-payout-transactions-list.entry.js +6 -5
- package/dist/esm/justifi-payouts-list-filters.entry.js +2 -2
- package/dist/esm/justifi-payouts-list.entry.js +7 -6
- package/dist/esm/justifi-refund-payment.entry.js +6 -5
- package/dist/esm/justifi-saved-payment-method.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +4 -5
- package/dist/esm/justifi-skeleton.entry.js +1 -1
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +4 -3
- package/dist/esm/justifi-terminal-orders-list.entry.js +6 -5
- package/dist/esm/justifi-terminals-list-filters.entry.js +3 -2
- package/dist/esm/justifi-terminals-list.entry.js +7 -6
- package/dist/esm/justifi-tokenize-payment-method.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-B3SPy-II.js → package-CYxDR985.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +3 -3
- package/dist/esm/payment-details-core.entry.js +10 -9
- package/dist/esm/payment-method-option.entry.js +1 -1
- package/dist/esm/{payment.service-4wGt-zDW.js → payment.service-CtzbcN40.js} +1 -1
- package/dist/esm/payments-list-core.entry.js +3 -2
- package/dist/esm/payout-details-core.entry.js +3 -3
- package/dist/esm/{payout.service-BYigYrQu.js → payout.service-BSepoyj1.js} +1 -1
- package/dist/esm/payouts-list-core.entry.js +3 -2
- package/dist/esm/table-filters-menu.entry.js +1 -1
- package/dist/esm/terminal-orders-list-core.entry.js +4 -3
- package/dist/esm/{terminal-orders-table-CMWBIr9y.js → terminal-orders-table-BDQyyZp2.js} +1 -1
- package/dist/esm/terminal-quantity-selector.entry.js +1 -1
- package/dist/esm/{terminal.service-RAu777Qf.js → terminal.service-DFPVyp0k.js} +1 -1
- package/dist/esm/terminals-list-core.entry.js +3 -2
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Analytics.js +2 -0
- package/dist/module/ApplePay.js +121 -0
- package/dist/module/GooglePay.js +184 -0
- package/dist/module/ModularCheckout.js +1 -0
- package/dist/module/additional-questions.js +2 -2
- package/dist/module/additional-statement.js +1 -1
- package/dist/module/apple-pay.js +1 -120
- package/dist/module/bank-account-billing-form-simple.js +1 -1
- package/dist/module/bank-account-document-inputs.js +3 -1
- 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 +2 -0
- package/dist/module/business-bank-account-form-step.js +3 -1
- 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 +3 -1
- package/dist/module/business.service.js +2 -0
- 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 +2 -0
- package/dist/module/checkout.store.js +4 -0
- package/dist/module/checkouts-list-core2.js +3 -1
- 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 +2 -0
- 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 +2 -0
- package/dist/module/get-subaccounts.js +2 -0
- package/dist/module/google-pay.js +785 -0
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/hidden-input2.js +17 -3
- 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 +3 -1
- package/dist/module/justifi-business-form.js +2 -0
- package/dist/module/justifi-button2.js +1 -1
- package/dist/module/justifi-checkout.js +46 -40
- package/dist/module/justifi-checkouts-list-filters.js +3 -1
- package/dist/module/justifi-checkouts-list.js +3 -1
- package/dist/module/justifi-dispute-management.js +1 -1
- package/dist/module/justifi-google-pay.d.ts +11 -0
- package/dist/module/justifi-google-pay.js +6 -0
- package/dist/module/justifi-gross-payment-chart.js +2 -0
- package/dist/module/justifi-header2.js +1 -1
- package/dist/module/justifi-order-terminals.js +3 -1
- package/dist/module/justifi-payment-provisioning.js +3 -1
- package/dist/module/justifi-payment-transactions-list.js +3 -1
- package/dist/module/justifi-payments-list-filters.js +2 -2
- package/dist/module/justifi-payments-list.js +3 -1
- package/dist/module/justifi-payout-details.js +2 -0
- package/dist/module/justifi-payout-transactions-list.js +3 -1
- package/dist/module/justifi-payouts-list-filters.js +2 -2
- package/dist/module/justifi-payouts-list.js +3 -1
- package/dist/module/justifi-radio-list-item2.js +1 -1
- package/dist/module/justifi-refund-payment.js +2 -0
- package/dist/module/justifi-saved-payment-method.js +1 -1
- package/dist/module/justifi-season-interruption-insurance.js +2 -0
- package/dist/module/justifi-skeleton.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +4 -2
- package/dist/module/justifi-terminal-orders-list.js +3 -1
- package/dist/module/justifi-terminals-list-filters.js +3 -1
- package/dist/module/justifi-terminals-list.js +3 -1
- 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 +46 -6
- 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 +10 -8
- 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 +2 -0
- package/dist/module/payments-list-core2.js +3 -1
- package/dist/module/payout-details-core2.js +3 -3
- package/dist/module/payout.service.js +2 -0
- package/dist/module/payouts-list-core2.js +3 -1
- package/dist/module/plaid.service.js +2 -0
- 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 +3 -1
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/terminal.service.js +2 -0
- package/dist/module/terminals-list-core2.js +3 -1
- package/dist/types/api/Checkout.d.ts +2 -0
- package/dist/types/api/GooglePay.d.ts +271 -0
- package/dist/types/api/index.d.ts +2 -0
- package/dist/types/api/services/google-pay.service.d.ts +60 -0
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +3 -3
- package/dist/types/components/checkout/checkout.d.ts +1 -0
- package/dist/types/components/modular-checkout/ModularCheckout.d.ts +2 -1
- package/dist/types/components/modular-checkout/modular-checkout.d.ts +5 -0
- package/dist/types/components/modular-checkout/sub-components/google-pay-skeleton.d.ts +6 -0
- package/dist/types/components/modular-checkout/sub-components/google-pay.d.ts +59 -0
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +1 -1
- package/dist/types/components.d.ts +160 -22
- package/dist/types/store/checkout.store.d.ts +1 -0
- package/dist/types/ui-components/form/hidden-input.d.ts +1 -0
- package/dist/types/ui-components/google-pay-button.d.ts +18 -0
- package/dist/webcomponents/index.esm.js +1 -1
- package/dist/webcomponents/p-032ee5b7.entry.js +1 -0
- package/dist/webcomponents/{p-aec9185f.entry.js → p-03c8c754.entry.js} +1 -1
- package/dist/webcomponents/p-0772719b.entry.js +1 -0
- package/dist/webcomponents/p-0c7db215.entry.js +1 -0
- package/dist/webcomponents/p-136b29e3.entry.js +1 -0
- package/dist/webcomponents/{p-1193a1ac.entry.js → p-19dabeab.entry.js} +1 -1
- package/dist/webcomponents/p-19ea1354.entry.js +1 -0
- package/dist/webcomponents/p-1ce0e372.entry.js +1 -0
- package/dist/webcomponents/p-1f196690.entry.js +1 -0
- package/dist/webcomponents/{p-800660f2.entry.js → p-270bf699.entry.js} +1 -1
- package/dist/webcomponents/p-2a14111e.entry.js +1 -0
- package/dist/webcomponents/p-2aa04490.entry.js +1 -0
- package/dist/webcomponents/p-2da4e6ca.entry.js +1 -0
- package/dist/webcomponents/p-2eb123a3.entry.js +1 -0
- package/dist/webcomponents/p-34a87967.entry.js +1 -0
- package/dist/webcomponents/p-36ad1db9.entry.js +1 -0
- package/dist/webcomponents/p-383f8a27.entry.js +1 -0
- package/dist/webcomponents/p-3ac5ab7e.entry.js +1 -0
- package/dist/webcomponents/p-3ad906c1.entry.js +1 -0
- package/dist/webcomponents/p-3ae12b98.entry.js +1 -0
- package/dist/webcomponents/{p-58ae4f9e.entry.js → p-3bacf834.entry.js} +1 -1
- package/dist/webcomponents/p-4040df88.entry.js +1 -0
- package/dist/webcomponents/{p-e2e6c201.entry.js → p-48d1bc83.entry.js} +1 -1
- package/dist/webcomponents/{p-af48a6bb.entry.js → p-4e71de94.entry.js} +1 -1
- package/dist/webcomponents/p-4f102cfd.entry.js +1 -0
- package/dist/webcomponents/p-5ac8f679.entry.js +1 -0
- package/dist/webcomponents/p-5ba28ff0.entry.js +1 -0
- package/dist/webcomponents/p-6794a435.entry.js +1 -0
- package/dist/webcomponents/{p-CxPieTnF.js → p-7SgMy3r5.js} +1 -1
- package/dist/webcomponents/p-81c1ebd3.entry.js +1 -0
- package/dist/webcomponents/p-8332592a.entry.js +1 -0
- package/dist/webcomponents/p-849ad4d3.entry.js +1 -0
- package/dist/webcomponents/{p-1edec396.entry.js → p-86111a0a.entry.js} +1 -1
- package/dist/webcomponents/p-8b6b7e20.entry.js +1 -0
- package/dist/webcomponents/p-8fcd277c.entry.js +1 -0
- package/dist/webcomponents/p-914b590d.entry.js +1 -0
- package/dist/webcomponents/p-9a3225e2.entry.js +1 -0
- package/dist/webcomponents/{p-BItPr6Gj.js → p-B-9GGR7s.js} +1 -1
- package/dist/webcomponents/p-Boe55CYS.js +1 -0
- package/dist/webcomponents/{p-Do561C8g.js → p-BusXmwDe.js} +1 -1
- package/dist/webcomponents/{p-C9_8N76_.js → p-ByJiG6HY.js} +1 -1
- package/dist/webcomponents/p-CQsNLuzi.js +1 -0
- package/dist/webcomponents/{p-BiizzRhw.js → p-CUkHRggn.js} +1 -1
- package/dist/webcomponents/p-CYxDR985.js +1 -0
- package/dist/webcomponents/{p-ZrJKEEoy.js → p-DELUWNSY.js} +1 -1
- package/dist/webcomponents/{p-wYnnDDuR.js → p-DjhbNep7.js} +1 -1
- package/dist/webcomponents/p-DkoufM1t.js +1 -0
- package/dist/webcomponents/{p-CriWtqRc.js → p-Ds2u5A8P.js} +1 -1
- package/dist/webcomponents/{p-jTVpG8Gt.js → p-E0ZPuuI7.js} +1 -1
- package/dist/webcomponents/p-a020c889.entry.js +1 -0
- package/dist/webcomponents/{p-0082f428.entry.js → p-a22d1078.entry.js} +1 -1
- package/dist/webcomponents/p-a6e816f6.entry.js +1 -0
- package/dist/webcomponents/{p-8681f258.entry.js → p-aaed4997.entry.js} +1 -1
- package/dist/webcomponents/p-ad9307c1.entry.js +1 -0
- package/dist/webcomponents/p-b46223fa.entry.js +1 -0
- package/dist/webcomponents/p-ba76226e.entry.js +1 -0
- package/dist/webcomponents/p-be3caaf8.entry.js +1 -0
- package/dist/webcomponents/p-c11f5079.entry.js +1 -0
- package/dist/webcomponents/p-c41191e7.entry.js +1 -0
- package/dist/webcomponents/p-c4c1c6d4.entry.js +1 -0
- package/dist/webcomponents/p-c621e7af.entry.js +1 -0
- package/dist/webcomponents/p-c8d15694.entry.js +1 -0
- package/dist/webcomponents/p-d13edf9f.entry.js +1 -0
- package/dist/webcomponents/p-d36351e9.entry.js +1 -0
- package/dist/webcomponents/p-d4738115.entry.js +1 -0
- package/dist/webcomponents/p-d913cb6b.entry.js +1 -0
- package/dist/webcomponents/p-dd0ac112.entry.js +1 -0
- package/dist/webcomponents/p-dd75958b.entry.js +1 -0
- package/dist/webcomponents/{p-2769f945.entry.js → p-e6507b93.entry.js} +1 -1
- package/dist/webcomponents/{p-ed55d333.entry.js → p-e7e5fee9.entry.js} +1 -1
- package/dist/webcomponents/{p-4e23116c.entry.js → p-f2650bfc.entry.js} +1 -1
- package/dist/webcomponents/p-f2a03f5d.entry.js +1 -0
- package/dist/webcomponents/p-f4cb581f.entry.js +1 -0
- package/dist/webcomponents/p-f528da70.entry.js +1 -0
- package/dist/webcomponents/p-f632894a.entry.js +1 -0
- package/dist/webcomponents/{p-9f70ce93.entry.js → p-fe862786.entry.js} +1 -1
- package/dist/webcomponents/p-ff2e2879.entry.js +1 -0
- package/dist/webcomponents/p-ffed8f86.entry.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +13 -13
- package/LICENSE +0 -21
- package/dist/cjs/checkout.store-BA6h-dp2.js +0 -107
- package/dist/esm/checkout.store-CaS_htQd.js +0 -101
- package/dist/webcomponents/p-01c9c76c.entry.js +0 -1
- package/dist/webcomponents/p-0389ea61.entry.js +0 -1
- package/dist/webcomponents/p-05351f0d.entry.js +0 -1
- package/dist/webcomponents/p-07e85954.entry.js +0 -1
- package/dist/webcomponents/p-087a81ff.entry.js +0 -1
- package/dist/webcomponents/p-14d2f6c6.entry.js +0 -1
- package/dist/webcomponents/p-1b94c32d.entry.js +0 -1
- package/dist/webcomponents/p-20a8b0c0.entry.js +0 -1
- package/dist/webcomponents/p-22f74666.entry.js +0 -1
- package/dist/webcomponents/p-24c22851.entry.js +0 -1
- package/dist/webcomponents/p-30f61f44.entry.js +0 -1
- package/dist/webcomponents/p-3c38cec5.entry.js +0 -1
- package/dist/webcomponents/p-4488378e.entry.js +0 -1
- package/dist/webcomponents/p-44e021e3.entry.js +0 -1
- package/dist/webcomponents/p-45936490.entry.js +0 -1
- package/dist/webcomponents/p-4761e0aa.entry.js +0 -1
- package/dist/webcomponents/p-4c3eea2b.entry.js +0 -1
- package/dist/webcomponents/p-4dcbc0af.entry.js +0 -1
- package/dist/webcomponents/p-4ed1fc3b.entry.js +0 -1
- package/dist/webcomponents/p-6550b836.entry.js +0 -1
- package/dist/webcomponents/p-6d06ea25.entry.js +0 -1
- package/dist/webcomponents/p-716ddc27.entry.js +0 -1
- package/dist/webcomponents/p-7218c312.entry.js +0 -1
- package/dist/webcomponents/p-75c65531.entry.js +0 -1
- package/dist/webcomponents/p-84e2bd93.entry.js +0 -1
- package/dist/webcomponents/p-89518b26.entry.js +0 -1
- package/dist/webcomponents/p-8bfd15af.entry.js +0 -1
- package/dist/webcomponents/p-9d914297.entry.js +0 -1
- package/dist/webcomponents/p-B3SPy-II.js +0 -1
- package/dist/webcomponents/p-CPKSE7M4.js +0 -1
- package/dist/webcomponents/p-D0YDz3L6.js +0 -1
- package/dist/webcomponents/p-DCIW8z1f.js +0 -1
- package/dist/webcomponents/p-DU8dqq9U.js +0 -1
- package/dist/webcomponents/p-a655b996.entry.js +0 -1
- package/dist/webcomponents/p-a793d1bd.entry.js +0 -1
- package/dist/webcomponents/p-a8f7cf9b.entry.js +0 -1
- package/dist/webcomponents/p-ad8b9fba.entry.js +0 -1
- package/dist/webcomponents/p-ae62e01d.entry.js +0 -1
- package/dist/webcomponents/p-ae7a027b.entry.js +0 -1
- package/dist/webcomponents/p-b3e0c981.entry.js +0 -1
- package/dist/webcomponents/p-b4d8a3f6.entry.js +0 -1
- package/dist/webcomponents/p-bd10429d.entry.js +0 -1
- package/dist/webcomponents/p-c1831747.entry.js +0 -1
- package/dist/webcomponents/p-c3b71a1f.entry.js +0 -1
- package/dist/webcomponents/p-c7279bc6.entry.js +0 -1
- package/dist/webcomponents/p-d2bb462e.entry.js +0 -1
- package/dist/webcomponents/p-d3e4697f.entry.js +0 -1
- package/dist/webcomponents/p-d4b8274f.entry.js +0 -1
- package/dist/webcomponents/p-d89c166f.entry.js +0 -1
- package/dist/webcomponents/p-dc0d3484.entry.js +0 -1
- package/dist/webcomponents/p-e3f6c3c4.entry.js +0 -1
- package/dist/webcomponents/p-eb56ba9b.entry.js +0 -1
- package/dist/webcomponents/p-ebb73921.entry.js +0 -1
- package/dist/webcomponents/p-edcb84bf.entry.js +0 -1
- package/dist/webcomponents/p-f1af630f.entry.js +0 -1
- package/dist/webcomponents/p-f5fb1af2.entry.js +0 -1
- package/dist/webcomponents/p-fab28b02.entry.js +0 -1
|
@@ -3,20 +3,19 @@
|
|
|
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-DV1hwzA2.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
|
-
require('./
|
|
10
|
+
var GooglePay = require('./GooglePay-D3zN44IX.js');
|
|
11
11
|
require('./Pagination-Dediz133.js');
|
|
12
12
|
require('./Business-DWHy_-z9.js');
|
|
13
13
|
require('./Dispute-CruQTF6_.js');
|
|
14
|
-
var
|
|
15
|
-
var index$1 = require('./index-C2ITzalN.js');
|
|
14
|
+
var index$1 = require('./index-CajjbB9t.js');
|
|
16
15
|
var skeleton = require('./skeleton-BF3HGL9X.js');
|
|
17
16
|
var button = require('./button-CARQPDm-.js');
|
|
18
17
|
var parts = require('./parts-Pb06tUMp.js');
|
|
19
|
-
require('./package-
|
|
18
|
+
require('./package-MS7_CYge.js');
|
|
20
19
|
require('./Api-BeSnjEuW.js');
|
|
21
20
|
require('./utils-Bab-tddY.js');
|
|
22
21
|
require('./index-mmd0OhmD.js');
|
|
@@ -32,7 +31,7 @@ const JustifiRadioListItem = class {
|
|
|
32
31
|
};
|
|
33
32
|
}
|
|
34
33
|
render() {
|
|
35
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
34
|
+
return (index.h(styledHost.StyledHost, { key: 'b0501b66bcfdd697d88c01835b8f97fb2c0861ab' }, index.h("div", { key: 'ada4dda7868086b1ea4cadd6c8824f87d3cb2301', class: `radio-list-item p-3 ${this.class || ''}`, part: parts.radioListItem, onClick: this.handleClick, hidden: this.hidden }, index.h("form-control-radio", { key: '72c6d07dd2a664ca6bd2be9b446584d7344bc2b0', name: this.name, value: this.value, checked: this.checked, label: this.label, inputHandler: () => null }))));
|
|
36
35
|
}
|
|
37
36
|
};
|
|
38
37
|
|
|
@@ -76,7 +75,7 @@ const InternalTokenizePaymentMethod = class {
|
|
|
76
75
|
}
|
|
77
76
|
handleRadioClick(event) {
|
|
78
77
|
this.selectedPaymentMethod = event.detail;
|
|
79
|
-
|
|
78
|
+
GooglePay.checkoutStore.selectedPaymentMethod = { type: event.detail };
|
|
80
79
|
}
|
|
81
80
|
async fillBillingForm(fields) {
|
|
82
81
|
var _a;
|
|
@@ -137,8 +136,8 @@ const InternalTokenizePaymentMethod = class {
|
|
|
137
136
|
try {
|
|
138
137
|
const billingFormFieldValues = await this.billingFormRef.getValues();
|
|
139
138
|
const config = {
|
|
140
|
-
clientId: this.authToken ||
|
|
141
|
-
account: this.accountId ||
|
|
139
|
+
clientId: this.authToken || GooglePay.checkoutStore.authToken,
|
|
140
|
+
account: this.accountId || GooglePay.checkoutStore.accountId,
|
|
142
141
|
paymentMethodMetadata: this.buildPaymentMethodMetadata(billingFormFieldValues),
|
|
143
142
|
};
|
|
144
143
|
return await this.paymentMethodFormRef.tokenize(config);
|
|
@@ -149,13 +148,13 @@ const InternalTokenizePaymentMethod = class {
|
|
|
149
148
|
}
|
|
150
149
|
// 9. Local methods
|
|
151
150
|
validateRequiredProps() {
|
|
152
|
-
if (!this.authToken && !
|
|
151
|
+
if (!this.authToken && !GooglePay.checkoutStore.authToken) {
|
|
153
152
|
this.emitError({
|
|
154
153
|
errorCode: ComponentError.ComponentErrorCodes.TOKENIZE_ERROR,
|
|
155
154
|
message: ERROR_MESSAGES.AUTH_TOKEN_REQUIRED,
|
|
156
155
|
});
|
|
157
156
|
}
|
|
158
|
-
if (!this.accountId && !
|
|
157
|
+
if (!this.accountId && !GooglePay.checkoutStore.accountId) {
|
|
159
158
|
this.emitError({
|
|
160
159
|
errorCode: ComponentError.ComponentErrorCodes.TOKENIZE_ERROR,
|
|
161
160
|
message: ERROR_MESSAGES.ACCOUNT_ID_REQUIRED,
|
|
@@ -168,11 +167,11 @@ const InternalTokenizePaymentMethod = class {
|
|
|
168
167
|
}
|
|
169
168
|
if (!this.disableCreditCard) {
|
|
170
169
|
this.selectedPaymentMethod = index$1.PAYMENT_METHODS.NEW_CARD;
|
|
171
|
-
|
|
170
|
+
GooglePay.checkoutStore.selectedPaymentMethod = { type: index$1.PAYMENT_METHODS.NEW_CARD };
|
|
172
171
|
}
|
|
173
172
|
else if (!this.disableBankAccount) {
|
|
174
173
|
this.selectedPaymentMethod = index$1.PAYMENT_METHODS.NEW_BANK_ACCOUNT;
|
|
175
|
-
|
|
174
|
+
GooglePay.checkoutStore.selectedPaymentMethod = { type: index$1.PAYMENT_METHODS.NEW_BANK_ACCOUNT };
|
|
176
175
|
}
|
|
177
176
|
}
|
|
178
177
|
setComputedHideSubmitButton() {
|
|
@@ -262,16 +261,16 @@ const InternalTokenizePaymentMethod = class {
|
|
|
262
261
|
? Object.assign(Object.assign({}, billingFormFieldValues), { payment_method_group_id: this.paymentMethodGroupID }) : Object.assign({}, billingFormFieldValues);
|
|
263
262
|
}
|
|
264
263
|
get paymentMethodGroupID() {
|
|
265
|
-
return this.paymentMethodGroupId ||
|
|
264
|
+
return this.paymentMethodGroupId || GooglePay.checkoutStore.paymentMethodGroupId;
|
|
266
265
|
}
|
|
267
266
|
get shouldSavePaymentMethod() {
|
|
268
|
-
return !!(this.paymentMethodGroupId ||
|
|
267
|
+
return !!(this.paymentMethodGroupId || GooglePay.checkoutStore.savePaymentMethod);
|
|
269
268
|
}
|
|
270
269
|
get shouldHideRadioInput() {
|
|
271
270
|
return this.disableCreditCard || this.disableBankAccount;
|
|
272
271
|
}
|
|
273
272
|
renderPaymentMethodOption(paymentMethodType) {
|
|
274
|
-
const isSelected = this.selectedPaymentMethod === paymentMethodType &&
|
|
273
|
+
const isSelected = this.selectedPaymentMethod === paymentMethodType && GooglePay.checkoutStore.selectedPaymentMethod.id === undefined;
|
|
275
274
|
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)));
|
|
276
275
|
}
|
|
277
276
|
renderSelectedPaymentMethodForm(paymentMethodType) {
|
|
@@ -281,7 +280,7 @@ const InternalTokenizePaymentMethod = class {
|
|
|
281
280
|
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) }));
|
|
282
281
|
}
|
|
283
282
|
render() {
|
|
284
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
283
|
+
return (index.h(styledHost.StyledHost, { key: '6cf2d727360142a1342256c020bf3dc9af8da29c' }, index.h("form", { key: 'd57740b68749410cda92bd87edb8697ff379715c' }, index.h("fieldset", { key: '8df769d00d6f9c5499e7b7dce8e9c5472898d3fa' }, index.h("div", { key: '8501055a25d62fd9f6c9608a9813ec8cfbd79c84', class: "row gy-3" }, index.h("div", { key: '125cafaeea5cb3bd5631526f0f96c1f24dcf3235', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), index.h("div", { key: '80f3d481aa89d3f7ee8fa127535f9511022cdf1a', class: "col-12" }, index.h("justifi-button", { key: 'aa6c7db5425e799f12949affce288b1d5feb8abb', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
|
|
285
284
|
}
|
|
286
285
|
get host() { return index.getElement(this); }
|
|
287
286
|
static get watchers() { return {
|
|
@@ -335,10 +334,10 @@ const BankAccountForm = class {
|
|
|
335
334
|
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
336
335
|
}
|
|
337
336
|
render() {
|
|
338
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
337
|
+
return (index.h(styledHost.StyledHost, { key: 'ed1021efed0ba7072c556e67f52d1c3ef47dbdda' }, index.h(BankAccountFormSkeleton, { key: '0c6f202f65dbdce9636fba8b3e8b68f895755bd7', isReady: this.isReady }), index.h("hidden-input", { key: '4340be8fb913a5198564bad3d65b099b69c51725' }), index.h("div", { key: '60dfe45a5f1f9bfc21815083e80b22d353ab19fb', class: "container-fluid p-0", style: {
|
|
339
338
|
opacity: this.isReady ? '1' : '0',
|
|
340
339
|
height: this.isReady ? 'auto' : '0',
|
|
341
|
-
} }, index.h("div", { key: '
|
|
340
|
+
} }, index.h("div", { key: '8d4c2ef23151dce1efe79513fd2b0c7f738c0993', class: "row mb-3" }, index.h("iframe-input", { key: '61054e0b53954f10bd006273d9cdaa9aadb3f696', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), index.h("div", { key: '212a7b4085fc0aad4f0580faf93288d1f32afa75', class: "row" }, index.h("iframe-input", { key: '264bf390219b0e75a34b827629d5506c71c1eabe', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
|
|
342
341
|
}
|
|
343
342
|
};
|
|
344
343
|
|
|
@@ -382,7 +381,7 @@ const JustifiButton = class {
|
|
|
382
381
|
this.type = 'button';
|
|
383
382
|
}
|
|
384
383
|
render() {
|
|
385
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
384
|
+
return (index.h(styledHost.StyledHost, { key: '0cc61730e0afccbf438382a3d709397ebe327a9a' }, index.h(button.Button, { key: 'c82eb8f914aa50df8b3e51d271a9e4c29602369e', variant: this.variant, isLoading: this.isLoading, clickHandler: this.clickHandler, class: this.class, type: this.type, disabled: this.disabled, style: this.customStyle }, this.text)));
|
|
386
385
|
}
|
|
387
386
|
};
|
|
388
387
|
|
|
@@ -435,10 +434,10 @@ const JustifiCardForm = class {
|
|
|
435
434
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
436
435
|
}
|
|
437
436
|
render() {
|
|
438
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
437
|
+
return (index.h(styledHost.StyledHost, { key: 'bfd3a4edceeb6ec2b0c3cb0b3b5f6028d605e6f3' }, index.h(CardFormSkeleton, { key: 'ff332972823a15933b191f4de8be94183dff2aae', isReady: this.isReady }), index.h("hidden-input", { key: '0e72eb09a7963080857cec955446bc11b283f593' }), index.h("div", { key: '7718e6f53a8534366c416f956a6e9d7ef4ced572', class: "container-fluid p-0", style: {
|
|
439
438
|
opacity: this.isReady ? '1' : '0',
|
|
440
439
|
height: this.isReady ? 'auto' : '0',
|
|
441
|
-
} }, index.h("div", { key: '
|
|
440
|
+
} }, index.h("div", { key: '36652ef83af5dbcb5908e767f3c5d9ecddf5d789', class: "mb-3" }, index.h("iframe-input", { key: '5291593fd97294c7bae5efbe1a86306fee6b494d', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), index.h("div", { key: 'd3e26306377981509633a53d90e5f1db30fe0094', class: "row" }, index.h("div", { key: '2d3f520e496abe8da065ecf6f4232fc5cddcb5b0', class: "col-4 align-content-end" }, index.h("iframe-input", { key: '8e4c4a19a5bc14f96922fcd975fe295919a61a94', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), index.h("div", { key: 'a10578be32e8e81edf3101964dfcffb3788e4cd4', class: "col-4 align-content-end" }, index.h("iframe-input", { key: '9c1bfc9485f069b649fd6bafdcda6945722cb972', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), index.h("div", { key: '97119f4cd6677091d78dd5cd65e49c5af78c4d19', class: "col-4 align-content-end" }, index.h("iframe-input", { key: '226c41001bd76a3c11e536aa71455fe45531275e', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
|
|
442
441
|
}
|
|
443
442
|
};
|
|
444
443
|
|
|
@@ -450,12 +449,12 @@ const SaveNewPaymentMethod = class {
|
|
|
450
449
|
this.isChecked = false;
|
|
451
450
|
this.handleCheckboxChange = (_name, value) => {
|
|
452
451
|
this.isChecked = value;
|
|
453
|
-
|
|
452
|
+
GooglePay.checkoutStore.savePaymentMethod = value;
|
|
454
453
|
this.checkboxChanged.emit(this.isChecked);
|
|
455
454
|
};
|
|
456
455
|
}
|
|
457
456
|
render() {
|
|
458
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
457
|
+
return (index.h(styledHost.StyledHost, { key: 'e9b32bca13108d83ee6ff3b23b16973ccad25faa' }, index.h("form-control-checkbox", { key: 'ab07bc95d88dc5e97ca8abc646ab3d286edacff8', label: this.label || 'Save New Payment Method', name: "saveNewPaymentMethod", checked: this.isChecked, inputHandler: this.handleCheckboxChange })));
|
|
459
458
|
}
|
|
460
459
|
};
|
|
461
460
|
|
|
@@ -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 GooglePay = require('./GooglePay-D3zN44IX.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,6 +23,7 @@ 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');
|
|
26
27
|
|
|
27
28
|
class BankAccount {
|
|
28
29
|
constructor(data) {
|
|
@@ -191,8 +192,8 @@ const buildDocumentRules = (documents, allowOptionalFields) => {
|
|
|
191
192
|
bank_statement: index_esm.create$8().nullable(),
|
|
192
193
|
};
|
|
193
194
|
}
|
|
194
|
-
const existingVoidedCheck = checkExistingDocs(documents,
|
|
195
|
-
const existingBankStatement = checkExistingDocs(documents,
|
|
195
|
+
const existingVoidedCheck = checkExistingDocs(documents, GooglePay.EntityDocumentType.voidedCheck);
|
|
196
|
+
const existingBankStatement = checkExistingDocs(documents, GooglePay.EntityDocumentType.bankStatement);
|
|
196
197
|
const existingDocument = existingVoidedCheck || existingBankStatement;
|
|
197
198
|
const documentErrorText = 'Please upload either a voided check or a bank statement. Only one is required.';
|
|
198
199
|
return {
|
|
@@ -254,7 +255,7 @@ const BusinessBankAccountFormStepCore = class {
|
|
|
254
255
|
this.errors = {};
|
|
255
256
|
this.bankAccount = {};
|
|
256
257
|
this.existingDocuments = [];
|
|
257
|
-
this.documentData = new
|
|
258
|
+
this.documentData = new GooglePay.EntityDocumentStorage();
|
|
258
259
|
this.isLoading = false;
|
|
259
260
|
this.getSchema = () => {
|
|
260
261
|
const schema = bankAccountSchemaByCountry[this.country];
|
|
@@ -273,7 +274,7 @@ const BusinessBankAccountFormStepCore = class {
|
|
|
273
274
|
this.storeFiles = (e) => {
|
|
274
275
|
const fileList = Array.from(e.detail.fileList);
|
|
275
276
|
const docType = e.detail.document_type;
|
|
276
|
-
const documentList = fileList.map(file => new
|
|
277
|
+
const documentList = fileList.map(file => new GooglePay.EntityDocument({ file, document_type: docType }, this.businessId));
|
|
277
278
|
this.documentData[docType] = documentList;
|
|
278
279
|
};
|
|
279
280
|
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-88yKWtbE.js');
|
|
7
7
|
require('./config-state-CYoBVAca.js');
|
|
8
8
|
require('./dinero-BwNN_k7x.js');
|
|
9
|
-
require('./
|
|
9
|
+
require('./GooglePay-D3zN44IX.js');
|
|
10
10
|
require('./Pagination-Dediz133.js');
|
|
11
11
|
var Business = require('./Business-DWHy_-z9.js');
|
|
12
12
|
require('./Dispute-CruQTF6_.js');
|
|
@@ -19,6 +19,7 @@ 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');
|
|
22
23
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
23
24
|
|
|
24
25
|
const AdditionalQuestionsFormStep = class {
|
|
@@ -57,7 +58,7 @@ const AdditionalQuestionsFormStep = class {
|
|
|
57
58
|
}
|
|
58
59
|
}
|
|
59
60
|
render() {
|
|
60
|
-
return (index.h("justifi-additional-questions-form-step-core", { key: '
|
|
61
|
+
return (index.h("justifi-additional-questions-form-step-core", { key: 'a2e24c04b312a226b607147bcf68d6ea50a2be05', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
|
|
61
62
|
}
|
|
62
63
|
static get watchers() { return {
|
|
63
64
|
"authToken": ["propChanged"],
|
|
@@ -104,7 +105,7 @@ const BusinessBankAccountFormStep = class {
|
|
|
104
105
|
}
|
|
105
106
|
}
|
|
106
107
|
render() {
|
|
107
|
-
return (index.h("justifi-business-bank-account-form-step-core", { key: '
|
|
108
|
+
return (index.h("justifi-business-bank-account-form-step-core", { key: 'f4e4c31d04884510d5b432b7cced5eea2b618bcd', businessId: this.businessId, getBusiness: this.getBusiness, postBankAccount: this.postBankAccount, postDocumentRecord: this.postDocumentRecord, allowOptionalFields: this.allowOptionalFields, country: this.country, ref: el => this.coreComponent = el }));
|
|
108
109
|
}
|
|
109
110
|
static get watchers() { return {
|
|
110
111
|
"authToken": ["propChanged"],
|
|
@@ -148,7 +149,7 @@ const BusinessCoreInfoFormStep = class {
|
|
|
148
149
|
}
|
|
149
150
|
}
|
|
150
151
|
render() {
|
|
151
|
-
return (index.h("justifi-business-core-info-form-step-core", { key: '
|
|
152
|
+
return (index.h("justifi-business-core-info-form-step-core", { key: '1aeaeae1d432883c1e242c066881cabc37097032', businessId: this.businessId, getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, country: this.country, ref: el => this.coreComponent = el }));
|
|
152
153
|
}
|
|
153
154
|
static get watchers() { return {
|
|
154
155
|
"authToken": ["propChanged"],
|
|
@@ -192,7 +193,7 @@ const BusinessOwnersFormStep = class {
|
|
|
192
193
|
}
|
|
193
194
|
}
|
|
194
195
|
render() {
|
|
195
|
-
return (index.h(index.Host, { key: '
|
|
196
|
+
return (index.h(index.Host, { key: '510b3ece6194fa6c34c04ba4d87718490631b69d' }, index.h("justifi-business-owners-form-step-core", { key: '01b034456e183d39b6adc4b9f9d36e289483eb9b', authToken: this.authToken, businessId: this.businessId, getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, country: this.country, ref: (el) => this.coreComponent = el })));
|
|
196
197
|
}
|
|
197
198
|
static get watchers() { return {
|
|
198
199
|
"authToken": ["propChanged"],
|
|
@@ -236,7 +237,7 @@ const BusinessRepresentativeFormStep = class {
|
|
|
236
237
|
}
|
|
237
238
|
}
|
|
238
239
|
render() {
|
|
239
|
-
return (index.h("justifi-business-representative-form-step-core", { key: '
|
|
240
|
+
return (index.h("justifi-business-representative-form-step-core", { key: '93ebeaecfc5eecc8a4c74cbc30760d35d8120183', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, country: this.country, ref: el => this.coreComponent = el }));
|
|
240
241
|
}
|
|
241
242
|
static get watchers() { return {
|
|
242
243
|
"authToken": ["propChanged"],
|
|
@@ -364,7 +365,7 @@ const BusinessTermsConditionsFormStep = class {
|
|
|
364
365
|
return (index.h("a", { href: "https://justifi.tech/merchant-agreement/", target: "_blank", rel: "noopener noreferrer" }, "merchant agreement"));
|
|
365
366
|
}
|
|
366
367
|
render() {
|
|
367
|
-
return (index.h("form", { key: '
|
|
368
|
+
return (index.h("form", { key: '6fbccc271d16cbb87d8845b06b58fd461e18f770' }, index.h("fieldset", { key: 'ce5240753aefdb4aa92aa3ba5af4741466702ae6' }, index.h("legend", { key: '01a3a99f6d9dfe45ae12eb2a603ebc70a25747be', part: parts.heading2 }, "Terms and Conditions"), index.h("hr", { key: 'b0209b2df034353f663cf4dde25fee51e2906dc4' }), index.h("div", { key: '1ed270526bc1f6d24d81c485ea6e9459607bac3e' }, index.h("p", { key: '8c98f939d4db12cad7169debc71fd0ad652cc724' }, "Please read and accept the ", this.merchantAgreementLink, " to submit your provisioning request.")), index.h("br", { key: '021ffcc28e65e59d8fb81a8a2507cac1ce0d448f' }), index.h("div", { key: 'e6181b2a5ad6b01be123962bf17282cb1f97fd30', class: "row-gy-3" }, index.h("div", { key: '82acd8dcfed625e051b93bb8845fb9d11b5e26ce', class: "col-12" }, index.h("form-control-checkbox", { key: 'c246a348366354dce60ec4dc00e3a4791281a584', 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 }))))));
|
|
368
369
|
}
|
|
369
370
|
};
|
|
370
371
|
|
|
@@ -404,7 +405,7 @@ const LegalAddressFormStep = class {
|
|
|
404
405
|
}
|
|
405
406
|
}
|
|
406
407
|
render() {
|
|
407
|
-
return (index.h("justifi-legal-address-form-step-core", { key: '
|
|
408
|
+
return (index.h("justifi-legal-address-form-step-core", { key: '1e4419d2e8c75721883171124185590efe459fc9', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, country: this.country, ref: el => this.coreComponent = el }));
|
|
408
409
|
}
|
|
409
410
|
static get watchers() { return {
|
|
410
411
|
"authToken": ["propChanged"],
|
|
@@ -426,7 +427,7 @@ const PaymentProvisioningFormButtons = class {
|
|
|
426
427
|
return this.currentStep === this.totalSteps;
|
|
427
428
|
}
|
|
428
429
|
render() {
|
|
429
|
-
return (index.h("div", { key: '
|
|
430
|
+
return (index.h("div", { key: 'ad959d93323ee66a154d5addbabd0cd0351f5d5f', class: 'd-flex gap-2' }, index.h(button.Button, { key: '6f77f6c7ee080a1a2525ec92107881adfef3afcb', variant: "secondary", type: "button", onClick: () => this.previousStepButtonOnClick(), disabled: this.formDisabled, hidden: !this.showPreviousStepButton }, "Previous"), index.h(button.Button, { key: '6edac397291014bde05eed8f64ca6a543f951a44', 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: 'ba2f0c103c2b54e9047aee927ed8afb8e5361f66', variant: "primary", type: "submit", onClick: (e) => this.nextStepButtonOnClick(e, eventTypes.BusinessFormClickActions.submit), disabled: this.formDisabled, isLoading: this.formLoading, hidden: !this.showSubmitButton }, "Submit")));
|
|
430
431
|
}
|
|
431
432
|
};
|
|
432
433
|
|
|
@@ -449,7 +450,7 @@ const PaymentProvisioningFormSteps = class {
|
|
|
449
450
|
return this.componentStepMapping[this.currentStep]();
|
|
450
451
|
}
|
|
451
452
|
render() {
|
|
452
|
-
return (index.h("div", { key: '
|
|
453
|
+
return (index.h("div", { key: '2e1d2983f259fd9fe4e1dda9c1f442b248f4c5ba', class: 'col-12 mb-4' }, this.currentStepComponent));
|
|
453
454
|
}
|
|
454
455
|
};
|
|
455
456
|
|
|
@@ -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: '5e572a30ed53b4fbcf3808ba545ce2fdf5b988aa' }, index.h("div", { key: '90870dc58e0eab72e64ae03bdaa25bb1749d8e23', class: "row gy-3" }, index.h("div", { key: 'cc3b6f19687d02e047744e8a53d22a2f91a8b968', class: "col-12" }, index.h("h2", { key: '230c20dc3f75e48afa4008369374fd8c175cb7ea', class: "h5", part: parts.heading5 }, "Additional Evidence")), index.h("div", { key: '7b49c8012cfc07c44399969f8505db786389b38b', class: "col-12" }, index.h("form-control-textarea", { key: '349a8a2ebda338e170c90266801ae93b6f9482ea', 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: '01cd368a2278c5de462f0998a50ba4ca5889be26', class: "col-12" }, index.h("form-control-file-v2", { key: 'f95d0b78704f9a1fd154003edbbffb062659ae27', 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: '6dc5100426e8e4124d19a375250f85f8e15b28d4' }, index.h("div", { key: 'fb950108be5fd4096a7717c88943938261787f99', class: "row gy-3" }, index.h("div", { key: '08f85a06288e19939a16d3fa52ef3b3199c56f36', class: "col-12" }, index.h("h2", { key: 'a585b93921814b1ffbb95c6f9c1de37d4104049b', class: "h5", part: parts.heading5 }, "Cancellation Policy")), index.h("div", { key: '3b7c620518006738d2e36863b62a72142f167733', class: "col-12" }, index.h("form-control-textarea", { key: '70a76160b0d29648a9e0598dd5b867a382935e03', 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: 'e06d4c794bad47e366ca702e764307fdab5e33a8', class: "col-12" }, index.h("form-control-textarea", { key: '1b783920c5a5b94bff60d4b061cc7cc6666cc184', 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: '3cb3371c1d3727e55140ea60a0cff96bc0f42702', class: "col-12" }, index.h("form-control-file-v2", { key: '738a456bf4653240180963fa7e5ab20a7a4add7c', 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: '70e29d650d5304522f927c15b4eb5e62e203c5e0' }, index.h("div", { key: 'f50422b29cb2a4f3bca911ced94dc681adb3fc41', class: "row gy-3" }, index.h("div", { key: 'f29816d9281ea4c4db5018d3b7edb1600569357a', class: "col-12" }, index.h("h2", { key: 'a2889c95c293bf0bbf97c16e4486e307ca87729c', class: "h5", part: parts.heading5 }, "Customer Details")), index.h("div", { key: '9cd45719434a1740f67b73c13fd08e0fe562168e', class: "col-12" }, index.h("form-control-text", { key: '5a30a3aef7fbe2d3013c46e43a437724dae41213', 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: '9812e1f9f6df949b9f15b2c3f28857db7dcf5cb7', class: "col-12" }, index.h("form-control-text", { key: '10b146053a399039e8dbd42c3cab53b4b55c0ec3', 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: '2742a0922a223bd60d6e3d08a55190742ecf5112', class: "col-12" }, index.h("form-control-textarea", { key: '41491e238c75716520d747cbf9f1bcc329a2d686', 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: '71074f31e565c24107b91b04d9aa16da77ba618c', class: "col-12" }, index.h("form-control-file-v2", { key: '17f70cf96927b01e65430e13c2d21209e9170603', 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: 'ec696695191e68c7ceb0cc41f99f9e53f2d59da1', class: "col-12" }, index.h("form-control-file-v2", { key: '562ff8b3819f536d491f2e2e55a85a55fcda0e1c', 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: '0b0d73b396b32f29fa389d3981d48c3f30f96fd7' }, index.h("div", { key: '2fd16a4cf964c863a59789a2be60d94b27a95de8', class: "row gy-3" }, index.h("div", { key: '48c15f7db3285caa9164d815615b82a84283fbfe', class: "col-12" }, index.h("h2", { key: '397b3026311bf57588b172146fc9822f99ede63e', class: "h5", part: parts.heading5 }, "Duplicate Charge")), index.h("div", { key: 'c825b6efd428bee298b9b0ddf2265378cf999de9', class: "col-12" }, index.h("form-control-text", { key: 'b43283087a10826bf8e582a1e863ed4982b5c000', 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: '66d5cefa16c341f5c523eaa46de5c11f5b16e619', class: "col-12" }, index.h("form-control-textarea", { key: 'f83573136fc2ce108f186f9434f46a3f157bd102', 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: 'cc47dc1d9dbac962d27494b5ff3fef572c98c7b4', class: "col-12" }, index.h("form-control-file-v2", { key: '3cf06b6d61edd6ac96d02b12639d040f698b2526', 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: '1a4a1d78529c48b8f32029a3efa05b4430c6d271' }, index.h("div", { key: '593d167f4e6b610ac3cdb8a04b4eee30a1cb4f91', class: "row gy-3" }, index.h("div", { key: '39440c3a2802b823c85f251c4393ba76bad287c0', class: "col-12" }, index.h("h2", { key: 'f5ec8cce1bbadb772ac6dbe668cf54187d2690d7', class: "h5", part: parts.heading5 }, "Electronic Evidence")), index.h("div", { key: 'b9020a773c45a8f59a31ffef44b32253fdb4a551', class: "col-12" }, index.h("form-control-text", { key: '56122eafb7f138f4472a5818cddd32cb0e17fc7e', 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: '0737f585271838dd60ab9ee1e6ac83d0c6362b96', class: "col-12" }, index.h("form-control-file-v2", { key: '63590d574ee151cbf82638002dfe513cea471035', 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: '0e2648d399af18f7959bed2e0fff56fd63b541df' }, index.h("div", { key: '4322c227617147721ab7cf33a5e75a09bc370a0c', class: "row gy-3" }, index.h("div", { key: 'e2bc9f0642356a864e7fa323262ead13d4825fdc', class: "col-12" }, index.h("h2", { key: '88af660c9add83da7edc7758d4645db796c80fdf', class: "h5", part: parts.heading5 }, "Product & Service Details")), index.h("div", { key: 'dcfb0f64e1b611eb8d53f97950d5922f7358a64c', class: "col-12" }, index.h("form-control-text", { key: '42959d4b7c03d14fdef29a656a5f18d0d89d3b2e', 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: '1f4173e79f10a6ac32b860ecbd62fe5c612cc5b2', class: "col-12" }, index.h("form-control-date", { key: '6e8bab228b3a23655cbf71fe6dc72a850b38947c', 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: '2e32f65cc5388302d067fb1a8db34e3e529435c2', class: "col-12" }, index.h("form-control-file-v2", { key: 'f9fb2ac0c6a2f37a7584eeda2460702b1e0d6cc0', 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: '882eb01880bcfdde30abe10465fecd7390654ed6' }, index.h("div", { key: 'de2f238310e4b80976888d147e90047688ad5ada', class: "row gy-3" }, index.h("div", { key: '305af62aa762ae6abff0678998132e8f56707550', class: "col-12" }, index.h("h2", { key: '6e224996b82639c426d129bfd28633f3d3839f6f', class: "h5", part: parts.heading5 }, "Refund Policy and Receipt")), index.h("div", { key: 'b2b8d444c594bf92d04fed6640230745c5fb49ba', class: "col-12" }, index.h("form-control-textarea", { key: 'f75c6c360c485ac5253164be5d4941d859deb902', 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: '1788d1e6ba1ddbe82795ce1a41b901a81c055f6d', class: "col-12" }, index.h("form-control-textarea", { key: 'f47fac9b8e0d6b9766311b13c760129bb6335ddd', 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: 'd96552fee8b4cdddf31148b2d3783a4e1dfb031b', class: "col-12" }, index.h("form-control-file-v2", { key: '3c6c06201ef3a730aed41ab6b8cb62d5ee8d8128', 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: 'ec2271dd9646596df3106f56c6e96f618196046a', class: "col-12" }, index.h("form-control-file-v2", { key: '48f956f2580187fc7baecc5426d5ed0a1050150b', 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: '90641cea619de697d7a90e6e397790f79ceb9376' }, index.h("div", { key: '52d939e26bd26e99240d100897a530b89553e727', class: "row gy-3" }, index.h("div", { key: '01755fbca3430bd3066377e9481038370c49b2d8', class: "col-12" }, index.h("h2", { key: 'd273fbe6ff8b7815ba5c2369748a3a20548b0a4d', class: "h5", part: parts.heading5 }, "Shipping Details")), index.h("div", { key: '595f4e63dff85591713a4c895acb6628c8ef8214', class: "col-12" }, index.h("form-control-text", { key: '958169d07544237a72facdc016d4d12ac64a4c48', 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: '1d3020a30f95c5ced652871a635aba0152bbc4e3', class: "col-12" }, index.h("form-control-text", { key: '088af20353ec2efcb65a4e597a1fb4aec23cfcbb', 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: '536ee74c42d326d7f7f698274c846bfebf0d34dd', class: "col-12" }, index.h("form-control-date", { key: '71ef44bd4c810a567162b7fe92199eceff9be470', 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: '8887e0daf44be31486563e85cd989eef1da5f5ce', class: "col-12" }, index.h("form-control-textarea", { key: 'c34093bc4ee65f4fb092c377a98e01cd69bdbc7c', 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: '469a5d8c7e28fa2ad430f104f08f387448f70048', class: "col-12" }, index.h("form-control-file-v2", { key: 'a2b6c6c0c1cf32430582b97efe6bcc1d4c47147d', 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
|
|