@justifi/webcomponents 6.2.0-rc.1 → 6.2.0-rc.3
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-CjtvTD2_.js → Api-BeSnjEuW.js} +1 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
- package/dist/cjs/{badge-CE3ss_OU.js → badge-_nY1l5Rq.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_6.cjs.entry.js +7 -7
- package/dist/cjs/bank-account-form.cjs.entry.js +4 -4
- package/dist/cjs/{business-additional-questions-schema-CetDMUp7.js → business-additional-questions-schema-BzHg6qqg.js} +1 -1
- package/dist/cjs/business-details-core.cjs.entry.js +4 -4
- package/dist/cjs/{business-identity-schema-Cd0tvfJr.js → business-identity-schema-Di-jf6nr.js} +4 -3
- package/dist/cjs/{business.service-DRZurAMP.js → business.service-DIlSj5KT.js} +1 -1
- package/dist/cjs/{button-gPNZ9XRn.js → button-CARQPDm-.js} +1 -1
- package/dist/cjs/card-form.cjs.entry.js +4 -4
- package/dist/cjs/{check-pkg-version-W_AFeiO6.js → check-pkg-version-NXr7H2Sp.js} +2 -2
- package/dist/cjs/{checkout.service-vZbSE3A3.js → checkout.service-Ce0F8cOf.js} +1 -1
- package/dist/cjs/{checkout.store-Bswr7kNY.js → checkout.store-BiT7zKgX.js} +19 -1
- package/dist/cjs/checkouts-list-core.cjs.entry.js +8 -8
- package/dist/cjs/{payments-list-params-state-BYpq-c6X.js → checkouts-list-params-state-DfZySwaC.js} +1 -1
- package/dist/cjs/{checkouts-table-C5AHeIr0.js → checkouts-table-2fOlhkc4.js} +2 -2
- package/dist/cjs/{config-state-C7babhLh.js → config-state-CYoBVAca.js} +1 -1
- package/dist/cjs/custom-popper.cjs.entry.js +3 -3
- package/dist/cjs/{dispute.service-DV9a61Tu.js → dispute.service-DuYeSUgK.js} +1 -1
- package/dist/cjs/form-alert_5.cjs.entry.js +1 -1
- package/dist/cjs/form-control-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/form-control-date.cjs.entry.js +4 -4
- package/dist/cjs/{form-control-error-text-BnMWn8U_.js → form-control-error-text-mhOq2Edp.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
- package/dist/cjs/{form-control-help-text-DEi5vSjN.js → form-control-help-text-BoRpAoX6.js} +1 -1
- package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +3 -3
- package/dist/cjs/form-control-monetary.cjs.entry.js +5 -5
- package/dist/cjs/form-control-number-masked_3.cjs.entry.js +4 -4
- package/dist/cjs/form-control-number.cjs.entry.js +5 -5
- package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
- package/dist/cjs/form-control-select_3.cjs.entry.js +4 -4
- package/dist/cjs/{get-payment-details-AYzxPu-X.js → get-payment-details-vVIxYblm.js} +1 -1
- package/dist/cjs/{get-subaccounts-C_KD197w.js → get-subaccounts-yo2pT61R.js} +2 -2
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +4 -4
- package/dist/cjs/{header-1-D3r87SC6.js → header-1-CBO8uDuZ.js} +1 -1
- package/dist/cjs/{header-3-BFQJJgBb.js → header-3-CPWtI1t0.js} +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +8 -8
- package/dist/cjs/{index-Bhtk1qkX.js → index-BhI7cJcE.js} +37 -2
- package/dist/cjs/{index-CWM5ions.js → index-mmd0OhmD.js} +1 -1
- package/dist/cjs/{insurance-state-JbqYvJN3.js → insurance-state-BMHITXoD.js} +2 -2
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +8 -8
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +6 -6
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +9 -9
- package/dist/cjs/justifi-apple-pay_8.cjs.entry.js +31 -94
- package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +17 -17
- package/dist/cjs/justifi-business-details.cjs.entry.js +8 -8
- package/dist/cjs/justifi-business-form.cjs.entry.js +14 -14
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +5 -5
- package/dist/cjs/justifi-checkout.cjs.entry.js +8 -8
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +5 -5
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +11 -11
- 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 +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +7 -7
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +29 -14
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +7 -7
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +11 -11
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payment-details.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +11 -11
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payments-list.cjs.entry.js +12 -12
- package/dist/cjs/justifi-payout-details.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +11 -11
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +13 -13
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +11 -11
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +10 -10
- package/dist/cjs/justifi-skeleton.cjs.entry.js +4 -4
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +7 -7
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +6 -6
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +12 -12
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{package-BADgkv50.js → package-DPdtuJhk.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +16 -16
- package/dist/cjs/payment-method-option.cjs.entry.js +3 -3
- package/dist/cjs/{payment.service-1t60I69m.js → payment.service-DLvoJ2K6.js} +1 -1
- package/dist/cjs/payments-list-core.cjs.entry.js +10 -10
- package/dist/cjs/{payouts-list-params-state-BYpq-c6X.js → payments-list-params-state-DfZySwaC.js} +1 -1
- package/dist/cjs/{payments-status-CnNXcRLO.js → payments-status-t4fVj8f9.js} +2 -2
- package/dist/cjs/{payments-table-BGuCOPTJ.js → payments-table-C6SCvqLD.js} +2 -2
- package/dist/cjs/payout-details-core.cjs.entry.js +10 -10
- package/dist/cjs/{payout.service-CQEXfufW.js → payout.service-CrBp8aru.js} +1 -1
- package/dist/cjs/payouts-list-core.cjs.entry.js +10 -10
- package/dist/cjs/{terminal-orders-list-params-state-BYpq-c6X.js → payouts-list-params-state-DfZySwaC.js} +1 -1
- package/dist/cjs/{payouts-status-2na6MMgV.js → payouts-status-pIO9qZG6.js} +2 -2
- package/dist/cjs/{payouts-table-DXekpbYc.js → payouts-table-CEnUtKNR.js} +2 -2
- package/dist/cjs/{schema-validations-0mjPveQ0.js → schema-validations-AxtufX7q.js} +5 -0
- package/dist/cjs/{skeleton-BvdAh448.js → skeleton-BF3HGL9X.js} +1 -1
- package/dist/cjs/{spinner-Rt52JMa2.js → spinner-BBdv3Iq1.js} +1 -1
- package/dist/cjs/{styled-host-BSooSIhA.js → styled-host-D5g7INLE.js} +1 -1
- package/dist/cjs/{table-Ccg4k90C.js → table-CfBpaApw.js} +2 -2
- package/dist/cjs/table-filters-menu.cjs.entry.js +2 -2
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +9 -9
- package/dist/cjs/{checkouts-list-params-state-BYpq-c6X.js → terminal-orders-list-params-state-DfZySwaC.js} +1 -1
- package/dist/cjs/{terminal-orders-table-B4ZXHj3w.js → terminal-orders-table-8PxObvu8.js} +3 -3
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
- package/dist/cjs/{terminal.service-BlW-CJ67.js → terminal.service-D0fIw59V.js} +1 -1
- package/dist/cjs/terminals-list-core.cjs.entry.js +9 -9
- package/dist/cjs/terminals-list-params-state-DfZySwaC.js +22 -0
- package/dist/cjs/{terminals-table-ByYs-pH7.js → terminals-table-EeeLeuDN.js} +2 -2
- package/dist/cjs/{utils-CUcA4G_O.js → utils-Cjq3ZCad.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +3 -3
- package/dist/collection/api/services/apple-pay.service.js +3 -43
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +4 -4
- package/dist/collection/components/business-forms/schemas/business-identity-schema.js +3 -2
- package/dist/collection/components/business-forms/schemas/schema-validations.js +5 -0
- package/dist/collection/components/dispute-management/dispute-notification.js +17 -2
- 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/gross-payment-chart/gross-payment-chart-core.js +1 -1
- package/dist/collection/components/modular-checkout/modular-checkout.js +41 -2
- package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +0 -34
- 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 +1 -1
- package/dist/collection/store/checkout.store.js +17 -0
- package/dist/collection/ui-components/custom-popper/custom-popper.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 +45 -2
- package/dist/esm/{Api-K9QH1Aki.js → Api-DX-IWyBw.js} +1 -1
- package/dist/esm/additional-questions-details_5.entry.js +2 -2
- package/dist/esm/{badge-B8fF98jp.js → badge-BkjjtNUQ.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_6.entry.js +7 -7
- package/dist/esm/bank-account-form.entry.js +4 -4
- package/dist/esm/{business-additional-questions-schema-DSvdNuI1.js → business-additional-questions-schema-BCXg6YTP.js} +1 -1
- package/dist/esm/business-details-core.entry.js +4 -4
- package/dist/esm/{business-identity-schema-mN4VhA1v.js → business-identity-schema-CvzdGI9h.js} +4 -3
- package/dist/esm/{business.service-BJcGEUDH.js → business.service-CaEVmi4X.js} +1 -1
- package/dist/esm/{button-DZoLTGMB.js → button-DHljyr0K.js} +1 -1
- package/dist/esm/card-form.entry.js +4 -4
- package/dist/esm/{check-pkg-version-CG8qzhGl.js → check-pkg-version-BifOuhlz.js} +2 -2
- package/dist/esm/{checkout.service-aymuZDC9.js → checkout.service-BpaVN1_f.js} +1 -1
- package/dist/esm/{checkout.store-4nUf2OuT.js → checkout.store-CMsV0tl9.js} +19 -2
- package/dist/esm/checkouts-list-core.entry.js +8 -8
- package/dist/esm/{checkouts-list-params-state-C_fug9R3.js → checkouts-list-params-state-gllzDQAb.js} +1 -1
- package/dist/esm/{checkouts-table-B8k-Aylm.js → checkouts-table-Dn1sFyZs.js} +2 -2
- package/dist/esm/{config-state-DiHV-4QK.js → config-state-C2NXATwF.js} +1 -1
- package/dist/esm/custom-popper.entry.js +3 -3
- package/dist/esm/{dispute.service-DiPbsswm.js → dispute.service-Dq1SPI2m.js} +1 -1
- package/dist/esm/form-alert_5.entry.js +1 -1
- package/dist/esm/form-control-checkbox.entry.js +3 -3
- package/dist/esm/form-control-date.entry.js +4 -4
- package/dist/esm/{form-control-error-text-BmD6bGbR.js → form-control-error-text-Cje0veu2.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +5 -5
- package/dist/esm/{form-control-help-text-DbIhIcc6.js → form-control-help-text-ClJnecm3.js} +1 -1
- package/dist/esm/form-control-help-text.entry.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_3.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_3.entry.js +4 -4
- package/dist/esm/{get-payment-details-DcC5v85s.js → get-payment-details-C2YiQBG7.js} +1 -1
- package/dist/esm/{get-subaccounts-CMJMDwSP.js → get-subaccounts-Cjz3-2D3.js} +2 -2
- package/dist/esm/gross-payment-chart-core.entry.js +4 -4
- package/dist/esm/{header-1-umkpdspt.js → header-1-uiFiNrVs.js} +1 -1
- package/dist/esm/{header-3-CD5K5vCa.js → header-3-BVYYTpLc.js} +1 -1
- package/dist/esm/hidden-input_2.entry.js +8 -8
- package/dist/esm/{index-DJ9G-4S-.js → index-B-fWxE5e.js} +1 -1
- package/dist/esm/{index-DOjVAAtq.js → index-DwYM91AU.js} +37 -2
- package/dist/esm/{insurance-state-sR5DrCdu.js → insurance-state-iJs0LRg_.js} +2 -2
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +8 -8
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +6 -6
- package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
- package/dist/esm/justifi-apple-pay_8.entry.js +31 -94
- package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +17 -17
- package/dist/esm/justifi-business-details.entry.js +8 -8
- package/dist/esm/justifi-business-form.entry.js +14 -14
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +5 -5
- package/dist/esm/justifi-checkout.entry.js +8 -8
- package/dist/esm/justifi-checkouts-list-filters.entry.js +5 -5
- package/dist/esm/justifi-checkouts-list.entry.js +11 -11
- package/dist/esm/justifi-config-provider.entry.js +3 -3
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
- package/dist/esm/justifi-dispute-management.entry.js +7 -7
- package/dist/esm/justifi-dispute-notification_3.entry.js +29 -14
- package/dist/esm/justifi-gross-payment-chart.entry.js +7 -7
- package/dist/esm/justifi-order-terminals.entry.js +11 -11
- package/dist/esm/justifi-owner-form_3.entry.js +8 -8
- package/dist/esm/justifi-payment-details.entry.js +9 -9
- package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
- package/dist/esm/justifi-payment-provisioning.entry.js +7 -7
- package/dist/esm/justifi-payment-transactions-list.entry.js +11 -11
- package/dist/esm/justifi-payments-list-filters.entry.js +6 -6
- package/dist/esm/justifi-payments-list.entry.js +12 -12
- package/dist/esm/justifi-payout-details.entry.js +8 -8
- package/dist/esm/justifi-payout-transactions-list.entry.js +11 -11
- package/dist/esm/justifi-payouts-list-filters.entry.js +6 -6
- package/dist/esm/justifi-payouts-list.entry.js +13 -13
- package/dist/esm/justifi-refund-payment.entry.js +11 -11
- package/dist/esm/justifi-saved-payment-method.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +10 -10
- package/dist/esm/justifi-skeleton.entry.js +4 -4
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +7 -7
- package/dist/esm/justifi-terminal-orders-list.entry.js +10 -10
- package/dist/esm/justifi-terminals-list-filters.entry.js +6 -6
- package/dist/esm/justifi-terminals-list.entry.js +12 -12
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{package-yiqa5abX.js → package-CuLmJjEz.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/payment-details-core.entry.js +16 -16
- package/dist/esm/payment-method-option.entry.js +3 -3
- package/dist/esm/{payment.service-C0xnydJ8.js → payment.service-4wGt-zDW.js} +1 -1
- package/dist/esm/payments-list-core.entry.js +10 -10
- package/dist/esm/{payments-list-params-state-C_fug9R3.js → payments-list-params-state-gllzDQAb.js} +1 -1
- package/dist/esm/{payments-status-CzazNnFv.js → payments-status-DK2me5T2.js} +2 -2
- package/dist/esm/{payments-table-BPKxBAJ0.js → payments-table-DxRdl7-E.js} +2 -2
- package/dist/esm/payout-details-core.entry.js +10 -10
- package/dist/esm/{payout.service-Cl4yxnrx.js → payout.service-BYigYrQu.js} +1 -1
- package/dist/esm/payouts-list-core.entry.js +10 -10
- package/dist/esm/{payouts-list-params-state-C_fug9R3.js → payouts-list-params-state-gllzDQAb.js} +1 -1
- package/dist/esm/{payouts-status-rKlX41bK.js → payouts-status-BfEM6F8q.js} +2 -2
- package/dist/esm/{payouts-table-C6ZDcd_-.js → payouts-table-C2binjIW.js} +2 -2
- package/dist/esm/{schema-validations-BFoU1cR8.js → schema-validations-CoIE0a4H.js} +5 -0
- package/dist/esm/{skeleton-BEoPu3My.js → skeleton-DdynMBnt.js} +1 -1
- package/dist/esm/{spinner-Ac-w5zWg.js → spinner-BRMSkfVc.js} +1 -1
- package/dist/esm/{styled-host-OalOsPBp.js → styled-host-DhOcKWqZ.js} +1 -1
- package/dist/esm/{table-BCwizIf9.js → table-DYlsfkCm.js} +2 -2
- package/dist/esm/table-filters-menu.entry.js +2 -2
- package/dist/esm/terminal-orders-list-core.entry.js +9 -9
- package/dist/esm/{terminal-orders-list-params-state-C_fug9R3.js → terminal-orders-list-params-state-gllzDQAb.js} +1 -1
- package/dist/esm/{terminal-orders-table-BBQsoUh8.js → terminal-orders-table-zf0ASRCr.js} +3 -3
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/{terminal.service-mwaS-Mbj.js → terminal.service-RAu777Qf.js} +1 -1
- package/dist/esm/terminals-list-core.entry.js +9 -9
- package/dist/esm/terminals-list-params-state-gllzDQAb.js +16 -0
- package/dist/esm/{terminals-table-ByiFdTfy.js → terminals-table-DNUTk3gi.js} +2 -2
- package/dist/esm/{utils-KBIYAa0D.js → utils-DUz-H1tG.js} +1 -1
- package/dist/esm/webcomponents.js +4 -4
- package/dist/module/additional-statement.js +1 -1
- package/dist/module/apple-pay.js +3 -77
- package/dist/module/bank-account.js +2 -2
- package/dist/module/business-identity-schema.js +3 -2
- package/dist/module/business-representative-form-inputs.js +4 -4
- package/dist/module/cancellation-policy.js +1 -1
- package/dist/module/card-form2.js +2 -2
- package/dist/module/checkout.store.js +18 -1
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +1 -1
- package/dist/module/dispute-notification.js +17 -2
- package/dist/module/dispute-response-core.js +1 -1
- package/dist/module/dispute-response.js +1 -1
- package/dist/module/duplicate-charge.js +1 -1
- package/dist/module/electronic-evidence.js +1 -1
- package/dist/module/form-control-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/gross-payment-chart-core2.js +1 -1
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/justifi-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 +14 -2
- 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/plaid-payment-method.js +1 -1
- package/dist/module/product-or-service.js +1 -1
- package/dist/module/refund-policy.js +1 -1
- package/dist/module/schema-validations.js +5 -0
- package/dist/module/shipping-details.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 +1 -1
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +2 -0
- package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +4 -0
- package/dist/types/components/dispute-management/dispute-notification.d.ts +1 -0
- package/dist/types/components/modular-checkout/ModularCheckout.d.ts +2 -0
- package/dist/types/components/modular-checkout/modular-checkout.d.ts +3 -1
- package/dist/types/components.d.ts +6 -2
- package/dist/types/stencil-public-runtime.d.ts +1 -1
- package/dist/types/store/checkout.store.d.ts +16 -0
- package/dist/webcomponents/{p-0926c397.entry.js → p-03474a21.entry.js} +1 -1
- package/dist/webcomponents/{p-580f3bb6.entry.js → p-0348a46b.entry.js} +1 -1
- package/dist/webcomponents/{p-fcb185fd.entry.js → p-0d7650e4.entry.js} +1 -1
- package/dist/webcomponents/{p-89052ce0.entry.js → p-0d928de1.entry.js} +1 -1
- package/dist/webcomponents/{p-620ec409.entry.js → p-123ad398.entry.js} +1 -1
- package/dist/webcomponents/p-1414e80b.entry.js +1 -0
- package/dist/webcomponents/{p-cca865be.entry.js → p-198a6ae3.entry.js} +1 -1
- package/dist/webcomponents/{p-09aaaf03.entry.js → p-1fa1e280.entry.js} +1 -1
- package/dist/webcomponents/{p-a4846316.entry.js → p-20af8597.entry.js} +1 -1
- package/dist/webcomponents/p-238859ef.entry.js +1 -0
- package/dist/webcomponents/p-256a95eb.entry.js +1 -0
- package/dist/webcomponents/p-27acf7cc.entry.js +1 -0
- package/dist/webcomponents/{p-8896ab68.entry.js → p-28c28c0b.entry.js} +1 -1
- package/dist/webcomponents/p-36259848.entry.js +1 -0
- package/dist/webcomponents/{p-2ebc8539.entry.js → p-38352272.entry.js} +1 -1
- package/dist/webcomponents/{p-3b43f8c0.entry.js → p-3c313469.entry.js} +1 -1
- package/dist/webcomponents/{p-221ec54e.entry.js → p-46d7ca2f.entry.js} +3 -3
- package/dist/webcomponents/{p-10537b60.entry.js → p-4c3f1bea.entry.js} +1 -1
- package/dist/webcomponents/p-4e90834e.entry.js +1 -0
- package/dist/webcomponents/p-52cb10a7.entry.js +1 -0
- package/dist/webcomponents/{p-a2344efb.entry.js → p-56d9a8f1.entry.js} +1 -1
- package/dist/webcomponents/p-590290a2.entry.js +1 -0
- package/dist/webcomponents/p-5a3f2d71.entry.js +1 -0
- package/dist/webcomponents/p-6023553c.entry.js +1 -0
- package/dist/webcomponents/{p-4e57359c.entry.js → p-605e0aa1.entry.js} +1 -1
- package/dist/webcomponents/{p-cfd3035e.entry.js → p-62cdb2b1.entry.js} +1 -1
- package/dist/webcomponents/{p-cd108cae.entry.js → p-6612f9fb.entry.js} +1 -1
- package/dist/webcomponents/p-6b563428.entry.js +1 -0
- package/dist/webcomponents/{p-54cea29e.entry.js → p-6c2b5d37.entry.js} +1 -1
- package/dist/webcomponents/p-730eaf8b.entry.js +1 -0
- package/dist/webcomponents/{p-b72794e3.entry.js → p-75f81cbf.entry.js} +1 -1
- package/dist/webcomponents/p-78f5b1e5.entry.js +1 -0
- package/dist/webcomponents/p-79cb28bd.entry.js +1 -0
- package/dist/webcomponents/p-7c78bb5e.entry.js +1 -0
- package/dist/webcomponents/p-7e46060a.entry.js +1 -0
- package/dist/webcomponents/p-83cd698c.entry.js +1 -0
- package/dist/webcomponents/{p-4d6e0ebe.entry.js → p-855eefb0.entry.js} +1 -1
- package/dist/webcomponents/p-8993c961.entry.js +1 -0
- package/dist/webcomponents/{p-9ce44689.entry.js → p-89fdee6e.entry.js} +1 -1
- package/dist/webcomponents/p-9633fbb8.entry.js +1 -0
- package/dist/webcomponents/{p-af31dc6d.entry.js → p-97250c61.entry.js} +1 -1
- package/dist/webcomponents/{p-ef8ac9f4.entry.js → p-9a459083.entry.js} +1 -1
- package/dist/webcomponents/p-9ae2b437.entry.js +1 -0
- package/dist/webcomponents/{p-66833631.entry.js → p-9db64da8.entry.js} +1 -1
- package/dist/webcomponents/{p-UUJudj_5.js → p-B-7rLJIB.js} +1 -1
- package/dist/webcomponents/{p-BdmYH_IK.js → p-BB3MQDQq.js} +1 -1
- package/dist/webcomponents/p-BHe87s0Y.js +1 -0
- package/dist/webcomponents/{p-B9MN_vv4.js → p-BItPr6Gj.js} +1 -1
- package/dist/webcomponents/p-BOqOio4U.js +1 -0
- package/dist/webcomponents/{p-BhCH9S0e.js → p-BP2sTIQV.js} +1 -1
- package/dist/webcomponents/p-BUsqF4-J.js +1 -0
- package/dist/webcomponents/{p-BkaPXFTl.js → p-BVWZSqCK.js} +1 -1
- package/dist/webcomponents/{p-DdMxswn1.js → p-BYsgavgS.js} +1 -1
- package/dist/webcomponents/{p-C6g4MbnB.js → p-BfYkosa4.js} +1 -1
- package/dist/webcomponents/{p-Dy3-IlQ3.js → p-C2gAiiwJ.js} +1 -1
- package/dist/webcomponents/p-C7m-gAAM.js +1 -0
- package/dist/webcomponents/{p-ty1sI-fI.js → p-C8yN3uBj.js} +1 -1
- package/dist/webcomponents/{p-BYrSeoci.js → p-C9Ho60F2.js} +1 -1
- package/dist/webcomponents/{p-DqPvh0aN.js → p-C9_8N76_.js} +1 -1
- package/dist/webcomponents/p-CO8ZJ0jB.js +1 -0
- package/dist/webcomponents/{p-DfsX5bt_.js → p-CXxdHjVv.js} +1 -1
- package/dist/webcomponents/p-CbBTgsKC.js +1 -0
- package/dist/webcomponents/p-CgbXzEbz.js +1 -0
- package/dist/webcomponents/p-Cpp4qrH2.js +1 -0
- package/dist/webcomponents/{p-CTAOJGVx.js → p-CriWtqRc.js} +1 -1
- package/dist/webcomponents/{p-Bm8T-MOQ.js → p-Cu1FEdFr.js} +1 -1
- package/dist/webcomponents/p-CuLmJjEz.js +1 -0
- package/dist/webcomponents/{p-i--LPP1s.js → p-CxPieTnF.js} +1 -1
- package/dist/webcomponents/p-D0YDz3L6.js +1 -0
- package/dist/webcomponents/{p-DSCBoCn-.js → p-D2DVDmwd.js} +1 -1
- package/dist/webcomponents/{p-F6TcNeK4.js → p-D8HCCl2t.js} +1 -1
- package/dist/webcomponents/p-DKGn-ILd.js +1 -0
- package/dist/webcomponents/p-DdJYXOQX.js +1 -0
- package/dist/webcomponents/{p-CJ9qo7_g.js → p-DkOvNRJs.js} +1 -1
- package/dist/webcomponents/p-Do561C8g.js +1 -0
- package/dist/webcomponents/{p-BRbqaU66.js → p-DsR5Dt9w.js} +1 -1
- package/dist/webcomponents/{p-DxnXyWPn.js → p-DwLZbA7D.js} +1 -1
- package/dist/webcomponents/p-DwYM91AU.js +2 -0
- package/dist/webcomponents/{p-D9Yus-je.js → p-JvWiY69B.js} +1 -1
- package/dist/webcomponents/p-Uqevvbqm.js +1 -0
- package/dist/webcomponents/{p-BIcS6lTe.js → p-VhOlg78I.js} +1 -1
- package/dist/webcomponents/{p-CQQ0H4Pb.js → p-ZrJKEEoy.js} +1 -1
- package/dist/webcomponents/{p-91b09245.entry.js → p-a49ca7d8.entry.js} +1 -1
- package/dist/webcomponents/{p-c4d919be.entry.js → p-a95dfc01.entry.js} +1 -1
- package/dist/webcomponents/{p-f72f67ef.entry.js → p-ab739e07.entry.js} +1 -1
- package/dist/webcomponents/{p-be0cbdf9.entry.js → p-ac1a4470.entry.js} +1 -1
- package/dist/webcomponents/{p-8a156528.entry.js → p-af48a6bb.entry.js} +1 -1
- package/dist/webcomponents/{p-164fe6d3.entry.js → p-b15f80c2.entry.js} +1 -1
- package/dist/webcomponents/{p-24621c40.entry.js → p-bc5d225e.entry.js} +1 -1
- package/dist/webcomponents/{p-81099469.entry.js → p-c67d86b1.entry.js} +1 -1
- package/dist/webcomponents/p-cbe349bf.entry.js +1 -0
- package/dist/webcomponents/p-cd5bf3c1.entry.js +1 -0
- package/dist/webcomponents/p-cdf94860.entry.js +1 -0
- package/dist/webcomponents/{p-5fcfedb2.entry.js → p-d160381c.entry.js} +1 -1
- package/dist/webcomponents/{p-72f5e234.entry.js → p-d812d34f.entry.js} +1 -1
- package/dist/webcomponents/p-d8fc3996.entry.js +1 -0
- package/dist/webcomponents/{p-5de4d9e4.entry.js → p-de09adac.entry.js} +1 -1
- package/dist/webcomponents/{p-c8e94ab9.entry.js → p-e06327aa.entry.js} +1 -1
- package/dist/webcomponents/{p-6190fbb7.entry.js → p-e3c111d5.entry.js} +1 -1
- package/dist/webcomponents/{p-82723f07.entry.js → p-ea6bda92.entry.js} +1 -1
- package/dist/webcomponents/p-edd335bb.entry.js +1 -0
- package/dist/webcomponents/{p-d8c2cea4.entry.js → p-ef89c7df.entry.js} +1 -1
- package/dist/webcomponents/{p-2f40f708.entry.js → p-f37f3e94.entry.js} +1 -1
- package/dist/webcomponents/p-f535328c.entry.js +1 -0
- package/dist/webcomponents/{p-890S0Nwr.js → p-fDGfMEwy.js} +1 -1
- package/dist/webcomponents/{p-c9bed02a.entry.js → p-ff411ffd.entry.js} +1 -1
- package/dist/webcomponents/{p-IYf7zn5J.js → p-q6C7btl0.js} +1 -1
- package/dist/webcomponents/{p-a6tcNl_T.js → p-tGDdRx0W.js} +1 -1
- package/dist/webcomponents/p-wYnnDDuR.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/terminals-list-params-state-BYpq-c6X.js +0 -22
- package/dist/esm/terminals-list-params-state-C_fug9R3.js +0 -16
- package/dist/webcomponents/p-0b36f1a8.entry.js +0 -1
- package/dist/webcomponents/p-0fgTPVV0.js +0 -1
- package/dist/webcomponents/p-1c362f36.entry.js +0 -1
- package/dist/webcomponents/p-30848456.entry.js +0 -1
- package/dist/webcomponents/p-4a0f34de.entry.js +0 -1
- package/dist/webcomponents/p-4d243123.entry.js +0 -1
- package/dist/webcomponents/p-5277f2a6.entry.js +0 -1
- package/dist/webcomponents/p-65090485.entry.js +0 -1
- package/dist/webcomponents/p-68aeb5bd.entry.js +0 -1
- package/dist/webcomponents/p-6d61092c.entry.js +0 -1
- package/dist/webcomponents/p-7498759d.entry.js +0 -1
- package/dist/webcomponents/p-760e739c.entry.js +0 -1
- package/dist/webcomponents/p-86372164.entry.js +0 -1
- package/dist/webcomponents/p-8a68be8f.entry.js +0 -1
- package/dist/webcomponents/p-BT473_5I.js +0 -1
- package/dist/webcomponents/p-BXMAoCNA.js +0 -1
- package/dist/webcomponents/p-BwBb2Opu.js +0 -1
- package/dist/webcomponents/p-C2JJBtMc.js +0 -1
- package/dist/webcomponents/p-CVtpEQBE.js +0 -1
- package/dist/webcomponents/p-DGsXKF67.js +0 -1
- package/dist/webcomponents/p-DIdnZUSh.js +0 -1
- package/dist/webcomponents/p-DOjVAAtq.js +0 -2
- package/dist/webcomponents/p-Dieke6TH.js +0 -1
- package/dist/webcomponents/p-DxVCqvBt.js +0 -1
- package/dist/webcomponents/p-Dyk0thEr.js +0 -1
- package/dist/webcomponents/p-DzWLLt4t.js +0 -1
- package/dist/webcomponents/p-NwmOm8Pg.js +0 -1
- package/dist/webcomponents/p-a42ec25b.entry.js +0 -1
- package/dist/webcomponents/p-a81f9fc3.entry.js +0 -1
- package/dist/webcomponents/p-aa51c9e6.entry.js +0 -1
- package/dist/webcomponents/p-b4b5dd24.entry.js +0 -1
- package/dist/webcomponents/p-b4bb6fa6.entry.js +0 -1
- package/dist/webcomponents/p-c796f813.entry.js +0 -1
- package/dist/webcomponents/p-c8656d20.entry.js +0 -1
- package/dist/webcomponents/p-d7558874.entry.js +0 -1
- package/dist/webcomponents/p-e2ab3f61.entry.js +0 -1
- package/dist/webcomponents/p-e4e6f3b8.entry.js +0 -1
- package/dist/webcomponents/p-e60e7f6a.entry.js +0 -1
- package/dist/webcomponents/p-f4a1d3da.entry.js +0 -1
- package/dist/webcomponents/p-fdf5a349.entry.js +0 -1
- package/dist/webcomponents/p-lKnUT24T.js +0 -1
- package/dist/webcomponents/p-yiqa5abX.js +0 -1
|
@@ -35,7 +35,8 @@ export class ApplePayService {
|
|
|
35
35
|
'Sub-Account': accountId,
|
|
36
36
|
},
|
|
37
37
|
body: {
|
|
38
|
-
domain: window.location.host
|
|
38
|
+
domain: window.location.host,
|
|
39
|
+
display_name: this.applePayConfig.displayName
|
|
39
40
|
}
|
|
40
41
|
});
|
|
41
42
|
return response;
|
|
@@ -82,22 +83,15 @@ export class ApplePayService {
|
|
|
82
83
|
* Start Apple Pay session
|
|
83
84
|
*/
|
|
84
85
|
async startPaymentSession(paymentRequest, authToken, accountId) {
|
|
85
|
-
// Begin
|
|
86
|
-
console.groupCollapsed('[ApplePayService] startPaymentSession called');
|
|
87
|
-
console.log('[ApplePayService] raw paymentRequest:', JSON.stringify(paymentRequest, null, 2));
|
|
88
|
-
console.log('[ApplePayService] has authToken:', Boolean(authToken));
|
|
89
|
-
console.log('[ApplePayService] accountId:', accountId);
|
|
90
|
-
console.log('[ApplePayService] has config:', Boolean(this.applePayConfig));
|
|
86
|
+
// Begin session
|
|
91
87
|
if (!this.applePayConfig) {
|
|
92
88
|
console.error('[ApplePayService] Missing applePayConfig. Did you call initialize()?');
|
|
93
|
-
console.groupEnd();
|
|
94
89
|
throw new Error('Apple Pay not initialized. Call initialize() first.');
|
|
95
90
|
}
|
|
96
91
|
// if (!this.isAvailable()) {
|
|
97
92
|
// throw new Error('Apple Pay is not available on this device/browser');
|
|
98
93
|
// }
|
|
99
94
|
const request = new ApplePayPaymentRequest(paymentRequest);
|
|
100
|
-
console.log('[ApplePayService] created ApplePayPaymentRequest:', request);
|
|
101
95
|
if (!request.isValid) {
|
|
102
96
|
const missingFields = [];
|
|
103
97
|
if (!request.countryCode)
|
|
@@ -112,17 +106,14 @@ export class ApplePayService {
|
|
|
112
106
|
if (!request.total || !request.total.label || !request.total.amount)
|
|
113
107
|
missingFields.push('total');
|
|
114
108
|
console.error('[ApplePayService] Payment request is invalid. Missing/invalid:', missingFields);
|
|
115
|
-
console.groupEnd();
|
|
116
109
|
throw new Error('Invalid payment request provided');
|
|
117
110
|
}
|
|
118
111
|
this.currentPaymentRequest = request;
|
|
119
112
|
return new Promise((resolve, reject) => {
|
|
120
113
|
try {
|
|
121
|
-
console.log('[ApplePayService] About to instantiate ApplePaySession');
|
|
122
114
|
// Defensive checks for Apple Pay environment
|
|
123
115
|
if (typeof window === 'undefined' || !('ApplePaySession' in window)) {
|
|
124
116
|
console.error('[ApplePayService] ApplePaySession not available on window');
|
|
125
|
-
console.groupEnd();
|
|
126
117
|
return reject({
|
|
127
118
|
success: false,
|
|
128
119
|
error: {
|
|
@@ -132,16 +123,11 @@ export class ApplePayService {
|
|
|
132
123
|
});
|
|
133
124
|
}
|
|
134
125
|
this.currentSession = new window.ApplePaySession(3, request);
|
|
135
|
-
console.log('[ApplePayService] ApplePaySession instantiated:', this.currentSession);
|
|
136
126
|
this.setupSessionEventHandlers(resolve, reject, authToken, accountId);
|
|
137
|
-
console.log('[ApplePayService] Event handlers set. Beginning session...');
|
|
138
127
|
this.currentSession.begin();
|
|
139
|
-
console.log('[ApplePayService] Session.begin() called');
|
|
140
|
-
console.groupEnd();
|
|
141
128
|
}
|
|
142
129
|
catch (error) {
|
|
143
130
|
console.error('[ApplePayService] Exception while starting session:', error);
|
|
144
|
-
console.groupEnd();
|
|
145
131
|
reject({
|
|
146
132
|
success: false,
|
|
147
133
|
error: {
|
|
@@ -179,18 +165,14 @@ export class ApplePayService {
|
|
|
179
165
|
return;
|
|
180
166
|
}
|
|
181
167
|
this.currentSession.onvalidatemerchant = async () => {
|
|
182
|
-
console.groupCollapsed('[ApplePayService] onvalidatemerchant');
|
|
183
168
|
try {
|
|
184
|
-
console.log('[ApplePayService] accountId:', accountId);
|
|
185
169
|
if (!authToken) {
|
|
186
170
|
console.error('[ApplePayService] Missing authToken for merchant validation');
|
|
187
171
|
throw new Error('Authentication token not provided.');
|
|
188
172
|
}
|
|
189
173
|
const merchantSession = await this.validateMerchant(authToken, accountId);
|
|
190
|
-
console.log('[ApplePayService] merchantSession received');
|
|
191
174
|
try {
|
|
192
175
|
this.currentSession.completeMerchantValidation(merchantSession);
|
|
193
|
-
console.log('[ApplePayService] completeMerchantValidation called');
|
|
194
176
|
}
|
|
195
177
|
catch (completionError) {
|
|
196
178
|
console.error('Error calling completeMerchantValidation:', completionError);
|
|
@@ -214,30 +196,20 @@ export class ApplePayService {
|
|
|
214
196
|
},
|
|
215
197
|
});
|
|
216
198
|
}
|
|
217
|
-
console.groupEnd();
|
|
218
199
|
};
|
|
219
200
|
this.currentSession.onpaymentauthorized = async (event) => {
|
|
220
|
-
var _a;
|
|
221
|
-
console.groupCollapsed('[ApplePayService] onpaymentauthorized');
|
|
222
201
|
try {
|
|
223
202
|
const payment = event.payment;
|
|
224
|
-
console.log('[ApplePayService] payment payload snapshot:', {
|
|
225
|
-
hasToken: Boolean(payment === null || payment === void 0 ? void 0 : payment.token),
|
|
226
|
-
tokenType: ((_a = payment === null || payment === void 0 ? void 0 : payment.token) === null || _a === void 0 ? void 0 : _a.paymentData) ? 'paymentData' : 'raw',
|
|
227
|
-
});
|
|
228
203
|
const paymentPayload = Object.assign(Object.assign({}, payment.token), { product_details: {
|
|
229
204
|
name: this.currentPaymentRequest.total.label,
|
|
230
205
|
price: ApplePayHelpers.parseAmount(this.currentPaymentRequest.total.amount),
|
|
231
206
|
description: this.currentPaymentRequest.total.label,
|
|
232
207
|
} });
|
|
233
|
-
console.log('[ApplePayService] paymentPayload prepared');
|
|
234
208
|
const paymentResult = await this.processPayment(authToken, accountId, paymentPayload);
|
|
235
|
-
console.log('[ApplePayService] processPayment result:', paymentResult);
|
|
236
209
|
if (paymentResult.success) {
|
|
237
210
|
this.currentSession.completePayment({
|
|
238
211
|
status: ApplePaySessionStatus.STATUS_SUCCESS,
|
|
239
212
|
});
|
|
240
|
-
console.log('[ApplePayService] Payment success; resolving');
|
|
241
213
|
resolve({
|
|
242
214
|
success: true,
|
|
243
215
|
token: payment.token,
|
|
@@ -278,40 +250,31 @@ export class ApplePayService {
|
|
|
278
250
|
});
|
|
279
251
|
}
|
|
280
252
|
finally {
|
|
281
|
-
console.log('[ApplePayService] Cleaning up session state');
|
|
282
253
|
this.currentSession = undefined;
|
|
283
254
|
this.currentPaymentRequest = undefined;
|
|
284
255
|
}
|
|
285
|
-
console.groupEnd();
|
|
286
256
|
};
|
|
287
257
|
this.currentSession.onpaymentmethodselected = () => {
|
|
288
|
-
console.groupCollapsed('[ApplePayService] onpaymentmethodselected');
|
|
289
258
|
const paymentUpdate = {
|
|
290
259
|
newTotal: this.currentPaymentRequest.total,
|
|
291
260
|
newLineItems: this.currentPaymentRequest.lineItems || [],
|
|
292
261
|
};
|
|
293
262
|
try {
|
|
294
263
|
this.currentSession.completePaymentMethodSelection(paymentUpdate);
|
|
295
|
-
console.log('[ApplePayService] completePaymentMethodSelection called');
|
|
296
264
|
}
|
|
297
265
|
catch (error) {
|
|
298
266
|
console.error('Error completing payment method selection:', error);
|
|
299
267
|
this.currentSession.abort();
|
|
300
268
|
}
|
|
301
|
-
console.groupEnd();
|
|
302
269
|
};
|
|
303
270
|
this.currentSession.onshippingmethodselected = () => {
|
|
304
|
-
console.groupCollapsed('[ApplePayService] onshippingmethodselected');
|
|
305
271
|
this.currentSession.completeShippingMethodSelection({
|
|
306
272
|
status: ApplePaySessionStatus.STATUS_SUCCESS,
|
|
307
273
|
newTotal: this.currentPaymentRequest.total,
|
|
308
274
|
newLineItems: this.currentPaymentRequest.lineItems || [],
|
|
309
275
|
});
|
|
310
|
-
console.log('[ApplePayService] completeShippingMethodSelection called');
|
|
311
|
-
console.groupEnd();
|
|
312
276
|
};
|
|
313
277
|
this.currentSession.oncancel = (event) => {
|
|
314
|
-
console.groupCollapsed('[ApplePayService] oncancel');
|
|
315
278
|
if (event.sessionError) {
|
|
316
279
|
console.error(event.sessionError);
|
|
317
280
|
switch (event.sessionError.code) {
|
|
@@ -342,11 +305,9 @@ export class ApplePayService {
|
|
|
342
305
|
message: 'User cancelled the Apple Pay session',
|
|
343
306
|
},
|
|
344
307
|
});
|
|
345
|
-
console.groupEnd();
|
|
346
308
|
};
|
|
347
309
|
if ('onerror' in this.currentSession) {
|
|
348
310
|
this.currentSession.onerror = (error) => {
|
|
349
|
-
console.groupCollapsed('[ApplePayService] onerror');
|
|
350
311
|
console.error('=== APPLE PAY SESSION ERROR ===');
|
|
351
312
|
console.error('Session error:', error);
|
|
352
313
|
this.currentSession = undefined;
|
|
@@ -358,7 +319,6 @@ export class ApplePayService {
|
|
|
358
319
|
message: 'Apple Pay session error occurred',
|
|
359
320
|
},
|
|
360
321
|
});
|
|
361
|
-
console.groupEnd();
|
|
362
322
|
};
|
|
363
323
|
}
|
|
364
324
|
}
|
|
@@ -17,12 +17,12 @@ export class RepresentativeFormInputs {
|
|
|
17
17
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
18
18
|
return (h("form", { key: '7f2a20427197ce4f402c1b4b859839d506613769' }, h("fieldset", { key: 'fe71959a012c1961b6f91d98862ca4ea9411bf6d' }, h("div", { key: '801fb53d33eeff75f82552da84210abfb1daa55d', class: "d-flex align-items-center gap-2" }, h("legend", { key: '63486b252a7c4f71e944712a833a2edc762c1692', class: "mb-0", part: heading2 }, "Representative"), h("form-control-tooltip", { key: '9a22a232bb856c05ca8c75a0255ea8a2b33b8a80', helpText: "The representative for your business needs to be someone who has significant control over managing your business\u2019s finance. You will have an opportunity to add owners later in the form." })), h("hr", { key: 'b29a6dcd41991b2874cb64fc3cd058f3bcf10a48', class: "mt-2" }), h("div", { key: '52e2b29c6f915f50e1f33c19363657e657355b85', class: "row gy-3" }, h("div", { key: '9531872c804ef3713c0778c6bff1d3ca589bb3d5', class: "col-12 col-md-8" }, h("form-control-text", { key: 'd1eedf80da0790767a6c294f084c4b9d4112b9cf', name: "name", label: "Full Name", defaultValue: (_a = this.representativeDefaultValue) === null || _a === void 0 ? void 0 : _a.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: 'b5effb996c7b97cd5a8815781474ea32e5bc37b6', class: "col-12 col-md-4" }, h("form-control-text", { key: '554a6fe90a0c68a32ae7e6b0401e43a8a2d6c7fe', name: "title", label: "Title", defaultValue: (_b = this.representativeDefaultValue) === null || _b === void 0 ? void 0 : _b.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), h("div", { key: '6025d1b2b67120a9e9e25d0a6e3e352651759c62', class: "col-12 col-md-6" }, h("form-control-text", { key: 'ed758eafa726ee6801c16535fbba7d05886c21d5', name: "email", label: "Email Address", defaultValue: (_c = this.representativeDefaultValue) === null || _c === void 0 ? void 0 : _c.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '933650753a5fdc6f75db658baf536ce4033e0e6c', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '81ba9debb6c8fd8225c67a0c0a6b8612e87fc3f0', name: "phone", label: "Phone Number", defaultValue: (_d = this.representativeDefaultValue) === null || _d === void 0 ? void 0 : _d.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '913c766d6eb5fe5f132eafecba91145a6c418dae', class: "col-12 col-md-4" }, h("form-control-date", { key: 'c50e5ad2022906d753b783e7892be8322d80661c', name: "dob_full", label: "Birth Date", defaultValue: (_e = this.representativeDefaultValue) === null || _e === void 0 ? void 0 : _e.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), h("div", { key: '74492ad88a4962c2abfd04319880edb757d78796', class: "col-12 col-md-8" }, (!((_f = this.representativeDefaultValue) === null || _f === void 0 ? void 0 : _f.ssn_last4) || this.isEditingIdentification) ? (h("form-control-number-masked", { name: "identification_number", label: countryLabels[this.country].idNumberLabel, defaultValue: this.isEditingIdentification ? '' : (_g = this.representativeDefaultValue) === null || _g === void 0 ? void 0 : _g.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: IDENTITY_MASKS[this.country], helpText: countryLabels[this.country].identityHelpText })) : (h("div", null, h("label", { class: "form-label", part: label }, countryLabels[this.country].idNumberLabel), h("div", { class: "input-group mb-3" }, h("input", { type: "text", class: "form-control", part: inputDisabled, value: `****${(_h = this.representativeDefaultValue) === null || _h === void 0 ? void 0 : _h.ssn_last4}`, disabled: true }), h("button", { class: "btn btn-secondary", type: "button", part: buttonSecondary, onClick: () => {
|
|
19
19
|
this.isEditingIdentification = true;
|
|
20
|
-
// Clear
|
|
20
|
+
// Clear current value to force validation
|
|
21
21
|
updateFormValues(this.formController, {
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
identification_number: '',
|
|
23
|
+
ssn_last4: null
|
|
24
24
|
});
|
|
25
|
-
} }, "Change"))))), h("div", { key: '
|
|
25
|
+
} }, "Change"))))), h("div", { key: 'dd27d90284c7eac1ec619622bf3e25b28360fe4c', class: "col-12" }, h("justifi-identity-address-form", { key: 'fa011614b624b6ad395f304552ff334d64d2c048', errors: this.errors.address, defaultValues: (_j = this.representativeDefaultValue) === null || _j === void 0 ? void 0 : _j.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))))));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "justifi-business-representative-form-inputs"; }
|
|
28
28
|
static get properties() {
|
|
@@ -31,6 +31,7 @@ const schemaCAN = (role) => object({
|
|
|
31
31
|
email: emailValidation.nullable(),
|
|
32
32
|
phone: phoneValidation.nullable(),
|
|
33
33
|
dob_full: dobValidation(role).nullable(),
|
|
34
|
+
ssn_last4: string().nullable(),
|
|
34
35
|
identification_number: makeIdentityNumberValidation(CountryCode.CAN).nullable(),
|
|
35
36
|
address: addressSchemaCAN(true),
|
|
36
37
|
});
|
|
@@ -40,8 +41,8 @@ const strictSchemaCAN = (role) => object({
|
|
|
40
41
|
email: emailValidation.required(`Enter ${role} email`),
|
|
41
42
|
phone: phoneValidation.required('Enter phone number'),
|
|
42
43
|
dob_full: dobValidation(role).required('Enter date of birth'),
|
|
43
|
-
|
|
44
|
-
|
|
44
|
+
ssn_last4: string().nullable(),
|
|
45
|
+
identification_number: makeIdentityNumberValidation(CountryCode.CAN),
|
|
45
46
|
address: addressSchemaCAN(false),
|
|
46
47
|
});
|
|
47
48
|
export const identitySchemaUSA = (role, allowOptionalFields) => allowOptionalFields ? schemaUSA(role) : strictSchemaUSA(role);
|
|
@@ -46,6 +46,11 @@ export const makeIdentityNumberValidation = (country) => {
|
|
|
46
46
|
return string()
|
|
47
47
|
.matches(numbersOnlyRegex, 'Enter valid SIN')
|
|
48
48
|
.length(countryValidation[country].identityDigits, 'Enter valid SIN')
|
|
49
|
+
.when('ssn_last4', {
|
|
50
|
+
is: (val) => !val || val.length === 0,
|
|
51
|
+
then: (schema) => schema.required('Enter SIN'),
|
|
52
|
+
otherwise: (schema) => schema.nullable(),
|
|
53
|
+
})
|
|
49
54
|
.test('not-repeat', 'Enter valid SIN', (value) => {
|
|
50
55
|
return !/^(\d)\1+$/.test(value);
|
|
51
56
|
})
|
|
@@ -28,9 +28,24 @@ export class DisputeNotification {
|
|
|
28
28
|
initiateRespondToDispute() {
|
|
29
29
|
this.clickEvent.emit({ name: DisputeManagementClickActions.respondToDispute });
|
|
30
30
|
}
|
|
31
|
+
isDueDatePassed() {
|
|
32
|
+
var _a;
|
|
33
|
+
if (!((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.due_date)) {
|
|
34
|
+
return false;
|
|
35
|
+
}
|
|
36
|
+
// Fix for JavaScript Date object parsing
|
|
37
|
+
// https://stackoverflow.com/a/31732581
|
|
38
|
+
const dueDate = new Date(this.dispute.due_date.replace(/-/g, '\/').replace(/T.+/, ''));
|
|
39
|
+
const today = new Date();
|
|
40
|
+
// Reset time to compare only dates
|
|
41
|
+
today.setHours(0, 0, 0, 0);
|
|
42
|
+
dueDate.setHours(0, 0, 0, 0);
|
|
43
|
+
return dueDate < today;
|
|
44
|
+
}
|
|
31
45
|
render() {
|
|
32
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
33
|
-
return (h(StyledHost, { key: '
|
|
46
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
47
|
+
return (h(StyledHost, { key: 'a494374453528ee6033589ed69dd2a0738ff8aaa' }, this.isLoading && (h("div", { key: '436d266650297674d89f1ba2d299bf3ebdf16506', style: { marginBottom: '8px' } }, h(Skeleton, { key: '952e9df74b83809b3a52d629ed05bc54b02754a5', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), h(Skeleton, { key: 'f3dd82b6b941500202404ec1353c2f951f79b642', height: '18px', styles: { marginBottom: '8px' } }), h(Skeleton, { key: '608229cd12404e5e6f7014f955c24f9ff856a14f', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && this.isDueDatePassed() && (h("div", { key: '6d18b253eaa245b9f7b817c3baf473d6f6a31845', part: text }, h("h1", { key: '7f7e30f8c7a9753970980796790b621a6d373548', class: "h4", part: heading4 }, "The due date (", (_b = this.dispute) === null || _b === void 0 ? void 0 :
|
|
48
|
+
_b.due_date, ") for this dispute has passed"), h("p", { key: '1c458aecef8ce286b6c2a46e286c57e1276aff04' }, "You can no longer submit evidence to counter this dispute."))), ((_c = this.dispute) === null || _c === void 0 ? void 0 : _c.needsResponse) && !this.isDueDatePassed() && (h("div", { key: 'b3e85abf813bd36da6c952c9ad7c9357504bbc1d', part: text }, h("h1", { key: 'afcbe8f967170bc4abea0c71749a10e1c09937e0', class: "h4", part: heading4 }, "This payment is disputed"), h("p", { key: '30194ebea5f1763286f1a69f8fb2cd8c2c9d2d90' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), h("h2", { key: '991505b018e4ee61b05c9872244163b729ee0cd1', class: "h5" }, "Dispute details"), h("div", { key: 'b94e62444ce05ac0ef6698a4b67f70088c10a9b4', class: "d-table gap-2" }, h("div", { key: '8873c8b0cab9bf5e56add69007e9b281c64dcbf3', class: "d-table-row gap-2" }, h("span", { key: '0c9cf9564277ba952c1b36acc7fa8660ec969266', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), h("span", { key: '0461b3c75b74e03b60dae12d80526b119d1e74d5', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, formatCurrency((_d = this.dispute) === null || _d === void 0 ? void 0 : _d.amount))), h("div", { key: '074f92623a156b5c431719a8c11870c95377dfc1', class: "d-table-row gap-2" }, h("span", { key: '04e1498ecb4d64f122c27ef0a83c38d843c72cad', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), h("span", { key: 'fc3c56b35d899c06130b918cf03202cc9f44fa46', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_e = this.dispute) === null || _e === void 0 ? void 0 : _e.reason)), h("div", { key: '13eca44a73967f235a18e2f8818a008f14a96ba2', class: "d-table-row gap-2" }, h("span", { key: '954a86a2f0b77801a7c69c751a2b398f33bb2fe1', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Due Date"), h("span", { key: '21e305a5cdc269f45439671639e3984e68cb75e0', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_f = this.dispute) === null || _f === void 0 ? void 0 : _f.due_date))), h("div", { key: 'cad8b592ab80d24b3d4ce187eb534a336bd36581', class: "d-flex gap-2 mt-4 justify-content-end" }, h(Button, { key: '077df79dae040c41489d1206fffde036aef51954', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), h(Button, { key: 'eb26cd7bc9d93c83eefc927c565f321eb3c2bef1', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_g = this.dispute) === null || _g === void 0 ? void 0 : _g.underReview) && (h("div", { key: 'f74d8e95a2ae74e1b59ac414d0a0d5cc43dd0291' }, h("h1", { key: '2404542678c5ad29dd4e3af13edebbace06734d6', class: "h4" }, "This payment is disputed and under review"), h("p", { key: '0027bd32af1b0ab4ffdd42fcc0b21cb7ab55835a' }, "The cardholder is disputing this payment. A counter dispute has been submitted and is under review."))), ((_h = this.dispute) === null || _h === void 0 ? void 0 : _h.won) && (h("div", { key: 'ff335c7dbe7bda7637d1b27a65150785e81361bc' }, h("h1", { key: '36ee4c439d8e1346c115ba6f28e59008ce68d4e1', class: "h4" }, "This payment was disputed"), h("p", { key: '5e6e6869d956f6ea84e64378e4bfaebeb71109b0' }, "The cardholder disputed this payment and the card issuer has settled it in your favor."))), ((_j = this.dispute) === null || _j === void 0 ? void 0 : _j.lost) && (h("div", { key: 'd67894655a47ac5327540c55fdd97db472d34f9d' }, h("h1", { key: 'dec3b5da213071a75183eab6e1521c5c986d3876', class: "h4" }, "This payment was disputed"), h("p", { key: '806eb5f32bddde1c298eba9517c637a7fb69f598' }, "The cardholder disputed this payment and the card issuer has settled it in their favor.")))));
|
|
34
49
|
}
|
|
35
50
|
static get is() { return "justifi-dispute-notification"; }
|
|
36
51
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/dispute-management/dispute-response/additional-statement.js
CHANGED
|
@@ -29,7 +29,7 @@ export class AdditionalStatement {
|
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
31
|
var _a, _b;
|
|
32
|
-
return (h("div", { key: '
|
|
32
|
+
return (h("div", { key: 'c3458b13a7a265c9538725f706febf90251beb0e' }, h("div", { key: 'f8df4f3ae70640acf11f5c803ae1f77f1f501b48', class: "row gy-3" }, h("div", { key: '4d92037e9cb588c137bac7a505d35764de1fc83e', class: "col-12" }, h("h2", { key: '6cbf7f95a025011299aa0612e9c28c87f4fb6553', class: "h5", part: heading5 }, "Additional Evidence")), h("div", { key: '36d990b686e17568dffe11529582638cb5e1e812', class: "col-12" }, h("form-control-textarea", { key: 'c75f3f622ecfcf142d003e1af09f81794d4f6a1d', label: "Is there anything else you would like to say about this dispute?", name: "additional_statement", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.additional_statement, inputHandler: this.inputHandler, errorText: this.errors.additional_statement })), h("div", { key: 'd6da0f0922e5c1ba99dbef034b9a8d8817739899', class: "col-12" }, h("form-control-file-v2", { key: '0e333a243b510fbe96bf874fa523ea9e4d7bfa6f', label: "Additional files", name: "uncategorized_file", multiple: true, helpText: "Upload any additional pieces of evidence that have not already been provided.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.uncategorized_file })))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "justifi-additional-statement"; }
|
|
35
35
|
static get properties() {
|
package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js
CHANGED
|
@@ -28,7 +28,7 @@ export class CancellationPolicy {
|
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
30
|
var _a, _b, _c;
|
|
31
|
-
return (h("div", { key: '
|
|
31
|
+
return (h("div", { key: 'bd78bece625aec456d3433cc20bff08c16ae147a' }, h("div", { key: '80b32adabf3205beb07609c2758ba8609f22cf87', class: "row gy-3" }, h("div", { key: 'baa7766e30f6d9a9be7d2194d07e2fd53e859642', class: "col-12" }, h("h2", { key: 'bb1bb5a301dfaa5f4ce3cdcef84ff987088f2933', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: '47fd127e97420bcc5aca04e6cdf2067edd7d9a97', class: "col-12" }, h("form-control-textarea", { key: 'c85dd2dc03c872e96c052e347bb698c9c8f17b3b', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.cancellation_policy_disclosure, inputHandler: this.inputHandler, errorText: this.errors.cancellation_policy_disclosure })), h("div", { key: 'e070c23f89b84d414992b842107531136b2541a6', class: "col-12" }, h("form-control-textarea", { key: '0c3acec921d25929feb496f810a1745debc440fb', label: "Cancellation Rebuttal", name: "cancellation_rebuttal", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.cancellation_rebuttal, inputHandler: this.inputHandler, errorText: this.errors.cancellation_rebuttal })), h("div", { key: 'd40087a09150c9e801b6499604b71b48019a33b7', class: "col-12" }, h("form-control-file-v2", { key: '75c6d00c7a29c60bd81ab2f187f901d6fbe522d1', label: "Upload Cancellation Policy", name: "cancellation_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.cancellation_policy })))));
|
|
32
32
|
}
|
|
33
33
|
static get is() { return "justifi-cancellation-policy"; }
|
|
34
34
|
static get properties() {
|
|
@@ -28,7 +28,7 @@ export class CustomerDetails {
|
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
30
|
var _a, _b, _c, _d, _e;
|
|
31
|
-
return (h("div", { key: '
|
|
31
|
+
return (h("div", { key: '4f66d1737416342483855947c8d0bc84633efd1a' }, h("div", { key: '0a7be5af6e92d56bf58ceb5e1a5269163f8a5eef', class: "row gy-3" }, h("div", { key: '0ae8574e9228b7cee09f33595f901a216fad571c', class: "col-12" }, h("h2", { key: '9a025c901262dc362e048a72f3f5d17eaa8bc7a4', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: '8d651d6a4f9f3ebc519e3fd8b6cd03da452f7a5e', class: "col-12" }, h("form-control-text", { key: '00b3d5ffef1d253b75cdba11c26c05fc4b3d3e7d', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), h("div", { key: '3494745d7843208abe678662359cf1612b035d2d', class: "col-12" }, h("form-control-text", { key: 'b6822a0f33dab183f717e58b68cd1c95445a62c8', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), h("div", { key: '86f9e759614375d50238fa26756ceac0ebd3d55c', class: "col-12" }, h("form-control-textarea", { key: 'e86f3fcc5a5f31cf46b67d53ee282b16232c0016', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), h("div", { key: 'bda34fee75daeaf9ac91758a096febabe98ddf14', class: "col-12" }, h("form-control-file-v2", { key: '49c40325d8478296a6da2f124114a7a06d29b4c6', label: "Customer Signature", name: "customer_signature", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.customer_signature })), h("div", { key: '8f1b66a41596a3606b5c2f2a0c94844f11aa4b27', class: "col-12" }, h("form-control-file-v2", { key: 'c5c539c9f9cf799a1043330e657a6064510e59ba', label: "Customer Communication", name: "customer_communication", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.customer_communication })))));
|
|
32
32
|
}
|
|
33
33
|
static get is() { return "justifi-customer-details"; }
|
|
34
34
|
static get properties() {
|
package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js
CHANGED
|
@@ -156,7 +156,7 @@ export class DisputeResponseCore {
|
|
|
156
156
|
return this.currentStep === 0;
|
|
157
157
|
}
|
|
158
158
|
render() {
|
|
159
|
-
return (h("div", { key: '
|
|
159
|
+
return (h("div", { key: 'b23c5bc27b1f657b9211d3a3482ae5b99982754e', class: "row gy-3" }, h("div", { key: 'a630f3c475d6b8026a81724c76340dc4f6088b26', class: "col-12" }, h("h1", { key: 'f4e848277ee8f1ec05ef1b1dfbac0e8872d9d91f', class: "h4", part: heading4 }, "Counter dispute")), h("div", { key: '6f7f21778853a3c1ac173ac79713f5427a226a5b', class: "col-12" }, this.currentStepComponent), h("div", { key: '7354846a446f5677a12a3113b3f4226060a8b86a', class: "col-12" }, h("div", { key: '4fb9dbccff8b004913656c3a130b46a0216dd6bb', class: "d-flex gap-2 mt-4 justify-content-end" }, this.isFirstStep ? (h(Button, { variant: "secondary", onClick: () => this.onCancel(), disabled: this.isLoading, isLoading: this.isLoading }, "Cancel")) : (h(Button, { variant: "secondary", onClick: () => this.onBack(), disabled: this.isLoading, isLoading: this.isLoading }, "Back")), this.isLastStep ? (h(Button, { variant: "primary", onClick: () => this.onSubmit(), disabled: this.isLoading, isLoading: this.isLoading }, "Submit Counter Dispute")) : (h(Button, { variant: "primary", onClick: () => this.onNext(), disabled: this.isLoading, isLoading: this.isLoading }, "Next"))))));
|
|
160
160
|
}
|
|
161
161
|
static get is() { return "justifi-dispute-response-core"; }
|
|
162
162
|
static get properties() {
|
|
@@ -55,7 +55,7 @@ export class DisputeResponse {
|
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
render() {
|
|
58
|
-
return (h(StyledHost, { key: '
|
|
58
|
+
return (h(StyledHost, { key: 'ed6376969ab6a686999b8a31376b3c1cc8c7b566' }, h("justifi-dispute-response-core", { key: 'd823732d71613e9e98305d4b7d3c22af0344d209', "onError-event": this.handleErrorEvent, "dispute-id": this.disputeId, disputeResponse: this.disputeResponse, createDisputeEvidence: this.createDisputeEvidence, updateDisputeResponse: this.updateDisputeResponse, submitDisputeResponse: this.submitDisputeResponse })));
|
|
59
59
|
}
|
|
60
60
|
;
|
|
61
61
|
static get is() { return "justifi-dispute-response"; }
|
|
@@ -28,7 +28,7 @@ export class DuplicateCharge {
|
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
30
|
var _a, _b, _c;
|
|
31
|
-
return (h("div", { key: '
|
|
31
|
+
return (h("div", { key: '68152308257c9331e3e3e1b8141922634390c91d' }, h("div", { key: '0ff743d3d260272e98f9d9c9219e1465de1c7516', class: "row gy-3" }, h("div", { key: 'c02a18a34320cc8b4574b65f378b8a54207eb01c', class: "col-12" }, h("h2", { key: '254ae07ed42f2c61fed3b0be8cd02f928ac64f92', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: 'dfd97f7c5817bcd14458e4d390736b79651c29db', class: "col-12" }, h("form-control-text", { key: '76c551ab0641c3ebb78c40cdb78bb184911033c9', label: "Original Payment ID", name: "duplicate_charge_original_payment_id", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.duplicate_charge_original_payment_id, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_original_payment_id })), h("div", { key: '1edd78dcefbe32156f27e924e5b032a016dbffc5', class: "col-12" }, h("form-control-textarea", { key: '556829c59b797a79b8bd31d3add791819a2ef84a', label: "Duplicate Charge Explanation", name: "duplicate_charge_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.duplicate_charge_explanation, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_explanation })), h("div", { key: '183a68bf83924559e0032af6a43308466944fdcb', class: "col-12" }, h("form-control-file-v2", { key: 'fa3817f0e2e8ff17d5cdd142ccabc0e539a48d38', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.duplicate_charge_documentation })))));
|
|
32
32
|
}
|
|
33
33
|
static get is() { return "justifi-duplicate-charge"; }
|
|
34
34
|
static get properties() {
|
package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js
CHANGED
|
@@ -28,7 +28,7 @@ export class ElectronicEvidence {
|
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
30
|
var _a, _b;
|
|
31
|
-
return (h("div", { key: '
|
|
31
|
+
return (h("div", { key: '677a04d0eb6000066063a68bfe85d286c5c207fa' }, h("div", { key: 'b231437fc879fa2c24474c498eba17edd34128a3', class: "row gy-3" }, h("div", { key: 'd0cf03d9f5e2de19f63e47fd42f0bec710d44bd1', class: "col-12" }, h("h2", { key: '5343dcbeffdaa14e4605944eef18c5ebf1418a20', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: 'a4b816038465b14e4078b13d46543280b212c676', class: "col-12" }, h("form-control-text", { key: '8cebdd64857d99b8058013df9a10ac007869b998', label: "Purchase IP Address", name: "customer_purchase_ip_address", helpText: "The IP address used by the customer during the purchase.", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_purchase_ip_address, inputHandler: this.inputHandler, errorText: this.errors.customer_purchase_ip_address })), h("div", { key: '637f3221604b415b8ea5c04af800a72dbfa40c4b', class: "col-12" }, h("form-control-file-v2", { key: '89b3db82c57b8673124369e915efa4f0ec3927a8', label: "Activity Logs", name: "activity_log", helpText: "Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.activity_log })))));
|
|
32
32
|
}
|
|
33
33
|
static get is() { return "justifi-electronic-evidence"; }
|
|
34
34
|
static get properties() {
|
package/dist/collection/components/dispute-management/dispute-response/product-or-service.js
CHANGED
|
@@ -28,7 +28,7 @@ export class ProductOrService {
|
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
30
|
var _a, _b, _c;
|
|
31
|
-
return (h("div", { key: '
|
|
31
|
+
return (h("div", { key: 'ae1fdf1a29d12408c3be84b02dcd058cb4c7849b' }, h("div", { key: '499977f5ad1d9bcbddb749b556539cd1b641d3e8', class: "row gy-3" }, h("div", { key: '1318ffbe476b9b0cb662b85f3bc670c66e97f8f5', class: "col-12" }, h("h2", { key: '58bf1ca5a29f3a4942b249f7d35f60f4f9976b62', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: '957203535d86a521d5d702d0d85eb09201deab3a', class: "col-12" }, h("form-control-text", { key: 'b02101dd7b3e22b06feea75f451fca6ac1496851', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), h("div", { key: '5eddaf6586b22c516f5fd48943cfd6f4a7bb83ce', class: "col-12" }, h("form-control-date", { key: 'bbc3a6d58d6f7e123d08802ca933135603476cca', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), h("div", { key: '4d810ce7ffdd4aec9fb8d1ce81aa8cc23aacb8f7', class: "col-12" }, h("form-control-file-v2", { key: 'c3d029eb2da6364df611604b6956a285dcde63ca', label: "Service Documentation", name: "service_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.service_documentation })))));
|
|
32
32
|
}
|
|
33
33
|
static get is() { return "justifi-product-or-service"; }
|
|
34
34
|
static get properties() {
|
|
@@ -28,7 +28,7 @@ export class RefundPolicy {
|
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
30
|
var _a, _b, _c, _d;
|
|
31
|
-
return (h("div", { key: '
|
|
31
|
+
return (h("div", { key: 'd5afb26778b8e72bb914c964ab03490887149ef7' }, h("div", { key: '58c0472396b62c36304fc5b05400ea1e92106d48', class: "row gy-3" }, h("div", { key: '0178337b922c635efd5967da10ffb9a4fcf974e3', class: "col-12" }, h("h2", { key: '754263a51e6d0dd4a0b42205855446194a01fbde', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: '3d618f3d5c73ac55275d189b16b8d0ee2eaf56b4', class: "col-12" }, h("form-control-textarea", { key: '42d90a550814a48fdd3bcb5fc8a18dfa3739512d', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), h("div", { key: '108c2376a1680468000d83a31753cd2e1a2143f4', class: "col-12" }, h("form-control-textarea", { key: '7b1db2802760357080a7cd004bc322cc644c1741', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), h("div", { key: 'f1c140d81063c530b5f2c9df8a78cd7edad56482', class: "col-12" }, h("form-control-file-v2", { key: '6d7fc6f84f8a3af171e344d1a05d465d144bd6b5', label: "Upload Refund Policy", name: "refund_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.refund_policy })), h("div", { key: 'aefdff678a562ea84dd20f2855045ad1e2be2e65', class: "col-12" }, h("form-control-file-v2", { key: 'c745a8ca84affd92d6590d4c2ccc0ca11ba71bd6', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
|
|
32
32
|
}
|
|
33
33
|
static get is() { return "justifi-refund-policy"; }
|
|
34
34
|
static get properties() {
|
|
@@ -29,7 +29,7 @@ export class ShippingDetails {
|
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
31
|
var _a, _b, _c, _d, _e;
|
|
32
|
-
return (h("div", { key: '
|
|
32
|
+
return (h("div", { key: '12761f4d70524d91bfc9ad614d2235a1f7ff9fb2' }, h("div", { key: 'f09f1107bd01120198dd8b5fac777494720be56e', class: "row gy-3" }, h("div", { key: '2533b4452bada515f9b4d116521122989ca010b8', class: "col-12" }, h("h2", { key: '56d3d7c5361dbdc23e98608ca2296532d1d9b9f9', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: 'fd93a97d9829d7aa5999b8c90e769da63f1e5e75', class: "col-12" }, h("form-control-text", { key: '0121bfaedb5a3ad33cb71ff4af667099b0fed28c', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), h("div", { key: '17def8633c36b773387bf770f203584c01d78d56', class: "col-12" }, h("form-control-text", { key: '23a511ccca24f322f56876f31f1c70699808106f', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), h("div", { key: '18e25d53629ec3d0096f9ed53a3a6c92e0e746b9', class: "col-12" }, h("form-control-date", { key: 'fcdb6e192c8dda9e31e97fd1b6d0e9c74e86712f', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), h("div", { key: 'dd2c4332df4a13bab91e26770845c2ad62b4e5ab', class: "col-12" }, h("form-control-textarea", { key: '855a2b47ea8363befc57b5a8533d5aac1f18e00e', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), h("div", { key: '880ed83f7ef2e3c4aba497c8906c9b39d0f3b922', class: "col-12" }, h("form-control-file-v2", { key: '78815509ec89c00074326d5752f77797c4b47746', label: "Shipping Documentation", name: "shipping_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.shipping_documentation })))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "justifi-shipping-details"; }
|
|
35
35
|
static get properties() {
|
|
@@ -67,7 +67,7 @@ export class GrossPaymentChartCore {
|
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
render() {
|
|
70
|
-
return (h(Host, { key: '
|
|
70
|
+
return (h(Host, { key: '0432a1c141cd1ea91ebcb3f975a220e5127164c8' }, this.loading && h(Spinner, { key: '0261cca24232d936418d305f60f3857a502dcb11' }), !this.errorMessage ? h("canvas", { id: "chart", ref: (elem) => this.chartRef = elem }) : ErrorState(this.errorMessage)));
|
|
71
71
|
}
|
|
72
72
|
static get is() { return "gross-payment-chart-core"; }
|
|
73
73
|
static get properties() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, Host, } from "@stencil/core";
|
|
2
|
-
import { checkoutStore, onAnyChange, getAvailablePaymentMethodTypes } from "../../store/checkout.store";
|
|
2
|
+
import { checkoutStore, onAnyChange, getAvailablePaymentMethodTypes, getCheckoutState } from "../../store/checkout.store";
|
|
3
3
|
import JustifiAnalytics from "../../api/Analytics";
|
|
4
4
|
import { checkPkgVersion } from "../../utils/check-pkg-version";
|
|
5
5
|
import { ComponentErrorCodes, ComponentErrorMessages, ComponentErrorSeverity, ICheckoutStatus, } from "../../api";
|
|
@@ -336,6 +336,17 @@ export class ModularCheckout {
|
|
|
336
336
|
payment_mode: mapTypeToPaymentMode((_e = checkoutStore.selectedPaymentMethod) === null || _e === void 0 ? void 0 : _e.type),
|
|
337
337
|
payment_token: checkoutStore.paymentToken,
|
|
338
338
|
};
|
|
339
|
+
if (this.preCompleteHook) {
|
|
340
|
+
const state = getCheckoutState();
|
|
341
|
+
try {
|
|
342
|
+
await new Promise((resolve, reject) => {
|
|
343
|
+
this.preCompleteHook(state, () => resolve(), () => reject());
|
|
344
|
+
});
|
|
345
|
+
}
|
|
346
|
+
catch (_f) {
|
|
347
|
+
return;
|
|
348
|
+
}
|
|
349
|
+
}
|
|
339
350
|
this.completeCheckout({
|
|
340
351
|
payment,
|
|
341
352
|
onSuccess: ({ checkout }) => {
|
|
@@ -354,7 +365,7 @@ export class ModularCheckout {
|
|
|
354
365
|
});
|
|
355
366
|
}
|
|
356
367
|
render() {
|
|
357
|
-
return h(Host, { key: '
|
|
368
|
+
return h(Host, { key: '56a003ca1e1ac4bdc1baa8f862cdb05b2d8af4b1' });
|
|
358
369
|
}
|
|
359
370
|
static get is() { return "justifi-modular-checkout"; }
|
|
360
371
|
static get properties() {
|
|
@@ -396,6 +407,34 @@ export class ModularCheckout {
|
|
|
396
407
|
"setter": false,
|
|
397
408
|
"reflect": false,
|
|
398
409
|
"attribute": "checkout-id"
|
|
410
|
+
},
|
|
411
|
+
"preCompleteHook": {
|
|
412
|
+
"type": "unknown",
|
|
413
|
+
"mutable": false,
|
|
414
|
+
"complexType": {
|
|
415
|
+
"original": "Hook<CheckoutState>",
|
|
416
|
+
"resolved": "(data: CheckoutState, resolve: (data: CheckoutState) => void, reject: () => void) => void",
|
|
417
|
+
"references": {
|
|
418
|
+
"Hook": {
|
|
419
|
+
"location": "import",
|
|
420
|
+
"path": "./ModularCheckout",
|
|
421
|
+
"id": "src/components/modular-checkout/ModularCheckout.ts::Hook"
|
|
422
|
+
},
|
|
423
|
+
"CheckoutState": {
|
|
424
|
+
"location": "import",
|
|
425
|
+
"path": "../../store/checkout.store",
|
|
426
|
+
"id": "src/store/checkout.store.ts::CheckoutState"
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
},
|
|
430
|
+
"required": false,
|
|
431
|
+
"optional": true,
|
|
432
|
+
"docs": {
|
|
433
|
+
"tags": [],
|
|
434
|
+
"text": ""
|
|
435
|
+
},
|
|
436
|
+
"getter": false,
|
|
437
|
+
"setter": false
|
|
399
438
|
}
|
|
400
439
|
};
|
|
401
440
|
}
|