@justifi/webcomponents 6.2.0-rc.2 → 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-DHOBcjoo.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 +28 -17
- 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-BacF7Q_h.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/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/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-D2zmagAo.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 +28 -17
- 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-C7cvPZSk.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/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-3f7703bf.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-4180a11b.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-d8bef4b7.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-ea746fa0.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-f222426b.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-605e0aa1.entry.js +1 -0
- 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-694b24e5.entry.js → p-7c78bb5e.entry.js} +1 -1
- 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-6a247ab5.entry.js → p-97250c61.entry.js} +1 -1
- package/dist/webcomponents/{p-c4fb2fe8.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-CeSmGv6o.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-ac1a4470.entry.js +1 -0
- package/dist/webcomponents/{p-8a156528.entry.js → p-af48a6bb.entry.js} +1 -1
- package/dist/webcomponents/p-b15f80c2.entry.js +1 -0
- package/dist/webcomponents/{p-24621c40.entry.js → p-bc5d225e.entry.js} +1 -1
- package/dist/webcomponents/{p-be53e425.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-33bf5532.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-005a79d5.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-641100ac.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-d8ef1d2b.entry.js → p-edd335bb.entry.js} +1 -1
- 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-07f7aaf6.entry.js +0 -1
- package/dist/webcomponents/p-0fgTPVV0.js +0 -1
- package/dist/webcomponents/p-14e26a6c.entry.js +0 -1
- package/dist/webcomponents/p-1c362f36.entry.js +0 -1
- package/dist/webcomponents/p-3467fa38.entry.js +0 -1
- package/dist/webcomponents/p-3af0b0ad.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-6a910d9b.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-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-C7cvPZSk.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-b4b5dd24.entry.js +0 -1
- package/dist/webcomponents/p-c6e64ed5.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-cd20dc8f.entry.js +0 -1
- package/dist/webcomponents/p-d1e99aac.entry.js +0 -1
- package/dist/webcomponents/p-d50f8328.entry.js +0 -1
- package/dist/webcomponents/p-d7558874.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-fdf5a349.entry.js +0 -1
- package/dist/webcomponents/p-lKnUT24T.js +0 -1
package/dist/module/package.js
CHANGED
|
@@ -62,16 +62,16 @@ const PaymentDetailsCore = /*@__PURE__*/ proxyCustomElement(class PaymentDetails
|
|
|
62
62
|
return this.payment.status;
|
|
63
63
|
}
|
|
64
64
|
render() {
|
|
65
|
-
return (h(StyledHost, { key: '
|
|
66
|
-
this.payment && (h("justifi-details", { key: '
|
|
67
|
-
h(DetailSectionTitle, { key: '
|
|
68
|
-
h("div", { key: '
|
|
65
|
+
return (h(StyledHost, { key: 'eb7c7b9e01af253487d3ade865353b5859782a8c' }, this.loading && h(PaymentDetailsLoading, { key: '4f042d9998e59085b210a7ea488268078ca12fb8' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
|
|
66
|
+
this.payment && (h("justifi-details", { key: 'd35f98ed3156990336c55d3986a2f1ea1fc2a0e6', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: 'f1fd72d9b523dc6db719d9d577b3145399fff317', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPaymentStatusToBadge(this.PaymentStatus), this.payment.expedited ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : null)), title: this.payment.formattedPaymentAmount(this.payment.amount) }, h(EntityHeadInfoItem, { key: 'ce037497e2bf07c84353017cbee48c280c398d71', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: 'f9e94a05bb8c67b20f72b0cc3428d87148271469', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: '3a80e64ee5a8e4b4e07acfd12b10a3d4b3af38b9', title: "ID", value: this.payment.id })), h("div", { key: 'ac09a688d576d611c96d74155ecb5c6183b57e9b', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '503d2152512c2bccd6966dc2f54c1b2d1af9d694', sectionTitle: "Details" }), h("div", { key: '3a4c435ac9ae7f81655dd847423d7f34a449941b', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: '490549cdc21a4b42d66153e5bba183e1fdfbff20', title: "Amount", value: this.payment.formattedPaymentAmount(this.payment.amount) }), h(DetailItem, { key: '0665f56ec7c62895c911bdaa191f063cd0da6529', title: "Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: 'b30dfafd50407f12c381083d43e3d7b8e0b14d7f', title: "Refunded", value: this.payment.formattedPaymentAmount(this.payment.amount_refunded) }), h(DetailItem, { key: 'ba2b91ec3a69b2449b7a5c2d1c5a9a4a4af1595e', title: "Net", value: this.payment.formattedPaymentAmount(this.payment.balance) }), h(DetailItem, { key: '5dc1d4c9fa4fbc9a267240cfd716a5ed8d741775', title: "Status", value: MapPaymentStatusToBadge(this.PaymentStatus) }), h(DetailItem, { key: '3199289d3ec0e9dd9a1daab869755fa41471e20d', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: 'f43df0b9c69a499793d7912a201503ea034700a7', title: "Processing Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: '1dff44ec556c75abadbbae41458c48abf5092891', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: '0d4fd013b36a2d64448fcbe40189ee8cc9c411da', title: "Description", value: this.payment.description }), h(DetailItem, { key: '8276ee51adbe60c0303b3a2b7dfc15abda399449', title: "Expedited", value: this.payment.expedited ? 'Yes' : 'No' })), this.payment.payment_method.card && [
|
|
67
|
+
h(DetailSectionTitle, { key: '93391e8fb0fdce39c2d849223f2f2dafbc794b8e', sectionTitle: "Payment Method" }),
|
|
68
|
+
h("div", { key: '30b9228366b6160327f27b0a86c15c9f8ba9bbed', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: '21fa5e3dd6798004e4e823c5e64b3b7f761abbf5', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: '8a0369f2817d4cdf51e37b2c78a201bf3f9d3255', title: "Payment Type", value: "Card" }), h(DetailItem, { key: '79728446f55d4dbe2565ed1dd07526b5fa5196fa', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: '0a946c8984a62c940bf100cb461a038af2e05a5d', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: 'b8cbc3bcb416520ec2cbbcb94e54cbba1fbe7523', title: "Cardholder", value: this.payment.payment_method.payersName }))
|
|
69
69
|
], this.payment.payment_method.bank_account && [
|
|
70
|
-
h(DetailSectionTitle, { key: '
|
|
71
|
-
h("div", { key: '
|
|
70
|
+
h(DetailSectionTitle, { key: '18f199f9e7b6080c2c787093e5e160cb26398ce2', sectionTitle: "Payment Method" }),
|
|
71
|
+
h("div", { key: '0d22d79505a4c7d67bdb27076539e29fd3ebd0cd', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: 'f3cf2263584b5fa0cf5215fd53496228f974361c', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: 'c1c1b9dd9a7dad9fc6b5ec5a913820772f30a1da', title: "Last 4 Numbers", value: this.payment.last_four_digits }), h(DetailItem, { key: '7601cf0c2abb01de76e53fc3c629bc398da748a0', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: 'bc82630978357bde8bf838ccd971d0d485c3d377', title: "Account Owner", value: this.payment.payment_method.payersName }))
|
|
72
72
|
], this.payment.metadata && [
|
|
73
|
-
h(DetailSectionTitle, { key: '
|
|
74
|
-
h("div", { key: '
|
|
73
|
+
h(DetailSectionTitle, { key: 'ce0765f56d44b4fe78e71409d1719fbd42f4ab20', sectionTitle: 'Metadata' }),
|
|
74
|
+
h("div", { key: '7dd583a298981969865430fb3695629998e3802b', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'ecc3461050fd31015ac5bf743b60b0936ab2cd9c', metadata: this.payment.metadata }))
|
|
75
75
|
])))));
|
|
76
76
|
}
|
|
77
77
|
static get watchers() { return {
|
|
@@ -16,7 +16,7 @@ const PaymentMethodOption$1 = /*@__PURE__*/ proxyCustomElement(class PaymentMeth
|
|
|
16
16
|
this.__attachShadow();
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h(StyledHost, { key: '
|
|
19
|
+
return (h(StyledHost, { key: '8885a071427ab2d9e6ae371f7706ada2e4f5e5bc', class: "payment-method" }, h("div", { key: '1ccfb0f7ffa2f357117e749f6a80c203406718b5', class: "radio-list-item p-3", part: radioListItem, onClick: this.clickHandler, hidden: this.radioButtonHidden }, h("form-control-radio", { key: '785ee47041948799fedd4a49ce8982db04002f89', name: "paymentMethodType", value: this.paymentMethodOptionId, checked: this.isSelected, label: this.label }))));
|
|
20
20
|
}
|
|
21
21
|
}, [257, "payment-method-option", {
|
|
22
22
|
"paymentMethodOptionId": [1, "payment-method-option-id"],
|
|
@@ -138,7 +138,7 @@ const PaymentsListCore = /*@__PURE__*/ proxyCustomElement(class PaymentsListCore
|
|
|
138
138
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
139
139
|
}
|
|
140
140
|
render() {
|
|
141
|
-
return (h(TableWrapper, { key: '
|
|
141
|
+
return (h(TableWrapper, { key: '17ceef0f0fd1dc4fb8e8f8e13fde16b81ab40fa5' }, h(TableComponent, { key: 'd5031ba7e55422997c8a5641e9fe3acd4fb3a9c0' }, h(TableHead, { key: 'cf74e7ec087e4d5ada18975f5c970269f14472f1' }, h(TableHeadRow, { key: 'f2c9932dbb047448527064c5ecc22edf56e31d01' }, this.paymentsTable.columnData.map((column) => column))), h(TableBody, { key: 'c709386eca9d7063bb9e1c986b66e2189ab78e24' }, h(TableLoadingState, { key: '2bec872c8fed48c65081789151d7238ccd24f4b2', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '4367380db418574ec2ac553c2fe8b7edb360f82b', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: '55ae13377d95739b2226d57e134bda3e32b73df4', columnSpan: this.paymentsTable.columnData.length, errorMessage: this.errorMessage }), this.showRowData && this.paymentsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '636674049a9f97fe725cc471125386478f910b86' }, h(TableFootRow, { key: 'bb5f77ad9f89f5e2d77a930fc9baef222473d2c6' }, h(TableFootCell, { key: 'a9cbead53a129e23b6f530c209578484e1def2b3', colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: '1370967dcdf1bbeb2aa6a35f2371e68a00571744', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
142
142
|
}
|
|
143
143
|
static get watchers() { return {
|
|
144
144
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -77,9 +77,9 @@ const PayoutDetailsCore = /*@__PURE__*/ proxyCustomElement(class PayoutDetailsCo
|
|
|
77
77
|
}
|
|
78
78
|
render() {
|
|
79
79
|
var _a;
|
|
80
|
-
return (h(StyledHost, { key: '
|
|
81
|
-
h(DetailSectionTitle, { key: '
|
|
82
|
-
h("div", { key: '
|
|
80
|
+
return (h(StyledHost, { key: '12c258bd10e631ac1b2fb43c4e4d4854b02d8d01' }, this.loading && h(PayoutDetailsLoading, { key: '81c217eace20fe276d02d391f930a2684aa12385' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: 'df1bd819a299df69c0bf5924aa21ea760668d46b', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '67544da1ecdb4beee16911cd49009ae3415c576d', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), this.payout.settlement_priority === 'expedited' ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : (h(Badge, { variant: BadgeVariant.SECONDARY, title: "Standard", text: "Standard" })))), title: this.payout.formattedPaymentAmount(this.payout.amount) }, h(EntityHeadInfoItem, { key: '64a28ab7e1bcc90d9487dd229cd07c411a50e4c7', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: 'bcb74d904482f3dd63d1da918b700c1badf8bbd5', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: '165b296bdebf16389ef29df825cb24ba34f14556', title: "ID", value: this.payout.id }), h("div", { key: 'bbef430ca28eebc6c120f2f68200219dd1634660', class: "m-4" }, h(Button, { key: '1e51b1278a8f220c2376a004bbc9476307567c74', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: '6dd5287d4355a84f0777f701c5b99bc5149954ed', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '92af1ae82f5d53b1e50705aa18590528b19f6455', sectionTitle: "Details" }), h("div", { key: '73e1a84e7b8baabb7b6cc307d2b7fba5457514a9', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: 'b223b147e8cc0a0849edd66a0b6deec2bf9ec55d', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: '766729d3cd7b85b5635e6bfa4091455a84595635', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: '7e4d537a26520d2c06ffadcd7658bb4a8e17b452', title: "Payout Method", value: this.formatMethod(this.payout.delivery_method) }), h(DetailItem, { key: '5fc253ad396300938f2cd95decab094d4da19d5b', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: '66c2979dbdf94ba0a53aaca5896d352bc0a5606b', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: 'f0ca6a9c6d93b9841e1220dfde1182cb511c4594', sectionTitle: "Account" }), h("div", { key: 'ad64b1bc364c9d9c1c64b2b1c5dce83f25fb066b', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: '6ac6c8251641e6d720ff82e0dfc9dbed255a1f0a', title: "ID", value: this.payout.account_id, onClick: this.enableRecordClick ? () => this.handleRecordClick(this.payout.account_id) : undefined }), h(DetailItem, { key: 'b955d27a84e0f43693e2474ee4ceab529d7eabda', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: 'c06e3a07965683cefd3dcd4e96c16566f286b230', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '27cacdfeb07a3e27d7a059fedfa49470eb00ce05', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: '53442037b6e8c27b78b3da1d0bd13527e9283edb', title: "Account Number", value: `**** ${this.payout.bank_account.account_number_last4}` })), this.payout.metadata && [
|
|
81
|
+
h(DetailSectionTitle, { key: '82d65d70219404fbe2eb9a997fa309be02d58046', sectionTitle: 'Metadata' }),
|
|
82
|
+
h("div", { key: 'b1d86b363afa8a5cf60176b3eba688d2d85b94d4', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'ff41f465b338f8cbbaafe4fa60f27a93e3ebde77', metadata: this.payout.metadata }))
|
|
83
83
|
])))));
|
|
84
84
|
}
|
|
85
85
|
static get watchers() { return {
|
|
@@ -173,7 +173,7 @@ const PayoutsListCore = /*@__PURE__*/ proxyCustomElement(class PayoutsListCore e
|
|
|
173
173
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
174
174
|
}
|
|
175
175
|
render() {
|
|
176
|
-
return (h(TableWrapper, { key: '
|
|
176
|
+
return (h(TableWrapper, { key: '12ea39142a446522d219ae4504ab2cade5824b3f' }, h(TableComponent, { key: '0ef8b5f3716776ee0fe41e9576a6c97728757142' }, h(TableHead, { key: '6024ecb321bf7d42a6940baefdab0492c87c77ab' }, h(TableHeadRow, { key: 'b80ac981c1f8ad5e06fc1c060961e82b47ac5501' }, this.payoutsTable.columnData.map((column) => column))), h(TableBody, { key: '9b64e1e8af4fff2f78a8768361d9e3cb0397c493' }, h(TableLoadingState, { key: 'b28518a05714d5671cd094c2b8462c8fc1af5039', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '97845bb480292be454464092ebaddd90bd274821', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: '89b1918fc32806dbc786c6de23bc1d8ac4aa359b', columnSpan: this.payoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.payoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: 'bf545d589dfd579fcbfde145fee8e667478f2673' }, h(TableFootRow, { key: '05e52684f8923f0dfe0bd3fff3c8f72421ef6485' }, h(TableFootCell, { key: '967d53af83043748db6459f6cd7f153d9d713f37', colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: '55e154366e2df871c3dcfdd4b93dcaa11da216eb', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
177
177
|
}
|
|
178
178
|
static get watchers() { return {
|
|
179
179
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import { c as checkoutStore,
|
|
2
|
+
import { c as checkoutStore, b as onChange } from './checkout.store.js';
|
|
3
3
|
import { S as StyledHost } from './styled-host.js';
|
|
4
4
|
import './details.js';
|
|
5
5
|
import './event-types.js';
|
|
@@ -41,7 +41,7 @@ const ProductOrService = /*@__PURE__*/ proxyCustomElement(class ProductOrService
|
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
43
|
var _a, _b, _c;
|
|
44
|
-
return (h("div", { key: '
|
|
44
|
+
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 })))));
|
|
45
45
|
}
|
|
46
46
|
}, [256, "justifi-product-or-service", {
|
|
47
47
|
"disputeResponse": [8, "dispute-response"],
|
|
@@ -41,7 +41,7 @@ const RefundPolicy = /*@__PURE__*/ proxyCustomElement(class RefundPolicy extends
|
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
43
|
var _a, _b, _c, _d;
|
|
44
|
-
return (h("div", { key: '
|
|
44
|
+
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 })))));
|
|
45
45
|
}
|
|
46
46
|
}, [256, "justifi-refund-policy", {
|
|
47
47
|
"disputeResponse": [8, "dispute-response"],
|
|
@@ -67,6 +67,11 @@ const makeIdentityNumberValidation = (country) => {
|
|
|
67
67
|
return create$6()
|
|
68
68
|
.matches(numbersOnlyRegex, 'Enter valid SIN')
|
|
69
69
|
.length(countryValidation[country].identityDigits, 'Enter valid SIN')
|
|
70
|
+
.when('ssn_last4', {
|
|
71
|
+
is: (val) => !val || val.length === 0,
|
|
72
|
+
then: (schema) => schema.required('Enter SIN'),
|
|
73
|
+
otherwise: (schema) => schema.nullable(),
|
|
74
|
+
})
|
|
70
75
|
.test('not-repeat', 'Enter valid SIN', (value) => {
|
|
71
76
|
return !/^(\d)\1+$/.test(value);
|
|
72
77
|
})
|
|
@@ -46,7 +46,7 @@ const ShippingDetails = /*@__PURE__*/ proxyCustomElement(class ShippingDetails e
|
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
48
|
var _a, _b, _c, _d, _e;
|
|
49
|
-
return (h("div", { key: '
|
|
49
|
+
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 })))));
|
|
50
50
|
}
|
|
51
51
|
}, [256, "justifi-shipping-details", {
|
|
52
52
|
"disputeResponse": [8, "dispute-response"],
|
package/dist/module/summary.js
CHANGED
|
@@ -16,7 +16,7 @@ const Summary = /*@__PURE__*/ proxyCustomElement(class Summary extends HTMLEleme
|
|
|
16
16
|
this.__attachShadow();
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h(StyledHost, { key: '
|
|
19
|
+
return (h(StyledHost, { key: 'fd2c61dcafdc800d0064c19d29c6e007aed5adb5' }, h("section", { key: 'f2abef1233f3ccad3982d10c61ec5765e13e27a5' }, h("div", { key: '713d66ef6f7e2fc73135e765069baba6df976f52' }, h("div", { key: 'b8dd28f257948aa317366fe3ea6d2bc4911ef164', part: text }, checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.paymentDescription), h("div", { key: '675676b40de7dc27d07bfafc0eee77eb855a3d26' }, h("span", { key: 'cbd47994d9c3f1518741a298de3f5d62a0ad5313', part: text }, "Total"), "\u00A0", h("span", { key: '614748853f666f1b072d4fa9b14ee15ef5717112', part: text }, formatCurrency(+(checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.totalAmount))))))));
|
|
20
20
|
}
|
|
21
21
|
}, [257, "justifi-checkout-summary"]);
|
|
22
22
|
function defineCustomElement() {
|
|
@@ -164,7 +164,7 @@ const TerminalOrdersListCore = /*@__PURE__*/ proxyCustomElement(class TerminalOr
|
|
|
164
164
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
165
165
|
}
|
|
166
166
|
render() {
|
|
167
|
-
return (h(TableWrapper, { key: '
|
|
167
|
+
return (h(TableWrapper, { key: 'e613f15a7f21b62df83874e361aed492c79f09a7' }, h(TableComponent, { key: 'f44650f404395a9cdef96012a544a16d76dff351' }, h(TableHead, { key: '690ce3189e7e6531e5a60834ba913c281aa95f08' }, h(TableHeadRow, { key: '01260cb573cd36571ab6c6b4952f8202a238f914' }, this.terminalOrdersTable.columnData.map((column) => column))), h(TableBody, { key: '130c3ae63b1b84568eb559eba42bd355d41264cb' }, h(TableLoadingState, { key: 'b6fa756110c9c046c197aac95a1555ef395d558c', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '2b8cdf202bb62469590b8d2dfae808fad1750ab1', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), h(TableErrorState, { key: '43acaccaa17dd2561b05ec3f4f2fa2e8f62dd7d0', columnSpan: this.terminalOrdersTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalOrdersTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '95e9e88622ecf6e32d20a6636d9a8d9a6d637710' }, h(TableFootRow, { key: '4ad82db29c1110099872b8a740c5d3fcf716cffd' }, h(TableFootCell, { key: '6aa900cf7752919f1ec4844bd6f0e5d6ad73c2b2', colSpan: this.terminalOrdersTable.columnData.length }, h("pagination-menu", { key: 'c17bc0926e4cdaf6158287282ae090e00e456f59', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
168
168
|
}
|
|
169
169
|
static get watchers() { return {
|
|
170
170
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -26,7 +26,7 @@ const TerminalQuantitySelector = /*@__PURE__*/ proxyCustomElement(class Terminal
|
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (h("div", { key: '
|
|
29
|
+
return (h("div", { key: 'e7a0bf077aca5a2ff095caf70457a5353995998e', class: "rounded shadow-sm card p-2", part: card }, h("div", { key: '3ad7ac7493b73da04b071756fd4ad38be0afae9e', class: "d-flex gap-3" }, h("div", { key: '568ed695946d70b84309772cbdb7b3647d227208', class: "d-flex align-items-center" }, h("img", { key: '1b93058757c815f862ab0cb2640b7c2eb7bc216f', src: this.imageUrl, alt: this.modelName, height: 75, width: 75, part: image })), h("div", { key: '014671ad4644fdd1cb92f07ca0c642a6138033ad', class: "d-flex flex-column flex-grow-1 gap-3 p-4 justify-content-center" }, h("div", { key: '5d1bd75fb2c730dee13979d1811bdac2ced8ea6a', class: "row" }, h("div", { key: '0dcc849ccfade11b1421a3c04b845b8d60f6061f', class: "col-6 d-flex gap-2" }, this.modelName, h("form-control-tooltip", { key: '5e93951b101ea98e55b232b798d94de226146ff2', helpText: this.description })), h("div", { key: '4df172c04c7d8d7d7de5dda392824d3af005f60d', class: "col-6 d-flex justify-content-end align-items-center" }, h("button", { key: '0e449f9467334d2470f835ec72f3e28f1dfc835d', class: "p-0 minus btn", onClick: this.removeUnit, part: buttonLink }, "-"), h("div", { key: 'ca1947fcb27d320063a682220f7c592361d21c02', class: "w-25 text-center" }, this.selectedQuantity), h("button", { key: 'f2119205d7ad524730ddf429083dc65b86d46251', class: "p-0 plus btn", onClick: this.addUnit, part: buttonLink }, "+")))))));
|
|
30
30
|
}
|
|
31
31
|
}, [256, "terminal-quantity-selector", {
|
|
32
32
|
"modelName": [1, "model-name"],
|
|
@@ -187,7 +187,7 @@ const TerminalsListCore = /*@__PURE__*/ proxyCustomElement(class TerminalsListCo
|
|
|
187
187
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
188
188
|
}
|
|
189
189
|
render() {
|
|
190
|
-
return (h(TableWrapper, { key: '
|
|
190
|
+
return (h(TableWrapper, { key: '7e7b972d8a3c58efc8fb40f1d624ada5a20e71ca' }, h(TableComponent, { key: 'e778996b05716c01f44b98da22f2fe3b58456454' }, h(TableHead, { key: 'd01507e960cfc8bbc8d728817681fbfc4fb2e9b7' }, h(TableHeadRow, { key: '278ca7b14f201c42bd31126fdb1da36832aea545' }, this.terminalsTable.columnData.map((column) => column))), h(TableBody, { key: '7ed5c139ccc346e3e301298e036a9c0db60a5bed' }, h(TableLoadingState, { key: '3abc3c6bcc4d197c7e854d607f5098798c6105f5', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'd802709566ad9f5273f07b2bc210e9ca20b6ab33', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: '7a80f72254c005e10d82afe97c9e6ee0da21d887', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '72c9888413f02ca800bcbac63f98e266a2dd841d' }, h(TableFootRow, { key: 'a56d4a7d580cdaf71466aa4b91b8d788baa9e377' }, h(TableFootCell, { key: '53b604f7db687d554e7e380b763fdc0b4f6ba6cd', colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: 'fa44f5486ff2d194c6ee06246e34dda7b6add4ce', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
191
191
|
}
|
|
192
192
|
static get watchers() { return {
|
|
193
193
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -277,7 +277,7 @@ const TokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class TokenizePay
|
|
|
277
277
|
return paymentMethodType === PAYMENT_METHODS.NEW_CARD ? (h("justifi-card-form", { ref: (el) => (this.paymentMethodFormRef = el) })) : (h("justifi-bank-account-form", { ref: (el) => (this.paymentMethodFormRef = el) }));
|
|
278
278
|
}
|
|
279
279
|
render() {
|
|
280
|
-
return (h(StyledHost, { key: '
|
|
280
|
+
return (h(StyledHost, { key: '805537f9c210dd7d2cd6fa101659c143d716e187' }, h("form", { key: 'c05caa0149784c7653021eb58b8eb41e1119e93c' }, h("fieldset", { key: '885abce69e70089d9841b9f866b41f9469a84437' }, h("div", { key: '0411d66e395077e3442dacab459f6c9150d16d4e', class: "row gy-3" }, h("div", { key: '1fa3dd928574a04b22ccca6a1727d4c8d602eea7', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), h("div", { key: 'ec3db8e32cd0c6205992225df7e7c317e9d2a7b0', class: "col-12" }, h("justifi-button", { key: '0eaba5f83caaf693fb110dfabfb78e2898d946df', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
|
|
281
281
|
}
|
|
282
282
|
get host() { return this; }
|
|
283
283
|
static get watchers() { return {
|
|
@@ -108,6 +108,7 @@ export declare const businessFormSchemaCAN: import("yup").ObjectSchema<{
|
|
|
108
108
|
};
|
|
109
109
|
title?: string;
|
|
110
110
|
name?: string;
|
|
111
|
+
ssn_last4?: string;
|
|
111
112
|
email?: string;
|
|
112
113
|
phone?: string;
|
|
113
114
|
dob_full?: string;
|
|
@@ -144,6 +145,7 @@ export declare const businessFormSchemaCAN: import("yup").ObjectSchema<{
|
|
|
144
145
|
email: undefined;
|
|
145
146
|
phone: undefined;
|
|
146
147
|
dob_full: undefined;
|
|
148
|
+
ssn_last4: undefined;
|
|
147
149
|
identification_number: undefined;
|
|
148
150
|
address: {
|
|
149
151
|
line1: undefined;
|
|
@@ -35,6 +35,7 @@ export declare const identitySchemaCAN: (role: string, allowOptionalFields?: boo
|
|
|
35
35
|
email: string;
|
|
36
36
|
phone: string;
|
|
37
37
|
dob_full: string;
|
|
38
|
+
ssn_last4: string;
|
|
38
39
|
identification_number: string;
|
|
39
40
|
address: {
|
|
40
41
|
state?: string;
|
|
@@ -49,6 +50,7 @@ export declare const identitySchemaCAN: (role: string, allowOptionalFields?: boo
|
|
|
49
50
|
email: undefined;
|
|
50
51
|
phone: undefined;
|
|
51
52
|
dob_full: undefined;
|
|
53
|
+
ssn_last4: undefined;
|
|
52
54
|
identification_number: undefined;
|
|
53
55
|
address: {
|
|
54
56
|
line1: undefined;
|
|
@@ -127,6 +129,7 @@ export declare const identitySchemaByCountry: {
|
|
|
127
129
|
email: string;
|
|
128
130
|
phone: string;
|
|
129
131
|
dob_full: string;
|
|
132
|
+
ssn_last4: string;
|
|
130
133
|
identification_number: string;
|
|
131
134
|
address: {
|
|
132
135
|
state?: string;
|
|
@@ -141,6 +144,7 @@ export declare const identitySchemaByCountry: {
|
|
|
141
144
|
email: undefined;
|
|
142
145
|
phone: undefined;
|
|
143
146
|
dob_full: undefined;
|
|
147
|
+
ssn_last4: undefined;
|
|
144
148
|
identification_number: undefined;
|
|
145
149
|
address: {
|
|
146
150
|
line1: undefined;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CardBrand, ICheckoutPaymentMethod } from '../../api';
|
|
2
|
+
export type { CheckoutState } from '../../store/checkout.store';
|
|
2
3
|
export declare enum PAYMENT_MODE {
|
|
3
4
|
ECOM = "ecom",
|
|
4
5
|
BNPL = "bnpl",
|
|
@@ -41,6 +42,7 @@ export type SavedPaymentMethod = {
|
|
|
41
42
|
address_postal_code_check: string;
|
|
42
43
|
bin_details: null;
|
|
43
44
|
};
|
|
45
|
+
export type Hook<T = any> = (data: T, resolve: (data: T) => void, reject: () => void) => void;
|
|
44
46
|
export declare class PaymentMethod implements SavedPaymentMethod {
|
|
45
47
|
id: string;
|
|
46
48
|
type: PAYMENT_METHODS;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
import { CheckoutState } from "../../store/checkout.store";
|
|
2
3
|
import JustifiAnalytics from "../../api/Analytics";
|
|
3
4
|
import { BillingFormFields } from "../../components";
|
|
4
|
-
import { CheckoutChangedEventDetail, SelectedPaymentMethod } from "./ModularCheckout";
|
|
5
|
+
import { CheckoutChangedEventDetail, SelectedPaymentMethod, Hook } from "./ModularCheckout";
|
|
5
6
|
export declare class ModularCheckout {
|
|
6
7
|
analytics: JustifiAnalytics;
|
|
7
8
|
private observer?;
|
|
@@ -14,6 +15,7 @@ export declare class ModularCheckout {
|
|
|
14
15
|
private plaidService;
|
|
15
16
|
authToken: string;
|
|
16
17
|
checkoutId: string;
|
|
18
|
+
preCompleteHook?: Hook<CheckoutState>;
|
|
17
19
|
hostEl: HTMLElement;
|
|
18
20
|
errorEvent: EventEmitter;
|
|
19
21
|
submitEvent: EventEmitter;
|
|
@@ -18,7 +18,8 @@ import { BillingFormFields } from "./components/checkout/billing-form/billing-fo
|
|
|
18
18
|
import { CountryCode } from "./utils/country-codes";
|
|
19
19
|
import { FormController } from "./ui-components/form/form";
|
|
20
20
|
import { Dispute, IDispute } from "./api/Dispute";
|
|
21
|
-
import { CheckoutChangedEventDetail, SelectedPaymentMethod } from "./components/modular-checkout/ModularCheckout";
|
|
21
|
+
import { CheckoutChangedEventDetail, Hook, SelectedPaymentMethod } from "./components/modular-checkout/ModularCheckout";
|
|
22
|
+
import { CheckoutState } from "./store/checkout.store";
|
|
22
23
|
import { PaymentMethodPayload } from "./components/checkout/payment-method-payload";
|
|
23
24
|
import { PaymentMethodOption } from "./components/checkout/payment-method-option-utils";
|
|
24
25
|
import { Identity } from "./api/Identity";
|
|
@@ -36,7 +37,8 @@ export { BillingFormFields } from "./components/checkout/billing-form/billing-fo
|
|
|
36
37
|
export { CountryCode } from "./utils/country-codes";
|
|
37
38
|
export { FormController } from "./ui-components/form/form";
|
|
38
39
|
export { Dispute, IDispute } from "./api/Dispute";
|
|
39
|
-
export { CheckoutChangedEventDetail, SelectedPaymentMethod } from "./components/modular-checkout/ModularCheckout";
|
|
40
|
+
export { CheckoutChangedEventDetail, Hook, SelectedPaymentMethod } from "./components/modular-checkout/ModularCheckout";
|
|
41
|
+
export { CheckoutState } from "./store/checkout.store";
|
|
40
42
|
export { PaymentMethodPayload } from "./components/checkout/payment-method-payload";
|
|
41
43
|
export { PaymentMethodOption } from "./components/checkout/payment-method-option-utils";
|
|
42
44
|
export { Identity } from "./api/Identity";
|
|
@@ -677,6 +679,7 @@ export namespace Components {
|
|
|
677
679
|
interface JustifiModularCheckout {
|
|
678
680
|
"authToken": string;
|
|
679
681
|
"checkoutId": string;
|
|
682
|
+
"preCompleteHook"?: Hook<CheckoutState>;
|
|
680
683
|
"setSelectedPaymentMethod": (paymentMethod: SelectedPaymentMethod) => Promise<void>;
|
|
681
684
|
"submitCheckout": (submitCheckoutArgs?: BillingFormFields) => Promise<void>;
|
|
682
685
|
"validate": () => Promise<boolean>;
|
|
@@ -3733,6 +3736,7 @@ declare namespace LocalJSX {
|
|
|
3733
3736
|
"onCheckout-changed"?: (event: JustifiModularCheckoutCustomEvent<CheckoutChangedEventDetail>) => void;
|
|
3734
3737
|
"onError-event"?: (event: JustifiModularCheckoutCustomEvent<any>) => void;
|
|
3735
3738
|
"onSubmit-event"?: (event: JustifiModularCheckoutCustomEvent<any>) => void;
|
|
3739
|
+
"preCompleteHook"?: Hook<CheckoutState>;
|
|
3736
3740
|
}
|
|
3737
3741
|
interface JustifiOrderTerminals {
|
|
3738
3742
|
"accountId"?: string;
|
|
@@ -339,7 +339,7 @@ export declare function forceUpdate(ref: any): void;
|
|
|
339
339
|
* @returns the rendering ref
|
|
340
340
|
*/
|
|
341
341
|
export declare function getRenderingRef(): any;
|
|
342
|
-
export interface HTMLStencilElement extends
|
|
342
|
+
export interface HTMLStencilElement extends HTMLElement {
|
|
343
343
|
componentOnReady(): Promise<this>;
|
|
344
344
|
}
|
|
345
345
|
/**
|
|
@@ -29,10 +29,26 @@ interface IInitialState {
|
|
|
29
29
|
plaidPublicToken?: string;
|
|
30
30
|
plaidLinkTokenId?: string;
|
|
31
31
|
}
|
|
32
|
+
export interface CheckoutState {
|
|
33
|
+
selectedPaymentMethod: SelectedPaymentMethod | undefined;
|
|
34
|
+
paymentAmount: number;
|
|
35
|
+
totalAmount: number;
|
|
36
|
+
paymentCurrency: string;
|
|
37
|
+
paymentDescription: string;
|
|
38
|
+
savedPaymentMethods: SavedPaymentMethod[];
|
|
39
|
+
savePaymentMethod: boolean;
|
|
40
|
+
bnplEnabled: boolean;
|
|
41
|
+
applePayEnabled: boolean;
|
|
42
|
+
insuranceEnabled: boolean;
|
|
43
|
+
disableBankAccount: boolean;
|
|
44
|
+
disableCreditCard: boolean;
|
|
45
|
+
disablePaymentMethodGroup: boolean;
|
|
46
|
+
}
|
|
32
47
|
declare const initialState: IInitialState;
|
|
33
48
|
declare const checkoutStore: IInitialState, onChange: import("@stencil/store/dist/types").OnChangeHandler<IInitialState>;
|
|
34
49
|
export declare function getAvailablePaymentMethodTypes(): PAYMENT_METHODS[];
|
|
35
50
|
export declare function isNewCardSelected(): boolean;
|
|
51
|
+
export declare function getCheckoutState(): CheckoutState;
|
|
36
52
|
export { checkoutStore as checkoutStore, onChange };
|
|
37
53
|
type StoreKey = keyof typeof initialState;
|
|
38
54
|
export declare function onAnyChange(callback: (key: StoreKey, value: (typeof initialState)[StoreKey]) => void): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as a}from"./p-
|
|
1
|
+
import{r as e,h as a}from"./p-DwYM91AU.js";import{u as t,a as s,b as l}from"./p-C77ElQ41.js";import{P as i,I as o}from"./p-CVaOFfrI.js";import{G as d,l as r,U as c,_ as n}from"./p-Dj_zevuD.js";import{c as f}from"./p-DfKxeSrC.js";import"./p-B5rtFhtR.js";const b=class{constructor(a){e(this,a),this.isEditingIdentification=!1,this.inputHandler=(e,a)=>{t(this.formController,{[e]:a})},this.onAddressFormUpdate=e=>{s(this.formController,Object.assign(Object.assign({},this.formController.values.getValue().address),e))}}render(){var e,s,b,u,m,h,p,v,y;return a("form",{key:"7f2a20427197ce4f402c1b4b859839d506613769"},a("fieldset",{key:"fe71959a012c1961b6f91d98862ca4ea9411bf6d"},a("div",{key:"801fb53d33eeff75f82552da84210abfb1daa55d",class:"d-flex align-items-center gap-2"},a("legend",{key:"63486b252a7c4f71e944712a833a2edc762c1692",class:"mb-0",part:d},"Representative"),a("form-control-tooltip",{key:"9a22a232bb856c05ca8c75a0255ea8a2b33b8a80",helpText:"The representative for your business needs to be someone who has significant control over managing your business’s finance. You will have an opportunity to add owners later in the form."})),a("hr",{key:"b29a6dcd41991b2874cb64fc3cd058f3bcf10a48",class:"mt-2"}),a("div",{key:"52e2b29c6f915f50e1f33c19363657e657355b85",class:"row gy-3"},a("div",{key:"9531872c804ef3713c0778c6bff1d3ca589bb3d5",class:"col-12 col-md-8"},a("form-control-text",{key:"d1eedf80da0790767a6c294f084c4b9d4112b9cf",name:"name",label:"Full Name",defaultValue:null===(e=this.representativeDefaultValue)||void 0===e?void 0:e.name,errorText:this.errors.name,inputHandler:this.inputHandler})),a("div",{key:"b5effb996c7b97cd5a8815781474ea32e5bc37b6",class:"col-12 col-md-4"},a("form-control-text",{key:"554a6fe90a0c68a32ae7e6b0401e43a8a2d6c7fe",name:"title",label:"Title",defaultValue:null===(s=this.representativeDefaultValue)||void 0===s?void 0:s.title,errorText:this.errors.title,inputHandler:this.inputHandler,helpText:"Role at your business, e.g. President, CEO, Treasurer."})),a("div",{key:"6025d1b2b67120a9e9e25d0a6e3e352651759c62",class:"col-12 col-md-6"},a("form-control-text",{key:"ed758eafa726ee6801c16535fbba7d05886c21d5",name:"email",label:"Email Address",defaultValue:null===(b=this.representativeDefaultValue)||void 0===b?void 0:b.email,errorText:this.errors.email,inputHandler:this.inputHandler})),a("div",{key:"933650753a5fdc6f75db658baf536ce4033e0e6c",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"81ba9debb6c8fd8225c67a0c0a6b8612e87fc3f0",name:"phone",label:"Phone Number",defaultValue:null===(u=this.representativeDefaultValue)||void 0===u?void 0:u.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:i.US})),a("div",{key:"913c766d6eb5fe5f132eafecba91145a6c418dae",class:"col-12 col-md-4"},a("form-control-date",{key:"c50e5ad2022906d753b783e7892be8322d80661c",name:"dob_full",label:"Birth Date",defaultValue:null===(m=this.representativeDefaultValue)||void 0===m?void 0:m.dob_full,errorText:this.errors.dob_full,inputHandler:this.inputHandler,onFormControlInput:e=>l(e,this.formController),helpText:"Must be 18 or older."})),a("div",{key:"74492ad88a4962c2abfd04319880edb757d78796",class:"col-12 col-md-8"},!(null===(h=this.representativeDefaultValue)||void 0===h?void 0:h.ssn_last4)||this.isEditingIdentification?a("form-control-number-masked",{name:"identification_number",label:f[this.country].idNumberLabel,defaultValue:this.isEditingIdentification?"":null===(p=this.representativeDefaultValue)||void 0===p?void 0:p.identification_number,errorText:this.errors.identification_number,inputHandler:this.inputHandler,mask:o[this.country],helpText:f[this.country].identityHelpText}):a("div",null,a("label",{class:"form-label",part:r},f[this.country].idNumberLabel),a("div",{class:"input-group mb-3"},a("input",{type:"text",class:"form-control",part:c,value:`****${null===(v=this.representativeDefaultValue)||void 0===v?void 0:v.ssn_last4}`,disabled:!0}),a("button",{class:"btn btn-secondary",type:"button",part:n,onClick:()=>{this.isEditingIdentification=!0,t(this.formController,{identification_number:"",ssn_last4:null})}},"Change")))),a("div",{key:"dd27d90284c7eac1ec619622bf3e25b28360fe4c",class:"col-12"},a("justifi-identity-address-form",{key:"fa011614b624b6ad395f304552ff334d64d2c048",errors:this.errors.address,defaultValues:null===(y=this.representativeDefaultValue)||void 0===y?void 0:y.address,handleFormUpdate:this.onAddressFormUpdate,country:this.country})))))}};export{b as justifi_business_representative_form_inputs}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as e,h as i,H as o}from"./p-
|
|
1
|
+
import{r as t,c as e,h as i,H as o}from"./p-DwYM91AU.js";import{C as s}from"./p-ZpPDShvP.js";import{r as a}from"./p-Dj_zevuD.js";import"./p-HXpYMWUU.js";const r=class{constructor(i){t(this,i),this.paymentMethodOptionSelected=e(this,"paymentMethodOptionSelected"),this.onPaymentMethodOptionClick=t=>{t.preventDefault(),this.paymentMethodOptionSelected.emit(this.paymentMethodOption)}}async resolvePaymentMethod(t){var e;return t.isValid?{token:null===(e=this.paymentMethodOption)||void 0===e?void 0:e.id}:{validationError:!0}}render(){var t,e,r;return i(o,{key:"2636f9038b83a384a2a3bc4bbc7695ff237a6584",class:"payment-method"},i("div",{key:"2995201b40f93a916fe6a32c2d27bc43cd22d8d1",class:"radio-list-item p-3",part:a,onClick:this.onPaymentMethodOptionClick},i("form-control-radio",{key:"7f8382f0d3cbc596c329fc32badc6c4b40e4493f",name:"paymentMethodType",value:null===(t=this.paymentMethodOption)||void 0===t?void 0:t.id,checked:this.isSelected,label:`${s[null===(e=this.paymentMethodOption)||void 0===e?void 0:e.brand]||""} *${null===(r=this.paymentMethodOption)||void 0===r?void 0:r.acct_last_four}`})))}};export{r as justifi_saved_payment_method}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as s,h as i}from"./p-
|
|
1
|
+
import{r as t,c as s,h as i}from"./p-DwYM91AU.js";import{C as e,a as r}from"./p-Cjcsf8ku.js";import{c as o,J as p}from"./p-CXxdHjVv.js";import{D as n}from"./p-BH0Xfn-F.js";import{g as a,a as h}from"./p-D2muobcE.js";import{D as c}from"./p-CxPieTnF.js";import"./p-CuLmJjEz.js";import"./p-C8yN3uBj.js";import"./p-tGDdRx0W.js";import"./p-BYsgavgS.js";import"./p-BS7OgSQe.js";import"./p-HXpYMWUU.js";import"./p-CPKSE7M4.js";import"./p-CLHwhyvu.js";import"./p-B5rtFhtR.js";const u=class{constructor(i){t(this,i),this.errorEvent=s(this,"error-event"),this.errorMessage=null,this.handleErrorEvent=t=>{this.errorMessage=t.detail.message,this.errorEvent.emit(t.detail)}}componentWillLoad(){o(),this.analytics=new p(this),this.initializeGetDispute()}disconnectedCallback(){var t;null===(t=this.analytics)||void 0===t||t.cleanup()}propChanged(){this.initializeGetDispute()}initializeGetDispute(){this.disputeId&&this.authToken?this.getDispute=(({id:t,authToken:s,service:i})=>async({onSuccess:r,onError:o})=>{var p;try{const c=await i.fetchDispute(t,s);if(c.error)return o({error:h(c.error),code:a(null===(p=c.error)||void 0===p?void 0:p.code),severity:e.ERROR});{const t=Object.assign({},c.page_info);r({dispute:new n(c.data),pagingInfo:t})}}catch(t){const s=a(null==t?void 0:t.code);return o({error:t.message||t,code:s,severity:e.ERROR})}})({id:this.disputeId,authToken:this.authToken,service:new c}):(this.errorMessage="Dispute ID and Auth Token are required",this.errorEvent.emit({message:this.errorMessage,errorCode:r.MISSING_PROPS,severity:e.ERROR}))}render(){return i("justifi-dispute-management-core",{key:"60b2220edc8d7862cda6388040e7b1f9434100fc",getDispute:this.getDispute,disputeId:this.disputeId,authToken:this.authToken,"onError-event":this.handleErrorEvent})}static get watchers(){return{disputeId:["propChanged"],authToken:["propChanged"]}}};export{u as justifi_dispute_management}
|