@justifi/webcomponents 5.7.3 → 5.7.4-rc-01
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/{check-pkg-version-BqLxQqZQ.js → Analytics-CLEDjTfr.js} +23 -23
- package/dist/cjs/{Api-CJ1_RDQW.js → Api-c8NBCwu4.js} +1 -1
- package/dist/cjs/{Checkout-TZnRz3-3.js → Checkout-BsYZoJ0a.js} +1 -3
- package/dist/cjs/{ComponentError-C4MdBBMe.js → ComponentError-CEv9ltwy.js} +2 -0
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
- package/dist/cjs/{badge-ByHiVqEE.js → badge-DDksduwk.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +9 -9
- package/dist/cjs/{bank-account-form_9.cjs.entry.js → bank-account-form_7.cjs.entry.js} +24 -195
- package/dist/cjs/billing-form-schema-X1bkxteI.js +26 -0
- package/dist/cjs/{business-additional-questions-schema-e3GCIHk5.js → business-additional-questions-schema-C1Ot5vrv.js} +6 -6
- package/dist/cjs/business-details-core.cjs.entry.js +4 -4
- package/dist/cjs/{business-identity-schema-Diqj_WVQ.js → business-identity-schema-hk4UVEna.js} +10 -10
- package/dist/cjs/{business.service-CsKKWn0g.js → business.service-BjlK8M6t.js} +3 -3
- package/dist/cjs/{button-DXvFLf3b.js → button-0HYMPryx.js} +1 -1
- package/dist/cjs/checkout-actions-CRbQgLn0.js +61 -0
- package/dist/cjs/{checkout.service-CugpgJy_.js → checkout.service-Bln6jCAj.js} +3 -3
- package/dist/cjs/checkout.store-LEOetpmH.js +29 -0
- package/dist/cjs/checkouts-list-core.cjs.entry.js +11 -11
- package/dist/cjs/{checkouts-list-params-state-BZPc3hJS.js → checkouts-list-params-state-DZUKBmLC.js} +1 -1
- package/dist/cjs/{checkouts-table-BV-36YfA.js → checkouts-table-CrpOOe_e.js} +2 -2
- package/dist/cjs/{config-state-BH7lf2ok.js → config-state-Dz9bnWHg.js} +1 -1
- package/dist/cjs/custom-popper_4.cjs.entry.js +8 -8
- package/dist/cjs/{dispute.service-B8vLwAZm.js → dispute.service-Bo84yh33.js} +3 -3
- package/dist/cjs/{index.esm-CVuJLXJZ.js → form-CWW8IM-X.js} +10509 -10509
- 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-3qE49U.js → form-control-error-text-CVPYL0lE.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
- package/dist/cjs/{form-control-help-text-BlYVOrII.js → form-control-help-text-B3jRgfoa.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/{get-business-BJrtsomz.js → get-business-BiEc-jdH.js} +2 -2
- package/dist/cjs/{get-payment-details-CudOQBpU.js → get-payment-details-OrAuseBX.js} +4 -4
- package/dist/cjs/{get-payout-csv-CXEQkjDm.js → get-payout-csv-CdNRRH0t.js} +2 -2
- package/dist/cjs/{get-subaccounts-DjwsQffs.js → get-subaccounts-CoC0XYqj.js} +5 -5
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +28 -9
- package/dist/cjs/{header-1-agnQ4uEf.js → header-1-M-mc3bsa.js} +1 -1
- package/dist/cjs/{header-3-BAx5OhvM.js → header-3-BnKbOjvz.js} +1 -1
- package/dist/cjs/{iframe-input.cjs.entry.js → hidden-input_2.cjs.entry.js} +112 -15
- package/dist/cjs/{index-oahmQhrI.js → index-BCtVWU61.js} +1 -1
- package/dist/cjs/{index-y-rskGFM.js → index-D5bL1DOi.js} +38 -10
- package/dist/cjs/{insurance-state-CCo-Gmfe.js → insurance-state-BsGy_svD.js} +2 -2
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +23 -23
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +16 -16
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +43 -43
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +85 -0
- package/dist/cjs/justifi-billing-information-form.cjs.entry.js +50 -0
- package/dist/cjs/justifi-business-details.cjs.entry.js +14 -14
- package/dist/cjs/justifi-business-form.cjs.entry.js +23 -23
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
- package/dist/cjs/justifi-card-form.cjs.entry.js +93 -0
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +9 -9
- package/dist/cjs/justifi-checkout-summary.cjs.entry.js +21 -0
- package/dist/cjs/justifi-checkout.cjs.entry.js +26 -70
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +8 -8
- 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-modular-checkout.cjs.entry.js +204 -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-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 +17 -17
- 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-postal-code-form.cjs.entry.js +49 -0
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +23 -23
- package/dist/cjs/justifi-saved-payment-methods.cjs.entry.js +31 -0
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +5 -5
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +19 -21
- package/dist/cjs/justifi-sezzle-payment-method.cjs.entry.js +80 -0
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +9 -9
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +15 -15
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +8 -8
- 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-a_vXN-Ly.js → package-D89BDRKu.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-aqlDvgDe.js → payment.service-C0t9DRcu.js} +3 -3
- package/dist/cjs/payments-list-core.cjs.entry.js +12 -12
- package/dist/cjs/{payments-list-params-state-BZPc3hJS.js → payments-list-params-state-DZUKBmLC.js} +1 -1
- package/dist/cjs/{payments-status-CWK1uHtj.js → payments-status-DG50GuXR.js} +2 -2
- package/dist/cjs/{payments-table-CP8LGibG.js → payments-table-BqxFc71K.js} +2 -2
- package/dist/cjs/payout-details-core.cjs.entry.js +10 -10
- package/dist/cjs/{payout.service-CL-hcMGg.js → payout.service-DGeLS8BN.js} +3 -3
- package/dist/cjs/payouts-list-core.cjs.entry.js +12 -12
- package/dist/cjs/{payouts-list-params-state-BZPc3hJS.js → payouts-list-params-state-DZUKBmLC.js} +1 -1
- package/dist/cjs/{payouts-status-Jz2Mh3JP.js → payouts-status-meuI7eBr.js} +2 -2
- package/dist/cjs/{payouts-table-DyuoNtFw.js → payouts-table-iT2IauEa.js} +2 -2
- package/dist/cjs/{schema-validations-BSeMee-o.js → schema-validations-CllkToCZ.js} +31 -31
- package/dist/cjs/{skeleton-CgT0siC5.js → skeleton-CbZBGO47.js} +1 -1
- package/dist/cjs/{spinner-Cz4By3FY.js → spinner-CIZFX7bz.js} +1 -1
- package/dist/cjs/{styled-host-LD5MpzHs.js → styled-host-DXNHOiqW.js} +1 -1
- package/dist/cjs/{table-Cvr8-PLT.js → table-CxvETNS1.js} +2 -2
- 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/{terminal-orders-list-params-state-BZPc3hJS.js → terminal-orders-list-params-state-DZUKBmLC.js} +1 -1
- package/dist/cjs/{terminal-orders-table-CslE3Ojj.js → terminal-orders-table-Dw6uHG1R.js} +5 -5
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
- package/dist/cjs/{terminal.service-3geWla42.js → terminal.service-Ck6PIO3G.js} +3 -3
- package/dist/cjs/terminals-list-core.cjs.entry.js +11 -11
- package/dist/cjs/terminals-list-params-state-DZUKBmLC.js +22 -0
- package/dist/cjs/{terminals-table-DlZSKdHC.js → terminals-table-sf-s5v6D.js} +2 -2
- package/dist/cjs/{utils-l0veqT9y.js → utils-IGCnjtqc.js} +1 -1
- package/dist/cjs/{utils-B4fXt0os.js → utils-wkdkLmDI.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/checkout/bank-account-form/bank-account-form.js +2 -2
- package/dist/collection/components/checkout/billing-form/billing-form.js +1 -1
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/checkout.js +11 -2
- package/dist/collection/components/checkout/payment-method-options.js +3 -33
- 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.js +10 -12
- 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 +98 -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 +102 -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 +799 -268
- package/dist/esm/{check-pkg-version-CxnnjoM3.js → Analytics-B3nThWuq.js} +25 -25
- package/dist/esm/{Api-CZhQlPMs.js → Api-C3T8XYbb.js} +2 -2
- package/dist/esm/{Checkout-B9LrTq63.js → Checkout-CV6qgU0r.js} +2 -4
- package/dist/esm/{ComponentError-SdntD1xf.js → ComponentError-BhrFjjAs.js} +2 -0
- package/dist/esm/{Payment-BGiKmQYR.js → Payment-BEvE6jAC.js} +1 -1
- package/dist/esm/{Refund-DDIEc_gu.js → Refund-BKe90wSq.js} +1 -1
- package/dist/esm/additional-questions-details_5.entry.js +4 -4
- package/dist/esm/{badge-Bbh4S1LJ.js → badge-DHaTxWwu.js} +2 -2
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +13 -13
- package/dist/esm/{bank-account-form_9.entry.js → bank-account-form_7.entry.js} +20 -189
- package/dist/esm/billing-form-schema-BQf2Ydp0.js +24 -0
- package/dist/esm/{business-additional-questions-schema-uQlQ8fXQ.js → business-additional-questions-schema-D00MNMDJ.js} +2 -2
- package/dist/esm/business-details-core.entry.js +5 -5
- package/dist/esm/{business-identity-schema-BsrgqgDl.js → business-identity-schema-pxSsAdgG.js} +2 -2
- package/dist/esm/{business.service-CUWiJ5Un.js → business.service-BMABw2vX.js} +5 -5
- package/dist/esm/{button-BrZXQ8gb.js → button-5hc5r__m.js} +2 -2
- package/dist/esm/checkout-actions-UQ6g1s7I.js +58 -0
- package/dist/esm/{checkout.service-DqXrjRw7.js → checkout.service-jmweME4d.js} +5 -5
- package/dist/esm/checkout.store-Ffl2B_i4.js +27 -0
- package/dist/esm/checkouts-list-core.entry.js +15 -15
- package/dist/esm/{checkouts-list-params-state-BI3u1DYG.js → checkouts-list-params-state-DFWVMJRJ.js} +1 -1
- package/dist/esm/{checkouts-table-p7UZFB5v.js → checkouts-table-BS_UiHaT.js} +4 -4
- package/dist/esm/{config-state-ecb1EsvM.js → config-state-B3mtRA6f.js} +1 -1
- package/dist/esm/custom-popper_4.entry.js +9 -9
- package/dist/esm/{dispute.service-DpgnWZA1.js → dispute.service-DWQ8DPZa.js} +5 -5
- package/dist/esm/{index.esm-BCNUj0Dx.js → form-BjGUIqxU.js} +10509 -10509
- 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-lGsxANkt.js → form-control-error-text-C93L7yFm.js} +2 -2
- package/dist/esm/form-control-file-v2_2.entry.js +6 -6
- package/dist/esm/{form-control-help-text-DjU4NWmt.js → form-control-help-text-p28euWGX.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/{get-business-GEPTefIj.js → get-business-BSRtbTh7.js} +2 -2
- package/dist/esm/{get-payment-details-ChRlNtIz.js → get-payment-details-PSdVeuGc.js} +7 -7
- package/dist/esm/{get-payout-csv-D7IYYqVL.js → get-payout-csv-U_pgdPpb.js} +2 -2
- package/dist/esm/{get-subaccounts-DiROU10G.js → get-subaccounts-CownROrO.js} +8 -8
- package/dist/esm/gross-payment-chart-core.entry.js +30 -11
- package/dist/esm/{header-1-Xbhp2rfA.js → header-1-CUc5m0Ge.js} +2 -2
- package/dist/esm/{header-3-DwjHOg3C.js → header-3-BXU3iN46.js} +2 -2
- package/dist/esm/{iframe-input.entry.js → hidden-input_2.entry.js} +106 -10
- package/dist/esm/{index-Dc7aGxx-.js → index-BAq5IUBW.js} +1 -1
- package/dist/esm/{index-DeiW2BDb.js → index-N3w5zrz2.js} +38 -11
- package/dist/esm/{insurance-state-CiK3s-Fy.js → insurance-state-Br0fBMFI.js} +3 -3
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +15 -15
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +15 -15
- package/dist/esm/justifi-additional-statement_8.entry.js +11 -11
- package/dist/esm/justifi-bank-account-form.entry.js +83 -0
- package/dist/esm/justifi-billing-information-form.entry.js +48 -0
- package/dist/esm/justifi-business-details.entry.js +16 -16
- 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-card-form.entry.js +91 -0
- package/dist/esm/justifi-checkout-core.entry.js +11 -11
- package/dist/esm/justifi-checkout-summary.entry.js +19 -0
- package/dist/esm/justifi-checkout.entry.js +25 -69
- package/dist/esm/justifi-checkouts-list-filters.entry.js +12 -12
- package/dist/esm/justifi-checkouts-list.entry.js +19 -19
- 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 +2 -2
- package/dist/esm/justifi-dispute-management.entry.js +14 -14
- package/dist/esm/justifi-dispute-notification_3.entry.js +20 -20
- package/dist/esm/justifi-gross-payment-chart.entry.js +14 -14
- package/dist/esm/justifi-modular-checkout.entry.js +202 -0
- package/dist/esm/justifi-order-terminals.entry.js +19 -19
- package/dist/esm/justifi-owner-form_3.entry.js +17 -17
- package/dist/esm/justifi-payment-details.entry.js +16 -16
- package/dist/esm/justifi-payment-provisioning-core.entry.js +5 -5
- package/dist/esm/justifi-payment-provisioning.entry.js +14 -14
- package/dist/esm/justifi-payment-transactions-list.entry.js +18 -18
- package/dist/esm/justifi-payments-list-filters.entry.js +8 -8
- package/dist/esm/justifi-payments-list.entry.js +19 -19
- package/dist/esm/justifi-payout-details.entry.js +16 -16
- package/dist/esm/justifi-payout-transactions-list.entry.js +18 -18
- package/dist/esm/justifi-payouts-list-filters.entry.js +8 -8
- package/dist/esm/justifi-payouts-list.entry.js +21 -21
- package/dist/esm/justifi-postal-code-form.entry.js +47 -0
- package/dist/esm/justifi-refund-payment.entry.js +19 -19
- package/dist/esm/justifi-saved-payment-methods.entry.js +29 -0
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +7 -7
- package/dist/esm/justifi-season-interruption-insurance.entry.js +20 -22
- package/dist/esm/justifi-sezzle-payment-method.entry.js +78 -0
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +13 -13
- package/dist/esm/justifi-terminal-orders-list.entry.js +17 -17
- package/dist/esm/justifi-terminals-list-filters.entry.js +12 -12
- package/dist/esm/justifi-terminals-list.entry.js +19 -19
- package/dist/esm/justifi-tokenize-payment-method.entry.js +22 -15
- package/dist/esm/loader.js +3 -4
- package/dist/esm/{package-DCoo9Ds8.js → package-rzqedGq4.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +2 -2
- package/dist/esm/{parts-BrLVc_85.js → parts-_6eQgwfE.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-BV8Gg3vY.js → payment.service-u8UGq6gX.js} +5 -5
- package/dist/esm/payments-list-core.entry.js +16 -16
- package/dist/esm/{payments-list-params-state-BI3u1DYG.js → payments-list-params-state-DFWVMJRJ.js} +1 -1
- package/dist/esm/{payments-status-DIH2IxWy.js → payments-status-BMqVM0kB.js} +2 -2
- package/dist/esm/{payments-table-DiEtudGk.js → payments-table-BMIALfY5.js} +4 -4
- package/dist/esm/payout-details-core.entry.js +12 -12
- package/dist/esm/{payout.service-DA9Y4buU.js → payout.service-CXW3oJqI.js} +5 -5
- package/dist/esm/payouts-list-core.entry.js +16 -16
- package/dist/esm/{payouts-list-params-state-BI3u1DYG.js → payouts-list-params-state-DFWVMJRJ.js} +1 -1
- package/dist/esm/{payouts-status-ZOiWvFE-.js → payouts-status-BGGBJaXG.js} +2 -2
- package/dist/esm/{payouts-table-DbzIHwgZ.js → payouts-table-BNPc0Z6X.js} +4 -4
- package/dist/esm/{schema-validations-DLWfpHyI.js → schema-validations-C7pC-de1.js} +2 -2
- package/dist/esm/{skeleton-B9rUHFom.js → skeleton-C0KgFH0Z.js} +2 -2
- package/dist/esm/{spinner-CrzsUbgI.js → spinner-Dtab-HTx.js} +2 -2
- package/dist/esm/{styled-host-_2J3PYDn.js → styled-host-DtvbNFVU.js} +1 -1
- package/dist/esm/table-filters-menu.entry.js +4 -4
- package/dist/esm/{table-CqDcXJpP.js → table-wp341KhD.js} +3 -3
- package/dist/esm/terminal-orders-list-core.entry.js +15 -15
- package/dist/esm/{terminal-orders-list-params-state-BI3u1DYG.js → terminal-orders-list-params-state-DFWVMJRJ.js} +1 -1
- package/dist/esm/{terminal-orders-table-D7EOk3GS.js → terminal-orders-table-CzEC1eXm.js} +9 -9
- package/dist/esm/terminal-quantity-selector.entry.js +3 -3
- package/dist/esm/{terminal.service-VdIvwUEC.js → terminal.service-Cw0RbYs3.js} +5 -5
- package/dist/esm/terminals-list-core.entry.js +15 -15
- package/dist/esm/terminals-list-params-state-DFWVMJRJ.js +16 -0
- package/dist/esm/{terminals-table-C-fA-3eP.js → terminals-table-CcKZ_9re.js} +4 -4
- package/dist/esm/{utils-CcleFgVO.js → utils-BGp_IJEa.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 -21
- package/dist/module/Checkout.js +3 -3
- package/dist/module/additional-statement.js +1 -1
- package/dist/module/bank-account-form2.js +2 -2
- package/dist/module/billing-form-schema.js +24 -0
- package/dist/module/billing-form.js +3 -3
- package/dist/module/business-address-schema.js +1 -1
- package/dist/module/business-bank-account-form-step-core.js +1 -1
- package/dist/module/business-core-info-schema.js +1 -1
- package/dist/module/business-identity-schema.js +1 -1
- package/dist/module/button.js +1 -1
- package/dist/module/cancellation-policy.js +1 -1
- package/dist/module/card-form2.js +2 -2
- package/dist/module/checkout-actions.js +58 -0
- package/dist/module/checkout-core.js +32 -38
- package/dist/module/checkout.store.js +27 -0
- package/dist/module/checkouts-list-core2.js +2 -2
- 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-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/gross-payment-chart-core2.js +25 -6
- 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 +105 -0
- package/dist/module/justifi-billing-information-form.d.ts +11 -0
- package/dist/module/justifi-billing-information-form.js +94 -0
- package/dist/module/justifi-business-details.js +1 -1
- package/dist/module/justifi-business-form.js +1 -1
- package/dist/module/justifi-card-form.d.ts +11 -0
- package/dist/module/justifi-card-form.js +113 -0
- package/dist/module/justifi-checkout-summary.d.ts +11 -0
- package/dist/module/justifi-checkout-summary.js +37 -0
- package/dist/module/justifi-checkout.js +48 -99
- package/dist/module/justifi-checkouts-list-filters.js +2 -2
- package/dist/module/justifi-checkouts-list.js +2 -2
- package/dist/module/justifi-dispute-management.js +2 -2
- package/dist/module/justifi-gross-payment-chart.js +1 -1
- package/dist/module/justifi-modular-checkout.d.ts +11 -0
- package/dist/module/justifi-modular-checkout.js +218 -0
- package/dist/module/justifi-order-terminals.js +3 -3
- package/dist/module/justifi-payment-details.js +1 -1
- package/dist/module/justifi-payment-provisioning.js +1 -1
- package/dist/module/justifi-payment-transactions-list.js +3 -3
- package/dist/module/justifi-payments-list-filters.js +3 -3
- package/dist/module/justifi-payments-list.js +2 -2
- package/dist/module/justifi-payout-details.js +1 -1
- package/dist/module/justifi-payout-transactions-list.js +3 -3
- package/dist/module/justifi-payouts-list-filters.js +3 -3
- package/dist/module/justifi-payouts-list.js +2 -2
- package/dist/module/justifi-postal-code-form.d.ts +11 -0
- package/dist/module/justifi-postal-code-form.js +86 -0
- package/dist/module/justifi-refund-payment.js +1 -1
- package/dist/module/justifi-saved-payment-methods.d.ts +11 -0
- package/dist/module/justifi-saved-payment-methods.js +58 -0
- package/dist/module/justifi-season-interruption-insurance.js +9 -11
- package/dist/module/justifi-sezzle-payment-method.js +108 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +3 -3
- package/dist/module/justifi-terminal-orders-list.js +2 -2
- package/dist/module/justifi-terminals-list-filters.js +2 -2
- package/dist/module/justifi-terminals-list.js +2 -2
- package/dist/module/justifi-tokenize-payment-method.js +41 -40
- 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 +34 -51
- package/dist/module/payments-list-core2.js +2 -2
- package/dist/module/payout-details-core2.js +3 -3
- package/dist/module/payouts-list-core2.js +2 -2
- package/dist/module/product-or-service.js +1 -1
- package/dist/module/refund-policy.js +1 -1
- package/dist/module/saved-payment-method.js +2 -22
- package/dist/module/schema-validations.js +1 -1
- package/dist/module/shipping-details.js +1 -1
- package/dist/module/table-filters-menu2.js +2 -2
- package/dist/module/terminal-orders-list-core2.js +2 -2
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/terminals-list-core2.js +2 -2
- 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/checkout/checkout.d.ts +1 -0
- package/dist/types/components/checkout/payment-method-options.d.ts +0 -1
- 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 +149 -22
- 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-d6a66b58.entry.js → p-02e39fe2.entry.js} +1 -1
- package/dist/webcomponents/{p-388e3afc.entry.js → p-03ed0703.entry.js} +1 -1
- package/dist/webcomponents/{p-3ef0b42b.entry.js → p-042c6784.entry.js} +1 -1
- package/dist/webcomponents/p-05ab99e7.entry.js +1 -0
- package/dist/webcomponents/p-05d92d45.entry.js +1 -0
- package/dist/webcomponents/p-0977a99a.entry.js +1 -0
- package/dist/webcomponents/p-0a7c3741.entry.js +1 -0
- package/dist/webcomponents/p-0d8ebb69.entry.js +1 -0
- package/dist/webcomponents/{p-0e3122fd.entry.js → p-0ed08f7b.entry.js} +1 -1
- package/dist/webcomponents/{p-9814a858.entry.js → p-0fc4a0df.entry.js} +1 -1
- package/dist/webcomponents/p-0lkrqFgg.js +1 -0
- package/dist/webcomponents/p-0wMiAwXe.js +1 -0
- package/dist/webcomponents/{p-5023d221.entry.js → p-1301a9ae.entry.js} +1 -1
- package/dist/webcomponents/p-15db3b15.entry.js +1 -0
- package/dist/webcomponents/{p-d3ff71df.entry.js → p-17727dd3.entry.js} +1 -1
- package/dist/webcomponents/p-1a0f21d1.entry.js +1 -0
- package/dist/webcomponents/p-31a9d45e.entry.js +1 -0
- package/dist/webcomponents/p-33bf5d85.entry.js +1 -0
- package/dist/webcomponents/p-4126de9e.entry.js +1 -0
- package/dist/webcomponents/{p-35299b25.entry.js → p-41dffb12.entry.js} +1 -1
- package/dist/webcomponents/{p-9154c9ae.entry.js → p-46c0aa2e.entry.js} +1 -1
- package/dist/webcomponents/p-4e38dfac.entry.js +1 -0
- package/dist/webcomponents/p-4ed62ecf.entry.js +1 -0
- package/dist/webcomponents/p-5f33350c.entry.js +1 -0
- package/dist/webcomponents/{p-217c0657.entry.js → p-60abac93.entry.js} +1 -1
- package/dist/webcomponents/{p-d8f92442.entry.js → p-6286917e.entry.js} +1 -1
- package/dist/webcomponents/p-631bbd5a.entry.js +1 -0
- package/dist/webcomponents/p-63e5e6f6.entry.js +1 -0
- package/dist/webcomponents/p-64f047ea.entry.js +1 -0
- package/dist/webcomponents/{p-aa539239.entry.js → p-6d5833b4.entry.js} +1 -1
- package/dist/webcomponents/{p-b0d1afd7.entry.js → p-6f6d7a87.entry.js} +1 -1
- package/dist/webcomponents/p-6ff96203.entry.js +1 -0
- package/dist/webcomponents/p-716dc79c.entry.js +1 -0
- package/dist/webcomponents/p-738ee098.entry.js +1 -0
- package/dist/webcomponents/{p-e3a07cb8.entry.js → p-783b70b5.entry.js} +1 -1
- package/dist/webcomponents/{p-6a89c4c8.entry.js → p-7a8a06d6.entry.js} +1 -1
- package/dist/webcomponents/{p-9c9bef60.entry.js → p-7c466cc9.entry.js} +1 -1
- package/dist/webcomponents/p-7c6f2fad.entry.js +1 -0
- package/dist/webcomponents/p-7e484d46.entry.js +1 -0
- package/dist/webcomponents/{p-a60abc68.entry.js → p-83037fd2.entry.js} +1 -1
- package/dist/webcomponents/{p-410b3f65.entry.js → p-84df9f26.entry.js} +1 -1
- package/dist/webcomponents/{p-ac5f5d89.entry.js → p-8ba23f7f.entry.js} +1 -1
- package/dist/webcomponents/{p-70b87e0c.entry.js → p-8bb3513f.entry.js} +1 -1
- package/dist/webcomponents/p-8fefebd7.entry.js +1 -0
- package/dist/webcomponents/p-93a843db.entry.js +1 -0
- package/dist/webcomponents/{p-BnE7qgLh.js → p-9REosSLu.js} +1 -1
- package/dist/webcomponents/p-9b1992ef.entry.js +1 -0
- package/dist/webcomponents/p-9ba825c5.entry.js +1 -0
- package/dist/webcomponents/{p-9633ee66.entry.js → p-9c6479a4.entry.js} +1 -1
- package/dist/webcomponents/{p-29402bea.entry.js → p-9fe2281c.entry.js} +1 -1
- package/dist/webcomponents/p-BByypogb.js +1 -0
- package/dist/webcomponents/p-BI7GlCtv.js +1 -0
- package/dist/webcomponents/p-BJatoeR1.js +1 -0
- package/dist/webcomponents/p-BKatPL5G.js +1 -0
- package/dist/webcomponents/p-BXeHgiPz.js +1 -0
- package/dist/webcomponents/{p-Bjf1_zhy.js → p-BaoXNxnc.js} +1 -1
- package/dist/webcomponents/p-BgiXKaf2.js +1 -0
- package/dist/webcomponents/p-BhrFjjAs.js +1 -0
- package/dist/webcomponents/{p-DXhY2Usd.js → p-BmgpToYI.js} +1 -1
- package/dist/webcomponents/p-BnvoOeKL.js +1 -0
- package/dist/webcomponents/p-Bond4qGX.js +1 -0
- package/dist/webcomponents/p-BooprPq0.js +1 -0
- package/dist/webcomponents/{p-BTS3E50C.js → p-BxfUcCXo.js} +1 -1
- package/dist/webcomponents/{p-BC1dBUlF.js → p-C39xg5_f.js} +1 -1
- package/dist/webcomponents/{p-JOSiCHl7.js → p-C8Zhkgm5.js} +1 -1
- package/dist/webcomponents/{p-SoKRLnnI.js → p-CAdO_ZNx.js} +1 -1
- package/dist/webcomponents/p-CCPoezRw.js +1 -0
- package/dist/webcomponents/{p--B09FkmB.js → p-CFpYbRwn.js} +1 -1
- package/dist/webcomponents/p-CKRDBISo.js +1 -0
- package/dist/webcomponents/p-CXLazxt0.js +1 -0
- package/dist/webcomponents/{p-EbNktJEa.js → p-CdkOB2ri.js} +1 -1
- package/dist/webcomponents/{p-DQCcSXwL.js → p-Cf4TMP3p.js} +1 -1
- package/dist/webcomponents/p-CfBKn_Vl.js +1 -0
- package/dist/webcomponents/p-Cjf9yu8r.js +1 -0
- package/dist/webcomponents/p-Cwt_9Jzb.js +1 -0
- package/dist/webcomponents/p-D5ny0x8_.js +1 -0
- package/dist/webcomponents/{p-DzFysjCc.js → p-D7js9xfx.js} +1 -1
- package/dist/webcomponents/p-D7uH6T8P.js +1 -0
- package/dist/webcomponents/{p-ChL8tkhB.js → p-DHvfrLVU.js} +1 -1
- package/dist/webcomponents/p-DKClunJd.js +1 -0
- package/dist/webcomponents/p-DLopwJ61.js +1 -0
- package/dist/webcomponents/p-DRKOMqbX.js +1 -0
- package/dist/webcomponents/p-DXJXAroG.js +1 -0
- package/dist/webcomponents/{p-CgSqi8wc.js → p-Dcbfnfn2.js} +1 -1
- package/dist/webcomponents/{p-vTsHmSQQ.js → p-DddGO-XR.js} +1 -1
- package/dist/webcomponents/{p-CJ5VkiBV.js → p-DhyQbCOq.js} +1 -1
- package/dist/webcomponents/{p-DMNpawhg.js → p-Dqx8L05_.js} +1 -1
- package/dist/webcomponents/{p-B50n1fKP.js → p-DyvT8iXz.js} +1 -1
- package/dist/webcomponents/{p-DyCvl10I.js → p-MNmf3fQL.js} +1 -1
- package/dist/webcomponents/p-N3w5zrz2.js +2 -0
- package/dist/webcomponents/p-NqdaxjDT.js +1 -0
- package/dist/webcomponents/{p-CKAgqwwJ.js → p-Rx3SLAbu.js} +1 -1
- package/dist/webcomponents/{p-CaGTuT2-.js → p-Smvec9tp.js} +1 -1
- package/dist/webcomponents/{p-8qo1QTjv.js → p-XTXkuHkQ.js} +1 -1
- package/dist/webcomponents/{p-BrLVc_85.js → p-_6eQgwfE.js} +1 -1
- package/dist/webcomponents/{p-b95a7dc5.entry.js → p-a76e0f42.entry.js} +1 -1
- package/dist/webcomponents/{p-214d8301.entry.js → p-acdf6a5f.entry.js} +1 -1
- package/dist/webcomponents/{p-da6c0277.entry.js → p-bac895b4.entry.js} +1 -1
- package/dist/webcomponents/p-bc05e051.entry.js +1 -0
- package/dist/webcomponents/{p-d049acb4.entry.js → p-c102dea5.entry.js} +1 -1
- package/dist/webcomponents/{p-e0e3a939.entry.js → p-c4d2ff85.entry.js} +1 -1
- package/dist/webcomponents/p-cb84a2e6.entry.js +1 -0
- package/dist/webcomponents/{p-bfb2bad3.entry.js → p-cdc71a77.entry.js} +1 -1
- package/dist/webcomponents/p-ce242f4c.entry.js +1 -0
- package/dist/webcomponents/p-d0d83153.entry.js +1 -0
- package/dist/webcomponents/p-d5ada96f.entry.js +1 -0
- package/dist/webcomponents/p-d81f30f6.entry.js +1 -0
- package/dist/webcomponents/p-d90e981c.entry.js +1 -0
- package/dist/webcomponents/{p-f3d3070a.entry.js → p-da961813.entry.js} +1 -1
- package/dist/webcomponents/p-dadd593a.entry.js +1 -0
- package/dist/webcomponents/{p-2648b61f.entry.js → p-de969ec7.entry.js} +1 -1
- package/dist/webcomponents/p-e3437894.entry.js +1 -0
- package/dist/webcomponents/p-eb6f1a3f.entry.js +1 -0
- package/dist/webcomponents/p-ebc0b06d.entry.js +1 -0
- package/dist/webcomponents/p-ecfab304.entry.js +1 -0
- package/dist/webcomponents/{p-ccd256f5.entry.js → p-ef520bb8.entry.js} +1 -1
- package/dist/webcomponents/p-efa7aef1.entry.js +1 -0
- package/dist/webcomponents/p-eilUGO3o.js +1 -0
- package/dist/webcomponents/p-fd7c5ac5.entry.js +1 -0
- package/dist/webcomponents/{p-ab1353b0.entry.js → p-feea4bfd.entry.js} +6 -6
- package/dist/webcomponents/p-hDoH7hHP.js +1 -0
- package/dist/webcomponents/p-jA8bbxkp.js +1 -0
- package/dist/webcomponents/{p-Bl3ch-Ez.js → p-o5iASgog.js} +1 -1
- package/dist/webcomponents/p-pGzabKc7.js +1 -0
- package/dist/webcomponents/p-rzqedGq4.js +1 -0
- package/dist/webcomponents/p-w128-0Mj.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/iframe-input-styles-state-CFjq45QT.js +0 -26
- package/dist/cjs/terminals-list-params-state-BZPc3hJS.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/iframe-input-styles-state-BEips-at.js +0 -23
- package/dist/esm/terminals-list-params-state-BI3u1DYG.js +0 -16
- package/dist/module/sezzle-payment-method.js +0 -104
- package/dist/webcomponents/p-070a74b0.entry.js +0 -1
- package/dist/webcomponents/p-0bab65ad.entry.js +0 -1
- package/dist/webcomponents/p-0f4572d3.entry.js +0 -1
- package/dist/webcomponents/p-19f24867.entry.js +0 -1
- package/dist/webcomponents/p-2182e23d.entry.js +0 -1
- package/dist/webcomponents/p-30e036bd.entry.js +0 -1
- package/dist/webcomponents/p-342016ec.entry.js +0 -1
- package/dist/webcomponents/p-4d4aed9d.entry.js +0 -1
- package/dist/webcomponents/p-57ec45d9.entry.js +0 -1
- package/dist/webcomponents/p-5886b41e.entry.js +0 -1
- package/dist/webcomponents/p-61daf152.entry.js +0 -1
- package/dist/webcomponents/p-7ba945a9.entry.js +0 -1
- package/dist/webcomponents/p-95d4c1ec.entry.js +0 -1
- package/dist/webcomponents/p-9c7574a3.entry.js +0 -1
- package/dist/webcomponents/p-B0b_XePt.js +0 -1
- package/dist/webcomponents/p-B9zTkzgI.js +0 -1
- package/dist/webcomponents/p-BNqn5ta3.js +0 -1
- package/dist/webcomponents/p-BUJ--tSs.js +0 -1
- package/dist/webcomponents/p-BdTK0wi9.js +0 -1
- package/dist/webcomponents/p-BeW-xdck.js +0 -1
- package/dist/webcomponents/p-Bkffx_rQ.js +0 -1
- package/dist/webcomponents/p-BpDYt_Ep.js +0 -1
- package/dist/webcomponents/p-C1uPQOvi.js +0 -1
- package/dist/webcomponents/p-C2HQYreI.js +0 -1
- package/dist/webcomponents/p-C5RuuShs.js +0 -1
- package/dist/webcomponents/p-CeSHqD1r.js +0 -1
- package/dist/webcomponents/p-ClM8H2uM.js +0 -1
- package/dist/webcomponents/p-CoZ_5FVT.js +0 -1
- package/dist/webcomponents/p-CopnqpXU.js +0 -1
- package/dist/webcomponents/p-Cs0cIpIm.js +0 -1
- package/dist/webcomponents/p-D9siq_gL.js +0 -1
- package/dist/webcomponents/p-DCoo9Ds8.js +0 -1
- package/dist/webcomponents/p-DGg9nHVL.js +0 -1
- package/dist/webcomponents/p-DQuL1Twl.js +0 -1
- package/dist/webcomponents/p-DVnVdicA.js +0 -1
- package/dist/webcomponents/p-Ddc5F_89.js +0 -1
- package/dist/webcomponents/p-DeiW2BDb.js +0 -2
- package/dist/webcomponents/p-DniQ6yo6.js +0 -1
- package/dist/webcomponents/p-HiTlvG5T.js +0 -1
- package/dist/webcomponents/p-SdntD1xf.js +0 -1
- package/dist/webcomponents/p-XBoMjcoi.js +0 -1
- package/dist/webcomponents/p-_5PRoEe6.js +0 -1
- package/dist/webcomponents/p-a32ae525.entry.js +0 -1
- package/dist/webcomponents/p-aa949920.entry.js +0 -1
- package/dist/webcomponents/p-b17ed568.entry.js +0 -1
- package/dist/webcomponents/p-b59fc73d.entry.js +0 -1
- package/dist/webcomponents/p-b5c7c78d.entry.js +0 -1
- package/dist/webcomponents/p-b72eca25.entry.js +0 -1
- package/dist/webcomponents/p-b9283a1b.entry.js +0 -1
- package/dist/webcomponents/p-bO_FomzV.js +0 -1
- package/dist/webcomponents/p-bd1df685.entry.js +0 -1
- package/dist/webcomponents/p-c13538df.entry.js +0 -1
- package/dist/webcomponents/p-c535a165.entry.js +0 -1
- package/dist/webcomponents/p-c7a1439a.entry.js +0 -1
- package/dist/webcomponents/p-c80d077b.entry.js +0 -1
- package/dist/webcomponents/p-cfb4491e.entry.js +0 -1
- package/dist/webcomponents/p-d0b3a10e.entry.js +0 -1
- package/dist/webcomponents/p-d3f5c51e.entry.js +0 -1
- package/dist/webcomponents/p-d6tXI5Iw.js +0 -1
- package/dist/webcomponents/p-f03acabd.entry.js +0 -1
- package/dist/webcomponents/p-f1e54daa.entry.js +0 -1
- package/dist/webcomponents/p-hG0Fy7E9.js +0 -1
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import CardFormSkeleton from "./card-form-skeleton";
|
|
3
|
+
import { StyledHost } from "../../ui-components";
|
|
4
|
+
import JustifiAnalytics from "../../api/Analytics";
|
|
5
|
+
import { checkPkgVersion } from "../../utils/check-pkg-version";
|
|
6
|
+
import { configState, waitForConfig } from "../config-provider/config-state";
|
|
7
|
+
export class JustifiCardForm {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.isReady = false;
|
|
10
|
+
}
|
|
11
|
+
async componentWillLoad() {
|
|
12
|
+
await waitForConfig();
|
|
13
|
+
this.iframeOrigin = configState.iframeOrigin;
|
|
14
|
+
checkPkgVersion();
|
|
15
|
+
this.analytics = new JustifiAnalytics(this);
|
|
16
|
+
}
|
|
17
|
+
componentDidRender() {
|
|
18
|
+
const elements = [
|
|
19
|
+
this.cardNumberIframeElement,
|
|
20
|
+
this.expirationMonthIframeElement,
|
|
21
|
+
this.expirationYearIframeElement,
|
|
22
|
+
this.cvvIframeElement,
|
|
23
|
+
];
|
|
24
|
+
Promise.all(elements.map((element) => {
|
|
25
|
+
return new Promise((resolve) => {
|
|
26
|
+
element.addEventListener('iframeLoaded', () => { resolve(); });
|
|
27
|
+
});
|
|
28
|
+
})).then(() => {
|
|
29
|
+
this.isReady = true;
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
disconnectedCallback() {
|
|
33
|
+
var _a;
|
|
34
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
35
|
+
}
|
|
36
|
+
async validate() {
|
|
37
|
+
const cardNumberIsValid = await this.cardNumberIframeElement.validate();
|
|
38
|
+
const expirationMonthIsValid = await this.expirationMonthIframeElement.validate();
|
|
39
|
+
const expirationYearIsValid = await this.expirationYearIframeElement.validate();
|
|
40
|
+
const cvvIsValid = await this.cvvIframeElement.validate();
|
|
41
|
+
return cardNumberIsValid && expirationMonthIsValid && expirationYearIsValid && cvvIsValid;
|
|
42
|
+
}
|
|
43
|
+
async tokenize({ clientId, paymentMethodMetadata, account, }) {
|
|
44
|
+
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
45
|
+
}
|
|
46
|
+
render() {
|
|
47
|
+
return (h(StyledHost, { key: '1b42c4a2b0adbd4d98bffc0cc0355ba7b1e10474' }, h(CardFormSkeleton, { key: 'ae04801424ca38c3831b951bcb6835ffcc1ccd94', isReady: this.isReady }), h("hidden-input", { key: '55396096f088bc5cde3b003ddaa9afda6848dfda' }), h("div", { key: '18f68ac5871fcb7ba8ce270bb552871709f468dd', class: "container-fluid p-0", style: {
|
|
48
|
+
opacity: this.isReady ? '1' : '0',
|
|
49
|
+
height: this.isReady ? 'auto' : '0',
|
|
50
|
+
} }, h("div", { key: '3c9711c64c5d60a121545394c22c382be93882ed', class: "mb-3" }, h("iframe-input", { key: '45401d0f9f8abd4197bd6651c28f531562431989', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: '60bae8a0fb35d86ec46d59f400e86af4a97d4c6a', class: "row" }, h("div", { key: '44883bb16cd5bb65fefb8e6b627b52625c2776d3', class: "col-4 align-content-end" }, h("iframe-input", { key: 'a9df6d2a23e7f586f08623a9e14c19264252c8e7', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: '5436effb8f457cb4dae945e3d7ca29c9441df724', class: "col-4 align-content-end" }, h("iframe-input", { key: '550096ddd5488e3cd11b0ab6985636eedc8f0dda', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: 'a6a207066d6ef70c7c3545d9412eb6be0d252062', class: "col-4 align-content-end" }, h("iframe-input", { key: '74a1bec5108a25f6e6f953abf25bc756293dea99', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
|
|
51
|
+
}
|
|
52
|
+
static get is() { return "justifi-card-form"; }
|
|
53
|
+
static get encapsulation() { return "shadow"; }
|
|
54
|
+
static get states() {
|
|
55
|
+
return {
|
|
56
|
+
"isReady": {},
|
|
57
|
+
"iframeOrigin": {}
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
static get methods() {
|
|
61
|
+
return {
|
|
62
|
+
"validate": {
|
|
63
|
+
"complexType": {
|
|
64
|
+
"signature": "() => Promise<any>",
|
|
65
|
+
"parameters": [],
|
|
66
|
+
"references": {
|
|
67
|
+
"Promise": {
|
|
68
|
+
"location": "global",
|
|
69
|
+
"id": "global::Promise"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"return": "Promise<any>"
|
|
73
|
+
},
|
|
74
|
+
"docs": {
|
|
75
|
+
"text": "",
|
|
76
|
+
"tags": []
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"tokenize": {
|
|
80
|
+
"complexType": {
|
|
81
|
+
"signature": "({ clientId, paymentMethodMetadata, account, }: { clientId: string; paymentMethodMetadata: any; account?: string; }) => Promise<any>",
|
|
82
|
+
"parameters": [{
|
|
83
|
+
"name": "__0",
|
|
84
|
+
"type": "{ clientId: string; paymentMethodMetadata: any; account?: string; }",
|
|
85
|
+
"docs": ""
|
|
86
|
+
}],
|
|
87
|
+
"references": {
|
|
88
|
+
"Promise": {
|
|
89
|
+
"location": "global",
|
|
90
|
+
"id": "global::Promise"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"return": "Promise<any>"
|
|
94
|
+
},
|
|
95
|
+
"docs": {
|
|
96
|
+
"text": "",
|
|
97
|
+
"tags": []
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { StyledHost } from "../../ui-components";
|
|
3
|
+
import { numberOnlyHandler } from "../../ui-components/form/utils";
|
|
4
|
+
import { FormController } from "../../ui-components/form/form";
|
|
5
|
+
import { billingFormSchema } from "./billing-form-schema";
|
|
6
|
+
export class PostalCodeForm {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.errors = {};
|
|
9
|
+
this.inputHandler = (name, value) => {
|
|
10
|
+
this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
componentWillLoad() {
|
|
14
|
+
this.formController = new FormController(billingFormSchema(true));
|
|
15
|
+
}
|
|
16
|
+
componentDidLoad() {
|
|
17
|
+
this.formController.values.subscribe(values => this.billingInfo = Object.assign({}, values));
|
|
18
|
+
this.formController.errors.subscribe(errors => {
|
|
19
|
+
this.errors = Object.assign({}, errors);
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
async getValues() {
|
|
23
|
+
return this.formController.values.getValue();
|
|
24
|
+
}
|
|
25
|
+
async fill(fields) {
|
|
26
|
+
this.formController.setInitialValues(fields);
|
|
27
|
+
}
|
|
28
|
+
async validate() {
|
|
29
|
+
let isValid = await this.formController.validate();
|
|
30
|
+
return { isValid: isValid };
|
|
31
|
+
}
|
|
32
|
+
render() {
|
|
33
|
+
const billingFormDefaultValue = this.formController.getInitialValues();
|
|
34
|
+
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 }))));
|
|
35
|
+
}
|
|
36
|
+
static get is() { return "justifi-postal-code-form"; }
|
|
37
|
+
static get encapsulation() { return "shadow"; }
|
|
38
|
+
static get states() {
|
|
39
|
+
return {
|
|
40
|
+
"formController": {},
|
|
41
|
+
"billingInfo": {},
|
|
42
|
+
"errors": {}
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
static get methods() {
|
|
46
|
+
return {
|
|
47
|
+
"getValues": {
|
|
48
|
+
"complexType": {
|
|
49
|
+
"signature": "() => Promise<BillingFormFields>",
|
|
50
|
+
"parameters": [],
|
|
51
|
+
"references": {
|
|
52
|
+
"Promise": {
|
|
53
|
+
"location": "global",
|
|
54
|
+
"id": "global::Promise"
|
|
55
|
+
},
|
|
56
|
+
"BillingFormFields": {
|
|
57
|
+
"location": "import",
|
|
58
|
+
"path": "./billing-form-schema",
|
|
59
|
+
"id": "src/components/modular-checkout-parts/billing-form-schema.ts::BillingFormFields"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"return": "Promise<BillingFormFields>"
|
|
63
|
+
},
|
|
64
|
+
"docs": {
|
|
65
|
+
"text": "",
|
|
66
|
+
"tags": []
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"fill": {
|
|
70
|
+
"complexType": {
|
|
71
|
+
"signature": "(fields: BillingFormFields) => Promise<void>",
|
|
72
|
+
"parameters": [{
|
|
73
|
+
"name": "fields",
|
|
74
|
+
"type": "BillingFormFields",
|
|
75
|
+
"docs": ""
|
|
76
|
+
}],
|
|
77
|
+
"references": {
|
|
78
|
+
"Promise": {
|
|
79
|
+
"location": "global",
|
|
80
|
+
"id": "global::Promise"
|
|
81
|
+
},
|
|
82
|
+
"BillingFormFields": {
|
|
83
|
+
"location": "import",
|
|
84
|
+
"path": "./billing-form-schema",
|
|
85
|
+
"id": "src/components/modular-checkout-parts/billing-form-schema.ts::BillingFormFields"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"return": "Promise<void>"
|
|
89
|
+
},
|
|
90
|
+
"docs": {
|
|
91
|
+
"text": "",
|
|
92
|
+
"tags": []
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"validate": {
|
|
96
|
+
"complexType": {
|
|
97
|
+
"signature": "() => Promise<{ isValid: boolean; }>",
|
|
98
|
+
"parameters": [],
|
|
99
|
+
"references": {
|
|
100
|
+
"Promise": {
|
|
101
|
+
"location": "global",
|
|
102
|
+
"id": "global::Promise"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"return": "Promise<{ isValid: boolean; }>"
|
|
106
|
+
},
|
|
107
|
+
"docs": {
|
|
108
|
+
"text": "",
|
|
109
|
+
"tags": []
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { StyledHost } from "../../ui-components";
|
|
3
|
+
import checkoutStore from "../../store/checkout.store";
|
|
4
|
+
import { radioListItem } from "../../styles/parts";
|
|
5
|
+
import { CardBrandLabels } from "../checkout/payment-method-option-utils";
|
|
6
|
+
export class SavedPaymentMethods {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.onPaymentMethodOptionClick = (paymentMethodId) => (e) => {
|
|
9
|
+
e.preventDefault();
|
|
10
|
+
checkoutStore.selectedPaymentMethod = paymentMethodId;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
componentWillLoad() {
|
|
14
|
+
if (!checkoutStore.paymentMethods.length) {
|
|
15
|
+
console.warn('No saved payment methods available.');
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
render() {
|
|
19
|
+
return (h(StyledHost, { key: '7bebb3f8ff2a2abe400e1d099154a1729913140c' }, h("div", { key: '3a5798c5ceba63160dceecb0dc65f8a211bb5110', class: "saved-payment-methods" }, checkoutStore.paymentMethods.length ? checkoutStore.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: checkoutStore.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)));
|
|
20
|
+
}
|
|
21
|
+
static get is() { return "justifi-saved-payment-methods"; }
|
|
22
|
+
static get encapsulation() { return "shadow"; }
|
|
23
|
+
}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { formatCurrency } from "../../utils/utils";
|
|
3
|
+
import { radioListItem } from "../../styles/parts";
|
|
4
|
+
import checkoutStore from "../../store/checkout.store";
|
|
5
|
+
import { StyledHost } from "../../ui-components";
|
|
6
|
+
const sezzleLogo = (h("img", { class: "sezzle-smart-button-logo-img", src: "https://media.sezzle.com/branding/2.0/Sezzle_Logo_FullColor.svg", alt: "Sezzle", style: {
|
|
7
|
+
display: 'inline',
|
|
8
|
+
width: '80px',
|
|
9
|
+
marginLeft: '5px',
|
|
10
|
+
marginTop: '-5px',
|
|
11
|
+
} }));
|
|
12
|
+
export class SezzlePaymentMethod {
|
|
13
|
+
constructor() {
|
|
14
|
+
this.paymentMethodOptionId = 'sezzle';
|
|
15
|
+
this.onPaymentMethodOptionClick = (e) => {
|
|
16
|
+
e.preventDefault();
|
|
17
|
+
checkoutStore.selectedPaymentMethod = this.paymentMethodOptionId;
|
|
18
|
+
this.paymentMethodOptionSelected.emit(this.paymentMethodOptionId);
|
|
19
|
+
};
|
|
20
|
+
this.initializeSezzleCheckout = () => {
|
|
21
|
+
let resolveSezzlePromise;
|
|
22
|
+
this.sezzlePromise = new Promise((resolve) => { resolveSezzlePromise = resolve; });
|
|
23
|
+
const amount = Number(checkoutStore.paymentAmount);
|
|
24
|
+
const Checkout = window.Checkout;
|
|
25
|
+
const checkout = new Checkout({
|
|
26
|
+
mode: 'popup',
|
|
27
|
+
publicKey: checkoutStore.bnplProviderClientId,
|
|
28
|
+
apiMode: checkoutStore.bnplProviderMode,
|
|
29
|
+
apiVersion: checkoutStore.bnplProviderApiVersion,
|
|
30
|
+
});
|
|
31
|
+
checkout.sezzleButtonElement = this.sezzleButtonRef;
|
|
32
|
+
checkout.init({
|
|
33
|
+
onClick: function (event) {
|
|
34
|
+
event.preventDefault();
|
|
35
|
+
checkout.startCheckout({
|
|
36
|
+
checkout_url: checkoutStore.bnplProviderCheckoutUrl,
|
|
37
|
+
});
|
|
38
|
+
},
|
|
39
|
+
onComplete: (event) => resolveSezzlePromise({ bnpl: event.data }),
|
|
40
|
+
onCancel: (event) => resolveSezzlePromise({ bnpl: event.data }),
|
|
41
|
+
onFailure: (event) => resolveSezzlePromise({ bnpl: event.data }),
|
|
42
|
+
});
|
|
43
|
+
this.sezzleCheckout = checkout;
|
|
44
|
+
this.installmentPlan = this.sezzleCheckout.getInstallmentPlan(amount);
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
componentDidRender() {
|
|
48
|
+
if (!this.scriptRef)
|
|
49
|
+
return;
|
|
50
|
+
this.scriptRef.onload = () => {
|
|
51
|
+
this.sezzleButtonRef = document.createElement('button');
|
|
52
|
+
this.initializeSezzleCheckout();
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
async resolvePaymentMethod(insuranceValidation) {
|
|
56
|
+
if (!insuranceValidation.isValid) {
|
|
57
|
+
return { validationError: true };
|
|
58
|
+
}
|
|
59
|
+
this.sezzleButtonRef.click();
|
|
60
|
+
return this.sezzlePromise;
|
|
61
|
+
}
|
|
62
|
+
render() {
|
|
63
|
+
var _a, _b;
|
|
64
|
+
if (!checkoutStore.bnplEnabled) {
|
|
65
|
+
console.warn('justifi-sezzle-payment-method: BNPL is not enabled for this account.');
|
|
66
|
+
return null;
|
|
67
|
+
}
|
|
68
|
+
return (h(StyledHost, { class: "payment-method" }, h("script", { src: "https://checkout-sdk.sezzle.com/checkout.min.js", async: true, ref: (el) => (this.scriptRef = el) }), h("div", { class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { name: "paymentMethodType", value: this.paymentMethodOptionId, checked: checkoutStore.selectedPaymentMethod === this.paymentMethodOptionId, label: h("div", null, h("div", null, "Buy now, pay later with ", sezzleLogo), this.installmentPlan && (h("small", null, h("span", null, (_a = this.installmentPlan) === null || _a === void 0 ? void 0 : _a.installments.length), "\u00A0", h("span", null, this.installmentPlan.schedule, " payments of"), "\u00A0", h("span", { class: "fw-bold" }, formatCurrency((_b = this.installmentPlan) === null || _b === void 0 ? void 0 : _b.installments[0].amountInCents))))) }))));
|
|
69
|
+
}
|
|
70
|
+
static get is() { return "justifi-sezzle-payment-method"; }
|
|
71
|
+
static get encapsulation() { return "shadow"; }
|
|
72
|
+
static get states() {
|
|
73
|
+
return {
|
|
74
|
+
"installmentPlan": {},
|
|
75
|
+
"sezzleCheckout": {},
|
|
76
|
+
"sezzlePromise": {}
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
static get events() {
|
|
80
|
+
return [{
|
|
81
|
+
"method": "paymentMethodOptionSelected",
|
|
82
|
+
"name": "paymentMethodOptionSelected",
|
|
83
|
+
"bubbles": true,
|
|
84
|
+
"cancelable": true,
|
|
85
|
+
"composed": true,
|
|
86
|
+
"docs": {
|
|
87
|
+
"tags": [],
|
|
88
|
+
"text": ""
|
|
89
|
+
},
|
|
90
|
+
"complexType": {
|
|
91
|
+
"original": "any",
|
|
92
|
+
"resolved": "any",
|
|
93
|
+
"references": {}
|
|
94
|
+
}
|
|
95
|
+
}];
|
|
96
|
+
}
|
|
97
|
+
static get methods() {
|
|
98
|
+
return {
|
|
99
|
+
"resolvePaymentMethod": {
|
|
100
|
+
"complexType": {
|
|
101
|
+
"signature": "(insuranceValidation: any) => Promise<PaymentMethodPayload>",
|
|
102
|
+
"parameters": [{
|
|
103
|
+
"name": "insuranceValidation",
|
|
104
|
+
"type": "any",
|
|
105
|
+
"docs": ""
|
|
106
|
+
}],
|
|
107
|
+
"references": {
|
|
108
|
+
"Promise": {
|
|
109
|
+
"location": "global",
|
|
110
|
+
"id": "global::Promise"
|
|
111
|
+
},
|
|
112
|
+
"PaymentMethodPayload": {
|
|
113
|
+
"location": "import",
|
|
114
|
+
"path": "../checkout/payment-method-payload",
|
|
115
|
+
"id": "src/components/checkout/payment-method-payload.ts::PaymentMethodPayload"
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"return": "Promise<PaymentMethodPayload>"
|
|
119
|
+
},
|
|
120
|
+
"docs": {
|
|
121
|
+
"text": "",
|
|
122
|
+
"tags": []
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { text } from "../../styles/parts";
|
|
3
|
+
import { formatCurrency } from "../../utils/utils";
|
|
4
|
+
import checkoutStore from "../../store/checkout.store";
|
|
5
|
+
import { StyledHost } from "../../ui-components";
|
|
6
|
+
export class Summary {
|
|
7
|
+
render() {
|
|
8
|
+
return (h(StyledHost, { key: '9a2eea1693287ad73dfedd3ddc24e949e9d75148' }, h("section", { key: '1943be6cef0c4a1c830ddfc14d893c3906482534' }, h("div", { key: 'cf3f41d3dd3c9829d93d7e56e3d2dfabbd99ccef' }, h("div", { key: 'b5bc944a5310252dc0720e3e7d709f1a57f898c8', part: text }, checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.paymentDescription), h("div", { key: 'dbe53880d7c3ff8d4513a570e1b024f1e2f43028' }, h("span", { key: 'd8986a9265463d8f9d7f62598cc4ec3203081c09', part: text }, "Total"), "\u00A0", h("span", { key: '32cbc6e259fdee2c71ad72fcf59ab157704c4758', part: text }, formatCurrency(+(checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.totalAmount))))))));
|
|
9
|
+
}
|
|
10
|
+
static get is() { return "justifi-checkout-summary"; }
|
|
11
|
+
static get encapsulation() { return "shadow"; }
|
|
12
|
+
}
|
|
@@ -126,7 +126,7 @@ export class OrderTerminals {
|
|
|
126
126
|
return (h("div", { class: "mt-3" }, h("div", { class: "text-end" }, "Order limit: ", this.orderLimit), h("div", { class: "d-flex justify-content-end mt-3" }, h("button", { class: "btn btn-primary submit-btn", onClick: this.submitOrder.bind(this), disabled: this.order.totalQuantity === 0 || this.submitting, part: buttonPrimary }, this.submitting ? 'Submitting...' : this.submitButtonText))));
|
|
127
127
|
}
|
|
128
128
|
render() {
|
|
129
|
-
return (h(StyledHost, { key: '
|
|
129
|
+
return (h(StyledHost, { key: '80d01331179298720ebc453702a6db644ea51ff4' }, h("div", { key: '895f5315bf90607eae80c6cd471d8adcab542d14', part: text }, this.renderLoading(), this.renderBusinessDetails(), this.renderTerminals(), this.renderOrderSection())));
|
|
130
130
|
}
|
|
131
131
|
static get is() { return "justifi-order-terminals"; }
|
|
132
132
|
static get encapsulation() { return "shadow"; }
|
|
@@ -18,7 +18,7 @@ export class TerminalQuantitySelector {
|
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h("div", { key: '
|
|
21
|
+
return (h("div", { key: 'acd6ffec348aed5fa500a6d7e49c886a3fe8a59f', class: "rounded shadow-sm card p-2", part: card }, h("div", { key: '89933c07745fbeb3603f8bdf07d99553a7de1e6c', class: "d-flex gap-3" }, h("div", { key: 'c1b6517d5ebd32e1a5bf1c5537e1d19b00510286', class: "d-flex align-items-center" }, h("img", { key: '9458553216d0ed9668d08bf4ea2105dc9e53c938', src: this.imageUrl, alt: this.modelName, height: 75, width: 75, part: image })), h("div", { key: '14fd39b7055f78d42b14a6cb6dc35d42a3c7b33e', class: "d-flex flex-column flex-grow-1 gap-3 p-4 justify-content-center" }, h("div", { key: 'eeb5d39bd39919aba43e86ceda4268f4e3473e7a', class: "row" }, h("div", { key: 'e31e24896792a532b0a218bc69312266638a6d15', class: "col-6 d-flex gap-2" }, this.modelName, h("form-control-tooltip", { key: 'c8561458f795ed7e289a4a4a8963a3791173a19a', helpText: this.description })), h("div", { key: 'ecafe47bcc37130a54880280c95db10709cb68a8', class: "col-6 d-flex justify-content-end align-items-center" }, h("button", { key: 'ef2ffb65f7d33e2bd1b940b1af19ed66621222ed', class: "p-0 minus btn", onClick: this.removeUnit, part: buttonLink }, "-"), h("div", { key: '8e18e05026e106d2e180e97b7011697f7e36288a', class: "w-25 text-center" }, this.selectedQuantity), h("button", { key: 'e361f1bb9760a32a779f62974b89464cf870728a', class: "p-0 plus btn", onClick: this.addUnit, part: buttonLink }, "+")))))));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "terminal-quantity-selector"; }
|
|
24
24
|
static get properties() {
|
|
@@ -38,16 +38,16 @@ export class PaymentDetailsCore {
|
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
|
-
return (h(StyledHost, { key: '
|
|
42
|
-
this.payment && (h("justifi-details", { key: '
|
|
43
|
-
h(DetailSectionTitle, { key: '
|
|
44
|
-
h("div", { key: '
|
|
41
|
+
return (h(StyledHost, { key: '1d796db87530f0bf361f958ebf32d7b07e717738' }, this.loading && h(PaymentDetailsLoading, { key: '984ce8660178c8ab6700f8978ffe98e8e7fb94cf' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
|
|
42
|
+
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 && [
|
|
43
|
+
h(DetailSectionTitle, { key: '1dfaeccd9b79e554dd7d9c77c2ac590fd0b3d5ef', sectionTitle: "Payment Method" }),
|
|
44
|
+
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 }))
|
|
45
45
|
], this.payment.payment_method.bank_account && [
|
|
46
|
-
h(DetailSectionTitle, { key: '
|
|
47
|
-
h("div", { key: '
|
|
46
|
+
h(DetailSectionTitle, { key: '03e24cfe64d0d96793e4795f2aee3753cd2fb646', sectionTitle: "Payment Method" }),
|
|
47
|
+
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 }))
|
|
48
48
|
], this.payment.metadata && [
|
|
49
|
-
h(DetailSectionTitle, { key: '
|
|
50
|
-
h("div", { key: '
|
|
49
|
+
h(DetailSectionTitle, { key: 'dc48f8084e20957839cad339ce004c81133a16db', sectionTitle: 'Metadata' }),
|
|
50
|
+
h("div", { key: 'cf724626bd10bb1bad97ed855fc0f2bdb3b9e043', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'dfe7f52a5ed42c2f737e411fb65459744fce1d7f', metadata: this.payment.metadata }))
|
|
51
51
|
])))));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "payment-details-core"; }
|
|
@@ -91,7 +91,7 @@ export class PaymentTransactionsList {
|
|
|
91
91
|
return !this.showEmptyState && !this.showErrorState && !this.isLoading;
|
|
92
92
|
}
|
|
93
93
|
render() {
|
|
94
|
-
return (h(StyledHost, { key: '
|
|
94
|
+
return (h(StyledHost, { key: '2e6911991eb1fc44421771f3eaeaab5b56a428a7' }, h(TableWrapper, { key: '316b7fbfd053e46cf13867e339af620348a9eab6' }, h(TableComponent, { key: 'fb9e5747d296827057127ba02b129813acdf8697' }, h(TableHead, { key: 'e18cb6967b4fc7a87e6446331b749a661152ae15' }, h(TableHeadRow, { key: 'e6826933dda843935998e30de46c282822f52015' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: '25ec99be29c6cfd4c73268ba9bdd3bd27dd111d3' }, h(TableLoadingState, { key: 'd4543307e31e2c697958118c7cce3175a04a23da', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '729b803595deed86cb03fee9bce764a7652f167f', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: 'a774dd4abc6d1d0f36e9bf5d5a9c851cca632181', columnSpan: this.transactionsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.transactionsTable.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: 'f986ae746e06bf1ec934a6adc5149a9ced344c1e' }, h(TableFootRow, { key: '622645b9ca816156183d08f71806bca804ddbc8b' }, h(TableFootCell, { key: '672fa0fd592029908aaa88dddbfb5db90d14f7e6', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '60538e822fbf8279ec428c82e2fd9cf53a9d1b44', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
95
95
|
}
|
|
96
96
|
static get is() { return "justifi-payment-transactions-list"; }
|
|
97
97
|
static get encapsulation() { return "shadow"; }
|
|
@@ -83,7 +83,7 @@ export class PaymentsListCore {
|
|
|
83
83
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
84
84
|
}
|
|
85
85
|
render() {
|
|
86
|
-
return (h(TableWrapper, { key: '
|
|
86
|
+
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 }) }))))))));
|
|
87
87
|
}
|
|
88
88
|
static get is() { return "payments-list-core"; }
|
|
89
89
|
static get properties() {
|
|
@@ -43,8 +43,8 @@ export class PaymentsListFilters {
|
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
45
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
46
|
-
return (h(StyledHost, { key: '
|
|
47
|
-
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterPaymentsListFilterParam })), h("div", { key: '
|
|
46
|
+
return (h(StyledHost, { key: '391445459edaf4d91dae9473cc48c5ed547e6ef4' }, h("table-filters-menu", { key: 'd07285a19096df128f64c820d9fadb1178c7bfa2', params: filterMenuParams, clearParams: clearParams, part: paymentsListFilterMenu }, h("div", { key: 'a01f3600c114340ca0252799889cfb0abe93c8c6', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '65c2067c8f974cda96ecd012503cd50f21af1dbe', class: "p-2" }, h("form-control-text", { key: 'a6cd04a16bd34a32a760f42be8d604892fd0eb91', name: "payment_id", label: "Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.paymentId || filterParams.payment_id, disabled: !!this.paymentId, part: paymentIdPaymentsListFilterParam })), h("div", { key: '646c31fb7cdbe3ac411ea02f24f81d60b2a32c23', class: "p-2" }, h("form-control-text", { key: '693f22ca4b96f33e5eeb475ad86e78992df95fb8', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdPaymentsListFilterParam })), h("div", { key: 'a5e96c84a9864c74bda22d398f388afd6b9f77df', class: "p-2" }, h("form-control-select", { key: '6c5c6a3a2d0763af151c46b8f8ad27eed63356f3', name: "payment_status", label: "Status", options: this.paymentStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentStatus || filterParams.payment_status, disabled: !!this.paymentStatus, part: paymentStatusPaymentsListFilterParam })), h("div", { key: '2716ec9b9fa8944d0a6f6a47ee460c5a62b51ff3', class: "p-2" }, h("form-control-date", { key: '7465c4b321beb78151408ec4cfad2074e75a1eaa', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
|
|
47
|
+
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterPaymentsListFilterParam })), h("div", { key: '396bd5ec578e99342321887773d2c5b58215fec6', class: "p-2" }, h("form-control-date", { key: 'd5e3fbae8412ad820c50be18c17db52852f5d3a9', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
|
|
48
48
|
convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: createdBeforePaymentsListFilterParam }))))));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "justifi-payments-list-filters"; }
|
|
@@ -46,7 +46,7 @@ export class PaymentsList {
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
|
-
return (h(StyledHost, { key: '
|
|
49
|
+
return (h(StyledHost, { key: '44d6afd6b784b099b5b222b525bdd474aec5aa19' }, h("payments-list-core", { key: 'b17f29330af9a87bbe81be7ba1db45fa9398f0cd', getPayments: this.getPayments, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
50
50
|
}
|
|
51
51
|
static get is() { return "justifi-payments-list"; }
|
|
52
52
|
static get encapsulation() { return "shadow"; }
|
|
@@ -52,9 +52,9 @@ export class PayoutDetailsCore {
|
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
54
|
var _a;
|
|
55
|
-
return (h(StyledHost, { key: '
|
|
56
|
-
h(DetailSectionTitle, { key: '
|
|
57
|
-
h("div", { key: '
|
|
55
|
+
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 && [
|
|
56
|
+
h(DetailSectionTitle, { key: '1eaca03125f7e50c62c7f731a7442c088858a317', sectionTitle: 'Metadata' }),
|
|
57
|
+
h("div", { key: '1368c90f240c2ea2e6711603d8599025dce2dd82', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '52ec68588672ffa71ff98139e9d7ae193fbd55bd', metadata: this.payout.metadata }))
|
|
58
58
|
])))));
|
|
59
59
|
}
|
|
60
60
|
static get is() { return "payout-details-core"; }
|
|
@@ -95,7 +95,7 @@ export class PayoutTransactionsList {
|
|
|
95
95
|
return Object.assign({ payout_id: this.payoutId, limit: '15' }, this.pagingParams);
|
|
96
96
|
}
|
|
97
97
|
render() {
|
|
98
|
-
return (h(StyledHost, { key: '
|
|
98
|
+
return (h(StyledHost, { key: '6c624e5edba69e17a4cab229b90beb9d2ecda69d' }, h(TableWrapper, { key: '449f93393a5e2b1aa2dd0f4f136e264fde27a9a4' }, h(TableComponent, { key: 'de857828525be5df2e383859ac51e8b0719422fd' }, h(TableHead, { key: 'c3f2ae5ff5ae6f78a587bee899d68b3e7934cf41' }, h(TableHeadRow, { key: '57ddf8fcaafa22cf3e6137a3de82550748ac9288' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: '9f634545f5afd44dab4b2a16ec630efeeee18f52' }, h(TableLoadingState, { key: '12ffb167f61de13a91c05f6c93304ff1b688d734', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '5453befdfcd1764163cc9c1a9c51f5f35e7c2c62', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '19f22366e49c1022f0bf96839bac88c76892d62d', columnSpan: this.transactionsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.transactionsTable.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: 'e86e144a90d9010e866bd48d96d24c613ebeb8ef' }, h(TableFootRow, { key: '6e4bee39a0c426332331128b27560218adc888e4' }, h(TableFootCell, { key: '9becbcedb44ad9f9d1ed7ef5725af087178b6829', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '17582aa7347e31457c8f29af49ccc4dcc60d3d04', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
99
99
|
}
|
|
100
100
|
static get is() { return "justifi-payout-transactions-list"; }
|
|
101
101
|
static get encapsulation() { return "shadow"; }
|
|
@@ -135,7 +135,7 @@ export class PayoutsListCore {
|
|
|
135
135
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
136
136
|
}
|
|
137
137
|
render() {
|
|
138
|
-
return (h(TableWrapper, { key: '
|
|
138
|
+
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 }) }))))))));
|
|
139
139
|
}
|
|
140
140
|
static get is() { return "payouts-list-core"; }
|
|
141
141
|
static get properties() {
|
|
@@ -26,8 +26,8 @@ export class PayoutsListFilters {
|
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
28
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
29
|
-
return (h(StyledHost, { key: '
|
|
30
|
-
convertToLocal(filterParams.created_after, { showInputDate: true }), disabled: !!this.createdAfter, part: createdAfterPayoutsListFilterParam })), h("div", { key: '
|
|
29
|
+
return (h(StyledHost, { key: '05c16ac0eda9f43a8fea014e92788a9d1dd5726b' }, h("table-filters-menu", { key: '4ff930a4cf5410fcdee019be664f7f56992f293e', params: filterMenuParams, clearParams: clearParams, part: payoutsListFilterMenu }, h("div", { key: '2cecc576a4fd6779ea866b56e7623351de3cf6e8', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '34864c377740cb9415259c893a18b13d15a98534', class: "p-2" }, h("form-control-date", { key: '72481e53e0aac0b9e2cffdc22c59da302b5a638d', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDate: true }) ||
|
|
30
|
+
convertToLocal(filterParams.created_after, { showInputDate: true }), disabled: !!this.createdAfter, part: createdAfterPayoutsListFilterParam })), h("div", { key: '8edb0b5a2693211f9acf608d3ed8f101c4315648', class: "p-2" }, h("form-control-date", { key: '520f02a76b921590e3b43cd8e2a17f120278c90a', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDate: true }) ||
|
|
31
31
|
convertToLocal(filterParams.created_before, { showInputDate: true }), disabled: !!this.createdBefore, part: createdBeforePayoutsListFilterParam }))))));
|
|
32
32
|
}
|
|
33
33
|
static get is() { return "justifi-payouts-list-filters"; }
|