@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
package/dist/module/apple-pay.js
CHANGED
|
@@ -162,7 +162,8 @@ class ApplePayService {
|
|
|
162
162
|
'Sub-Account': accountId,
|
|
163
163
|
},
|
|
164
164
|
body: {
|
|
165
|
-
domain: window.location.host
|
|
165
|
+
domain: window.location.host,
|
|
166
|
+
display_name: this.applePayConfig.displayName
|
|
166
167
|
}
|
|
167
168
|
});
|
|
168
169
|
return response;
|
|
@@ -209,22 +210,15 @@ class ApplePayService {
|
|
|
209
210
|
* Start Apple Pay session
|
|
210
211
|
*/
|
|
211
212
|
async startPaymentSession(paymentRequest, authToken, accountId) {
|
|
212
|
-
// Begin
|
|
213
|
-
console.groupCollapsed('[ApplePayService] startPaymentSession called');
|
|
214
|
-
console.log('[ApplePayService] raw paymentRequest:', JSON.stringify(paymentRequest, null, 2));
|
|
215
|
-
console.log('[ApplePayService] has authToken:', Boolean(authToken));
|
|
216
|
-
console.log('[ApplePayService] accountId:', accountId);
|
|
217
|
-
console.log('[ApplePayService] has config:', Boolean(this.applePayConfig));
|
|
213
|
+
// Begin session
|
|
218
214
|
if (!this.applePayConfig) {
|
|
219
215
|
console.error('[ApplePayService] Missing applePayConfig. Did you call initialize()?');
|
|
220
|
-
console.groupEnd();
|
|
221
216
|
throw new Error('Apple Pay not initialized. Call initialize() first.');
|
|
222
217
|
}
|
|
223
218
|
// if (!this.isAvailable()) {
|
|
224
219
|
// throw new Error('Apple Pay is not available on this device/browser');
|
|
225
220
|
// }
|
|
226
221
|
const request = new ApplePayPaymentRequest(paymentRequest);
|
|
227
|
-
console.log('[ApplePayService] created ApplePayPaymentRequest:', request);
|
|
228
222
|
if (!request.isValid) {
|
|
229
223
|
const missingFields = [];
|
|
230
224
|
if (!request.countryCode)
|
|
@@ -239,17 +233,14 @@ class ApplePayService {
|
|
|
239
233
|
if (!request.total || !request.total.label || !request.total.amount)
|
|
240
234
|
missingFields.push('total');
|
|
241
235
|
console.error('[ApplePayService] Payment request is invalid. Missing/invalid:', missingFields);
|
|
242
|
-
console.groupEnd();
|
|
243
236
|
throw new Error('Invalid payment request provided');
|
|
244
237
|
}
|
|
245
238
|
this.currentPaymentRequest = request;
|
|
246
239
|
return new Promise((resolve, reject) => {
|
|
247
240
|
try {
|
|
248
|
-
console.log('[ApplePayService] About to instantiate ApplePaySession');
|
|
249
241
|
// Defensive checks for Apple Pay environment
|
|
250
242
|
if (typeof window === 'undefined' || !('ApplePaySession' in window)) {
|
|
251
243
|
console.error('[ApplePayService] ApplePaySession not available on window');
|
|
252
|
-
console.groupEnd();
|
|
253
244
|
return reject({
|
|
254
245
|
success: false,
|
|
255
246
|
error: {
|
|
@@ -259,16 +250,11 @@ class ApplePayService {
|
|
|
259
250
|
});
|
|
260
251
|
}
|
|
261
252
|
this.currentSession = new window.ApplePaySession(3, request);
|
|
262
|
-
console.log('[ApplePayService] ApplePaySession instantiated:', this.currentSession);
|
|
263
253
|
this.setupSessionEventHandlers(resolve, reject, authToken, accountId);
|
|
264
|
-
console.log('[ApplePayService] Event handlers set. Beginning session...');
|
|
265
254
|
this.currentSession.begin();
|
|
266
|
-
console.log('[ApplePayService] Session.begin() called');
|
|
267
|
-
console.groupEnd();
|
|
268
255
|
}
|
|
269
256
|
catch (error) {
|
|
270
257
|
console.error('[ApplePayService] Exception while starting session:', error);
|
|
271
|
-
console.groupEnd();
|
|
272
258
|
reject({
|
|
273
259
|
success: false,
|
|
274
260
|
error: {
|
|
@@ -306,18 +292,14 @@ class ApplePayService {
|
|
|
306
292
|
return;
|
|
307
293
|
}
|
|
308
294
|
this.currentSession.onvalidatemerchant = async () => {
|
|
309
|
-
console.groupCollapsed('[ApplePayService] onvalidatemerchant');
|
|
310
295
|
try {
|
|
311
|
-
console.log('[ApplePayService] accountId:', accountId);
|
|
312
296
|
if (!authToken) {
|
|
313
297
|
console.error('[ApplePayService] Missing authToken for merchant validation');
|
|
314
298
|
throw new Error('Authentication token not provided.');
|
|
315
299
|
}
|
|
316
300
|
const merchantSession = await this.validateMerchant(authToken, accountId);
|
|
317
|
-
console.log('[ApplePayService] merchantSession received');
|
|
318
301
|
try {
|
|
319
302
|
this.currentSession.completeMerchantValidation(merchantSession);
|
|
320
|
-
console.log('[ApplePayService] completeMerchantValidation called');
|
|
321
303
|
}
|
|
322
304
|
catch (completionError) {
|
|
323
305
|
console.error('Error calling completeMerchantValidation:', completionError);
|
|
@@ -341,30 +323,20 @@ class ApplePayService {
|
|
|
341
323
|
},
|
|
342
324
|
});
|
|
343
325
|
}
|
|
344
|
-
console.groupEnd();
|
|
345
326
|
};
|
|
346
327
|
this.currentSession.onpaymentauthorized = async (event) => {
|
|
347
|
-
var _a;
|
|
348
|
-
console.groupCollapsed('[ApplePayService] onpaymentauthorized');
|
|
349
328
|
try {
|
|
350
329
|
const payment = event.payment;
|
|
351
|
-
console.log('[ApplePayService] payment payload snapshot:', {
|
|
352
|
-
hasToken: Boolean(payment === null || payment === void 0 ? void 0 : payment.token),
|
|
353
|
-
tokenType: ((_a = payment === null || payment === void 0 ? void 0 : payment.token) === null || _a === void 0 ? void 0 : _a.paymentData) ? 'paymentData' : 'raw',
|
|
354
|
-
});
|
|
355
330
|
const paymentPayload = Object.assign(Object.assign({}, payment.token), { product_details: {
|
|
356
331
|
name: this.currentPaymentRequest.total.label,
|
|
357
332
|
price: ApplePayHelpers.parseAmount(this.currentPaymentRequest.total.amount),
|
|
358
333
|
description: this.currentPaymentRequest.total.label,
|
|
359
334
|
} });
|
|
360
|
-
console.log('[ApplePayService] paymentPayload prepared');
|
|
361
335
|
const paymentResult = await this.processPayment(authToken, accountId, paymentPayload);
|
|
362
|
-
console.log('[ApplePayService] processPayment result:', paymentResult);
|
|
363
336
|
if (paymentResult.success) {
|
|
364
337
|
this.currentSession.completePayment({
|
|
365
338
|
status: ApplePaySessionStatus.STATUS_SUCCESS,
|
|
366
339
|
});
|
|
367
|
-
console.log('[ApplePayService] Payment success; resolving');
|
|
368
340
|
resolve({
|
|
369
341
|
success: true,
|
|
370
342
|
token: payment.token,
|
|
@@ -405,40 +377,31 @@ class ApplePayService {
|
|
|
405
377
|
});
|
|
406
378
|
}
|
|
407
379
|
finally {
|
|
408
|
-
console.log('[ApplePayService] Cleaning up session state');
|
|
409
380
|
this.currentSession = undefined;
|
|
410
381
|
this.currentPaymentRequest = undefined;
|
|
411
382
|
}
|
|
412
|
-
console.groupEnd();
|
|
413
383
|
};
|
|
414
384
|
this.currentSession.onpaymentmethodselected = () => {
|
|
415
|
-
console.groupCollapsed('[ApplePayService] onpaymentmethodselected');
|
|
416
385
|
const paymentUpdate = {
|
|
417
386
|
newTotal: this.currentPaymentRequest.total,
|
|
418
387
|
newLineItems: this.currentPaymentRequest.lineItems || [],
|
|
419
388
|
};
|
|
420
389
|
try {
|
|
421
390
|
this.currentSession.completePaymentMethodSelection(paymentUpdate);
|
|
422
|
-
console.log('[ApplePayService] completePaymentMethodSelection called');
|
|
423
391
|
}
|
|
424
392
|
catch (error) {
|
|
425
393
|
console.error('Error completing payment method selection:', error);
|
|
426
394
|
this.currentSession.abort();
|
|
427
395
|
}
|
|
428
|
-
console.groupEnd();
|
|
429
396
|
};
|
|
430
397
|
this.currentSession.onshippingmethodselected = () => {
|
|
431
|
-
console.groupCollapsed('[ApplePayService] onshippingmethodselected');
|
|
432
398
|
this.currentSession.completeShippingMethodSelection({
|
|
433
399
|
status: ApplePaySessionStatus.STATUS_SUCCESS,
|
|
434
400
|
newTotal: this.currentPaymentRequest.total,
|
|
435
401
|
newLineItems: this.currentPaymentRequest.lineItems || [],
|
|
436
402
|
});
|
|
437
|
-
console.log('[ApplePayService] completeShippingMethodSelection called');
|
|
438
|
-
console.groupEnd();
|
|
439
403
|
};
|
|
440
404
|
this.currentSession.oncancel = (event) => {
|
|
441
|
-
console.groupCollapsed('[ApplePayService] oncancel');
|
|
442
405
|
if (event.sessionError) {
|
|
443
406
|
console.error(event.sessionError);
|
|
444
407
|
switch (event.sessionError.code) {
|
|
@@ -469,11 +432,9 @@ class ApplePayService {
|
|
|
469
432
|
message: 'User cancelled the Apple Pay session',
|
|
470
433
|
},
|
|
471
434
|
});
|
|
472
|
-
console.groupEnd();
|
|
473
435
|
};
|
|
474
436
|
if ('onerror' in this.currentSession) {
|
|
475
437
|
this.currentSession.onerror = (error) => {
|
|
476
|
-
console.groupCollapsed('[ApplePayService] onerror');
|
|
477
438
|
console.error('=== APPLE PAY SESSION ERROR ===');
|
|
478
439
|
console.error('Session error:', error);
|
|
479
440
|
this.currentSession = undefined;
|
|
@@ -485,7 +446,6 @@ class ApplePayService {
|
|
|
485
446
|
message: 'Apple Pay session error occurred',
|
|
486
447
|
},
|
|
487
448
|
});
|
|
488
|
-
console.groupEnd();
|
|
489
449
|
};
|
|
490
450
|
}
|
|
491
451
|
}
|
|
@@ -696,14 +656,6 @@ const ApplePay = /*@__PURE__*/ proxyCustomElement(class ApplePay extends HTMLEle
|
|
|
696
656
|
this.isProcessing = true;
|
|
697
657
|
this.error = null;
|
|
698
658
|
this.applePayStarted.emit();
|
|
699
|
-
console.groupCollapsed('[ApplePay Component] handleApplePayClick');
|
|
700
|
-
console.log('[ApplePay Component] click context:', {
|
|
701
|
-
isProcessing: this.isProcessing,
|
|
702
|
-
disabled: this.disabled,
|
|
703
|
-
isAvailable: this.isAvailable,
|
|
704
|
-
canMakePayments: this.canMakePayments,
|
|
705
|
-
hasService: Boolean(this.applePayService),
|
|
706
|
-
});
|
|
707
659
|
const paymentRequest = {
|
|
708
660
|
countryCode: this.countryCode,
|
|
709
661
|
currencyCode: checkoutStore.paymentCurrency,
|
|
@@ -715,13 +667,7 @@ const ApplePay = /*@__PURE__*/ proxyCustomElement(class ApplePay extends HTMLEle
|
|
|
715
667
|
supportedNetworks: ApplePayHelpers.getDefaultSupportedNetworks(),
|
|
716
668
|
total: ApplePayHelpers.createLineItem(checkoutStore.paymentDescription, checkoutStore.paymentAmount),
|
|
717
669
|
};
|
|
718
|
-
console.log("[ApplePay Component] paymentRequest", paymentRequest);
|
|
719
|
-
console.log('[ApplePay Component] identifiers snapshot:', {
|
|
720
|
-
authTokenLength: checkoutStore.authToken ? String(checkoutStore.authToken).length : 0,
|
|
721
|
-
accountId: checkoutStore.accountId,
|
|
722
|
-
});
|
|
723
670
|
const result = await this.applePayService.startPaymentSession(paymentRequest, checkoutStore.authToken, checkoutStore.accountId);
|
|
724
|
-
console.log("[ApplePay Component] startPaymentSession result", result);
|
|
725
671
|
if (result.success) {
|
|
726
672
|
this.applePayCompleted.emit({
|
|
727
673
|
success: true,
|
|
@@ -751,7 +697,6 @@ const ApplePay = /*@__PURE__*/ proxyCustomElement(class ApplePay extends HTMLEle
|
|
|
751
697
|
}
|
|
752
698
|
finally {
|
|
753
699
|
this.isProcessing = false;
|
|
754
|
-
console.groupEnd();
|
|
755
700
|
}
|
|
756
701
|
};
|
|
757
702
|
}
|
|
@@ -760,13 +705,6 @@ const ApplePay = /*@__PURE__*/ proxyCustomElement(class ApplePay extends HTMLEle
|
|
|
760
705
|
this.isLoading = true;
|
|
761
706
|
this.error = null;
|
|
762
707
|
this.isConfigValid = true;
|
|
763
|
-
console.groupCollapsed('[ApplePay Component] initializeApplePay');
|
|
764
|
-
console.log('[ApplePay Component] checkout state snapshot:', {
|
|
765
|
-
paymentAmount: checkoutStore.paymentAmount,
|
|
766
|
-
paymentCurrency: checkoutStore.paymentCurrency,
|
|
767
|
-
hasAuthToken: Boolean(checkoutStore.authToken),
|
|
768
|
-
accountId: checkoutStore.accountId,
|
|
769
|
-
});
|
|
770
708
|
const hasRequiredConfig = Boolean(checkoutStore.paymentAmount) &&
|
|
771
709
|
Boolean(checkoutStore.paymentCurrency) &&
|
|
772
710
|
Boolean(checkoutStore.authToken);
|
|
@@ -781,22 +719,15 @@ const ApplePay = /*@__PURE__*/ proxyCustomElement(class ApplePay extends HTMLEle
|
|
|
781
719
|
});
|
|
782
720
|
this.applePayError.emit({ error: this.error, code: ApplePay.ErrorCode.CONFIG_ERROR });
|
|
783
721
|
this.isLoading = false;
|
|
784
|
-
console.groupEnd();
|
|
785
722
|
return;
|
|
786
723
|
}
|
|
787
724
|
this.isAvailable = ApplePayHelpers.isApplePaySupported();
|
|
788
725
|
this.canMakePayments = ApplePayHelpers.canMakePayments();
|
|
789
|
-
console.log('[ApplePay Component] support check:', {
|
|
790
|
-
isAvailable: this.isAvailable,
|
|
791
|
-
canMakePayments: this.canMakePayments,
|
|
792
|
-
hasApplePaySessionOnWindow: typeof window !== 'undefined' && 'ApplePaySession' in window,
|
|
793
|
-
});
|
|
794
726
|
if (!this.isAvailable) {
|
|
795
727
|
this.error = "Apple Pay is not supported on this device";
|
|
796
728
|
console.error(this.error);
|
|
797
729
|
this.applePayError.emit({ error: this.error, code: ApplePay.ErrorCode.NOT_SUPPORTED });
|
|
798
730
|
this.isLoading = false;
|
|
799
|
-
console.groupEnd();
|
|
800
731
|
return;
|
|
801
732
|
}
|
|
802
733
|
if (!this.canMakePayments) {
|
|
@@ -804,7 +735,6 @@ const ApplePay = /*@__PURE__*/ proxyCustomElement(class ApplePay extends HTMLEle
|
|
|
804
735
|
console.error(this.error);
|
|
805
736
|
this.applePayError.emit({ error: this.error, code: ApplePay.ErrorCode.NOT_AVAILABLE });
|
|
806
737
|
this.isLoading = false;
|
|
807
|
-
console.groupEnd();
|
|
808
738
|
return;
|
|
809
739
|
}
|
|
810
740
|
const applePayConfig = {
|
|
@@ -815,7 +745,6 @@ const ApplePay = /*@__PURE__*/ proxyCustomElement(class ApplePay extends HTMLEle
|
|
|
815
745
|
buttonType: this.buttonType,
|
|
816
746
|
buttonStyle: this.buttonStyle,
|
|
817
747
|
};
|
|
818
|
-
console.log('[ApplePay Component] initializing service with config:', applePayConfig);
|
|
819
748
|
this.applePayService = new ApplePayService();
|
|
820
749
|
this.applePayService.initialize(applePayConfig);
|
|
821
750
|
const hasActiveCard = await this.applePayService.canMakePaymentsWithActiveCard();
|
|
@@ -833,7 +762,6 @@ const ApplePay = /*@__PURE__*/ proxyCustomElement(class ApplePay extends HTMLEle
|
|
|
833
762
|
}
|
|
834
763
|
finally {
|
|
835
764
|
this.isLoading = false;
|
|
836
|
-
console.groupEnd();
|
|
837
765
|
}
|
|
838
766
|
}
|
|
839
767
|
async isSupported() {
|
|
@@ -853,7 +781,6 @@ const ApplePay = /*@__PURE__*/ proxyCustomElement(class ApplePay extends HTMLEle
|
|
|
853
781
|
render() {
|
|
854
782
|
if (!checkoutStore.applePayEnabled) {
|
|
855
783
|
// Render nothing when Apple Pay is disabled at the checkout settings level
|
|
856
|
-
console.log('[ApplePay Component] Apple Pay disabled in checkout settings; not rendering');
|
|
857
784
|
return null;
|
|
858
785
|
}
|
|
859
786
|
const isReady = !this.isLoading &&
|
|
@@ -861,7 +788,6 @@ const ApplePay = /*@__PURE__*/ proxyCustomElement(class ApplePay extends HTMLEle
|
|
|
861
788
|
this.canMakePayments &&
|
|
862
789
|
this.isConfigValid;
|
|
863
790
|
return (h(StyledHost, null, checkoutStore.checkoutLoaded && (h("script", { async: true, src: 'https://applepay.cdn-apple.com/jsapi/1.latest/apple-pay-sdk.js', onLoad: () => {
|
|
864
|
-
console.log('[ApplePay Component] Apple Pay SDK script loaded');
|
|
865
791
|
this.initializeApplePay();
|
|
866
792
|
} })), h("div", { class: 'apple-pay-container' }, h(ApplePaySkeleton, { isLoading: this.isLoading }), isReady && (h(ApplePayButton, { buttonType: this.buttonType, buttonStyle: this.buttonStyle, disabled: this.disabled, isProcessing: this.isProcessing, isAvailable: this.isAvailable, clickHandler: this.handleApplePayClick, width: this.width, height: this.height }))), h("style", null, `
|
|
867
793
|
.apple-pay-container {
|
|
@@ -58,10 +58,10 @@ const BankAccountForm = /*@__PURE__*/ proxyCustomElement(class BankAccountForm e
|
|
|
58
58
|
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
|
-
return (h(StyledHost, { key: '
|
|
61
|
+
return (h(StyledHost, { key: '62431aba939585a8a341942d9847e8d491b0a658' }, h(BankAccountFormSkeleton, { key: '2da8452c73e52a6fc67d80e483c40a2d0dd276f9', isReady: this.isReady }), h("hidden-input", { key: 'c34bc48ee7e1925ae272b5fe60fd362ddf2433eb' }), h("div", { key: '3fefe63e9f9c98d7e08e0ceac5df0f8008303aec', class: "container-fluid p-0", style: {
|
|
62
62
|
opacity: this.isReady ? '1' : '0',
|
|
63
63
|
height: this.isReady ? 'auto' : '0',
|
|
64
|
-
} }, h("div", { key: '
|
|
64
|
+
} }, h("div", { key: '6c19ea238eb0bff6b245f2f39028d651438c55d0', class: "row mb-3" }, h("iframe-input", { key: 'b5588dc21d24ec873fecedd91fbcb0344fbe324c', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), h("div", { key: '910f130a307449a3d60ef76eee6cc27fc86c3fe0', class: "row" }, h("iframe-input", { key: '72756b92912c3031cc472dee5bbf945f06c38920', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
|
|
65
65
|
}
|
|
66
66
|
}, [257, "justifi-bank-account-form", {
|
|
67
67
|
"iframeOrigin": [32],
|
|
@@ -32,6 +32,7 @@ const schemaCAN = (role) => create$3({
|
|
|
32
32
|
email: emailValidation.nullable(),
|
|
33
33
|
phone: phoneValidation.nullable(),
|
|
34
34
|
dob_full: dobValidation(role).nullable(),
|
|
35
|
+
ssn_last4: create$6().nullable(),
|
|
35
36
|
identification_number: makeIdentityNumberValidation(CountryCode.CAN).nullable(),
|
|
36
37
|
address: addressSchemaCAN(true),
|
|
37
38
|
});
|
|
@@ -41,8 +42,8 @@ const strictSchemaCAN = (role) => create$3({
|
|
|
41
42
|
email: emailValidation.required(`Enter ${role} email`),
|
|
42
43
|
phone: phoneValidation.required('Enter phone number'),
|
|
43
44
|
dob_full: dobValidation(role).required('Enter date of birth'),
|
|
44
|
-
|
|
45
|
-
|
|
45
|
+
ssn_last4: create$6().nullable(),
|
|
46
|
+
identification_number: makeIdentityNumberValidation(CountryCode.CAN),
|
|
46
47
|
address: addressSchemaCAN(false),
|
|
47
48
|
});
|
|
48
49
|
const identitySchemaUSA = (role, allowOptionalFields) => allowOptionalFields ? schemaUSA(role) : strictSchemaUSA(role);
|
|
@@ -30,12 +30,12 @@ const RepresentativeFormInputs = /*@__PURE__*/ proxyCustomElement(class Represen
|
|
|
30
30
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
31
31
|
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: () => {
|
|
32
32
|
this.isEditingIdentification = true;
|
|
33
|
-
// Clear
|
|
33
|
+
// Clear current value to force validation
|
|
34
34
|
updateFormValues(this.formController, {
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
identification_number: '',
|
|
36
|
+
ssn_last4: null
|
|
37
37
|
});
|
|
38
|
-
} }, "Change"))))), h("div", { key: '
|
|
38
|
+
} }, "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 }))))));
|
|
39
39
|
}
|
|
40
40
|
}, [256, "justifi-business-representative-form-inputs", {
|
|
41
41
|
"representativeDefaultValue": [8, "representative-default-value"],
|
|
@@ -41,7 +41,7 @@ const CancellationPolicy = /*@__PURE__*/ proxyCustomElement(class CancellationPo
|
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
43
|
var _a, _b, _c;
|
|
44
|
-
return (h("div", { key: '
|
|
44
|
+
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 })))));
|
|
45
45
|
}
|
|
46
46
|
}, [256, "justifi-cancellation-policy", {
|
|
47
47
|
"disputeResponse": [8, "dispute-response"],
|
|
@@ -62,10 +62,10 @@ const JustifiCardForm = /*@__PURE__*/ proxyCustomElement(class JustifiCardForm e
|
|
|
62
62
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
63
63
|
}
|
|
64
64
|
render() {
|
|
65
|
-
return (h(StyledHost, { key: '
|
|
65
|
+
return (h(StyledHost, { key: '0db53b1dace76a8e02bab9f65fdc70e20f440a62' }, h(CardFormSkeleton, { key: 'ea756f1799b01b81a678ce5bd2592551edd81211', isReady: this.isReady }), h("hidden-input", { key: 'a6203630db26bfbb683e2b45174c79d753154eda' }), h("div", { key: 'dbb6328ba3a27106474f6b9af6fc3c347b99ae7d', class: "container-fluid p-0", style: {
|
|
66
66
|
opacity: this.isReady ? '1' : '0',
|
|
67
67
|
height: this.isReady ? 'auto' : '0',
|
|
68
|
-
} }, h("div", { key: '
|
|
68
|
+
} }, h("div", { key: '64055e42612ce94da35022d7e8314ed917f90f8a', class: "mb-3" }, h("iframe-input", { key: 'e99008d298b6ec6e22ff5a4e73042e3e8805f09b', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: '34ed1849877a47fe6ec32f443472fa9c913dae67', class: "row" }, h("div", { key: '39bfdd5c8dd6271315a09cd3022083fe4b45f5ea', class: "col-4 align-content-end" }, h("iframe-input", { key: '981b65ebd142396312d09df8927fd5d08a5dea72', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: 'a6fee6c1cc609b665b3ba9935190a43a118c5e5c', class: "col-4 align-content-end" }, h("iframe-input", { key: '257b738139e182dc6e9f6a6893f8b6a0bc3f6b69', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: '523316b64f673cdf89b5d01c1ecf4cf25ccef246', class: "col-4 align-content-end" }, h("iframe-input", { key: '37305b54e421d759ded57b0f9de7743a07be4b5b', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
|
|
69
69
|
}
|
|
70
70
|
}, [257, "justifi-card-form", {
|
|
71
71
|
"isReady": [32],
|
|
@@ -72,6 +72,23 @@ function getAvailablePaymentMethodTypes() {
|
|
|
72
72
|
}
|
|
73
73
|
return methods;
|
|
74
74
|
}
|
|
75
|
+
function getCheckoutState() {
|
|
76
|
+
return {
|
|
77
|
+
selectedPaymentMethod: checkoutStore.selectedPaymentMethod,
|
|
78
|
+
paymentAmount: checkoutStore.paymentAmount,
|
|
79
|
+
totalAmount: checkoutStore.totalAmount,
|
|
80
|
+
paymentCurrency: checkoutStore.paymentCurrency,
|
|
81
|
+
paymentDescription: checkoutStore.paymentDescription,
|
|
82
|
+
savedPaymentMethods: checkoutStore.paymentMethods,
|
|
83
|
+
savePaymentMethod: checkoutStore.savePaymentMethod,
|
|
84
|
+
bnplEnabled: checkoutStore.bnplEnabled,
|
|
85
|
+
applePayEnabled: checkoutStore.applePayEnabled,
|
|
86
|
+
insuranceEnabled: checkoutStore.insuranceEnabled,
|
|
87
|
+
disableBankAccount: checkoutStore.disableBankAccount,
|
|
88
|
+
disableCreditCard: checkoutStore.disableCreditCard,
|
|
89
|
+
disablePaymentMethodGroup: checkoutStore.disablePaymentMethodGroup,
|
|
90
|
+
};
|
|
91
|
+
}
|
|
75
92
|
function onAnyChange(callback) {
|
|
76
93
|
Object.keys(initialState).forEach((key) => {
|
|
77
94
|
// @ts-ignore - onChange is generically typed by stencil/store but not exported here
|
|
@@ -79,4 +96,4 @@ function onAnyChange(callback) {
|
|
|
79
96
|
});
|
|
80
97
|
}
|
|
81
98
|
|
|
82
|
-
export {
|
|
99
|
+
export { getCheckoutState as a, onChange as b, checkoutStore as c, getAvailablePaymentMethodTypes as g, onAnyChange as o };
|
|
@@ -1875,7 +1875,7 @@ const CustomPopper = /*@__PURE__*/ proxyCustomElement(class CustomPopper extends
|
|
|
1875
1875
|
this.hideEvent.emit();
|
|
1876
1876
|
}
|
|
1877
1877
|
render() {
|
|
1878
|
-
return (h("div", { key: '
|
|
1878
|
+
return (h("div", { key: 'e5ce1fb22e1929707428706dda084ffdbfe3010a' }, h("style", { key: '556af497b8ebd0b82b3e4a44483953243aa5cb0a' }, `
|
|
1879
1879
|
.popper-content {
|
|
1880
1880
|
display: none;
|
|
1881
1881
|
}
|
|
@@ -1883,7 +1883,7 @@ const CustomPopper = /*@__PURE__*/ proxyCustomElement(class CustomPopper extends
|
|
|
1883
1883
|
display: block;
|
|
1884
1884
|
z-index: 1030;
|
|
1885
1885
|
}
|
|
1886
|
-
`), h("div", { key: '
|
|
1886
|
+
`), h("div", { key: '7765427c69a8d6c0c8e3c1f0db49009b05ac05b7', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: '83226bf40f66021f7d628ee36ff6b501dc1ff97f' }))));
|
|
1887
1887
|
}
|
|
1888
1888
|
}, [260, "custom-popper", {
|
|
1889
1889
|
"placement": [1],
|
|
@@ -43,7 +43,7 @@ const CustomerDetails = /*@__PURE__*/ proxyCustomElement(class CustomerDetails e
|
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
45
|
var _a, _b, _c, _d, _e;
|
|
46
|
-
return (h("div", { key: '
|
|
46
|
+
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 })))));
|
|
47
47
|
}
|
|
48
48
|
}, [256, "justifi-customer-details", {
|
|
49
49
|
"disputeResponse": [8, "dispute-response"],
|
|
@@ -43,9 +43,24 @@ const DisputeNotification = /*@__PURE__*/ proxyCustomElement(class DisputeNotifi
|
|
|
43
43
|
initiateRespondToDispute() {
|
|
44
44
|
this.clickEvent.emit({ name: DisputeManagementClickActions.respondToDispute });
|
|
45
45
|
}
|
|
46
|
+
isDueDatePassed() {
|
|
47
|
+
var _a;
|
|
48
|
+
if (!((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.due_date)) {
|
|
49
|
+
return false;
|
|
50
|
+
}
|
|
51
|
+
// Fix for JavaScript Date object parsing
|
|
52
|
+
// https://stackoverflow.com/a/31732581
|
|
53
|
+
const dueDate = new Date(this.dispute.due_date.replace(/-/g, '\/').replace(/T.+/, ''));
|
|
54
|
+
const today = new Date();
|
|
55
|
+
// Reset time to compare only dates
|
|
56
|
+
today.setHours(0, 0, 0, 0);
|
|
57
|
+
dueDate.setHours(0, 0, 0, 0);
|
|
58
|
+
return dueDate < today;
|
|
59
|
+
}
|
|
46
60
|
render() {
|
|
47
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
48
|
-
return (h(StyledHost, { key: '
|
|
61
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
62
|
+
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 :
|
|
63
|
+
_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.")))));
|
|
49
64
|
}
|
|
50
65
|
}, [257, "justifi-dispute-notification", {
|
|
51
66
|
"dispute": [16],
|
|
@@ -180,7 +180,7 @@ const DisputeResponseCore = /*@__PURE__*/ proxyCustomElement(class DisputeRespon
|
|
|
180
180
|
return this.currentStep === 0;
|
|
181
181
|
}
|
|
182
182
|
render() {
|
|
183
|
-
return (h("div", { key: '
|
|
183
|
+
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"))))));
|
|
184
184
|
}
|
|
185
185
|
}, [256, "justifi-dispute-response-core", {
|
|
186
186
|
"updateDisputeResponse": [16],
|
|
@@ -79,7 +79,7 @@ const DisputeResponse = /*@__PURE__*/ proxyCustomElement(class DisputeResponse e
|
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
render() {
|
|
82
|
-
return (h(StyledHost, { key: '
|
|
82
|
+
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 })));
|
|
83
83
|
}
|
|
84
84
|
;
|
|
85
85
|
static get watchers() { return {
|
|
@@ -42,7 +42,7 @@ const DuplicateCharge = /*@__PURE__*/ proxyCustomElement(class DuplicateCharge e
|
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
44
|
var _a, _b, _c;
|
|
45
|
-
return (h("div", { key: '
|
|
45
|
+
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 })))));
|
|
46
46
|
}
|
|
47
47
|
}, [256, "justifi-duplicate-charge", {
|
|
48
48
|
"disputeResponse": [8, "dispute-response"],
|
|
@@ -39,7 +39,7 @@ const ElectronicEvidence = /*@__PURE__*/ proxyCustomElement(class ElectronicEvid
|
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
41
|
var _a, _b;
|
|
42
|
-
return (h("div", { key: '
|
|
42
|
+
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 })))));
|
|
43
43
|
}
|
|
44
44
|
}, [256, "justifi-electronic-evidence", {
|
|
45
45
|
"disputeResponse": [8, "dispute-response"],
|
|
@@ -54,10 +54,10 @@ const DateInput = /*@__PURE__*/ proxyCustomElement(class DateInput extends HTMLE
|
|
|
54
54
|
return part;
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
|
-
return (h(Host, { key: '
|
|
57
|
+
return (h(Host, { key: 'c1db3dd4bca7d9bf6dcbf61b0b43793232caae2f' }, h("div", { key: '4e00566fe24c7db972bcc7a99eaa1aa14c968f2b', class: "form-group d-flex flex-column" }, h("div", { key: '30e022fb522a6f69d04fadebb893c0377c0c580e', class: "d-flex gap-2" }, h("label", { key: 'f43b0d3c1e53d6c6e99dd26ca1dc61b601617e2c', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '39ab2bcd705b6d917dad575c9e09594d2a6ff199', helpText: this.helpText })), h("input", { key: '54d475675a44f28a05315c23ed07b7e61717c6a9', type: this.showTime ? 'datetime-local' : 'date', ref: el => (this.dateInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
58
58
|
this.isFocused = false;
|
|
59
59
|
this.formControlBlur.emit();
|
|
60
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h(FormControlErrorText, { key: '
|
|
60
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h(FormControlErrorText, { key: '91455fa726313c5316a91d395209df04d6927a41', errorText: this.errorText, name: this.name }))));
|
|
61
61
|
}
|
|
62
62
|
static get watchers() { return {
|
|
63
63
|
"defaultValue": ["handleDefaultValueChange"]
|
|
@@ -13,7 +13,7 @@ const FileInput = /*@__PURE__*/ proxyCustomElement(class FileInput extends HTMLE
|
|
|
13
13
|
this.formControlBlur = createEvent(this, "formControlBlur", 7);
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: '7ba26de4dc1fc18b3eec2ea364fe26b1036b4f51', exportparts: "label,input,input-invalid" }, h("div", { key: 'ca125e36caa36d14f7d18c3048d00699af79bf35', class: "form-group d-flex flex-column" }, h("div", { key: '07cefe5047839cf9ec35682c01ad5d89a691ac4f', class: "d-flex align-items-start gap-2" }, h("label", { key: '7aa93bf0faa4759f5e94bf8420e52f50cbe9c07e', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '88715a6ee07d8196602e951aa0054800f22ba942', helpText: this.helpText })), h("input", { key: '79c464c90f0f9ef4da01ac0d7703763749538191', type: "file", name: this.name, part: `input ${this.errorText ? "input-invalid " : ""}${this.disabled ? "input-disabled" : ""}`, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onBlur: () => this.formControlBlur.emit(), onChange: () => this.errorText = "" }), h(FormControlErrorText, { key: 'c979151bc382eaf2b542712d2725f6b7affd9bcb', errorText: this.errorText, name: this.name }))));
|
|
17
17
|
}
|
|
18
18
|
get el() { return this; }
|
|
19
19
|
}, [256, "form-control-file-v2", {
|