@justifi/webcomponents 5.7.2 → 5.7.3-rc-02
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-Dp4CW5K6.js → Api-BTdkb3Zh.js} +1 -1
- package/dist/cjs/{Checkout-TZnRz3-3.js → Checkout-BTgAlgVL.js} +4 -6
- package/dist/cjs/{ComponentError-C4MdBBMe.js → ComponentError-CEv9ltwy.js} +2 -0
- package/dist/cjs/{Document-Qt0qiXeh.js → Payment-D5UynU2f.js} +0 -56
- package/dist/cjs/{Refund-BDFOEJv_.js → Refund-BFE-2OxN.js} +56 -0
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
- package/dist/cjs/{badge-BxoJOyTJ.js → badge-sO_Hcamo.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +12 -12
- package/dist/cjs/bank-account-form.cjs.entry.js +63 -0
- package/dist/cjs/{business-additional-questions-schema-JlysTRE3.js → business-additional-questions-schema-e3GCIHk5.js} +1 -1
- package/dist/cjs/business-details-core.cjs.entry.js +4 -4
- package/dist/cjs/{business-identity-schema-BksYFWls.js → business-identity-schema-Diqj_WVQ.js} +1 -1
- package/dist/cjs/{business.service-DMIMZpx4.js → business.service-DNoCHqtI.js} +5 -5
- package/dist/cjs/{button-BPFSRx4d.js → button-CCZd8WSY.js} +1 -1
- package/dist/cjs/card-form.cjs.entry.js +71 -0
- package/dist/cjs/{check-pkg-version-hqYwYpQq.js → check-pkg-version-CgQ8N_ta.js} +6 -6
- package/dist/cjs/checkout-actions-CRbQgLn0.js +61 -0
- package/dist/cjs/{checkout.service-DKH8NODe.js → checkout.service-C3R0uykH.js} +5 -5
- package/dist/cjs/checkout.store-osqdxFMq.js +29 -0
- package/dist/cjs/checkouts-list-core.cjs.entry.js +13 -13
- package/dist/cjs/{checkouts-list-params-state-BvG5Ysrg.js → checkouts-list-params-state-fVsfZZ5G.js} +1 -1
- package/dist/cjs/{checkouts-table-Cj2iSB_P.js → checkouts-table-C1Jv_A7m.js} +2 -2
- package/dist/cjs/{config-state-D7p-XunE.js → config-state-BTfJl-LU.js} +1 -1
- package/dist/cjs/{custom-popper_4.cjs.entry.js → custom-popper_2.cjs.entry.js} +3 -103
- package/dist/cjs/{dispute.service-8j6tLV4i.js → dispute.service-CaA-mq-i.js} +5 -5
- 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-D9XDyFoW.js → form-control-error-text-DPDsFdAT.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
- package/dist/cjs/{form-control-help-text-J_boqSMc.js → form-control-help-text-CT5HzEnX.js} +1 -1
- package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +3 -3
- package/dist/cjs/form-control-monetary.cjs.entry.js +5 -5
- package/dist/cjs/form-control-number-masked_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 +105 -0
- package/dist/cjs/{get-business-BJrtsomz.js → get-business-BiEc-jdH.js} +2 -2
- package/dist/cjs/{get-payment-details-MM1u5jMc.js → get-payment-details-CnPsEZA8.js} +7 -7
- package/dist/cjs/{get-payout-csv-CXEQkjDm.js → get-payout-csv-CdNRRH0t.js} +2 -2
- package/dist/cjs/{get-subaccounts-CkjWYxIU.js → get-subaccounts-CgOAdXG4.js} +7 -7
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +4 -4
- package/dist/cjs/{header-1-auSUfIpO.js → header-1--wdCXxjA.js} +1 -1
- package/dist/cjs/{header-3-B-bXHCpC.js → header-3-DxUQJ7TT.js} +1 -1
- package/dist/cjs/{iframe-input.cjs.entry.js → hidden-input_2.cjs.entry.js} +112 -15
- package/dist/cjs/{index-BYd8IvAa.js → index-2GwnTbNA.js} +22 -4
- package/dist/cjs/{index-B8ljHEN1.js → index-DEMVrrsF.js} +1 -1
- package/dist/cjs/{insurance-state-CFxbKNWH.js → insurance-state-BmAF1Sef.js} +2 -2
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +48 -21
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +12 -12
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +9 -9
- package/dist/cjs/justifi-bank-account-form_4.cjs.entry.js +234 -0
- package/dist/cjs/justifi-billing-information-form_2.cjs.entry.js +103 -0
- package/dist/cjs/justifi-business-details.cjs.entry.js +14 -14
- package/dist/cjs/justifi-business-form.cjs.entry.js +20 -20
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +9 -9
- package/dist/cjs/justifi-checkout-summary_2.cjs.entry.js +217 -0
- package/dist/cjs/justifi-checkout.cjs.entry.js +100 -99
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +10 -10
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +17 -17
- 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 +13 -13
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +18 -18
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +12 -12
- package/dist/cjs/justifi-new-payment-method.cjs.entry.js +99 -0
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +17 -17
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +14 -14
- package/dist/cjs/justifi-payment-details.cjs.entry.js +14 -14
- package/dist/cjs/justifi-payment-method-options_3.cjs.entry.js +166 -0
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +13 -13
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +16 -16
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payments-list.cjs.entry.js +18 -18
- package/dist/cjs/justifi-payout-details.cjs.entry.js +14 -14
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +16 -16
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +19 -19
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +16 -16
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +32 -0
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +7 -7
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +19 -21
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +11 -11
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +15 -15
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +10 -10
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +17 -17
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +20 -13
- package/dist/cjs/loader.cjs.js +3 -4
- package/dist/cjs/{package-BCOEGxFC.js → package-wSbEFwqE.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +14 -14
- package/dist/cjs/payment-method-option-utils-imuSE7KV.js +25 -0
- package/dist/cjs/{payment-provisioning-actions-BkWSDJQQ.js → payment-provisioning-actions-SNMCdsyF.js} +2 -2
- package/dist/cjs/{payment.service-CCxGhTwZ.js → payment.service-C-HKmIG6.js} +5 -5
- package/dist/cjs/payments-list-core.cjs.entry.js +14 -14
- package/dist/cjs/{payments-list-params-state-BvG5Ysrg.js → payments-list-params-state-fVsfZZ5G.js} +1 -1
- package/dist/cjs/{payments-status-BTykBx8i.js → payments-status-DPqU5v9h.js} +2 -2
- package/dist/cjs/{payments-table-BR97ybd6.js → payments-table-BM3AoAJf.js} +2 -2
- package/dist/cjs/payout-details-core.cjs.entry.js +10 -10
- package/dist/cjs/{payout.service-CtphIhUK.js → payout.service-BHU3EPR2.js} +5 -5
- package/dist/cjs/payouts-list-core.cjs.entry.js +14 -14
- package/dist/cjs/{payouts-list-params-state-BvG5Ysrg.js → payouts-list-params-state-fVsfZZ5G.js} +1 -1
- package/dist/cjs/{payouts-status-YCqmbd4K.js → payouts-status-CU8aqIhH.js} +2 -2
- package/dist/cjs/{payouts-table-DMcQiC1g.js → payouts-table-1HL4kk9B.js} +2 -2
- package/dist/cjs/{schema-validations-BUor-ySb.js → schema-validations-BSeMee-o.js} +0 -23
- package/dist/cjs/{skeleton-aMh0RMHq.js → skeleton-ByLavxr1.js} +1 -1
- package/dist/cjs/{spinner-BTyIjlMM.js → spinner-DOC4Ab7M.js} +1 -1
- package/dist/cjs/{styled-host-udkBJV5h.js → styled-host-IMxk64cc.js} +1 -1
- package/dist/cjs/{table-DKVauFHc.js → table-BgQP2M2-.js} +2 -2
- package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +13 -13
- package/dist/cjs/{terminal-orders-list-params-state-BvG5Ysrg.js → terminal-orders-list-params-state-fVsfZZ5G.js} +1 -1
- package/dist/cjs/{terminal-orders-table-D-CLcZws.js → terminal-orders-table-C3KZTeE5.js} +7 -7
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
- package/dist/cjs/{terminal.service-Dv_WJkue.js → terminal.service-Bc1YJWi0.js} +5 -5
- package/dist/cjs/terminals-list-core.cjs.entry.js +13 -13
- package/dist/cjs/terminals-list-params-state-fVsfZZ5G.js +22 -0
- package/dist/cjs/{terminals-table-BEJ6sF7w.js → terminals-table-yRGsrfBw.js} +2 -2
- package/dist/cjs/{utils-l0veqT9y.js → utils-IGCnjtqc.js} +1 -1
- package/dist/cjs/{utils-5lco6NzU.js → utils-bn0fXuc-.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +4 -5
- package/dist/collection/api/BillingInformation.js +1 -0
- package/dist/collection/api/Checkout.js +1 -3
- package/dist/collection/api/ComponentError.js +2 -0
- package/dist/collection/api/PaymentMethod.js +1 -0
- package/dist/collection/collection-manifest.json +9 -2
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +1 -1
- package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +36 -8
- package/dist/collection/components/business-forms/schemas/schema-validations.js +1 -47
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
- package/dist/collection/components/checkout/billing-form/billing-form.js +2 -5
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/checkout.js +109 -35
- package/dist/collection/components/checkout/new-payment-method.js +2 -2
- package/dist/collection/components/checkout/payment-method-options.js +18 -37
- 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 +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/insurance/season-interruption/season-interruption-insurance-core.js +2 -2
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +10 -13
- package/dist/collection/components/modular-checkout/modular-checkout.js +345 -0
- package/dist/collection/components/modular-checkout-parts/bank-account-skeleton.js +10 -0
- package/dist/collection/components/modular-checkout-parts/bank-account.js +119 -0
- package/dist/collection/components/modular-checkout-parts/billing-form-schema.js +21 -0
- package/dist/collection/components/modular-checkout-parts/billing-form.js +116 -0
- package/dist/collection/components/modular-checkout-parts/card-form-skeleton.js +10 -0
- package/dist/collection/components/modular-checkout-parts/card-form.js +123 -0
- package/dist/collection/components/modular-checkout-parts/postal-code-form.js +114 -0
- package/dist/collection/components/modular-checkout-parts/saved-payment-methods.js +23 -0
- package/dist/collection/components/modular-checkout-parts/sezzle-payment-method.js +127 -0
- package/dist/collection/components/modular-checkout-parts/summary.js +12 -0
- 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 +10 -3
- package/dist/collection/store/checkout.store.js +25 -0
- 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 +2 -2
- package/dist/collection/ui-components/form/form-control-select.js +2 -2
- package/dist/collection/ui-components/form/form-control-text.js +2 -2
- package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +10 -5
- package/dist/docs.json +1239 -454
- package/dist/esm/{Api-cgKcLG0y.js → Api-CqimcNgb.js} +2 -2
- package/dist/esm/{Checkout-B9LrTq63.js → Checkout-CH19cJxH.js} +5 -7
- package/dist/esm/{ComponentError-SdntD1xf.js → ComponentError-BhrFjjAs.js} +2 -0
- package/dist/esm/{Dispute-BH0Xfn-F.js → Dispute-7MWRbTXI.js} +1 -1
- package/dist/esm/{Document-DvWsQBM6.js → Payment-BEvE6jAC.js} +3 -57
- package/dist/esm/{Refund-zZewCvey.js → Refund-BKe90wSq.js} +56 -2
- package/dist/esm/additional-questions-details_5.entry.js +4 -4
- package/dist/esm/{badge-Du9GTXoB.js → badge-BoemLewg.js} +2 -2
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +14 -14
- package/dist/esm/bank-account-form.entry.js +61 -0
- package/dist/esm/{business-additional-questions-schema-CBUm3D7O.js → business-additional-questions-schema-uQlQ8fXQ.js} +1 -1
- package/dist/esm/business-details-core.entry.js +5 -5
- package/dist/esm/{business-identity-schema-CntGz8jo.js → business-identity-schema-BsrgqgDl.js} +1 -1
- package/dist/esm/{business.service-BWivPbyO.js → business.service-wY8gOZQr.js} +6 -6
- package/dist/esm/{button-CjH5C0pG.js → button-BcLzheaP.js} +2 -2
- package/dist/esm/card-form.entry.js +69 -0
- package/dist/esm/{check-pkg-version-BykGn7tx.js → check-pkg-version-BmebRZ4u.js} +7 -7
- package/dist/esm/checkout-actions-UQ6g1s7I.js +58 -0
- package/dist/esm/{checkout.service-Bh-Q24Cr.js → checkout.service-Ci9Zkxiz.js} +6 -6
- package/dist/esm/checkout.store-DQrlfeus.js +27 -0
- package/dist/esm/checkouts-list-core.entry.js +16 -16
- package/dist/esm/{checkouts-list-params-state-Bn7pL-8x.js → checkouts-list-params-state-DhPyCV-V.js} +1 -1
- package/dist/esm/{checkouts-table-DcVkD83l.js → checkouts-table-ub2cX2KR.js} +4 -4
- package/dist/esm/{config-state-CkKrqnpZ.js → config-state-BjXhUj2q.js} +1 -1
- package/dist/esm/{custom-popper_4.entry.js → custom-popper_2.entry.js} +5 -103
- package/dist/esm/{dispute.service-1AYcALSg.js → dispute.service-D3IjL7Z8.js} +6 -6
- package/dist/esm/form-alert_5.entry.js +2 -2
- package/dist/esm/form-control-checkbox.entry.js +6 -6
- package/dist/esm/form-control-date.entry.js +5 -5
- package/dist/esm/{form-control-error-text-tGFxd6kW.js → form-control-error-text-C4vfc3el.js} +2 -2
- package/dist/esm/form-control-file-v2_2.entry.js +6 -6
- package/dist/esm/{form-control-help-text-2DawN8-N.js → form-control-help-text-Dsr1zpTw.js} +2 -2
- package/dist/esm/form-control-help-text.entry.js +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +4 -4
- package/dist/esm/form-control-monetary.entry.js +7 -7
- package/dist/esm/form-control-number-masked_2.entry.js +5 -5
- package/dist/esm/form-control-number.entry.js +6 -6
- package/dist/esm/form-control-radio.entry.js +4 -4
- package/dist/esm/form-control-select_2.entry.js +102 -0
- package/dist/esm/{get-business-GEPTefIj.js → get-business-BSRtbTh7.js} +2 -2
- package/dist/esm/{get-payment-details-DXhXxFPr.js → get-payment-details-CmVKt1jR.js} +8 -8
- package/dist/esm/{get-payout-csv-D7IYYqVL.js → get-payout-csv-U_pgdPpb.js} +2 -2
- package/dist/esm/{get-subaccounts-CtHj1UM6.js → get-subaccounts-BRX7HFGO.js} +9 -9
- package/dist/esm/gross-payment-chart-core.entry.js +6 -6
- package/dist/esm/{header-1-D2gZb3iT.js → header-1-CmImLcLi.js} +2 -2
- package/dist/esm/{header-3-DAg8Vh4B.js → header-3-BMoxz2Hr.js} +2 -2
- package/dist/esm/{iframe-input.entry.js → hidden-input_2.entry.js} +106 -10
- package/dist/esm/{index-D6FDxSyt.js → index-Bta_r52Z.js} +22 -5
- package/dist/esm/{index-Cc3u0uDC.js → index-Cf8VXyXg.js} +1 -1
- package/dist/esm/{insurance-state-CsZbKSgm.js → insurance-state-DMexHdvO.js} +3 -3
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +50 -23
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +15 -15
- package/dist/esm/justifi-additional-statement_8.entry.js +10 -10
- package/dist/esm/justifi-bank-account-form_4.entry.js +229 -0
- package/dist/esm/justifi-billing-information-form_2.entry.js +100 -0
- package/dist/esm/justifi-business-details.entry.js +17 -17
- package/dist/esm/justifi-business-form.entry.js +23 -23
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
- package/dist/esm/justifi-checkout-core.entry.js +12 -12
- package/dist/esm/justifi-checkout-summary_2.entry.js +214 -0
- package/dist/esm/justifi-checkout.entry.js +101 -100
- package/dist/esm/justifi-checkouts-list-filters.entry.js +13 -13
- package/dist/esm/justifi-checkouts-list.entry.js +21 -21
- package/dist/esm/justifi-config-provider.entry.js +3 -3
- package/dist/esm/justifi-details.entry.js +3 -3
- package/dist/esm/justifi-dispute-management-core.entry.js +3 -3
- package/dist/esm/justifi-dispute-management.entry.js +15 -15
- package/dist/esm/justifi-dispute-notification_3.entry.js +21 -21
- package/dist/esm/justifi-gross-payment-chart.entry.js +15 -15
- package/dist/esm/justifi-new-payment-method.entry.js +97 -0
- package/dist/esm/justifi-order-terminals.entry.js +20 -20
- package/dist/esm/justifi-owner-form_3.entry.js +17 -17
- package/dist/esm/justifi-payment-details.entry.js +17 -17
- package/dist/esm/justifi-payment-method-options_3.entry.js +162 -0
- package/dist/esm/justifi-payment-provisioning-core.entry.js +5 -5
- package/dist/esm/justifi-payment-provisioning.entry.js +15 -15
- package/dist/esm/justifi-payment-transactions-list.entry.js +19 -19
- package/dist/esm/justifi-payments-list-filters.entry.js +8 -8
- package/dist/esm/justifi-payments-list.entry.js +20 -20
- package/dist/esm/justifi-payout-details.entry.js +17 -17
- package/dist/esm/justifi-payout-transactions-list.entry.js +19 -19
- package/dist/esm/justifi-payouts-list-filters.entry.js +8 -8
- package/dist/esm/justifi-payouts-list.entry.js +22 -22
- package/dist/esm/justifi-refund-payment.entry.js +19 -19
- package/dist/esm/justifi-saved-payment-method.entry.js +30 -0
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +9 -9
- package/dist/esm/justifi-season-interruption-insurance.entry.js +21 -23
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +14 -14
- package/dist/esm/justifi-terminal-orders-list.entry.js +18 -18
- package/dist/esm/justifi-terminals-list-filters.entry.js +13 -13
- package/dist/esm/justifi-terminals-list.entry.js +20 -20
- package/dist/esm/justifi-tokenize-payment-method.entry.js +23 -16
- package/dist/esm/loader.js +3 -4
- package/dist/esm/{package-BjMTOtI1.js → package-CJdXAC5R.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +2 -2
- package/dist/esm/{parts-BrLVc_85.js → parts-C71Mxtso.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +16 -16
- package/dist/esm/payment-method-option-utils-8n_ALxec.js +23 -0
- package/dist/esm/{payment-provisioning-actions-BIfyW239.js → payment-provisioning-actions-2qP7AtHj.js} +2 -2
- package/dist/esm/{payment.service-2afJc31y.js → payment.service-ddFQWXPn.js} +6 -6
- package/dist/esm/payments-list-core.entry.js +17 -17
- package/dist/esm/{payments-list-params-state-Bn7pL-8x.js → payments-list-params-state-DhPyCV-V.js} +1 -1
- package/dist/esm/{payments-status-CIUXcA0w.js → payments-status-DvsFQolO.js} +2 -2
- package/dist/esm/{payments-table-B8316Kqz.js → payments-table-CCKeaI5x.js} +4 -4
- package/dist/esm/payout-details-core.entry.js +12 -12
- package/dist/esm/{payout.service-Bd8Tc7-Q.js → payout.service-Ws4Pebcz.js} +6 -6
- package/dist/esm/payouts-list-core.entry.js +17 -17
- package/dist/esm/{payouts-list-params-state-Bn7pL-8x.js → payouts-list-params-state-DhPyCV-V.js} +1 -1
- package/dist/esm/{payouts-status-Clo03qUI.js → payouts-status-BkM4Gvme.js} +2 -2
- package/dist/esm/{payouts-table-Ip10eH4Q.js → payouts-table-CqBOvPOo.js} +4 -4
- package/dist/esm/{schema-validations-C7D5tPzq.js → schema-validations-DLWfpHyI.js} +2 -23
- package/dist/esm/{skeleton-Dlpibtr0.js → skeleton-BVM4XTj9.js} +2 -2
- package/dist/esm/{spinner-onCBxbdo.js → spinner-BsxFRVXW.js} +2 -2
- package/dist/esm/{styled-host-C7vaWLiB.js → styled-host-BSX_LSdk.js} +1 -1
- package/dist/esm/{table-p4dOlFPi.js → table-DxdC1lXb.js} +3 -3
- package/dist/esm/table-filters-menu.entry.js +4 -4
- package/dist/esm/terminal-orders-list-core.entry.js +16 -16
- package/dist/esm/{terminal-orders-list-params-state-Bn7pL-8x.js → terminal-orders-list-params-state-DhPyCV-V.js} +1 -1
- package/dist/esm/{terminal-orders-table-CCJT7oq4.js → terminal-orders-table-DV7nRYuE.js} +10 -10
- package/dist/esm/terminal-quantity-selector.entry.js +3 -3
- package/dist/esm/{terminal.service-8kwGru35.js → terminal.service-DH8gRG1H.js} +6 -6
- package/dist/esm/terminals-list-core.entry.js +16 -16
- package/dist/esm/terminals-list-params-state-DhPyCV-V.js +16 -0
- package/dist/esm/{terminals-table-cMkKUVff.js → terminals-table-DUHel128.js} +4 -4
- package/dist/esm/{utils-BpP_VJGf.js → utils-B-aPFy3u.js} +2 -2
- package/dist/esm/{utils-Dccsn9BY.js → utils-BZvep88z.js} +1 -1
- package/dist/esm/{utils-DB5fh6Iv.js → utils-BjLkBMLe.js} +1 -1
- package/dist/esm/webcomponents.js +4 -5
- package/dist/module/{check-pkg-version.js → Analytics.js} +21 -22
- package/dist/module/Checkout.js +3 -3
- package/dist/module/Refund.js +55 -1
- package/dist/module/additional-statement.js +1 -1
- package/dist/module/bank-account-document-inputs.js +1 -2
- package/dist/module/bank-account-form.js +83 -1
- package/dist/module/{bank-account-form2.js → bank-account.js} +27 -12
- package/dist/module/billing-form-schema.js +24 -0
- package/dist/module/billing-form.js +26 -20
- package/dist/module/billing-form2.js +91 -0
- package/dist/module/business-address-schema.js +1 -1
- package/dist/module/business-bank-account-form-step-core.js +37 -11
- package/dist/module/business-bank-account-form-step.js +0 -1
- package/dist/module/business-core-info-schema.js +1 -1
- package/dist/module/business-identity-schema.js +1 -1
- package/dist/module/business-terms-conditions-form-step.js +1 -2
- package/dist/module/business.service.js +0 -1
- package/dist/module/cancellation-policy.js +1 -1
- package/dist/module/card-form.js +91 -1
- package/dist/module/card-form2.js +30 -15
- package/dist/module/checkout.service.js +0 -1
- package/dist/module/checkout.store.js +27 -0
- package/dist/module/checkouts-list-core2.js +2 -3
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +1 -1
- package/dist/module/dispute-management-core.js +1 -1
- package/dist/module/dispute-notification.js +1 -1
- package/dist/module/dispute-response-actions.js +0 -1
- package/dist/module/dispute-response-core.js +1 -1
- package/dist/module/dispute-response.js +2 -2
- package/dist/module/duplicate-charge.js +1 -1
- package/dist/module/electronic-evidence.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-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/form.js +1 -1
- package/dist/module/get-payment-details.js +0 -1
- package/dist/module/get-subaccounts.js +0 -1
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/header-3.js +8 -0
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/iframe-input2.js +5 -5
- package/dist/module/justifi-bank-account-form.d.ts +11 -0
- package/dist/module/justifi-bank-account-form.js +6 -0
- package/dist/module/justifi-billing-information-form.d.ts +11 -0
- package/dist/module/justifi-billing-information-form.js +6 -0
- package/dist/module/justifi-business-details.js +1 -1
- package/dist/module/justifi-business-form.js +1 -2
- package/dist/module/justifi-card-form.d.ts +11 -0
- package/dist/module/justifi-card-form.js +6 -0
- package/dist/module/justifi-checkout-core.js +201 -1
- package/dist/module/justifi-checkout-summary.d.ts +11 -0
- package/dist/module/justifi-checkout-summary.js +6 -0
- package/dist/module/justifi-checkout.js +112 -168
- package/dist/module/justifi-checkouts-list-filters.js +2 -3
- package/dist/module/justifi-checkouts-list.js +2 -3
- package/dist/module/justifi-dispute-management.js +2 -2
- package/dist/module/justifi-gross-payment-chart.js +1 -2
- package/dist/module/justifi-modular-checkout.d.ts +11 -0
- package/dist/module/justifi-modular-checkout.js +6 -0
- package/dist/module/justifi-new-payment-method.js +214 -1
- package/dist/module/justifi-order-terminals.js +3 -4
- package/dist/module/justifi-payment-details.js +1 -1
- package/dist/module/justifi-payment-provisioning.js +1 -2
- package/dist/module/justifi-payment-transactions-list.js +4 -5
- package/dist/module/justifi-payments-list-filters.js +3 -3
- package/dist/module/justifi-payments-list.js +2 -3
- package/dist/module/justifi-payout-details.js +1 -2
- package/dist/module/justifi-payout-transactions-list.js +4 -5
- package/dist/module/justifi-payouts-list-filters.js +3 -3
- package/dist/module/justifi-payouts-list.js +2 -3
- package/dist/module/justifi-postal-code-form.d.ts +11 -0
- package/dist/module/justifi-postal-code-form.js +6 -0
- package/dist/module/justifi-refund-payment.js +2 -3
- package/dist/module/justifi-saved-payment-method.js +57 -1
- package/dist/module/justifi-saved-payment-methods.d.ts +11 -0
- package/dist/module/justifi-saved-payment-methods.js +6 -0
- package/dist/module/justifi-season-interruption-insurance.js +10 -14
- package/dist/module/justifi-terminal-orders-list-filters.js +3 -4
- package/dist/module/justifi-terminal-orders-list.js +3 -4
- package/dist/module/justifi-terminals-list-filters.js +2 -3
- package/dist/module/justifi-terminals-list.js +3 -4
- package/dist/module/justifi-tokenize-payment-method.js +17 -83
- package/dist/module/modular-checkout.js +269 -0
- package/dist/module/package.js +3 -3
- package/dist/module/parts.js +1 -1
- package/dist/module/payment-details-core2.js +8 -8
- package/dist/module/payment-method-option-utils.js +23 -0
- package/dist/module/payment-method-options.js +22 -112
- package/dist/module/payment.service.js +0 -1
- package/dist/module/payments-list-core2.js +2 -3
- package/dist/module/payout-details-core2.js +3 -3
- package/dist/module/payout.service.js +0 -1
- package/dist/module/payouts-list-core2.js +2 -3
- package/dist/module/postal-code-form.js +83 -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/saved-payment-methods.js +55 -0
- package/dist/module/schema-validations.js +2 -23
- package/dist/module/season-interruption-insurance-core.js +2 -2
- package/dist/module/sezzle-payment-method.js +23 -17
- package/dist/module/shipping-details.js +1 -1
- package/dist/module/summary.js +34 -0
- package/dist/module/table-filters-menu2.js +2 -2
- package/dist/module/terminal-orders-list-core2.js +2 -3
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/terminal.service.js +0 -1
- package/dist/module/terminals-list-core2.js +2 -3
- package/dist/types/api/BillingInformation.d.ts +13 -0
- package/dist/types/api/Checkout.d.ts +14 -13
- package/dist/types/api/ComponentError.d.ts +3 -1
- package/dist/types/api/PaymentMethod.d.ts +21 -0
- package/dist/types/components/business-forms/schemas/schema-validations.d.ts +0 -7
- package/dist/types/components/checkout/checkout.d.ts +20 -9
- package/dist/types/components/checkout/payment-method-options.d.ts +2 -2
- package/dist/types/components/insurance/season-interruption/season-interruption-insurance.d.ts +2 -2
- package/dist/types/components/modular-checkout/modular-checkout.d.ts +31 -0
- package/dist/types/components/modular-checkout-parts/bank-account-skeleton.d.ts +6 -0
- package/dist/types/components/modular-checkout-parts/bank-account.d.ts +18 -0
- package/dist/types/components/modular-checkout-parts/billing-form-schema.d.ts +23 -0
- package/dist/types/components/modular-checkout-parts/billing-form.d.ts +16 -0
- package/dist/types/components/modular-checkout-parts/card-form-skeleton.d.ts +6 -0
- package/dist/types/components/modular-checkout-parts/card-form.d.ts +20 -0
- package/dist/types/components/modular-checkout-parts/postal-code-form.d.ts +16 -0
- package/dist/types/components/modular-checkout-parts/saved-payment-methods.d.ts +5 -0
- package/dist/types/components/{checkout → modular-checkout-parts}/sezzle-payment-method.d.ts +2 -8
- package/dist/types/components/modular-checkout-parts/summary.d.ts +3 -0
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +2 -2
- package/dist/types/components.d.ts +431 -20
- package/dist/types/stencil-public-runtime.d.ts +1 -1
- package/dist/types/store/checkout.store.d.ts +19 -0
- package/dist/types/ui-components/form/iframe-input.d.ts +2 -1
- package/dist/webcomponents/p-07e8c50a.entry.js +1 -0
- package/dist/webcomponents/{p-bf3e8295.entry.js → p-0c13f2da.entry.js} +1 -1
- package/dist/webcomponents/{p-a136ff22.entry.js → p-0d038c74.entry.js} +1 -1
- package/dist/webcomponents/p-0d24f707.entry.js +1 -0
- package/dist/webcomponents/p-0f07e5d2.entry.js +1 -0
- package/dist/webcomponents/{p-5e467788.entry.js → p-114d2d7e.entry.js} +1 -1
- package/dist/webcomponents/p-16c567ac.entry.js +1 -0
- package/dist/webcomponents/{p-b40108c0.entry.js → p-1d59c747.entry.js} +1 -1
- package/dist/webcomponents/p-1debe4fc.entry.js +1 -0
- package/dist/webcomponents/p-1tXUo5Ef.js +1 -0
- package/dist/webcomponents/p-20ac139f.entry.js +1 -0
- package/dist/webcomponents/{p-a8119fda.entry.js → p-28190487.entry.js} +1 -1
- package/dist/webcomponents/{p-4b51a896.entry.js → p-30b1b0d4.entry.js} +1 -1
- package/dist/webcomponents/p-31b3575b.entry.js +1 -0
- package/dist/webcomponents/p-32d41de6.entry.js +1 -0
- package/dist/webcomponents/p-3523e4d2.entry.js +1 -0
- package/dist/webcomponents/p-3c172b0a.entry.js +1 -0
- package/dist/webcomponents/{p-bb50155f.entry.js → p-498ef7fe.entry.js} +1 -1
- package/dist/webcomponents/{p-5df5aa41.entry.js → p-4cdc323c.entry.js} +1 -1
- package/dist/webcomponents/p-54487455.entry.js +1 -0
- package/dist/webcomponents/p-55b2ccd4.entry.js +1 -0
- package/dist/webcomponents/p-56368e10.entry.js +1 -0
- package/dist/webcomponents/{p-7733b67b.entry.js → p-62308de3.entry.js} +1 -1
- package/dist/webcomponents/p-655e9c99.entry.js +1 -0
- package/dist/webcomponents/p-6ae0dad9.entry.js +1 -0
- package/dist/webcomponents/p-6ed72565.entry.js +1 -0
- package/dist/webcomponents/p-7982b38b.entry.js +1 -0
- package/dist/webcomponents/{p-BH0Xfn-F.js → p-7MWRbTXI.js} +1 -1
- package/dist/webcomponents/{p-c01544c3.entry.js → p-7efbe6e6.entry.js} +1 -1
- package/dist/webcomponents/p-803b249d.entry.js +1 -0
- package/dist/webcomponents/p-819c5da9.entry.js +1 -0
- package/dist/webcomponents/p-85b73bd5.entry.js +1 -0
- package/dist/webcomponents/p-8a2d963a.entry.js +1 -0
- package/dist/webcomponents/p-90521984.entry.js +1 -0
- package/dist/webcomponents/{p-a0662195.entry.js → p-93564eb7.entry.js} +1 -1
- package/dist/webcomponents/{p-77896e7b.entry.js → p-95aada97.entry.js} +1 -1
- package/dist/webcomponents/{p-BnE7qgLh.js → p-9REosSLu.js} +1 -1
- package/dist/webcomponents/{p-59abf1de.entry.js → p-9a4b9734.entry.js} +1 -1
- package/dist/webcomponents/p-B1jCcGW-.js +1 -0
- package/dist/webcomponents/{p-DuYlA4lj.js → p-BEDtXmpq.js} +1 -1
- package/dist/webcomponents/{p-D0ptm6-3.js → p-BRvTM0jE.js} +1 -1
- package/dist/webcomponents/{p-clwP6zk3.js → p-BZAglFez.js} +1 -1
- package/dist/webcomponents/{p-DR89sFne.js → p-BdTK0wi9.js} +1 -1
- package/dist/webcomponents/p-BeOlrj_S.js +1 -0
- package/dist/webcomponents/p-BhrFjjAs.js +1 -0
- package/dist/webcomponents/p-BjIcn6FF.js +1 -0
- package/dist/webcomponents/p-BoGb-Wsw.js +1 -0
- package/dist/webcomponents/p-Bta_r52Z.js +2 -0
- package/dist/webcomponents/{p-n2YROtpe.js → p-BvkP2v3x.js} +1 -1
- package/dist/webcomponents/{p-BTS3E50C.js → p-BxfUcCXo.js} +1 -1
- package/dist/webcomponents/{p-BrLVc_85.js → p-C71Mxtso.js} +1 -1
- package/dist/webcomponents/{p-uSM1EMk-.js → p-C8EG4ZSX.js} +1 -1
- package/dist/webcomponents/p-C8rAwXW9.js +1 -0
- package/dist/webcomponents/p-CA9D3qnA.js +1 -0
- package/dist/webcomponents/p-CBs671Ol.js +1 -0
- package/dist/webcomponents/p-CDTncSrX.js +1 -0
- package/dist/webcomponents/p-CFpYbRwn.js +1 -0
- package/dist/webcomponents/p-CGCMYhyV.js +1 -0
- package/dist/webcomponents/p-CJdXAC5R.js +1 -0
- package/dist/webcomponents/{p-r__elyG4.js → p-CO90ONTY.js} +1 -1
- package/dist/webcomponents/p-CbGBEkk3.js +1 -0
- package/dist/webcomponents/p-Cl-Q3cHB.js +1 -0
- package/dist/webcomponents/{p-Cd06j2SL.js → p-D3BIZZrc.js} +1 -1
- package/dist/webcomponents/p-DFPGAF4g.js +1 -0
- package/dist/webcomponents/p-DHP6oxsO.js +1 -0
- package/dist/webcomponents/p-DKClunJd.js +1 -0
- package/dist/webcomponents/{p-DnB1x5JE.js → p-DLr6u3Be.js} +1 -1
- package/dist/webcomponents/p-DT6jDcoi.js +1 -0
- package/dist/webcomponents/p-DX1Drndq.js +1 -0
- package/dist/webcomponents/p-D_FOQEGU.js +1 -0
- package/dist/webcomponents/p-Db-JSm6-.js +1 -0
- package/dist/webcomponents/{p-BR7flk4G.js → p-Dc10zfEZ.js} +1 -1
- package/dist/webcomponents/p-DddGO-XR.js +1 -0
- package/dist/webcomponents/p-DnX5CZFd.js +1 -0
- package/dist/webcomponents/p-Dw516k9e.js +1 -0
- package/dist/webcomponents/p-DwxSNAz7.js +1 -0
- package/dist/webcomponents/p-Fa3dQnb9.js +1 -0
- package/dist/webcomponents/p-IrS5pxMU.js +1 -0
- package/dist/webcomponents/p-JOSiCHl7.js +1 -0
- package/dist/webcomponents/p-NqdaxjDT.js +1 -0
- package/dist/webcomponents/p-RadC5UjV.js +1 -0
- package/dist/webcomponents/p-SuXHDcwL.js +1 -0
- package/dist/webcomponents/{p-D2ZiLcDE.js → p-Yj41tobi.js} +1 -1
- package/dist/webcomponents/{p-DvhDilDP.js → p-_P2I6GdZ.js} +1 -1
- package/dist/webcomponents/{p-70c498d4.entry.js → p-a3245777.entry.js} +1 -1
- package/dist/webcomponents/{p-99b080d9.entry.js → p-a8f1165e.entry.js} +1 -1
- package/dist/webcomponents/p-abcde13f.entry.js +1 -0
- package/dist/webcomponents/p-b0c7f45a.entry.js +1 -0
- package/dist/webcomponents/{p-abdae97a.entry.js → p-b122d960.entry.js} +1 -1
- package/dist/webcomponents/{p-33b23638.entry.js → p-badf50e2.entry.js} +1 -1
- package/dist/webcomponents/p-be676a47.entry.js +1 -0
- package/dist/webcomponents/p-bf9afbe6.entry.js +1 -0
- package/dist/webcomponents/{p-758ce5e5.entry.js → p-c1dabcc9.entry.js} +3 -3
- package/dist/webcomponents/p-c4989fc1.entry.js +1 -0
- package/dist/webcomponents/{p-5d81f36e.entry.js → p-c6f6cca0.entry.js} +1 -1
- package/dist/webcomponents/p-cbfb26e2.entry.js +1 -0
- package/dist/webcomponents/p-cc26a8fa.entry.js +1 -0
- package/dist/webcomponents/p-cc5dfa3d.entry.js +1 -0
- package/dist/webcomponents/{p-2c7ae3ac.entry.js → p-cc7d0b8c.entry.js} +1 -1
- package/dist/webcomponents/p-d039c1ea.entry.js +1 -0
- package/dist/webcomponents/p-d5f95784.entry.js +1 -0
- package/dist/webcomponents/{p-eHhqPyVW.js → p-d6tXI5Iw.js} +1 -1
- package/dist/webcomponents/p-dad85acd.entry.js +1 -0
- package/dist/webcomponents/p-db13afe8.entry.js +1 -0
- package/dist/webcomponents/{p-1678e9e3.entry.js → p-dd5c8738.entry.js} +1 -1
- package/dist/webcomponents/p-e2ac6f48.entry.js +1 -0
- package/dist/webcomponents/p-e2adbafd.entry.js +1 -0
- package/dist/webcomponents/p-ea664ada.entry.js +1 -0
- package/dist/webcomponents/{p-292da2d4.entry.js → p-ea883d7c.entry.js} +1 -1
- package/dist/webcomponents/{p-90c24cda.entry.js → p-ed8eb110.entry.js} +1 -1
- package/dist/webcomponents/{p-57c89023.entry.js → p-f0a849be.entry.js} +1 -1
- package/dist/webcomponents/p-f165c5fc.entry.js +1 -0
- package/dist/webcomponents/{p-a94952f6.entry.js → p-f1dcc9c2.entry.js} +1 -1
- package/dist/webcomponents/{p-10d41e17.entry.js → p-f21e1351.entry.js} +1 -1
- package/dist/webcomponents/p-f2d283e5.entry.js +1 -0
- package/dist/webcomponents/p-f55f054a.entry.js +1 -0
- package/dist/webcomponents/p-f7ae2df8.entry.js +1 -0
- package/dist/webcomponents/p-f7ef66ba.entry.js +1 -0
- package/dist/webcomponents/p-f8750427.entry.js +1 -0
- package/dist/webcomponents/{p-c5628e09.entry.js → p-fa781ff0.entry.js} +1 -1
- package/dist/webcomponents/p-fe5b7b4c.entry.js +1 -0
- package/dist/webcomponents/p-hDoH7hHP.js +1 -0
- package/dist/webcomponents/{p-C0WFYqwq.js → p-kfHhaHAJ.js} +1 -1
- package/dist/webcomponents/p-pGzabKc7.js +1 -0
- package/dist/webcomponents/p-uLUlLQpP.js +1 -0
- package/dist/webcomponents/p-zucQG3cz.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -5
- package/dist/cjs/bank-account-form_9.cjs.entry.js +0 -581
- package/dist/cjs/iframe-input-styles-state-D9vhHzZQ.js +0 -26
- package/dist/cjs/terminals-list-params-state-BvG5Ysrg.js +0 -22
- package/dist/collection/components/checkout/sezzle-payment-method.js +0 -240
- package/dist/esm/app-globals-DQuL1Twl.js +0 -3
- package/dist/esm/bank-account-form_9.entry.js +0 -571
- package/dist/esm/iframe-input-styles-state-ibYqbF--.js +0 -23
- package/dist/esm/terminals-list-params-state-Bn7pL-8x.js +0 -16
- package/dist/module/Document.js +0 -55
- package/dist/module/checkout-core.js +0 -274
- package/dist/module/new-payment-method.js +0 -204
- package/dist/module/saved-payment-method.js +0 -79
- package/dist/webcomponents/p-16d29d0b.entry.js +0 -1
- package/dist/webcomponents/p-19b9c96a.entry.js +0 -1
- package/dist/webcomponents/p-22a0b397.entry.js +0 -1
- package/dist/webcomponents/p-2c8d7aa9.entry.js +0 -1
- package/dist/webcomponents/p-3368d3d5.entry.js +0 -1
- package/dist/webcomponents/p-3a979295.entry.js +0 -1
- package/dist/webcomponents/p-3e94cf62.entry.js +0 -1
- package/dist/webcomponents/p-40f7e3af.entry.js +0 -1
- package/dist/webcomponents/p-4680f931.entry.js +0 -1
- package/dist/webcomponents/p-4a070b7a.entry.js +0 -1
- package/dist/webcomponents/p-4f8b9b99.entry.js +0 -1
- package/dist/webcomponents/p-57fc593a.entry.js +0 -1
- package/dist/webcomponents/p-639baa7d.entry.js +0 -1
- package/dist/webcomponents/p-6429afb4.entry.js +0 -1
- package/dist/webcomponents/p-6n7viK-J.js +0 -1
- package/dist/webcomponents/p-722c5e42.entry.js +0 -1
- package/dist/webcomponents/p-77ac321c.entry.js +0 -1
- package/dist/webcomponents/p-7d3cf734.entry.js +0 -1
- package/dist/webcomponents/p-8183c2d1.entry.js +0 -1
- package/dist/webcomponents/p-8ad67f87.entry.js +0 -1
- package/dist/webcomponents/p-8c107267.entry.js +0 -1
- package/dist/webcomponents/p-935bbc62.entry.js +0 -1
- package/dist/webcomponents/p-93df56e1.entry.js +0 -1
- package/dist/webcomponents/p-B0cQ2RjH.js +0 -1
- package/dist/webcomponents/p-B190pN0v.js +0 -1
- package/dist/webcomponents/p-BjMTOtI1.js +0 -1
- package/dist/webcomponents/p-Bk4gk-f7.js +0 -1
- package/dist/webcomponents/p-C0IqfGFc.js +0 -1
- package/dist/webcomponents/p-C1sOJl-_.js +0 -1
- package/dist/webcomponents/p-C5RuuShs.js +0 -1
- package/dist/webcomponents/p-COcul8pX.js +0 -1
- package/dist/webcomponents/p-CQdeVKF8.js +0 -1
- package/dist/webcomponents/p-CaGOSFHG.js +0 -1
- package/dist/webcomponents/p-CgxzrbM_.js +0 -1
- package/dist/webcomponents/p-Cm_0sqXz.js +0 -1
- package/dist/webcomponents/p-Cs0cIpIm.js +0 -1
- package/dist/webcomponents/p-Cx60eQXT.js +0 -1
- package/dist/webcomponents/p-D4Mv5jCp.js +0 -1
- package/dist/webcomponents/p-D5XSsLKb.js +0 -1
- package/dist/webcomponents/p-D6FDxSyt.js +0 -2
- package/dist/webcomponents/p-DClC2nMO.js +0 -1
- package/dist/webcomponents/p-DDEz7_ad.js +0 -1
- package/dist/webcomponents/p-DJzjeg3x.js +0 -1
- package/dist/webcomponents/p-DQuL1Twl.js +0 -1
- package/dist/webcomponents/p-DgfzEZny.js +0 -1
- package/dist/webcomponents/p-DjGTAHJM.js +0 -1
- package/dist/webcomponents/p-DniQ6yo6.js +0 -1
- package/dist/webcomponents/p-DzFysjCc.js +0 -1
- package/dist/webcomponents/p-HBDBB6lL.js +0 -1
- package/dist/webcomponents/p-SdntD1xf.js +0 -1
- package/dist/webcomponents/p-U30-0DaA.js +0 -1
- package/dist/webcomponents/p-_pH3Hg4P.js +0 -1
- package/dist/webcomponents/p-a33cfcfe.entry.js +0 -1
- package/dist/webcomponents/p-a6722f44.entry.js +0 -1
- package/dist/webcomponents/p-af09b6ee.entry.js +0 -1
- package/dist/webcomponents/p-b0d3aab7.entry.js +0 -1
- package/dist/webcomponents/p-b1586aa2.entry.js +0 -1
- package/dist/webcomponents/p-c3c7be24.entry.js +0 -1
- package/dist/webcomponents/p-c5b6b76f.entry.js +0 -1
- package/dist/webcomponents/p-c6490254.entry.js +0 -1
- package/dist/webcomponents/p-cNABKY0P.js +0 -1
- package/dist/webcomponents/p-ceefc483.entry.js +0 -1
- package/dist/webcomponents/p-d8b8b17c.entry.js +0 -1
- package/dist/webcomponents/p-e2bfdba5.entry.js +0 -1
- package/dist/webcomponents/p-e73fe424.entry.js +0 -1
- package/dist/webcomponents/p-f23d4fdb.entry.js +0 -1
- package/dist/webcomponents/p-ffd197c2.entry.js +0 -1
- package/dist/webcomponents/p-gZGxqQgQ.js +0 -1
- package/dist/webcomponents/p-l3o3Ndc0.js +0 -1
- package/dist/webcomponents/p-l3uWWMRW.js +0 -1
- package/dist/webcomponents/p-um3YdOwW.js +0 -1
- package/dist/webcomponents/p-wqUvt1PB.js +0 -1
|
@@ -58,16 +58,16 @@ const PaymentDetailsCore = /*@__PURE__*/ proxyCustomElement(class PaymentDetails
|
|
|
58
58
|
});
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
|
-
return (h(StyledHost, { key: '
|
|
62
|
-
this.payment && (h("justifi-details", { key: '
|
|
63
|
-
h(DetailSectionTitle, { key: '
|
|
64
|
-
h("div", { key: '
|
|
61
|
+
return (h(StyledHost, { key: '1d796db87530f0bf361f958ebf32d7b07e717738' }, this.loading && h(PaymentDetailsLoading, { key: '984ce8660178c8ab6700f8978ffe98e8e7fb94cf' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
|
|
62
|
+
this.payment && (h("justifi-details", { key: 'aba73992ecd7091a7ba02b12068787581e0a17ae', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '6fbf25826f9c8fa2cb1787c823950fcc6f43af65', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPaymentStatusToBadge(this.payment.status), this.payment.expedited ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : null)), title: this.payment.formattedPaymentAmount(this.payment.amount) }, h(EntityHeadInfoItem, { key: '1b3967629cd23119be1e50554f508e067184825d', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: '6dc024bd7211b140bf324810f695251cbdfde2a2', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: '3fc21466a82163cbc4ba8d1dd5fb1807fba9bb73', title: "ID", value: this.payment.id })), h("div", { key: '8aea85d5c2542e4d519c7964d49c32aaf1ab0910', slot: 'detail-sections' }, h(DetailSectionTitle, { key: 'aed60a360a9d83210d632597f0bb58b459ef16d9', sectionTitle: "Details" }), h("div", { key: '11ad30fd836ee9f771c863d4f2c2c886822fdc99', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '9a622ed1f10b394a54ba839f14cc3f2cb38b6655', title: "Amount", value: this.payment.formattedPaymentAmount(this.payment.amount) }), h(DetailItem, { key: 'a2d24f3760ad9984439de3f7c170bec82a76add1', title: "Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: 'd16b76c2389d4a35e84f8d52994598e7a20d824a', title: "Refunded", value: this.payment.formattedPaymentAmount(this.payment.amount_refunded) }), h(DetailItem, { key: '13836d9cc01a29f07ec3cbf1633f553721bbcec4', title: "Net", value: this.payment.formattedPaymentAmount(this.payment.balance) }), h(DetailItem, { key: '743060dde2c10aa76ef24b37d8c395ee33e40760', title: "Status", value: MapPaymentStatusToBadge(this.payment.status) }), h(DetailItem, { key: '611fee1067e9905b3635959a077316b3a5442223', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: 'fda9fc662b825647235ebc31754a2912827cd819', title: "Processing Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: 'c6652062c85f350e80a278e54acb944603c40363', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: '300c0ab999530c9f56e0177649ff5e4d365a3588', title: "Description", value: this.payment.description }), h(DetailItem, { key: 'ada3e801c62d3a4e7e3dcd2fddd49acce8a43544', title: "Expedited", value: this.payment.expedited ? 'Yes' : 'No' })), this.payment.payment_method.card && [
|
|
63
|
+
h(DetailSectionTitle, { key: '1dfaeccd9b79e554dd7d9c77c2ac590fd0b3d5ef', sectionTitle: "Payment Method" }),
|
|
64
|
+
h("div", { key: 'c3a7301df552014a43980a831750cca16f9eac5c', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '206c8b54e2f6006ee8cafa2b3e96af7c03b0daea', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: 'ee34d87b3321f878dcd809aa580ece6cffe34a70', title: "Payment Type", value: "Card" }), h(DetailItem, { key: 'cafe35022509baa2470ecf1316bd9cd895985c18', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: '4e69bec4de04c2a2a67d786be1a295645b333aa5', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: 'e194daa5027f44cfef972c790a7bde7f136556e6', title: "Cardholder", value: this.payment.payment_method.payersName }))
|
|
65
65
|
], this.payment.payment_method.bank_account && [
|
|
66
|
-
h(DetailSectionTitle, { key: '
|
|
67
|
-
h("div", { key: '
|
|
66
|
+
h(DetailSectionTitle, { key: '03e24cfe64d0d96793e4795f2aee3753cd2fb646', sectionTitle: "Payment Method" }),
|
|
67
|
+
h("div", { key: 'eb2e9e0b1a87424ae12f034b84c5798d11e32576', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'bcaa8001cb8de0c140fd67fa59d4587dd4e15b73', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: 'c0918724c811a22d8fb74dc59e4d047e339d5c3f', title: "Last 4 Numbers", value: this.payment.last_four_digits }), h(DetailItem, { key: '3edee5ba73da3c5e2f1a8d676e6560a86476b4f7', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: 'd77f5fde0c2cb01121a6e04547334f0aa4d0e586', title: "Account Owner", value: this.payment.payment_method.payersName }))
|
|
68
68
|
], this.payment.metadata && [
|
|
69
|
-
h(DetailSectionTitle, { key: '
|
|
70
|
-
h("div", { key: '
|
|
69
|
+
h(DetailSectionTitle, { key: 'dc48f8084e20957839cad339ce004c81133a16db', sectionTitle: 'Metadata' }),
|
|
70
|
+
h("div", { key: 'cf724626bd10bb1bad97ed855fc0f2bdb3b9e043', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'dfe7f52a5ed42c2f737e411fb65459744fce1d7f', metadata: this.payment.metadata }))
|
|
71
71
|
])))));
|
|
72
72
|
}
|
|
73
73
|
static get watchers() { return {
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { d as snakeToCamel } from './utils2.js';
|
|
2
|
+
|
|
3
|
+
class PaymentMethodOption {
|
|
4
|
+
constructor(paymentMethod) {
|
|
5
|
+
this.id = paymentMethod.id;
|
|
6
|
+
this.brand = paymentMethod.brand;
|
|
7
|
+
this.acct_last_four = paymentMethod.acct_last_four;
|
|
8
|
+
this.type = snakeToCamel(paymentMethod.type);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
var CardBrandLabels;
|
|
12
|
+
(function (CardBrandLabels) {
|
|
13
|
+
CardBrandLabels["american_express"] = "American Express";
|
|
14
|
+
CardBrandLabels["diners_club"] = "Diners Club";
|
|
15
|
+
CardBrandLabels["discover"] = "Discover";
|
|
16
|
+
CardBrandLabels["jcb"] = "JCB";
|
|
17
|
+
CardBrandLabels["mastercard"] = "Mastercard";
|
|
18
|
+
CardBrandLabels["china_unionpay"] = "UnionPay";
|
|
19
|
+
CardBrandLabels["visa"] = "Visa";
|
|
20
|
+
CardBrandLabels["unknown"] = "Unknown";
|
|
21
|
+
})(CardBrandLabels || (CardBrandLabels = {}));
|
|
22
|
+
|
|
23
|
+
export { CardBrandLabels as C, PaymentMethodOption as P };
|
|
@@ -1,22 +1,17 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, h
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { P as PaymentMethodTypes } from './Payment.js';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { d as defineCustomElement$
|
|
7
|
-
import { d as defineCustomElement$
|
|
8
|
-
import { d as defineCustomElement$
|
|
9
|
-
import { d as defineCustomElement$b } from './form-control-radio2.js';
|
|
10
|
-
import { d as defineCustomElement$a } from './form-control-select2.js';
|
|
11
|
-
import { d as defineCustomElement$9 } from './form-control-text2.js';
|
|
12
|
-
import { d as defineCustomElement$8 } from './form-control-tooltip2.js';
|
|
13
|
-
import { d as defineCustomElement$7 } from './hidden-input2.js';
|
|
14
|
-
import { d as defineCustomElement$6 } from './iframe-input2.js';
|
|
15
|
-
import { d as defineCustomElement$5 } from './billing-form.js';
|
|
16
|
-
import { d as defineCustomElement$4 } from './new-payment-method.js';
|
|
17
|
-
import { d as defineCustomElement$3 } from './save-new-payment-method.js';
|
|
3
|
+
import { P as PaymentMethodOption } from './payment-method-option-utils.js';
|
|
4
|
+
import { s as state } from './checkout.store.js';
|
|
5
|
+
import { W as radioListItem } from './parts.js';
|
|
6
|
+
import { d as defineCustomElement$4 } from './form-control-help-text2.js';
|
|
7
|
+
import { d as defineCustomElement$3 } from './form-control-radio2.js';
|
|
8
|
+
import { d as defineCustomElement$2 } from './saved-payment-methods.js';
|
|
18
9
|
import { d as defineCustomElement$1 } from './sezzle-payment-method.js';
|
|
19
10
|
|
|
11
|
+
const PaymentMethodTypeLabels = {
|
|
12
|
+
bankAccount: 'New bank account',
|
|
13
|
+
card: 'New credit or debit card',
|
|
14
|
+
};
|
|
20
15
|
const PaymentMethodOptions = /*@__PURE__*/ proxyCustomElement(class PaymentMethodOptions extends HTMLElement {
|
|
21
16
|
constructor() {
|
|
22
17
|
super();
|
|
@@ -51,12 +46,15 @@ const PaymentMethodOptions = /*@__PURE__*/ proxyCustomElement(class PaymentMetho
|
|
|
51
46
|
if (this.showAch) {
|
|
52
47
|
this.paymentMethodOptions.push(new PaymentMethodOption({ id: PaymentMethodTypes.bankAccount }));
|
|
53
48
|
}
|
|
54
|
-
if (!
|
|
55
|
-
|
|
49
|
+
if (!state.selectedPaymentMethod) {
|
|
50
|
+
state.selectedPaymentMethod = (_b = this.paymentMethodOptions[0]) === null || _b === void 0 ? void 0 : _b.id;
|
|
56
51
|
}
|
|
57
52
|
}
|
|
58
53
|
paymentMethodOptionSelected(event) {
|
|
59
|
-
|
|
54
|
+
state.selectedPaymentMethod = event.detail.id;
|
|
55
|
+
}
|
|
56
|
+
get hiddenRadioInput() {
|
|
57
|
+
return !this.showAch || !this.showCard;
|
|
60
58
|
}
|
|
61
59
|
async resolvePaymentMethod(insuranceValidation) {
|
|
62
60
|
var _a;
|
|
@@ -67,34 +65,7 @@ const PaymentMethodOptions = /*@__PURE__*/ proxyCustomElement(class PaymentMetho
|
|
|
67
65
|
return newPaymentMethodElement.validate();
|
|
68
66
|
}
|
|
69
67
|
render() {
|
|
70
|
-
|
|
71
|
-
return (h(Host, { key: 'c61e82c72aaa25e87ded723799a1eb0961c05444' }, (_a = this.paymentMethodOptions) === null || _a === void 0 ? void 0 : _a.map((paymentMethodOption) => {
|
|
72
|
-
const newCard = paymentMethodOption.id === PaymentMethodTypes.card;
|
|
73
|
-
const newBankAccount = paymentMethodOption.id === PaymentMethodTypes.bankAccount;
|
|
74
|
-
const isSelected = this.selectedPaymentMethodId === paymentMethodOption.id;
|
|
75
|
-
const sezzle = paymentMethodOption.id === PaymentMethodTypes.sezzle;
|
|
76
|
-
if (newCard || newBankAccount) {
|
|
77
|
-
return (h("justifi-new-payment-method", { paymentMethodOption: paymentMethodOption, authToken: this.authToken, "account-id": this.accountId, "is-selected": isSelected, "show-card": this.showCard, "show-ach": this.showAch, paymentMethodGroupId: this.paymentMethodGroupId, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, ref: (el) => {
|
|
78
|
-
if (isSelected) {
|
|
79
|
-
this.selectedPaymentMethodOptionRef = el;
|
|
80
|
-
}
|
|
81
|
-
} }));
|
|
82
|
-
}
|
|
83
|
-
else if (sezzle) {
|
|
84
|
-
return (h("justifi-sezzle-payment-method", { paymentMethodOption: paymentMethodOption, "is-selected": isSelected, paymentAmount: this.paymentAmount, bnpl: this.bnpl, ref: (el) => {
|
|
85
|
-
if (isSelected) {
|
|
86
|
-
this.selectedPaymentMethodOptionRef = el;
|
|
87
|
-
}
|
|
88
|
-
} }));
|
|
89
|
-
}
|
|
90
|
-
else if (this.showSavedPaymentMethods) {
|
|
91
|
-
return (h("justifi-saved-payment-method", { paymentMethodOption: paymentMethodOption, "is-selected": isSelected, ref: (el) => {
|
|
92
|
-
if (isSelected) {
|
|
93
|
-
this.selectedPaymentMethodOptionRef = el;
|
|
94
|
-
}
|
|
95
|
-
} }));
|
|
96
|
-
}
|
|
97
|
-
})));
|
|
68
|
+
return (h("div", { key: '43947388e9c3e84f5af7ebefb379dcb0fc89bae7' }, h("div", { key: '203dde4a60f39cfb38408f58670b89047cadd3b3', class: "radio-list-item p-3", part: radioListItem, onClick: () => { state.selectedPaymentMethod = PaymentMethodTypes.card; }, hidden: this.hiddenRadioInput }, h("form-control-radio", { key: 'c26d64e69722cbdcdd1d573c93328d322b2db256', name: "paymentMethodType", value: PaymentMethodTypes.card, checked: state.selectedPaymentMethod === PaymentMethodTypes.card, label: PaymentMethodTypeLabels[PaymentMethodTypes.card] })), h("div", { key: '87799dce96c87b24d3f7ecc597021dbfde851a22', class: "radio-list-item p-3", part: radioListItem, onClick: () => { state.selectedPaymentMethod = PaymentMethodTypes.bankAccount; }, hidden: this.hiddenRadioInput }, h("form-control-radio", { key: '22df7be58ce8a58a8ce38a52912234bd313c4d2e', name: "paymentMethodType", value: PaymentMethodTypes.bankAccount, checked: state.selectedPaymentMethod === PaymentMethodTypes.bankAccount, label: PaymentMethodTypeLabels[PaymentMethodTypes.bankAccount] })), h("justifi-sezzle-payment-method", { key: '3ce43229e7268a453e5a2bad83f573105e8a6727' }), h("justifi-saved-payment-methods", { key: 'e6de7f6010736a702337dd91defc8bf00604ee34', exportparts: radioListItem.split(' ').join(',') })));
|
|
98
69
|
}
|
|
99
70
|
static get watchers() { return {
|
|
100
71
|
"savedPaymentMethods": ["paymentMethodsChanged"]
|
|
@@ -102,8 +73,8 @@ const PaymentMethodOptions = /*@__PURE__*/ proxyCustomElement(class PaymentMetho
|
|
|
102
73
|
}, [0, "justifi-payment-method-options", {
|
|
103
74
|
"showCard": [4, "show-card"],
|
|
104
75
|
"showAch": [4, "show-ach"],
|
|
105
|
-
"showBnpl": [4, "show-bnpl"],
|
|
106
76
|
"showSavedPaymentMethods": [4, "show-saved-payment-methods"],
|
|
77
|
+
"showBnpl": [4, "show-bnpl"],
|
|
107
78
|
"paymentMethodGroupId": [1, "payment-method-group-id"],
|
|
108
79
|
"bnpl": [16],
|
|
109
80
|
"insuranceToggled": [4, "insurance-toggled"],
|
|
@@ -113,7 +84,6 @@ const PaymentMethodOptions = /*@__PURE__*/ proxyCustomElement(class PaymentMetho
|
|
|
113
84
|
"paymentAmount": [2, "payment-amount"],
|
|
114
85
|
"hideCardBillingForm": [4, "hide-card-billing-form"],
|
|
115
86
|
"hideBankAccountBillingForm": [4, "hide-bank-account-billing-form"],
|
|
116
|
-
"selectedPaymentMethodId": [32],
|
|
117
87
|
"paymentMethodOptions": [32],
|
|
118
88
|
"fillBillingForm": [64],
|
|
119
89
|
"resolvePaymentMethod": [64],
|
|
@@ -125,84 +95,24 @@ function defineCustomElement() {
|
|
|
125
95
|
if (typeof customElements === "undefined") {
|
|
126
96
|
return;
|
|
127
97
|
}
|
|
128
|
-
const components = ["justifi-payment-method-options", "
|
|
98
|
+
const components = ["justifi-payment-method-options", "form-control-help-text", "form-control-radio", "justifi-saved-payment-methods", "justifi-sezzle-payment-method"];
|
|
129
99
|
components.forEach(tagName => { switch (tagName) {
|
|
130
100
|
case "justifi-payment-method-options":
|
|
131
101
|
if (!customElements.get(tagName)) {
|
|
132
102
|
customElements.define(tagName, PaymentMethodOptions);
|
|
133
103
|
}
|
|
134
104
|
break;
|
|
135
|
-
case "bank-account-form":
|
|
136
|
-
if (!customElements.get(tagName)) {
|
|
137
|
-
defineCustomElement$g();
|
|
138
|
-
}
|
|
139
|
-
break;
|
|
140
|
-
case "card-form":
|
|
141
|
-
if (!customElements.get(tagName)) {
|
|
142
|
-
defineCustomElement$f();
|
|
143
|
-
}
|
|
144
|
-
break;
|
|
145
|
-
case "custom-popper":
|
|
146
|
-
if (!customElements.get(tagName)) {
|
|
147
|
-
defineCustomElement$e();
|
|
148
|
-
}
|
|
149
|
-
break;
|
|
150
|
-
case "form-control-checkbox":
|
|
151
|
-
if (!customElements.get(tagName)) {
|
|
152
|
-
defineCustomElement$d();
|
|
153
|
-
}
|
|
154
|
-
break;
|
|
155
105
|
case "form-control-help-text":
|
|
156
|
-
if (!customElements.get(tagName)) {
|
|
157
|
-
defineCustomElement$c();
|
|
158
|
-
}
|
|
159
|
-
break;
|
|
160
|
-
case "form-control-radio":
|
|
161
|
-
if (!customElements.get(tagName)) {
|
|
162
|
-
defineCustomElement$b();
|
|
163
|
-
}
|
|
164
|
-
break;
|
|
165
|
-
case "form-control-select":
|
|
166
|
-
if (!customElements.get(tagName)) {
|
|
167
|
-
defineCustomElement$a();
|
|
168
|
-
}
|
|
169
|
-
break;
|
|
170
|
-
case "form-control-text":
|
|
171
|
-
if (!customElements.get(tagName)) {
|
|
172
|
-
defineCustomElement$9();
|
|
173
|
-
}
|
|
174
|
-
break;
|
|
175
|
-
case "form-control-tooltip":
|
|
176
|
-
if (!customElements.get(tagName)) {
|
|
177
|
-
defineCustomElement$8();
|
|
178
|
-
}
|
|
179
|
-
break;
|
|
180
|
-
case "hidden-input":
|
|
181
|
-
if (!customElements.get(tagName)) {
|
|
182
|
-
defineCustomElement$7();
|
|
183
|
-
}
|
|
184
|
-
break;
|
|
185
|
-
case "iframe-input":
|
|
186
|
-
if (!customElements.get(tagName)) {
|
|
187
|
-
defineCustomElement$6();
|
|
188
|
-
}
|
|
189
|
-
break;
|
|
190
|
-
case "justifi-billing-form":
|
|
191
|
-
if (!customElements.get(tagName)) {
|
|
192
|
-
defineCustomElement$5();
|
|
193
|
-
}
|
|
194
|
-
break;
|
|
195
|
-
case "justifi-new-payment-method":
|
|
196
106
|
if (!customElements.get(tagName)) {
|
|
197
107
|
defineCustomElement$4();
|
|
198
108
|
}
|
|
199
109
|
break;
|
|
200
|
-
case "
|
|
110
|
+
case "form-control-radio":
|
|
201
111
|
if (!customElements.get(tagName)) {
|
|
202
112
|
defineCustomElement$3();
|
|
203
113
|
}
|
|
204
114
|
break;
|
|
205
|
-
case "justifi-saved-payment-
|
|
115
|
+
case "justifi-saved-payment-methods":
|
|
206
116
|
if (!customElements.get(tagName)) {
|
|
207
117
|
defineCustomElement$2();
|
|
208
118
|
}
|
|
@@ -5,13 +5,12 @@ import './Checkout.js';
|
|
|
5
5
|
import { p as pagingDefaults } from './Pagination.js';
|
|
6
6
|
import './Payment.js';
|
|
7
7
|
import './Refund.js';
|
|
8
|
-
import './Document.js';
|
|
9
8
|
import './Business.js';
|
|
10
9
|
import './details.js';
|
|
11
10
|
import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table.js';
|
|
12
11
|
import { T as TableClickActions } from './event-types.js';
|
|
13
12
|
import { M as MapPaymentStatusToBadge } from './payments-status.js';
|
|
14
|
-
import { n as tableHeadCell,
|
|
13
|
+
import { n as tableHeadCell, a8 as getAlternateTableCellPart } from './parts.js';
|
|
15
14
|
import { o as onQueryParamsChange, g as getRequestParams } from './payments-list-params-state.js';
|
|
16
15
|
import { d as defineCustomElement$1 } from './pagination-menu2.js';
|
|
17
16
|
|
|
@@ -119,7 +118,7 @@ const PaymentsListCore = /*@__PURE__*/ proxyCustomElement(class PaymentsListCore
|
|
|
119
118
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
120
119
|
}
|
|
121
120
|
render() {
|
|
122
|
-
return (h(TableWrapper, { key: '
|
|
121
|
+
return (h(TableWrapper, { key: 'f7d8eb83c5c0bfe1f426a784a8d4a14689958c8a' }, h(TableComponent, { key: 'b4c6aa6781f64a95e75dcb6e163eae62280d4777' }, h(TableHead, { key: '35c522e3cb956adabdbc0d5f49d4ecb564b28922' }, h(TableHeadRow, { key: '1d08847173e7a17eef90aff34dd4eed12f43a55f' }, this.paymentsTable.columnData.map((column) => column))), h(TableBody, { key: 'd18ec5a41975ed90e2517f1ab7b1d35bd13f2021' }, h(TableLoadingState, { key: '3ccdaaa336b40207f240d0c35bd066991016ea52', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '373fc79d3328a93ce02721f670d84d0b77afa322', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: 'd6141695f295827c1f22f823e5a59de9d4147956', columnSpan: this.paymentsTable.columnData.length, errorMessage: this.errorMessage }), this.showRowData && this.paymentsTable.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: 'bada9a9d7e5a6c630aa2a272d324b3506c84be70' }, h(TableFootRow, { key: '4b2147edb866f00fd895c9be647ff826e8b964e5' }, h(TableFootCell, { key: 'ea9856256d190727350137530933bd51ba4935d0', colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: '27932b928dd6245e14404b51a69b7073205d4139', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
123
122
|
}
|
|
124
123
|
static get watchers() { return {
|
|
125
124
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -73,9 +73,9 @@ const PayoutDetailsCore = /*@__PURE__*/ proxyCustomElement(class PayoutDetailsCo
|
|
|
73
73
|
}
|
|
74
74
|
render() {
|
|
75
75
|
var _a;
|
|
76
|
-
return (h(StyledHost, { key: '
|
|
77
|
-
h(DetailSectionTitle, { key: '
|
|
78
|
-
h("div", { key: '
|
|
76
|
+
return (h(StyledHost, { key: 'f6b9b84a740d3e5196eca16df2f34a1b225edbc8' }, this.loading && h(PayoutDetailsLoading, { key: '3d24389cb52696810d93b0047f02dd44ee8a1386' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: '159849ab2d24fd2c08812dffc2323194b9cb5bbc', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: 'e42544c3d30edd29b79028d3e47e7e1fc25e2a8c', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), this.payout.settlement_priority === 'expedited' ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : (h(Badge, { variant: BadgeVariant.SECONDARY, title: "Standard", text: "Standard" })))), title: this.payout.formattedPaymentAmount(this.payout.amount) }, h(EntityHeadInfoItem, { key: '665e463415c851fd5198cf1ce6cbbd3e777a60ee', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: '434c279f54780b4ef3a59c4a4ab5e84a0fbc536a', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: '76f7fcc47a5014a4f20dc8686b45a72eb0888228', title: "ID", value: this.payout.id }), h("div", { key: 'da0272c9aa553ec71d6e65f3865f6ce643f79092', class: "m-4" }, h(Button, { key: '9037551eba246803a623654a88f7f8cfbe210de3', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: 'b7b6f40493db4db7e1defe66f4f510c32e0fab9e', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '460e4a6bafc65e6c83dc955b99f75ed589f9ba42', sectionTitle: "Details" }), h("div", { key: 'cdb8280c872e55410f24b6a90ba17f64ae0414d4', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'f401e006c82aa38c2b390668b3905bb10bf92d88', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: '95fa773958f9ad5950432cba9f0f8821b87183c7', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: '70930d62905c51939b33e6e5341a66eff7f1f80d', title: "Payout Method", value: this.payout.delivery_method }), h(DetailItem, { key: 'f7203ba0a060df09a86fe47bb7354ba4440de247', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: '9937a4bb3cf00943ff719e2851e06066960cd518', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: '60988e407834a87285a8203e53053ebec0d109ae', sectionTitle: "Account" }), h("div", { key: 'd30c4e5ee64658b9ecefe9720c1a8266d1af7314', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'a60f91b7dc0b6edf4ccad3437358f70ef8a97b2e', title: "ID", value: this.payout.account_id }), h(DetailItem, { key: '81da5682023ce4ad02b30688859262931b6d319c', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '21ced58dd4f97df5b9839f49cce50162405416fe', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '73191d6ffabdf08536f4699c3f2ba4fa867a3992', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: 'd9ea68ef61a0cb63b1056f753a957927cf3204f7', title: "Account Number", value: this.payout.bank_account.account_number_last4 })), this.payout.metadata && [
|
|
77
|
+
h(DetailSectionTitle, { key: '1eaca03125f7e50c62c7f731a7442c088858a317', sectionTitle: 'Metadata' }),
|
|
78
|
+
h("div", { key: '1368c90f240c2ea2e6711603d8599025dce2dd82', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '52ec68588672ffa71ff98139e9d7ae193fbd55bd', metadata: this.payout.metadata }))
|
|
79
79
|
])))));
|
|
80
80
|
}
|
|
81
81
|
static get watchers() { return {
|
|
@@ -5,13 +5,12 @@ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkou
|
|
|
5
5
|
import { p as pagingDefaults } from './Pagination.js';
|
|
6
6
|
import './Payment.js';
|
|
7
7
|
import './Refund.js';
|
|
8
|
-
import './Document.js';
|
|
9
8
|
import './Business.js';
|
|
10
9
|
import './details.js';
|
|
11
10
|
import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table.js';
|
|
12
11
|
import { T as TableClickActions } from './event-types.js';
|
|
13
12
|
import { M as MapPayoutStatusToBadge } from './payouts-status.js';
|
|
14
|
-
import { n as tableHeadCell,
|
|
13
|
+
import { n as tableHeadCell, a8 as getAlternateTableCellPart } from './parts.js';
|
|
15
14
|
import { o as onQueryParamsChange, g as getRequestParams } from './payouts-list-params-state.js';
|
|
16
15
|
import { d as defineCustomElement$1 } from './pagination-menu2.js';
|
|
17
16
|
|
|
@@ -174,7 +173,7 @@ const PayoutsListCore = /*@__PURE__*/ proxyCustomElement(class PayoutsListCore e
|
|
|
174
173
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
175
174
|
}
|
|
176
175
|
render() {
|
|
177
|
-
return (h(TableWrapper, { key: '
|
|
176
|
+
return (h(TableWrapper, { key: '786e5a316c151acfbe4c002e578956ad1730e524' }, h(TableComponent, { key: '117086f0be468f4d50d160f8c982b93afb4b6a1b' }, h(TableHead, { key: '47433c343abf3c97e95b6cdcc2ca3a8c9bb23ae8' }, h(TableHeadRow, { key: '24403b1c5f408381e388ffe33af5823c5176a254' }, this.payoutsTable.columnData.map((column) => column))), h(TableBody, { key: '1c8c09b4cea871e728d20836156b8ebda1d72276' }, h(TableLoadingState, { key: 'bf038ef4c07745436168203a484e5e346356d48d', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '1fbe3787afb507258272f3e500f72ee9d4c5f7e9', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: '256e3ea344eada4001c65ee31eb2356e63242b40', columnSpan: this.payoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.payoutsTable.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: '174590a65c18b9644c5ca7e39b384f973de4690a' }, h(TableFootRow, { key: 'd9dab09c6f24eeded0328c559b7842a543cd1fa2' }, h(TableFootCell, { key: 'bd7c7917dc2c31dccf731617000c664f6c1bed51', colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: '131a5000ad0378948411c34287471734a8575491', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
178
177
|
}
|
|
179
178
|
static get watchers() { return {
|
|
180
179
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { S as StyledHost } from './styled-host.js';
|
|
3
|
+
import './details.js';
|
|
4
|
+
import './event-types.js';
|
|
5
|
+
import { n as numberOnlyHandler } from './utils3.js';
|
|
6
|
+
import { F as FormController } from './form.js';
|
|
7
|
+
import { b as billingFormSchema } from './billing-form-schema.js';
|
|
8
|
+
import { d as defineCustomElement$3 } from './custom-popper2.js';
|
|
9
|
+
import { d as defineCustomElement$2 } from './form-control-text2.js';
|
|
10
|
+
import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
|
|
11
|
+
|
|
12
|
+
const PostalCodeForm = /*@__PURE__*/ proxyCustomElement(class PostalCodeForm extends HTMLElement {
|
|
13
|
+
constructor() {
|
|
14
|
+
super();
|
|
15
|
+
this.__registerHost();
|
|
16
|
+
this.__attachShadow();
|
|
17
|
+
this.errors = {};
|
|
18
|
+
this.inputHandler = (name, value) => {
|
|
19
|
+
this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
componentWillLoad() {
|
|
23
|
+
this.formController = new FormController(billingFormSchema(true));
|
|
24
|
+
}
|
|
25
|
+
componentDidLoad() {
|
|
26
|
+
this.formController.values.subscribe(values => this.billingInfo = Object.assign({}, values));
|
|
27
|
+
this.formController.errors.subscribe(errors => {
|
|
28
|
+
this.errors = Object.assign({}, errors);
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
async getValues() {
|
|
32
|
+
return this.formController.values.getValue();
|
|
33
|
+
}
|
|
34
|
+
async fill(fields) {
|
|
35
|
+
this.formController.setInitialValues(fields);
|
|
36
|
+
}
|
|
37
|
+
async validate() {
|
|
38
|
+
let isValid = await this.formController.validate();
|
|
39
|
+
return { isValid: isValid };
|
|
40
|
+
}
|
|
41
|
+
render() {
|
|
42
|
+
const billingFormDefaultValue = this.formController.getInitialValues();
|
|
43
|
+
return (h(StyledHost, { key: 'e5cdb9b21be1e5f4ee6fd21a2d919b2d9271b163' }, h("form", { key: '29c0a3edaad9877d50ecc9e4424ca2f5e667dc30' }, h("form-control-text", { key: '00e8688c8a8e9b91df5089e2fb97c8b71673a3fd', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler }))));
|
|
44
|
+
}
|
|
45
|
+
}, [1, "justifi-postal-code-form", {
|
|
46
|
+
"formController": [32],
|
|
47
|
+
"billingInfo": [32],
|
|
48
|
+
"errors": [32],
|
|
49
|
+
"getValues": [64],
|
|
50
|
+
"fill": [64],
|
|
51
|
+
"validate": [64]
|
|
52
|
+
}]);
|
|
53
|
+
function defineCustomElement() {
|
|
54
|
+
if (typeof customElements === "undefined") {
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
const components = ["justifi-postal-code-form", "custom-popper", "form-control-text", "form-control-tooltip"];
|
|
58
|
+
components.forEach(tagName => { switch (tagName) {
|
|
59
|
+
case "justifi-postal-code-form":
|
|
60
|
+
if (!customElements.get(tagName)) {
|
|
61
|
+
customElements.define(tagName, PostalCodeForm);
|
|
62
|
+
}
|
|
63
|
+
break;
|
|
64
|
+
case "custom-popper":
|
|
65
|
+
if (!customElements.get(tagName)) {
|
|
66
|
+
defineCustomElement$3();
|
|
67
|
+
}
|
|
68
|
+
break;
|
|
69
|
+
case "form-control-text":
|
|
70
|
+
if (!customElements.get(tagName)) {
|
|
71
|
+
defineCustomElement$2();
|
|
72
|
+
}
|
|
73
|
+
break;
|
|
74
|
+
case "form-control-tooltip":
|
|
75
|
+
if (!customElements.get(tagName)) {
|
|
76
|
+
defineCustomElement$1();
|
|
77
|
+
}
|
|
78
|
+
break;
|
|
79
|
+
} });
|
|
80
|
+
}
|
|
81
|
+
defineCustomElement();
|
|
82
|
+
|
|
83
|
+
export { PostalCodeForm as P, defineCustomElement as d };
|
|
@@ -39,7 +39,7 @@ const ProductOrService = /*@__PURE__*/ proxyCustomElement(class ProductOrService
|
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
41
|
var _a, _b, _c;
|
|
42
|
-
return (h("div", { key: '
|
|
42
|
+
return (h("div", { key: '53894694d5f6c1cfe7d8d699af69e4dc6c496fb8' }, h("div", { key: 'c1cb70ef48be5e50bdb1fd0d47416b48342f7620', class: "row gy-3" }, h("div", { key: '837aa7683621d26ee08a1f8f3b1f5ae65b63bd94', class: "col-12" }, h("h2", { key: '9c51ee3f6df442237cd3c23306f79b7e15fed133', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: '259ea001a1896c34088a6a03a725564c5cd48a74', class: "col-12" }, h("form-control-text", { key: 'f237fc051614689b9b8c8227d6a6d7266a9adeaa', 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 })), h("div", { key: 'a0f7a0cb813c7ee2a4423abc1506f7c775ad9e07', class: "col-12" }, h("form-control-date", { key: 'fca7aef52b721fa472b5459b9dc47f95dca1ce76', 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 })), h("div", { key: 'f285bfe4242cc1179c5a7b4864b907101edeaebb', class: "col-12" }, h("form-control-file-v2", { key: '9ad064a5be5381cccbe33e4dc1e00879996ad513', 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 })))));
|
|
43
43
|
}
|
|
44
44
|
}, [0, "justifi-product-or-service", {
|
|
45
45
|
"disputeResponse": [8, "dispute-response"],
|
|
@@ -39,7 +39,7 @@ const RefundPolicy = /*@__PURE__*/ proxyCustomElement(class RefundPolicy extends
|
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
41
|
var _a, _b, _c, _d;
|
|
42
|
-
return (h("div", { key: '
|
|
42
|
+
return (h("div", { key: '839a9b7ea7f978987e44f643af2d2aa8ac9557ff' }, h("div", { key: '410211fe20a2e9ab23ec1e3f172b200afb2db8ae', class: "row gy-3" }, h("div", { key: '9e6121b760cf47feaeffdc231780490ce47342f7', class: "col-12" }, h("h2", { key: 'fe64c8a2be67d179ddc4157c4fa8876937c2e4b8', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: 'db91b2f1c102026cc6998f9f8163761d1bf85024', class: "col-12" }, h("form-control-textarea", { key: '199cd5d32ff726681a918ced7f1790bd292e0cf7', 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 })), h("div", { key: 'e48e83b580182698374627889cf0cff69dd3779f', class: "col-12" }, h("form-control-textarea", { key: '627faade4d3afaad7d700494652d559ede4f69af', 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 })), h("div", { key: 'bdfca2b3878de2a665961fd6cd4fc10833f385bc', class: "col-12" }, h("form-control-file-v2", { key: 'a8d0d09bf0d8298ba85ead4b643d5ea774336ba0', 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 })), h("div", { key: '41f43575895d15f34bfa2f6095462068cd6ad5d6', class: "col-12" }, h("form-control-file-v2", { key: 'aceae6c113bc38019bc20125eb3e8be0d111c15f', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
|
|
43
43
|
}
|
|
44
44
|
}, [0, "justifi-refund-policy", {
|
|
45
45
|
"disputeResponse": [8, "dispute-response"],
|
|
@@ -13,7 +13,7 @@ const SaveNewPaymentMethod = /*@__PURE__*/ proxyCustomElement(class SaveNewPayme
|
|
|
13
13
|
this.checkboxChanged.emit(this.isChecked);
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h("div", { key: '
|
|
16
|
+
return (h("div", { key: 'b196a8d34fb4afe1293f4ff9f6eea8bb3ed4c1a6', class: "mt-4 form-check" }, h("form-control-checkbox", { key: '1f35cb80578373e1f77f2a95f08310f0830e1c90', label: "Save new payment method", name: "saveNewPaymentMethod", checked: this.isChecked, inputHandler: this.handleCheckboxChange.bind(this) })));
|
|
17
17
|
}
|
|
18
18
|
}, [0, "justifi-save-new-payment-method", {
|
|
19
19
|
"isChecked": [32]
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { W as radioListItem } from './parts.js';
|
|
3
|
+
import { S as StyledHost } from './styled-host.js';
|
|
4
|
+
import './details.js';
|
|
5
|
+
import './event-types.js';
|
|
6
|
+
import { s as state } from './checkout.store.js';
|
|
7
|
+
import { C as CardBrandLabels } from './payment-method-option-utils.js';
|
|
8
|
+
import { d as defineCustomElement$2 } from './form-control-help-text2.js';
|
|
9
|
+
import { d as defineCustomElement$1 } from './form-control-radio2.js';
|
|
10
|
+
|
|
11
|
+
const SavedPaymentMethods = /*@__PURE__*/ proxyCustomElement(class SavedPaymentMethods extends HTMLElement {
|
|
12
|
+
constructor() {
|
|
13
|
+
super();
|
|
14
|
+
this.__registerHost();
|
|
15
|
+
this.__attachShadow();
|
|
16
|
+
this.onPaymentMethodOptionClick = (paymentMethodId) => (e) => {
|
|
17
|
+
e.preventDefault();
|
|
18
|
+
state.selectedPaymentMethod = paymentMethodId;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
componentWillLoad() {
|
|
22
|
+
if (!state.paymentMethods.length) {
|
|
23
|
+
console.warn('No saved payment methods available.');
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
render() {
|
|
27
|
+
return (h(StyledHost, { key: '7bebb3f8ff2a2abe400e1d099154a1729913140c' }, h("div", { key: '3a5798c5ceba63160dceecb0dc65f8a211bb5110', class: "saved-payment-methods" }, state.paymentMethods.length ? state.paymentMethods.map((paymentMethod) => (h("div", { class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick(paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.id) }, h("form-control-radio", { name: "paymentMethodType", value: paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.id, checked: state.selectedPaymentMethod === (paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.id), label: `${CardBrandLabels[paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.brand] || ''} *${paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.acct_last_four}` })))) : null)));
|
|
28
|
+
}
|
|
29
|
+
}, [1, "justifi-saved-payment-methods"]);
|
|
30
|
+
function defineCustomElement() {
|
|
31
|
+
if (typeof customElements === "undefined") {
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
const components = ["justifi-saved-payment-methods", "form-control-help-text", "form-control-radio"];
|
|
35
|
+
components.forEach(tagName => { switch (tagName) {
|
|
36
|
+
case "justifi-saved-payment-methods":
|
|
37
|
+
if (!customElements.get(tagName)) {
|
|
38
|
+
customElements.define(tagName, SavedPaymentMethods);
|
|
39
|
+
}
|
|
40
|
+
break;
|
|
41
|
+
case "form-control-help-text":
|
|
42
|
+
if (!customElements.get(tagName)) {
|
|
43
|
+
defineCustomElement$2();
|
|
44
|
+
}
|
|
45
|
+
break;
|
|
46
|
+
case "form-control-radio":
|
|
47
|
+
if (!customElements.get(tagName)) {
|
|
48
|
+
defineCustomElement$1();
|
|
49
|
+
}
|
|
50
|
+
break;
|
|
51
|
+
} });
|
|
52
|
+
}
|
|
53
|
+
defineCustomElement();
|
|
54
|
+
|
|
55
|
+
export { SavedPaymentMethods as S, defineCustomElement as d };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { a as create$6
|
|
1
|
+
import { a as create$6 } from './form.js';
|
|
2
2
|
import { S as StateOptions } from './state-options.js';
|
|
3
3
|
import { c as businessClassificationOptions, a as businessServiceReceivedOptions, r as recurringPaymentsOptions, s as seasonalBusinessOptions, b as bankAccountTypeOptions } from './business-form-options.js';
|
|
4
|
-
import { E as EntityDocumentType } from './Document.js';
|
|
5
4
|
|
|
6
5
|
const transformEmptyString = (value) => {
|
|
7
6
|
return value === '' ? null : value;
|
|
@@ -183,25 +182,5 @@ const routingNumberValidation = create$6()
|
|
|
183
182
|
return validateRoutingNumber(value);
|
|
184
183
|
})
|
|
185
184
|
.transform(transformEmptyString);
|
|
186
|
-
// Document Upload Validations
|
|
187
|
-
const documentUploadValidation = create$8();
|
|
188
|
-
const voidedCheckValidation = (documents, allowOptionalFields) => {
|
|
189
|
-
const existingDoc = documents.some((doc) => doc.document_type === EntityDocumentType.voidedCheck);
|
|
190
|
-
if (existingDoc || allowOptionalFields) {
|
|
191
|
-
return documentUploadValidation.nullable();
|
|
192
|
-
}
|
|
193
|
-
else {
|
|
194
|
-
return documentUploadValidation.required('Please select one or more files');
|
|
195
|
-
}
|
|
196
|
-
};
|
|
197
|
-
const bankStatementValidation = (documents, allowOptionalFields) => {
|
|
198
|
-
const existingDoc = documents.some((doc) => doc.document_type === EntityDocumentType.bankStatement);
|
|
199
|
-
if (existingDoc || allowOptionalFields) {
|
|
200
|
-
return documentUploadValidation.nullable();
|
|
201
|
-
}
|
|
202
|
-
else {
|
|
203
|
-
return documentUploadValidation.required('Please select one or more files');
|
|
204
|
-
}
|
|
205
|
-
};
|
|
206
185
|
|
|
207
|
-
export {
|
|
186
|
+
export { accountNumberValidation as A, accountTypeValidation as B, nicknameValidation as C, bankNameValidation as D, revenueValidation as a, recurringPaymentsPercentageValidation as b, postalValidation as c, stateValidation as d, cityValidation as e, lineOneValidation as f, dateOfIncorporationValidation as g, industryValidation as h, identityNameValidation as i, businessClassificationValidation as j, doingBusinessAsValidation as k, lineTwoValidation as l, phoneValidation as m, emailValidation as n, otherPaymentDetailsValidation as o, paymentVolumeValidation as p, websiteUrlValidation as q, recurringPaymentsValidation as r, seasonalBusinessValidation as s, taxIdValidation as t, businessNameValidation as u, ssnValidation as v, whenServiceReceivedValidation as w, dobValidation as x, identityTitleValidation as y, routingNumberValidation as z };
|
|
@@ -116,9 +116,9 @@ const SeasonInterruptionInsuranceCore = /*@__PURE__*/ proxyCustomElement(class S
|
|
|
116
116
|
var _a, _b, _c, _d;
|
|
117
117
|
if (this.isLoading)
|
|
118
118
|
return (h(StyledHost, null, h(SeasonInterruptionInsuranceLoading, null)));
|
|
119
|
-
return (h(StyledHost, null, h(
|
|
119
|
+
return (h(StyledHost, null, h(Header2, { text: (_a = this.quote) === null || _a === void 0 ? void 0 : _a.product.title, class: "fs-5 fw-bold pb-3" }), h("small", { innerHTML: (_b = this.quote) === null || _b === void 0 ? void 0 : _b.product.description, part: text }), h("form-control-radio", { label: `Accept coverage for ${formatCurrency((_c = this.quote) === null || _c === void 0 ? void 0 : _c.total_cents)}`, name: "opt-in", value: 'true', checked: this.accepted === 'true', inputHandler: this.onChangeHandler.bind(this),
|
|
120
120
|
// don't wanna show error message, but need to show the red border
|
|
121
|
-
errorText: this.error ? ' ' : undefined }), h("form-control-radio", { label: "Decline coverage", name: "opt-in", value: 'false', checked: this.accepted === 'false', inputHandler: this.onChangeHandler.bind(this), errorText: this.error ? ' ' : undefined }), h("div", { class: "invalid-feedback", style: { display: this.error ? 'block' : 'none' }, part: textDanger }, "Please select an option"), h("small", { innerHTML: (_d = this.quote) === null || _d === void 0 ? void 0 : _d.product.legal_disclaimer, part: text })))
|
|
121
|
+
errorText: this.error ? ' ' : undefined }), h("form-control-radio", { label: "Decline coverage", name: "opt-in", value: 'false', checked: this.accepted === 'false', inputHandler: this.onChangeHandler.bind(this), errorText: this.error ? ' ' : undefined }), h("div", { class: "invalid-feedback", style: { display: this.error ? 'block' : 'none' }, part: textDanger }, "Please select an option"), h("small", { innerHTML: (_d = this.quote) === null || _d === void 0 ? void 0 : _d.product.legal_disclaimer, part: text })));
|
|
122
122
|
}
|
|
123
123
|
}, [1, "justifi-season-interruption-insurance-core", {
|
|
124
124
|
"checkoutId": [1, "checkout-id"],
|