@justifi/webcomponents 6.0.0-rc.8 → 6.0.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/dist/cjs/{Api-y2G49jOh.js → Api-CwTLkFY4.js} +2 -2
- package/dist/cjs/{Refund-BVZHsa6Z.js → Refund-BPSBtjQC.js} +3 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
- package/dist/cjs/{badge-CcJ9H85-.js → badge-BmOSt4gS.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +9 -9
- package/dist/cjs/bank-account-form.cjs.entry.js +10 -15
- package/dist/cjs/business-details-core.cjs.entry.js +6 -21
- package/dist/cjs/{business.service-D5IhSyRJ.js → business.service-Dkhqyggm.js} +2 -2
- package/dist/cjs/{button-DsHDMHaa.js → button-7c2RN2yp.js} +2 -3
- package/dist/cjs/card-form.cjs.entry.js +10 -19
- package/dist/cjs/{check-pkg-version-BJaFyEGj.js → check-pkg-version-7FBAUhHw.js} +3 -3
- package/dist/cjs/{checkout.service-4aS641tN.js → checkout.service-LwZVVgP5.js} +2 -2
- package/dist/cjs/checkout.store-C3f3E24L.js +84 -0
- package/dist/cjs/checkouts-list-core.cjs.entry.js +11 -11
- package/dist/cjs/{payments-list-params-state-Cewmin_p.js → checkouts-list-params-state-C4c8UZtP.js} +1 -1
- package/dist/cjs/{checkouts-table-B_gpjGhs.js → checkouts-table-BQUhZZd_.js} +4 -6
- package/dist/cjs/{config-state-BBOZIS8x.js → config-state-B_gyIchD.js} +1 -1
- package/dist/cjs/custom-popper_2.cjs.entry.js +3 -3
- package/dist/cjs/{dispute.service-64ciJH0r.js → dispute.service-927Gzb0N.js} +2 -2
- package/dist/cjs/form-alert_5.cjs.entry.js +1 -1
- package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/form-control-date.cjs.entry.js +4 -4
- package/dist/cjs/{form-control-error-text-B-P5UDhm.js → form-control-error-text-DD0dHGu8.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
- package/dist/cjs/{form-control-help-text-JoZjhb9m.js → form-control-help-text-2QwKi78M.js} +1 -1
- package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +3 -3
- package/dist/cjs/form-control-monetary.cjs.entry.js +6 -6
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +4 -4
- package/dist/cjs/form-control-number.cjs.entry.js +5 -5
- package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
- package/dist/cjs/form-control-select_2.cjs.entry.js +6 -6
- package/dist/cjs/{get-payment-details-DE5xUUpt.js → get-payment-details-BSxp1HX0.js} +2 -2
- package/dist/cjs/{get-subaccounts-CH477rHs.js → get-subaccounts-B31f95PR.js} +3 -3
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -5
- package/dist/cjs/{header-1-DRA3f4Jh.js → header-1-DMsp0XM7.js} +1 -1
- package/dist/cjs/{header-3-sOdOpfx3.js → header-3-BSvFq_IF.js} +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +8 -8
- package/dist/cjs/{checkout.store-MSwLBCby.js → index-C2ITzalN.js} +29 -41
- package/dist/cjs/{index-B32W0A3m.js → index-D1Ba20gi.js} +1 -1
- package/dist/cjs/{index-C9hBD-32.js → index-Dyzl8Hn6.js} +8 -2
- package/dist/cjs/index.cjs.js +8 -0
- package/dist/cjs/{insurance-state-d2thhXUX.js → insurance-state-uWOl6jJN.js} +2 -2
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +9 -24
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +8 -8
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +9 -9
- package/dist/cjs/justifi-apple-pay.cjs.entry.js +177 -86
- package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +24 -42
- package/dist/cjs/justifi-business-details.cjs.entry.js +10 -10
- package/dist/cjs/justifi-business-form.cjs.entry.js +15 -30
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkout-summary_7.cjs.entry.js +196 -164
- package/dist/cjs/justifi-checkout.cjs.entry.js +19 -11
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +8 -8
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +14 -14
- package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
- package/dist/cjs/justifi-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +10 -10
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +15 -15
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +9 -9
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +16 -44
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payment-details.cjs.entry.js +11 -11
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +14 -16
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payments-list.cjs.entry.js +14 -14
- package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +16 -22
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +15 -15
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +15 -21
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +14 -25
- package/dist/cjs/justifi-skeleton.cjs.entry.js +4 -4
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +9 -9
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +12 -12
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +8 -8
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +14 -14
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{package-DqvfEWsE.js → package-BNN5fdIc.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +16 -28
- package/dist/cjs/payment-method-option.cjs.entry.js +3 -3
- package/dist/cjs/{payment.service--kzMop3L.js → payment.service-DUq-W7tS.js} +2 -2
- package/dist/cjs/payments-list-core.cjs.entry.js +12 -12
- package/dist/cjs/{payouts-list-params-state-Cewmin_p.js → payments-list-params-state-C4c8UZtP.js} +1 -1
- package/dist/cjs/{payments-status-DXRh_ekP.js → payments-status-3iIQkoov.js} +2 -2
- package/dist/cjs/{payments-table-DFRtk-T9.js → payments-table-BSHUQhM-.js} +4 -6
- package/dist/cjs/payout-details-core.cjs.entry.js +12 -24
- package/dist/cjs/{payout.service-D3omzNG_.js → payout.service-DoKMr8Xw.js} +2 -2
- package/dist/cjs/payouts-list-core.cjs.entry.js +12 -12
- package/dist/cjs/{terminal-orders-list-params-state-Cewmin_p.js → payouts-list-params-state-C4c8UZtP.js} +1 -1
- package/dist/cjs/{payouts-status-DxTQZv3i.js → payouts-status-DoQbxIms.js} +2 -2
- package/dist/cjs/{payouts-table-DE3t0x93.js → payouts-table-BD_Fhz_j.js} +5 -7
- package/dist/cjs/{skeleton-C7DQRD6r.js → skeleton-CuIMC98G.js} +1 -1
- package/dist/cjs/spinner-CMZXdrPe.js +10 -0
- package/dist/cjs/{styled-host-BfVJlAsJ.js → styled-host-2KXbjOFw.js} +2 -4
- package/dist/cjs/{table-Ccdrt0v_.js → table-DlQCUVag.js} +5 -11
- package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +11 -11
- package/dist/cjs/{checkouts-list-params-state-Cewmin_p.js → terminal-orders-list-params-state-C4c8UZtP.js} +1 -1
- package/dist/cjs/{terminal-orders-table-B1LJitwE.js → terminal-orders-table-t6XxNy_K.js} +7 -11
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
- package/dist/cjs/{terminal.service-BOvYfpQW.js → terminal.service-Iyje71vN.js} +2 -2
- package/dist/cjs/terminals-list-core.cjs.entry.js +11 -11
- package/dist/cjs/terminals-list-params-state-C4c8UZtP.js +22 -0
- package/dist/cjs/{terminals-table-DYt7exFQ.js → terminals-table-BTdKRiBN.js} +3 -3
- package/dist/cjs/{utils-BaGF9XIe.js → utils-ChCUZgUy.js} +6 -0
- package/dist/cjs/utils-FFP5ZHyE.js +18 -0
- package/dist/cjs/webcomponents.cjs.js +3 -3
- package/dist/collection/api/Payment.js +2 -0
- package/dist/collection/api/index.js +1 -2
- package/dist/collection/api/services/apple-pay.service.js +95 -8
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +6 -3
- package/dist/collection/components/checkout/card-form/card-form.js +6 -3
- package/dist/collection/components/checkout/checkout.js +16 -1
- package/dist/collection/components/checkout/save-new-payment-method.js +26 -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 +1 -1
- 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 +27 -0
- package/dist/collection/components/modular-checkout/modular-checkout.js +130 -66
- package/dist/collection/components/modular-checkout/sub-components/apple-pay-skeleton.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +72 -70
- package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/plaid-payment-method.js +57 -65
- package/dist/collection/components/modular-checkout/sub-components/plaid-payment-method.test.js +8 -6
- package/dist/collection/components/modular-checkout/sub-components/saved-payment-methods.js +8 -10
- package/dist/collection/components/modular-checkout/sub-components/sezzle-payment-method.js +22 -7
- package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
- package/dist/collection/components/order-terminals/order-terminals.js +1 -1
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
- package/dist/collection/components/payment-details/payment-details-core.js +8 -8
- package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
- package/dist/collection/components/payments-list/payments-list-core.js +1 -1
- package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
- package/dist/collection/components/payments-list/payments-list.js +1 -1
- package/dist/collection/components/payout-details/payout-details-core.js +3 -3
- package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
- package/dist/collection/components/payouts-list/payouts-list.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
- package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list.js +1 -1
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +29 -10
- package/dist/collection/index.js +1 -0
- package/dist/collection/store/checkout.store.js +46 -3
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- 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 +5 -5
- 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/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 +4 -4
- package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
- package/dist/collection/utils/utils.js +5 -0
- package/dist/docs.json +186 -86
- package/dist/esm/{Api-C1I68Tfr.js → Api-D4tj-h4P.js} +2 -2
- package/dist/esm/{Refund-kKW8S1h6.js → Refund-Bc5By0lb.js} +3 -1
- package/dist/esm/additional-questions-details_5.entry.js +3 -3
- package/dist/esm/{badge-DSYSJcRy.js → badge-ChwzCNAF.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +9 -9
- package/dist/esm/bank-account-form.entry.js +10 -15
- package/dist/esm/business-details-core.entry.js +6 -21
- package/dist/esm/{business.service-B3wlBl1x.js → business.service-CsbtEDNi.js} +2 -2
- package/dist/esm/{button-CpllL0At.js → button-SAIS_5os.js} +2 -3
- package/dist/esm/card-form.entry.js +10 -19
- package/dist/esm/{check-pkg-version-ucd96eu6.js → check-pkg-version-BUkwdVdm.js} +3 -3
- package/dist/esm/{checkout.service-KDp7tISm.js → checkout.service-BCkQ9pOA.js} +2 -2
- package/dist/esm/checkout.store-DBvS7cVB.js +79 -0
- package/dist/esm/checkouts-list-core.entry.js +11 -11
- package/dist/esm/{checkouts-list-params-state-D8tzsGR_.js → checkouts-list-params-state-C2_GlMKR.js} +1 -1
- package/dist/esm/{checkouts-table-QOdiLpak.js → checkouts-table-CItEo0DU.js} +4 -6
- package/dist/esm/{config-state-DZeVYerv.js → config-state-Blo0ywwc.js} +1 -1
- package/dist/esm/custom-popper_2.entry.js +3 -3
- package/dist/esm/{dispute.service-DEZEPwn-.js → dispute.service-CyLtJREK.js} +2 -2
- package/dist/esm/form-alert_5.entry.js +1 -1
- package/dist/esm/form-control-checkbox.entry.js +5 -5
- package/dist/esm/form-control-date.entry.js +4 -4
- package/dist/esm/{form-control-error-text-R7U07nTg.js → form-control-error-text-IXJJ4JpV.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +5 -5
- package/dist/esm/{form-control-help-text-CRLH-2f7.js → form-control-help-text-CuhIsM3v.js} +1 -1
- package/dist/esm/form-control-help-text.entry.js +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
- package/dist/esm/form-control-monetary.entry.js +6 -6
- package/dist/esm/form-control-number-masked_2.entry.js +4 -4
- package/dist/esm/form-control-number.entry.js +5 -5
- package/dist/esm/form-control-radio.entry.js +3 -3
- package/dist/esm/form-control-select_2.entry.js +6 -6
- package/dist/esm/{get-payment-details-CYASKLT7.js → get-payment-details-BuT0QNOo.js} +2 -2
- package/dist/esm/{get-subaccounts-E0PYy_pc.js → get-subaccounts-VjY6-x_9.js} +3 -3
- package/dist/esm/gross-payment-chart-core.entry.js +5 -5
- package/dist/esm/{header-1-3M9If0gM.js → header-1-zXsamUS3.js} +1 -1
- package/dist/esm/{header-3-CWa41YWq.js → header-3-DVtaUAlf.js} +1 -1
- package/dist/esm/hidden-input_2.entry.js +8 -8
- package/dist/esm/{checkout.store-UMe84fjY.js → index-DCIW8z1f.js} +27 -38
- package/dist/esm/{index-B_KxSZIF.js → index-ZfXl6Xrm.js} +1 -1
- package/dist/esm/{index-Bn7inNWG.js → index-qipqIMyC.js} +8 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/{insurance-state-CTalqbNa.js → insurance-state-Dh9f36Qh.js} +2 -2
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +9 -24
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +8 -8
- package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
- package/dist/esm/justifi-apple-pay.entry.js +177 -86
- package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +24 -42
- package/dist/esm/justifi-business-details.entry.js +10 -10
- package/dist/esm/justifi-business-form.entry.js +15 -30
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
- package/dist/esm/justifi-checkout-summary_7.entry.js +189 -157
- package/dist/esm/justifi-checkout.entry.js +19 -11
- package/dist/esm/justifi-checkouts-list-filters.entry.js +8 -8
- package/dist/esm/justifi-checkouts-list.entry.js +14 -14
- package/dist/esm/justifi-config-provider.entry.js +3 -3
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management-core.entry.js +2 -2
- package/dist/esm/justifi-dispute-management.entry.js +10 -10
- package/dist/esm/justifi-dispute-notification_3.entry.js +15 -15
- package/dist/esm/justifi-gross-payment-chart.entry.js +9 -9
- package/dist/esm/justifi-order-terminals.entry.js +16 -44
- package/dist/esm/justifi-owner-form_3.entry.js +8 -8
- package/dist/esm/justifi-payment-details.entry.js +11 -11
- package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
- package/dist/esm/justifi-payment-provisioning.entry.js +9 -9
- package/dist/esm/justifi-payment-transactions-list.entry.js +14 -16
- package/dist/esm/justifi-payments-list-filters.entry.js +7 -7
- package/dist/esm/justifi-payments-list.entry.js +14 -14
- package/dist/esm/justifi-payout-details.entry.js +10 -10
- package/dist/esm/justifi-payout-transactions-list.entry.js +16 -22
- package/dist/esm/justifi-payouts-list-filters.entry.js +7 -7
- package/dist/esm/justifi-payouts-list.entry.js +15 -15
- package/dist/esm/justifi-refund-payment.entry.js +15 -21
- package/dist/esm/justifi-saved-payment-method.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +14 -25
- package/dist/esm/justifi-skeleton.entry.js +4 -4
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +9 -9
- package/dist/esm/justifi-terminal-orders-list.entry.js +12 -12
- package/dist/esm/justifi-terminals-list-filters.entry.js +8 -8
- package/dist/esm/justifi-terminals-list.entry.js +14 -14
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{package-D51QuD44.js → package-BBpkkt2-.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/payment-details-core.entry.js +16 -28
- package/dist/esm/payment-method-option.entry.js +3 -3
- package/dist/esm/{payment.service-uJpJaX2Z.js → payment.service-QJEmd6Nl.js} +2 -2
- package/dist/esm/payments-list-core.entry.js +12 -12
- package/dist/esm/{payments-list-params-state-D8tzsGR_.js → payments-list-params-state-C2_GlMKR.js} +1 -1
- package/dist/esm/{payments-status-5orNU2Rd.js → payments-status-DDafc8Yr.js} +2 -2
- package/dist/esm/{payments-table-B0uyodyJ.js → payments-table-De3Jb6rY.js} +4 -6
- package/dist/esm/payout-details-core.entry.js +12 -24
- package/dist/esm/{payout.service-ClUgtbbb.js → payout.service-XxyEr0rj.js} +2 -2
- package/dist/esm/payouts-list-core.entry.js +12 -12
- package/dist/esm/{payouts-list-params-state-D8tzsGR_.js → payouts-list-params-state-C2_GlMKR.js} +1 -1
- package/dist/esm/{payouts-status-CZPwa2AE.js → payouts-status-u1eSRz3Q.js} +2 -2
- package/dist/esm/{payouts-table-CaCSX_0q.js → payouts-table-BO-MCzXj.js} +5 -7
- package/dist/esm/{skeleton-qMb0_Cjy.js → skeleton-DtpkgjZ6.js} +1 -1
- package/dist/esm/spinner-CIXUVK4F.js +8 -0
- package/dist/esm/{styled-host-CTAGIN84.js → styled-host-CbizlfAU.js} +2 -4
- package/dist/esm/{table-Br3n9Xu-.js → table-DcRHK_sm.js} +5 -11
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/terminal-orders-list-core.entry.js +11 -11
- package/dist/esm/{terminal-orders-list-params-state-D8tzsGR_.js → terminal-orders-list-params-state-C2_GlMKR.js} +1 -1
- package/dist/esm/{terminal-orders-table-DPtof5Zb.js → terminal-orders-table-9nsnrAq8.js} +7 -11
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/{terminal.service-ClNtE3e-.js → terminal.service-D2oETGnk.js} +2 -2
- package/dist/esm/terminals-list-core.entry.js +11 -11
- package/dist/esm/terminals-list-params-state-C2_GlMKR.js +16 -0
- package/dist/esm/{terminals-table-ClkR_jrC.js → terminals-table-C6NO2m-t.js} +3 -3
- package/dist/esm/{utils-lb8p1Exq.js → utils-BscIVFn8.js} +6 -1
- package/dist/esm/utils-_ckvHjSW.js +11 -0
- package/dist/esm/webcomponents.js +4 -4
- package/dist/module/ModularCheckout.js +57 -0
- package/dist/module/Refund.js +2 -0
- package/dist/module/additional-questions-details2.js +4 -2
- package/dist/module/additional-questions.js +4 -2
- package/dist/module/additional-statement.js +5 -3
- package/dist/module/bank-account-billing-form-simple.js +4 -2
- package/dist/module/bank-account-document-inputs.js +4 -2
- package/dist/module/bank-account-form-inputs2.js +4 -2
- package/dist/module/bank-account-form.js +10 -13
- package/dist/module/bank-account.js +7 -13
- package/dist/module/billing-form-full.js +4 -2
- package/dist/module/billing-form.js +4 -2
- package/dist/module/business-additional-questions-form-step-core.js +4 -2
- package/dist/module/business-additional-questions-form-step.js +4 -2
- package/dist/module/business-bank-account-form-step-core.js +4 -2
- package/dist/module/business-bank-account-form-step.js +4 -2
- package/dist/module/business-core-info-form-step-core.js +4 -2
- package/dist/module/business-core-info-form-step.js +4 -2
- package/dist/module/business-core-info.js +4 -2
- package/dist/module/business-details-core2.js +6 -19
- package/dist/module/business-documents-on-file2.js +4 -2
- package/dist/module/business-owners-form-step-core.js +4 -2
- package/dist/module/business-owners-form-step.js +4 -2
- package/dist/module/business-representative-form-inputs.js +4 -2
- package/dist/module/business-representative-form-step-core.js +4 -2
- package/dist/module/business-representative-form-step.js +4 -2
- package/dist/module/business-representative.js +4 -2
- package/dist/module/business-terms-conditions-form-step.js +4 -2
- package/dist/module/button.js +1 -2
- package/dist/module/cancellation-policy.js +5 -3
- package/dist/module/card-billing-form-simple.js +4 -2
- package/dist/module/card-form.js +10 -17
- package/dist/module/card-form2.js +7 -17
- package/dist/module/checkout.store.js +42 -31
- package/dist/module/checkouts-list-core2.js +6 -6
- package/dist/module/core-info-details2.js +4 -2
- package/dist/module/custom-popper2.js +6 -4
- package/dist/module/customer-details.js +5 -3
- package/dist/module/details.js +4 -2
- package/dist/module/dispute-management-core.js +5 -3
- package/dist/module/dispute-notification.js +5 -3
- package/dist/module/dispute-response-core.js +5 -3
- package/dist/module/dispute-response.js +5 -3
- package/dist/module/duplicate-charge.js +5 -3
- package/dist/module/electronic-evidence.js +5 -3
- package/dist/module/form-alert2.js +4 -2
- package/dist/module/form-control-checkbox2.js +6 -4
- package/dist/module/form-control-date2.js +6 -4
- package/dist/module/form-control-file-v22.js +5 -3
- package/dist/module/form-control-file2.js +6 -4
- package/dist/module/form-control-help-text2.js +4 -2
- package/dist/module/form-control-monetary-provisioning2.js +4 -2
- package/dist/module/form-control-monetary2.js +6 -4
- package/dist/module/form-control-number-masked2.js +6 -4
- package/dist/module/form-control-number.js +6 -4
- package/dist/module/form-control-radio2.js +7 -5
- package/dist/module/form-control-select2.js +6 -4
- package/dist/module/form-control-text2.js +6 -4
- package/dist/module/form-control-textarea2.js +6 -4
- package/dist/module/form-control-tooltip2.js +4 -2
- package/dist/module/gross-payment-chart-core2.js +6 -4
- package/dist/module/hidden-input2.js +5 -3
- package/dist/module/identity-address-form.js +4 -2
- package/dist/module/iframe-input2.js +7 -5
- package/dist/module/index.js +1 -0
- package/dist/module/justifi-apple-pay.js +174 -86
- package/dist/module/justifi-business-details.js +4 -2
- package/dist/module/justifi-business-form.js +6 -19
- package/dist/module/justifi-button2.js +5 -3
- package/dist/module/justifi-checkout.js +15 -4
- package/dist/module/justifi-checkouts-list-filters.js +5 -3
- package/dist/module/justifi-checkouts-list.js +5 -3
- package/dist/module/justifi-config-provider.js +4 -2
- package/dist/module/justifi-dispute-management.js +5 -3
- package/dist/module/justifi-gross-payment-chart.js +4 -2
- package/dist/module/justifi-header2.js +5 -3
- package/dist/module/justifi-order-terminals.js +9 -35
- package/dist/module/justifi-payment-details.js +4 -2
- package/dist/module/justifi-payment-provisioning.js +4 -2
- package/dist/module/justifi-payment-transactions-list.js +6 -6
- package/dist/module/justifi-payments-list-filters.js +6 -4
- package/dist/module/justifi-payments-list.js +5 -3
- package/dist/module/justifi-payout-details.js +4 -2
- package/dist/module/justifi-payout-transactions-list.js +8 -12
- package/dist/module/justifi-payouts-list-filters.js +6 -4
- package/dist/module/justifi-payouts-list.js +5 -3
- package/dist/module/justifi-radio-list-item2.js +6 -4
- package/dist/module/justifi-refund-payment.js +6 -10
- package/dist/module/justifi-saved-payment-method.js +4 -2
- package/dist/module/justifi-season-interruption-insurance.js +6 -16
- package/dist/module/justifi-skeleton.js +5 -3
- package/dist/module/justifi-terminal-orders-list-filters.js +6 -4
- package/dist/module/justifi-terminal-orders-list.js +5 -3
- package/dist/module/justifi-terminals-list-filters.js +5 -3
- package/dist/module/justifi-terminals-list.js +5 -3
- package/dist/module/legal-address-details2.js +4 -2
- package/dist/module/legal-address-form-step-core.js +4 -2
- package/dist/module/legal-address-form-step.js +4 -2
- package/dist/module/legal-address-form.js +4 -2
- package/dist/module/modular-checkout.js +99 -39
- package/dist/module/owner-details2.js +4 -2
- package/dist/module/owner-form-core2.js +4 -2
- package/dist/module/owner-form-inputs2.js +4 -2
- package/dist/module/owner-form.js +4 -2
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +4 -2
- package/dist/module/payment-details-core2.js +13 -23
- package/dist/module/payment-method-option.js +5 -3
- package/dist/module/payment-provisioning-core.js +4 -2
- package/dist/module/payment-provisioning-form-buttons.js +4 -2
- package/dist/module/payment-provisioning-form-steps.js +4 -2
- package/dist/module/payment-provisioning-loading.js +2 -17
- package/dist/module/payments-list-core2.js +6 -6
- package/dist/module/payout-details-core2.js +8 -18
- package/dist/module/payouts-list-core2.js +7 -7
- package/dist/module/plaid-payment-method.js +49 -104
- package/dist/module/plaid.service.js +26 -0
- package/dist/module/product-or-service.js +5 -3
- package/dist/module/refund-policy.js +5 -3
- package/dist/module/representative-details2.js +4 -2
- package/dist/module/save-new-payment-method.js +7 -3
- package/dist/module/saved-payment-methods.js +13 -12
- package/dist/module/sezzle-payment-method.js +14 -24
- package/dist/module/shipping-details.js +5 -3
- package/dist/module/spinner.js +1 -3
- package/dist/module/styled-host.js +1 -3
- package/dist/module/summary.js +5 -3
- package/dist/module/table-filters-menu2.js +5 -3
- package/dist/module/table.js +3 -9
- package/dist/module/terminal-orders-list-core2.js +7 -9
- package/dist/module/terminal-quantity-selector2.js +5 -3
- package/dist/module/terminals-list-core2.js +6 -4
- package/dist/module/tokenize-payment-method.js +16 -12
- package/dist/module/utils.js +5 -16
- package/dist/module/utils2.js +6 -1
- package/dist/types/api/Checkout.d.ts +7 -15
- package/dist/types/api/Payment.d.ts +3 -1
- package/dist/types/api/index.d.ts +2 -2
- package/dist/types/api/services/apple-pay.service.d.ts +7 -0
- package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +1 -0
- package/dist/types/components/checkout/card-form/card-form.d.ts +1 -0
- package/dist/types/components/checkout/checkout.d.ts +5 -0
- package/dist/types/components/checkout/save-new-payment-method.d.ts +1 -0
- package/dist/types/components/modular-checkout/ModularCheckout.d.ts +41 -0
- package/dist/types/components/modular-checkout/modular-checkout.d.ts +5 -3
- package/dist/types/components/modular-checkout/sub-components/apple-pay-skeleton.d.ts +1 -1
- package/dist/types/components/modular-checkout/sub-components/apple-pay.d.ts +9 -3
- package/dist/types/components/modular-checkout/sub-components/plaid-payment-method.d.ts +1 -2
- package/dist/types/components/modular-checkout/sub-components/saved-payment-methods.d.ts +3 -3
- package/dist/types/components/modular-checkout/sub-components/sezzle-payment-method.d.ts +1 -1
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +2 -1
- package/dist/types/components.d.ts +23 -16
- package/dist/types/index.d.ts +4 -0
- package/dist/types/stencil-public-runtime.d.ts +21 -0
- package/dist/types/store/checkout.store.d.ts +12 -5
- package/dist/types/ui-components/form/form-control-radio.d.ts +1 -1
- package/dist/types/ui-components/shadow-dom-components/justifi-radio-list-item.d.ts +1 -1
- package/dist/types/utils/utils.d.ts +1 -0
- package/dist/webcomponents/index.esm.js +1 -0
- package/dist/webcomponents/p-005efe51.entry.js +1 -0
- package/dist/webcomponents/p-0142114f.entry.js +1 -0
- package/dist/webcomponents/{p-54ca3070.entry.js → p-0801324e.entry.js} +1 -1
- package/dist/webcomponents/{p-ed7dfcf3.entry.js → p-0d8fe5f2.entry.js} +1 -1
- package/dist/webcomponents/{p-613421d4.entry.js → p-146de253.entry.js} +1 -1
- package/dist/webcomponents/p-17f7590c.entry.js +1 -0
- package/dist/webcomponents/{p-9846b23d.entry.js → p-1b7926f6.entry.js} +1 -1
- package/dist/webcomponents/{p-44450a94.entry.js → p-20f036cc.entry.js} +1 -1
- package/dist/webcomponents/{p-f13ae573.entry.js → p-2246aa69.entry.js} +1 -1
- package/dist/webcomponents/p-246ef4ff.entry.js +1 -0
- package/dist/webcomponents/{p-bcb1d661.entry.js → p-25484e99.entry.js} +1 -1
- package/dist/webcomponents/{p-053c183b.entry.js → p-265d0a1d.entry.js} +1 -1
- package/dist/webcomponents/{p-4213d10e.entry.js → p-27fc3ef0.entry.js} +3 -3
- package/dist/webcomponents/{p-9b0f0f53.entry.js → p-2a43e77f.entry.js} +1 -1
- package/dist/webcomponents/p-30c414b5.entry.js +1 -0
- package/dist/webcomponents/{p-8d891445.entry.js → p-3152c84f.entry.js} +1 -1
- package/dist/webcomponents/p-3546a5aa.entry.js +1 -0
- package/dist/webcomponents/p-3621a429.entry.js +1 -0
- package/dist/webcomponents/p-3906296f.entry.js +1 -0
- package/dist/webcomponents/{p-f1cba43c.entry.js → p-3d37045d.entry.js} +1 -1
- package/dist/webcomponents/p-3e320c0d.entry.js +1 -0
- package/dist/webcomponents/p-406ba650.entry.js +1 -0
- package/dist/webcomponents/p-44d1341c.entry.js +1 -0
- package/dist/webcomponents/{p-6255c685.entry.js → p-44e32f85.entry.js} +1 -1
- package/dist/webcomponents/p-4ea83bfd.entry.js +1 -0
- package/dist/webcomponents/p-558f7967.entry.js +1 -0
- package/dist/webcomponents/p-5c3d8de5.entry.js +1 -0
- package/dist/webcomponents/p-5c477f08.entry.js +1 -0
- package/dist/webcomponents/p-68329f16.entry.js +1 -0
- package/dist/webcomponents/p-6fdc03bc.entry.js +1 -0
- package/dist/webcomponents/p-6fe79f16.entry.js +1 -0
- package/dist/webcomponents/p-7aeb20d2.entry.js +1 -0
- package/dist/webcomponents/p-7b103dad.entry.js +1 -0
- package/dist/webcomponents/{p-28618e6f.entry.js → p-7c5cd118.entry.js} +1 -1
- package/dist/webcomponents/{p-17896a6d.entry.js → p-7cb6cc9f.entry.js} +1 -1
- package/dist/webcomponents/p-7e04d5af.entry.js +1 -0
- package/dist/webcomponents/p-82781411.entry.js +1 -0
- package/dist/webcomponents/p-84043580.entry.js +1 -0
- package/dist/webcomponents/p-8467851a.entry.js +1 -0
- package/dist/webcomponents/{p-95cbb655.entry.js → p-8d3f5638.entry.js} +1 -1
- package/dist/webcomponents/p-906fdf0c.entry.js +1 -0
- package/dist/webcomponents/{p-9a2c044f.entry.js → p-90e43440.entry.js} +1 -1
- package/dist/webcomponents/p-95348ff6.entry.js +1 -0
- package/dist/webcomponents/{p-15705e8a.entry.js → p-9c4079cc.entry.js} +1 -1
- package/dist/webcomponents/{p-f04c79f2.entry.js → p-9d7b5d07.entry.js} +1 -1
- package/dist/webcomponents/p-9fc464eb.entry.js +1 -0
- package/dist/webcomponents/{p-0mMX1Zv4.js → p-B4idKqyn.js} +1 -1
- package/dist/webcomponents/p-BBpkkt2-.js +1 -0
- package/dist/webcomponents/{p-zdIeCUeh.js → p-BHf9IqGw.js} +1 -1
- package/dist/webcomponents/{p-DNo0OPOP.js → p-BIPdn2VU.js} +1 -1
- package/dist/webcomponents/{p-BPtcGAzB.js → p-BUa0YOaw.js} +1 -1
- package/dist/webcomponents/{p-B8iBcmNu.js → p-BY2p6Sxk.js} +1 -1
- package/dist/webcomponents/{p-CB0mCq1M.js → p-BZ7C9duj.js} +1 -1
- package/dist/webcomponents/{p-DGmp4ErD.js → p-BdLLGV9t.js} +1 -1
- package/dist/webcomponents/p-BguBT6Hn.js +1 -0
- package/dist/webcomponents/{p-DhGNCW2f.js → p-Bp_QFeog.js} +1 -1
- package/dist/webcomponents/{p-B71k50jz.js → p-Bvp7uul3.js} +1 -1
- package/dist/webcomponents/{p-CvG-itHC.js → p-C1xGBPma.js} +1 -1
- package/dist/webcomponents/p-C3n7-tlg.js +1 -0
- package/dist/webcomponents/{p-DxqCFDtF.js → p-CLQx9p9q.js} +1 -1
- package/dist/webcomponents/{p-b21ncS7l.js → p-CPVN4dXS.js} +1 -1
- package/dist/webcomponents/p-CQeex56P.js +1 -0
- package/dist/webcomponents/p-CU4XQ3fO.js +1 -0
- package/dist/webcomponents/{p-Bb-6bNcq.js → p-C_3N7nqh.js} +1 -1
- package/dist/webcomponents/{p-BRLwUSZk.js → p-CaxjN6Uo.js} +1 -1
- package/dist/webcomponents/p-CpKvg1ok.js +1 -0
- package/dist/webcomponents/p-CrQgyTRz.js +1 -0
- package/dist/webcomponents/{p-Bu1jU017.js → p-CxzFvTgf.js} +1 -1
- package/dist/webcomponents/{p-DVBbk00Z.js → p-CzPUMw00.js} +1 -1
- package/dist/webcomponents/{p-DDUmOl3v.js → p-D--yCspA.js} +1 -1
- package/dist/webcomponents/{p-qWQmu-fb.js → p-D-JYHdJ7.js} +1 -1
- package/dist/webcomponents/p-D6XirF21.js +1 -0
- package/dist/webcomponents/p-DCIW8z1f.js +1 -0
- package/dist/webcomponents/{p-BfM6X7lF.js → p-DCMrHeJI.js} +1 -1
- package/dist/webcomponents/{p-tkZEz3MG.js → p-D_5McRD_.js} +1 -1
- package/dist/webcomponents/p-DbX0g1WF.js +1 -0
- package/dist/webcomponents/p-De8UloOS.js +1 -0
- package/dist/webcomponents/p-DsAwPf2y.js +1 -0
- package/dist/webcomponents/p-DvZcI6pC.js +1 -0
- package/dist/webcomponents/p-DyDHaG6n.js +1 -0
- package/dist/webcomponents/{p-D2_iJUrZ.js → p-DyOgQlh2.js} +1 -1
- package/dist/webcomponents/p-IG_KR8zP.js +1 -0
- package/dist/webcomponents/p-Xv8DuU3Y.js +1 -0
- package/dist/webcomponents/{p-d46dbb83.entry.js → p-a71a5e64.entry.js} +1 -1
- package/dist/webcomponents/{p-a0cc3d92.entry.js → p-a7e40e91.entry.js} +1 -1
- package/dist/webcomponents/{p-72dda22b.entry.js → p-a90b8b93.entry.js} +1 -1
- package/dist/webcomponents/{p-70f51444.entry.js → p-a928c6fb.entry.js} +1 -1
- package/dist/webcomponents/p-b90999af.entry.js +1 -0
- package/dist/webcomponents/{p-d277cc68.entry.js → p-bc3cdc7b.entry.js} +1 -1
- package/dist/webcomponents/p-c16c0cbc.entry.js +1 -0
- package/dist/webcomponents/p-c262d10f.entry.js +1 -0
- package/dist/webcomponents/p-c4Mh3ZZ_.js +1 -0
- package/dist/webcomponents/{p-2a3c59d4.entry.js → p-c70e1aac.entry.js} +1 -1
- package/dist/webcomponents/{p-f680e617.entry.js → p-cecb65c4.entry.js} +1 -1
- package/dist/webcomponents/p-d7555ff1.entry.js +1 -0
- package/dist/webcomponents/{p-8ff839a4.entry.js → p-df329742.entry.js} +1 -1
- package/dist/webcomponents/{p-3e667b07.entry.js → p-e2a38ad0.entry.js} +1 -1
- package/dist/webcomponents/p-e6516014.entry.js +1 -0
- package/dist/webcomponents/{p-97c0dde4.entry.js → p-e6e96be2.entry.js} +1 -1
- package/dist/webcomponents/p-e79338f9.entry.js +1 -0
- package/dist/webcomponents/p-ea2a9a81.entry.js +1 -0
- package/dist/webcomponents/p-f5c3f489.entry.js +1 -0
- package/dist/webcomponents/p-f6fbd43d.entry.js +1 -0
- package/dist/webcomponents/{p-00a845e5.entry.js → p-f7690165.entry.js} +1 -1
- package/dist/webcomponents/{p-7cf87637.entry.js → p-f8cbcbe9.entry.js} +1 -1
- package/dist/webcomponents/p-f99e4566.entry.js +1 -0
- package/dist/webcomponents/{p-C5id7s_l.js → p-fUtq2xDs.js} +1 -1
- package/dist/webcomponents/{p-Dgflaz6J.js → p-oGKW57R8.js} +1 -1
- package/dist/webcomponents/p-qipqIMyC.js +2 -0
- package/dist/webcomponents/p-xY5RkFuA.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +2 -2
- package/dist/cjs/spinner-jmeA44Ee.js +0 -12
- package/dist/cjs/terminals-list-params-state-Cewmin_p.js +0 -22
- package/dist/cjs/utils-Bzyj4qWe.js +0 -29
- package/dist/esm/spinner-DUzyWLhj.js +0 -10
- package/dist/esm/terminals-list-params-state-D8tzsGR_.js +0 -16
- package/dist/esm/utils-Dg6gMUTv.js +0 -22
- package/dist/webcomponents/p-040e8524.entry.js +0 -1
- package/dist/webcomponents/p-0f42c89d.entry.js +0 -1
- package/dist/webcomponents/p-1288fda5.entry.js +0 -1
- package/dist/webcomponents/p-14ff3155.entry.js +0 -1
- package/dist/webcomponents/p-2b5da0dc.entry.js +0 -1
- package/dist/webcomponents/p-3aecd2cd.entry.js +0 -1
- package/dist/webcomponents/p-3bf63d1e.entry.js +0 -1
- package/dist/webcomponents/p-5580e6ca.entry.js +0 -1
- package/dist/webcomponents/p-57dde36e.entry.js +0 -1
- package/dist/webcomponents/p-5bc6f5ca.entry.js +0 -1
- package/dist/webcomponents/p-5f87add5.entry.js +0 -1
- package/dist/webcomponents/p-60206d9c.entry.js +0 -1
- package/dist/webcomponents/p-7089fb85.entry.js +0 -1
- package/dist/webcomponents/p-724e57e1.entry.js +0 -1
- package/dist/webcomponents/p-72f3bbfc.entry.js +0 -1
- package/dist/webcomponents/p-84d2025d.entry.js +0 -1
- package/dist/webcomponents/p-851a418e.entry.js +0 -1
- package/dist/webcomponents/p-87884ca5.entry.js +0 -1
- package/dist/webcomponents/p-88905a54.entry.js +0 -1
- package/dist/webcomponents/p-8990707a.entry.js +0 -1
- package/dist/webcomponents/p-8b7cbdbf.entry.js +0 -1
- package/dist/webcomponents/p-8cca8903.entry.js +0 -1
- package/dist/webcomponents/p-98cffba9.entry.js +0 -1
- package/dist/webcomponents/p-9f5c9e41.entry.js +0 -1
- package/dist/webcomponents/p-B5Rc83j1.js +0 -1
- package/dist/webcomponents/p-BEPUC3Po.js +0 -1
- package/dist/webcomponents/p-BP7op0vq.js +0 -1
- package/dist/webcomponents/p-BQ2TIFoY.js +0 -1
- package/dist/webcomponents/p-BSt6p1oq.js +0 -1
- package/dist/webcomponents/p-BY1mRAvj.js +0 -1
- package/dist/webcomponents/p-BbZwa5UI.js +0 -1
- package/dist/webcomponents/p-Bn7inNWG.js +0 -2
- package/dist/webcomponents/p-C6c6Q0E7.js +0 -1
- package/dist/webcomponents/p-CaAVuW6B.js +0 -1
- package/dist/webcomponents/p-CpaS1Lex.js +0 -1
- package/dist/webcomponents/p-D51QuD44.js +0 -1
- package/dist/webcomponents/p-DD0Mvpeu.js +0 -1
- package/dist/webcomponents/p-DIDloHpm.js +0 -1
- package/dist/webcomponents/p-Dc1CS9Mi.js +0 -1
- package/dist/webcomponents/p-DsZZxRXY.js +0 -1
- package/dist/webcomponents/p-a1d3bb81.entry.js +0 -1
- package/dist/webcomponents/p-a9957ca5.entry.js +0 -1
- package/dist/webcomponents/p-abbf14b5.entry.js +0 -1
- package/dist/webcomponents/p-c44325f8.entry.js +0 -1
- package/dist/webcomponents/p-c65bcc0c.entry.js +0 -1
- package/dist/webcomponents/p-c874ca2b.entry.js +0 -1
- package/dist/webcomponents/p-caac63bf.entry.js +0 -1
- package/dist/webcomponents/p-d17e2531.entry.js +0 -1
- package/dist/webcomponents/p-d72e8541.entry.js +0 -1
- package/dist/webcomponents/p-eP3fmhta.js +0 -1
- package/dist/webcomponents/p-ef353e3d.entry.js +0 -1
- package/dist/webcomponents/p-fa1aba4e.entry.js +0 -1
- package/dist/webcomponents/p-fb16d889.entry.js +0 -1
- package/dist/webcomponents/p-fd4ffaa2.entry.js +0 -1
- package/dist/webcomponents/p-sw5RO19U.js +0 -1
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
import { Api } from "../Api";
|
|
2
2
|
import { ApplePaySessionStatus, ApplePayHelpers, ApplePayConfig, ApplePayPaymentRequest, } from "../ApplePay";
|
|
3
|
+
// Centralized error codes for Apple Pay service
|
|
4
|
+
export var ApplePayServiceErrorCode;
|
|
5
|
+
(function (ApplePayServiceErrorCode) {
|
|
6
|
+
ApplePayServiceErrorCode["UNAVAILABLE"] = "UNAVAILABLE";
|
|
7
|
+
ApplePayServiceErrorCode["SESSION_ERROR"] = "SESSION_ERROR";
|
|
8
|
+
ApplePayServiceErrorCode["MERCHANT_VALIDATION_ERROR"] = "MERCHANT_VALIDATION_ERROR";
|
|
9
|
+
ApplePayServiceErrorCode["PAYMENT_PROCESSING_ERROR"] = "PAYMENT_PROCESSING_ERROR";
|
|
10
|
+
ApplePayServiceErrorCode["USER_CANCELLED"] = "USER_CANCELLED";
|
|
11
|
+
})(ApplePayServiceErrorCode || (ApplePayServiceErrorCode = {}));
|
|
3
12
|
export class ApplePayService {
|
|
4
13
|
constructor() {
|
|
5
14
|
this.api = Api();
|
|
@@ -70,28 +79,70 @@ export class ApplePayService {
|
|
|
70
79
|
* Start Apple Pay session
|
|
71
80
|
*/
|
|
72
81
|
async startPaymentSession(paymentRequest, authToken, accountId) {
|
|
82
|
+
// Begin verbose diagnostics for easier debugging in the field
|
|
83
|
+
console.groupCollapsed('[ApplePayService] startPaymentSession called');
|
|
84
|
+
console.log('[ApplePayService] raw paymentRequest:', JSON.stringify(paymentRequest, null, 2));
|
|
85
|
+
console.log('[ApplePayService] has authToken:', Boolean(authToken));
|
|
86
|
+
console.log('[ApplePayService] accountId:', accountId);
|
|
87
|
+
console.log('[ApplePayService] has config:', Boolean(this.applePayConfig));
|
|
73
88
|
if (!this.applePayConfig) {
|
|
89
|
+
console.error('[ApplePayService] Missing applePayConfig. Did you call initialize()?');
|
|
90
|
+
console.groupEnd();
|
|
74
91
|
throw new Error('Apple Pay not initialized. Call initialize() first.');
|
|
75
92
|
}
|
|
76
93
|
// if (!this.isAvailable()) {
|
|
77
94
|
// throw new Error('Apple Pay is not available on this device/browser');
|
|
78
95
|
// }
|
|
79
96
|
const request = new ApplePayPaymentRequest(paymentRequest);
|
|
97
|
+
console.log('[ApplePayService] created ApplePayPaymentRequest:', request);
|
|
80
98
|
if (!request.isValid) {
|
|
99
|
+
const missingFields = [];
|
|
100
|
+
if (!request.countryCode)
|
|
101
|
+
missingFields.push('countryCode');
|
|
102
|
+
if (!request.currencyCode)
|
|
103
|
+
missingFields.push('currencyCode');
|
|
104
|
+
if (!request.merchantCapabilities ||
|
|
105
|
+
request.merchantCapabilities.length === 0)
|
|
106
|
+
missingFields.push('merchantCapabilities');
|
|
107
|
+
if (!request.supportedNetworks || request.supportedNetworks.length === 0)
|
|
108
|
+
missingFields.push('supportedNetworks');
|
|
109
|
+
if (!request.total || !request.total.label || !request.total.amount)
|
|
110
|
+
missingFields.push('total');
|
|
111
|
+
console.error('[ApplePayService] Payment request is invalid. Missing/invalid:', missingFields);
|
|
112
|
+
console.groupEnd();
|
|
81
113
|
throw new Error('Invalid payment request provided');
|
|
82
114
|
}
|
|
83
115
|
this.currentPaymentRequest = request;
|
|
84
116
|
return new Promise((resolve, reject) => {
|
|
85
117
|
try {
|
|
118
|
+
console.log('[ApplePayService] About to instantiate ApplePaySession');
|
|
119
|
+
// Defensive checks for Apple Pay environment
|
|
120
|
+
if (typeof window === 'undefined' || !('ApplePaySession' in window)) {
|
|
121
|
+
console.error('[ApplePayService] ApplePaySession not available on window');
|
|
122
|
+
console.groupEnd();
|
|
123
|
+
return reject({
|
|
124
|
+
success: false,
|
|
125
|
+
error: {
|
|
126
|
+
code: ApplePayServiceErrorCode.APPLE_PAY_UNAVAILABLE,
|
|
127
|
+
message: 'ApplePaySession API is not available in this environment',
|
|
128
|
+
},
|
|
129
|
+
});
|
|
130
|
+
}
|
|
86
131
|
this.currentSession = new window.ApplePaySession(3, request);
|
|
132
|
+
console.log('[ApplePayService] ApplePaySession instantiated:', this.currentSession);
|
|
87
133
|
this.setupSessionEventHandlers(resolve, reject, authToken, accountId);
|
|
134
|
+
console.log('[ApplePayService] Event handlers set. Beginning session...');
|
|
88
135
|
this.currentSession.begin();
|
|
136
|
+
console.log('[ApplePayService] Session.begin() called');
|
|
137
|
+
console.groupEnd();
|
|
89
138
|
}
|
|
90
139
|
catch (error) {
|
|
140
|
+
console.error('[ApplePayService] Exception while starting session:', error);
|
|
141
|
+
console.groupEnd();
|
|
91
142
|
reject({
|
|
92
143
|
success: false,
|
|
93
144
|
error: {
|
|
94
|
-
code:
|
|
145
|
+
code: ApplePayServiceErrorCode.SESSION_ERROR,
|
|
95
146
|
message: error instanceof Error
|
|
96
147
|
? error.message
|
|
97
148
|
: 'Failed to start Apple Pay session',
|
|
@@ -117,16 +168,26 @@ export class ApplePayService {
|
|
|
117
168
|
if (!this.currentSession ||
|
|
118
169
|
!this.applePayConfig ||
|
|
119
170
|
!this.currentPaymentRequest) {
|
|
171
|
+
console.error('[ApplePayService] setupSessionEventHandlers called without required state', {
|
|
172
|
+
hasSession: Boolean(this.currentSession),
|
|
173
|
+
hasConfig: Boolean(this.applePayConfig),
|
|
174
|
+
hasPaymentRequest: Boolean(this.currentPaymentRequest),
|
|
175
|
+
});
|
|
120
176
|
return;
|
|
121
177
|
}
|
|
122
178
|
this.currentSession.onvalidatemerchant = async () => {
|
|
179
|
+
console.groupCollapsed('[ApplePayService] onvalidatemerchant');
|
|
123
180
|
try {
|
|
181
|
+
console.log('[ApplePayService] accountId:', accountId);
|
|
124
182
|
if (!authToken) {
|
|
183
|
+
console.error('[ApplePayService] Missing authToken for merchant validation');
|
|
125
184
|
throw new Error('Authentication token not provided.');
|
|
126
185
|
}
|
|
127
186
|
const merchantSession = await this.validateMerchant(authToken, accountId);
|
|
187
|
+
console.log('[ApplePayService] merchantSession received');
|
|
128
188
|
try {
|
|
129
189
|
this.currentSession.completeMerchantValidation(merchantSession);
|
|
190
|
+
console.log('[ApplePayService] completeMerchantValidation called');
|
|
130
191
|
}
|
|
131
192
|
catch (completionError) {
|
|
132
193
|
console.error('Error calling completeMerchantValidation:', completionError);
|
|
@@ -136,32 +197,44 @@ export class ApplePayService {
|
|
|
136
197
|
catch (error) {
|
|
137
198
|
console.error('=== MERCHANT VALIDATION ERROR ===');
|
|
138
199
|
console.error('Error during merchant validation:', error);
|
|
139
|
-
|
|
200
|
+
if (error && error.stack) {
|
|
201
|
+
console.error('Error stack:', error.stack);
|
|
202
|
+
}
|
|
140
203
|
this.currentSession.abort();
|
|
141
204
|
reject({
|
|
142
205
|
success: false,
|
|
143
206
|
error: {
|
|
144
|
-
code:
|
|
207
|
+
code: ApplePayServiceErrorCode.MERCHANT_VALIDATION_ERROR,
|
|
145
208
|
message: error instanceof Error
|
|
146
209
|
? error.message
|
|
147
210
|
: 'Merchant validation failed',
|
|
148
211
|
},
|
|
149
212
|
});
|
|
150
213
|
}
|
|
214
|
+
console.groupEnd();
|
|
151
215
|
};
|
|
152
216
|
this.currentSession.onpaymentauthorized = async (event) => {
|
|
217
|
+
var _a;
|
|
218
|
+
console.groupCollapsed('[ApplePayService] onpaymentauthorized');
|
|
153
219
|
try {
|
|
154
220
|
const payment = event.payment;
|
|
221
|
+
console.log('[ApplePayService] payment payload snapshot:', {
|
|
222
|
+
hasToken: Boolean(payment === null || payment === void 0 ? void 0 : payment.token),
|
|
223
|
+
tokenType: ((_a = payment === null || payment === void 0 ? void 0 : payment.token) === null || _a === void 0 ? void 0 : _a.paymentData) ? 'paymentData' : 'raw',
|
|
224
|
+
});
|
|
155
225
|
const paymentPayload = Object.assign(Object.assign({}, payment.token), { product_details: {
|
|
156
226
|
name: this.currentPaymentRequest.total.label,
|
|
157
227
|
price: ApplePayHelpers.parseAmount(this.currentPaymentRequest.total.amount),
|
|
158
228
|
description: this.currentPaymentRequest.total.label,
|
|
159
229
|
} });
|
|
230
|
+
console.log('[ApplePayService] paymentPayload prepared');
|
|
160
231
|
const paymentResult = await this.processPayment(authToken, accountId, paymentPayload);
|
|
232
|
+
console.log('[ApplePayService] processPayment result:', paymentResult);
|
|
161
233
|
if (paymentResult.success) {
|
|
162
234
|
this.currentSession.completePayment({
|
|
163
235
|
status: ApplePaySessionStatus.STATUS_SUCCESS,
|
|
164
236
|
});
|
|
237
|
+
console.log('[ApplePayService] Payment success; resolving');
|
|
165
238
|
resolve({
|
|
166
239
|
success: true,
|
|
167
240
|
token: payment.token,
|
|
@@ -176,7 +249,7 @@ export class ApplePayService {
|
|
|
176
249
|
reject({
|
|
177
250
|
success: false,
|
|
178
251
|
error: {
|
|
179
|
-
code:
|
|
252
|
+
code: ApplePayServiceErrorCode.PAYMENT_PROCESSING_ERROR,
|
|
180
253
|
message: 'Payment processing failed',
|
|
181
254
|
},
|
|
182
255
|
});
|
|
@@ -185,14 +258,16 @@ export class ApplePayService {
|
|
|
185
258
|
catch (error) {
|
|
186
259
|
console.error('=== PAYMENT PROCESSING ERROR ===');
|
|
187
260
|
console.error('Error processing payment:', error);
|
|
188
|
-
|
|
261
|
+
if (error && error.stack) {
|
|
262
|
+
console.error('Error stack:', error.stack);
|
|
263
|
+
}
|
|
189
264
|
this.currentSession.completePayment({
|
|
190
265
|
status: ApplePaySessionStatus.STATUS_FAILURE,
|
|
191
266
|
});
|
|
192
267
|
reject({
|
|
193
268
|
success: false,
|
|
194
269
|
error: {
|
|
195
|
-
code:
|
|
270
|
+
code: ApplePayServiceErrorCode.PAYMENT_PROCESSING_ERROR,
|
|
196
271
|
message: error instanceof Error
|
|
197
272
|
? error.message
|
|
198
273
|
: 'Payment processing failed',
|
|
@@ -200,31 +275,40 @@ export class ApplePayService {
|
|
|
200
275
|
});
|
|
201
276
|
}
|
|
202
277
|
finally {
|
|
278
|
+
console.log('[ApplePayService] Cleaning up session state');
|
|
203
279
|
this.currentSession = undefined;
|
|
204
280
|
this.currentPaymentRequest = undefined;
|
|
205
281
|
}
|
|
282
|
+
console.groupEnd();
|
|
206
283
|
};
|
|
207
284
|
this.currentSession.onpaymentmethodselected = () => {
|
|
285
|
+
console.groupCollapsed('[ApplePayService] onpaymentmethodselected');
|
|
208
286
|
const paymentUpdate = {
|
|
209
287
|
newTotal: this.currentPaymentRequest.total,
|
|
210
288
|
newLineItems: this.currentPaymentRequest.lineItems || [],
|
|
211
289
|
};
|
|
212
290
|
try {
|
|
213
291
|
this.currentSession.completePaymentMethodSelection(paymentUpdate);
|
|
292
|
+
console.log('[ApplePayService] completePaymentMethodSelection called');
|
|
214
293
|
}
|
|
215
294
|
catch (error) {
|
|
216
295
|
console.error('Error completing payment method selection:', error);
|
|
217
296
|
this.currentSession.abort();
|
|
218
297
|
}
|
|
298
|
+
console.groupEnd();
|
|
219
299
|
};
|
|
220
300
|
this.currentSession.onshippingmethodselected = () => {
|
|
301
|
+
console.groupCollapsed('[ApplePayService] onshippingmethodselected');
|
|
221
302
|
this.currentSession.completeShippingMethodSelection({
|
|
222
303
|
status: ApplePaySessionStatus.STATUS_SUCCESS,
|
|
223
304
|
newTotal: this.currentPaymentRequest.total,
|
|
224
305
|
newLineItems: this.currentPaymentRequest.lineItems || [],
|
|
225
306
|
});
|
|
307
|
+
console.log('[ApplePayService] completeShippingMethodSelection called');
|
|
308
|
+
console.groupEnd();
|
|
226
309
|
};
|
|
227
310
|
this.currentSession.oncancel = (event) => {
|
|
311
|
+
console.groupCollapsed('[ApplePayService] oncancel');
|
|
228
312
|
if (event.sessionError) {
|
|
229
313
|
console.error(event.sessionError);
|
|
230
314
|
switch (event.sessionError.code) {
|
|
@@ -251,13 +335,15 @@ export class ApplePayService {
|
|
|
251
335
|
reject({
|
|
252
336
|
success: false,
|
|
253
337
|
error: {
|
|
254
|
-
code:
|
|
338
|
+
code: ApplePayServiceErrorCode.USER_CANCELLED,
|
|
255
339
|
message: 'User cancelled the Apple Pay session',
|
|
256
340
|
},
|
|
257
341
|
});
|
|
342
|
+
console.groupEnd();
|
|
258
343
|
};
|
|
259
344
|
if ('onerror' in this.currentSession) {
|
|
260
345
|
this.currentSession.onerror = (error) => {
|
|
346
|
+
console.groupCollapsed('[ApplePayService] onerror');
|
|
261
347
|
console.error('=== APPLE PAY SESSION ERROR ===');
|
|
262
348
|
console.error('Session error:', error);
|
|
263
349
|
this.currentSession = undefined;
|
|
@@ -265,10 +351,11 @@ export class ApplePayService {
|
|
|
265
351
|
reject({
|
|
266
352
|
success: false,
|
|
267
353
|
error: {
|
|
268
|
-
code:
|
|
354
|
+
code: ApplePayServiceErrorCode.SESSION_ERROR,
|
|
269
355
|
message: 'Apple Pay session error occurred',
|
|
270
356
|
},
|
|
271
357
|
});
|
|
358
|
+
console.groupEnd();
|
|
272
359
|
};
|
|
273
360
|
}
|
|
274
361
|
}
|
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
"components/modular-checkout/sub-components/card-billing-form-simple.js",
|
|
51
51
|
"components/modular-checkout/sub-components/bank-account-billing-form-simple.js",
|
|
52
52
|
"components/checkout/card-form/card-form.js",
|
|
53
|
+
"ui-components/form/form-control-checkbox.js",
|
|
53
54
|
"components/checkouts-list/checkouts-list-core.js",
|
|
54
55
|
"components/checkouts-list/checkouts-list-filters.js",
|
|
55
56
|
"components/checkouts-list/checkouts-list.js",
|
|
@@ -105,7 +106,6 @@
|
|
|
105
106
|
"components/terminals-list/terminals-list.js",
|
|
106
107
|
"components/tokenize-payment-method/tokenize-payment-method.js",
|
|
107
108
|
"ui-components/custom-popper/custom-popper.js",
|
|
108
|
-
"ui-components/form/form-control-checkbox.js",
|
|
109
109
|
"ui-components/form/form-control-file-v2.js",
|
|
110
110
|
"ui-components/form/form-control-file.js",
|
|
111
111
|
"ui-components/form/form-control-monetary.js",
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
],
|
|
126
126
|
"compiler": {
|
|
127
127
|
"name": "@stencil/core",
|
|
128
|
-
"version": "4.
|
|
128
|
+
"version": "4.37.0",
|
|
129
129
|
"typescriptVersion": "5.5.4"
|
|
130
130
|
},
|
|
131
131
|
"collections": [],
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
import BankAccountFormSkeleton from "./bank-account-form-skeleton";
|
|
3
3
|
import { configState, waitForConfig } from "../../config-provider/config-state";
|
|
4
|
+
import { generateTabId } from "../../../utils/utils";
|
|
4
5
|
export class BankAccountForm {
|
|
5
6
|
constructor() {
|
|
6
7
|
this.isReady = false;
|
|
@@ -8,6 +9,7 @@ export class BankAccountForm {
|
|
|
8
9
|
async componentWillLoad() {
|
|
9
10
|
await waitForConfig();
|
|
10
11
|
this.iframeOrigin = configState.iframeOrigin;
|
|
12
|
+
this.tabId = generateTabId();
|
|
11
13
|
}
|
|
12
14
|
componentDidRender() {
|
|
13
15
|
const elements = [
|
|
@@ -31,16 +33,17 @@ export class BankAccountForm {
|
|
|
31
33
|
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
32
34
|
}
|
|
33
35
|
render() {
|
|
34
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: '7ee7c6e3c26ab1a90bdbf7215fe13f65aade1025' }, h(BankAccountFormSkeleton, { key: 'e4afc94a21b041972d031cfce88a102f763932d1', isReady: this.isReady }), h("div", { key: '8980e0dc0048dbd9cd93a4f93fab8c4cbfeef611', class: "container-fluid p-0", style: {
|
|
35
37
|
opacity: this.isReady ? '1' : '0',
|
|
36
38
|
height: this.isReady ? 'auto' : '0',
|
|
37
|
-
} }, h("div", { key: '
|
|
39
|
+
} }, h("div", { key: 'd04bb6b18498de9646ba6e2ee32f223774a72cc7', class: "row mb-3" }, h("iframe-input", { key: '7eb29da8beff34cbe5d2b7c151fec433d17f8555', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber?tabId=${this.tabId}` })), h("div", { key: 'c6345cddc37cbe5627ca4581fb98be55b85550a6', class: "row" }, h("iframe-input", { key: '0bf71a22e9126e04f15f213d84953ccfd3388ef0', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber?tabId=${this.tabId}` })))));
|
|
38
40
|
}
|
|
39
41
|
static get is() { return "bank-account-form"; }
|
|
40
42
|
static get states() {
|
|
41
43
|
return {
|
|
42
44
|
"isReady": {},
|
|
43
|
-
"iframeOrigin": {}
|
|
45
|
+
"iframeOrigin": {},
|
|
46
|
+
"tabId": {}
|
|
44
47
|
};
|
|
45
48
|
}
|
|
46
49
|
static get methods() {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
import CardFormSkeleton from "./card-form-skeleton";
|
|
3
3
|
import { configState, waitForConfig } from "../../config-provider/config-state";
|
|
4
|
+
import { generateTabId } from "../../../utils/utils";
|
|
4
5
|
export class CardForm {
|
|
5
6
|
constructor() {
|
|
6
7
|
this.isReady = false;
|
|
@@ -8,6 +9,7 @@ export class CardForm {
|
|
|
8
9
|
async componentWillLoad() {
|
|
9
10
|
await waitForConfig();
|
|
10
11
|
this.iframeOrigin = configState.iframeOrigin;
|
|
12
|
+
this.tabId = generateTabId();
|
|
11
13
|
}
|
|
12
14
|
componentDidRender() {
|
|
13
15
|
const elements = [
|
|
@@ -35,16 +37,17 @@ export class CardForm {
|
|
|
35
37
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
36
38
|
}
|
|
37
39
|
render() {
|
|
38
|
-
return (h(Host, { key: '
|
|
40
|
+
return (h(Host, { key: '8a6454e0a16e0a26762627f7a42527ab243c1c7a' }, h(CardFormSkeleton, { key: 'ed7386f746518e1ebb62d1bf9bc2e98778d9804e', isReady: this.isReady }), h("div", { key: 'f3092bcce1626f04a079ebcf64f0cdf06a7029a8', class: "container-fluid p-0", style: {
|
|
39
41
|
opacity: this.isReady ? '1' : '0',
|
|
40
42
|
height: this.isReady ? 'auto' : '0',
|
|
41
|
-
} }, h("div", { key: '
|
|
43
|
+
} }, h("div", { key: '3e211e500bef824aff5b6bf6cdedc99435cacfd4', class: "mb-3" }, h("iframe-input", { key: '6ad14a317fd6cad6d6535ba661684e31c325c5ab', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber?tabId=${this.tabId}` })), h("div", { key: '931e9f1b047ff57c2b37bb2947e29f6708f239d9', class: "d-flex align-items-start" }, h("div", { key: '5ca19fbf9047bd6595557890b0bdbbf0d2e65de9', class: "flex-fill me-3" }, h("iframe-input", { key: 'c99f426b77308b15fcb174e8adbe8c120abc58b5', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Exp. Month", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth?tabId=${this.tabId}` })), h("div", { key: '677b8fb8f33a021afda90a8b4e13b5f44b5fe694', class: "flex-fill me-3" }, h("iframe-input", { key: '9bcf91464c5f2ca77b339f2fe299db6027aa9f8b', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "Exp. Year", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear?tabId=${this.tabId}` })), h("div", { key: '9b5c52d9cc5b30eedf522801c3f8f6c0530757ce', class: "flex-fill" }, h("iframe-input", { key: '3e73df1c7119193a239fcd2f5212967e109cff83', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV?tabId=${this.tabId}` }))))));
|
|
42
44
|
}
|
|
43
45
|
static get is() { return "card-form"; }
|
|
44
46
|
static get states() {
|
|
45
47
|
return {
|
|
46
48
|
"isReady": {},
|
|
47
|
-
"iframeOrigin": {}
|
|
49
|
+
"iframeOrigin": {},
|
|
50
|
+
"tabId": {}
|
|
48
51
|
};
|
|
49
52
|
}
|
|
50
53
|
static get methods() {
|
|
@@ -4,8 +4,10 @@ import { checkPkgVersion } from "../../utils/check-pkg-version";
|
|
|
4
4
|
import { checkoutStore } from "../../store/checkout.store";
|
|
5
5
|
import { checkoutSummary } from "../../styles/parts";
|
|
6
6
|
import { StyledHost } from "../../ui-components";
|
|
7
|
+
import { PAYMENT_METHODS } from "../modular-checkout/ModularCheckout";
|
|
7
8
|
export class Checkout {
|
|
8
9
|
constructor() {
|
|
10
|
+
this.availablePaymentMethods = [];
|
|
9
11
|
this.errorMessage = '';
|
|
10
12
|
this.insuranceToggled = false;
|
|
11
13
|
this.isSubmitting = false; // This is used to prevent multiple submissions and is different from loading state
|
|
@@ -38,6 +40,9 @@ export class Checkout {
|
|
|
38
40
|
checkoutError(_event) {
|
|
39
41
|
this.isSubmitting = false;
|
|
40
42
|
}
|
|
43
|
+
checkoutChanged(event) {
|
|
44
|
+
this.availablePaymentMethods = event.detail.availablePaymentMethodTypes;
|
|
45
|
+
}
|
|
41
46
|
async fillBillingForm(fields) {
|
|
42
47
|
var _a;
|
|
43
48
|
checkoutStore.billingFormFields = fields;
|
|
@@ -65,7 +70,10 @@ export class Checkout {
|
|
|
65
70
|
return !this.disableCreditCard && !this.disableBankAccount;
|
|
66
71
|
}
|
|
67
72
|
render() {
|
|
68
|
-
|
|
73
|
+
var _a, _b;
|
|
74
|
+
return (h(StyledHost, { key: '8967ceca5773c0f5913b893f8b626ef2eb58abe8' }, h("justifi-modular-checkout", { key: '74294e37e359e68601699a543751c0835f074d47', ref: (el) => {
|
|
75
|
+
this.modularCheckoutRef = el;
|
|
76
|
+
}, authToken: this.authToken, checkoutId: this.checkoutId }, h("div", { key: '9daf1561a627f0a84dd7390c7d44ffab15a4a746', class: "row gy-3 jfi-checkout-core" }, h("div", { key: '1f45fa61d3fa5f3e21d3086123aef3137734a363', class: "col-12", part: checkoutSummary }, h("justifi-header", { key: '812d922d688bb5e00eaff3f967350b705454a06c', text: "Summary", level: "h2", class: "fs-5 fw-bold pb-3" }), h("section", { key: '9c8cfe346833339197f3922dcbee7230308064e6' }, h("justifi-checkout-summary", { key: '8b6410ed811ff2793167ab8b21954d6bbb52c3d8' }))), h("div", { key: '87413afe99372a8523b25b8e3fe14b17666328ac', class: "col-12 mt-4" }, h("slot", { key: 'f8342527afd4e86abda3275db447e82f72e13e03', name: "insurance" })), h("div", { key: '97b39e4f03829ea5d1d29b2b1be3066ff4100ac7', class: "col-12 mt-4" }, h("justifi-header", { key: '2b3196519d949d534595767879102951caad5788', text: "Payment", level: "h2", class: "fs-5 fw-bold pb-3" }), this.showPaymentTypeHeader && (h("justifi-header", { key: 'c40bbfddfb990feda4aa75ab4caa38b4376b4a04', text: "Select payment type", level: "h3", class: "fs-6 fw-bold lh-lg" })), h("div", { key: 'c323e2e892985b02a607253355b0b72eb5bfe9e9', class: "d-flex flex-column" }, h("section", { key: 'c85bb72343b256d072a086a4974167d421154023' }, h("div", { key: 'f4cb5c3b7fa4facbff7882b769da2bf9b9d01811' }, h("justifi-saved-payment-methods", { key: '087cbde10cb23af391eb848f53a3732cdd528cd0' }), this.availablePaymentMethods.includes(PAYMENT_METHODS.SEZZLE) && (h("justifi-radio-list-item", { key: '35c7b0484cbec62b115aa8851c8266cd4d39b2b6', name: "paymentMethodType", value: PAYMENT_METHODS.SEZZLE, checked: ((_a = checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.selectedPaymentMethod) === null || _a === void 0 ? void 0 : _a.type) === PAYMENT_METHODS.SEZZLE, label: h("justifi-sezzle-payment-method", { ref: (el) => (this.sezzlePaymentMethodRef = el) }), "onRadio-click": () => { var _a; (_a = this.sezzlePaymentMethodRef) === null || _a === void 0 ? void 0 : _a.handleSelectionClick(); } })), this.availablePaymentMethods.includes(PAYMENT_METHODS.PLAID) && (h("justifi-radio-list-item", { key: 'a7ec30342cbb3453b460e72d60a1c726e3a3efa3', name: "paymentMethodType", value: PAYMENT_METHODS.PLAID, checked: ((_b = checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.selectedPaymentMethod) === null || _b === void 0 ? void 0 : _b.type) === PAYMENT_METHODS.PLAID, label: h("justifi-plaid-payment-method", { ref: (el) => (this.plaidPaymentMethodRef = el) }), "onRadio-click": () => { var _a; (_a = this.plaidPaymentMethodRef) === null || _a === void 0 ? void 0 : _a.handleSelectionClick(); } })), h("justifi-tokenize-payment-method", { key: '590b2085e9aee9a06f5ee1755aeeb41aa3448699', ref: (el) => (this.tokenizePaymentMethodRef = el), authToken: this.authToken, accountId: checkoutStore.accountId, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, hideSubmitButton: true, paymentMethodGroupId: checkoutStore.paymentMethodGroupId }))))), h("div", { key: 'b725e958faa55605e4542f59d461780eeced96fe', class: "mt-4" }, h("justifi-button", { key: '119f7879620fc6dd06517c7a894ec05b60b1d4f8', text: "Pay", type: "submit", variant: "primary", clickHandler: (e) => this.submit(e), disabled: this.isSubmitting, isLoading: this.isSubmitting, customStyle: { width: '100%', textAlign: "center" } }))))));
|
|
69
77
|
}
|
|
70
78
|
static get is() { return "justifi-checkout"; }
|
|
71
79
|
static get properties() {
|
|
@@ -232,6 +240,7 @@ export class Checkout {
|
|
|
232
240
|
}
|
|
233
241
|
static get states() {
|
|
234
242
|
return {
|
|
243
|
+
"availablePaymentMethods": {},
|
|
235
244
|
"checkout": {},
|
|
236
245
|
"complete": {},
|
|
237
246
|
"errorMessage": {},
|
|
@@ -387,6 +396,12 @@ export class Checkout {
|
|
|
387
396
|
"target": undefined,
|
|
388
397
|
"capture": false,
|
|
389
398
|
"passive": false
|
|
399
|
+
}, {
|
|
400
|
+
"name": "checkout-changed",
|
|
401
|
+
"method": "checkoutChanged",
|
|
402
|
+
"target": undefined,
|
|
403
|
+
"capture": false,
|
|
404
|
+
"passive": false
|
|
390
405
|
}];
|
|
391
406
|
}
|
|
392
407
|
}
|
|
@@ -3,6 +3,7 @@ import { StyledHost } from "../../ui-components";
|
|
|
3
3
|
import { checkoutStore } from "../../store/checkout.store";
|
|
4
4
|
export class SaveNewPaymentMethod {
|
|
5
5
|
constructor() {
|
|
6
|
+
this.label = 'Save New Payment Method';
|
|
6
7
|
this.isChecked = false;
|
|
7
8
|
this.handleCheckboxChange = (_name, value) => {
|
|
8
9
|
this.isChecked = value;
|
|
@@ -11,10 +12,34 @@ export class SaveNewPaymentMethod {
|
|
|
11
12
|
};
|
|
12
13
|
}
|
|
13
14
|
render() {
|
|
14
|
-
return (h(StyledHost, { key: '
|
|
15
|
+
return (h(StyledHost, { key: 'c3808f4373067144ded9db353e48fe9cd3df59bc' }, h("form-control-checkbox", { key: '2f104a35497fdc1397c014c4c4ed646f7b389239', label: this.label || 'Save New Payment Method', name: "saveNewPaymentMethod", checked: this.isChecked, inputHandler: this.handleCheckboxChange })));
|
|
15
16
|
}
|
|
16
17
|
static get is() { return "justifi-save-new-payment-method"; }
|
|
17
18
|
static get encapsulation() { return "shadow"; }
|
|
19
|
+
static get properties() {
|
|
20
|
+
return {
|
|
21
|
+
"label": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"attribute": "label",
|
|
24
|
+
"mutable": false,
|
|
25
|
+
"complexType": {
|
|
26
|
+
"original": "string",
|
|
27
|
+
"resolved": "string",
|
|
28
|
+
"references": {}
|
|
29
|
+
},
|
|
30
|
+
"required": false,
|
|
31
|
+
"optional": true,
|
|
32
|
+
"docs": {
|
|
33
|
+
"tags": [],
|
|
34
|
+
"text": ""
|
|
35
|
+
},
|
|
36
|
+
"getter": false,
|
|
37
|
+
"setter": false,
|
|
38
|
+
"reflect": false,
|
|
39
|
+
"defaultValue": "'Save New Payment Method'"
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
}
|
|
18
43
|
static get states() {
|
|
19
44
|
return {
|
|
20
45
|
"isChecked": {}
|
|
@@ -118,7 +118,7 @@ export class CheckoutsListCore {
|
|
|
118
118
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
119
119
|
}
|
|
120
120
|
render() {
|
|
121
|
-
return (h(TableWrapper, { key: '
|
|
121
|
+
return (h(TableWrapper, { key: 'c411d1c3a54fd8a331f0c5cdbae344e231482c0f' }, h(TableComponent, { key: '21774546f3500612497943869017fa7c712dff7e' }, h(TableHead, { key: 'c4e745ead905a393ff1b0cd0fba23db2fcc03ad8' }, h(TableHeadRow, { key: '88063d0baedd1febe0febcab1ccefc512accfd7d' }, this.checkoutsTable.columnData.map((column) => column))), h(TableBody, { key: 'e2534bc13d9e015f127c5396bbe73545d92536b4' }, h(TableLoadingState, { key: '0f0958fa87403652880222365cf7f88dd33335cc', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '588bb80d518892791ed2134dd5405940e7c28db7', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: '219cce1137232c64b7c9188042c4aaca7e0e91b6', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '16978b3be698ceabd1d19b9eaa3f85c01a862b83' }, h(TableFootRow, { key: 'cd26e5b6f03dff77e09dfb4f9962e7601b2e40dc' }, h(TableFootCell, { key: '508008cf682b393549a839453d4b4c2eee1f67a4', colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: '688702c35e666def509ccb77b88b88ddd5e0d58a', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
122
122
|
}
|
|
123
123
|
static get is() { return "checkouts-list-core"; }
|
|
124
124
|
static get properties() {
|
|
@@ -38,7 +38,7 @@ export class CheckoutsListFilters {
|
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
40
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
41
|
-
return (h(StyledHost, { key: '
|
|
41
|
+
return (h(StyledHost, { key: '5474a09b729c816bafb47101dbf5a25aff92eb1b' }, h("table-filters-menu", { key: '92e46a05e67bdf84b74cd644c1b89d0fc4c86af9', params: filterMenuParams, clearParams: clearParams, part: checkoutsListFilterMenu }, h("div", { key: 'd8562876f8a0c1d85caa5a298cccdb1143bd7512', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '4162644cf10861d91a79dc07f845dd21a6c8d6a5', class: "p-2" }, h("form-control-select", { key: '2b13ef4af25f6ac3865f3b0edde91929655537bf', name: "status", label: "Status", options: this.checkoutStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.checkoutStatus || filterParams.status, disabled: !!this.checkoutStatus, part: statusCheckoutsListFilterParam })), h("div", { key: '9aee7f453be147b03a548fe9ea9bd9bcc6a233aa', class: "p-2" }, h("form-control-select", { key: '8f375d5660c3414e5f3796e02694fa46ed761871', name: "payment_mode", label: "Payment Mode", options: this.checkoutPaymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentMode || filterParams.payment_mode, disabled: !!this.paymentMode, part: paymentModeCheckoutsListFilterParam }))))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "justifi-checkouts-list-filters"; }
|
|
44
44
|
static get encapsulation() { return "shadow"; }
|
|
@@ -61,7 +61,7 @@ export class CheckoutsList {
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
render() {
|
|
64
|
-
return (h(StyledHost, { key: '
|
|
64
|
+
return (h(StyledHost, { key: '41bf633467138b6af13b1c02ccf1e1016ec54bfe' }, h("checkouts-list-core", { key: 'cd3ca431258ad73e701fe74612ecdf2c0f2a1bda', getCheckouts: this.getCheckouts, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
65
65
|
}
|
|
66
66
|
static get is() { return "justifi-checkouts-list"; }
|
|
67
67
|
static get encapsulation() { return "shadow"; }
|
|
@@ -46,7 +46,7 @@ export class DisputeManagementCore {
|
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
|
-
return (h("div", { key: '
|
|
49
|
+
return (h("div", { key: 'c85852cbd1169f371eb30ae06b6a2a564a15ece7' }, this.showDisputeResponseForm ? (h("justifi-dispute-response", { disputeId: this.disputeId, disputeResponse: this.dispute.dispute_response, authToken: this.authToken })) : (h("justifi-dispute-notification", { dispute: this.dispute, authToken: this.authToken, isLoading: this.isLoading }))));
|
|
50
50
|
}
|
|
51
51
|
static get is() { return "justifi-dispute-management-core"; }
|
|
52
52
|
static get properties() {
|
|
@@ -43,7 +43,7 @@ export class DisputeManagement {
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return (h("justifi-dispute-management-core", { key: '
|
|
46
|
+
return (h("justifi-dispute-management-core", { key: '4087eb105a046a3cc194d9f25c80fa11298fa0a2', getDispute: this.getDispute, disputeId: this.disputeId, authToken: this.authToken, "onError-event": this.handleErrorEvent }));
|
|
47
47
|
}
|
|
48
48
|
static get is() { return "justifi-dispute-management"; }
|
|
49
49
|
static get properties() {
|
|
@@ -30,7 +30,7 @@ export class DisputeNotification {
|
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
32
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
33
|
-
return (h(StyledHost, { key: '
|
|
33
|
+
return (h(StyledHost, { key: '0f1028825a7a96a06e7219518ffed54bc0db1b2b' }, this.isLoading && (h("div", { key: 'f4b704182a5a7085827854634d38c56423cc2e1b', style: { marginBottom: '8px' } }, h(Skeleton, { key: 'b2062d8b683ab110c26fc30f1600c4500f668d87', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), h(Skeleton, { key: 'b5d2afe1fdd2e5ee0ec60048a48778bcfa6c78d3', height: '18px', styles: { marginBottom: '8px' } }), h(Skeleton, { key: '1e87c8936b3f2e26e680786927c5a4609aca0b83', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && (h("div", { key: '49090493e3921353b7a830397795496bb234d112', part: text }, h("h1", { key: 'fd7b56a7cfeaa6820bf2cc121575314d075b5a83', class: "h4", part: heading4 }, "This payment is disputed"), h("p", { key: '72ba296695928baca8f7c5c3b1f858c596efedb2' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), h("h2", { key: 'cce733ff1bbca7a9530a442035cbae2995e018e7', class: "h5" }, "Dispute details"), h("div", { key: '28b7f081e345112d99c52d05f205734995617253', class: "d-table gap-2" }, h("div", { key: 'd9476d8d0adfa3c6eccad229e94cd3824a720c7d', class: "d-table-row gap-2" }, h("span", { key: '4d9e0714eee778c326ee1d70a32f79d90d3d4b09', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), h("span", { key: 'b227edcf9b4b65b790d8aa98021d2662a12855bc', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, formatCurrency((_b = this.dispute) === null || _b === void 0 ? void 0 : _b.amount))), h("div", { key: 'b1b1cdaac5482f565a6f26af71c0b526b8c19f4e', class: "d-table-row gap-2" }, h("span", { key: '0a479a9de96cce6e42bec90a17affe2c93ced44f', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), h("span", { key: '5d5020dda571f4465e2a358880ad5f20bc6171ea', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_c = this.dispute) === null || _c === void 0 ? void 0 : _c.reason)), h("div", { key: 'a5f42c3fcbb5d14f8479d0a576d31a50f8fc6441', class: "d-table-row gap-2" }, h("span", { key: '280fca5a101eb0e823eb9ccc13c746ac7ed62069', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Dispute ID"), h("span", { key: '4dfc0b9a295ffc804b708d3590358256009e5376', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_d = this.dispute) === null || _d === void 0 ? void 0 : _d.id))), h("div", { key: '654e7baccd08628bc90d050bad108011b49f9972', class: "d-flex gap-2 mt-4 justify-content-end" }, h(Button, { key: 'd0817cdb23bf33086c6ce5122f4ed5388027d96c', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), h(Button, { key: '5446bef44a0ca747692d59fd5490409d00a9e285', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_e = this.dispute) === null || _e === void 0 ? void 0 : _e.underReview) && (h("div", { key: '17fbc5902badc4230c5485b326f480180c844768' }, h("h1", { key: 'fefa0234306588d9e7f56733872bf8c9793f51dd', class: "h4" }, "This payment is disputed and under review"), h("p", { key: 'eaad72aa8d9f65ca296379a2800180878ec8a7e5' }, "The cardholder is disputing this payment. A counter dispute has been submitted and is under review."))), ((_f = this.dispute) === null || _f === void 0 ? void 0 : _f.won) && (h("div", { key: 'ec1b0d728a7518f913c2a69976fa1f5fc8f76c74' }, h("h1", { key: '9d42fad15fbeee507e2f364c3a35f143ff7599e2', class: "h4" }, "This payment was disputed"), h("p", { key: '3b728a5544fe17a6c58c12f7e8eef290022945b6' }, "The cardholder disputed this payment and the card issuer has settled it in your favor."))), ((_g = this.dispute) === null || _g === void 0 ? void 0 : _g.lost) && (h("div", { key: '6d1813508a657265546fbef00bd1e8f46ffaf740' }, h("h1", { key: 'de981fc2e06e860f47146647975965a903a39b55', class: "h4" }, "This payment was disputed"), h("p", { key: '4e57ab86518bd678a3a5402b712d40d573b3a970' }, "The cardholder disputed this payment and the card issuer has settled it in their favor.")))));
|
|
34
34
|
}
|
|
35
35
|
static get is() { return "justifi-dispute-notification"; }
|
|
36
36
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/dispute-management/dispute-response/additional-statement.js
CHANGED
|
@@ -29,7 +29,7 @@ export class AdditionalStatement {
|
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
31
|
var _a, _b;
|
|
32
|
-
return (h("div", { key: '
|
|
32
|
+
return (h("div", { key: '4d0fbca80a880577be7853efc494807d7d1e2fd9' }, h("div", { key: '6c3a82afe01b0812807a8e19dc750d4e9901876a', class: "row gy-3" }, h("div", { key: '89e7f50b0c6d67249b892caf8c6b2d78c1742309', class: "col-12" }, h("h2", { key: 'e0c4db3f5330cdd0e00897da0a54b898f0056f93', class: "h5", part: heading5 }, "Additional Evidence")), h("div", { key: '58d4506d4bc0470afa4de87fdcf25ce4397d4180', class: "col-12" }, h("form-control-textarea", { key: 'aee641d90803d0ff483cfe75d881e3259303d4bc', label: "Is there anything else you would like to say about this dispute?", name: "additional_statement", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.additional_statement, inputHandler: this.inputHandler, errorText: this.errors.additional_statement })), h("div", { key: '19377eb6382adc9cb69ec57fe7928b7d477110d8', class: "col-12" }, h("form-control-file-v2", { key: '9529de236046398904d4780fcedada3a67ce4daf', 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 })))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "justifi-additional-statement"; }
|
|
35
35
|
static get properties() {
|
package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js
CHANGED
|
@@ -28,7 +28,7 @@ export class CancellationPolicy {
|
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
30
|
var _a, _b, _c;
|
|
31
|
-
return (h("div", { key: '
|
|
31
|
+
return (h("div", { key: 'ac10b9b21d37179211d74118b06f561e95d9ea71' }, h("div", { key: '8ff525f8ed20828ed153b7dc23cb84a0277b81d4', class: "row gy-3" }, h("div", { key: '4f22ed526972a6625dc77b3ab0ab5b074277d7b2', class: "col-12" }, h("h2", { key: 'd78d54468b91edd99238bd757f871b18ec5b58ca', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: '629c9660446cbba8951cd8396d9b72aea71c731b', class: "col-12" }, h("form-control-textarea", { key: '60e0b4903e4ddec6915d23617f215d5d2ea20935', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.cancellation_policy_disclosure, inputHandler: this.inputHandler, errorText: this.errors.cancellation_policy_disclosure })), h("div", { key: 'aec3e4561f880b86ba6f5c7ce0298e45b837c2fd', class: "col-12" }, h("form-control-textarea", { key: 'e77d126709037cb22e6e4fcf2228652ffeb672ee', label: "Cancellation Rebuttal", name: "cancellation_rebuttal", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.cancellation_rebuttal, inputHandler: this.inputHandler, errorText: this.errors.cancellation_rebuttal })), h("div", { key: '407c071a0f7a1e488eb2ef4d522e515138a5ed2c', class: "col-12" }, h("form-control-file-v2", { key: '15dfacd8e1de439848d12ecec9a0f5ffac259484', 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 })))));
|
|
32
32
|
}
|
|
33
33
|
static get is() { return "justifi-cancellation-policy"; }
|
|
34
34
|
static get properties() {
|
|
@@ -28,7 +28,7 @@ export class CustomerDetails {
|
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
30
|
var _a, _b, _c, _d, _e;
|
|
31
|
-
return (h("div", { key: '
|
|
31
|
+
return (h("div", { key: 'e09402d1c3ca9bb8f3a243c22bec2e9d908d661f' }, h("div", { key: '67a1038f92a9a9711ca37d353af7a06b87cbe0a8', class: "row gy-3" }, h("div", { key: '1be2249539c434bf3faf847b4202ff2f421d15a3', class: "col-12" }, h("h2", { key: '17d8bc1b31dfa77f08500ff4029f572049d9e1ce', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: '3e218b39c8f5dab178cc8b23caf403e1a912694c', class: "col-12" }, h("form-control-text", { key: 'ab28a2176315c3ecd1ff984a599589a81375f4e0', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), h("div", { key: 'e1739728748de575e39f29018cd1139d75232611', class: "col-12" }, h("form-control-text", { key: '9f2aec120b08ac793be93f9c990d81a74c9e57d2', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), h("div", { key: '9be7e4a85edfc9bc95e8ede96ebc81f4777f1cdb', class: "col-12" }, h("form-control-textarea", { key: '100e419cc2064509aaa03c76e2898fc7df85e950', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), h("div", { key: '94da95bb013738aefb17088203ee14e07f159ae0', class: "col-12" }, h("form-control-file-v2", { key: '1ab77a12a715fbb82c0bc1c9f9081e54fd3fef0e', label: "Customer Signature", name: "customer_signature", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.customer_signature })), h("div", { key: '88eed9387758b86332137fa64b4e3b3c5825d908', class: "col-12" }, h("form-control-file-v2", { key: '0b654ffcf253c639b07ffe03450a87550caaa75a', 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 })))));
|
|
32
32
|
}
|
|
33
33
|
static get is() { return "justifi-customer-details"; }
|
|
34
34
|
static get properties() {
|