@justifi/webcomponents 5.7.3-rc-01 → 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/{Checkout-BsYZoJ0a.js → Checkout-BTgAlgVL.js} +3 -3
- package/dist/cjs/{Refund-BDFOEJv_.js → Refund-BFE-2OxN.js} +56 -0
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +3 -4
- package/dist/cjs/{justifi-bank-account-form.cjs.entry.js → bank-account-form.cjs.entry.js} +8 -30
- package/dist/cjs/{business-additional-questions-schema-CHOaeZot.js → business-additional-questions-schema-e3GCIHk5.js} +6 -6
- package/dist/cjs/{business-identity-schema-DmpEndsx.js → business-identity-schema-Diqj_WVQ.js} +10 -10
- package/dist/cjs/{business.service-ev-3rHag.js → business.service-DNoCHqtI.js} +2 -3
- package/dist/cjs/{justifi-card-form.cjs.entry.js → card-form.cjs.entry.js} +9 -31
- package/dist/cjs/{Analytics-DYN4hp2b.js → check-pkg-version-CgQ8N_ta.js} +22 -23
- package/dist/cjs/{checkout.service-D4hTYr1i.js → checkout.service-C3R0uykH.js} +2 -3
- package/dist/cjs/checkouts-list-core.cjs.entry.js +2 -3
- package/dist/cjs/{custom-popper_4.cjs.entry.js → custom-popper_2.cjs.entry.js} +0 -100
- package/dist/cjs/{dispute.service-Dru9NStj.js → dispute.service-CaA-mq-i.js} +2 -3
- package/dist/cjs/form-control-select_2.cjs.entry.js +105 -0
- package/dist/cjs/{get-payment-details-AOibpML7.js → get-payment-details-CnPsEZA8.js} +2 -3
- package/dist/cjs/{get-subaccounts-Dw7CbPDi.js → get-subaccounts-CgOAdXG4.js} +2 -3
- package/dist/cjs/hidden-input_2.cjs.entry.js +1 -1
- package/dist/cjs/{form-CWW8IM-X.js → index.esm-CVuJLXJZ.js} +10022 -10022
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +49 -23
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +9 -10
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +34 -34
- package/dist/cjs/justifi-bank-account-form_4.cjs.entry.js +234 -0
- package/dist/cjs/{justifi-billing-information-form.cjs.entry.js → justifi-billing-information-form_2.cjs.entry.js} +58 -6
- package/dist/cjs/justifi-business-details.cjs.entry.js +7 -8
- package/dist/cjs/justifi-business-form.cjs.entry.js +13 -14
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +1 -1
- package/dist/cjs/{justifi-modular-checkout.cjs.entry.js → justifi-checkout-summary_2.cjs.entry.js} +23 -11
- package/dist/cjs/justifi-checkout.cjs.entry.js +92 -48
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +2 -3
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +8 -9
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +7 -8
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +7 -8
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +6 -7
- package/dist/cjs/justifi-new-payment-method.cjs.entry.js +99 -0
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +8 -9
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payment-details.cjs.entry.js +8 -9
- package/dist/cjs/justifi-payment-method-options_3.cjs.entry.js +166 -0
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payments-list.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payout-details.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +8 -9
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +15 -16
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +32 -0
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +7 -8
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +2 -3
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +7 -8
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +2 -3
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +8 -9
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +6 -7
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-DF9mLjoQ.js → package-wSbEFwqE.js} +1 -1
- package/dist/cjs/{payment.service-rsnscZu7.js → payment.service-C-HKmIG6.js} +2 -3
- package/dist/cjs/payments-list-core.cjs.entry.js +2 -3
- package/dist/cjs/{payout.service-BnmI3X4n.js → payout.service-BHU3EPR2.js} +2 -3
- package/dist/cjs/payouts-list-core.cjs.entry.js +2 -3
- package/dist/cjs/{schema-validations-C0BNwMBi.js → schema-validations-BSeMee-o.js} +31 -54
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +3 -4
- package/dist/cjs/{terminal-orders-table-OxMHSAJ1.js → terminal-orders-table-C3KZTeE5.js} +2 -3
- package/dist/cjs/{terminal.service--PPaq5xS.js → terminal.service-Bc1YJWi0.js} +2 -3
- package/dist/cjs/terminals-list-core.cjs.entry.js +2 -3
- package/dist/cjs/webcomponents.cjs.js +1 -1
- 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/checkout.js +102 -37
- package/dist/collection/components/checkout/new-payment-method.js +2 -2
- package/dist/collection/components/checkout/payment-method-options.js +37 -26
- 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/insurance/season-interruption/season-interruption-insurance-core.js +2 -2
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -2
- package/dist/collection/components/modular-checkout/modular-checkout.js +2 -2
- package/dist/docs.json +177 -203
- package/dist/esm/{Checkout-CV6qgU0r.js → Checkout-CH19cJxH.js} +3 -3
- package/dist/esm/{Refund-CwUn_GFj.js → Refund-BKe90wSq.js} +55 -1
- package/dist/esm/additional-questions-details_5.entry.js +2 -2
- package/dist/esm/{badge-D_Q0kAPD.js → badge-BoemLewg.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +5 -6
- package/dist/{module/bank-account-form2.js → esm/bank-account-form.entry.js} +12 -36
- package/dist/esm/{business-additional-questions-schema-0lssJqN7.js → business-additional-questions-schema-uQlQ8fXQ.js} +2 -2
- package/dist/esm/business-details-core.entry.js +3 -3
- package/dist/esm/{business-identity-schema-Bel1K5mu.js → business-identity-schema-BsrgqgDl.js} +2 -2
- package/dist/esm/{business.service-BM8hLxHS.js → business.service-wY8gOZQr.js} +2 -3
- package/dist/esm/{button-BVAxQPpP.js → button-BcLzheaP.js} +1 -1
- package/dist/esm/{justifi-card-form.entry.js → card-form.entry.js} +12 -34
- package/dist/esm/{Analytics-DR277kvb.js → check-pkg-version-BmebRZ4u.js} +22 -23
- package/dist/esm/{checkout.service-CuCgG9hv.js → checkout.service-Ci9Zkxiz.js} +2 -3
- package/dist/esm/checkouts-list-core.entry.js +7 -8
- package/dist/esm/{checkouts-table-Cc6U-0md.js → checkouts-table-ub2cX2KR.js} +2 -2
- package/dist/esm/{custom-popper_4.entry.js → custom-popper_2.entry.js} +3 -101
- package/dist/esm/{dispute.service-rB4Hq6ot.js → dispute.service-D3IjL7Z8.js} +2 -3
- package/dist/esm/form-alert_5.entry.js +1 -1
- package/dist/esm/form-control-checkbox.entry.js +3 -3
- package/dist/esm/form-control-date.entry.js +2 -2
- package/dist/esm/{form-control-error-text-_SAT-ts2.js → form-control-error-text-C4vfc3el.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +2 -2
- package/dist/esm/{form-control-help-text-Cjeu_VrV.js → form-control-help-text-Dsr1zpTw.js} +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
- package/dist/esm/form-control-monetary.entry.js +3 -3
- package/dist/esm/form-control-number-masked_2.entry.js +2 -2
- package/dist/esm/form-control-number.entry.js +3 -3
- package/dist/esm/form-control-radio.entry.js +1 -1
- package/dist/esm/form-control-select_2.entry.js +102 -0
- package/dist/esm/{get-payment-details-DtkGDTwo.js → get-payment-details-CmVKt1jR.js} +2 -3
- package/dist/esm/{get-subaccounts-C-ENQBmY.js → get-subaccounts-BRX7HFGO.js} +2 -3
- package/dist/esm/gross-payment-chart-core.entry.js +3 -3
- package/dist/esm/{header-1-5FIT-wD7.js → header-1-CmImLcLi.js} +1 -1
- package/dist/esm/{header-3-Ce9WLWBm.js → header-3-BMoxz2Hr.js} +1 -1
- package/dist/esm/hidden-input_2.entry.js +3 -3
- package/dist/esm/{form-BjGUIqxU.js → index.esm-BCNUj0Dx.js} +10022 -10022
- package/dist/esm/{insurance-state-BcwZy_5w.js → insurance-state-DMexHdvO.js} +1 -1
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +43 -17
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +6 -7
- package/dist/esm/justifi-additional-statement_8.entry.js +2 -2
- 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 +7 -8
- package/dist/esm/justifi-business-form.entry.js +13 -14
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
- package/dist/esm/justifi-checkout-core.entry.js +7 -7
- package/dist/esm/{justifi-modular-checkout.entry.js → justifi-checkout-summary_2.entry.js} +22 -11
- package/dist/esm/justifi-checkout.entry.js +91 -47
- package/dist/esm/justifi-checkouts-list-filters.entry.js +3 -4
- package/dist/esm/justifi-checkouts-list.entry.js +10 -11
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management.entry.js +5 -6
- package/dist/esm/justifi-dispute-notification_3.entry.js +8 -9
- package/dist/esm/justifi-gross-payment-chart.entry.js +6 -7
- package/dist/esm/justifi-new-payment-method.entry.js +97 -0
- package/dist/esm/justifi-order-terminals.entry.js +8 -9
- package/dist/esm/justifi-owner-form_3.entry.js +8 -9
- package/dist/esm/justifi-payment-details.entry.js +8 -9
- package/dist/esm/justifi-payment-method-options_3.entry.js +162 -0
- package/dist/esm/justifi-payment-provisioning-core.entry.js +2 -2
- package/dist/esm/justifi-payment-provisioning.entry.js +5 -6
- package/dist/esm/justifi-payment-transactions-list.entry.js +8 -9
- package/dist/esm/justifi-payments-list-filters.entry.js +1 -1
- package/dist/esm/justifi-payments-list.entry.js +9 -10
- package/dist/esm/justifi-payout-details.entry.js +7 -8
- package/dist/esm/justifi-payout-transactions-list.entry.js +8 -9
- package/dist/esm/justifi-payouts-list-filters.entry.js +1 -1
- package/dist/esm/justifi-payouts-list.entry.js +10 -11
- package/dist/esm/justifi-refund-payment.entry.js +10 -11
- package/dist/esm/justifi-saved-payment-method.entry.js +30 -0
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +5 -5
- package/dist/esm/justifi-season-interruption-insurance.entry.js +5 -6
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +3 -4
- package/dist/esm/justifi-terminal-orders-list.entry.js +7 -8
- package/dist/esm/justifi-terminals-list-filters.entry.js +3 -4
- package/dist/esm/justifi-terminals-list.entry.js +9 -10
- package/dist/esm/justifi-tokenize-payment-method.entry.js +6 -7
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-CyXXks-Q.js → package-CJdXAC5R.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-_6eQgwfE.js → parts-C71Mxtso.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +5 -5
- package/dist/esm/{payment.service-DoUv1QsX.js → payment.service-ddFQWXPn.js} +2 -3
- package/dist/esm/payments-list-core.entry.js +8 -9
- package/dist/esm/{payments-status-BeL2gi3P.js → payments-status-DvsFQolO.js} +1 -1
- package/dist/esm/{payments-table-MrDAlH2o.js → payments-table-CCKeaI5x.js} +2 -2
- package/dist/esm/payout-details-core.entry.js +6 -6
- package/dist/esm/{payout.service-B_Fm08zQ.js → payout.service-Ws4Pebcz.js} +2 -3
- package/dist/esm/payouts-list-core.entry.js +8 -9
- package/dist/esm/{payouts-status-BxbhUjA3.js → payouts-status-BkM4Gvme.js} +1 -1
- package/dist/esm/{payouts-table-HoX3UYIj.js → payouts-table-CqBOvPOo.js} +2 -2
- package/dist/esm/{schema-validations-DYV7urvw.js → schema-validations-DLWfpHyI.js} +2 -23
- package/dist/esm/{skeleton-CPNYhX-V.js → skeleton-BVM4XTj9.js} +1 -1
- package/dist/esm/{spinner-Cl-6YJPf.js → spinner-BsxFRVXW.js} +1 -1
- package/dist/esm/{table-RCk8zh4L.js → table-DxdC1lXb.js} +2 -2
- package/dist/esm/table-filters-menu.entry.js +2 -2
- package/dist/esm/terminal-orders-list-core.entry.js +7 -8
- package/dist/esm/{terminal-orders-table-DxHLNkx_.js → terminal-orders-table-DV7nRYuE.js} +4 -5
- package/dist/esm/terminal-quantity-selector.entry.js +1 -1
- package/dist/esm/{terminal.service-2VkdfNas.js → terminal.service-DH8gRG1H.js} +2 -3
- package/dist/esm/terminals-list-core.entry.js +7 -8
- package/dist/esm/{terminals-table-v-LOevYA.js → terminals-table-DUHel128.js} +2 -2
- package/dist/esm/{utils-1WrbuHVR.js → utils-B-aPFy3u.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Analytics.js +0 -1
- package/dist/module/Refund.js +55 -1
- package/dist/module/bank-account-document-inputs.js +1 -2
- package/dist/module/bank-account-form.js +83 -1
- package/dist/{esm/justifi-bank-account-form.entry.js → module/bank-account.js} +44 -27
- package/dist/module/billing-form.js +25 -19
- package/dist/{esm/justifi-billing-information-form.entry.js → module/billing-form2.js} +61 -19
- 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-terms-conditions-form-step.js +1 -2
- package/dist/module/business.service.js +0 -1
- package/dist/module/button.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/checkouts-list-core2.js +0 -1
- package/dist/module/dispute-response-actions.js +0 -1
- 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/header-3.js +8 -0
- package/dist/module/justifi-bank-account-form.js +1 -98
- package/dist/module/justifi-billing-information-form.js +1 -89
- package/dist/module/justifi-business-form.js +0 -1
- package/dist/module/justifi-card-form.js +1 -106
- package/dist/module/justifi-checkout-core.js +201 -1
- package/dist/module/justifi-checkout-summary.js +1 -32
- package/dist/module/justifi-checkout.js +104 -109
- package/dist/module/justifi-checkouts-list-filters.js +0 -1
- package/dist/module/justifi-checkouts-list.js +0 -1
- package/dist/module/justifi-gross-payment-chart.js +0 -1
- package/dist/module/justifi-modular-checkout.js +1 -214
- package/dist/module/justifi-new-payment-method.js +214 -1
- package/dist/module/justifi-order-terminals.js +2 -3
- package/dist/module/justifi-payment-provisioning.js +0 -1
- package/dist/module/justifi-payment-transactions-list.js +1 -2
- package/dist/module/justifi-payments-list.js +0 -1
- package/dist/module/justifi-payout-details.js +0 -1
- package/dist/module/justifi-payout-transactions-list.js +1 -2
- package/dist/module/justifi-payouts-list.js +0 -1
- package/dist/module/justifi-postal-code-form.js +1 -81
- package/dist/module/justifi-refund-payment.js +1 -2
- package/dist/module/justifi-saved-payment-method.js +57 -1
- package/dist/module/justifi-saved-payment-methods.js +1 -53
- package/dist/module/justifi-season-interruption-insurance.js +2 -4
- package/dist/module/justifi-sezzle-payment-method.js +1 -108
- package/dist/module/justifi-terminal-orders-list-filters.js +0 -1
- package/dist/module/justifi-terminal-orders-list.js +1 -2
- package/dist/module/justifi-terminals-list-filters.js +0 -1
- package/dist/module/justifi-terminals-list.js +1 -2
- package/dist/module/justifi-tokenize-payment-method.js +8 -75
- package/dist/module/modular-checkout.js +269 -0
- package/dist/module/package.js +1 -1
- package/dist/module/parts.js +1 -1
- package/dist/module/payment-method-options.js +27 -100
- package/dist/module/payment.service.js +0 -1
- package/dist/module/payments-list-core2.js +0 -1
- package/dist/module/payout.service.js +0 -1
- package/dist/module/payouts-list-core2.js +0 -1
- package/dist/module/postal-code-form.js +83 -0
- 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/{esm/justifi-sezzle-payment-method.entry.js → module/sezzle-payment-method.js} +46 -14
- package/dist/module/summary.js +34 -0
- package/dist/module/terminal-orders-list-core2.js +0 -1
- package/dist/module/terminal.service.js +0 -1
- package/dist/module/terminals-list-core2.js +0 -1
- package/dist/types/components/business-forms/schemas/schema-validations.d.ts +0 -7
- package/dist/types/components/checkout/checkout.d.ts +19 -9
- package/dist/types/components/checkout/payment-method-options.d.ts +2 -1
- package/dist/types/components/modular-checkout/modular-checkout.d.ts +1 -1
- package/dist/types/components.d.ts +5 -1
- package/dist/webcomponents/p-07e8c50a.entry.js +1 -0
- package/dist/webcomponents/{p-be51c7c5.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-ff223825.entry.js → p-114d2d7e.entry.js} +1 -1
- package/dist/webcomponents/p-16c567ac.entry.js +1 -0
- package/dist/webcomponents/{p-20d7db42.entry.js → p-1debe4fc.entry.js} +1 -1
- package/dist/webcomponents/p-1tXUo5Ef.js +1 -0
- package/dist/webcomponents/{p-ce291c6a.entry.js → p-20ac139f.entry.js} +1 -1
- package/dist/webcomponents/{p-b3e6d27c.entry.js → p-28190487.entry.js} +1 -1
- package/dist/webcomponents/p-30b1b0d4.entry.js +1 -0
- package/dist/webcomponents/{p-1d64d86b.entry.js → p-31b3575b.entry.js} +1 -1
- 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-5ea3cfca.entry.js → p-498ef7fe.entry.js} +1 -1
- package/dist/webcomponents/p-4cdc323c.entry.js +1 -0
- 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-712220f9.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-8532c68c.entry.js → p-7982b38b.entry.js} +1 -1
- package/dist/webcomponents/p-7efbe6e6.entry.js +1 -0
- 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-93564eb7.entry.js +1 -0
- package/dist/webcomponents/p-95aada97.entry.js +1 -0
- package/dist/webcomponents/{p-df2ad580.entry.js → p-9a4b9734.entry.js} +1 -1
- package/dist/webcomponents/{p-BSUCBhkJ.js → p-B1jCcGW-.js} +1 -1
- package/dist/webcomponents/{p-CwHYDF33.js → p-BRvTM0jE.js} +1 -1
- package/dist/webcomponents/p-BZAglFez.js +1 -0
- package/dist/webcomponents/p-BdTK0wi9.js +1 -0
- package/dist/webcomponents/p-BeOlrj_S.js +1 -0
- package/dist/webcomponents/p-BjIcn6FF.js +1 -0
- package/dist/webcomponents/{p-B7VsiIW-.js → p-BvkP2v3x.js} +1 -1
- package/dist/webcomponents/{p-_6eQgwfE.js → p-C71Mxtso.js} +1 -1
- package/dist/webcomponents/{p-Ctw40vkk.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-CFpYbRwn.js +1 -0
- package/dist/webcomponents/p-CGCMYhyV.js +1 -0
- package/dist/webcomponents/p-CJdXAC5R.js +1 -0
- package/dist/webcomponents/p-CO90ONTY.js +1 -0
- package/dist/webcomponents/{p-Dw6NWKHn.js → p-Cl-Q3cHB.js} +1 -1
- package/dist/webcomponents/p-DFPGAF4g.js +1 -0
- package/dist/webcomponents/p-DHP6oxsO.js +1 -0
- package/dist/webcomponents/{p-D3SYNGyb.js → p-DLr6u3Be.js} +1 -1
- package/dist/webcomponents/p-DT6jDcoi.js +1 -0
- package/dist/webcomponents/p-DVnVdicA.js +1 -0
- package/dist/webcomponents/p-DX1Drndq.js +1 -0
- package/dist/webcomponents/p-Db-JSm6-.js +1 -0
- package/dist/webcomponents/p-Dc10zfEZ.js +1 -0
- package/dist/webcomponents/p-Dw516k9e.js +1 -0
- package/dist/webcomponents/p-DwxSNAz7.js +1 -0
- package/dist/webcomponents/{p-CnnRWu7z.js → p-Fa3dQnb9.js} +1 -1
- package/dist/webcomponents/p-IrS5pxMU.js +1 -0
- package/dist/webcomponents/p-JOSiCHl7.js +1 -0
- package/dist/webcomponents/p-RadC5UjV.js +1 -0
- package/dist/webcomponents/p-SuXHDcwL.js +1 -0
- package/dist/webcomponents/p-_P2I6GdZ.js +1 -0
- package/dist/webcomponents/p-a3245777.entry.js +1 -0
- package/dist/webcomponents/{p-f7e24a51.entry.js → p-a8f1165e.entry.js} +1 -1
- package/dist/webcomponents/p-abcde13f.entry.js +1 -0
- package/dist/webcomponents/{p-e563df65.entry.js → p-b0c7f45a.entry.js} +1 -1
- package/dist/webcomponents/p-b122d960.entry.js +1 -0
- package/dist/webcomponents/{p-f71b1ff0.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-c1dabcc9.entry.js +20 -0
- package/dist/webcomponents/p-c4989fc1.entry.js +1 -0
- package/dist/webcomponents/p-c6f6cca0.entry.js +1 -0
- package/dist/webcomponents/{p-d82b509a.entry.js → p-cbfb26e2.entry.js} +1 -1
- package/dist/webcomponents/p-cc26a8fa.entry.js +1 -0
- package/dist/webcomponents/p-cc5dfa3d.entry.js +1 -0
- package/dist/webcomponents/{p-ef9dcfe1.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-d6tXI5Iw.js +1 -0
- package/dist/webcomponents/p-dad85acd.entry.js +1 -0
- package/dist/webcomponents/{p-3edd5ebd.entry.js → p-db13afe8.entry.js} +1 -1
- package/dist/webcomponents/{p-9a17fd5a.entry.js → p-dd5c8738.entry.js} +1 -1
- package/dist/webcomponents/{p-6b229318.entry.js → p-e2ac6f48.entry.js} +1 -1
- package/dist/webcomponents/{p-1ac365b4.entry.js → p-e2adbafd.entry.js} +1 -1
- package/dist/webcomponents/p-ea883d7c.entry.js +1 -0
- package/dist/webcomponents/{p-15c63931.entry.js → p-ed8eb110.entry.js} +1 -1
- package/dist/webcomponents/{p-e8294f7e.entry.js → p-f0a849be.entry.js} +1 -1
- package/dist/webcomponents/p-f165c5fc.entry.js +1 -0
- package/dist/webcomponents/p-f1dcc9c2.entry.js +1 -0
- package/dist/webcomponents/p-f21e1351.entry.js +1 -0
- 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-fa781ff0.entry.js +1 -0
- package/dist/webcomponents/p-fe5b7b4c.entry.js +1 -0
- package/dist/webcomponents/{p-CqVelcDt.js → p-kfHhaHAJ.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/Document-rXGBUaOh.js +0 -58
- package/dist/cjs/bank-account-form_7.cjs.entry.js +0 -411
- package/dist/cjs/billing-form-schema-oZ4GROWP.js +0 -26
- package/dist/cjs/justifi-checkout-summary.cjs.entry.js +0 -21
- package/dist/cjs/justifi-postal-code-form.cjs.entry.js +0 -50
- package/dist/cjs/justifi-saved-payment-methods.cjs.entry.js +0 -31
- package/dist/cjs/justifi-sezzle-payment-method.cjs.entry.js +0 -80
- package/dist/esm/Document-Ct-uNz2r.js +0 -55
- package/dist/esm/bank-account-form_7.entry.js +0 -403
- package/dist/esm/billing-form-schema-PFvYpvy4.js +0 -24
- package/dist/esm/justifi-checkout-summary.entry.js +0 -19
- package/dist/esm/justifi-postal-code-form.entry.js +0 -48
- package/dist/esm/justifi-saved-payment-methods.entry.js +0 -29
- package/dist/module/Document.js +0 -55
- package/dist/module/checkout-actions.js +0 -58
- package/dist/module/checkout-core.js +0 -268
- package/dist/module/new-payment-method.js +0 -204
- package/dist/module/saved-payment-method.js +0 -59
- package/dist/webcomponents/p-00900e52.entry.js +0 -1
- package/dist/webcomponents/p-025ae692.entry.js +0 -1
- package/dist/webcomponents/p-02e26641.entry.js +0 -1
- package/dist/webcomponents/p-04c91ec1.entry.js +0 -1
- package/dist/webcomponents/p-0d5e93b3.entry.js +0 -1
- package/dist/webcomponents/p-19b5f93a.entry.js +0 -1
- package/dist/webcomponents/p-25b310f0.entry.js +0 -1
- package/dist/webcomponents/p-271b131d.entry.js +0 -1
- package/dist/webcomponents/p-2882b4e9.entry.js +0 -1
- package/dist/webcomponents/p-2a08ba01.entry.js +0 -1
- package/dist/webcomponents/p-2f027626.entry.js +0 -1
- package/dist/webcomponents/p-2fa36c0e.entry.js +0 -1
- package/dist/webcomponents/p-379584fb.entry.js +0 -1
- package/dist/webcomponents/p-39f31e23.entry.js +0 -1
- package/dist/webcomponents/p-3b6888c5.entry.js +0 -1
- package/dist/webcomponents/p-3d62f9a5.entry.js +0 -1
- package/dist/webcomponents/p-4232760b.entry.js +0 -1
- package/dist/webcomponents/p-4be4f7b4.entry.js +0 -1
- package/dist/webcomponents/p-531738ae.entry.js +0 -1
- package/dist/webcomponents/p-54019e68.entry.js +0 -1
- package/dist/webcomponents/p-584ba20d.entry.js +0 -1
- package/dist/webcomponents/p-5bc6f1e6.entry.js +0 -20
- package/dist/webcomponents/p-5bfbb0f8.entry.js +0 -1
- package/dist/webcomponents/p-5da3ba38.entry.js +0 -1
- package/dist/webcomponents/p-5f9dbaff.entry.js +0 -1
- package/dist/webcomponents/p-6fc1ace5.entry.js +0 -1
- package/dist/webcomponents/p-716d41f2.entry.js +0 -1
- package/dist/webcomponents/p-7253f1ea.entry.js +0 -1
- package/dist/webcomponents/p-80b662de.entry.js +0 -1
- package/dist/webcomponents/p-82164a5e.entry.js +0 -1
- package/dist/webcomponents/p-8590c5df.entry.js +0 -1
- package/dist/webcomponents/p-8e555a6e.entry.js +0 -1
- package/dist/webcomponents/p-96f89c69.entry.js +0 -1
- package/dist/webcomponents/p-98a39544.entry.js +0 -1
- package/dist/webcomponents/p-9a9f9c57.entry.js +0 -1
- package/dist/webcomponents/p-B4MIwTdb.js +0 -1
- package/dist/webcomponents/p-B8Ovjy6S.js +0 -1
- package/dist/webcomponents/p-BE5Nvydk.js +0 -1
- package/dist/webcomponents/p-BGHVK-vQ.js +0 -1
- package/dist/webcomponents/p-BPCw4WEY.js +0 -1
- package/dist/webcomponents/p-BhLPwu1L.js +0 -1
- package/dist/webcomponents/p-Bond4qGX.js +0 -1
- package/dist/webcomponents/p-BpEw7AJl.js +0 -1
- package/dist/webcomponents/p-C-WgCIei.js +0 -1
- package/dist/webcomponents/p-CCpqJxzB.js +0 -1
- package/dist/webcomponents/p-CLpgfEbx.js +0 -1
- package/dist/webcomponents/p-CRYPNa2o.js +0 -1
- package/dist/webcomponents/p-CeNlJX4-.js +0 -1
- package/dist/webcomponents/p-Ct-uNz2r.js +0 -1
- package/dist/webcomponents/p-CvChBLtI.js +0 -1
- package/dist/webcomponents/p-CyXXks-Q.js +0 -1
- package/dist/webcomponents/p-Czro_9VO.js +0 -1
- package/dist/webcomponents/p-D7js9xfx.js +0 -1
- package/dist/webcomponents/p-DOB09NZD.js +0 -1
- package/dist/webcomponents/p-DUdzWNqB.js +0 -1
- package/dist/webcomponents/p-DaS3t0DL.js +0 -1
- package/dist/webcomponents/p-Dge4w7_c.js +0 -1
- package/dist/webcomponents/p-DkWBoLsd.js +0 -1
- package/dist/webcomponents/p-DknV-QPT.js +0 -1
- package/dist/webcomponents/p-DuiQuWNq.js +0 -1
- package/dist/webcomponents/p-DzPrenCi.js +0 -1
- package/dist/webcomponents/p-YDuIVoos.js +0 -1
- package/dist/webcomponents/p-a2db11b5.entry.js +0 -1
- package/dist/webcomponents/p-a31913e3.entry.js +0 -1
- package/dist/webcomponents/p-a4d457e9.entry.js +0 -1
- package/dist/webcomponents/p-b8ee41c1.entry.js +0 -1
- package/dist/webcomponents/p-bde749ac.entry.js +0 -1
- package/dist/webcomponents/p-bf16b11c.entry.js +0 -1
- package/dist/webcomponents/p-d9b06582.entry.js +0 -1
- package/dist/webcomponents/p-dbc02ba8.entry.js +0 -1
- package/dist/webcomponents/p-dcad0df5.entry.js +0 -1
- package/dist/webcomponents/p-e03630ec.entry.js +0 -1
- package/dist/webcomponents/p-e07sVz4Z.js +0 -1
- package/dist/webcomponents/p-ec9bb3f6.entry.js +0 -1
- package/dist/webcomponents/p-ecf6a315.entry.js +0 -1
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-2GwnTbNA.js');
|
|
4
|
+
var parts = require('./parts-9jMf1erK.js');
|
|
5
|
+
|
|
6
|
+
const PaymentMethodTypeLabels = {
|
|
7
|
+
bankAccount: 'New bank account',
|
|
8
|
+
card: 'New credit or debit card',
|
|
9
|
+
};
|
|
10
|
+
const NewPaymentMethod = class {
|
|
11
|
+
constructor(hostRef) {
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
13
|
+
this.paymentMethodOptionSelected = index.createEvent(this, "paymentMethodOptionSelected");
|
|
14
|
+
this.saveNewPaymentMethodChecked = false;
|
|
15
|
+
this.onPaymentMethodOptionClick = (e) => {
|
|
16
|
+
e.preventDefault();
|
|
17
|
+
this.paymentMethodOptionSelected.emit(this.paymentMethodOption);
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
handleCheckboxChanged(event) {
|
|
21
|
+
this.saveNewPaymentMethodChecked = event.detail;
|
|
22
|
+
}
|
|
23
|
+
async fillBillingForm(fields) {
|
|
24
|
+
this.billingFormRef.fill(fields);
|
|
25
|
+
}
|
|
26
|
+
async resolvePaymentMethod(insuranceValidation) {
|
|
27
|
+
var _a, _b;
|
|
28
|
+
if (!this.paymentMethodFormRef || !this.billingFormRef)
|
|
29
|
+
return;
|
|
30
|
+
try {
|
|
31
|
+
const { isValid, errors } = await this.validate();
|
|
32
|
+
if (!isValid || !insuranceValidation.isValid) {
|
|
33
|
+
// get propety value from first property in errors object
|
|
34
|
+
const message = `${Object.values(errors)[0] || 'Validation error'}`;
|
|
35
|
+
return {
|
|
36
|
+
validationError: true,
|
|
37
|
+
error: {
|
|
38
|
+
code: 'validation_error',
|
|
39
|
+
message,
|
|
40
|
+
decline_code: undefined
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
const tokenizeResponse = await this.tokenize();
|
|
45
|
+
if (tokenizeResponse.error) {
|
|
46
|
+
return { error: tokenizeResponse.error };
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
const tokenizeRessponseData = tokenizeResponse.data;
|
|
50
|
+
return {
|
|
51
|
+
token: ((_a = tokenizeRessponseData.card) === null || _a === void 0 ? void 0 : _a.token) || ((_b = tokenizeRessponseData.bank_account) === null || _b === void 0 ? void 0 : _b.token),
|
|
52
|
+
data: tokenizeRessponseData
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
catch (error) {
|
|
57
|
+
return { error };
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
async validate() {
|
|
61
|
+
const billingFormValidation = await this.billingFormRef.validate();
|
|
62
|
+
const paymentMethodFormValidation = await this.paymentMethodFormRef.validate();
|
|
63
|
+
const isValid = billingFormValidation.isValid && paymentMethodFormValidation.isValid;
|
|
64
|
+
const errors = Object.assign(Object.assign({}, billingFormValidation.errors), paymentMethodFormValidation.errors);
|
|
65
|
+
return { isValid, errors };
|
|
66
|
+
}
|
|
67
|
+
async tokenize() {
|
|
68
|
+
try {
|
|
69
|
+
const billingFormFieldValues = await this.billingFormRef.getValues();
|
|
70
|
+
let paymentMethodData;
|
|
71
|
+
if (this.saveNewPaymentMethodChecked) {
|
|
72
|
+
paymentMethodData = Object.assign(Object.assign({}, billingFormFieldValues), { payment_method_group_id: this.paymentMethodGroupId });
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
paymentMethodData = Object.assign({}, billingFormFieldValues);
|
|
76
|
+
}
|
|
77
|
+
const clientId = this.authToken;
|
|
78
|
+
const tokenizeResponse = await this.paymentMethodFormRef.tokenize(clientId, paymentMethodData, this.accountId);
|
|
79
|
+
return tokenizeResponse;
|
|
80
|
+
}
|
|
81
|
+
catch (error) {
|
|
82
|
+
return error;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
showNewPaymentMethodForm() {
|
|
86
|
+
var _a;
|
|
87
|
+
const paymentMethodType = (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id;
|
|
88
|
+
return (index.h("div", { class: "mt-4 pb-4" }, index.h("hidden-input", null), paymentMethodType === 'card' ? (index.h("justifi-card-form", null)) : (index.h("justifi-bank-account-form", null)), index.h("justifi-billing-form", { hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, paymentMethodType: paymentMethodType }), index.h("justifi-save-new-payment-method", { hidden: !this.paymentMethodGroupId })));
|
|
89
|
+
}
|
|
90
|
+
get hiddenRadioInput() {
|
|
91
|
+
return !this.showAch || !this.showCard;
|
|
92
|
+
}
|
|
93
|
+
render() {
|
|
94
|
+
var _a, _b;
|
|
95
|
+
return (index.h(index.Host, { key: '86a50eecba10706b674e3517c7b1e5ba6674035a', class: "payment-method" }, index.h("div", { key: '54ec6ea1d0eb1f1bcbb0b5c145858a270dc7ccf4', class: "radio-list-item p-3", part: parts.radioListItem, onClick: this.onPaymentMethodOptionClick, hidden: this.hiddenRadioInput }, index.h("form-control-radio", { key: '348ab53888c29f3b942f2698dcb72450d73ed90d', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: PaymentMethodTypeLabels[(_b = this.paymentMethodOption) === null || _b === void 0 ? void 0 : _b.id] })), this.isSelected ? this.showNewPaymentMethodForm() : null));
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
exports.justifi_new_payment_method = NewPaymentMethod;
|
|
@@ -4,23 +4,22 @@ var index = require('./index-2GwnTbNA.js');
|
|
|
4
4
|
var parts = require('./parts-9jMf1erK.js');
|
|
5
5
|
var styledHost = require('./styled-host-IMxk64cc.js');
|
|
6
6
|
require('./event-types-YOY5TKUN.js');
|
|
7
|
-
var
|
|
7
|
+
var checkPkgVersion = require('./check-pkg-version-CgQ8N_ta.js');
|
|
8
8
|
var ComponentError = require('./ComponentError-CEv9ltwy.js');
|
|
9
|
-
var business_service = require('./business.service-
|
|
9
|
+
var business_service = require('./business.service-DNoCHqtI.js');
|
|
10
10
|
var Business = require('./Business-DCRzZf0w.js');
|
|
11
11
|
var getBusiness = require('./get-business-BiEc-jdH.js');
|
|
12
12
|
var skeleton = require('./skeleton-ByLavxr1.js');
|
|
13
13
|
require('./config-state-BTfJl-LU.js');
|
|
14
14
|
var utils$1 = require('./utils-qOon0GWm.js');
|
|
15
|
-
require('./Checkout-
|
|
15
|
+
require('./Checkout-BTgAlgVL.js');
|
|
16
16
|
require('./Pagination-Dediz133.js');
|
|
17
17
|
require('./Payment-D5UynU2f.js');
|
|
18
|
-
var Refund = require('./Refund-
|
|
19
|
-
require('./Document-rXGBUaOh.js');
|
|
18
|
+
var Refund = require('./Refund-BFE-2OxN.js');
|
|
20
19
|
require('./Dispute-CruQTF6_.js');
|
|
21
20
|
var utils = require('./utils-IGCnjtqc.js');
|
|
22
|
-
var terminal_service = require('./terminal.service
|
|
23
|
-
require('./package-
|
|
21
|
+
var terminal_service = require('./terminal.service-Bc1YJWi0.js');
|
|
22
|
+
require('./package-wSbEFwqE.js');
|
|
24
23
|
require('./Api-BTdkb3Zh.js');
|
|
25
24
|
require('./helpers-B5OCqlIM.js');
|
|
26
25
|
require('./state-options-CIT9xdTz.js');
|
|
@@ -142,8 +141,8 @@ const OrderTerminals = class {
|
|
|
142
141
|
sub_account_id: this.accountId,
|
|
143
142
|
order_type: this.shipping ? Refund.TerminalOrderType.boardingShipping : Refund.TerminalOrderType.boardingOnly,
|
|
144
143
|
});
|
|
145
|
-
|
|
146
|
-
this.analytics = new
|
|
144
|
+
checkPkgVersion.checkPkgVersion();
|
|
145
|
+
this.analytics = new checkPkgVersion.JustifiAnalytics(this);
|
|
147
146
|
this.loadData();
|
|
148
147
|
}
|
|
149
148
|
disconnectedCallback() {
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-2GwnTbNA.js');
|
|
4
4
|
var paymentProvisioningActions = require('./payment-provisioning-actions-SNMCdsyF.js');
|
|
5
|
-
var business_service = require('./business.service-
|
|
6
|
-
var
|
|
5
|
+
var business_service = require('./business.service-DNoCHqtI.js');
|
|
6
|
+
var index_esm = require('./index.esm-CVuJLXJZ.js');
|
|
7
7
|
var Business = require('./Business-DCRzZf0w.js');
|
|
8
|
-
var businessIdentitySchema = require('./business-identity-schema-
|
|
8
|
+
var businessIdentitySchema = require('./business-identity-schema-Diqj_WVQ.js');
|
|
9
9
|
var button = require('./button-CCZd8WSY.js');
|
|
10
10
|
var parts = require('./parts-9jMf1erK.js');
|
|
11
11
|
require('./event-types-YOY5TKUN.js');
|
|
@@ -19,15 +19,14 @@ require('./config-state-BTfJl-LU.js');
|
|
|
19
19
|
require('./index-DEMVrrsF.js');
|
|
20
20
|
require('./utils-qOon0GWm.js');
|
|
21
21
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
22
|
-
require('./Checkout-
|
|
22
|
+
require('./Checkout-BTgAlgVL.js');
|
|
23
23
|
require('./Pagination-Dediz133.js');
|
|
24
24
|
require('./Payment-D5UynU2f.js');
|
|
25
25
|
require('./Dispute-CruQTF6_.js');
|
|
26
|
-
require('./Refund-
|
|
27
|
-
require('./Document-rXGBUaOh.js');
|
|
26
|
+
require('./Refund-BFE-2OxN.js');
|
|
28
27
|
require('./helpers-B5OCqlIM.js');
|
|
29
28
|
require('./state-options-CIT9xdTz.js');
|
|
30
|
-
require('./schema-validations-
|
|
29
|
+
require('./schema-validations-BSeMee-o.js');
|
|
31
30
|
require('./business-form-options-CMII7nIK.js');
|
|
32
31
|
|
|
33
32
|
const BusinessOwnerForm = class {
|
|
@@ -208,7 +207,7 @@ const BusinessOwnerFormCore = class {
|
|
|
208
207
|
}
|
|
209
208
|
}
|
|
210
209
|
componentWillLoad() {
|
|
211
|
-
this.formController = new
|
|
210
|
+
this.formController = new index_esm.FormController(businessIdentitySchema.identitySchema('owner', this.allowOptionalFields));
|
|
212
211
|
this.ownerId ? this.getData() : this.instantiateOwner({});
|
|
213
212
|
}
|
|
214
213
|
componentDidLoad() {
|
|
@@ -1,28 +1,27 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-2GwnTbNA.js');
|
|
4
|
-
var payment_service = require('./payment.service-
|
|
5
|
-
var getPaymentDetails = require('./get-payment-details-
|
|
4
|
+
var payment_service = require('./payment.service-C-HKmIG6.js');
|
|
5
|
+
var getPaymentDetails = require('./get-payment-details-CnPsEZA8.js');
|
|
6
6
|
var utils = require('./utils-bn0fXuc-.js');
|
|
7
7
|
var ComponentError = require('./ComponentError-CEv9ltwy.js');
|
|
8
|
-
var
|
|
8
|
+
var checkPkgVersion = require('./check-pkg-version-CgQ8N_ta.js');
|
|
9
9
|
require('./Api-BTdkb3Zh.js');
|
|
10
10
|
require('./config-state-BTfJl-LU.js');
|
|
11
11
|
require('./index-DEMVrrsF.js');
|
|
12
12
|
require('./utils-qOon0GWm.js');
|
|
13
13
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
14
|
-
require('./Checkout-
|
|
14
|
+
require('./Checkout-BTgAlgVL.js');
|
|
15
15
|
require('./Pagination-Dediz133.js');
|
|
16
16
|
require('./Payment-D5UynU2f.js');
|
|
17
17
|
require('./Dispute-CruQTF6_.js');
|
|
18
|
-
require('./Refund-
|
|
19
|
-
require('./Document-rXGBUaOh.js');
|
|
18
|
+
require('./Refund-BFE-2OxN.js');
|
|
20
19
|
require('./Business-DCRzZf0w.js');
|
|
21
20
|
require('./helpers-B5OCqlIM.js');
|
|
22
21
|
require('./state-options-CIT9xdTz.js');
|
|
23
22
|
require('./utils-IGCnjtqc.js');
|
|
24
23
|
require('./parts-9jMf1erK.js');
|
|
25
|
-
require('./package-
|
|
24
|
+
require('./package-wSbEFwqE.js');
|
|
26
25
|
|
|
27
26
|
const PaymentDetails = class {
|
|
28
27
|
constructor(hostRef) {
|
|
@@ -36,8 +35,8 @@ const PaymentDetails = class {
|
|
|
36
35
|
};
|
|
37
36
|
}
|
|
38
37
|
componentWillLoad() {
|
|
39
|
-
|
|
40
|
-
this.analytics = new
|
|
38
|
+
checkPkgVersion.checkPkgVersion();
|
|
39
|
+
this.analytics = new checkPkgVersion.JustifiAnalytics(this);
|
|
41
40
|
this.initializeGetPaymentDetails();
|
|
42
41
|
}
|
|
43
42
|
disconnectedCallback() {
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-2GwnTbNA.js');
|
|
4
|
+
var Payment = require('./Payment-D5UynU2f.js');
|
|
5
|
+
var paymentMethodOptionUtils = require('./payment-method-option-utils-imuSE7KV.js');
|
|
6
|
+
var checkout_store = require('./checkout.store-osqdxFMq.js');
|
|
7
|
+
var parts = require('./parts-9jMf1erK.js');
|
|
8
|
+
var styledHost = require('./styled-host-IMxk64cc.js');
|
|
9
|
+
require('./event-types-YOY5TKUN.js');
|
|
10
|
+
var utils = require('./utils-qOon0GWm.js');
|
|
11
|
+
require('./Dispute-CruQTF6_.js');
|
|
12
|
+
require('./index-DEMVrrsF.js');
|
|
13
|
+
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
14
|
+
|
|
15
|
+
const PaymentMethodTypeLabels = {
|
|
16
|
+
bankAccount: 'New bank account',
|
|
17
|
+
card: 'New credit or debit card',
|
|
18
|
+
};
|
|
19
|
+
const PaymentMethodOptions = class {
|
|
20
|
+
constructor(hostRef) {
|
|
21
|
+
index.registerInstance(this, hostRef);
|
|
22
|
+
this.savedPaymentMethods = [];
|
|
23
|
+
this.paymentMethodOptions = [];
|
|
24
|
+
}
|
|
25
|
+
async fillBillingForm(fields) {
|
|
26
|
+
const newPaymentMethodElement = this.selectedPaymentMethodOptionRef;
|
|
27
|
+
if (newPaymentMethodElement.fillBillingForm) {
|
|
28
|
+
newPaymentMethodElement.fillBillingForm(fields);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
connectedCallback() {
|
|
32
|
+
this.paymentMethodsChanged();
|
|
33
|
+
}
|
|
34
|
+
paymentMethodsChanged() {
|
|
35
|
+
var _a, _b;
|
|
36
|
+
this.paymentMethodOptions = this.savedPaymentMethods
|
|
37
|
+
.map((paymentMethod) => new paymentMethodOptionUtils.PaymentMethodOption(paymentMethod))
|
|
38
|
+
.filter((paymentMethod) => {
|
|
39
|
+
// Don't saved card or bank account if they are disabled
|
|
40
|
+
return ((this.showCard || paymentMethod.type !== Payment.PaymentMethodTypes.card) &&
|
|
41
|
+
(this.showAch || paymentMethod.type !== Payment.PaymentMethodTypes.bankAccount));
|
|
42
|
+
});
|
|
43
|
+
if (this.showBnpl && ((_a = this.bnpl) === null || _a === void 0 ? void 0 : _a.provider) === 'sezzle' && !this.insuranceToggled) {
|
|
44
|
+
this.paymentMethodOptions.push(new paymentMethodOptionUtils.PaymentMethodOption({ id: Payment.PaymentMethodTypes.sezzle }));
|
|
45
|
+
}
|
|
46
|
+
if (this.showCard) {
|
|
47
|
+
this.paymentMethodOptions.push(new paymentMethodOptionUtils.PaymentMethodOption({ id: Payment.PaymentMethodTypes.card }));
|
|
48
|
+
}
|
|
49
|
+
if (this.showAch) {
|
|
50
|
+
this.paymentMethodOptions.push(new paymentMethodOptionUtils.PaymentMethodOption({ id: Payment.PaymentMethodTypes.bankAccount }));
|
|
51
|
+
}
|
|
52
|
+
if (!checkout_store.state.selectedPaymentMethod) {
|
|
53
|
+
checkout_store.state.selectedPaymentMethod = (_b = this.paymentMethodOptions[0]) === null || _b === void 0 ? void 0 : _b.id;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
paymentMethodOptionSelected(event) {
|
|
57
|
+
checkout_store.state.selectedPaymentMethod = event.detail.id;
|
|
58
|
+
}
|
|
59
|
+
get hiddenRadioInput() {
|
|
60
|
+
return !this.showAch || !this.showCard;
|
|
61
|
+
}
|
|
62
|
+
async resolvePaymentMethod(insuranceValidation) {
|
|
63
|
+
var _a;
|
|
64
|
+
return await ((_a = this.selectedPaymentMethodOptionRef) === null || _a === void 0 ? void 0 : _a.resolvePaymentMethod(insuranceValidation));
|
|
65
|
+
}
|
|
66
|
+
async validate() {
|
|
67
|
+
const newPaymentMethodElement = this.selectedPaymentMethodOptionRef;
|
|
68
|
+
return newPaymentMethodElement.validate();
|
|
69
|
+
}
|
|
70
|
+
render() {
|
|
71
|
+
return (index.h("div", { key: '43947388e9c3e84f5af7ebefb379dcb0fc89bae7' }, index.h("div", { key: '203dde4a60f39cfb38408f58670b89047cadd3b3', class: "radio-list-item p-3", part: parts.radioListItem, onClick: () => { checkout_store.state.selectedPaymentMethod = Payment.PaymentMethodTypes.card; }, hidden: this.hiddenRadioInput }, index.h("form-control-radio", { key: 'c26d64e69722cbdcdd1d573c93328d322b2db256', name: "paymentMethodType", value: Payment.PaymentMethodTypes.card, checked: checkout_store.state.selectedPaymentMethod === Payment.PaymentMethodTypes.card, label: PaymentMethodTypeLabels[Payment.PaymentMethodTypes.card] })), index.h("div", { key: '87799dce96c87b24d3f7ecc597021dbfde851a22', class: "radio-list-item p-3", part: parts.radioListItem, onClick: () => { checkout_store.state.selectedPaymentMethod = Payment.PaymentMethodTypes.bankAccount; }, hidden: this.hiddenRadioInput }, index.h("form-control-radio", { key: '22df7be58ce8a58a8ce38a52912234bd313c4d2e', name: "paymentMethodType", value: Payment.PaymentMethodTypes.bankAccount, checked: checkout_store.state.selectedPaymentMethod === Payment.PaymentMethodTypes.bankAccount, label: PaymentMethodTypeLabels[Payment.PaymentMethodTypes.bankAccount] })), index.h("justifi-sezzle-payment-method", { key: '3ce43229e7268a453e5a2bad83f573105e8a6727' }), index.h("justifi-saved-payment-methods", { key: 'e6de7f6010736a702337dd91defc8bf00604ee34', exportparts: parts.radioListItem.split(' ').join(',') })));
|
|
72
|
+
}
|
|
73
|
+
static get watchers() { return {
|
|
74
|
+
"savedPaymentMethods": ["paymentMethodsChanged"]
|
|
75
|
+
}; }
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
const SavedPaymentMethods = class {
|
|
79
|
+
constructor(hostRef) {
|
|
80
|
+
index.registerInstance(this, hostRef);
|
|
81
|
+
this.onPaymentMethodOptionClick = (paymentMethodId) => (e) => {
|
|
82
|
+
e.preventDefault();
|
|
83
|
+
checkout_store.state.selectedPaymentMethod = paymentMethodId;
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
componentWillLoad() {
|
|
87
|
+
if (!checkout_store.state.paymentMethods.length) {
|
|
88
|
+
console.warn('No saved payment methods available.');
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
render() {
|
|
92
|
+
return (index.h(styledHost.StyledHost, { key: '7bebb3f8ff2a2abe400e1d099154a1729913140c' }, index.h("div", { key: '3a5798c5ceba63160dceecb0dc65f8a211bb5110', class: "saved-payment-methods" }, checkout_store.state.paymentMethods.length ? checkout_store.state.paymentMethods.map((paymentMethod) => (index.h("div", { class: "radio-list-item p-3", part: parts.radioListItem, onClick: this.onPaymentMethodOptionClick(paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.id) }, index.h("form-control-radio", { name: "paymentMethodType", value: paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.id, checked: checkout_store.state.selectedPaymentMethod === (paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.id), label: `${paymentMethodOptionUtils.CardBrandLabels[paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.brand] || ''} *${paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.acct_last_four}` })))) : null)));
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
const sezzleLogo = (index.h("img", { class: "sezzle-smart-button-logo-img", src: "https://media.sezzle.com/branding/2.0/Sezzle_Logo_FullColor.svg", alt: "Sezzle", style: {
|
|
97
|
+
display: 'inline',
|
|
98
|
+
width: '80px',
|
|
99
|
+
marginLeft: '5px',
|
|
100
|
+
marginTop: '-5px',
|
|
101
|
+
} }));
|
|
102
|
+
const SezzlePaymentMethod = class {
|
|
103
|
+
constructor(hostRef) {
|
|
104
|
+
index.registerInstance(this, hostRef);
|
|
105
|
+
this.paymentMethodOptionSelected = index.createEvent(this, "paymentMethodOptionSelected");
|
|
106
|
+
this.paymentMethodOptionId = 'sezzle';
|
|
107
|
+
this.onPaymentMethodOptionClick = (e) => {
|
|
108
|
+
e.preventDefault();
|
|
109
|
+
checkout_store.state.selectedPaymentMethod = this.paymentMethodOptionId;
|
|
110
|
+
this.paymentMethodOptionSelected.emit(this.paymentMethodOptionId);
|
|
111
|
+
};
|
|
112
|
+
this.initializeSezzleCheckout = () => {
|
|
113
|
+
let resolveSezzlePromise;
|
|
114
|
+
this.sezzlePromise = new Promise((resolve) => { resolveSezzlePromise = resolve; });
|
|
115
|
+
const amount = Number(checkout_store.state.paymentAmount);
|
|
116
|
+
const Checkout = window.Checkout;
|
|
117
|
+
const checkout = new Checkout({
|
|
118
|
+
mode: 'popup',
|
|
119
|
+
publicKey: checkout_store.state.bnplProviderClientId,
|
|
120
|
+
apiMode: checkout_store.state.bnplProviderMode,
|
|
121
|
+
apiVersion: checkout_store.state.bnplProviderApiVersion,
|
|
122
|
+
});
|
|
123
|
+
checkout.sezzleButtonElement = this.sezzleButtonRef;
|
|
124
|
+
checkout.init({
|
|
125
|
+
onClick: function (event) {
|
|
126
|
+
event.preventDefault();
|
|
127
|
+
checkout.startCheckout({
|
|
128
|
+
checkout_url: checkout_store.state.bnplProviderCheckoutUrl,
|
|
129
|
+
});
|
|
130
|
+
},
|
|
131
|
+
onComplete: (event) => resolveSezzlePromise({ bnpl: event.data }),
|
|
132
|
+
onCancel: (event) => resolveSezzlePromise({ bnpl: event.data }),
|
|
133
|
+
onFailure: (event) => resolveSezzlePromise({ bnpl: event.data }),
|
|
134
|
+
});
|
|
135
|
+
this.sezzleCheckout = checkout;
|
|
136
|
+
this.installmentPlan = this.sezzleCheckout.getInstallmentPlan(amount);
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
componentDidRender() {
|
|
140
|
+
if (!this.scriptRef)
|
|
141
|
+
return;
|
|
142
|
+
this.scriptRef.onload = () => {
|
|
143
|
+
this.sezzleButtonRef = document.createElement('button');
|
|
144
|
+
this.initializeSezzleCheckout();
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
async resolvePaymentMethod(insuranceValidation) {
|
|
148
|
+
if (!insuranceValidation.isValid) {
|
|
149
|
+
return { validationError: true };
|
|
150
|
+
}
|
|
151
|
+
this.sezzleButtonRef.click();
|
|
152
|
+
return this.sezzlePromise;
|
|
153
|
+
}
|
|
154
|
+
render() {
|
|
155
|
+
var _a, _b;
|
|
156
|
+
if (!checkout_store.state.bnplEnabled) {
|
|
157
|
+
console.warn('justifi-sezzle-payment-method: BNPL is not enabled for this account.');
|
|
158
|
+
return null;
|
|
159
|
+
}
|
|
160
|
+
return (index.h(styledHost.StyledHost, { class: "payment-method" }, index.h("script", { src: "https://checkout-sdk.sezzle.com/checkout.min.js", async: true, ref: (el) => (this.scriptRef = el) }), index.h("div", { class: "radio-list-item p-3", part: parts.radioListItem, onClick: this.onPaymentMethodOptionClick }, index.h("form-control-radio", { name: "paymentMethodType", value: this.paymentMethodOptionId, checked: checkout_store.state.selectedPaymentMethod === this.paymentMethodOptionId, label: index.h("div", null, index.h("div", null, "Buy now, pay later with ", sezzleLogo), this.installmentPlan && (index.h("small", null, index.h("span", null, (_a = this.installmentPlan) === null || _a === void 0 ? void 0 : _a.installments.length), "\u00A0", index.h("span", null, this.installmentPlan.schedule, " payments of"), "\u00A0", index.h("span", { class: "fw-bold" }, utils.formatCurrency((_b = this.installmentPlan) === null || _b === void 0 ? void 0 : _b.installments[0].amountInCents))))) }))));
|
|
161
|
+
}
|
|
162
|
+
};
|
|
163
|
+
|
|
164
|
+
exports.justifi_payment_method_options = PaymentMethodOptions;
|
|
165
|
+
exports.justifi_saved_payment_methods = SavedPaymentMethods;
|
|
166
|
+
exports.justifi_sezzle_payment_method = SezzlePaymentMethod;
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-2GwnTbNA.js');
|
|
4
|
-
var
|
|
4
|
+
var checkPkgVersion = require('./check-pkg-version-CgQ8N_ta.js');
|
|
5
5
|
var ComponentError = require('./ComponentError-CEv9ltwy.js');
|
|
6
6
|
var paymentProvisioningActions = require('./payment-provisioning-actions-SNMCdsyF.js');
|
|
7
|
-
var business_service = require('./business.service-
|
|
7
|
+
var business_service = require('./business.service-DNoCHqtI.js');
|
|
8
8
|
var Api = require('./Api-BTdkb3Zh.js');
|
|
9
|
-
require('./Checkout-
|
|
9
|
+
require('./Checkout-BTgAlgVL.js');
|
|
10
10
|
require('./Pagination-Dediz133.js');
|
|
11
11
|
require('./Payment-D5UynU2f.js');
|
|
12
|
-
require('./Refund-
|
|
13
|
-
require('./Document-rXGBUaOh.js');
|
|
12
|
+
require('./Refund-BFE-2OxN.js');
|
|
14
13
|
require('./Business-DCRzZf0w.js');
|
|
15
14
|
require('./Dispute-CruQTF6_.js');
|
|
16
|
-
require('./package-
|
|
15
|
+
require('./package-wSbEFwqE.js');
|
|
17
16
|
require('./utils-IGCnjtqc.js');
|
|
18
17
|
require('./config-state-BTfJl-LU.js');
|
|
19
18
|
require('./index-DEMVrrsF.js');
|
|
@@ -45,8 +44,8 @@ const PaymentProvisioning = class {
|
|
|
45
44
|
this.initializeApi();
|
|
46
45
|
}
|
|
47
46
|
componentWillLoad() {
|
|
48
|
-
|
|
49
|
-
this.analytics = new
|
|
47
|
+
checkPkgVersion.checkPkgVersion();
|
|
48
|
+
this.analytics = new checkPkgVersion.JustifiAnalytics(this);
|
|
50
49
|
this.initializeApi();
|
|
51
50
|
}
|
|
52
51
|
disconnectedCallback() {
|
|
@@ -4,16 +4,15 @@ var index = require('./index-2GwnTbNA.js');
|
|
|
4
4
|
require('./config-state-BTfJl-LU.js');
|
|
5
5
|
var utils$1 = require('./utils-qOon0GWm.js');
|
|
6
6
|
var ComponentError = require('./ComponentError-CEv9ltwy.js');
|
|
7
|
-
require('./Checkout-
|
|
7
|
+
require('./Checkout-BTgAlgVL.js');
|
|
8
8
|
var Pagination = require('./Pagination-Dediz133.js');
|
|
9
9
|
require('./Payment-D5UynU2f.js');
|
|
10
|
-
var Refund = require('./Refund-
|
|
11
|
-
require('./Document-rXGBUaOh.js');
|
|
10
|
+
var Refund = require('./Refund-BFE-2OxN.js');
|
|
12
11
|
require('./Business-DCRzZf0w.js');
|
|
13
12
|
require('./Dispute-CruQTF6_.js');
|
|
14
|
-
var
|
|
13
|
+
var checkPkgVersion = require('./check-pkg-version-CgQ8N_ta.js');
|
|
15
14
|
var utils = require('./utils-IGCnjtqc.js');
|
|
16
|
-
var payment_service = require('./payment.service-
|
|
15
|
+
var payment_service = require('./payment.service-C-HKmIG6.js');
|
|
17
16
|
var table = require('./table-BgQP2M2-.js');
|
|
18
17
|
var styledHost = require('./styled-host-IMxk64cc.js');
|
|
19
18
|
var eventTypes = require('./event-types-YOY5TKUN.js');
|
|
@@ -22,7 +21,7 @@ require('./index-DEMVrrsF.js');
|
|
|
22
21
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
23
22
|
require('./helpers-B5OCqlIM.js');
|
|
24
23
|
require('./state-options-CIT9xdTz.js');
|
|
25
|
-
require('./package-
|
|
24
|
+
require('./package-wSbEFwqE.js');
|
|
26
25
|
require('./Api-BTdkb3Zh.js');
|
|
27
26
|
require('./spinner-DOC4Ab7M.js');
|
|
28
27
|
|
|
@@ -132,8 +131,8 @@ const PaymentTransactionsList = class {
|
|
|
132
131
|
}
|
|
133
132
|
componentWillLoad() {
|
|
134
133
|
this.transactionsTable = new table.Table(this.balanceTransactions, this.columns, paymentTransactionTableColumns, paymentTransactionTableCells);
|
|
135
|
-
|
|
136
|
-
this.analytics = new
|
|
134
|
+
checkPkgVersion.checkPkgVersion();
|
|
135
|
+
this.analytics = new checkPkgVersion.JustifiAnalytics(this);
|
|
137
136
|
this.initializeApi();
|
|
138
137
|
}
|
|
139
138
|
disconnectedCallback() {
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-2GwnTbNA.js');
|
|
4
|
-
var payment_service = require('./payment.service-
|
|
4
|
+
var payment_service = require('./payment.service-C-HKmIG6.js');
|
|
5
5
|
require('./config-state-BTfJl-LU.js');
|
|
6
6
|
require('./utils-qOon0GWm.js');
|
|
7
7
|
var ComponentError = require('./ComponentError-CEv9ltwy.js');
|
|
8
|
-
require('./Checkout-
|
|
8
|
+
require('./Checkout-BTgAlgVL.js');
|
|
9
9
|
require('./Pagination-Dediz133.js');
|
|
10
10
|
var Payment = require('./Payment-D5UynU2f.js');
|
|
11
|
-
require('./Refund-
|
|
12
|
-
require('./Document-rXGBUaOh.js');
|
|
11
|
+
require('./Refund-BFE-2OxN.js');
|
|
13
12
|
require('./Business-DCRzZf0w.js');
|
|
14
13
|
require('./Dispute-CruQTF6_.js');
|
|
15
14
|
var utils = require('./utils-IGCnjtqc.js');
|
|
16
|
-
var
|
|
15
|
+
var checkPkgVersion = require('./check-pkg-version-CgQ8N_ta.js');
|
|
17
16
|
var styledHost = require('./styled-host-IMxk64cc.js');
|
|
18
17
|
require('./event-types-YOY5TKUN.js');
|
|
19
18
|
var paymentsTable = require('./payments-table-BM3AoAJf.js');
|
|
@@ -22,7 +21,7 @@ require('./index-DEMVrrsF.js');
|
|
|
22
21
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
23
22
|
require('./helpers-B5OCqlIM.js');
|
|
24
23
|
require('./state-options-CIT9xdTz.js');
|
|
25
|
-
require('./package-
|
|
24
|
+
require('./package-wSbEFwqE.js');
|
|
26
25
|
require('./payments-status-DPqU5v9h.js');
|
|
27
26
|
require('./badge-sO_Hcamo.js');
|
|
28
27
|
require('./parts-9jMf1erK.js');
|
|
@@ -71,8 +70,8 @@ const PaymentsList = class {
|
|
|
71
70
|
};
|
|
72
71
|
}
|
|
73
72
|
componentWillLoad() {
|
|
74
|
-
|
|
75
|
-
this.analytics = new
|
|
73
|
+
checkPkgVersion.checkPkgVersion();
|
|
74
|
+
this.analytics = new checkPkgVersion.JustifiAnalytics(this);
|
|
76
75
|
this.initializeGetPayments();
|
|
77
76
|
}
|
|
78
77
|
disconnectedCallback() {
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-2GwnTbNA.js');
|
|
4
|
-
var payout_service = require('./payout.service-
|
|
4
|
+
var payout_service = require('./payout.service-BHU3EPR2.js');
|
|
5
5
|
require('./config-state-BTfJl-LU.js');
|
|
6
6
|
require('./utils-qOon0GWm.js');
|
|
7
7
|
var ComponentError = require('./ComponentError-CEv9ltwy.js');
|
|
8
|
-
require('./Checkout-
|
|
8
|
+
require('./Checkout-BTgAlgVL.js');
|
|
9
9
|
require('./Pagination-Dediz133.js');
|
|
10
10
|
require('./Payment-D5UynU2f.js');
|
|
11
|
-
var Refund = require('./Refund-
|
|
12
|
-
require('./Document-rXGBUaOh.js');
|
|
11
|
+
var Refund = require('./Refund-BFE-2OxN.js');
|
|
13
12
|
require('./Business-DCRzZf0w.js');
|
|
14
13
|
require('./Dispute-CruQTF6_.js');
|
|
15
14
|
var utils = require('./utils-IGCnjtqc.js');
|
|
16
15
|
var utils$1 = require('./utils-bn0fXuc-.js');
|
|
17
|
-
var
|
|
16
|
+
var checkPkgVersion = require('./check-pkg-version-CgQ8N_ta.js');
|
|
18
17
|
var getPayoutCsv = require('./get-payout-csv-CdNRRH0t.js');
|
|
19
18
|
require('./Api-BTdkb3Zh.js');
|
|
20
19
|
require('./index-DEMVrrsF.js');
|
|
@@ -22,7 +21,7 @@ require('./_commonjsHelpers-BJu3ubxk.js');
|
|
|
22
21
|
require('./helpers-B5OCqlIM.js');
|
|
23
22
|
require('./state-options-CIT9xdTz.js');
|
|
24
23
|
require('./parts-9jMf1erK.js');
|
|
25
|
-
require('./package-
|
|
24
|
+
require('./package-wSbEFwqE.js');
|
|
26
25
|
|
|
27
26
|
const makeGetPayoutDetails = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
|
|
28
27
|
var _a;
|
|
@@ -64,8 +63,8 @@ const PayoutDetails = class {
|
|
|
64
63
|
};
|
|
65
64
|
}
|
|
66
65
|
componentWillLoad() {
|
|
67
|
-
|
|
68
|
-
this.analytics = new
|
|
66
|
+
checkPkgVersion.checkPkgVersion();
|
|
67
|
+
this.analytics = new checkPkgVersion.JustifiAnalytics(this);
|
|
69
68
|
this.initializeServices();
|
|
70
69
|
}
|
|
71
70
|
disconnectedCallback() {
|
|
@@ -4,16 +4,15 @@ var index = require('./index-2GwnTbNA.js');
|
|
|
4
4
|
var configState = require('./config-state-BTfJl-LU.js');
|
|
5
5
|
var utils$1 = require('./utils-qOon0GWm.js');
|
|
6
6
|
var ComponentError = require('./ComponentError-CEv9ltwy.js');
|
|
7
|
-
require('./Checkout-
|
|
7
|
+
require('./Checkout-BTgAlgVL.js');
|
|
8
8
|
var Pagination = require('./Pagination-Dediz133.js');
|
|
9
9
|
require('./Payment-D5UynU2f.js');
|
|
10
|
-
var Refund = require('./Refund-
|
|
11
|
-
require('./Document-rXGBUaOh.js');
|
|
10
|
+
var Refund = require('./Refund-BFE-2OxN.js');
|
|
12
11
|
require('./Business-DCRzZf0w.js');
|
|
13
12
|
require('./Dispute-CruQTF6_.js');
|
|
14
|
-
var
|
|
13
|
+
var checkPkgVersion = require('./check-pkg-version-CgQ8N_ta.js');
|
|
15
14
|
var utils = require('./utils-IGCnjtqc.js');
|
|
16
|
-
var payout_service = require('./payout.service-
|
|
15
|
+
var payout_service = require('./payout.service-BHU3EPR2.js');
|
|
17
16
|
var table = require('./table-BgQP2M2-.js');
|
|
18
17
|
var styledHost = require('./styled-host-IMxk64cc.js');
|
|
19
18
|
var eventTypes = require('./event-types-YOY5TKUN.js');
|
|
@@ -22,7 +21,7 @@ require('./index-DEMVrrsF.js');
|
|
|
22
21
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
23
22
|
require('./helpers-B5OCqlIM.js');
|
|
24
23
|
require('./state-options-CIT9xdTz.js');
|
|
25
|
-
require('./package-
|
|
24
|
+
require('./package-wSbEFwqE.js');
|
|
26
25
|
require('./Api-BTdkb3Zh.js');
|
|
27
26
|
require('./spinner-DOC4Ab7M.js');
|
|
28
27
|
|
|
@@ -138,8 +137,8 @@ const PayoutTransactionsList = class {
|
|
|
138
137
|
}
|
|
139
138
|
componentWillLoad() {
|
|
140
139
|
this.transactionsTable = new table.Table(this.balanceTransactions, this.columns, payoutTransactionTableColumns, payoutTransactionTableCells);
|
|
141
|
-
|
|
142
|
-
this.analytics = new
|
|
140
|
+
checkPkgVersion.checkPkgVersion();
|
|
141
|
+
this.analytics = new checkPkgVersion.JustifiAnalytics(this);
|
|
143
142
|
this.initializeApi();
|
|
144
143
|
}
|
|
145
144
|
disconnectedCallback() {
|
|
@@ -2,24 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-2GwnTbNA.js');
|
|
4
4
|
var ComponentError = require('./ComponentError-CEv9ltwy.js');
|
|
5
|
-
var
|
|
6
|
-
var payout_service = require('./payout.service-
|
|
5
|
+
var checkPkgVersion = require('./check-pkg-version-CgQ8N_ta.js');
|
|
6
|
+
var payout_service = require('./payout.service-BHU3EPR2.js');
|
|
7
7
|
require('./config-state-BTfJl-LU.js');
|
|
8
8
|
require('./utils-qOon0GWm.js');
|
|
9
|
-
require('./Checkout-
|
|
9
|
+
require('./Checkout-BTgAlgVL.js');
|
|
10
10
|
require('./Pagination-Dediz133.js');
|
|
11
11
|
require('./Payment-D5UynU2f.js');
|
|
12
|
-
var Refund = require('./Refund-
|
|
13
|
-
require('./Document-rXGBUaOh.js');
|
|
12
|
+
var Refund = require('./Refund-BFE-2OxN.js');
|
|
14
13
|
require('./Business-DCRzZf0w.js');
|
|
15
14
|
require('./Dispute-CruQTF6_.js');
|
|
16
15
|
var utils = require('./utils-IGCnjtqc.js');
|
|
17
16
|
var getPayoutCsv = require('./get-payout-csv-CdNRRH0t.js');
|
|
18
|
-
var getSubaccounts = require('./get-subaccounts-
|
|
17
|
+
var getSubaccounts = require('./get-subaccounts-CgOAdXG4.js');
|
|
19
18
|
var styledHost = require('./styled-host-IMxk64cc.js');
|
|
20
19
|
require('./event-types-YOY5TKUN.js');
|
|
21
20
|
var payoutsTable = require('./payouts-table-1HL4kk9B.js');
|
|
22
|
-
require('./package-
|
|
21
|
+
require('./package-wSbEFwqE.js');
|
|
23
22
|
require('./Api-BTdkb3Zh.js');
|
|
24
23
|
require('./index-DEMVrrsF.js');
|
|
25
24
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
@@ -70,8 +69,8 @@ const PayoutsList = class {
|
|
|
70
69
|
};
|
|
71
70
|
}
|
|
72
71
|
componentWillLoad() {
|
|
73
|
-
|
|
74
|
-
this.analytics = new
|
|
72
|
+
checkPkgVersion.checkPkgVersion();
|
|
73
|
+
this.analytics = new checkPkgVersion.JustifiAnalytics(this);
|
|
75
74
|
this.initializeGetData();
|
|
76
75
|
}
|
|
77
76
|
disconnectedCallback() {
|