@justifi/webcomponents 6.0.0-rc.3 → 6.0.0-rc.5
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/{check-pkg-version-DvwUM1uA.js → check-pkg-version-BsodhBbK.js} +1 -1
- package/dist/cjs/{checkout.store-CV_fuGQw.js → checkout.store-Cn3Jj5gi.js} +1 -0
- 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 +2 -2
- package/dist/cjs/hidden-input_2.cjs.entry.js +5 -5
- package/dist/cjs/justifi-apple-pay.cjs.entry.js +836 -0
- package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +8 -8
- 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 +141 -35
- package/dist/cjs/justifi-checkout.cjs.entry.js +3 -3
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +2 -2
- 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-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-BLAsoHSG.js → package-DJaHaxMC.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/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 +334 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/modular-checkout/modular-checkout.js +137 -32
- 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 +555 -0
- package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
- 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 +3 -3
- 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-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 +2 -2
- 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 +2 -2
- package/dist/esm/{check-pkg-version-D1hbenUd.js → check-pkg-version-D_w9UM2s.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 +5 -5
- 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 +4 -4
- package/dist/esm/gross-payment-chart-core.entry.js +3 -3
- 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 +1 -1
- package/dist/esm/justifi-apple-pay.entry.js +834 -0
- package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +12 -12
- 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 +145 -39
- package/dist/esm/justifi-checkout.entry.js +4 -4
- package/dist/esm/justifi-checkouts-list-filters.entry.js +1 -1
- package/dist/esm/justifi-checkouts-list.entry.js +5 -5
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management.entry.js +2 -2
- package/dist/esm/justifi-dispute-notification_3.entry.js +5 -5
- 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 +1 -1
- 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-DqFAlAve.js → package-78C4rMuv.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 +2 -2
- 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/bank-account.js +2 -2
- package/dist/module/card-form2.js +2 -2
- package/dist/module/checkout.store.js +1 -0
- package/dist/module/custom-popper2.js +2 -2
- 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-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +2 -2
- 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 +877 -0
- package/dist/module/justifi-button2.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-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 +133 -27
- 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/summary.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 +3 -3
- package/dist/types/api/ApplePay.d.ts +196 -0
- package/dist/types/api/services/apple-pay.service.d.ts +66 -0
- package/dist/types/components/modular-checkout/modular-checkout.d.ts +9 -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 +39 -0
- package/dist/types/components.d.ts +122 -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-738e0511.entry.js → p-08a5cc2f.entry.js} +1 -1
- package/dist/webcomponents/{p-43d693a3.entry.js → p-0aee6da6.entry.js} +1 -1
- package/dist/webcomponents/{p-f21549f3.entry.js → p-0e290b6e.entry.js} +1 -1
- package/dist/webcomponents/{p-0cab7d5d.entry.js → p-0e64cd09.entry.js} +1 -1
- package/dist/webcomponents/{p-9f289c31.entry.js → p-1246b999.entry.js} +1 -1
- package/dist/webcomponents/p-12c312a0.entry.js +1 -0
- package/dist/webcomponents/{p-a3ab166f.entry.js → p-134d5029.entry.js} +1 -1
- package/dist/webcomponents/{p-f7e62bfa.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-1ea7868a.entry.js +1 -0
- package/dist/webcomponents/{p-84ce3bae.entry.js → p-281e36be.entry.js} +1 -1
- package/dist/webcomponents/p-2a0a907d.entry.js +1 -0
- package/dist/webcomponents/{p-c65f157f.entry.js → p-2ab0a2b3.entry.js} +1 -1
- package/dist/webcomponents/{p-93e7df50.entry.js → p-32cecfaf.entry.js} +1 -1
- package/dist/webcomponents/{p-a069c345.entry.js → p-3ffe1e2e.entry.js} +1 -1
- package/dist/webcomponents/p-48f42f07.entry.js +1 -0
- package/dist/webcomponents/{p-37445ce9.entry.js → p-4a1198ee.entry.js} +1 -1
- package/dist/webcomponents/{p-befda39d.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-5510b57c.entry.js +1 -0
- 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-6df132e6.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-70cd4cbd.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-e6a1a851.entry.js → p-776699bd.entry.js} +1 -1
- package/dist/webcomponents/p-78C4rMuv.js +1 -0
- package/dist/webcomponents/{p-29b6f15a.entry.js → p-7b9fa1fb.entry.js} +1 -1
- package/dist/webcomponents/{p-7ed7b2f6.entry.js → p-9009dede.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-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-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-D456WTYf.js → p-DhRb39as.js} +1 -1
- 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-a1483fbd.entry.js +1 -0
- package/dist/webcomponents/{p-53c81d62.entry.js → p-a1a8f6bd.entry.js} +1 -1
- package/dist/webcomponents/{p-15777cfe.entry.js → p-a406bf1a.entry.js} +1 -1
- package/dist/webcomponents/p-a4cb5604.entry.js +1 -0
- package/dist/webcomponents/{p-f4f3cae8.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-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-a0b8c888.entry.js → p-b10e34b0.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-4b808606.entry.js → p-bbbb9225.entry.js} +1 -1
- package/dist/webcomponents/p-bd560810.entry.js +1 -0
- package/dist/webcomponents/{p-c217869b.entry.js → p-c029fc20.entry.js} +1 -1
- package/dist/webcomponents/p-c62e23c1.entry.js +1 -0
- package/dist/webcomponents/{p-b0bfa20f.entry.js → p-c6860f60.entry.js} +1 -1
- package/dist/webcomponents/{p-0e287092.entry.js → p-cbfc8269.entry.js} +1 -1
- package/dist/webcomponents/{p-0935b6e5.entry.js → p-d0729065.entry.js} +1 -1
- package/dist/webcomponents/{p-4bba4e66.entry.js → p-dad15b15.entry.js} +1 -1
- package/dist/webcomponents/{p-0b790fa4.entry.js → p-dc245644.entry.js} +4 -4
- package/dist/webcomponents/{p-d1a65c6d.entry.js → p-e00fd71d.entry.js} +1 -1
- package/dist/webcomponents/{p-e2267656.entry.js → p-e6ca1872.entry.js} +1 -1
- package/dist/webcomponents/{p-e546b8f8.entry.js → p-e70a5f50.entry.js} +1 -1
- package/dist/webcomponents/{p-904a95e5.entry.js → p-e8a198fa.entry.js} +1 -1
- package/dist/webcomponents/{p-9a4c1990.entry.js → p-eca1e808.entry.js} +1 -1
- package/dist/webcomponents/p-fb1904d2.entry.js +1 -0
- package/dist/webcomponents/{p-35bbfbf8.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-0cc85003.entry.js +0 -1
- package/dist/webcomponents/p-1975406a.entry.js +0 -1
- package/dist/webcomponents/p-2a59547b.entry.js +0 -1
- package/dist/webcomponents/p-2da63719.entry.js +0 -1
- package/dist/webcomponents/p-4ae2a0b9.entry.js +0 -1
- package/dist/webcomponents/p-4b795b77.entry.js +0 -1
- package/dist/webcomponents/p-5001e722.entry.js +0 -1
- package/dist/webcomponents/p-5477c449.entry.js +0 -1
- package/dist/webcomponents/p-56980ef3.entry.js +0 -1
- package/dist/webcomponents/p-614fcef6.entry.js +0 -1
- package/dist/webcomponents/p-63b1fffd.entry.js +0 -1
- package/dist/webcomponents/p-739d6f13.entry.js +0 -1
- package/dist/webcomponents/p-74ae5db7.entry.js +0 -1
- package/dist/webcomponents/p-9ccd19f5.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-DqFAlAve.js +0 -1
- package/dist/webcomponents/p-a33ea645.entry.js +0 -1
- package/dist/webcomponents/p-ba018d57.entry.js +0 -1
- package/dist/webcomponents/p-be06d86a.entry.js +0 -1
- package/dist/webcomponents/p-dd4ef924.entry.js +0 -1
- package/dist/webcomponents/p-df4f2af9.entry.js +0 -1
- package/dist/webcomponents/p-e1ba5735.entry.js +0 -1
- package/dist/webcomponents/p-e4e30e84.entry.js +0 -1
- package/dist/webcomponents/p-e898de89.entry.js +0 -1
- package/dist/webcomponents/p-f200cbda.entry.js +0 -1
- package/dist/webcomponents/p-f4645aef.entry.js +0 -1
- package/dist/webcomponents/p-zrUQD0Wr.js +0 -1
|
@@ -173,7 +173,7 @@ const PayoutsListCore = /*@__PURE__*/ proxyCustomElement(class PayoutsListCore e
|
|
|
173
173
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
174
174
|
}
|
|
175
175
|
render() {
|
|
176
|
-
return (h(TableWrapper, { key: '
|
|
176
|
+
return (h(TableWrapper, { key: 'fe72adaaaa7e03339bd2c023ed3cfd76ce20cc09' }, h(TableComponent, { key: 'd9c191823846f3160ee178a291d797885862346b' }, h(TableHead, { key: '070d60c8ed1e9469208b2d12ff22f5c5782e5b06' }, h(TableHeadRow, { key: 'e3a8658405dc3339af9694f88ee7e39553e7f48f' }, this.payoutsTable.columnData.map((column) => column))), h(TableBody, { key: '5c919ca5c320c664f5c1fde43a996ecdd1ef346f' }, h(TableLoadingState, { key: 'e037e4280fac5697c1d5c7798ab09550046038a0', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '963f510db0f77df7d257e2ad1bba91ab0e071945', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: '6e7eedf2e5c51c7c483695f4892ca492ef799514', columnSpan: this.payoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.payoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: 'b5b0b65da33dd148425571b328d04fffddf0e1f3' }, h(TableFootRow, { key: '73cc200689fd799618fffa1bc8a102c357372aef' }, h(TableFootCell, { key: 'b85785c0eb003fa546137119d50264e05a6b9382', colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: 'e42a0da2d4c06c659ad6a9fc7f2cd2bb61caf1ee', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
177
177
|
}
|
|
178
178
|
static get watchers() { return {
|
|
179
179
|
"pagingParams": ["updateOnPropChange"],
|
package/dist/module/summary.js
CHANGED
|
@@ -14,7 +14,7 @@ const Summary = /*@__PURE__*/ proxyCustomElement(class Summary extends HTMLEleme
|
|
|
14
14
|
this.__attachShadow();
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (h(StyledHost, { key: '
|
|
17
|
+
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))))))));
|
|
18
18
|
}
|
|
19
19
|
}, [257, "justifi-checkout-summary"]);
|
|
20
20
|
function defineCustomElement() {
|
|
@@ -166,7 +166,7 @@ const TerminalOrdersListCore = /*@__PURE__*/ proxyCustomElement(class TerminalOr
|
|
|
166
166
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
167
167
|
}
|
|
168
168
|
render() {
|
|
169
|
-
return (h(TableWrapper, { key: '
|
|
169
|
+
return (h(TableWrapper, { key: '394f529d42867e207bc47901045e7307a6784f3c' }, h(TableComponent, { key: 'b6d668352fe60c0fd33cc66505b14e944a598792' }, h(TableHead, { key: 'f52ef37d1246d60503b9dd86cef67d7d1d34b939' }, h(TableHeadRow, { key: '31df50a3ecb7329fdd25f16970d195eb5bd027ef' }, this.terminalOrdersTable.columnData.map((column) => column))), h(TableBody, { key: '3e4354bab42bc5005383bccee6594c4cea220a40' }, h(TableLoadingState, { key: 'f8febbccb33a3ca286af8a6d25f032b1320d1f45', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '4d5c0466ae4b63869739aa416ae88ce9ba832eda', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), h(TableErrorState, { key: 'babe96226b95f6646e08927d16002a4709ddfabf', columnSpan: this.terminalOrdersTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalOrdersTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '9e603727dde071004445013cb653777336b2ad11' }, h(TableFootRow, { key: 'f49d1110c64a88045bba21df48072116b82cda5c' }, h(TableFootCell, { key: '97b2adb37e39414018d0cf280e7041019d95da9b', colSpan: this.terminalOrdersTable.columnData.length }, h("pagination-menu", { key: '00e589c3458499d2eb81595f3156eb8b17ad9eae', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
170
170
|
}
|
|
171
171
|
static get watchers() { return {
|
|
172
172
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -24,7 +24,7 @@ const TerminalQuantitySelector = /*@__PURE__*/ proxyCustomElement(class Terminal
|
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return (h("div", { key: '
|
|
27
|
+
return (h("div", { key: '0b6c6622a2a25650c3713682888e9e3e842baebf', class: "rounded shadow-sm card p-2", part: card }, h("div", { key: 'd8cb3815b1490dd7a8ae8dad06db84df65d84782', class: "d-flex gap-3" }, h("div", { key: '9f68c206b1a358fd9427615d1596d798678ea2e9', class: "d-flex align-items-center" }, h("img", { key: 'df5982d69ecc957a4536b2cc768dc682e3d1bef7', src: this.imageUrl, alt: this.modelName, height: 75, width: 75, part: image })), h("div", { key: '0ef6b9ee7fcbb6b7dd220c73835079571fbff861', class: "d-flex flex-column flex-grow-1 gap-3 p-4 justify-content-center" }, h("div", { key: 'f39724e9b712641914a4def251e48a0ed9b384b3', class: "row" }, h("div", { key: '200ba52e240dc6797423b25d1b056670f900a64d', class: "col-6 d-flex gap-2" }, this.modelName, h("form-control-tooltip", { key: 'bc52a0b94f09c8ebaeeb73f31878ca38d608ec80', helpText: this.description })), h("div", { key: '78029284d86432413ac3d3b00b6ca3b42327221c', class: "col-6 d-flex justify-content-end align-items-center" }, h("button", { key: 'b8822c9e6c10baf55f631061f6984c1d4f15f4e0', class: "p-0 minus btn", onClick: this.removeUnit, part: buttonLink }, "-"), h("div", { key: '0d5662d0d3b39933ae53284c5083bf48f7ce0b38', class: "w-25 text-center" }, this.selectedQuantity), h("button", { key: 'ec9918b84364e12ecf0d39d3241793f8ab02a910', class: "p-0 plus btn", onClick: this.addUnit, part: buttonLink }, "+")))))));
|
|
28
28
|
}
|
|
29
29
|
}, [256, "terminal-quantity-selector", {
|
|
30
30
|
"modelName": [1, "model-name"],
|
|
@@ -180,7 +180,7 @@ const TerminalsListCore = /*@__PURE__*/ proxyCustomElement(class TerminalsListCo
|
|
|
180
180
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
181
181
|
}
|
|
182
182
|
render() {
|
|
183
|
-
return (h(TableWrapper, { key: '
|
|
183
|
+
return (h(TableWrapper, { key: 'f3d727c92c66b2504c6c8952a284cd4972706fd4' }, h(TableComponent, { key: 'c368038fb5683749737bb6b2b27a0a55ac95fe95' }, h(TableHead, { key: '96b41588ba94168581bfa423d3199916a06a925e' }, h(TableHeadRow, { key: 'fd1991bbcc22c3eb2b9ba107341285abf55a06b2' }, this.terminalsTable.columnData.map((column) => column))), h(TableBody, { key: 'ff3244f6b51f311fbc4311e37fc2c5bd4115a71a' }, h(TableLoadingState, { key: '821b4e55ea536fbe14e018107e8c19c309b86fca', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'cbeedf4e12ff428e7d24f536675f5b1f3c9d3d67', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: '4c7882127d862af40ea5960ec10adf092e676e4e', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '7bd7c9bbc95b0c24c03c1b3fd1685877dcdfec06' }, h(TableFootRow, { key: 'd6988cf0398b1a435f71a73761fb57656ff5ee7d' }, h(TableFootCell, { key: '207ac8dd06e9b053653781b255833e4f20bf9559', colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: '329f13886ec41244f05030673cf4cd7baf6b1cb6', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
184
184
|
}
|
|
185
185
|
static get watchers() { return {
|
|
186
186
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -52,7 +52,6 @@ const TokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class TokenizePay
|
|
|
52
52
|
componentWillLoad() {
|
|
53
53
|
checkPkgVersion();
|
|
54
54
|
this.analytics = new JustifiAnalytics(this);
|
|
55
|
-
this.validateRequiredProps();
|
|
56
55
|
}
|
|
57
56
|
connectedCallback() {
|
|
58
57
|
this.setDefaultSelectedPaymentMethod();
|
|
@@ -74,6 +73,7 @@ const TokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class TokenizePay
|
|
|
74
73
|
}
|
|
75
74
|
async tokenizePaymentMethod(event) {
|
|
76
75
|
event === null || event === void 0 ? void 0 : event.preventDefault();
|
|
76
|
+
this.validateRequiredProps();
|
|
77
77
|
this.isLoading = true;
|
|
78
78
|
try {
|
|
79
79
|
const validation = await this.validate();
|
|
@@ -259,13 +259,13 @@ const TokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class TokenizePay
|
|
|
259
259
|
return (h("div", { class: "payment-method" }, h("justifi-radio-list-item", { name: "paymentMethodType", value: paymentMethodType, checked: isSelected, label: PAYMENT_METHOD_TYPE_LABELS[paymentMethodType], hidden: this.shouldHideRadioInput }), isSelected && this.renderSelectedPaymentMethodForm(paymentMethodType)));
|
|
260
260
|
}
|
|
261
261
|
renderSelectedPaymentMethodForm(paymentMethodId) {
|
|
262
|
-
return (h("div", { class: "mt-4 pb-4" }, this.renderPaymentMethodForm(paymentMethodId), h("div", { class: "mt-4" }, h("justifi-billing-form", { ref: (el) => (this.billingFormRef = el), hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, paymentMethodType: paymentMethodId })), h("justifi-save-new-payment-method", { hidden: !this.paymentMethodGroupID })));
|
|
262
|
+
return (h("div", { class: "mt-4 pb-4" }, this.renderPaymentMethodForm(paymentMethodId), h("div", { class: "mt-4" }, h("justifi-billing-form", { ref: (el) => (this.billingFormRef = el), hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, paymentMethodType: paymentMethodId })), h("div", { class: "mt-4" }, h("justifi-save-new-payment-method", { hidden: !this.paymentMethodGroupID }))));
|
|
263
263
|
}
|
|
264
264
|
renderPaymentMethodForm(paymentMethodId) {
|
|
265
265
|
return paymentMethodId === PaymentMethodTypes.card ? (h("justifi-card-form", { ref: (el) => (this.paymentMethodFormRef = el) })) : (h("justifi-bank-account-form", { ref: (el) => (this.paymentMethodFormRef = el) }));
|
|
266
266
|
}
|
|
267
267
|
render() {
|
|
268
|
-
return (h(StyledHost, { key: '
|
|
268
|
+
return (h(StyledHost, { key: '91aecb0a6d627adffa535424c3c9520b41df4361' }, h("form", { key: '7774c819c106f799b903b24a5d12b59a7b1e2353' }, h("fieldset", { key: 'a9c09136f00e96730a0f972a836ae56072afd02f' }, h("div", { key: 'cb20d29e8e3102d4db894f87e38e24ea367d1a4b', class: "row gy-3" }, h("div", { key: '191e06a9bc446e2043892d4c8a4060b00e87b1bf', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), h("div", { key: '890bcd8a5a08a049d57385041b0b048fe3f04b51', class: "col-12" }, h("justifi-button", { key: 'd361acdb29c73c2a90b9de401c3cab4db020a71a', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
|
|
269
269
|
}
|
|
270
270
|
get host() { return this; }
|
|
271
271
|
static get watchers() { return {
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import { PagingInfo } from "./Pagination";
|
|
2
|
+
export declare enum ApplePaySessionStatus {
|
|
3
|
+
STATUS_SUCCESS = "STATUS_SUCCESS",
|
|
4
|
+
STATUS_FAILURE = "STATUS_FAILURE"
|
|
5
|
+
}
|
|
6
|
+
export declare enum ApplePayButtonType {
|
|
7
|
+
PLAIN = "plain",
|
|
8
|
+
BUY = "buy",
|
|
9
|
+
SET_UP = "set-up",
|
|
10
|
+
DONATE = "donate",
|
|
11
|
+
CHECK_OUT = "check-out",
|
|
12
|
+
BOOK = "book",
|
|
13
|
+
SUBSCRIBE = "subscribe"
|
|
14
|
+
}
|
|
15
|
+
export declare enum ApplePayButtonStyle {
|
|
16
|
+
BLACK = "black",
|
|
17
|
+
WHITE = "white",
|
|
18
|
+
WHITE_OUTLINE = "white-outline"
|
|
19
|
+
}
|
|
20
|
+
export declare enum ApplePayMerchantCapability {
|
|
21
|
+
SUPPORTS_3DS = "supports3DS",
|
|
22
|
+
SUPPORTS_EMV = "supportsEMV",
|
|
23
|
+
SUPPORTS_CREDIT = "supportsCredit",
|
|
24
|
+
SUPPORTS_DEBIT = "supportsDebit"
|
|
25
|
+
}
|
|
26
|
+
export interface IApplePayLineItem {
|
|
27
|
+
label: string;
|
|
28
|
+
amount: string;
|
|
29
|
+
type?: 'final' | 'pending';
|
|
30
|
+
}
|
|
31
|
+
export interface IApplePayShippingMethod {
|
|
32
|
+
label: string;
|
|
33
|
+
amount: string;
|
|
34
|
+
identifier: string;
|
|
35
|
+
detail?: string;
|
|
36
|
+
}
|
|
37
|
+
export interface IApplePayPaymentRequest {
|
|
38
|
+
countryCode: string;
|
|
39
|
+
currencyCode: string;
|
|
40
|
+
merchantCapabilities: ApplePayMerchantCapability[];
|
|
41
|
+
supportedNetworks: string[];
|
|
42
|
+
total: IApplePayLineItem;
|
|
43
|
+
lineItems?: IApplePayLineItem[];
|
|
44
|
+
shippingMethods?: IApplePayShippingMethod[];
|
|
45
|
+
applicationData?: string;
|
|
46
|
+
supportedCountries?: string[];
|
|
47
|
+
}
|
|
48
|
+
export interface IApplePaySession {
|
|
49
|
+
canMakePayments(): boolean;
|
|
50
|
+
canMakePaymentsWithActiveCard(merchantIdentifier: string): Promise<boolean>;
|
|
51
|
+
supportsVersion(version: number): boolean;
|
|
52
|
+
begin(): void;
|
|
53
|
+
abort(): void;
|
|
54
|
+
completeMerchantValidation(merchantSession: IMerchantSession): void;
|
|
55
|
+
completePayment(result: {
|
|
56
|
+
status: ApplePaySessionStatus;
|
|
57
|
+
}): void;
|
|
58
|
+
completeShippingMethodSelection(update: any): void;
|
|
59
|
+
completePaymentMethodSelection(update: any): void;
|
|
60
|
+
onvalidatemerchant?: (event: IApplePayValidateEvent) => void;
|
|
61
|
+
onpaymentmethodselected?: (event: IApplePayMethodSelectedEvent) => void;
|
|
62
|
+
onshippingmethodselected?: () => void;
|
|
63
|
+
onpaymentauthorized?: (event: any) => void;
|
|
64
|
+
oncancel?: (event: IApplePayCancelEvent) => void;
|
|
65
|
+
}
|
|
66
|
+
export interface IApplePayConfig {
|
|
67
|
+
merchantIdentifier: string;
|
|
68
|
+
displayName: string;
|
|
69
|
+
initiative: string;
|
|
70
|
+
initiativeContext: string;
|
|
71
|
+
buttonType?: ApplePayButtonType;
|
|
72
|
+
buttonStyle?: ApplePayButtonStyle;
|
|
73
|
+
buttonLocale?: string;
|
|
74
|
+
}
|
|
75
|
+
export interface IApplePayError {
|
|
76
|
+
code: string;
|
|
77
|
+
message: string;
|
|
78
|
+
}
|
|
79
|
+
export interface IMerchantSession {
|
|
80
|
+
displayName: string;
|
|
81
|
+
domainName: string;
|
|
82
|
+
epochTimestamp: number;
|
|
83
|
+
expiresAt: number;
|
|
84
|
+
merchantIdentifier: string;
|
|
85
|
+
merchantSessionIdentifier: string;
|
|
86
|
+
nonce: string;
|
|
87
|
+
operationalAnalyticsIdentifier: string;
|
|
88
|
+
pspId: string;
|
|
89
|
+
retries: number;
|
|
90
|
+
signature: string;
|
|
91
|
+
}
|
|
92
|
+
export interface IApplePayTokenData {
|
|
93
|
+
data: string;
|
|
94
|
+
header: {
|
|
95
|
+
publicKeyHash: string;
|
|
96
|
+
ephemeralPublicKey: string;
|
|
97
|
+
transactionId: string;
|
|
98
|
+
};
|
|
99
|
+
signature: string;
|
|
100
|
+
version: string;
|
|
101
|
+
}
|
|
102
|
+
export interface IApplePayTokenPaymentMethod {
|
|
103
|
+
displayName: string;
|
|
104
|
+
network: string;
|
|
105
|
+
type: string;
|
|
106
|
+
}
|
|
107
|
+
export interface IApplePayToken {
|
|
108
|
+
paymentData: IApplePayTokenData;
|
|
109
|
+
paymentMethod: IApplePayTokenPaymentMethod;
|
|
110
|
+
transactionIdentifier: string;
|
|
111
|
+
}
|
|
112
|
+
export interface IApplePayValidateEvent {
|
|
113
|
+
validationURL: string;
|
|
114
|
+
}
|
|
115
|
+
export interface IApplePayCancelEvent {
|
|
116
|
+
sessionError?: {
|
|
117
|
+
code: 'unknown' | 'invalidMerchantSession' | 'userCancel' | string;
|
|
118
|
+
info?: string;
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
export interface IApplePayMethodSelectedEvent {
|
|
122
|
+
paymentMethod: IApplePayTokenPaymentMethod;
|
|
123
|
+
}
|
|
124
|
+
export interface IApplePayPaymentProcessRequest {
|
|
125
|
+
paymentData: IApplePayTokenData;
|
|
126
|
+
paymentMethod: IApplePayTokenPaymentMethod;
|
|
127
|
+
transactionIdentifier: string;
|
|
128
|
+
product_details?: {
|
|
129
|
+
name: string;
|
|
130
|
+
price: number;
|
|
131
|
+
description: string;
|
|
132
|
+
};
|
|
133
|
+
description?: string;
|
|
134
|
+
}
|
|
135
|
+
export interface IApplePayPaymentResponse {
|
|
136
|
+
id: string;
|
|
137
|
+
type: string;
|
|
138
|
+
page_info: PagingInfo | null;
|
|
139
|
+
data: {
|
|
140
|
+
account_id: string;
|
|
141
|
+
token: string;
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
export interface IApplePayService {
|
|
145
|
+
validateMerchant(authToken: string): Promise<IMerchantSession>;
|
|
146
|
+
processPayment(authToken: string, payload: IApplePayPaymentProcessRequest): Promise<{
|
|
147
|
+
success: boolean;
|
|
148
|
+
data: IApplePayPaymentResponse;
|
|
149
|
+
}>;
|
|
150
|
+
}
|
|
151
|
+
export declare class ApplePayConfig implements IApplePayConfig {
|
|
152
|
+
merchantIdentifier: string;
|
|
153
|
+
displayName: string;
|
|
154
|
+
initiative: string;
|
|
155
|
+
initiativeContext: string;
|
|
156
|
+
buttonType?: ApplePayButtonType;
|
|
157
|
+
buttonStyle?: ApplePayButtonStyle;
|
|
158
|
+
buttonLocale?: string;
|
|
159
|
+
constructor(data: IApplePayConfig);
|
|
160
|
+
get isValid(): boolean;
|
|
161
|
+
}
|
|
162
|
+
export declare class ApplePayPaymentRequest implements IApplePayPaymentRequest {
|
|
163
|
+
countryCode: string;
|
|
164
|
+
currencyCode: string;
|
|
165
|
+
merchantCapabilities: ApplePayMerchantCapability[];
|
|
166
|
+
supportedNetworks: string[];
|
|
167
|
+
total: IApplePayLineItem;
|
|
168
|
+
lineItems?: IApplePayLineItem[];
|
|
169
|
+
shippingMethods?: IApplePayShippingMethod[];
|
|
170
|
+
applicationData?: string;
|
|
171
|
+
supportedCountries?: string[];
|
|
172
|
+
constructor(data: IApplePayPaymentRequest);
|
|
173
|
+
get isValid(): boolean;
|
|
174
|
+
}
|
|
175
|
+
export declare class ApplePayHelpers {
|
|
176
|
+
static isApplePaySupported(): boolean;
|
|
177
|
+
static canMakePayments(): boolean;
|
|
178
|
+
static canMakePaymentsWithActiveCard(merchantIdentifier: string): Promise<boolean>;
|
|
179
|
+
static formatAmount(amount: number): string;
|
|
180
|
+
static parseAmount(amount: string): number;
|
|
181
|
+
static createLineItem(label: string, amount: number, type?: 'final' | 'pending'): IApplePayLineItem;
|
|
182
|
+
static getDefaultSupportedNetworks(): string[];
|
|
183
|
+
static getDefaultMerchantCapabilities(): ApplePayMerchantCapability[];
|
|
184
|
+
}
|
|
185
|
+
declare global {
|
|
186
|
+
interface Window {
|
|
187
|
+
ApplePaySession?: {
|
|
188
|
+
new (version: number, paymentRequest: IApplePayPaymentRequest): IApplePaySession;
|
|
189
|
+
canMakePayments(): boolean;
|
|
190
|
+
canMakePaymentsWithActiveCard(merchantIdentifier: string): Promise<boolean>;
|
|
191
|
+
supportsVersion(version: number): boolean;
|
|
192
|
+
STATUS_SUCCESS: number;
|
|
193
|
+
STATUS_FAILURE: number;
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { IApplePayConfig, IApplePayPaymentRequest, IApplePayError, ApplePayConfig, IMerchantSession, IApplePayService, IApplePayPaymentProcessRequest, IApplePayPaymentResponse, IApplePayToken } from '../ApplePay';
|
|
2
|
+
export declare class ApplePayService implements IApplePayService {
|
|
3
|
+
private applePayConfig?;
|
|
4
|
+
private currentSession?;
|
|
5
|
+
private currentPaymentRequest?;
|
|
6
|
+
private apiBaseUrl;
|
|
7
|
+
private authToken?;
|
|
8
|
+
private accountId?;
|
|
9
|
+
/**
|
|
10
|
+
* Set custom API base URL
|
|
11
|
+
*/
|
|
12
|
+
setApiBaseUrl(url: string): void;
|
|
13
|
+
/**
|
|
14
|
+
* Set authentication token
|
|
15
|
+
*/
|
|
16
|
+
setAuthToken(authToken: string): void;
|
|
17
|
+
setAccountId(accountId: string): void;
|
|
18
|
+
/**
|
|
19
|
+
* Initialize Apple Pay configuration
|
|
20
|
+
*/
|
|
21
|
+
initialize(applePayConfig: IApplePayConfig): void;
|
|
22
|
+
/**
|
|
23
|
+
* Validate merchant with Apple Pay servers via API
|
|
24
|
+
*/
|
|
25
|
+
validateMerchant(authToken: string): Promise<IMerchantSession>;
|
|
26
|
+
/**
|
|
27
|
+
* Process Apple Pay payment via API (fixed to match original logic)
|
|
28
|
+
*/
|
|
29
|
+
processPayment(authToken: string, payload: IApplePayPaymentProcessRequest): Promise<{
|
|
30
|
+
success: boolean;
|
|
31
|
+
data: IApplePayPaymentResponse;
|
|
32
|
+
}>;
|
|
33
|
+
/**
|
|
34
|
+
* Check if Apple Pay is available on this device/browser
|
|
35
|
+
*/
|
|
36
|
+
isAvailable(): boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Check if the user has an active card for the merchant
|
|
39
|
+
*/
|
|
40
|
+
canMakePaymentsWithActiveCard(): Promise<boolean>;
|
|
41
|
+
/**
|
|
42
|
+
* Start Apple Pay session
|
|
43
|
+
*/
|
|
44
|
+
startPaymentSession(paymentRequest: IApplePayPaymentRequest): Promise<{
|
|
45
|
+
success: boolean;
|
|
46
|
+
token?: IApplePayToken;
|
|
47
|
+
paymentMethodId?: string;
|
|
48
|
+
error?: IApplePayError;
|
|
49
|
+
}>;
|
|
50
|
+
/**
|
|
51
|
+
* Abort current Apple Pay session
|
|
52
|
+
*/
|
|
53
|
+
abortPaymentSession(): void;
|
|
54
|
+
/**
|
|
55
|
+
* Setup Apple Pay session event handlers
|
|
56
|
+
*/
|
|
57
|
+
private setupSessionEventHandlers;
|
|
58
|
+
/**
|
|
59
|
+
* Create a basic payment request
|
|
60
|
+
*/
|
|
61
|
+
static createPaymentRequest(amount: number, label: string, countryCode?: string, currencyCode?: string): IApplePayPaymentRequest;
|
|
62
|
+
/**
|
|
63
|
+
* Get current configuration
|
|
64
|
+
*/
|
|
65
|
+
getApplePayConfig(): ApplePayConfig | undefined;
|
|
66
|
+
}
|
|
@@ -8,8 +8,11 @@ export declare class ModularCheckout {
|
|
|
8
8
|
private billingFormRef?;
|
|
9
9
|
private insuranceFormRef?;
|
|
10
10
|
private sezzlePaymentMethodRef?;
|
|
11
|
+
private applePayRef?;
|
|
11
12
|
private getCheckout;
|
|
12
13
|
private completeCheckout;
|
|
14
|
+
private applePayToken?;
|
|
15
|
+
private applePayPaymentMethodId?;
|
|
13
16
|
authToken: string;
|
|
14
17
|
checkoutId: string;
|
|
15
18
|
savePaymentMethod?: boolean;
|
|
@@ -25,6 +28,12 @@ export declare class ModularCheckout {
|
|
|
25
28
|
private fetchCheckout;
|
|
26
29
|
private updateStore;
|
|
27
30
|
private queryFormRefs;
|
|
31
|
+
private setupApplePayListeners;
|
|
32
|
+
private removeApplePayListeners;
|
|
33
|
+
private handleApplePayCompleted;
|
|
34
|
+
private handleApplePayError;
|
|
35
|
+
private handleApplePayCancelled;
|
|
36
|
+
private submitCheckoutWithApplePay;
|
|
28
37
|
private tokenizePaymentMethod;
|
|
29
38
|
private getPaymentMethod;
|
|
30
39
|
validate(): Promise<boolean>;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
+
import { ApplePayButtonType, ApplePayButtonStyle, IApplePayToken } from "../../../api/ApplePay";
|
|
3
|
+
export declare class ApplePay {
|
|
4
|
+
private applePayService;
|
|
5
|
+
countryCode: string;
|
|
6
|
+
merchantIdentifier: string;
|
|
7
|
+
merchantDisplayName: string;
|
|
8
|
+
initiativeContext: string;
|
|
9
|
+
apiBaseUrl: string;
|
|
10
|
+
buttonType: ApplePayButtonType;
|
|
11
|
+
buttonStyle: ApplePayButtonStyle;
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
showSkeleton: boolean;
|
|
14
|
+
isLoading: boolean;
|
|
15
|
+
isProcessing: boolean;
|
|
16
|
+
isAvailable: boolean;
|
|
17
|
+
canMakePayments: boolean;
|
|
18
|
+
error: string | null;
|
|
19
|
+
applePayStarted: EventEmitter<void>;
|
|
20
|
+
applePayCompleted: EventEmitter<{
|
|
21
|
+
success: boolean;
|
|
22
|
+
token?: IApplePayToken;
|
|
23
|
+
paymentMethodId?: string;
|
|
24
|
+
error?: any;
|
|
25
|
+
}>;
|
|
26
|
+
applePayCancelled: EventEmitter<void>;
|
|
27
|
+
applePayError: EventEmitter<{
|
|
28
|
+
error: string;
|
|
29
|
+
}>;
|
|
30
|
+
componentWillLoad(): void;
|
|
31
|
+
componentDidLoad(): void;
|
|
32
|
+
watchPropsChange(): void;
|
|
33
|
+
private initializeApplePay;
|
|
34
|
+
private handleApplePayClick;
|
|
35
|
+
isSupported(): Promise<boolean>;
|
|
36
|
+
getPaymentMethods(): Promise<string[]>;
|
|
37
|
+
abort(): Promise<void>;
|
|
38
|
+
render(): any;
|
|
39
|
+
}
|
|
@@ -14,6 +14,7 @@ import { IPaymentMethodMetadata } from "./api/PaymentMethod";
|
|
|
14
14
|
import { BillingFormFields as BillingFormFields1, FormController } from "./components";
|
|
15
15
|
import { DisputeEvidenceDocument } from "./api/DisputeEvidenceDocument";
|
|
16
16
|
import { DisputeResponseFormStep } from "./components/dispute-management/dispute-response/dispute-response-form-types";
|
|
17
|
+
import { ApplePayButtonStyle, ApplePayButtonType, IApplePayToken } from "./api/ApplePay";
|
|
17
18
|
import { BillingFormFields } from "./components/checkout/billing-form/billing-form-schema";
|
|
18
19
|
import { FormController as FormController1 } from "./ui-components/form/form";
|
|
19
20
|
import { Dispute, IDispute } from "./api/Dispute";
|
|
@@ -30,6 +31,7 @@ export { IPaymentMethodMetadata } from "./api/PaymentMethod";
|
|
|
30
31
|
export { BillingFormFields as BillingFormFields1, FormController } from "./components";
|
|
31
32
|
export { DisputeEvidenceDocument } from "./api/DisputeEvidenceDocument";
|
|
32
33
|
export { DisputeResponseFormStep } from "./components/dispute-management/dispute-response/dispute-response-form-types";
|
|
34
|
+
export { ApplePayButtonStyle, ApplePayButtonType, IApplePayToken } from "./api/ApplePay";
|
|
33
35
|
export { BillingFormFields } from "./components/checkout/billing-form/billing-form-schema";
|
|
34
36
|
export { FormController as FormController1 } from "./ui-components/form/form";
|
|
35
37
|
export { Dispute, IDispute } from "./api/Dispute";
|
|
@@ -276,6 +278,47 @@ export namespace Components {
|
|
|
276
278
|
"documentErrors": any;
|
|
277
279
|
"validateAndSubmit": (onSuccess: (formData: any, documentList: DisputeEvidenceDocument[], formStep: DisputeResponseFormStep) => void) => Promise<void>;
|
|
278
280
|
}
|
|
281
|
+
interface JustifiApplePay {
|
|
282
|
+
"abort": () => Promise<void>;
|
|
283
|
+
/**
|
|
284
|
+
* @default configState.apiOrigin
|
|
285
|
+
*/
|
|
286
|
+
"apiBaseUrl": string;
|
|
287
|
+
/**
|
|
288
|
+
* @default ApplePayButtonStyle.BLACK
|
|
289
|
+
*/
|
|
290
|
+
"buttonStyle": ApplePayButtonStyle;
|
|
291
|
+
/**
|
|
292
|
+
* @default ApplePayButtonType.PLAIN
|
|
293
|
+
*/
|
|
294
|
+
"buttonType": ApplePayButtonType;
|
|
295
|
+
/**
|
|
296
|
+
* @default "US"
|
|
297
|
+
*/
|
|
298
|
+
"countryCode": string;
|
|
299
|
+
/**
|
|
300
|
+
* @default false
|
|
301
|
+
*/
|
|
302
|
+
"disabled": boolean;
|
|
303
|
+
"getPaymentMethods": () => Promise<string[]>;
|
|
304
|
+
/**
|
|
305
|
+
* @default "dev-checkout.justifi-staging.com"
|
|
306
|
+
*/
|
|
307
|
+
"initiativeContext": string;
|
|
308
|
+
"isSupported": () => Promise<boolean>;
|
|
309
|
+
/**
|
|
310
|
+
* @default "JustiFi Checkout"
|
|
311
|
+
*/
|
|
312
|
+
"merchantDisplayName": string;
|
|
313
|
+
/**
|
|
314
|
+
* @default "merchant.com.staging-justifi.checkout-dev"
|
|
315
|
+
*/
|
|
316
|
+
"merchantIdentifier": string;
|
|
317
|
+
/**
|
|
318
|
+
* @default true
|
|
319
|
+
*/
|
|
320
|
+
"showSkeleton": boolean;
|
|
321
|
+
}
|
|
279
322
|
interface JustifiBankAccountBillingFormSimple {
|
|
280
323
|
"fill": (fields: BillingFormFields) => Promise<void>;
|
|
281
324
|
"getValues": () => Promise<BillingFormFields>;
|
|
@@ -1010,6 +1053,10 @@ export interface JustifiAdditionalQuestionsFormStepCoreCustomEvent<T> extends Cu
|
|
|
1010
1053
|
detail: T;
|
|
1011
1054
|
target: HTMLJustifiAdditionalQuestionsFormStepCoreElement;
|
|
1012
1055
|
}
|
|
1056
|
+
export interface JustifiApplePayCustomEvent<T> extends CustomEvent<T> {
|
|
1057
|
+
detail: T;
|
|
1058
|
+
target: HTMLJustifiApplePayElement;
|
|
1059
|
+
}
|
|
1013
1060
|
export interface JustifiBusinessBankAccountFormStepCustomEvent<T> extends CustomEvent<T> {
|
|
1014
1061
|
detail: T;
|
|
1015
1062
|
target: HTMLJustifiBusinessBankAccountFormStepElement;
|
|
@@ -1625,6 +1672,31 @@ declare global {
|
|
|
1625
1672
|
prototype: HTMLJustifiAdditionalStatementElement;
|
|
1626
1673
|
new (): HTMLJustifiAdditionalStatementElement;
|
|
1627
1674
|
};
|
|
1675
|
+
interface HTMLJustifiApplePayElementEventMap {
|
|
1676
|
+
"applePayStarted": void;
|
|
1677
|
+
"applePayCompleted": {
|
|
1678
|
+
success: boolean;
|
|
1679
|
+
token?: IApplePayToken;
|
|
1680
|
+
paymentMethodId?: string;
|
|
1681
|
+
error?: any;
|
|
1682
|
+
};
|
|
1683
|
+
"applePayCancelled": void;
|
|
1684
|
+
"applePayError": { error: string };
|
|
1685
|
+
}
|
|
1686
|
+
interface HTMLJustifiApplePayElement extends Components.JustifiApplePay, HTMLStencilElement {
|
|
1687
|
+
addEventListener<K extends keyof HTMLJustifiApplePayElementEventMap>(type: K, listener: (this: HTMLJustifiApplePayElement, ev: JustifiApplePayCustomEvent<HTMLJustifiApplePayElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1688
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1689
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1690
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1691
|
+
removeEventListener<K extends keyof HTMLJustifiApplePayElementEventMap>(type: K, listener: (this: HTMLJustifiApplePayElement, ev: JustifiApplePayCustomEvent<HTMLJustifiApplePayElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1692
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1693
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1694
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1695
|
+
}
|
|
1696
|
+
var HTMLJustifiApplePayElement: {
|
|
1697
|
+
prototype: HTMLJustifiApplePayElement;
|
|
1698
|
+
new (): HTMLJustifiApplePayElement;
|
|
1699
|
+
};
|
|
1628
1700
|
interface HTMLJustifiBankAccountBillingFormSimpleElement extends Components.JustifiBankAccountBillingFormSimple, HTMLStencilElement {
|
|
1629
1701
|
}
|
|
1630
1702
|
var HTMLJustifiBankAccountBillingFormSimpleElement: {
|
|
@@ -2770,6 +2842,7 @@ declare global {
|
|
|
2770
2842
|
"justifi-additional-questions-form-step": HTMLJustifiAdditionalQuestionsFormStepElement;
|
|
2771
2843
|
"justifi-additional-questions-form-step-core": HTMLJustifiAdditionalQuestionsFormStepCoreElement;
|
|
2772
2844
|
"justifi-additional-statement": HTMLJustifiAdditionalStatementElement;
|
|
2845
|
+
"justifi-apple-pay": HTMLJustifiApplePayElement;
|
|
2773
2846
|
"justifi-bank-account-billing-form-simple": HTMLJustifiBankAccountBillingFormSimpleElement;
|
|
2774
2847
|
"justifi-bank-account-form": HTMLJustifiBankAccountFormElement;
|
|
2775
2848
|
"justifi-billing-form": HTMLJustifiBillingFormElement;
|
|
@@ -3126,6 +3199,53 @@ declare namespace LocalJSX {
|
|
|
3126
3199
|
*/
|
|
3127
3200
|
"documentErrors"?: any;
|
|
3128
3201
|
}
|
|
3202
|
+
interface JustifiApplePay {
|
|
3203
|
+
/**
|
|
3204
|
+
* @default configState.apiOrigin
|
|
3205
|
+
*/
|
|
3206
|
+
"apiBaseUrl"?: string;
|
|
3207
|
+
/**
|
|
3208
|
+
* @default ApplePayButtonStyle.BLACK
|
|
3209
|
+
*/
|
|
3210
|
+
"buttonStyle"?: ApplePayButtonStyle;
|
|
3211
|
+
/**
|
|
3212
|
+
* @default ApplePayButtonType.PLAIN
|
|
3213
|
+
*/
|
|
3214
|
+
"buttonType"?: ApplePayButtonType;
|
|
3215
|
+
/**
|
|
3216
|
+
* @default "US"
|
|
3217
|
+
*/
|
|
3218
|
+
"countryCode"?: string;
|
|
3219
|
+
/**
|
|
3220
|
+
* @default false
|
|
3221
|
+
*/
|
|
3222
|
+
"disabled"?: boolean;
|
|
3223
|
+
/**
|
|
3224
|
+
* @default "dev-checkout.justifi-staging.com"
|
|
3225
|
+
*/
|
|
3226
|
+
"initiativeContext"?: string;
|
|
3227
|
+
/**
|
|
3228
|
+
* @default "JustiFi Checkout"
|
|
3229
|
+
*/
|
|
3230
|
+
"merchantDisplayName"?: string;
|
|
3231
|
+
/**
|
|
3232
|
+
* @default "merchant.com.staging-justifi.checkout-dev"
|
|
3233
|
+
*/
|
|
3234
|
+
"merchantIdentifier"?: string;
|
|
3235
|
+
"onApplePayCancelled"?: (event: JustifiApplePayCustomEvent<void>) => void;
|
|
3236
|
+
"onApplePayCompleted"?: (event: JustifiApplePayCustomEvent<{
|
|
3237
|
+
success: boolean;
|
|
3238
|
+
token?: IApplePayToken;
|
|
3239
|
+
paymentMethodId?: string;
|
|
3240
|
+
error?: any;
|
|
3241
|
+
}>) => void;
|
|
3242
|
+
"onApplePayError"?: (event: JustifiApplePayCustomEvent<{ error: string }>) => void;
|
|
3243
|
+
"onApplePayStarted"?: (event: JustifiApplePayCustomEvent<void>) => void;
|
|
3244
|
+
/**
|
|
3245
|
+
* @default true
|
|
3246
|
+
*/
|
|
3247
|
+
"showSkeleton"?: boolean;
|
|
3248
|
+
}
|
|
3129
3249
|
interface JustifiBankAccountBillingFormSimple {
|
|
3130
3250
|
"legend"?: string;
|
|
3131
3251
|
}
|
|
@@ -3852,6 +3972,7 @@ declare namespace LocalJSX {
|
|
|
3852
3972
|
"justifi-additional-questions-form-step": JustifiAdditionalQuestionsFormStep;
|
|
3853
3973
|
"justifi-additional-questions-form-step-core": JustifiAdditionalQuestionsFormStepCore;
|
|
3854
3974
|
"justifi-additional-statement": JustifiAdditionalStatement;
|
|
3975
|
+
"justifi-apple-pay": JustifiApplePay;
|
|
3855
3976
|
"justifi-bank-account-billing-form-simple": JustifiBankAccountBillingFormSimple;
|
|
3856
3977
|
"justifi-bank-account-form": JustifiBankAccountForm;
|
|
3857
3978
|
"justifi-billing-form": JustifiBillingForm;
|
|
@@ -3978,6 +4099,7 @@ declare module "@stencil/core" {
|
|
|
3978
4099
|
"justifi-additional-questions-form-step": LocalJSX.JustifiAdditionalQuestionsFormStep & JSXBase.HTMLAttributes<HTMLJustifiAdditionalQuestionsFormStepElement>;
|
|
3979
4100
|
"justifi-additional-questions-form-step-core": LocalJSX.JustifiAdditionalQuestionsFormStepCore & JSXBase.HTMLAttributes<HTMLJustifiAdditionalQuestionsFormStepCoreElement>;
|
|
3980
4101
|
"justifi-additional-statement": LocalJSX.JustifiAdditionalStatement & JSXBase.HTMLAttributes<HTMLJustifiAdditionalStatementElement>;
|
|
4102
|
+
"justifi-apple-pay": LocalJSX.JustifiApplePay & JSXBase.HTMLAttributes<HTMLJustifiApplePayElement>;
|
|
3981
4103
|
"justifi-bank-account-billing-form-simple": LocalJSX.JustifiBankAccountBillingFormSimple & JSXBase.HTMLAttributes<HTMLJustifiBankAccountBillingFormSimpleElement>;
|
|
3982
4104
|
"justifi-bank-account-form": LocalJSX.JustifiBankAccountForm & JSXBase.HTMLAttributes<HTMLJustifiBankAccountFormElement>;
|
|
3983
4105
|
"justifi-billing-form": LocalJSX.JustifiBillingForm & JSXBase.HTMLAttributes<HTMLJustifiBillingFormElement>;
|
|
@@ -15,6 +15,7 @@ interface IInitialState {
|
|
|
15
15
|
disableCreditCard: boolean;
|
|
16
16
|
disablePaymentMethodGroup: boolean;
|
|
17
17
|
paymentAmount: number;
|
|
18
|
+
paymentCurrency: string;
|
|
18
19
|
paymentDescription: string;
|
|
19
20
|
paymentMethodGroupId: string | undefined;
|
|
20
21
|
paymentMethods: ICheckoutPaymentMethod[];
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FunctionalComponent } from "../stencil-public-runtime";
|
|
2
|
+
import { ApplePayButtonType, ApplePayButtonStyle } from "../api/ApplePay";
|
|
3
|
+
interface ApplePayButtonProps {
|
|
4
|
+
buttonType?: ApplePayButtonType;
|
|
5
|
+
buttonStyle?: ApplePayButtonStyle;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
isProcessing?: boolean;
|
|
8
|
+
isAvailable?: boolean;
|
|
9
|
+
width?: string;
|
|
10
|
+
height?: string;
|
|
11
|
+
clickHandler?: () => void;
|
|
12
|
+
}
|
|
13
|
+
type ApplePayButtonElementProps = ApplePayButtonProps & {
|
|
14
|
+
[key: string]: any;
|
|
15
|
+
};
|
|
16
|
+
export declare const ApplePayButton: FunctionalComponent<ApplePayButtonElementProps>;
|
|
17
|
+
export {};
|