@justifi/webcomponents 6.0.0-rc.1 → 6.0.0-rc.2
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/bank-account-document-form-inputs_4.cjs.entry.js +2 -2
- package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
- package/dist/cjs/card-form.cjs.entry.js +2 -2
- package/dist/cjs/{check-pkg-version-D_lazhBQ.js → check-pkg-version-BfmeLSXP.js} +1 -1
- package/dist/cjs/{checkout.store-CV_fuGQw.js → checkout.store-Cn3Jj5gi.js} +1 -0
- package/dist/cjs/checkouts-list-core.cjs.entry.js +1 -1
- package/dist/cjs/custom-popper_2.cjs.entry.js +2 -2
- package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/form-control-date.cjs.entry.js +2 -2
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
- package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +2 -2
- package/dist/cjs/form-control-number.cjs.entry.js +2 -2
- package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
- package/dist/cjs/form-control-select_2.cjs.entry.js +4 -4
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +5 -5
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +8 -8
- package/dist/cjs/justifi-apple-pay.cjs.entry.js +830 -0
- package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +11 -11
- package/dist/cjs/justifi-business-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-business-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout-summary_6.cjs.entry.js +98 -11
- package/dist/cjs/justifi-checkout.cjs.entry.js +3 -3
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +3 -3
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +5 -5
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +2 -2
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payout-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +2 -2
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +3 -3
- package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +3 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-Cp_7Ls2E.js → package-CuNDvHTB.js} +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +8 -8
- package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
- package/dist/cjs/payments-list-core.cjs.entry.js +1 -1
- package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
- package/dist/cjs/payouts-list-core.cjs.entry.js +1 -1
- package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +1 -1
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/terminals-list-core.cjs.entry.js +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/ApplePay.js +119 -0
- package/dist/collection/api/services/apple-pay.service.js +329 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout/saved-payment-method.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management.js +1 -1
- package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
- package/dist/collection/components/filters/table-filters-menu.js +1 -1
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
- package/dist/collection/components/modular-checkout/modular-checkout.js +92 -5
- package/dist/collection/components/modular-checkout/sub-components/apple-pay-skeleton.js +10 -0
- package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +554 -0
- package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
- package/dist/collection/components/order-terminals/order-terminals.js +1 -1
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
- package/dist/collection/components/payment-details/payment-details-core.js +8 -8
- package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
- package/dist/collection/components/payments-list/payments-list-core.js +1 -1
- package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
- package/dist/collection/components/payments-list/payments-list.js +1 -1
- package/dist/collection/components/payout-details/payout-details-core.js +3 -3
- package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
- package/dist/collection/components/payouts-list/payouts-list.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
- package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list.js +1 -1
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +1 -1
- package/dist/collection/store/checkout.store.js +1 -0
- package/dist/collection/ui-components/apple-pay-button.js +146 -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 +3 -3
- package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
- package/dist/docs.json +463 -1
- package/dist/esm/additional-questions-details_5.entry.js +2 -2
- package/dist/esm/{badge-D_mzXSCQ.js → badge-D4ZXPFjL.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +5 -5
- package/dist/esm/bank-account-form.entry.js +4 -4
- package/dist/esm/business-details-core.entry.js +3 -3
- package/dist/esm/{button-CeR8qVS3.js → button-C0wLsDP3.js} +1 -1
- package/dist/esm/card-form.entry.js +4 -4
- package/dist/esm/{check-pkg-version-Bb69ihTN.js → check-pkg-version-BuYkk-jV.js} +1 -1
- package/dist/esm/{checkout.store-B60siz2l.js → checkout.store-OAv_iY1u.js} +1 -0
- package/dist/esm/checkouts-list-core.entry.js +6 -6
- package/dist/esm/{checkouts-table-CFZYoYjn.js → checkouts-table-DjGKtqoc.js} +2 -2
- package/dist/esm/custom-popper_2.entry.js +3 -3
- package/dist/esm/form-alert_5.entry.js +1 -1
- package/dist/esm/form-control-checkbox.entry.js +5 -5
- package/dist/esm/form-control-date.entry.js +4 -4
- package/dist/esm/{form-control-error-text-D3ZwkOv-.js → form-control-error-text-Bzfs_rxk.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +5 -5
- package/dist/esm/{form-control-help-text-C39ZW65w.js → form-control-help-text-ueLctOBN.js} +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
- package/dist/esm/form-control-monetary.entry.js +5 -5
- package/dist/esm/form-control-number-masked_2.entry.js +4 -4
- package/dist/esm/form-control-number.entry.js +5 -5
- package/dist/esm/form-control-radio.entry.js +3 -3
- package/dist/esm/form-control-select_2.entry.js +6 -6
- package/dist/esm/gross-payment-chart-core.entry.js +4 -4
- package/dist/esm/{header-1-E-hEi3wF.js → header-1-BMKEv9y6.js} +1 -1
- package/dist/esm/{header-3-Dm7M85kz.js → header-3-C3t3m27b.js} +1 -1
- package/dist/esm/hidden-input_2.entry.js +7 -7
- package/dist/esm/{insurance-state-CB4l8sOv.js → insurance-state-d4hjThzE.js} +1 -1
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +3 -3
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +2 -2
- package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
- package/dist/esm/justifi-apple-pay.entry.js +828 -0
- package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +15 -15
- package/dist/esm/justifi-business-details.entry.js +4 -4
- package/dist/esm/justifi-business-form.entry.js +6 -6
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
- package/dist/esm/justifi-checkout-summary_6.entry.js +102 -15
- package/dist/esm/justifi-checkout.entry.js +4 -4
- package/dist/esm/justifi-checkouts-list-filters.entry.js +2 -2
- package/dist/esm/justifi-checkouts-list.entry.js +6 -6
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
- package/dist/esm/justifi-dispute-management.entry.js +3 -3
- package/dist/esm/justifi-dispute-notification_3.entry.js +8 -8
- package/dist/esm/justifi-gross-payment-chart.entry.js +4 -4
- package/dist/esm/justifi-order-terminals.entry.js +5 -5
- package/dist/esm/justifi-owner-form_3.entry.js +2 -2
- package/dist/esm/justifi-payment-details.entry.js +4 -4
- package/dist/esm/justifi-payment-provisioning-core.entry.js +2 -2
- package/dist/esm/justifi-payment-provisioning.entry.js +2 -2
- package/dist/esm/justifi-payment-transactions-list.entry.js +6 -6
- package/dist/esm/justifi-payments-list-filters.entry.js +3 -3
- package/dist/esm/justifi-payments-list.entry.js +7 -7
- package/dist/esm/justifi-payout-details.entry.js +4 -4
- package/dist/esm/justifi-payout-transactions-list.entry.js +6 -6
- package/dist/esm/justifi-payouts-list-filters.entry.js +3 -3
- package/dist/esm/justifi-payouts-list.entry.js +7 -7
- package/dist/esm/justifi-refund-payment.entry.js +5 -5
- package/dist/esm/justifi-saved-payment-method.entry.js +2 -2
- package/dist/esm/justifi-season-interruption-insurance.entry.js +6 -6
- package/dist/esm/justifi-skeleton.entry.js +3 -3
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +3 -3
- package/dist/esm/justifi-terminal-orders-list.entry.js +6 -6
- package/dist/esm/justifi-terminals-list-filters.entry.js +2 -2
- package/dist/esm/justifi-terminals-list.entry.js +6 -6
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-O3LY2Da6.js → package-C60pS6qh.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-CfF8KKwx.js → parts-RvUQ__Pq.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +13 -13
- package/dist/esm/payment-method-option.entry.js +2 -2
- package/dist/esm/payments-list-core.entry.js +7 -7
- package/dist/esm/{payments-status-XoZrlbiZ.js → payments-status-1yRdTNeS.js} +1 -1
- package/dist/esm/{payments-table-Dh4P9mTb.js → payments-table-8RADYkma.js} +2 -2
- package/dist/esm/payout-details-core.entry.js +9 -9
- package/dist/esm/payouts-list-core.entry.js +7 -7
- package/dist/esm/{payouts-status-Qm2jZG1-.js → payouts-status-BqsQVtBp.js} +1 -1
- package/dist/esm/{payouts-table-DMVAZp-r.js → payouts-table-DPw7yIx8.js} +2 -2
- package/dist/esm/{skeleton-DrHwsgs_.js → skeleton-BmTjpTYa.js} +1 -1
- package/dist/esm/{spinner-XBq6mVJW.js → spinner-YGDOI-CS.js} +1 -1
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/{table-qqt2Ew5y.js → table-ybHxxc9f.js} +2 -2
- package/dist/esm/terminal-orders-list-core.entry.js +6 -6
- package/dist/esm/{terminal-orders-table-BN4Co4T8.js → terminal-orders-table-D-xP5WuM.js} +2 -2
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/terminals-list-core.entry.js +6 -6
- package/dist/esm/{terminals-table-C8LczeG_.js → terminals-table-DVAPCgEr.js} +2 -2
- package/dist/esm/{utils-kWaZhFAd.js → utils-DG5aMFmf.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/additional-statement.js +1 -1
- package/dist/module/bank-account-billing-form-simple.js +1 -1
- package/dist/module/bank-account-form.js +2 -2
- package/dist/module/bank-account.js +2 -2
- package/dist/module/cancellation-policy.js +1 -1
- package/dist/module/card-billing-form-simple.js +1 -1
- package/dist/module/card-form.js +2 -2
- package/dist/module/card-form2.js +2 -2
- package/dist/module/checkout.store.js +1 -0
- package/dist/module/checkouts-list-core2.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/justifi-apple-pay.d.ts +11 -0
- package/dist/module/justifi-apple-pay.js +871 -0
- package/dist/module/justifi-button2.js +1 -1
- package/dist/module/justifi-checkouts-list-filters.js +1 -1
- package/dist/module/justifi-checkouts-list.js +1 -1
- package/dist/module/justifi-dispute-management.js +1 -1
- package/dist/module/justifi-header2.js +1 -1
- package/dist/module/justifi-order-terminals.js +1 -1
- package/dist/module/justifi-payment-transactions-list.js +1 -1
- package/dist/module/justifi-payments-list-filters.js +2 -2
- package/dist/module/justifi-payments-list.js +1 -1
- package/dist/module/justifi-payout-transactions-list.js +1 -1
- package/dist/module/justifi-payouts-list-filters.js +2 -2
- package/dist/module/justifi-payouts-list.js +1 -1
- package/dist/module/justifi-saved-payment-method.js +1 -1
- package/dist/module/justifi-skeleton.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +2 -2
- package/dist/module/justifi-terminal-orders-list.js +1 -1
- package/dist/module/justifi-terminals-list-filters.js +1 -1
- package/dist/module/justifi-terminals-list.js +1 -1
- package/dist/module/modular-checkout.js +92 -5
- package/dist/module/package.js +1 -1
- package/dist/module/payment-details-core2.js +8 -8
- package/dist/module/payment-method-option.js +1 -1
- package/dist/module/payments-list-core2.js +1 -1
- package/dist/module/payout-details-core2.js +3 -3
- package/dist/module/payouts-list-core2.js +1 -1
- package/dist/module/product-or-service.js +1 -1
- package/dist/module/refund-policy.js +1 -1
- package/dist/module/save-new-payment-method.js +1 -1
- package/dist/module/shipping-details.js +1 -1
- package/dist/module/summary.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +1 -1
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/terminals-list-core2.js +1 -1
- package/dist/module/tokenize-payment-method.js +1 -1
- package/dist/types/api/ApplePay.d.ts +196 -0
- package/dist/types/api/services/apple-pay.service.d.ts +65 -0
- package/dist/types/components/modular-checkout/modular-checkout.d.ts +8 -0
- package/dist/types/components/modular-checkout/sub-components/apple-pay-skeleton.d.ts +6 -0
- package/dist/types/components/modular-checkout/sub-components/apple-pay.d.ts +38 -0
- package/dist/types/components.d.ts +120 -0
- package/dist/types/store/checkout.store.d.ts +1 -0
- package/dist/types/ui-components/apple-pay-button.d.ts +17 -0
- package/dist/webcomponents/{p-48bccf3b.entry.js → p-03c7cee8.entry.js} +1 -1
- package/dist/webcomponents/{p-4ba144ac.entry.js → p-08a5cc2f.entry.js} +1 -1
- package/dist/webcomponents/{p-f47095cd.entry.js → p-0aa78c58.entry.js} +1 -1
- package/dist/webcomponents/{p-424f491c.entry.js → p-0aee6da6.entry.js} +1 -1
- package/dist/webcomponents/p-0e64cd09.entry.js +1 -0
- package/dist/webcomponents/{p-2f31a4e5.entry.js → p-1202181b.entry.js} +1 -1
- package/dist/webcomponents/p-1246b999.entry.js +1 -0
- package/dist/webcomponents/p-12c312a0.entry.js +1 -0
- package/dist/webcomponents/p-1a83d9f2.entry.js +1 -0
- package/dist/webcomponents/{p-df199396.entry.js → p-1b892b3a.entry.js} +1 -1
- package/dist/webcomponents/p-1c0c1d7b.entry.js +1 -0
- package/dist/webcomponents/p-1e206c92.entry.js +1 -0
- package/dist/webcomponents/{p-828a61b9.entry.js → p-2169c3d1.entry.js} +1 -1
- package/dist/webcomponents/{p-77515be6.entry.js → p-281e36be.entry.js} +1 -1
- package/dist/webcomponents/{p-7322c86e.entry.js → p-2988e82c.entry.js} +1 -1
- package/dist/webcomponents/p-2a0a907d.entry.js +1 -0
- package/dist/webcomponents/{p-dd689b5e.entry.js → p-32cc081a.entry.js} +1 -1
- package/dist/webcomponents/{p-f01953ea.entry.js → p-387bcdee.entry.js} +1 -1
- package/dist/webcomponents/{p-1f8cd44e.entry.js → p-41416b5f.entry.js} +1 -1
- package/dist/webcomponents/{p-131d799c.entry.js → p-42994618.entry.js} +1 -1
- package/dist/webcomponents/{p-7c51805a.entry.js → p-4a79c737.entry.js} +1 -1
- package/dist/webcomponents/{p-a8205044.entry.js → p-4c994761.entry.js} +1 -1
- package/dist/webcomponents/{p-c3a2c619.entry.js → p-4cf9168d.entry.js} +1 -1
- package/dist/webcomponents/p-5510b57c.entry.js +1 -0
- package/dist/webcomponents/{p-6849bf8e.entry.js → p-55b7bdba.entry.js} +1 -1
- package/dist/webcomponents/{p-1bdce018.entry.js → p-59e8f027.entry.js} +1 -1
- package/dist/webcomponents/p-5a5f07be.entry.js +1 -0
- package/dist/webcomponents/p-5acd6add.entry.js +1 -0
- package/dist/webcomponents/{p-6e18d13f.entry.js → p-5ad70aae.entry.js} +1 -1
- package/dist/webcomponents/p-5afbfafb.entry.js +1 -0
- package/dist/webcomponents/p-6974a44c.entry.js +1 -0
- package/dist/webcomponents/p-6f2b41f5.entry.js +1 -0
- package/dist/webcomponents/p-6f9755cc.entry.js +1 -0
- package/dist/webcomponents/p-7288473f.entry.js +1 -0
- package/dist/webcomponents/{p-79055216.entry.js → p-76a95d07.entry.js} +1 -1
- package/dist/webcomponents/{p-a4172773.entry.js → p-7b9fa1fb.entry.js} +1 -1
- package/dist/webcomponents/{p-dfd7c212.entry.js → p-92efb3f2.entry.js} +1 -1
- package/dist/webcomponents/p-98939b74.entry.js +1 -0
- package/dist/webcomponents/{p-BTkXk7ol.js → p-BUadwxkh.js} +1 -1
- package/dist/webcomponents/{p-CCME-fyU.js → p-BXKEChoo.js} +1 -1
- package/dist/webcomponents/p-BZzESzqz.js +1 -0
- package/dist/webcomponents/{p-Dvxpy_P1.js → p-BhdBpAn9.js} +1 -1
- package/dist/webcomponents/p-BmFoKOM3.js +1 -0
- package/dist/webcomponents/p-BtOB_CaO.js +1 -0
- package/dist/webcomponents/{p-qMrd7_Gp.js → p-C0AHrswP.js} +1 -1
- package/dist/webcomponents/p-C60pS6qh.js +1 -0
- package/dist/webcomponents/{p-BeszVz87.js → p-CP_tg-uH.js} +1 -1
- package/dist/webcomponents/{p-JgbsbAhz.js → p-D48iERjQ.js} +1 -1
- package/dist/webcomponents/p-D7eeJWA-.js +1 -0
- package/dist/webcomponents/{p-BNz6wy4f.js → p-D9Sv4eV5.js} +1 -1
- package/dist/webcomponents/{p-CsNubTqD.js → p-DBsw4qpn.js} +1 -1
- package/dist/webcomponents/{p-vRhNRfmB.js → p-DKRXPZKS.js} +1 -1
- package/dist/webcomponents/p-DOd8HaWV.js +1 -0
- package/dist/webcomponents/p-DcE8SQPv.js +1 -0
- package/dist/webcomponents/p-Drz6LnIw.js +1 -0
- package/dist/webcomponents/{p-DO3INvI2.js → p-DuXN7Akd.js} +1 -1
- package/dist/webcomponents/{p-Bz164TKZ.js → p-HAk7yBNq.js} +1 -1
- package/dist/webcomponents/{p-CfF8KKwx.js → p-RvUQ__Pq.js} +1 -1
- package/dist/webcomponents/p-a1a8f6bd.entry.js +1 -0
- package/dist/webcomponents/{p-15777cfe.entry.js → p-a406bf1a.entry.js} +1 -1
- package/dist/webcomponents/{p-fa33df9f.entry.js → p-a70bc148.entry.js} +1 -1
- package/dist/webcomponents/{p-57143978.entry.js → p-a9d2dd5e.entry.js} +1 -1
- package/dist/webcomponents/{p-ded22005.entry.js → p-ab308ee3.entry.js} +1 -1
- package/dist/webcomponents/{p-c5b48e8d.entry.js → p-afc83e27.entry.js} +1 -1
- package/dist/webcomponents/{p-3d85d046.entry.js → p-b04cc606.entry.js} +1 -1
- package/dist/webcomponents/p-b41d2b8f.entry.js +1 -0
- package/dist/webcomponents/p-b8f63e28.entry.js +1 -0
- package/dist/webcomponents/p-ba84c3bd.entry.js +1 -0
- package/dist/webcomponents/{p-bea4309d.entry.js → p-bfc38bc2.entry.js} +1 -1
- package/dist/webcomponents/{p-283cd78b.entry.js → p-c62e23c1.entry.js} +1 -1
- package/dist/webcomponents/{p-b0bfa20f.entry.js → p-c6860f60.entry.js} +1 -1
- package/dist/webcomponents/{p-cebe360b.entry.js → p-c7e5245a.entry.js} +1 -1
- package/dist/webcomponents/{p-9106fd74.entry.js → p-cabaf013.entry.js} +1 -1
- package/dist/webcomponents/{p-dd6d6ddb.entry.js → p-cbfc8269.entry.js} +1 -1
- package/dist/webcomponents/{p-ae4297dd.entry.js → p-cf16498f.entry.js} +1 -1
- package/dist/webcomponents/{p-f3a757b2.entry.js → p-d014a155.entry.js} +1 -1
- package/dist/webcomponents/{p-28c7bef7.entry.js → p-dc245644.entry.js} +4 -4
- package/dist/webcomponents/{p-ba8ae31f.entry.js → p-e6ca1872.entry.js} +1 -1
- package/dist/webcomponents/{p-904a95e5.entry.js → p-e8a198fa.entry.js} +1 -1
- package/dist/webcomponents/{p-1d53f0b8.entry.js → p-ea1b161a.entry.js} +1 -1
- package/dist/webcomponents/p-eff0b0e9.entry.js +1 -0
- package/dist/webcomponents/p-f3be7b2b.entry.js +1 -0
- package/dist/webcomponents/p-f787bc18.entry.js +1 -0
- package/dist/webcomponents/p-fb1904d2.entry.js +1 -0
- package/dist/webcomponents/{p-36d72e2d.entry.js → p-fbaf62a5.entry.js} +1 -1
- package/dist/webcomponents/p-fcb6e870.entry.js +1 -0
- package/dist/webcomponents/{p-YND5pTuF.js → p-nWGo6sHu.js} +1 -1
- package/dist/webcomponents/{p-BisQ61nK.js → p-wyEq9Pa1.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/webcomponents/p-08ea8974.entry.js +0 -1
- package/dist/webcomponents/p-0932f6a9.entry.js +0 -1
- package/dist/webcomponents/p-09e768fe.entry.js +0 -1
- package/dist/webcomponents/p-0dcc83ac.entry.js +0 -1
- package/dist/webcomponents/p-22be0859.entry.js +0 -1
- package/dist/webcomponents/p-3a4ca4df.entry.js +0 -1
- package/dist/webcomponents/p-40ba49e4.entry.js +0 -1
- package/dist/webcomponents/p-466f33d7.entry.js +0 -1
- package/dist/webcomponents/p-57802e57.entry.js +0 -1
- package/dist/webcomponents/p-818f51fd.entry.js +0 -1
- package/dist/webcomponents/p-89e27079.entry.js +0 -1
- package/dist/webcomponents/p-8f0339de.entry.js +0 -1
- package/dist/webcomponents/p-9b75aced.entry.js +0 -1
- package/dist/webcomponents/p-BC8YDY7M.js +0 -1
- package/dist/webcomponents/p-BbYVgLcf.js +0 -1
- package/dist/webcomponents/p-C1fMfnu0.js +0 -1
- package/dist/webcomponents/p-C_CXv7AN.js +0 -1
- package/dist/webcomponents/p-CwZKT93w.js +0 -1
- package/dist/webcomponents/p-D599ZMGU.js +0 -1
- package/dist/webcomponents/p-O3LY2Da6.js +0 -1
- package/dist/webcomponents/p-a7d5e434.entry.js +0 -1
- package/dist/webcomponents/p-ae5a3c2a.entry.js +0 -1
- package/dist/webcomponents/p-be06d86a.entry.js +0 -1
- package/dist/webcomponents/p-d0e24727.entry.js +0 -1
- package/dist/webcomponents/p-d77908ca.entry.js +0 -1
- package/dist/webcomponents/p-dd257e60.entry.js +0 -1
- package/dist/webcomponents/p-e830a580.entry.js +0 -1
- package/dist/webcomponents/p-e859ece8.entry.js +0 -1
- package/dist/webcomponents/p-eaea7cc1.entry.js +0 -1
- package/dist/webcomponents/p-ff3377e7.entry.js +0 -1
- package/dist/webcomponents/p-ff869ded.entry.js +0 -1
- package/dist/webcomponents/p-zrUQD0Wr.js +0 -1
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-kpoIU4v_.js';
|
|
2
2
|
import { c as create$3, F as FormController } from './index.esm-cYgKOXtz.js';
|
|
3
3
|
import { k as postalValidation, l as stateValidation, m as cityValidation, n as lineTwoValidation, q as lineOneValidation, y as identityNameValidation } from './schema-validations-DcR1ujuX.js';
|
|
4
|
-
import { r as radioListItem, av as billingForm } from './parts-
|
|
4
|
+
import { r as radioListItem, av as billingForm } from './parts-RvUQ__Pq.js';
|
|
5
5
|
import { S as StyledHost } from './styled-host-B_XBaM7z.js';
|
|
6
6
|
import './event-types-CZfYo5-1.js';
|
|
7
|
-
import { S as Skeleton } from './skeleton-
|
|
8
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
7
|
+
import { S as Skeleton } from './skeleton-BmTjpTYa.js';
|
|
8
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BuYkk-jV.js';
|
|
9
9
|
import { w as waitForConfig, c as configState } from './config-state-BrllxiM0.js';
|
|
10
|
-
import { H as Header3 } from './header-3-
|
|
10
|
+
import { H as Header3 } from './header-3-C3t3m27b.js';
|
|
11
11
|
import { n as numberOnlyHandler } from './utils-BnjCmwMr.js';
|
|
12
12
|
import { S as StateOptions } from './state-options-BX8GieXu.js';
|
|
13
|
-
import { B as Button } from './button-
|
|
14
|
-
import { c as checkoutStore } from './checkout.store-
|
|
13
|
+
import { B as Button } from './button-C0wLsDP3.js';
|
|
14
|
+
import { c as checkoutStore } from './checkout.store-OAv_iY1u.js';
|
|
15
15
|
import './_commonjsHelpers-BFTU3MAI.js';
|
|
16
16
|
import './business-form-options-CgssATyg.js';
|
|
17
17
|
import './Business-BCoP0TAV.js';
|
|
18
18
|
import './helpers-Mu7LQT-w.js';
|
|
19
|
-
import './package-
|
|
19
|
+
import './package-C60pS6qh.js';
|
|
20
20
|
import './Api-N_veT2p6.js';
|
|
21
21
|
import './utils-lb8p1Exq.js';
|
|
22
22
|
import './dinero-HXpYMWUU.js';
|
|
@@ -96,7 +96,7 @@ const BankAccountBillingFormSimple = class {
|
|
|
96
96
|
}
|
|
97
97
|
render() {
|
|
98
98
|
const billingFormDefaultValue = this.formController.getInitialValues();
|
|
99
|
-
return (h(StyledHost, { key: '
|
|
99
|
+
return (h(StyledHost, { key: '5d20a10cee1aae5c6500b5ce0045859f9c2b9e60' }, h("div", { key: '9c5f77f6b03a70b4825bf40dd470d757cfe1eb50', part: billingForm, class: "mt-4" }, h("form", { key: 'a588d182b5d0a212d74fec4a7ce77bc743e387ca' }, h("fieldset", { key: '997ae96111c02eba64b6109786d634f0fe1d28d1' }, this.legend && (h("legend", { key: 'fdcaf97a5968bcdfa6e79b8da9ab8f111721ba3c' }, this.legend)), h("div", { key: '2b56bb94f907d2e6a68b8177c0d1dd77fae92aae', class: "row gy-3" }, h("div", { key: '0588a51e0d9a2bb0d643688677f02e2473c834f5', class: "col-12" }, h("form-control-text", { key: '06706f6b9db8f6ae7f732d8423b47af99718a2d7', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler }))))))));
|
|
100
100
|
}
|
|
101
101
|
};
|
|
102
102
|
|
|
@@ -153,10 +153,10 @@ const BankAccountForm = class {
|
|
|
153
153
|
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
154
154
|
}
|
|
155
155
|
render() {
|
|
156
|
-
return (h(StyledHost, { key: '
|
|
156
|
+
return (h(StyledHost, { key: 'f6b75ae15faeea635abbdcbefee10a8bdb78ba08' }, h(BankAccountFormSkeleton, { key: '39f42d054342305001a934feeb29c65caa0fe941', isReady: this.isReady }), h("hidden-input", { key: 'd4bf758fe0600db0f1535ff9040cc3d9e25c45b9' }), h("div", { key: '095bd8da35c668c7c40d696454310e0e320a1730', class: "container-fluid p-0", style: {
|
|
157
157
|
opacity: this.isReady ? '1' : '0',
|
|
158
158
|
height: this.isReady ? 'auto' : '0',
|
|
159
|
-
} }, h("div", { key: '
|
|
159
|
+
} }, h("div", { key: 'db367bbd03c3d563913228c1051bdb9bb61c11a9', class: "row mb-3" }, h("iframe-input", { key: 'e636d0226cf832f6cd7fde39ea5f471aae6d4605', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), h("div", { key: '410dd5cdca9e6774f96133fe4dbb29f0d1405138', class: "row" }, h("iframe-input", { key: '26b7138268f6e4f866c4eaf3d2f9c4b0ba00a6c3', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
|
|
160
160
|
}
|
|
161
161
|
};
|
|
162
162
|
|
|
@@ -237,7 +237,7 @@ const JustifiButton = class {
|
|
|
237
237
|
this.type = 'button';
|
|
238
238
|
}
|
|
239
239
|
render() {
|
|
240
|
-
return (h(StyledHost, { key: '
|
|
240
|
+
return (h(StyledHost, { key: '0cc61730e0afccbf438382a3d709397ebe327a9a' }, h(Button, { key: 'c82eb8f914aa50df8b3e51d271a9e4c29602369e', variant: this.variant, isLoading: this.isLoading, clickHandler: this.clickHandler, class: this.class, type: this.type, disabled: this.disabled, style: this.customStyle }, this.text)));
|
|
241
241
|
}
|
|
242
242
|
};
|
|
243
243
|
|
|
@@ -271,7 +271,7 @@ const CardBillingFormSimple = class {
|
|
|
271
271
|
}
|
|
272
272
|
render() {
|
|
273
273
|
const billingFormDefaultValue = this.formController.getInitialValues();
|
|
274
|
-
return (h(StyledHost, { key: '
|
|
274
|
+
return (h(StyledHost, { key: '2d6aa2cd3535338d3944b5bfa1f3e1b6c9fa237d' }, h("div", { key: '0d05444651f2ff00d25b11522ab4e30ce7e24f03', part: billingForm }, h("form", { key: 'fb3daca11e18c7cc068cc29650265a6fc2f48f7c' }, h("fieldset", { key: '2f32c7b540623519c2c7b3f781a1353be847e28c' }, this.legend && (h("legend", { key: '1def4406192651e851b94574abdb10c6f4c86a42' }, this.legend)), h("div", { key: '242b2ef201c5eafe083200cc1d9c4988f4229f5c', class: "row gy-3" }, h("div", { key: 'c7d8084f259ad0591bdd524af579b98048730f19', class: "col-12" }, h("form-control-text", { key: '8ad5e18bde33254f02d72307f8b16e0ba6212beb', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler }))))))));
|
|
275
275
|
}
|
|
276
276
|
};
|
|
277
277
|
|
|
@@ -336,10 +336,10 @@ const JustifiCardForm = class {
|
|
|
336
336
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
337
337
|
}
|
|
338
338
|
render() {
|
|
339
|
-
return (h(StyledHost, { key: '
|
|
339
|
+
return (h(StyledHost, { key: '18d429a9feac5ab030ab040a9aec0efdc0a09b3a' }, h(CardFormSkeleton, { key: '8a7a41be9477f7656601a1b21bbd89398846ddda', isReady: this.isReady }), h("hidden-input", { key: '256715cd96354c50903c03e15b3de7a81c25e59f' }), h("div", { key: 'd55bae0a16f8572e476f012594ca99074e1f3af5', class: "container-fluid p-0", style: {
|
|
340
340
|
opacity: this.isReady ? '1' : '0',
|
|
341
341
|
height: this.isReady ? 'auto' : '0',
|
|
342
|
-
} }, h("div", { key: '
|
|
342
|
+
} }, h("div", { key: '7d1906ad3065c71e5871c0fbb30686dcfa011ecb', class: "mb-3" }, h("iframe-input", { key: 'cabb51df56859dcf77a8e7b1bd18841eea872a96', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: 'dc14f4d1cadd95587cee0e0fbf82b48b7ade1ffb', class: "row" }, h("div", { key: 'd6637ada2d0b35e41ffceedd4427bc8e819a564d', class: "col-4 align-content-end" }, h("iframe-input", { key: '57bac9f6b1695cb62f60483b4350aa9a1365f944', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: '2264ccbe1c8ca30b3359cf52b3cef7ac0707462e', class: "col-4 align-content-end" }, h("iframe-input", { key: '0195b665d1b4809c9ab04c68fcd3de6a1f6af562', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: '07578e7173b66895b84091184f7f3166fcf00314', class: "col-4 align-content-end" }, h("iframe-input", { key: 'cea4796ffdec09d0c9b56d3a09d5e0571744a966', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
|
|
343
343
|
}
|
|
344
344
|
};
|
|
345
345
|
|
|
@@ -355,7 +355,7 @@ const SaveNewPaymentMethod = class {
|
|
|
355
355
|
};
|
|
356
356
|
}
|
|
357
357
|
render() {
|
|
358
|
-
return (h(StyledHost, { key: 'f23a4f992eef86df7ebfa86f4b46b232456016b2' }, h("
|
|
358
|
+
return (h(StyledHost, { key: 'f23a4f992eef86df7ebfa86f4b46b232456016b2' }, h("form-control-checkbox", { key: 'aff52e51dac64207f95e439b26902c772d84963d', label: "Save New Payment Method", name: "saveNewPaymentMethod", checked: this.isChecked, inputHandler: this.handleCheckboxChange })));
|
|
359
359
|
}
|
|
360
360
|
};
|
|
361
361
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-kpoIU4v_.js';
|
|
2
|
-
import { E as ErrorState } from './utils-
|
|
2
|
+
import { E as ErrorState } from './utils-DG5aMFmf.js';
|
|
3
3
|
import { B as BusinessService } from './business.service-Bdvhdc_d.js';
|
|
4
4
|
import { m as makeGetBusiness } from './get-business-Crb6P-iI.js';
|
|
5
5
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
|
|
6
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
7
|
-
import './parts-
|
|
6
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BuYkk-jV.js';
|
|
7
|
+
import './parts-RvUQ__Pq.js';
|
|
8
8
|
import './Api-N_veT2p6.js';
|
|
9
9
|
import './config-state-BrllxiM0.js';
|
|
10
10
|
import './index-B9me4yN2.js';
|
|
@@ -17,7 +17,7 @@ import './Business-BCoP0TAV.js';
|
|
|
17
17
|
import './helpers-Mu7LQT-w.js';
|
|
18
18
|
import './state-options-BX8GieXu.js';
|
|
19
19
|
import './utils-BeQLScSm.js';
|
|
20
|
-
import './package-
|
|
20
|
+
import './package-C60pS6qh.js';
|
|
21
21
|
|
|
22
22
|
const BusinessDetails = class {
|
|
23
23
|
constructor(hostRef) {
|
|
@@ -9,12 +9,12 @@ import './Refund-Di6J0oN2.js';
|
|
|
9
9
|
import './Pagination-CLHwhyvu.js';
|
|
10
10
|
import { B as Business, b as BusinessFormServerErrors } from './Business-BCoP0TAV.js';
|
|
11
11
|
import './Dispute-BH0Xfn-F.js';
|
|
12
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
13
|
-
import { B as Button } from './button-
|
|
12
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BuYkk-jV.js';
|
|
13
|
+
import { B as Button } from './button-C0wLsDP3.js';
|
|
14
14
|
import { S as StyledHost } from './styled-host-B_XBaM7z.js';
|
|
15
|
-
import { H as Header1 } from './header-1-
|
|
15
|
+
import { H as Header1 } from './header-1-BMKEv9y6.js';
|
|
16
16
|
import './event-types-CZfYo5-1.js';
|
|
17
|
-
import { S as Skeleton } from './skeleton-
|
|
17
|
+
import { S as Skeleton } from './skeleton-BmTjpTYa.js';
|
|
18
18
|
import { B as BusinessFormClickActions } from './event-types-XYgDHrVL.js';
|
|
19
19
|
import { m as makeGetBusiness, b as makePatchBusiness } from './payment-provisioning-actions-ONP8lDnV.js';
|
|
20
20
|
import { B as BusinessService } from './business.service-Bdvhdc_d.js';
|
|
@@ -25,9 +25,9 @@ import './business-form-options-CgssATyg.js';
|
|
|
25
25
|
import './index-B9me4yN2.js';
|
|
26
26
|
import './utils-lb8p1Exq.js';
|
|
27
27
|
import './helpers-Mu7LQT-w.js';
|
|
28
|
-
import './package-
|
|
28
|
+
import './package-C60pS6qh.js';
|
|
29
29
|
import './Api-N_veT2p6.js';
|
|
30
|
-
import './parts-
|
|
30
|
+
import './parts-RvUQ__Pq.js';
|
|
31
31
|
import './utils-BeQLScSm.js';
|
|
32
32
|
|
|
33
33
|
const businessFormSchema = create$3(Object.assign(Object.assign({}, businessCoreInfoSchema().fields), { legal_address: addressSchema(), additional_questions: additionalQuestionsSchema(), representative: identitySchema('representative') }));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-kpoIU4v_.js';
|
|
2
2
|
import { u as updateFormValues, a as updateAddressFormValues, b as updateDateOfBirthFormValues } from './input-handlers-CX6mSvOM.js';
|
|
3
3
|
import { P as PHONE_MASKS, S as SSN_MASK } from './form-input-masks-B-iV5cYd.js';
|
|
4
|
-
import {
|
|
4
|
+
import { C as heading2 } from './parts-RvUQ__Pq.js';
|
|
5
5
|
import './helpers-Mu7LQT-w.js';
|
|
6
6
|
import './state-options-BX8GieXu.js';
|
|
7
7
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, h, c as createEvent, H as Host, g as getElement } from './index-kpoIU4v_.js';
|
|
2
|
-
import {
|
|
2
|
+
import { z as text, r as radioListItem } from './parts-RvUQ__Pq.js';
|
|
3
3
|
import { f as formatCurrency } from './utils-lb8p1Exq.js';
|
|
4
|
-
import { c as checkoutStore, o as onChange } from './checkout.store-
|
|
4
|
+
import { c as checkoutStore, o as onChange } from './checkout.store-OAv_iY1u.js';
|
|
5
5
|
import { S as StyledHost } from './styled-host-B_XBaM7z.js';
|
|
6
6
|
import './event-types-CZfYo5-1.js';
|
|
7
|
-
import { H as Header1 } from './header-1-
|
|
8
|
-
import { H as Header2, b as insuranceValuesOn, h as hasInsuranceValueChanged, i as insuranceValues } from './insurance-state-
|
|
9
|
-
import { H as Header3 } from './header-3-
|
|
10
|
-
import { J as JustifiAnalytics, c as checkPkgVersion } from './check-pkg-version-
|
|
7
|
+
import { H as Header1 } from './header-1-BMKEv9y6.js';
|
|
8
|
+
import { H as Header2, b as insuranceValuesOn, h as hasInsuranceValueChanged, i as insuranceValues } from './insurance-state-d4hjThzE.js';
|
|
9
|
+
import { H as Header3 } from './header-3-C3t3m27b.js';
|
|
10
|
+
import { J as JustifiAnalytics, c as checkPkgVersion } from './check-pkg-version-BuYkk-jV.js';
|
|
11
11
|
import './config-state-BrllxiM0.js';
|
|
12
12
|
import './dinero-HXpYMWUU.js';
|
|
13
13
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes, b as ComponentErrorMessages } from './ComponentError-Cjcsf8ku.js';
|
|
@@ -19,7 +19,7 @@ import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
|
19
19
|
import { C as CheckoutService } from './checkout.service-XgGFa7H8.js';
|
|
20
20
|
import { C as CardBrandLabels } from './payment-method-option-utils-lUHAQVFl.js';
|
|
21
21
|
import './index-B9me4yN2.js';
|
|
22
|
-
import './package-
|
|
22
|
+
import './package-C60pS6qh.js';
|
|
23
23
|
import './Api-N_veT2p6.js';
|
|
24
24
|
import './helpers-Mu7LQT-w.js';
|
|
25
25
|
import './state-options-BX8GieXu.js';
|
|
@@ -29,7 +29,7 @@ const Summary = class {
|
|
|
29
29
|
registerInstance(this, hostRef);
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (h(StyledHost, { key: '
|
|
32
|
+
return (h(StyledHost, { key: '28a1a324b8cdf2dea0aafe91fbdd3679482e76f8' }, h("section", { key: 'e8ffe2fdd1592a0b762647fdab94ee5e21436a93' }, h("div", { key: '099fbfb449066290cdcd113b0de5f87334777a0e' }, h("div", { key: 'c78325957b4e00299366b8e9efe6fd6e86da3b97', part: text }, checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.paymentDescription), h("div", { key: 'd077da888b03a34e540f66ebaa57502fe22be7c4' }, h("span", { key: 'd4f7ddd24e10302222679a9f73c3b5ed305267a7', part: text }, "Total"), "\u00A0", h("span", { key: '1f5d7b6b0cce64eea04879e7767ff87ce5a64069', part: text }, formatCurrency(+(checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.totalAmount))))))));
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
35
|
|
|
@@ -45,7 +45,7 @@ const Header = class {
|
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
47
|
const HeaderComponent = this.levels[this.level];
|
|
48
|
-
return (h(StyledHost, { key: '
|
|
48
|
+
return (h(StyledHost, { key: '73104ea086f8a9948e69f86451adf19e0f39fb32' }, h(HeaderComponent, { key: 'a8582109634299a24e2a9b3c7181c6bba511fde7', text: this.text, class: this.class })));
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
51
|
|
|
@@ -111,6 +111,36 @@ const ModularCheckout = class {
|
|
|
111
111
|
this.submitEvent = createEvent(this, "submit-event");
|
|
112
112
|
this.paymentMethodChangedEvent = createEvent(this, "payment-method-changed");
|
|
113
113
|
this.savePaymentMethod = false;
|
|
114
|
+
this.handleApplePayCompleted = (event) => {
|
|
115
|
+
const { success, token, error } = event.detail;
|
|
116
|
+
if (success && token) {
|
|
117
|
+
this.applePayToken = token;
|
|
118
|
+
// Complete the checkout with Apple Pay token
|
|
119
|
+
this.submitCheckoutWithApplePay();
|
|
120
|
+
}
|
|
121
|
+
else {
|
|
122
|
+
console.error('Apple Pay completed but failed:', error);
|
|
123
|
+
this.errorEvent.emit({
|
|
124
|
+
message: (error === null || error === void 0 ? void 0 : error.message) || 'Apple Pay payment failed',
|
|
125
|
+
errorCode: ComponentErrorCodes.TOKENIZE_ERROR,
|
|
126
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
};
|
|
130
|
+
this.handleApplePayError = (event) => {
|
|
131
|
+
const { error } = event.detail;
|
|
132
|
+
console.error('Apple Pay error:', error);
|
|
133
|
+
this.errorEvent.emit({
|
|
134
|
+
message: error || 'Apple Pay error occurred',
|
|
135
|
+
errorCode: ComponentErrorCodes.TOKENIZE_ERROR,
|
|
136
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
137
|
+
});
|
|
138
|
+
};
|
|
139
|
+
this.handleApplePayCancelled = () => {
|
|
140
|
+
console.log('Apple Pay cancelled by user');
|
|
141
|
+
// Reset the token if cancelled
|
|
142
|
+
this.applePayToken = undefined;
|
|
143
|
+
};
|
|
114
144
|
}
|
|
115
145
|
savePaymentMethodChanged(newValue) {
|
|
116
146
|
checkoutStore.savePaymentMethod = newValue;
|
|
@@ -118,6 +148,7 @@ const ModularCheckout = class {
|
|
|
118
148
|
connectedCallback() {
|
|
119
149
|
this.observer = new MutationObserver(() => {
|
|
120
150
|
this.queryFormRefs();
|
|
151
|
+
this.setupApplePayListeners(); // set up again listeners when DOM changes
|
|
121
152
|
});
|
|
122
153
|
this.observer.observe(this.hostEl, {
|
|
123
154
|
childList: true,
|
|
@@ -159,10 +190,12 @@ const ModularCheckout = class {
|
|
|
159
190
|
}
|
|
160
191
|
componentDidLoad() {
|
|
161
192
|
this.queryFormRefs();
|
|
193
|
+
this.setupApplePayListeners();
|
|
162
194
|
}
|
|
163
195
|
disconnectedCallback() {
|
|
164
196
|
var _a;
|
|
165
197
|
(_a = this.observer) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
198
|
+
this.removeApplePayListeners();
|
|
166
199
|
}
|
|
167
200
|
fetchCheckout() {
|
|
168
201
|
if (this.getCheckout) {
|
|
@@ -215,6 +248,51 @@ const ModularCheckout = class {
|
|
|
215
248
|
this.billingFormRef = this.hostEl.querySelector('justifi-billing-form, justifi-bank-account-billing-form-simple, justifi-card-billing-form-simple, justifi-billing-form-full');
|
|
216
249
|
this.insuranceFormRef = this.hostEl.querySelector('justifi-season-interruption-insurance');
|
|
217
250
|
this.sezzlePaymentMethodRef = this.hostEl.querySelector('justifi-sezzle-payment-method');
|
|
251
|
+
this.applePayRef = this.hostEl.querySelector('justifi-apple-pay');
|
|
252
|
+
}
|
|
253
|
+
setupApplePayListeners() {
|
|
254
|
+
if (this.applePayRef) {
|
|
255
|
+
this.applePayRef.addEventListener('applePayCompleted', this.handleApplePayCompleted);
|
|
256
|
+
this.applePayRef.addEventListener('applePayError', this.handleApplePayError);
|
|
257
|
+
this.applePayRef.addEventListener('applePayCancelled', this.handleApplePayCancelled);
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
removeApplePayListeners() {
|
|
261
|
+
if (this.applePayRef) {
|
|
262
|
+
this.applePayRef.removeEventListener('applePayCompleted', this.handleApplePayCompleted);
|
|
263
|
+
this.applePayRef.removeEventListener('applePayError', this.handleApplePayError);
|
|
264
|
+
this.applePayRef.removeEventListener('applePayCancelled', this.handleApplePayCancelled);
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
async submitCheckoutWithApplePay() {
|
|
268
|
+
if (!this.applePayToken) {
|
|
269
|
+
this.errorEvent.emit({
|
|
270
|
+
message: 'No Apple Pay token available',
|
|
271
|
+
errorCode: ComponentErrorCodes.TOKENIZE_ERROR,
|
|
272
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
273
|
+
});
|
|
274
|
+
return;
|
|
275
|
+
}
|
|
276
|
+
const payment = {
|
|
277
|
+
payment_mode: 'apple_pay',
|
|
278
|
+
payment_token: this.applePayToken,
|
|
279
|
+
};
|
|
280
|
+
this.completeCheckout({
|
|
281
|
+
payment,
|
|
282
|
+
onSuccess: ({ checkout }) => {
|
|
283
|
+
this.submitEvent.emit({
|
|
284
|
+
checkout,
|
|
285
|
+
message: 'Apple Pay checkout completed successfully',
|
|
286
|
+
});
|
|
287
|
+
},
|
|
288
|
+
onError: (error) => {
|
|
289
|
+
this.errorEvent.emit({
|
|
290
|
+
message: error.message,
|
|
291
|
+
errorCode: ComponentErrorCodes.COMPLETE_CHECKOUT_ERROR,
|
|
292
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
293
|
+
});
|
|
294
|
+
},
|
|
295
|
+
});
|
|
218
296
|
}
|
|
219
297
|
async tokenizePaymentMethod(tokenizeArgs) {
|
|
220
298
|
var _a, _b, _c;
|
|
@@ -231,6 +309,10 @@ const ModularCheckout = class {
|
|
|
231
309
|
});
|
|
232
310
|
}
|
|
233
311
|
async getPaymentMethod(submitCheckoutArgs) {
|
|
312
|
+
// If Apple Pay token is available, return a placeholder since we handle it differently
|
|
313
|
+
if (this.applePayToken) {
|
|
314
|
+
return 'apple_pay_token';
|
|
315
|
+
}
|
|
234
316
|
// If we have a payment token from the store (set by tokenize-payment-method), use it
|
|
235
317
|
if (checkoutStore.paymentToken) {
|
|
236
318
|
return checkoutStore.paymentToken;
|
|
@@ -252,10 +334,10 @@ const ModularCheckout = class {
|
|
|
252
334
|
}
|
|
253
335
|
async validate() {
|
|
254
336
|
var _a, _b;
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
337
|
+
// If Apple Pay token is available, validation is already complete
|
|
338
|
+
if (this.applePayToken) {
|
|
339
|
+
return true;
|
|
340
|
+
}
|
|
259
341
|
const promises = [
|
|
260
342
|
(_a = this.paymentMethodFormRef) === null || _a === void 0 ? void 0 : _a.validate(),
|
|
261
343
|
(_b = this.billingFormRef) === null || _b === void 0 ? void 0 : _b.validate()
|
|
@@ -268,6 +350,11 @@ const ModularCheckout = class {
|
|
|
268
350
|
}
|
|
269
351
|
async submitCheckout(submitCheckoutArgs) {
|
|
270
352
|
var _a;
|
|
353
|
+
// If Apple Pay token is available, use Apple Pay flow
|
|
354
|
+
if (this.applePayToken) {
|
|
355
|
+
await this.submitCheckoutWithApplePay();
|
|
356
|
+
return;
|
|
357
|
+
}
|
|
271
358
|
const isValid = await this.validate();
|
|
272
359
|
if (!isValid) {
|
|
273
360
|
this.errorEvent.emit({
|
|
@@ -332,7 +419,7 @@ const ModularCheckout = class {
|
|
|
332
419
|
checkoutStore.selectedPaymentMethod = paymentMethodId;
|
|
333
420
|
}
|
|
334
421
|
render() {
|
|
335
|
-
return (h(Host, { key: '
|
|
422
|
+
return (h(Host, { key: '1b0c613494dde43962dc963618d5a81c4423b218' }));
|
|
336
423
|
}
|
|
337
424
|
get hostEl() { return getElement(this); }
|
|
338
425
|
static get watchers() { return {
|
|
@@ -679,7 +766,7 @@ const TokenizePaymentMethod = class {
|
|
|
679
766
|
return paymentMethodId === PaymentMethodTypes.card ? (h("justifi-card-form", { ref: (el) => (this.paymentMethodFormRef = el) })) : (h("justifi-bank-account-form", { ref: (el) => (this.paymentMethodFormRef = el) }));
|
|
680
767
|
}
|
|
681
768
|
render() {
|
|
682
|
-
return (h(StyledHost, { key: '
|
|
769
|
+
return (h(StyledHost, { key: '47fb6432264a7009d1df82cac73c3283be5a1514' }, h("form", { key: 'b283f414e00296cbf08960a669fbd0f91a2cb554' }, h("fieldset", { key: 'bfaddf226f5ec365ceb22185804f29d46f9f59c7' }, h("div", { key: 'b828e27ea63fa96dd7f38ef8d6038e3a6d1f234c', class: "row gy-3" }, h("div", { key: '1b34dba8e5d3a5426f002e4b2eace7dbc32b80e8', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), h("div", { key: 'd62cdda4a73c39ce53936717c5c22779dd9c3c48', class: "col-12" }, h("justifi-button", { key: '24bbd9e275990e59d0549b07725111aa0fffa8c4', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
|
|
683
770
|
}
|
|
684
771
|
get host() { return getElement(this); }
|
|
685
772
|
static get watchers() { return {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-kpoIU4v_.js';
|
|
2
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
2
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BuYkk-jV.js';
|
|
3
3
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
|
|
4
|
-
import { c as checkoutStore } from './checkout.store-
|
|
5
|
-
import { d as checkoutSummary } from './parts-
|
|
4
|
+
import { c as checkoutStore } from './checkout.store-OAv_iY1u.js';
|
|
5
|
+
import { d as checkoutSummary } from './parts-RvUQ__Pq.js';
|
|
6
6
|
import { S as StyledHost } from './styled-host-B_XBaM7z.js';
|
|
7
7
|
import './event-types-CZfYo5-1.js';
|
|
8
|
-
import './package-
|
|
8
|
+
import './package-C60pS6qh.js';
|
|
9
9
|
import './Api-N_veT2p6.js';
|
|
10
10
|
import './config-state-BrllxiM0.js';
|
|
11
11
|
import './index-B9me4yN2.js';
|
|
@@ -7,7 +7,7 @@ import './Pagination-CLHwhyvu.js';
|
|
|
7
7
|
import './Business-BCoP0TAV.js';
|
|
8
8
|
import './Dispute-BH0Xfn-F.js';
|
|
9
9
|
import { f as filterParams, p as propsParams, c as clearParams } from './checkouts-list-params-state-SMXQIZTt.js';
|
|
10
|
-
import { e as checkoutsListFilterMenu, s as statusCheckoutsListFilterParam, p as paymentModeCheckoutsListFilterParam } from './parts-
|
|
10
|
+
import { e as checkoutsListFilterMenu, s as statusCheckoutsListFilterParam, p as paymentModeCheckoutsListFilterParam } from './parts-RvUQ__Pq.js';
|
|
11
11
|
import { S as StyledHost } from './styled-host-B_XBaM7z.js';
|
|
12
12
|
import './event-types-CZfYo5-1.js';
|
|
13
13
|
import './index-B9me4yN2.js';
|
|
@@ -51,7 +51,7 @@ const CheckoutsListFilters = class {
|
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
53
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
54
|
-
return (h(StyledHost, { key: '
|
|
54
|
+
return (h(StyledHost, { key: '75225e92af6efb7185735a63adf83ed7699452b1' }, h("table-filters-menu", { key: '086762cdd3a08d9221be6d374d4fd4d1b82c717f', params: filterMenuParams, clearParams: clearParams, part: checkoutsListFilterMenu }, h("div", { key: '23f5d2938419a2e92cbacf79d82a3893b6d256c2', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '43bf85dccce2233d59720defbea2897df488d880', class: "p-2" }, h("form-control-select", { key: '61c381ec0a205245311ba2e490a03b1e571d366b', name: "status", label: "Status", options: this.checkoutStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.checkoutStatus || filterParams.status, disabled: !!this.checkoutStatus, part: statusCheckoutsListFilterParam })), h("div", { key: '4d01e881ca741302be99559209ab383aad4ee739', class: "p-2" }, h("form-control-select", { key: '82a1c6c3cfa9c77bc656aff5d7b0130436a54042', name: "payment_mode", label: "Payment Mode", options: this.checkoutPaymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentMode || filterParams.payment_mode, disabled: !!this.paymentMode, part: paymentModeCheckoutsListFilterParam }))))));
|
|
55
55
|
}
|
|
56
56
|
};
|
|
57
57
|
|
|
@@ -7,20 +7,20 @@ import './Pagination-CLHwhyvu.js';
|
|
|
7
7
|
import './Business-BCoP0TAV.js';
|
|
8
8
|
import './Dispute-BH0Xfn-F.js';
|
|
9
9
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
10
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
10
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BuYkk-jV.js';
|
|
11
11
|
import { C as CheckoutService } from './checkout.service-XgGFa7H8.js';
|
|
12
12
|
import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts-BsoVLANw.js';
|
|
13
13
|
import { S as StyledHost } from './styled-host-B_XBaM7z.js';
|
|
14
14
|
import './event-types-CZfYo5-1.js';
|
|
15
|
-
import { d as defaultColumnsKeys } from './checkouts-table-
|
|
15
|
+
import { d as defaultColumnsKeys } from './checkouts-table-DjGKtqoc.js';
|
|
16
16
|
import './index-B9me4yN2.js';
|
|
17
17
|
import './utils-lb8p1Exq.js';
|
|
18
18
|
import './helpers-Mu7LQT-w.js';
|
|
19
19
|
import './state-options-BX8GieXu.js';
|
|
20
|
-
import './package-
|
|
20
|
+
import './package-C60pS6qh.js';
|
|
21
21
|
import './Api-N_veT2p6.js';
|
|
22
|
-
import './badge-
|
|
23
|
-
import './parts-
|
|
22
|
+
import './badge-D4ZXPFjL.js';
|
|
23
|
+
import './parts-RvUQ__Pq.js';
|
|
24
24
|
|
|
25
25
|
const makeGetCheckouts = ({ accountId, authToken, service }) => async ({ params, onSuccess, onError }) => {
|
|
26
26
|
var _a, _b;
|
|
@@ -106,7 +106,7 @@ const CheckoutsList = class {
|
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
render() {
|
|
109
|
-
return (h(StyledHost, { key: '
|
|
109
|
+
return (h(StyledHost, { key: '0e9e50e18983dad43cfab19f2271678d3f5e6abd' }, h("checkouts-list-core", { key: '6f128cc756477ff64638625d9a9ff9a5b4533948', getCheckouts: this.getCheckouts, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
110
110
|
}
|
|
111
111
|
static get watchers() { return {
|
|
112
112
|
"accountId": ["propChanged"],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-kpoIU4v_.js';
|
|
2
|
-
import { E as ErrorState } from './utils-
|
|
3
|
-
import './parts-
|
|
2
|
+
import { E as ErrorState } from './utils-DG5aMFmf.js';
|
|
3
|
+
import './parts-RvUQ__Pq.js';
|
|
4
4
|
|
|
5
5
|
const Details = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -49,7 +49,7 @@ const DisputeManagementCore = class {
|
|
|
49
49
|
});
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
|
-
return (h("div", { key: '
|
|
52
|
+
return (h("div", { key: '6374c478bc8907019b48e1a53b0ecb2e171ab2e4' }, this.showDisputeResponseForm ? (h("justifi-dispute-response", { disputeId: this.disputeId, disputeResponse: this.dispute.dispute_response, authToken: this.authToken })) : (h("justifi-dispute-notification", { dispute: this.dispute, authToken: this.authToken, isLoading: this.isLoading }))));
|
|
53
53
|
}
|
|
54
54
|
static get watchers() { return {
|
|
55
55
|
"getDispute": ["updateOnPropChange"]
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-kpoIU4v_.js';
|
|
2
2
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
|
|
3
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
3
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BuYkk-jV.js';
|
|
4
4
|
import { D as Dispute } from './Dispute-BH0Xfn-F.js';
|
|
5
5
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
6
6
|
import { D as DisputeService } from './dispute.service-CKPcmwhH.js';
|
|
7
|
-
import './package-
|
|
7
|
+
import './package-C60pS6qh.js';
|
|
8
8
|
import './Api-N_veT2p6.js';
|
|
9
9
|
import './config-state-BrllxiM0.js';
|
|
10
10
|
import './index-B9me4yN2.js';
|
|
@@ -86,7 +86,7 @@ const DisputeManagement = class {
|
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
render() {
|
|
89
|
-
return (h("justifi-dispute-management-core", { key: '
|
|
89
|
+
return (h("justifi-dispute-management-core", { key: 'e19f33cd7106c3c44fb86faeef743c62ff9004b9', getDispute: this.getDispute, disputeId: this.disputeId, authToken: this.authToken, "onError-event": this.handleErrorEvent }));
|
|
90
90
|
}
|
|
91
91
|
static get watchers() { return {
|
|
92
92
|
"disputeId": ["propChanged"],
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-kpoIU4v_.js';
|
|
2
2
|
import { f as formatCurrency } from './utils-lb8p1Exq.js';
|
|
3
|
-
import {
|
|
4
|
-
import { B as Button } from './button-
|
|
3
|
+
import { z as text, ai as heading4 } from './parts-RvUQ__Pq.js';
|
|
4
|
+
import { B as Button } from './button-C0wLsDP3.js';
|
|
5
5
|
import { S as StyledHost } from './styled-host-B_XBaM7z.js';
|
|
6
|
-
import { S as Skeleton } from './skeleton-
|
|
6
|
+
import { S as Skeleton } from './skeleton-BmTjpTYa.js';
|
|
7
7
|
import './event-types-CZfYo5-1.js';
|
|
8
8
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
|
|
9
9
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
10
10
|
import { D as DisputeService } from './dispute.service-CKPcmwhH.js';
|
|
11
11
|
import { D as DisputeManagementClickActions } from './event-types-Bg2SZArf.js';
|
|
12
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
12
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BuYkk-jV.js';
|
|
13
13
|
import './dinero-HXpYMWUU.js';
|
|
14
14
|
import './Api-N_veT2p6.js';
|
|
15
15
|
import './config-state-BrllxiM0.js';
|
|
@@ -20,7 +20,7 @@ import './Pagination-CLHwhyvu.js';
|
|
|
20
20
|
import './Business-BCoP0TAV.js';
|
|
21
21
|
import './helpers-Mu7LQT-w.js';
|
|
22
22
|
import './state-options-BX8GieXu.js';
|
|
23
|
-
import './package-
|
|
23
|
+
import './package-C60pS6qh.js';
|
|
24
24
|
|
|
25
25
|
const makeUpdateDisputeResponse = ({ authToken, disputeId, service }) => async ({ payload, onSuccess, onError, final = () => { } }) => {
|
|
26
26
|
var _a;
|
|
@@ -141,7 +141,7 @@ const DisputeNotification = class {
|
|
|
141
141
|
}
|
|
142
142
|
render() {
|
|
143
143
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
144
|
-
return (h(StyledHost, { key: '
|
|
144
|
+
return (h(StyledHost, { key: 'ec6f99be66b3b164c367b96d8274824d2e709dd5' }, this.isLoading && (h("div", { key: '26587e055eb4756785ae5935fd803746ddab355d', style: { marginBottom: '8px' } }, h(Skeleton, { key: '159c5d9b0fb16af4aac0125ea5e69bd9f7b4210e', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), h(Skeleton, { key: '5c89a8dd2244ddaed8c26b743cb22f20fa2e2742', height: '18px', styles: { marginBottom: '8px' } }), h(Skeleton, { key: '6f0a6ebf743bdbea125c6630cb98c5bda5bd9919', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && (h("div", { key: 'f44a0c9494731be14b75e3b25adc2b09c61c84a5', part: text }, h("h1", { key: 'd8820437a86bebcc0782607796b4f2c5429d40e7', class: "h4", part: heading4 }, "This payment is disputed"), h("p", { key: '8cf4a2b3194d781d5f17ae3067d9931be54159e2' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), h("h2", { key: 'd79312da2cc6715016be0b57d1b70e0ddbc2b8c5', class: "h5" }, "Dispute details"), h("div", { key: '958af1e87a119c4af76729b54bf322c16b966c54', class: "d-table gap-2" }, h("div", { key: 'e10802db747c99408371863c94c2f47737a03626', class: "d-table-row gap-2" }, h("span", { key: '84b151c7c9846fd395517ab14339504e56e5298d', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), h("span", { key: '197dffa3676aa9ff7425cea00eca69bb84bef427', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, formatCurrency((_b = this.dispute) === null || _b === void 0 ? void 0 : _b.amount))), h("div", { key: '4754429fa095be98083e34b32485cc45f379151b', class: "d-table-row gap-2" }, h("span", { key: 'c3e168a4d7dd902b9c4bc67531b7489dea32bda2', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), h("span", { key: 'f08c9ce67f2b7b673de82963bacaf6ea8af87353', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_c = this.dispute) === null || _c === void 0 ? void 0 : _c.reason)), h("div", { key: '0de1ab69dbc18cb00b31df8c2c4ab421a5982b4b', class: "d-table-row gap-2" }, h("span", { key: '8217191859fed71cbeac5173b0a43ff4a98c397d', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Dispute ID"), h("span", { key: 'e63c3d2a1f0dbd98aae53a402be9fa96344e4f0b', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_d = this.dispute) === null || _d === void 0 ? void 0 : _d.id))), h("div", { key: '5767bc945b2fd3c7390011771b5c7a53c27c4447', class: "d-flex gap-2 mt-4 justify-content-end" }, h(Button, { key: 'dd6676ca0348579051cf13ce32bf6d9b1a2a3d21', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), h(Button, { key: '27655bc90dd44e05180739e9c2a0f695ad294266', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_e = this.dispute) === null || _e === void 0 ? void 0 : _e.underReview) && (h("div", { key: '2b25123f6bf95ad7e847b4365f96eab71f1933f8' }, h("h1", { key: 'ab4b47f721ded5deb8b04a9b55b6c2978616f23b', class: "h4" }, "This payment is disputed and under review"), h("p", { key: 'bf4ee462258e4742ddf5722f470b597134489ee1' }, "The cardholder is disputing this payment. A counter dispute has been submitted and is under review."))), ((_f = this.dispute) === null || _f === void 0 ? void 0 : _f.won) && (h("div", { key: 'ba1257cb1448cb8b4cd1aba4340f2ac65208e264' }, h("h1", { key: '203b5926fa96278cfd3a7b0a4d5398226b2361b6', class: "h4" }, "This payment was disputed"), h("p", { key: '8f05fc9fb0d7f5151519bbf82ed6abeca676e4b5' }, "The cardholder disputed this payment and the card issuer has settled it in your favor."))), ((_g = this.dispute) === null || _g === void 0 ? void 0 : _g.lost) && (h("div", { key: '1f6d1d4048cc011d61292934dd225ef07dcf260d' }, h("h1", { key: '3df3c3a6bf4c86e8eb0361b039d88f55b502177c', class: "h4" }, "This payment was disputed"), h("p", { key: '03f2dce54b06ad242f8e8d1d4c8194219013af1c' }, "The cardholder disputed this payment and the card issuer has settled it in their favor.")))));
|
|
145
145
|
}
|
|
146
146
|
};
|
|
147
147
|
|
|
@@ -197,7 +197,7 @@ const DisputeResponse = class {
|
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
199
|
render() {
|
|
200
|
-
return (h(StyledHost, { key: '
|
|
200
|
+
return (h(StyledHost, { key: '29abcdaed7ccbfee203794068c72354a5e1e0bab' }, h("justifi-dispute-response-core", { key: 'e0697cb6261d0b50d6adb6d33caa955d08e4e158', "onError-event": this.handleErrorEvent, "dispute-id": this.disputeId, disputeResponse: this.disputeResponse, createDisputeEvidence: this.createDisputeEvidence, updateDisputeResponse: this.updateDisputeResponse, submitDisputeResponse: this.submitDisputeResponse })));
|
|
201
201
|
}
|
|
202
202
|
;
|
|
203
203
|
static get watchers() { return {
|
|
@@ -365,7 +365,7 @@ const DisputeResponseCore = class {
|
|
|
365
365
|
return this.currentStep === 0;
|
|
366
366
|
}
|
|
367
367
|
render() {
|
|
368
|
-
return (h("div", { key: '
|
|
368
|
+
return (h("div", { key: '41406d4115c2a084c84ca59895c0107af2a30e4d', class: "row gy-3" }, h("div", { key: '54f86cc1ffdb90a4ec738ca6cdac8165025ede65', class: "col-12" }, h("h1", { key: '28a0289b5926d7f4d04a658f13782d80aa96584a', class: "h4", part: heading4 }, "Counter dispute")), h("div", { key: 'abfcc8a09326b8d780647a644dd0b6e1deada071', class: "col-12" }, this.currentStepComponent), h("div", { key: 'e1bfbd12d9c6c86521d1d47cd4afb007960cdf9b', class: "col-12" }, h("div", { key: '3149002728d1953c116758ab48eb0a2481a68398', class: "d-flex gap-2 mt-4 justify-content-end" }, this.isFirstStep ? (h(Button, { variant: "secondary", onClick: () => this.onCancel(), disabled: this.isLoading, isLoading: this.isLoading }, "Cancel")) : (h(Button, { variant: "secondary", onClick: () => this.onBack(), disabled: this.isLoading, isLoading: this.isLoading }, "Back")), this.isLastStep ? (h(Button, { variant: "primary", onClick: () => this.onSubmit(), disabled: this.isLoading, isLoading: this.isLoading }, "Submit Counter Dispute")) : (h(Button, { variant: "primary", onClick: () => this.onNext(), disabled: this.isLoading, isLoading: this.isLoading }, "Next"))))));
|
|
369
369
|
}
|
|
370
370
|
};
|
|
371
371
|
|
|
@@ -6,16 +6,16 @@ import './Pagination-CLHwhyvu.js';
|
|
|
6
6
|
import './Business-BCoP0TAV.js';
|
|
7
7
|
import './Dispute-BH0Xfn-F.js';
|
|
8
8
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
9
|
-
import { E as ErrorState } from './utils-
|
|
10
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
9
|
+
import { E as ErrorState } from './utils-DG5aMFmf.js';
|
|
10
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BuYkk-jV.js';
|
|
11
11
|
import './config-state-BrllxiM0.js';
|
|
12
12
|
import './index-B9me4yN2.js';
|
|
13
13
|
import './utils-lb8p1Exq.js';
|
|
14
14
|
import './dinero-HXpYMWUU.js';
|
|
15
15
|
import './helpers-Mu7LQT-w.js';
|
|
16
16
|
import './state-options-BX8GieXu.js';
|
|
17
|
-
import './parts-
|
|
18
|
-
import './package-
|
|
17
|
+
import './parts-RvUQ__Pq.js';
|
|
18
|
+
import './package-C60pS6qh.js';
|
|
19
19
|
|
|
20
20
|
const api = Api();
|
|
21
21
|
class ReportsService {
|