@justifi/webcomponents 5.7.6-rc-04 → 5.7.6-rc-05
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{Api-eP0XeJLd.js → Api-p2pK86Zd.js} +2 -2
- package/dist/cjs/Payment-2Zmn-l6G.js +151 -0
- package/dist/cjs/{Refund-08OcZkXX.js → Refund-BztCb6AK.js} +1 -148
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -5
- package/dist/cjs/app-globals-V2Kpy_OQ.js +5 -0
- package/dist/cjs/{badge-DDksduwk.js → badge-CMmPvqtE.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +12 -13
- package/dist/cjs/bank-account-form.cjs.entry.js +6 -6
- package/dist/cjs/{business-additional-questions-schema-e3GCIHk5.js → business-additional-questions-schema-DNbSH3E-.js} +2 -2
- package/dist/cjs/business-details-core.cjs.entry.js +4 -4
- package/dist/cjs/{business-identity-schema-Diqj_WVQ.js → business-identity-schema-CclzWSOn.js} +2 -2
- package/dist/cjs/{business.service--Zv-Xtu4.js → business.service-DwZSyIlI.js} +3 -2
- package/dist/cjs/{button-0HYMPryx.js → button-CfVQSysQ.js} +1 -1
- package/dist/cjs/card-form.cjs.entry.js +6 -6
- package/dist/cjs/{check-pkg-version-Bp51QhAR.js → check-pkg-version-lPG_FnM4.js} +4 -3
- package/dist/cjs/{checkout.service-BBD6v0cl.js → checkout.service-C_qEIb8b.js} +3 -2
- package/dist/cjs/{checkout.store-B58bewb_.js → checkout.store-mEv437nN.js} +3 -3
- package/dist/cjs/checkouts-list-core.cjs.entry.js +12 -13
- package/dist/cjs/{payments-list-params-state-DZUKBmLC.js → checkouts-list-params-state-BNbT1fuJ.js} +1 -1
- package/dist/cjs/{checkouts-table-Cp7rNkNd.js → checkouts-table-DJoMGwVG.js} +3 -3
- package/dist/cjs/{config-state-Dz9bnWHg.js → config-state-5xZf-jax.js} +1 -1
- package/dist/cjs/custom-popper.cjs.entry.js +3 -3
- package/dist/cjs/{dispute.service-BHApwZdH.js → dispute.service-cQpQQMeh.js} +3 -2
- package/dist/cjs/form-alert_5.cjs.entry.js +5 -5
- package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/form-control-date.cjs.entry.js +4 -4
- package/dist/cjs/{form-control-error-text-CVPYL0lE.js → form-control-error-text-HM0zQerh.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
- package/dist/cjs/{form-control-help-text-B3jRgfoa.js → form-control-help-text-5KIUw1IP.js} +1 -1
- package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +5 -5
- package/dist/cjs/form-control-monetary.cjs.entry.js +6 -8
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +5 -5
- package/dist/cjs/form-control-number.cjs.entry.js +5 -5
- package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
- package/dist/cjs/form-control-select_3.cjs.entry.js +6 -6
- package/dist/cjs/{get-payment-details-7PreAOdF.js → get-payment-details-DwLcmCQs.js} +5 -4
- package/dist/cjs/{get-subaccounts-CtelAONX.js → get-subaccounts-CvtcQGsb.js} +5 -4
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -7
- package/dist/cjs/{header-1-M-mc3bsa.js → header-1-DD41iNlG.js} +1 -1
- package/dist/cjs/header-3-D9Wa0IfT.js +10 -0
- package/dist/cjs/hidden-input_2.cjs.entry.js +8 -8
- package/dist/cjs/{index-BCtVWU61.js → index-Yd9aLenr.js} +22 -6
- package/dist/cjs/{index-D5bL1DOi.js → index-dm_GlYlb.js} +57 -16
- package/dist/cjs/{index.esm-CVuJLXJZ.js → index.esm-BleZSAc0.js} +869 -745
- package/dist/cjs/insurance-state-qT_hkvZV.js +34 -0
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +12 -12
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +20 -20
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +10 -10
- package/dist/cjs/justifi-apple-pay.cjs.entry.js +836 -0
- package/dist/cjs/{justifi-bank-account-form_7.cjs.entry.js → justifi-bank-account-form_5.cjs.entry.js} +30 -73
- package/dist/cjs/justifi-billing-form.cjs.entry.js +76 -0
- package/dist/cjs/justifi-business-details.cjs.entry.js +12 -13
- package/dist/cjs/justifi-business-form.cjs.entry.js +18 -18
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +2 -2
- package/dist/cjs/{justifi-checkout-summary_5.cjs.entry.js → justifi-button_5.cjs.entry.js} +144 -135
- package/dist/cjs/justifi-checkout.cjs.entry.js +17 -18
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +9 -10
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +15 -16
- package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
- package/dist/cjs/justifi-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +11 -12
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +17 -18
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +10 -11
- package/dist/cjs/justifi-new-payment-method.cjs.entry.js +99 -0
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +14 -15
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +17 -17
- package/dist/cjs/justifi-payment-details.cjs.entry.js +13 -14
- package/dist/cjs/justifi-payment-method-options.cjs.entry.js +75 -0
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +11 -12
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +14 -15
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payments-list.cjs.entry.js +16 -17
- package/dist/cjs/justifi-payout-details.cjs.entry.js +11 -12
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +14 -15
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +7 -9
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +16 -17
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +15 -15
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +4 -5
- package/dist/cjs/justifi-saved-payment-methods_2.cjs.entry.js +116 -0
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +7 -10
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +11 -12
- package/dist/cjs/justifi-skeleton.cjs.entry.js +4 -4
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +10 -11
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +13 -14
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +9 -9
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +15 -16
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +37 -220
- package/dist/cjs/loader.cjs.js +4 -3
- package/dist/cjs/{package-BMSb1ui9.js → package-pyzAPwrl.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +15 -17
- package/dist/cjs/{payment-method-option-utils-QODgEWhU.js → payment-method-option-utils-CfLXhpsL.js} +11 -1
- package/dist/cjs/{payment.service-C9qxqaJk.js → payment.service-CVZ55YLl.js} +3 -2
- package/dist/cjs/payments-list-core.cjs.entry.js +13 -14
- package/dist/cjs/{payouts-list-params-state-DZUKBmLC.js → payments-list-params-state-BNbT1fuJ.js} +1 -1
- package/dist/cjs/{payments-status-DG50GuXR.js → payments-status-PB63klt3.js} +2 -2
- package/dist/cjs/{payments-table-DaW6SvdL.js → payments-table-uouQ4x2Y.js} +3 -3
- package/dist/cjs/payout-details-core.cjs.entry.js +11 -13
- package/dist/cjs/{payout.service-DiSYeR_q.js → payout.service-BlbHwzd_.js} +3 -2
- package/dist/cjs/payouts-list-core.cjs.entry.js +13 -14
- package/dist/cjs/{checkouts-list-params-state-DZUKBmLC.js → payouts-list-params-state-BNbT1fuJ.js} +1 -1
- package/dist/cjs/{payouts-status-meuI7eBr.js → payouts-status-Bk1JFzbP.js} +2 -2
- package/dist/cjs/{payouts-table-D5hMHcaY.js → payouts-table-Bo61u5ZZ.js} +3 -3
- package/dist/cjs/{schema-validations-BSeMee-o.js → schema-validations-jek_iZ9W.js} +1 -1
- package/dist/cjs/{skeleton-CbZBGO47.js → skeleton-x-GSs3xk.js} +1 -1
- package/dist/cjs/{spinner-CIZFX7bz.js → spinner-Kb1BFvnL.js} +1 -1
- package/dist/cjs/{styled-host-DXNHOiqW.js → styled-host-CqQYxX-w.js} +1 -1
- package/dist/cjs/{table-CxvETNS1.js → table-BJVUhh3s.js} +2 -2
- package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +12 -13
- package/dist/cjs/{terminal-orders-list-params-state-DZUKBmLC.js → terminal-orders-list-params-state-BNbT1fuJ.js} +1 -1
- package/dist/cjs/{terminal-orders-table-DnZjcbSQ.js → terminal-orders-table-v0Sn7jUg.js} +6 -5
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
- package/dist/cjs/{terminal.service-DEIY9toR.js → terminal.service-I07QoXPB.js} +3 -2
- package/dist/cjs/terminals-list-core.cjs.entry.js +12 -13
- package/dist/cjs/terminals-list-params-state-BNbT1fuJ.js +22 -0
- package/dist/cjs/{terminals-table-DOqVeHM1.js → terminals-table-CGG9EhiI.js} +3 -3
- package/dist/cjs/{utils-wkdkLmDI.js → utils-Df-pajL7.js} +1 -1
- package/dist/cjs/{utils-DqlrBltg.js → utils-Dka3MplB.js} +1661 -3
- package/dist/cjs/webcomponents.cjs.js +5 -4
- package/dist/collection/api/ApplePay.js +124 -0
- package/dist/collection/api/services/apple-pay.service.js +344 -0
- package/dist/collection/collection-manifest.json +10 -8
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +1 -1
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
- package/dist/collection/components/checkout/billing-form/billing-form.js +37 -13
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/checkout.js +1 -1
- package/dist/collection/components/checkout/new-payment-method.js +378 -0
- package/dist/collection/components/checkout/payment-method-option-utils.js +1 -0
- package/dist/collection/components/checkout/payment-method-options.js +421 -0
- package/dist/collection/components/checkout/save-new-payment-method.js +5 -7
- package/dist/collection/components/checkout/saved-payment-method.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management.js +1 -1
- package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
- package/dist/collection/components/filters/table-filters-menu.js +1 -1
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
- package/dist/collection/components/insurance/insurance-state.js +1 -18
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -1
- package/dist/collection/components/modular-checkout/modular-checkout.js +98 -17
- 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 +539 -0
- package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/billing-information-form.js +5 -36
- 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/postal-code-form.js +4 -5
- 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 +87 -291
- package/dist/collection/store/checkout.store.js +2 -2
- 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/index.js +0 -1
- 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 +2051 -985
- package/dist/esm/{Api-BCeKXDaf.js → Api-DQM93PRm.js} +2 -2
- package/dist/esm/{Dispute-BH0Xfn-F.js → Dispute-7MWRbTXI.js} +1 -1
- package/dist/esm/Payment-Bs0-9Lnt.js +149 -0
- package/dist/esm/{Refund-DBHZkemk.js → Refund-4B3c-kLz.js} +2 -148
- package/dist/esm/additional-questions-details_5.entry.js +4 -6
- package/dist/esm/app-globals-DQuL1Twl.js +3 -0
- package/dist/esm/{badge-BrapPg3R.js → badge-D-vrtiQR.js} +2 -2
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +14 -15
- package/dist/esm/bank-account-form.entry.js +7 -7
- package/dist/esm/{business-additional-questions-schema-uQlQ8fXQ.js → business-additional-questions-schema-C6NRHWEL.js} +2 -2
- package/dist/esm/business-details-core.entry.js +5 -5
- package/dist/esm/{business-identity-schema-BsrgqgDl.js → business-identity-schema-D8n5dyLX.js} +2 -2
- package/dist/esm/{business.service-ArD_uRLb.js → business.service-BgXdRyYa.js} +4 -3
- package/dist/esm/{button-BB-N4vit.js → button-DxM4-mlD.js} +2 -2
- package/dist/esm/card-form.entry.js +7 -7
- package/dist/esm/{check-pkg-version-CwPXpnQZ.js → check-pkg-version-B7MJjFP4.js} +5 -4
- package/dist/esm/{checkout.service-BgDCPjQU.js → checkout.service-CXeKDZTF.js} +4 -3
- package/dist/esm/{checkout.store-td03RV8y.js → checkout.store-QrBBYQfi.js} +3 -3
- package/dist/esm/checkouts-list-core.entry.js +14 -15
- package/dist/esm/{checkouts-list-params-state-DFWVMJRJ.js → checkouts-list-params-state-SMXQIZTt.js} +1 -1
- package/dist/esm/{checkouts-table-COpCngi0.js → checkouts-table-Djb7Yj6O.js} +4 -4
- package/dist/esm/{config-state-B3mtRA6f.js → config-state-BrllxiM0.js} +1 -1
- package/dist/esm/custom-popper.entry.js +3 -3
- package/dist/esm/{dispute.service-C2dMLW9w.js → dispute.service-DWs_TX-m.js} +4 -3
- package/dist/esm/form-alert_5.entry.js +6 -6
- package/dist/esm/form-control-checkbox.entry.js +6 -6
- package/dist/esm/form-control-date.entry.js +5 -5
- package/dist/esm/{form-control-error-text-Bk3yfpFX.js → form-control-error-text-Dew-m4MW.js} +2 -2
- package/dist/esm/form-control-file-v2_2.entry.js +6 -6
- package/dist/esm/{form-control-help-text-mOLCXs00.js → form-control-help-text-CcPKT19_.js} +2 -2
- package/dist/esm/form-control-help-text.entry.js +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +6 -6
- package/dist/esm/form-control-monetary.entry.js +7 -9
- package/dist/esm/form-control-number-masked_2.entry.js +6 -6
- package/dist/esm/form-control-number.entry.js +6 -6
- package/dist/esm/form-control-radio.entry.js +4 -4
- package/dist/esm/form-control-select_3.entry.js +7 -7
- package/dist/esm/{get-payment-details-BN-K_5Ry.js → get-payment-details-j8nOngzB.js} +5 -4
- package/dist/esm/{get-subaccounts-DrFpGKDV.js → get-subaccounts-C62B2OC_.js} +6 -5
- package/dist/esm/gross-payment-chart-core.entry.js +6 -8
- package/dist/esm/{header-1-DYuf6mkF.js → header-1-B0PFwGib.js} +2 -2
- package/dist/esm/header-3-D3gxg6YU.js +8 -0
- package/dist/esm/hidden-input_2.entry.js +9 -9
- package/dist/esm/{index-BAq5IUBW.js → index-B9me4yN2.js} +22 -6
- package/dist/esm/{index-N3w5zrz2.js → index-kpoIU4v_.js} +58 -16
- package/dist/esm/{index.esm-BCNUj0Dx.js → index.esm-cYgKOXtz.js} +869 -745
- package/dist/esm/insurance-state-DQH40x6F.js +28 -0
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +14 -14
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +22 -22
- package/dist/esm/justifi-additional-statement_8.entry.js +11 -11
- package/dist/esm/justifi-apple-pay.entry.js +834 -0
- package/dist/esm/{justifi-bank-account-form_7.entry.js → justifi-bank-account-form_5.entry.js} +32 -73
- package/dist/esm/justifi-billing-form.entry.js +74 -0
- package/dist/esm/justifi-business-details.entry.js +13 -14
- package/dist/esm/justifi-business-form.entry.js +20 -20
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +3 -3
- package/dist/esm/{justifi-checkout-summary_5.entry.js → justifi-button_5.entry.js} +145 -136
- package/dist/esm/justifi-checkout.entry.js +14 -15
- package/dist/esm/justifi-checkouts-list-filters.entry.js +11 -12
- package/dist/esm/justifi-checkouts-list.entry.js +17 -18
- package/dist/esm/justifi-config-provider.entry.js +3 -3
- package/dist/esm/justifi-details.entry.js +3 -3
- package/dist/esm/justifi-dispute-management-core.entry.js +3 -3
- package/dist/esm/justifi-dispute-management.entry.js +12 -13
- package/dist/esm/justifi-dispute-notification_3.entry.js +18 -19
- package/dist/esm/justifi-gross-payment-chart.entry.js +12 -13
- package/dist/esm/justifi-new-payment-method.entry.js +97 -0
- package/dist/esm/justifi-order-terminals.entry.js +16 -17
- package/dist/esm/justifi-owner-form_3.entry.js +18 -18
- package/dist/esm/justifi-payment-details.entry.js +14 -15
- package/dist/esm/justifi-payment-method-options.entry.js +73 -0
- package/dist/esm/justifi-payment-provisioning-core.entry.js +5 -5
- package/dist/esm/justifi-payment-provisioning.entry.js +12 -13
- package/dist/esm/justifi-payment-transactions-list.entry.js +16 -17
- package/dist/esm/justifi-payments-list-filters.entry.js +8 -9
- package/dist/esm/justifi-payments-list.entry.js +17 -18
- package/dist/esm/justifi-payout-details.entry.js +13 -14
- package/dist/esm/justifi-payout-transactions-list.entry.js +16 -17
- package/dist/esm/justifi-payouts-list-filters.entry.js +8 -10
- package/dist/esm/justifi-payouts-list.entry.js +18 -19
- package/dist/esm/justifi-refund-payment.entry.js +17 -17
- package/dist/esm/justifi-saved-payment-method.entry.js +5 -6
- package/dist/esm/justifi-saved-payment-methods_2.entry.js +113 -0
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +7 -10
- package/dist/esm/justifi-season-interruption-insurance.entry.js +12 -13
- package/dist/esm/justifi-skeleton.entry.js +5 -5
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +12 -13
- package/dist/esm/justifi-terminal-orders-list.entry.js +15 -16
- package/dist/esm/justifi-terminals-list-filters.entry.js +11 -11
- package/dist/esm/justifi-terminals-list.entry.js +17 -18
- package/dist/esm/justifi-tokenize-payment-method.entry.js +39 -222
- package/dist/esm/loader.js +4 -3
- package/dist/esm/{package-HlNEzyiZ.js → package-BLtzn9pE.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +2 -2
- package/dist/esm/{parts-CKg_luIy.js → parts-D3G5aVLy.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +16 -18
- package/dist/esm/{payment-method-option-utils-zFDtQrgQ.js → payment-method-option-utils-Cm6lAaP1.js} +10 -2
- package/dist/esm/{payment.service-DPsRcwWM.js → payment.service-BnDr_9vX.js} +4 -3
- package/dist/esm/payments-list-core.entry.js +15 -16
- package/dist/esm/{payments-list-params-state-DFWVMJRJ.js → payments-list-params-state-SMXQIZTt.js} +1 -1
- package/dist/esm/{payments-status-CawBLR48.js → payments-status-DVYzDcJ4.js} +2 -2
- package/dist/esm/{payments-table-WQAD1CSz.js → payments-table-BuiNqlwv.js} +4 -4
- package/dist/esm/payout-details-core.entry.js +12 -14
- package/dist/esm/{payout.service-CoVFefK5.js → payout.service-Ai1aEuFC.js} +4 -3
- package/dist/esm/payouts-list-core.entry.js +15 -16
- package/dist/esm/{payouts-list-params-state-DFWVMJRJ.js → payouts-list-params-state-SMXQIZTt.js} +1 -1
- package/dist/esm/{payouts-status-DB_PJap6.js → payouts-status-Bae6G8Hq.js} +2 -2
- package/dist/esm/{payouts-table-DRISll8u.js → payouts-table-cgIXP54P.js} +4 -4
- package/dist/esm/{schema-validations-DLWfpHyI.js → schema-validations-DcR1ujuX.js} +1 -1
- package/dist/esm/{skeleton-D1Z4a8af.js → skeleton-CZfDofm6.js} +2 -2
- package/dist/esm/{spinner-BlffecO5.js → spinner-D-vbFqC6.js} +2 -2
- package/dist/esm/{styled-host-DtvbNFVU.js → styled-host-B_XBaM7z.js} +1 -1
- package/dist/esm/{table-BqxKVRry.js → table-CTPfsGKi.js} +3 -3
- package/dist/esm/table-filters-menu.entry.js +4 -4
- package/dist/esm/terminal-orders-list-core.entry.js +14 -15
- package/dist/esm/{terminal-orders-list-params-state-DFWVMJRJ.js → terminal-orders-list-params-state-SMXQIZTt.js} +1 -1
- package/dist/esm/{terminal-orders-table-Da4IvBtB.js → terminal-orders-table-CvK516_V.js} +8 -7
- package/dist/esm/terminal-quantity-selector.entry.js +3 -3
- package/dist/esm/{terminal.service-CnPV1i9J.js → terminal.service-BLeBxTv4.js} +4 -3
- package/dist/esm/terminals-list-core.entry.js +14 -15
- package/dist/esm/terminals-list-params-state-SMXQIZTt.js +16 -0
- package/dist/esm/{terminals-table-BBPQRWja.js → terminals-table-2QGQITkt.js} +4 -4
- package/dist/esm/{utils-Cu5hITuT.js → utils-B7jE0g5_.js} +1661 -4
- package/dist/esm/{utils-sZ_6zOKQ.js → utils-CBJo9jNE.js} +2 -2
- package/dist/esm/webcomponents.js +5 -4
- package/dist/module/Analytics.js +1 -0
- package/dist/module/Payment.js +204 -0
- package/dist/module/Refund.js +1 -202
- package/dist/module/additional-questions-details2.js +1 -1
- package/dist/module/additional-questions.js +2 -2
- package/dist/module/additional-statement.js +2 -2
- package/dist/module/badge.js +1 -1
- package/dist/module/bank-account-document-inputs.js +4 -3
- package/dist/module/bank-account-form-inputs2.js +2 -2
- package/dist/module/bank-account-form.js +3 -3
- package/dist/module/bank-account.js +3 -4
- package/dist/module/billing-form.js +58 -24
- package/dist/module/billing-information-form.js +4 -11
- package/dist/module/business-additional-questions-form-step-core.js +1 -1
- package/dist/module/business-additional-questions-form-step.js +2 -2
- package/dist/module/business-bank-account-form-step-core.js +4 -3
- package/dist/module/business-bank-account-form-step.js +4 -3
- package/dist/module/business-core-info-form-step-core.js +1 -1
- package/dist/module/business-core-info-form-step.js +2 -2
- package/dist/module/business-core-info.js +2 -2
- package/dist/module/business-details-core2.js +1 -2
- package/dist/module/business-documents-on-file2.js +2 -3
- package/dist/module/business-owners-form-step-core.js +1 -2
- package/dist/module/business-owners-form-step.js +2 -2
- package/dist/module/business-representative-form-inputs.js +2 -2
- package/dist/module/business-representative-form-step-core.js +1 -1
- package/dist/module/business-representative-form-step.js +2 -2
- package/dist/module/business-representative.js +2 -2
- package/dist/module/business-terms-conditions-form-step.js +3 -2
- package/dist/module/business.service.js +1 -0
- package/dist/module/cancellation-policy.js +2 -2
- package/dist/module/card-form.js +3 -3
- package/dist/module/card-form2.js +3 -4
- package/dist/module/checkout.service.js +1 -0
- package/dist/module/checkout.store.js +2 -2
- package/dist/module/checkouts-list-core2.js +5 -6
- package/dist/module/core-info-details2.js +1 -1
- package/dist/module/custom-popper2.js +3 -3
- package/dist/module/customer-details.js +2 -2
- package/dist/module/details.js +1 -1
- package/dist/module/dispute-management-core.js +3 -3
- package/dist/module/dispute-notification.js +2 -3
- package/dist/module/dispute-response-actions.js +1 -0
- package/dist/module/dispute-response-core.js +2 -2
- package/dist/module/dispute-response.js +2 -3
- package/dist/module/duplicate-charge.js +2 -2
- package/dist/module/electronic-evidence.js +2 -2
- package/dist/module/form-alert2.js +2 -2
- package/dist/module/form-control-checkbox2.js +4 -5
- package/dist/module/form-control-date2.js +3 -4
- package/dist/module/form-control-file-v22.js +2 -2
- package/dist/module/form-control-file2.js +3 -4
- package/dist/module/form-control-help-text2.js +1 -1
- package/dist/module/form-control-monetary-provisioning2.js +4 -5
- package/dist/module/form-control-monetary2.js +4 -5
- package/dist/module/form-control-number-masked2.js +3 -4
- package/dist/module/form-control-number.js +4 -5
- package/dist/module/form-control-radio2.js +4 -4
- package/dist/module/form-control-select2.js +3 -4
- package/dist/module/form-control-text2.js +3 -4
- package/dist/module/form-control-textarea2.js +4 -4
- package/dist/module/form-control-tooltip2.js +1 -1
- package/dist/module/form.js +869 -745
- package/dist/module/get-payment-details.js +3 -2
- package/dist/module/get-subaccounts.js +2 -1
- package/dist/module/gross-payment-chart-core2.js +3 -3
- package/dist/module/header-3.js +8 -0
- package/dist/module/hidden-input2.js +3 -3
- package/dist/module/identity-address-form.js +2 -2
- package/dist/module/iframe-input2.js +5 -5
- package/dist/module/index2.js +21 -5
- package/dist/module/insurance-state.js +1 -18
- package/dist/module/justifi-apple-pay.d.ts +11 -0
- package/dist/module/justifi-apple-pay.js +876 -0
- package/dist/module/justifi-business-details.js +1 -1
- package/dist/module/justifi-business-form.js +3 -3
- package/dist/module/justifi-button2.js +2 -2
- package/dist/module/justifi-checkout.js +3 -4
- package/dist/module/justifi-checkouts-list-filters.js +5 -5
- package/dist/module/justifi-checkouts-list.js +5 -5
- package/dist/module/justifi-config-provider.js +1 -1
- package/dist/module/justifi-dispute-management.js +4 -3
- package/dist/module/justifi-gross-payment-chart.js +2 -1
- package/dist/module/justifi-header2.js +4 -8
- package/dist/module/justifi-new-payment-method.d.ts +11 -0
- package/dist/module/justifi-new-payment-method.js +219 -0
- package/dist/module/justifi-order-terminals.js +5 -6
- package/dist/module/justifi-payment-details.js +1 -1
- package/dist/module/justifi-payment-method-options.d.ts +11 -0
- package/dist/module/justifi-payment-method-options.js +6 -0
- package/dist/module/justifi-payment-provisioning.js +3 -2
- package/dist/module/justifi-payment-transactions-list.js +6 -7
- package/dist/module/justifi-payments-list-filters.js +4 -5
- package/dist/module/justifi-payments-list.js +5 -5
- package/dist/module/justifi-payout-details.js +4 -3
- package/dist/module/justifi-payout-transactions-list.js +6 -7
- package/dist/module/justifi-payouts-list-filters.js +4 -5
- package/dist/module/justifi-payouts-list.js +5 -5
- package/dist/module/justifi-refund-payment.js +3 -3
- package/dist/module/justifi-saved-payment-method.js +3 -3
- package/dist/module/justifi-season-interruption-insurance.js +3 -2
- package/dist/module/justifi-skeleton.js +2 -2
- package/dist/module/justifi-terminal-orders-list-filters.js +6 -6
- package/dist/module/justifi-terminal-orders-list.js +5 -5
- package/dist/module/justifi-terminals-list-filters.js +5 -5
- package/dist/module/justifi-terminals-list.js +5 -5
- package/dist/module/justifi-tokenize-payment-method.js +47 -311
- package/dist/module/legal-address-details2.js +1 -1
- package/dist/module/legal-address-form-step-core.js +1 -1
- package/dist/module/legal-address-form-step.js +2 -2
- package/dist/module/legal-address-form.js +2 -2
- package/dist/module/modular-checkout.js +102 -19
- package/dist/module/owner-details2.js +1 -1
- package/dist/module/owner-form-core2.js +3 -4
- package/dist/module/owner-form-inputs2.js +2 -2
- package/dist/module/owner-form.js +2 -2
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +2 -2
- package/dist/module/parts.js +1 -1
- package/dist/module/payment-details-core2.js +10 -11
- package/dist/module/payment-method-option-utils.js +10 -2
- package/dist/module/payment-method-option2.js +3 -4
- package/dist/module/payment-method-options.js +129 -0
- package/dist/module/payment-provisioning-core.js +2 -3
- package/dist/module/payment-provisioning-form-buttons.js +2 -3
- package/dist/module/payment-provisioning-form-steps.js +2 -2
- package/dist/module/payment-provisioning-loading.js +0 -1
- package/dist/module/payment.service.js +1 -0
- package/dist/module/payments-list-core2.js +5 -6
- package/dist/module/payout-details-core2.js +5 -6
- package/dist/module/payout.service.js +1 -0
- package/dist/module/payouts-list-core2.js +5 -6
- package/dist/module/postal-code-form.js +3 -5
- package/dist/module/product-or-service.js +2 -2
- package/dist/module/refund-policy.js +2 -2
- package/dist/module/representative-details2.js +1 -1
- package/dist/module/save-new-payment-method.js +6 -9
- package/dist/module/saved-payment-methods.js +2 -3
- package/dist/module/season-interruption-insurance-core.js +2 -3
- package/dist/module/sezzle-payment-method.js +2 -3
- package/dist/module/shipping-details.js +2 -2
- package/dist/module/spinner.js +1 -1
- package/dist/module/summary.js +2 -3
- package/dist/module/table-filters-menu2.js +2 -2
- package/dist/module/table.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +6 -7
- package/dist/module/terminal-quantity-selector2.js +3 -3
- package/dist/module/terminal.service.js +1 -0
- package/dist/module/terminals-list-core2.js +5 -6
- package/dist/module/utils2.js +1661 -4
- package/dist/types/api/ApplePay.d.ts +195 -0
- package/dist/types/api/services/apple-pay.service.d.ts +58 -0
- package/dist/types/components/checkout/billing-form/billing-form.d.ts +9 -3
- package/dist/types/components/checkout/checkout.d.ts +1 -1
- package/dist/types/components/checkout/new-payment-method.d.ts +31 -0
- package/dist/types/components/checkout/payment-method-options.d.ts +32 -0
- package/dist/types/components/checkout/save-new-payment-method.d.ts +1 -1
- package/dist/types/components/insurance/insurance-state.d.ts +1 -2
- package/dist/types/components/modular-checkout/modular-checkout.d.ts +8 -1
- 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/modular-checkout/sub-components/billing-information-form.d.ts +0 -2
- package/dist/types/components/modular-checkout/sub-components/postal-code-form.d.ts +0 -1
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +14 -41
- package/dist/types/components.d.ts +234 -70
- package/dist/types/stencil-public-runtime.d.ts +12 -5
- package/dist/types/store/checkout.store.d.ts +2 -2
- package/dist/types/ui-components/apple-pay-button.d.ts +17 -0
- package/dist/types/ui-components/index.d.ts +0 -1
- package/dist/webcomponents/p-0144c42b.entry.js +1 -0
- package/dist/webcomponents/{p-a1c7c873.entry.js → p-06ff03e7.entry.js} +1 -1
- package/dist/webcomponents/{p-39ca43e0.entry.js → p-0c37be96.entry.js} +1 -1
- package/dist/webcomponents/{p-880718b9.entry.js → p-0f5e61bc.entry.js} +1 -1
- package/dist/webcomponents/p-10e32b38.entry.js +1 -0
- package/dist/webcomponents/p-127406b5.entry.js +1 -0
- package/dist/webcomponents/p-2c6be750.entry.js +1 -0
- package/dist/webcomponents/p-30c432ab.entry.js +1 -0
- package/dist/webcomponents/{p-444fb5a6.entry.js → p-31793643.entry.js} +1 -1
- package/dist/webcomponents/p-35198019.entry.js +1 -0
- package/dist/webcomponents/{p-046fee8c.entry.js → p-367338c8.entry.js} +1 -1
- package/dist/webcomponents/p-39af38f6.entry.js +1 -0
- package/dist/webcomponents/p-453bcb9d.entry.js +1 -0
- package/dist/webcomponents/{p-7a8a06d6.entry.js → p-463ae23a.entry.js} +1 -1
- package/dist/webcomponents/p-49754c1d.entry.js +1 -0
- package/dist/webcomponents/p-4afa5d56.entry.js +1 -0
- package/dist/webcomponents/p-509d9191.entry.js +1 -0
- package/dist/webcomponents/p-52be4ff0.entry.js +1 -0
- package/dist/webcomponents/p-544c59ac.entry.js +1 -0
- package/dist/webcomponents/p-54cc3fc8.entry.js +1 -0
- package/dist/webcomponents/p-54ff0e4f.entry.js +1 -0
- package/dist/webcomponents/p-5aa88189.entry.js +1 -0
- package/dist/webcomponents/p-5c82e024.entry.js +1 -0
- package/dist/webcomponents/p-5cfca5e0.entry.js +1 -0
- package/dist/webcomponents/{p-84df9f26.entry.js → p-5e10aa65.entry.js} +1 -1
- package/dist/webcomponents/p-5fbc0ea6.entry.js +1 -0
- package/dist/webcomponents/p-6567c1ce.entry.js +1 -0
- package/dist/webcomponents/p-689562b1.entry.js +1 -0
- package/dist/webcomponents/p-69910853.entry.js +1 -0
- package/dist/webcomponents/p-6d8355f0.entry.js +1 -0
- package/dist/webcomponents/p-6da19fde.entry.js +1 -0
- package/dist/webcomponents/p-6e40a80f.entry.js +1 -0
- package/dist/webcomponents/p-6f94530d.entry.js +1 -0
- package/dist/webcomponents/p-70beb132.entry.js +1 -0
- package/dist/webcomponents/p-79454e79.entry.js +1 -0
- package/dist/webcomponents/p-79684a85.entry.js +1 -0
- package/dist/webcomponents/{p-BH0Xfn-F.js → p-7MWRbTXI.js} +1 -1
- package/dist/webcomponents/p-7WIgS5RM.js +1 -0
- package/dist/webcomponents/p-7b5d48f7.entry.js +1 -0
- package/dist/webcomponents/p-7b5e899e.entry.js +1 -0
- package/dist/webcomponents/p-7d59de81.entry.js +1 -0
- package/dist/webcomponents/p-7f348de2.entry.js +1 -0
- package/dist/webcomponents/p-7f4305a2.entry.js +1 -0
- package/dist/webcomponents/{p-351ffd2a.entry.js → p-904acc70.entry.js} +1 -1
- package/dist/webcomponents/{p-45b0a91c.entry.js → p-92529be9.entry.js} +1 -1
- package/dist/webcomponents/p-9b6c1b33.entry.js +1 -0
- package/dist/webcomponents/p-9f3cf5a3.entry.js +1 -0
- package/dist/webcomponents/p-9y5MOK55.js +1 -0
- package/dist/webcomponents/{p-55iuf7iW.js → p-B2csvKrZ.js} +1 -1
- package/dist/webcomponents/p-B7jE0g5_.js +1 -0
- package/dist/webcomponents/p-B8tUOqiv.js +1 -0
- package/dist/webcomponents/p-B9GgcQ-7.js +1 -0
- package/dist/webcomponents/p-BDUTtU21.js +1 -0
- package/dist/webcomponents/{p-BfEOvp9h.js → p-BFL-wXPM.js} +1 -1
- package/dist/webcomponents/p-BLtzn9pE.js +1 -0
- package/dist/webcomponents/p-BO4xqc4w.js +1 -0
- package/dist/webcomponents/{p-DpUqxsf5.js → p-BRtwZAeZ.js} +1 -1
- package/dist/webcomponents/p-BVD7g3cE.js +1 -0
- package/dist/webcomponents/p-BYakc1Om.js +1 -0
- package/dist/webcomponents/p-Bou1Z4Bm.js +1 -0
- package/dist/webcomponents/p-Bt388eye.js +1 -0
- package/dist/webcomponents/{p-CDIPkflV.js → p-BvyiDejp.js} +1 -1
- package/dist/webcomponents/p-Bz8JT676.js +1 -0
- package/dist/webcomponents/p-C0EFqY0W.js +1 -0
- package/dist/webcomponents/{p-AbSg_vYv.js → p-C8ll3Wwp.js} +1 -1
- package/dist/webcomponents/p-CBWeXiqe.js +1 -0
- package/dist/webcomponents/{p-D0I-tRSs.js → p-CEYGUVns.js} +1 -1
- package/dist/webcomponents/p-CLjv4frq.js +1 -0
- package/dist/webcomponents/p-CR9D6mKt.js +1 -0
- package/dist/webcomponents/{p-o5iASgog.js → p-CRFzwZW6.js} +1 -1
- package/dist/webcomponents/p-CVQyw7ao.js +1 -0
- package/dist/webcomponents/{p-JOSiCHl7.js → p-CYBR4K2p.js} +1 -1
- package/dist/webcomponents/p-Cc27pPPQ.js +1 -0
- package/dist/webcomponents/p-Cm_ywVHL.js +1 -0
- package/dist/webcomponents/{p-CKg_luIy.js → p-D3G5aVLy.js} +1 -1
- package/dist/webcomponents/p-D522G7Ja.js +1 -0
- package/dist/webcomponents/p-DCDU6JB3.js +1 -0
- package/dist/webcomponents/p-DQuL1Twl.js +1 -0
- package/dist/webcomponents/{p-d6tXI5Iw.js → p-DSP8qjHL.js} +1 -1
- package/dist/webcomponents/p-DSekXpCa.js +1 -0
- package/dist/webcomponents/p-DSfL8jLw.js +1 -0
- package/dist/webcomponents/p-DVPcHdzq.js +1 -0
- package/dist/webcomponents/{p-Ce8QXyUM.js → p-DX_mixvZ.js} +1 -1
- package/dist/webcomponents/p-DaDsBt65.js +1 -0
- package/dist/webcomponents/p-DiWKhLRS.js +1 -0
- package/dist/webcomponents/{p-DPnS0F0Y.js → p-Dj1uo4J3.js} +1 -1
- package/dist/webcomponents/p-DtsIovbb.js +1 -0
- package/dist/webcomponents/p-Dv7YEshZ.js +1 -0
- package/dist/webcomponents/p-FdjD8N0u.js +1 -0
- package/dist/webcomponents/p-ObR0KZw0.js +1 -0
- package/dist/webcomponents/p-PgEzcvI6.js +1 -0
- package/dist/webcomponents/p-Sz-UKsNL.js +1 -0
- package/dist/webcomponents/{p-1b7b7210.entry.js → p-a2b597ef.entry.js} +1 -1
- package/dist/webcomponents/p-a4cb4c39.entry.js +1 -0
- package/dist/webcomponents/p-a6fdf5b8.entry.js +1 -0
- package/dist/webcomponents/p-b06b1886.entry.js +1 -0
- package/dist/webcomponents/p-b0714111.entry.js +1 -0
- package/dist/webcomponents/p-b2098935.entry.js +1 -0
- package/dist/webcomponents/p-b56d75d5.entry.js +1 -0
- package/dist/webcomponents/p-b5ed41c0.entry.js +1 -0
- package/dist/webcomponents/p-baaef16c.entry.js +1 -0
- package/dist/webcomponents/{p-429618a4.entry.js → p-bec23c19.entry.js} +1 -1
- package/dist/webcomponents/{p-e2ee826e.entry.js → p-c663b439.entry.js} +1 -1
- package/dist/webcomponents/p-c9d5625c.entry.js +1 -0
- package/dist/webcomponents/p-cd6c6c2b.entry.js +1 -0
- package/dist/webcomponents/p-cf115375.entry.js +1 -0
- package/dist/webcomponents/p-d175799a.entry.js +1 -0
- package/dist/webcomponents/p-d5571d18.entry.js +1 -0
- package/dist/webcomponents/p-d5f70eb0.entry.js +1 -0
- package/dist/webcomponents/p-da5a9a72.entry.js +1 -0
- package/dist/webcomponents/p-e105f664.entry.js +1 -0
- package/dist/webcomponents/p-e5c94a1f.entry.js +1 -0
- package/dist/webcomponents/{p-85ebdce5.entry.js → p-e86c876e.entry.js} +1 -1
- package/dist/webcomponents/{p-d5e4e888.entry.js → p-ee2afa41.entry.js} +4 -4
- package/dist/webcomponents/p-ef472343.entry.js +1 -0
- package/dist/webcomponents/p-f35e96ce.entry.js +1 -0
- package/dist/webcomponents/p-f3f4bbef.entry.js +1 -0
- package/dist/webcomponents/p-f6ca1443.entry.js +1 -0
- package/dist/webcomponents/{p-1b1fe3de.entry.js → p-fe001786.entry.js} +1 -1
- package/dist/webcomponents/p-fffd5bc7.entry.js +1 -0
- package/dist/webcomponents/p-kpoIU4v_.js +2 -0
- package/dist/webcomponents/p-pska2q1M.js +1 -0
- package/dist/webcomponents/p-vHbP4g3Q.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/dinero-J-SRFKIR.js +0 -1673
- package/dist/cjs/header-2-BXQLJn1q.js +0 -10
- package/dist/cjs/insurance-state-B3CYpJWi.js +0 -45
- package/dist/cjs/justifi-billing-form_2.cjs.entry.js +0 -52
- package/dist/cjs/terminals-list-params-state-DZUKBmLC.js +0 -22
- package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +0 -155
- package/dist/esm/dinero-DizZAUMY.js +0 -1671
- package/dist/esm/header-2-C4ZCdZwi.js +0 -8
- package/dist/esm/insurance-state-BQks6cMA.js +0 -39
- package/dist/esm/justifi-billing-form_2.entry.js +0 -49
- package/dist/esm/terminals-list-params-state-DFWVMJRJ.js +0 -16
- package/dist/module/dinero.js +0 -1671
- package/dist/module/justifi-radio-list-item.d.ts +0 -11
- package/dist/module/justifi-radio-list-item.js +0 -6
- package/dist/module/justifi-radio-list-item2.js +0 -55
- package/dist/types/ui-components/shadow-dom-components/justifi-radio-list-item.d.ts +0 -12
- package/dist/webcomponents/p-00c2f5d5.entry.js +0 -1
- package/dist/webcomponents/p-0a0ed7a4.entry.js +0 -1
- package/dist/webcomponents/p-0cb64945.entry.js +0 -1
- package/dist/webcomponents/p-0e44afa7.entry.js +0 -1
- package/dist/webcomponents/p-0e6797c4.entry.js +0 -1
- package/dist/webcomponents/p-0fc026aa.entry.js +0 -1
- package/dist/webcomponents/p-16583f91.entry.js +0 -1
- package/dist/webcomponents/p-195cf5cc.entry.js +0 -1
- package/dist/webcomponents/p-1c7d9b90.entry.js +0 -1
- package/dist/webcomponents/p-1ce1df1e.entry.js +0 -1
- package/dist/webcomponents/p-24e1a686.entry.js +0 -1
- package/dist/webcomponents/p-2a5ac7c9.entry.js +0 -1
- package/dist/webcomponents/p-2abf1785.entry.js +0 -1
- package/dist/webcomponents/p-2dcf196f.entry.js +0 -1
- package/dist/webcomponents/p-302f7632.entry.js +0 -1
- package/dist/webcomponents/p-3eb5f196.entry.js +0 -1
- package/dist/webcomponents/p-4045631f.entry.js +0 -1
- package/dist/webcomponents/p-4907e95b.entry.js +0 -1
- package/dist/webcomponents/p-4a0a4314.entry.js +0 -1
- package/dist/webcomponents/p-4aaaa44e.entry.js +0 -1
- package/dist/webcomponents/p-4b34b9af.entry.js +0 -1
- package/dist/webcomponents/p-5e71f4d4.entry.js +0 -1
- package/dist/webcomponents/p-6a06da8a.entry.js +0 -1
- package/dist/webcomponents/p-6bafb4b5.entry.js +0 -1
- package/dist/webcomponents/p-6d1f2d57.entry.js +0 -1
- package/dist/webcomponents/p-6f397c80.entry.js +0 -1
- package/dist/webcomponents/p-75545aec.entry.js +0 -1
- package/dist/webcomponents/p-7b07255f.entry.js +0 -1
- package/dist/webcomponents/p-7b925204.entry.js +0 -1
- package/dist/webcomponents/p-831857dc.entry.js +0 -1
- package/dist/webcomponents/p-85c0953d.entry.js +0 -1
- package/dist/webcomponents/p-86b166eb.entry.js +0 -1
- package/dist/webcomponents/p-88b6dbdd.entry.js +0 -1
- package/dist/webcomponents/p-8e0c6f60.entry.js +0 -1
- package/dist/webcomponents/p-90edbaa3.entry.js +0 -1
- package/dist/webcomponents/p-97c0d873.entry.js +0 -1
- package/dist/webcomponents/p-9e48a264.entry.js +0 -1
- package/dist/webcomponents/p-B2uBb14Y.js +0 -1
- package/dist/webcomponents/p-B3qJZUMy.js +0 -1
- package/dist/webcomponents/p-BF51n3KG.js +0 -1
- package/dist/webcomponents/p-BNd9xVOU.js +0 -1
- package/dist/webcomponents/p-BQLEjYfZ.js +0 -1
- package/dist/webcomponents/p-BZ9YQ3FA.js +0 -1
- package/dist/webcomponents/p-BdTK0wi9.js +0 -1
- package/dist/webcomponents/p-Bka75aL-.js +0 -1
- package/dist/webcomponents/p-C3e-DgwK.js +0 -1
- package/dist/webcomponents/p-CKRDBISo.js +0 -1
- package/dist/webcomponents/p-CXLazxt0.js +0 -1
- package/dist/webcomponents/p-CfBKn_Vl.js +0 -1
- package/dist/webcomponents/p-ChzWF0s3.js +0 -1
- package/dist/webcomponents/p-CjAMuB2J.js +0 -1
- package/dist/webcomponents/p-Cjf9yu8r.js +0 -1
- package/dist/webcomponents/p-Cwt_9Jzb.js +0 -1
- package/dist/webcomponents/p-DC63XVwu.js +0 -1
- package/dist/webcomponents/p-DMuY7Dka.js +0 -1
- package/dist/webcomponents/p-DPfZxsq9.js +0 -1
- package/dist/webcomponents/p-DR0bMp9p.js +0 -1
- package/dist/webcomponents/p-DVnVdicA.js +0 -1
- package/dist/webcomponents/p-Dcbfnfn2.js +0 -1
- package/dist/webcomponents/p-DgxD9dbc.js +0 -1
- package/dist/webcomponents/p-DniBAXrh.js +0 -1
- package/dist/webcomponents/p-Do0fsKZk.js +0 -1
- package/dist/webcomponents/p-DxEnw2tJ.js +0 -1
- package/dist/webcomponents/p-EAEmpCru.js +0 -1
- package/dist/webcomponents/p-HlNEzyiZ.js +0 -1
- package/dist/webcomponents/p-N3w5zrz2.js +0 -2
- package/dist/webcomponents/p-O50LiN_p.js +0 -1
- package/dist/webcomponents/p-S_UV9-px.js +0 -1
- package/dist/webcomponents/p-X2PeOHf5.js +0 -1
- package/dist/webcomponents/p-_WsRuUBr.js +0 -1
- package/dist/webcomponents/p-a3c6c55e.entry.js +0 -1
- package/dist/webcomponents/p-af935779.entry.js +0 -1
- package/dist/webcomponents/p-b01801a6.entry.js +0 -1
- package/dist/webcomponents/p-b47000f7.entry.js +0 -1
- package/dist/webcomponents/p-b58fb1b1.entry.js +0 -1
- package/dist/webcomponents/p-b8906c49.entry.js +0 -1
- package/dist/webcomponents/p-c1bf875b.entry.js +0 -1
- package/dist/webcomponents/p-c26ef276.entry.js +0 -1
- package/dist/webcomponents/p-c5331724.entry.js +0 -1
- package/dist/webcomponents/p-c6bd05ef.entry.js +0 -1
- package/dist/webcomponents/p-e9c44dc2.entry.js +0 -1
- package/dist/webcomponents/p-edf9128c.entry.js +0 -1
- package/dist/webcomponents/p-f3c2de89.entry.js +0 -1
- package/dist/webcomponents/p-f6ff7255.entry.js +0 -1
- package/dist/webcomponents/p-f8a0821d.entry.js +0 -1
- package/dist/webcomponents/p-fcb6c171.entry.js +0 -1
- package/dist/webcomponents/p-fd4d7c7e.entry.js +0 -1
- package/dist/webcomponents/p-pMAKJWDL.js +0 -1
- package/dist/webcomponents/p-rPeW3G6n.js +0 -1
- package/dist/webcomponents/p-w128-0Mj.js +0 -1
|
@@ -0,0 +1,539 @@
|
|
|
1
|
+
import { h, } from "@stencil/core";
|
|
2
|
+
import { ApplePayService } from "../../../api/services/apple-pay.service";
|
|
3
|
+
import { ApplePayButtonType, ApplePayButtonStyle, ApplePayHelpers, } from "../../../api/ApplePay";
|
|
4
|
+
import { StyledHost } from "../../../ui-components";
|
|
5
|
+
import ApplePaySkeleton from "./apple-pay-skeleton";
|
|
6
|
+
import { ApplePayButton } from "../../../ui-components/apple-pay-button";
|
|
7
|
+
import { checkoutStore, onChange } from "../../../store/checkout.store";
|
|
8
|
+
export class ApplePay {
|
|
9
|
+
constructor() {
|
|
10
|
+
this.countryCode = "US";
|
|
11
|
+
this.merchantIdentifier = "merchant.com.justifi.checkout";
|
|
12
|
+
this.merchantDisplayName = "JustiFi Checkout";
|
|
13
|
+
this.initiativeContext = "checkout.justifi.tech";
|
|
14
|
+
this.apiBaseUrl = "https://api.justifi-staging.com";
|
|
15
|
+
this.buttonType = ApplePayButtonType.PLAIN;
|
|
16
|
+
this.buttonStyle = ApplePayButtonStyle.BLACK;
|
|
17
|
+
this.disabled = false;
|
|
18
|
+
this.showSkeleton = true;
|
|
19
|
+
this.isLoading = true;
|
|
20
|
+
this.isProcessing = false;
|
|
21
|
+
this.isAvailable = false;
|
|
22
|
+
this.canMakePayments = false;
|
|
23
|
+
this.error = null;
|
|
24
|
+
this.handleApplePayClick = async () => {
|
|
25
|
+
var _a;
|
|
26
|
+
if (this.isProcessing || this.disabled || !this.isAvailable) {
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
try {
|
|
30
|
+
this.isProcessing = true;
|
|
31
|
+
this.error = null;
|
|
32
|
+
this.applePayStarted.emit();
|
|
33
|
+
const paymentRequest = {
|
|
34
|
+
countryCode: this.countryCode,
|
|
35
|
+
currencyCode: checkoutStore.paymentCurrency,
|
|
36
|
+
merchantCapabilities: ApplePayHelpers.getDefaultMerchantCapabilities(),
|
|
37
|
+
supportedNetworks: ApplePayHelpers.getDefaultSupportedNetworks(),
|
|
38
|
+
total: ApplePayHelpers.createLineItem(checkoutStore.paymentDescription, checkoutStore.paymentAmount),
|
|
39
|
+
};
|
|
40
|
+
const result = await this.applePayService.startPaymentSession(paymentRequest);
|
|
41
|
+
if (result.success) {
|
|
42
|
+
this.applePayCompleted.emit({
|
|
43
|
+
success: true,
|
|
44
|
+
token: result.token,
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
this.applePayCompleted.emit({
|
|
49
|
+
success: false,
|
|
50
|
+
error: result.error,
|
|
51
|
+
});
|
|
52
|
+
this.applePayError.emit({
|
|
53
|
+
error: ((_a = result.error) === null || _a === void 0 ? void 0 : _a.message) || "Payment failed",
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
catch (error) {
|
|
58
|
+
console.error("Apple Pay payment error:", error);
|
|
59
|
+
const errorMessage = error instanceof Error ? error.message : "Payment failed";
|
|
60
|
+
this.error = errorMessage;
|
|
61
|
+
this.applePayError.emit({ error: errorMessage });
|
|
62
|
+
this.applePayCompleted.emit({
|
|
63
|
+
success: false,
|
|
64
|
+
error: errorMessage,
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
finally {
|
|
68
|
+
this.isProcessing = false;
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
componentWillLoad() {
|
|
73
|
+
this.applePayService = new ApplePayService();
|
|
74
|
+
this.applePayService.setApiBaseUrl(this.apiBaseUrl);
|
|
75
|
+
this.initializeApplePay();
|
|
76
|
+
}
|
|
77
|
+
componentDidLoad() {
|
|
78
|
+
onChange('paymentAmount', () => {
|
|
79
|
+
this.initializeApplePay();
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
watchPropsChange() {
|
|
83
|
+
if (this.applePayService) {
|
|
84
|
+
this.applePayService.setApiBaseUrl(this.apiBaseUrl);
|
|
85
|
+
}
|
|
86
|
+
this.initializeApplePay();
|
|
87
|
+
}
|
|
88
|
+
async initializeApplePay() {
|
|
89
|
+
try {
|
|
90
|
+
this.isLoading = true;
|
|
91
|
+
this.error = null;
|
|
92
|
+
if (!checkoutStore.paymentAmount) {
|
|
93
|
+
this.error = "Missing required Apple Pay configuration";
|
|
94
|
+
this.isLoading = false;
|
|
95
|
+
return;
|
|
96
|
+
}
|
|
97
|
+
this.isAvailable = ApplePayHelpers.isApplePaySupported();
|
|
98
|
+
this.canMakePayments = ApplePayHelpers.canMakePayments();
|
|
99
|
+
if (!this.isAvailable) {
|
|
100
|
+
this.error = "Apple Pay is not supported on this device";
|
|
101
|
+
this.isLoading = false;
|
|
102
|
+
return;
|
|
103
|
+
}
|
|
104
|
+
if (!this.canMakePayments) {
|
|
105
|
+
this.error = "Apple Pay is not available";
|
|
106
|
+
this.isLoading = false;
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
const applePayConfig = {
|
|
110
|
+
merchantIdentifier: this.merchantIdentifier,
|
|
111
|
+
displayName: this.merchantDisplayName,
|
|
112
|
+
initiative: "web",
|
|
113
|
+
initiativeContext: this.initiativeContext,
|
|
114
|
+
buttonType: this.buttonType,
|
|
115
|
+
buttonStyle: this.buttonStyle,
|
|
116
|
+
};
|
|
117
|
+
this.applePayService.initialize(applePayConfig);
|
|
118
|
+
const hasActiveCard = await this.applePayService.canMakePaymentsWithActiveCard();
|
|
119
|
+
if (!hasActiveCard) {
|
|
120
|
+
console.warn("No Apple Pay cards available, but continuing...");
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
catch (error) {
|
|
124
|
+
console.error("Apple Pay initialization error:", error);
|
|
125
|
+
this.error =
|
|
126
|
+
error instanceof Error
|
|
127
|
+
? error.message
|
|
128
|
+
: "Failed to initialize Apple Pay";
|
|
129
|
+
}
|
|
130
|
+
finally {
|
|
131
|
+
this.isLoading = false;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
async isSupported() {
|
|
135
|
+
return this.isAvailable && this.canMakePayments;
|
|
136
|
+
}
|
|
137
|
+
async getPaymentMethods() {
|
|
138
|
+
if (!this.isAvailable) {
|
|
139
|
+
return [];
|
|
140
|
+
}
|
|
141
|
+
return ApplePayHelpers.getDefaultSupportedNetworks();
|
|
142
|
+
}
|
|
143
|
+
async abort() {
|
|
144
|
+
this.applePayService.abortPaymentSession();
|
|
145
|
+
this.isProcessing = false;
|
|
146
|
+
this.applePayCancelled.emit();
|
|
147
|
+
}
|
|
148
|
+
render() {
|
|
149
|
+
const isReady = !this.isLoading &&
|
|
150
|
+
this.isAvailable &&
|
|
151
|
+
this.canMakePayments &&
|
|
152
|
+
!this.error;
|
|
153
|
+
return (h(StyledHost, { key: '01f45866c347cedc1e960cc2330aa2254cd21176' }, h("div", { key: 'cf3bb10db74d2f299aa1e67b0d0de1774f50f63d', class: 'apple-pay-container' }, h(ApplePaySkeleton, { key: 'b149112f9308709f958827f0aeb5a5410250601e', isReady: isReady }), !this.isLoading && this.error && (h("div", { key: '758336a1da163d64d7094e43d69e6a7655ee63c6', class: 'apple-pay-error', role: 'alert' }, h("span", { key: 'b5a41cdab76a8b23e6baeaf3b59f9a20e6788dff', class: 'error-icon' }, "\u26A0\uFE0F"), h("span", { key: '218d9e47295b6899b57c862df49b3cc365d3e786', class: 'error-message' }, this.error))), !this.isLoading && !this.error && !this.isAvailable && (h("div", { key: 'f231298d4a10c1eeae2a3360095fd2f3b044620a', class: 'apple-pay-unavailable' }, h("span", { key: 'd943185545a9f19f8edc763cbd0946679e526f22', class: 'unavailable-message' }, "Apple Pay is not available on this device"))), !this.isLoading &&
|
|
154
|
+
!this.error &&
|
|
155
|
+
this.isAvailable &&
|
|
156
|
+
this.canMakePayments && (h(ApplePayButton, { key: 'a1aa0a7ba9c95610130e258e5d9b88fa0a533ffb', buttonType: this.buttonType, buttonStyle: this.buttonStyle, disabled: this.disabled, isProcessing: this.isProcessing, isAvailable: this.isAvailable, clickHandler: this.handleApplePayClick }))), h("style", { key: '460c99302788488e3475c7851f571f3cfc8bfc21' }, `
|
|
157
|
+
.apple-pay-container {
|
|
158
|
+
width: 100%;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.apple-pay-error {
|
|
162
|
+
display: flex;
|
|
163
|
+
align-items: center;
|
|
164
|
+
gap: 8px;
|
|
165
|
+
padding: 12px;
|
|
166
|
+
background: #fef2f2;
|
|
167
|
+
border: 1px solid #fecaca;
|
|
168
|
+
border-radius: 8px;
|
|
169
|
+
color: #dc2626;
|
|
170
|
+
font-size: 14px;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.apple-pay-unavailable {
|
|
174
|
+
display: flex;
|
|
175
|
+
align-items: center;
|
|
176
|
+
justify-content: center;
|
|
177
|
+
padding: 12px;
|
|
178
|
+
background: #f9fafb;
|
|
179
|
+
border: 1px solid #e5e7eb;
|
|
180
|
+
border-radius: 8px;
|
|
181
|
+
color: #6b7280;
|
|
182
|
+
font-size: 14px;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.error-icon {
|
|
186
|
+
font-size: 16px;
|
|
187
|
+
}
|
|
188
|
+
`)));
|
|
189
|
+
}
|
|
190
|
+
static get is() { return "justifi-apple-pay"; }
|
|
191
|
+
static get encapsulation() { return "shadow"; }
|
|
192
|
+
static get properties() {
|
|
193
|
+
return {
|
|
194
|
+
"countryCode": {
|
|
195
|
+
"type": "string",
|
|
196
|
+
"attribute": "country-code",
|
|
197
|
+
"mutable": false,
|
|
198
|
+
"complexType": {
|
|
199
|
+
"original": "string",
|
|
200
|
+
"resolved": "string",
|
|
201
|
+
"references": {}
|
|
202
|
+
},
|
|
203
|
+
"required": false,
|
|
204
|
+
"optional": false,
|
|
205
|
+
"docs": {
|
|
206
|
+
"tags": [],
|
|
207
|
+
"text": ""
|
|
208
|
+
},
|
|
209
|
+
"getter": false,
|
|
210
|
+
"setter": false,
|
|
211
|
+
"reflect": false,
|
|
212
|
+
"defaultValue": "\"US\""
|
|
213
|
+
},
|
|
214
|
+
"merchantIdentifier": {
|
|
215
|
+
"type": "string",
|
|
216
|
+
"attribute": "merchant-identifier",
|
|
217
|
+
"mutable": false,
|
|
218
|
+
"complexType": {
|
|
219
|
+
"original": "string",
|
|
220
|
+
"resolved": "string",
|
|
221
|
+
"references": {}
|
|
222
|
+
},
|
|
223
|
+
"required": false,
|
|
224
|
+
"optional": false,
|
|
225
|
+
"docs": {
|
|
226
|
+
"tags": [],
|
|
227
|
+
"text": ""
|
|
228
|
+
},
|
|
229
|
+
"getter": false,
|
|
230
|
+
"setter": false,
|
|
231
|
+
"reflect": false,
|
|
232
|
+
"defaultValue": "\"merchant.com.justifi.checkout\""
|
|
233
|
+
},
|
|
234
|
+
"merchantDisplayName": {
|
|
235
|
+
"type": "string",
|
|
236
|
+
"attribute": "merchant-display-name",
|
|
237
|
+
"mutable": false,
|
|
238
|
+
"complexType": {
|
|
239
|
+
"original": "string",
|
|
240
|
+
"resolved": "string",
|
|
241
|
+
"references": {}
|
|
242
|
+
},
|
|
243
|
+
"required": false,
|
|
244
|
+
"optional": false,
|
|
245
|
+
"docs": {
|
|
246
|
+
"tags": [],
|
|
247
|
+
"text": ""
|
|
248
|
+
},
|
|
249
|
+
"getter": false,
|
|
250
|
+
"setter": false,
|
|
251
|
+
"reflect": false,
|
|
252
|
+
"defaultValue": "\"JustiFi Checkout\""
|
|
253
|
+
},
|
|
254
|
+
"initiativeContext": {
|
|
255
|
+
"type": "string",
|
|
256
|
+
"attribute": "initiative-context",
|
|
257
|
+
"mutable": false,
|
|
258
|
+
"complexType": {
|
|
259
|
+
"original": "string",
|
|
260
|
+
"resolved": "string",
|
|
261
|
+
"references": {}
|
|
262
|
+
},
|
|
263
|
+
"required": false,
|
|
264
|
+
"optional": false,
|
|
265
|
+
"docs": {
|
|
266
|
+
"tags": [],
|
|
267
|
+
"text": ""
|
|
268
|
+
},
|
|
269
|
+
"getter": false,
|
|
270
|
+
"setter": false,
|
|
271
|
+
"reflect": false,
|
|
272
|
+
"defaultValue": "\"checkout.justifi.tech\""
|
|
273
|
+
},
|
|
274
|
+
"apiBaseUrl": {
|
|
275
|
+
"type": "string",
|
|
276
|
+
"attribute": "api-base-url",
|
|
277
|
+
"mutable": false,
|
|
278
|
+
"complexType": {
|
|
279
|
+
"original": "string",
|
|
280
|
+
"resolved": "string",
|
|
281
|
+
"references": {}
|
|
282
|
+
},
|
|
283
|
+
"required": false,
|
|
284
|
+
"optional": false,
|
|
285
|
+
"docs": {
|
|
286
|
+
"tags": [],
|
|
287
|
+
"text": ""
|
|
288
|
+
},
|
|
289
|
+
"getter": false,
|
|
290
|
+
"setter": false,
|
|
291
|
+
"reflect": false,
|
|
292
|
+
"defaultValue": "\"https://api.justifi-staging.com\""
|
|
293
|
+
},
|
|
294
|
+
"buttonType": {
|
|
295
|
+
"type": "string",
|
|
296
|
+
"attribute": "button-type",
|
|
297
|
+
"mutable": false,
|
|
298
|
+
"complexType": {
|
|
299
|
+
"original": "ApplePayButtonType",
|
|
300
|
+
"resolved": "ApplePayButtonType.BOOK | ApplePayButtonType.BUY | ApplePayButtonType.CHECK_OUT | ApplePayButtonType.DONATE | ApplePayButtonType.PLAIN | ApplePayButtonType.SET_UP | ApplePayButtonType.SUBSCRIBE",
|
|
301
|
+
"references": {
|
|
302
|
+
"ApplePayButtonType": {
|
|
303
|
+
"location": "import",
|
|
304
|
+
"path": "../../../api/ApplePay",
|
|
305
|
+
"id": "src/api/ApplePay.ts::ApplePayButtonType"
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
"required": false,
|
|
310
|
+
"optional": false,
|
|
311
|
+
"docs": {
|
|
312
|
+
"tags": [],
|
|
313
|
+
"text": ""
|
|
314
|
+
},
|
|
315
|
+
"getter": false,
|
|
316
|
+
"setter": false,
|
|
317
|
+
"reflect": false,
|
|
318
|
+
"defaultValue": "ApplePayButtonType.PLAIN"
|
|
319
|
+
},
|
|
320
|
+
"buttonStyle": {
|
|
321
|
+
"type": "string",
|
|
322
|
+
"attribute": "button-style",
|
|
323
|
+
"mutable": false,
|
|
324
|
+
"complexType": {
|
|
325
|
+
"original": "ApplePayButtonStyle",
|
|
326
|
+
"resolved": "ApplePayButtonStyle.BLACK | ApplePayButtonStyle.WHITE | ApplePayButtonStyle.WHITE_OUTLINE",
|
|
327
|
+
"references": {
|
|
328
|
+
"ApplePayButtonStyle": {
|
|
329
|
+
"location": "import",
|
|
330
|
+
"path": "../../../api/ApplePay",
|
|
331
|
+
"id": "src/api/ApplePay.ts::ApplePayButtonStyle"
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
"required": false,
|
|
336
|
+
"optional": false,
|
|
337
|
+
"docs": {
|
|
338
|
+
"tags": [],
|
|
339
|
+
"text": ""
|
|
340
|
+
},
|
|
341
|
+
"getter": false,
|
|
342
|
+
"setter": false,
|
|
343
|
+
"reflect": false,
|
|
344
|
+
"defaultValue": "ApplePayButtonStyle.BLACK"
|
|
345
|
+
},
|
|
346
|
+
"disabled": {
|
|
347
|
+
"type": "boolean",
|
|
348
|
+
"attribute": "disabled",
|
|
349
|
+
"mutable": false,
|
|
350
|
+
"complexType": {
|
|
351
|
+
"original": "boolean",
|
|
352
|
+
"resolved": "boolean",
|
|
353
|
+
"references": {}
|
|
354
|
+
},
|
|
355
|
+
"required": false,
|
|
356
|
+
"optional": false,
|
|
357
|
+
"docs": {
|
|
358
|
+
"tags": [],
|
|
359
|
+
"text": ""
|
|
360
|
+
},
|
|
361
|
+
"getter": false,
|
|
362
|
+
"setter": false,
|
|
363
|
+
"reflect": false,
|
|
364
|
+
"defaultValue": "false"
|
|
365
|
+
},
|
|
366
|
+
"showSkeleton": {
|
|
367
|
+
"type": "boolean",
|
|
368
|
+
"attribute": "show-skeleton",
|
|
369
|
+
"mutable": false,
|
|
370
|
+
"complexType": {
|
|
371
|
+
"original": "boolean",
|
|
372
|
+
"resolved": "boolean",
|
|
373
|
+
"references": {}
|
|
374
|
+
},
|
|
375
|
+
"required": false,
|
|
376
|
+
"optional": false,
|
|
377
|
+
"docs": {
|
|
378
|
+
"tags": [],
|
|
379
|
+
"text": ""
|
|
380
|
+
},
|
|
381
|
+
"getter": false,
|
|
382
|
+
"setter": false,
|
|
383
|
+
"reflect": false,
|
|
384
|
+
"defaultValue": "true"
|
|
385
|
+
}
|
|
386
|
+
};
|
|
387
|
+
}
|
|
388
|
+
static get states() {
|
|
389
|
+
return {
|
|
390
|
+
"isLoading": {},
|
|
391
|
+
"isProcessing": {},
|
|
392
|
+
"isAvailable": {},
|
|
393
|
+
"canMakePayments": {},
|
|
394
|
+
"error": {}
|
|
395
|
+
};
|
|
396
|
+
}
|
|
397
|
+
static get events() {
|
|
398
|
+
return [{
|
|
399
|
+
"method": "applePayStarted",
|
|
400
|
+
"name": "applePayStarted",
|
|
401
|
+
"bubbles": true,
|
|
402
|
+
"cancelable": true,
|
|
403
|
+
"composed": true,
|
|
404
|
+
"docs": {
|
|
405
|
+
"tags": [],
|
|
406
|
+
"text": ""
|
|
407
|
+
},
|
|
408
|
+
"complexType": {
|
|
409
|
+
"original": "void",
|
|
410
|
+
"resolved": "void",
|
|
411
|
+
"references": {}
|
|
412
|
+
}
|
|
413
|
+
}, {
|
|
414
|
+
"method": "applePayCompleted",
|
|
415
|
+
"name": "applePayCompleted",
|
|
416
|
+
"bubbles": true,
|
|
417
|
+
"cancelable": true,
|
|
418
|
+
"composed": true,
|
|
419
|
+
"docs": {
|
|
420
|
+
"tags": [],
|
|
421
|
+
"text": ""
|
|
422
|
+
},
|
|
423
|
+
"complexType": {
|
|
424
|
+
"original": "{\n success: boolean;\n token?: IApplePayToken;\n error?: any;\n }",
|
|
425
|
+
"resolved": "{ success: boolean; token?: IApplePayToken; error?: any; }",
|
|
426
|
+
"references": {
|
|
427
|
+
"IApplePayToken": {
|
|
428
|
+
"location": "import",
|
|
429
|
+
"path": "../../../api/ApplePay",
|
|
430
|
+
"id": "src/api/ApplePay.ts::IApplePayToken"
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
}, {
|
|
435
|
+
"method": "applePayCancelled",
|
|
436
|
+
"name": "applePayCancelled",
|
|
437
|
+
"bubbles": true,
|
|
438
|
+
"cancelable": true,
|
|
439
|
+
"composed": true,
|
|
440
|
+
"docs": {
|
|
441
|
+
"tags": [],
|
|
442
|
+
"text": ""
|
|
443
|
+
},
|
|
444
|
+
"complexType": {
|
|
445
|
+
"original": "void",
|
|
446
|
+
"resolved": "void",
|
|
447
|
+
"references": {}
|
|
448
|
+
}
|
|
449
|
+
}, {
|
|
450
|
+
"method": "applePayError",
|
|
451
|
+
"name": "applePayError",
|
|
452
|
+
"bubbles": true,
|
|
453
|
+
"cancelable": true,
|
|
454
|
+
"composed": true,
|
|
455
|
+
"docs": {
|
|
456
|
+
"tags": [],
|
|
457
|
+
"text": ""
|
|
458
|
+
},
|
|
459
|
+
"complexType": {
|
|
460
|
+
"original": "{ error: string }",
|
|
461
|
+
"resolved": "{ error: string; }",
|
|
462
|
+
"references": {}
|
|
463
|
+
}
|
|
464
|
+
}];
|
|
465
|
+
}
|
|
466
|
+
static get methods() {
|
|
467
|
+
return {
|
|
468
|
+
"isSupported": {
|
|
469
|
+
"complexType": {
|
|
470
|
+
"signature": "() => Promise<boolean>",
|
|
471
|
+
"parameters": [],
|
|
472
|
+
"references": {
|
|
473
|
+
"Promise": {
|
|
474
|
+
"location": "global",
|
|
475
|
+
"id": "global::Promise"
|
|
476
|
+
}
|
|
477
|
+
},
|
|
478
|
+
"return": "Promise<boolean>"
|
|
479
|
+
},
|
|
480
|
+
"docs": {
|
|
481
|
+
"text": "",
|
|
482
|
+
"tags": []
|
|
483
|
+
}
|
|
484
|
+
},
|
|
485
|
+
"getPaymentMethods": {
|
|
486
|
+
"complexType": {
|
|
487
|
+
"signature": "() => Promise<string[]>",
|
|
488
|
+
"parameters": [],
|
|
489
|
+
"references": {
|
|
490
|
+
"Promise": {
|
|
491
|
+
"location": "global",
|
|
492
|
+
"id": "global::Promise"
|
|
493
|
+
}
|
|
494
|
+
},
|
|
495
|
+
"return": "Promise<string[]>"
|
|
496
|
+
},
|
|
497
|
+
"docs": {
|
|
498
|
+
"text": "",
|
|
499
|
+
"tags": []
|
|
500
|
+
}
|
|
501
|
+
},
|
|
502
|
+
"abort": {
|
|
503
|
+
"complexType": {
|
|
504
|
+
"signature": "() => Promise<void>",
|
|
505
|
+
"parameters": [],
|
|
506
|
+
"references": {
|
|
507
|
+
"Promise": {
|
|
508
|
+
"location": "global",
|
|
509
|
+
"id": "global::Promise"
|
|
510
|
+
}
|
|
511
|
+
},
|
|
512
|
+
"return": "Promise<void>"
|
|
513
|
+
},
|
|
514
|
+
"docs": {
|
|
515
|
+
"text": "",
|
|
516
|
+
"tags": []
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
};
|
|
520
|
+
}
|
|
521
|
+
static get watchers() {
|
|
522
|
+
return [{
|
|
523
|
+
"propName": "merchantIdentifier",
|
|
524
|
+
"methodName": "watchPropsChange"
|
|
525
|
+
}, {
|
|
526
|
+
"propName": "apiBaseUrl",
|
|
527
|
+
"methodName": "watchPropsChange"
|
|
528
|
+
}, {
|
|
529
|
+
"propName": "buttonType",
|
|
530
|
+
"methodName": "watchPropsChange"
|
|
531
|
+
}, {
|
|
532
|
+
"propName": "buttonStyle",
|
|
533
|
+
"methodName": "watchPropsChange"
|
|
534
|
+
}, {
|
|
535
|
+
"propName": "disabled",
|
|
536
|
+
"methodName": "watchPropsChange"
|
|
537
|
+
}];
|
|
538
|
+
}
|
|
539
|
+
}
|
|
@@ -40,10 +40,10 @@ export class BankAccountForm {
|
|
|
40
40
|
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
|
-
return (h(StyledHost, { key: '
|
|
43
|
+
return (h(StyledHost, { key: '1cf811a60b481271f29c151aff5ab8c132d65d4b' }, h(BankAccountFormSkeleton, { key: '3b81c1b9456f2be69fb89f0abac6c0bb95d5f2d3', isReady: this.isReady }), h("hidden-input", { key: 'd1d02debee100c4a851f7eb5aa9196587e58e54d' }), h("div", { key: '49ced4f6c7c3b9b42fc2b08fd14161ed9a21fdfa', class: "container-fluid p-0", style: {
|
|
44
44
|
opacity: this.isReady ? '1' : '0',
|
|
45
45
|
height: this.isReady ? 'auto' : '0',
|
|
46
|
-
} }, h("div", { key: '
|
|
46
|
+
} }, h("div", { key: '5d44c0b231532e4b98ff6a777db820c41ce5ce0b', class: "row mb-3" }, h("iframe-input", { key: '1628067e98f44f9e7e0f404b1df9e61d756e9d50', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), h("div", { key: '513aa503c8df3f79d340bf9f4bec9cdee2679a69', class: "row" }, h("iframe-input", { key: 'fdbaf1f56b3d0fbc5d1395293240f3b27c134bdd', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
|
|
47
47
|
}
|
|
48
48
|
static get is() { return "justifi-bank-account-form"; }
|
|
49
49
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/modular-checkout/sub-components/billing-information-form.js
CHANGED
|
@@ -31,21 +31,16 @@ export class BillingInformationForm {
|
|
|
31
31
|
this.errors = Object.assign({}, errors);
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
|
-
async fill(values) {
|
|
35
|
-
this.formController.setInitialValues(values);
|
|
36
|
-
return this.formController.values.getValue();
|
|
37
|
-
}
|
|
38
34
|
async getValues() {
|
|
39
35
|
return this.formController.values.getValue();
|
|
40
36
|
}
|
|
41
37
|
async validate() {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
return { isValid, errors };
|
|
38
|
+
let isValid = await this.formController.validate();
|
|
39
|
+
return { isValid: isValid };
|
|
45
40
|
}
|
|
46
41
|
render() {
|
|
47
42
|
const billingFormDefaultValue = this.formController.getInitialValues();
|
|
48
|
-
return (h(StyledHost, { key: '
|
|
43
|
+
return (h(StyledHost, { key: 'abaa29c5d463c95801ebeadb254a2b87fe116dd0' }, h("div", { key: 'f3327594ec80d1365e23cebc523d18581093ed70', part: billingForm }, h("form", { key: '2aa614c338af201f648cb03f7865238bb82aa2e4' }, h("fieldset", { key: 'a00e9457818d996eee924e996464146a741a5468' }, h("div", { key: 'a7d18b979c2505ea8e0ba8b8427f0191060da3c0', class: "row gy-3" }, h("div", { key: 'a3ee71f96aafa50cf65e54a1e259d59b44de7494', class: "col-12" }, h("form-control-text", { key: 'd9bd8c2db3ed0b7d6062a8ca454f1c33caf84471', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '539f0e9ec635487c6118ec40b1bcf683efa5b64d', class: "col-12" }, h("form-control-text", { key: '10ae18b859dffb202ba014fb303917c58b95953b', name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { key: 'bc6aba1d85cef27587e07bcf15073c766936ca8f', class: "col-12" }, h("form-control-text", { key: '073673edb594797a2158a1d5b04022b407b9ed0c', name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { key: '50062f42ee4da8238ffcc42b2f6850bbad309ffd', class: "col-12" }, h("form-control-text", { key: '4bf1c47edb3faca18aec278bef52d078d59f60ed', name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { key: 'd2b8c326762474d38b5271f89d682be763fb0f44', class: "col-12" }, h("form-control-select", { key: '506286fed3c031d72cae737c4631ec4f91428ceb', name: 'address_state', label: 'State', options: StateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), h("div", { key: 'f70fd74b32594b43a524cb305c79854bcb5ea2ba', class: "col-12" }, h("form-control-text", { key: '8f24531c98865727c2b585feef088f9f2c9c7e96', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler }))))))));
|
|
49
44
|
}
|
|
50
45
|
static get is() { return "justifi-billing-information-form"; }
|
|
51
46
|
static get encapsulation() { return "shadow"; }
|
|
@@ -58,32 +53,6 @@ export class BillingInformationForm {
|
|
|
58
53
|
}
|
|
59
54
|
static get methods() {
|
|
60
55
|
return {
|
|
61
|
-
"fill": {
|
|
62
|
-
"complexType": {
|
|
63
|
-
"signature": "(values: BillingFormFields) => Promise<any>",
|
|
64
|
-
"parameters": [{
|
|
65
|
-
"name": "values",
|
|
66
|
-
"type": "BillingFormFields",
|
|
67
|
-
"docs": ""
|
|
68
|
-
}],
|
|
69
|
-
"references": {
|
|
70
|
-
"Promise": {
|
|
71
|
-
"location": "global",
|
|
72
|
-
"id": "global::Promise"
|
|
73
|
-
},
|
|
74
|
-
"BillingFormFields": {
|
|
75
|
-
"location": "import",
|
|
76
|
-
"path": "./billing-form-schema",
|
|
77
|
-
"id": "src/components/modular-checkout/sub-components/billing-form-schema.ts::BillingFormFields"
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
"return": "Promise<any>"
|
|
81
|
-
},
|
|
82
|
-
"docs": {
|
|
83
|
-
"text": "",
|
|
84
|
-
"tags": []
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
56
|
"getValues": {
|
|
88
57
|
"complexType": {
|
|
89
58
|
"signature": "() => Promise<BillingFormFields>",
|
|
@@ -108,7 +77,7 @@ export class BillingInformationForm {
|
|
|
108
77
|
},
|
|
109
78
|
"validate": {
|
|
110
79
|
"complexType": {
|
|
111
|
-
"signature": "() => Promise<{ isValid: boolean;
|
|
80
|
+
"signature": "() => Promise<{ isValid: boolean; }>",
|
|
112
81
|
"parameters": [],
|
|
113
82
|
"references": {
|
|
114
83
|
"Promise": {
|
|
@@ -116,7 +85,7 @@ export class BillingInformationForm {
|
|
|
116
85
|
"id": "global::Promise"
|
|
117
86
|
}
|
|
118
87
|
},
|
|
119
|
-
"return": "Promise<{ isValid: boolean;
|
|
88
|
+
"return": "Promise<{ isValid: boolean; }>"
|
|
120
89
|
},
|
|
121
90
|
"docs": {
|
|
122
91
|
"text": "",
|
|
@@ -44,10 +44,10 @@ export class JustifiCardForm {
|
|
|
44
44
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
|
-
return (h(StyledHost, { key: '
|
|
47
|
+
return (h(StyledHost, { key: '7cb0c0a08ef0572fa1604e17edbf19478ea3f36b' }, h(CardFormSkeleton, { key: '5314b766fd972e03dbb7632776c97617132a861d', isReady: this.isReady }), h("hidden-input", { key: '479b8a68d10eb9e7e0358e165345020290ed6690' }), h("div", { key: 'a71bc32cfbef8b37d47c56662094dc6e292ff1f3', class: "container-fluid p-0", style: {
|
|
48
48
|
opacity: this.isReady ? '1' : '0',
|
|
49
49
|
height: this.isReady ? 'auto' : '0',
|
|
50
|
-
} }, h("div", { key: '
|
|
50
|
+
} }, h("div", { key: '64c8b172e9786cf1cdefaea11bcb27d665015ecf', class: "mb-3" }, h("iframe-input", { key: 'c31ef9a392acbe9b2aabcacb0a37d4999853bbfc', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: '7c60c66b4212423fa08a902c6550c2ca757198b8', class: "row" }, h("div", { key: '712d7b397299596d4b9dfd91ebdce84e028ec925', class: "col-4 align-content-end" }, h("iframe-input", { key: '2caf6a11018a30dbac0b973387e23fd0d00f96bd', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: '41122ae04a8b6c568157213874df4a7d483cba41', class: "col-4 align-content-end" }, h("iframe-input", { key: 'abd6e99b75446663e428094dd3588e02f849fb85', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: 'c974afa273e7f150cb365704401e49408074faac', class: "col-4 align-content-end" }, h("iframe-input", { key: 'c3998a85c9043a08d60b667c86e20bee5e5f007c', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
|
|
51
51
|
}
|
|
52
52
|
static get is() { return "justifi-card-form"; }
|
|
53
53
|
static get encapsulation() { return "shadow"; }
|
|
@@ -3,7 +3,7 @@ import { radioListItem } from "../../../styles/parts";
|
|
|
3
3
|
import { StyledHost } from "../../../ui-components";
|
|
4
4
|
export class PaymentMethodOption {
|
|
5
5
|
render() {
|
|
6
|
-
return (h(StyledHost, { key: '
|
|
6
|
+
return (h(StyledHost, { key: 'e9069cbe6668585daa972c3d226ef2a901a0b003', class: "payment-method" }, h("div", { key: '9ec14865488d43f8007c481a8ba030b5415abf96', class: "radio-list-item p-3", part: radioListItem, onClick: this.clickHandler, hidden: this.radioButtonHidden }, h("form-control-radio", { key: '146ee9bc2cfc57192db519643f18ed672ac12e77', name: "paymentMethodType", value: this.paymentMethodOptionId, checked: this.isSelected, label: this.label }))));
|
|
7
7
|
}
|
|
8
8
|
static get is() { return "payment-method-option"; }
|
|
9
9
|
static get encapsulation() { return "shadow"; }
|