@justifi/webcomponents 6.12.3 → 6.12.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{Analytics-DcqsdFaD.js → Analytics-CITnMj7H.js} +4 -5
- package/dist/cjs/{Plaid-BlSGeGpn.js → Plaid-BRSyOOuw.js} +60 -4
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +1 -1
- package/dist/cjs/additional-questions-form-step_14.cjs.entry.js +154 -21
- package/dist/cjs/additional-questions_5.cjs.entry.js +1 -1
- package/dist/cjs/{justifi-additional-statement_8.cjs.entry.js → additional-statement_8.cjs.entry.js} +24 -24
- package/dist/cjs/bank-account-billing-form-simple_4.cjs.entry.js +5 -5
- package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
- package/dist/cjs/{business-identity-schema-DWWtSiUF.js → business-identity-schema-DuFGX6_i.js} +68 -1
- package/dist/cjs/{business.service-BheJs82v.js → business.service-Z9OACEQL.js} +1 -2
- package/dist/cjs/card-form.cjs.entry.js +2 -2
- package/dist/cjs/{check-pkg-version-DFTQGZz1.js → check-pkg-version-CZMgXZID.js} +1 -1
- package/dist/cjs/{checkout.service-DZKdHQQq.js → checkout.service-BZOyqXgW.js} +1 -2
- package/dist/cjs/{country-config-D7fss2oF.js → country-config-aJp8ScEs.js} +1 -0
- package/dist/cjs/custom-popper_2.cjs.entry.js +2 -2
- package/dist/cjs/{justifi-dispute-notification_3.cjs.entry.js → dispute-notification_2.cjs.entry.js} +67 -90
- package/dist/cjs/{event-types-BWQT2lwu.js → event-types-AU1B76Vm.js} +30 -0
- package/dist/cjs/form-address-fields_3.cjs.entry.js +3 -3
- package/dist/cjs/form-control-date.cjs.entry.js +2 -2
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
- package/dist/cjs/form-control-file.cjs.entry.js +2 -2
- package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
- package/dist/cjs/form-control-number_2.cjs.entry.js +89 -0
- package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
- package/dist/cjs/form-control-select_2.cjs.entry.js +4 -4
- package/dist/cjs/{get-business-TFzhaBXn.js → get-business-aR-C83KX.js} +2 -2
- package/dist/cjs/{get-payment-details-DL5FmIyF.js → get-payment-details-dwhA02Zl.js} +2 -3
- package/dist/cjs/{get-subaccounts-CVK4O7th.js → get-subaccounts-B1jmSa2d.js} +2 -3
- package/dist/cjs/hidden-input_2.cjs.entry.js +5 -5
- package/dist/cjs/internal-button.cjs.entry.js +1 -1
- package/dist/cjs/justifi-apple-pay_11.cjs.entry.js +12 -13
- package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +5 -6
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +5 -6
- package/dist/cjs/justifi-billing-form-full.cjs.entry.js +1 -1
- package/dist/cjs/justifi-business-details.cjs.entry.js +7 -8
- package/dist/cjs/justifi-business-form.cjs.entry.js +12 -14
- package/dist/cjs/justifi-card-billing-form-simple.cjs.entry.js +1 -1
- package/dist/cjs/justifi-card-form.cjs.entry.js +5 -6
- package/dist/cjs/justifi-checkout.cjs.entry.js +4 -5
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +3 -4
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +190 -27
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +65 -18
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +11071 -23
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +9 -10
- package/dist/cjs/justifi-payment-details.cjs.entry.js +16 -17
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -11
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +3 -4
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +9 -10
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +7 -8
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +5 -6
- package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +4 -5
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +178 -24
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +2 -3
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +8 -9
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-bM0MyhTf.js → package-DOiqjXmm.js} +1 -1
- package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
- package/dist/cjs/{payment-provisioning-actions-BO7dzIm1.js → payment-provisioning-actions-BiSpysjW.js} +2 -2
- package/dist/cjs/{payment.service-sZKlg2Jq.js → payment.service-ByrgA_QZ.js} +1 -2
- package/dist/cjs/{payout.service-BcQVsMCS.js → payout.service-CnQm_BpU.js} +1 -2
- package/dist/cjs/{payouts-status-CwgOMz-S.js → payouts-status-AuS3Mp0V.js} +2 -2
- package/dist/cjs/{plaid.service-BcgO2VXC.js → plaid.service-Dlb8EUR8.js} +1 -2
- package/dist/cjs/radio-list-item.cjs.entry.js +1 -1
- package/dist/cjs/{schema-validations-_yWWnnaG.js → schema-validations-DNPcvDh5.js} +13 -2
- package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/{terminal.service-CjMMWSh3.js → terminal.service-BdwHQ3Vv.js} +1 -2
- package/dist/cjs/{utils-DbTucCTO.js → utils-FVGp6se3.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/Analytics.js +2 -2
- package/dist/collection/api/Terminal.js +1 -1
- package/dist/collection/collection-manifest.json +10 -16
- package/dist/collection/components/business-details/owner-details/owner-details.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +2 -2
- package/dist/collection/components/business-forms/owner-form/owner-form.js +226 -12
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -0
- package/dist/collection/components/business-forms/schemas/schema-validations.js +2 -2
- package/dist/collection/components/checkout/billing-form/billing-form-full.js +2 -2
- package/dist/collection/components/checkout/billing-form/billing-form-schema.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +2 -2
- package/dist/collection/components/checkouts-list/justifi-checkouts-list.js +166 -16
- package/dist/collection/components/dispute-management/{justifi-dispute-notification.js → dispute-notification.js} +5 -6
- package/dist/collection/components/dispute-management/dispute-response/{justifi-additional-statement.js → additional-statement.js} +3 -3
- package/dist/collection/components/dispute-management/dispute-response/{justifi-cancellation-policy.js → cancellation-policy.js} +3 -3
- package/dist/collection/components/dispute-management/dispute-response/{justifi-customer-details.js → customer-details.js} +3 -3
- package/dist/collection/components/dispute-management/dispute-response/{dispute-response-core.js → dispute-response.js} +105 -77
- package/dist/collection/components/dispute-management/dispute-response/{justifi-duplicate-charge.js → duplicate-charge.js} +3 -3
- package/dist/collection/components/dispute-management/dispute-response/{justifi-electronic-evidence.js → electronic-evidence.js} +3 -3
- package/dist/collection/components/dispute-management/dispute-response/{justifi-product-or-service.js → product-or-service.js} +3 -3
- package/dist/collection/components/dispute-management/dispute-response/{justifi-refund-policy.js → refund-policy.js} +3 -3
- package/dist/collection/components/dispute-management/dispute-response/{justifi-shipping-details.js → shipping-details.js} +3 -3
- package/dist/collection/components/dispute-management/justifi-dispute-management.js +78 -11
- package/dist/collection/components/filters/table-filters-menu.js +1 -1
- package/dist/collection/components/gross-payment-chart/justifi-gross-payment-chart.js +79 -15
- package/dist/collection/components/modular-checkout/justifi-modular-checkout.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-form.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-billing-form-full.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-card-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-card-form.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-checkout-summary.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
- package/dist/collection/components/order-terminals/justifi-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/justifi-payment-details.js +8 -8
- package/dist/collection/components/payment-transactions-list/justifi-payment-transactions-list.js +1 -1
- package/dist/collection/components/payments-list/justifi-payments-list-filters.js +2 -2
- package/dist/collection/components/payments-list/justifi-payments-list.js +1 -1
- package/dist/collection/components/payout-details/justifi-payout-details.js +3 -3
- package/dist/collection/components/payout-transactions-list/justifi-payout-transactions-list.js +1 -1
- package/dist/collection/components/payouts-list/justifi-payouts-list-filters.js +2 -2
- package/dist/collection/components/payouts-list/justifi-payouts-list.js +1 -1
- package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list-filters.js +3 -3
- package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list.js +134 -10
- package/dist/collection/components/terminals-list/justifi-terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/justifi-terminals-list.js +1 -1
- package/dist/collection/components/tokenize-payment-method/justifi-tokenize-payment-method.js +1 -1
- 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-select.js +2 -2
- package/dist/collection/ui-components/form/form-control-text.js +2 -2
- package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +3 -3
- package/dist/collection/ui-components/internal-button.js +1 -1
- package/dist/collection/ui-components/radio-list-item.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
- package/dist/collection/utils/checkout-billing-state-options.js +12 -0
- package/dist/docs.json +5763 -6945
- package/dist/esm/{Analytics-Cyc3ZLPx.js → Analytics-Cg17Xhj_.js} +4 -5
- package/dist/esm/{Plaid-BuKEVgbB.js → Plaid-l6nNIjab.js} +58 -3
- package/dist/esm/additional-questions-details_5.entry.js +3 -3
- package/dist/esm/additional-questions-form-step_14.entry.js +156 -23
- package/dist/esm/additional-questions_5.entry.js +2 -2
- package/dist/esm/{justifi-additional-statement_8.entry.js → additional-statement_8.entry.js} +18 -18
- package/dist/esm/{badge-B6dp1XGV.js → badge-Dlcl9qdm.js} +1 -1
- package/dist/esm/bank-account-billing-form-simple_4.entry.js +7 -7
- package/dist/esm/bank-account-form.entry.js +4 -4
- package/dist/esm/bank-account-read-only-value.entry.js +1 -1
- package/dist/esm/business-identity-schema-0Q3kck3C.js +163 -0
- package/dist/esm/{business.service-BPbZ5fxQ.js → business.service-C31wbMVs.js} +1 -2
- package/dist/esm/{button-DRdaAudE.js → button-BvzOzV4l.js} +1 -1
- package/dist/esm/card-form.entry.js +4 -4
- package/dist/esm/{check-pkg-version-6iGDh82c.js → check-pkg-version-D-rHqtUI.js} +1 -1
- package/dist/esm/{checkout.service-CJMfFKyS.js → checkout.service-cVdOGDuI.js} +1 -2
- package/dist/esm/{country-config-P042rrI3.js → country-config-CdvhLcnT.js} +1 -1
- package/dist/esm/custom-popper_2.entry.js +3 -3
- package/dist/esm/{justifi-dispute-notification_3.entry.js → dispute-notification_2.entry.js} +68 -90
- package/dist/esm/{event-types-Bg2SZArf.js → event-types-DalU_6SB.js} +29 -1
- package/dist/esm/form-address-fields_3.entry.js +5 -5
- 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-DVedKyhp.js → form-control-error-text-Di9QePY5.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +5 -5
- package/dist/esm/form-control-file.entry.js +4 -4
- package/dist/esm/{form-control-help-text-D-349cNw.js → form-control-help-text-DGMpMuAm.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_2.entry.js +86 -0
- package/dist/esm/form-control-radio.entry.js +3 -3
- package/dist/esm/form-control-select_2.entry.js +6 -6
- package/dist/esm/{get-business-DIpEbczl.js → get-business-Gg6qn5on.js} +2 -2
- package/dist/esm/{get-payment-details-DjBou5Fu.js → get-payment-details-BiWgSJau.js} +2 -3
- package/dist/esm/{get-subaccounts-CgDWE_5o.js → get-subaccounts-CkjZeR9U.js} +2 -3
- package/dist/esm/{header-1-Bl7MHW0w.js → header-1-evYxFIGN.js} +1 -1
- package/dist/esm/{header-3-C7JJVnMG.js → header-3-BUDap2xY.js} +1 -1
- package/dist/esm/hidden-input_2.entry.js +7 -7
- package/dist/esm/{insurance-state-qTdpe84i.js → insurance-state-CLGc1-_4.js} +1 -1
- package/dist/esm/internal-button.entry.js +3 -3
- package/dist/esm/justifi-apple-pay_11.entry.js +17 -18
- package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +5 -6
- package/dist/esm/justifi-bank-account-form.entry.js +5 -6
- package/dist/esm/justifi-billing-form-full.entry.js +1 -1
- package/dist/esm/justifi-business-details.entry.js +10 -11
- package/dist/esm/justifi-business-form.entry.js +14 -16
- package/dist/esm/justifi-card-billing-form-simple.entry.js +1 -1
- package/dist/esm/justifi-card-form.entry.js +5 -6
- package/dist/esm/justifi-checkout.entry.js +5 -6
- package/dist/esm/justifi-checkouts-list-filters.entry.js +4 -5
- package/dist/esm/justifi-checkouts-list.entry.js +190 -27
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management.entry.js +64 -17
- package/dist/esm/justifi-gross-payment-chart.entry.js +11071 -23
- package/dist/esm/justifi-order-terminals.entry.js +11 -12
- package/dist/esm/justifi-payment-details.entry.js +20 -21
- package/dist/esm/justifi-payment-provisioning.entry.js +11 -12
- package/dist/esm/justifi-payment-transactions-list.entry.js +10 -11
- package/dist/esm/justifi-payments-list-filters.entry.js +3 -3
- package/dist/esm/justifi-payments-list.entry.js +12 -13
- package/dist/esm/justifi-payout-details.entry.js +15 -16
- package/dist/esm/justifi-payout-transactions-list.entry.js +10 -11
- package/dist/esm/justifi-payouts-list-filters.entry.js +4 -5
- package/dist/esm/justifi-payouts-list.entry.js +13 -14
- package/dist/esm/justifi-refund-payment.entry.js +10 -11
- package/dist/esm/justifi-saved-payment-method.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +8 -9
- package/dist/esm/justifi-skeleton.entry.js +3 -3
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +5 -6
- package/dist/esm/justifi-terminal-orders-list.entry.js +175 -21
- package/dist/esm/justifi-terminals-list-filters.entry.js +3 -4
- package/dist/esm/justifi-terminals-list.entry.js +12 -13
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-beXEDfB9.js → package-B6YPrwyC.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-DnrawQn3.js → parts-CPKMvyV_.js} +1 -1
- package/dist/esm/payment-method-option.entry.js +2 -2
- package/dist/esm/{payment-provisioning-actions-Dr0YIShV.js → payment-provisioning-actions-cl5xIYnF.js} +2 -2
- package/dist/esm/payment-provisioning-form-buttons_2.entry.js +2 -2
- package/dist/esm/{payment-provisioning-loading-DI2wDkhm.js → payment-provisioning-loading-Dve2xQA4.js} +1 -1
- package/dist/esm/{payment.service-Ckbb7gXA.js → payment.service-5_u-UzTY.js} +1 -2
- package/dist/esm/{payments-status-BIDoGw-m.js → payments-status-BlVUt4C1.js} +1 -1
- package/dist/esm/{payout.service-BgFKxEoL.js → payout.service-D2zS5y8N.js} +1 -2
- package/dist/esm/{payouts-status-1T2NZBoE.js → payouts-status-DCjCGTaa.js} +3 -3
- package/dist/esm/{plaid.service-BLguQHs_.js → plaid.service-BiJ65YG8.js} +1 -2
- package/dist/esm/radio-list-item.entry.js +2 -2
- package/dist/esm/{schema-validations-v6WGlZkq.js → schema-validations-A1o1biOB.js} +13 -3
- package/dist/esm/{skeleton-CXGFVqDf.js → skeleton-BEHo2ypu.js} +1 -1
- package/dist/esm/{spinner-kSw6PcwU.js → spinner-DIiQZd6_.js} +1 -1
- package/dist/esm/{table-CcyuIutB.js → table-DqGfsdys.js} +3 -3
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/{terminal.service-0oISl5j-.js → terminal.service-CIxDfM7V.js} +1 -2
- package/dist/esm/{utils-DcfpJGDZ.js → utils-C1B2hVAB.js} +1 -1
- package/dist/esm/{utils-BxYS3WDw.js → utils-CX6puxwf.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Analytics.js +2 -2
- package/dist/module/Plaid.js +2 -2
- package/dist/module/{justifi-refund-policy.d.ts → additional-statement.d.ts} +4 -4
- package/dist/module/additional-statement.js +6 -0
- package/dist/module/{justifi-additional-statement2.js → additional-statement2.js} +8 -8
- package/dist/module/badge.js +1 -1
- package/dist/module/bank-account-billing-form-simple2.js +1 -1
- package/dist/module/billing-form-full2.js +3 -3
- package/dist/module/billing-form-schema.js +1 -1
- package/dist/module/business-address-schema.js +1 -1
- package/dist/module/business-bank-account-form-step2.js +2 -2
- package/dist/module/business-core-info-schema.js +1 -1
- package/dist/module/business-identity-schema.js +1 -1
- package/dist/module/business-owners-form-step2.js +21 -26
- package/dist/module/button.js +1 -1
- package/dist/module/cancellation-policy.d.ts +11 -0
- package/dist/module/cancellation-policy.js +6 -0
- package/dist/module/{justifi-cancellation-policy2.js → cancellation-policy2.js} +8 -8
- package/dist/module/card-billing-form-simple2.js +1 -1
- package/dist/module/country-config.js +1 -1
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/{checkouts-list-core.d.ts → customer-details.d.ts} +4 -4
- package/dist/module/customer-details.js +6 -0
- package/dist/module/{justifi-customer-details2.js → customer-details2.js} +8 -8
- package/dist/module/dispute-notification.d.ts +11 -0
- package/dist/module/dispute-notification.js +6 -0
- package/dist/module/dispute-notification2.js +82 -0
- package/dist/module/dispute-response.d.ts +11 -0
- package/dist/module/dispute-response.js +6 -0
- package/dist/module/{dispute-response-core.js → dispute-response2.js} +105 -53
- package/dist/module/duplicate-charge.d.ts +11 -0
- package/dist/module/duplicate-charge.js +6 -0
- package/dist/module/{justifi-duplicate-charge2.js → duplicate-charge2.js} +8 -8
- package/dist/module/electronic-evidence.d.ts +11 -0
- package/dist/module/electronic-evidence.js +6 -0
- package/dist/module/{justifi-electronic-evidence2.js → electronic-evidence2.js} +8 -8
- package/dist/module/event-types3.js +119 -1
- package/dist/module/form-alert2.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-number2.js +3 -3
- package/dist/module/form-control-radio2.js +2 -2
- package/dist/module/form-control-select2.js +2 -2
- package/dist/module/form-control-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +3 -3
- package/dist/module/get-payment-details.js +1 -1
- package/dist/module/hidden-input2.js +2 -2
- package/dist/module/iframe-input2.js +4 -4
- package/dist/module/internal-button2.js +1 -1
- package/dist/module/justifi-bank-account-billing-form-simple.js +1 -1
- package/dist/module/justifi-bank-account-form.js +1 -1
- package/dist/module/justifi-billing-form-full.js +1 -1
- package/dist/module/justifi-button2.js +1 -1
- package/dist/module/justifi-card-billing-form-simple.js +1 -1
- package/dist/module/justifi-card-form.js +1 -1
- package/dist/module/justifi-checkout-summary2.js +1 -1
- package/dist/module/justifi-checkouts-list-filters.js +3 -3
- package/dist/module/justifi-checkouts-list.js +197 -28
- package/dist/module/justifi-dispute-management.js +103 -62
- package/dist/module/justifi-gross-payment-chart.js +11074 -24
- package/dist/module/justifi-header2.js +1 -1
- package/dist/module/justifi-modular-checkout2.js +2 -2
- package/dist/module/justifi-order-terminals.js +4 -4
- package/dist/module/justifi-payment-details.js +9 -9
- package/dist/module/justifi-payment-provisioning.js +53 -59
- package/dist/module/justifi-payment-transactions-list.js +2 -2
- package/dist/module/justifi-payments-list-filters.js +2 -2
- package/dist/module/justifi-payments-list.js +2 -2
- package/dist/module/justifi-payout-details.js +4 -4
- package/dist/module/justifi-payout-transactions-list.js +2 -2
- package/dist/module/justifi-payouts-list-filters.js +3 -3
- package/dist/module/justifi-payouts-list.js +2 -2
- package/dist/module/justifi-season-interruption-insurance.js +1 -1
- package/dist/module/justifi-skeleton.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +4 -4
- package/dist/module/justifi-terminal-orders-list.js +184 -22
- package/dist/module/justifi-terminals-list-filters.js +2 -2
- package/dist/module/justifi-terminals-list.js +3 -3
- package/dist/module/justifi-tokenize-payment-method2.js +1 -1
- package/dist/module/owner-details2.js +1 -1
- package/dist/module/owner-form-inputs2.js +2 -2
- package/dist/module/owner-form2.js +177 -33
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +1 -1
- package/dist/module/parts.js +1 -1
- package/dist/module/payment-method-option.js +1 -1
- package/dist/module/payment-provisioning-form-steps2.js +52 -58
- package/dist/module/product-or-service.d.ts +11 -0
- package/dist/module/product-or-service.js +6 -0
- package/dist/module/{justifi-product-or-service2.js → product-or-service2.js} +8 -8
- package/dist/module/radio-list-item2.js +1 -1
- package/dist/module/{owner-form-core.d.ts → refund-policy.d.ts} +4 -4
- package/dist/module/refund-policy.js +6 -0
- package/dist/module/{justifi-refund-policy2.js → refund-policy2.js} +8 -8
- package/dist/module/schema-validations.js +13 -3
- package/dist/module/shipping-details.d.ts +11 -0
- package/dist/module/shipping-details.js +6 -0
- package/dist/module/{justifi-shipping-details2.js → shipping-details2.js} +8 -8
- package/dist/module/spinner.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/utils2.js +1 -1
- package/dist/types/api/Terminal.d.ts +1 -1
- package/dist/types/components/business-forms/owner-form/owner-form.d.ts +69 -5
- package/dist/types/components/checkouts-list/justifi-checkouts-list.d.ts +28 -6
- package/dist/types/components/dispute-management/{justifi-dispute-notification.d.ts → dispute-notification.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{justifi-additional-statement.d.ts → additional-statement.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{justifi-cancellation-policy.d.ts → cancellation-policy.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{justifi-customer-details.d.ts → customer-details.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{dispute-response-core.d.ts → dispute-response.d.ts} +21 -10
- package/dist/types/components/dispute-management/dispute-response/{justifi-duplicate-charge.d.ts → duplicate-charge.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{justifi-electronic-evidence.d.ts → electronic-evidence.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{justifi-product-or-service.d.ts → product-or-service.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{justifi-refund-policy.d.ts → refund-policy.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{justifi-shipping-details.d.ts → shipping-details.d.ts} +1 -1
- package/dist/types/components/dispute-management/justifi-dispute-management.d.ts +10 -2
- package/dist/types/components/gross-payment-chart/justifi-gross-payment-chart.d.ts +13 -2
- package/dist/types/components/terminal-orders-list/justifi-terminal-orders-list.d.ts +21 -3
- package/dist/types/components.d.ts +304 -551
- package/dist/types/utils/checkout-billing-state-options.d.ts +9 -0
- package/dist/webcomponents/p-0708cb76.entry.js +1 -0
- package/dist/webcomponents/p-0ce6c1b1.entry.js +1 -0
- package/dist/webcomponents/p-12ae030d.entry.js +1 -0
- package/dist/webcomponents/p-137a36a4.entry.js +1 -0
- package/dist/webcomponents/p-1d294e34.entry.js +1 -0
- package/dist/webcomponents/{p-4d21df48.entry.js → p-1f34b2f7.entry.js} +1 -1
- package/dist/webcomponents/p-1f7f2436.entry.js +1 -0
- package/dist/webcomponents/{p-256c5509.entry.js → p-22d19755.entry.js} +1 -1
- package/dist/webcomponents/p-2aac2ab6.entry.js +1 -0
- package/dist/webcomponents/{p-2425a375.entry.js → p-2dfdecbb.entry.js} +1 -1
- package/dist/webcomponents/p-397b28ba.entry.js +20 -0
- package/dist/webcomponents/{p-10be75b8.entry.js → p-3cefb032.entry.js} +1 -1
- package/dist/webcomponents/p-45668f01.entry.js +1 -0
- package/dist/webcomponents/p-46477dfe.entry.js +1 -0
- package/dist/webcomponents/{p-befe01ef.entry.js → p-49c13952.entry.js} +1 -1
- package/dist/webcomponents/p-4ccf9cd7.entry.js +1 -0
- package/dist/webcomponents/p-58b5e08e.entry.js +1 -0
- package/dist/webcomponents/p-5G1OMxZz.js +1 -0
- package/dist/webcomponents/{p-1e877e0a.entry.js → p-5ec9634c.entry.js} +1 -1
- package/dist/webcomponents/{p-8253ef9f.entry.js → p-605bd107.entry.js} +1 -1
- package/dist/webcomponents/{p-c9e1df15.entry.js → p-60c65da4.entry.js} +1 -1
- package/dist/webcomponents/p-63b7abf3.entry.js +1 -0
- package/dist/webcomponents/p-63e88b48.entry.js +1 -0
- package/dist/webcomponents/p-65281b33.entry.js +1 -0
- package/dist/webcomponents/{p-3c046adc.entry.js → p-70dcd833.entry.js} +1 -1
- package/dist/webcomponents/p-7ebed752.entry.js +1 -0
- package/dist/webcomponents/p-7ff9ce05.entry.js +1 -0
- package/dist/webcomponents/p-8964f4ca.entry.js +1 -0
- package/dist/webcomponents/p-89844a98.entry.js +1 -0
- package/dist/webcomponents/p-89cd31f2.entry.js +1 -0
- package/dist/webcomponents/p-8d6856e7.entry.js +1 -0
- package/dist/webcomponents/p-8e821593.entry.js +1 -0
- package/dist/webcomponents/p-90f2f71d.entry.js +1 -0
- package/dist/webcomponents/p-9153c121.entry.js +1 -0
- package/dist/webcomponents/p-91940d05.entry.js +1 -0
- package/dist/webcomponents/p-95317547.entry.js +1 -0
- package/dist/webcomponents/p-9b944aa4.entry.js +1 -0
- package/dist/webcomponents/{p-CR_-qIuN.js → p-APOabprT.js} +1 -1
- package/dist/webcomponents/p-Aacb4jqT.js +1 -0
- package/dist/webcomponents/p-B5gBiARs.js +1 -0
- package/dist/webcomponents/p-B6YPrwyC.js +1 -0
- package/dist/webcomponents/{p-bn_huKYG.js → p-BICxxa69.js} +1 -1
- package/dist/webcomponents/p-BJu1-9kE.js +1 -0
- package/dist/webcomponents/{p-Cej-1bD6.js → p-BXyADlAH.js} +1 -1
- package/dist/webcomponents/p-Ba8jdOkX.js +1 -0
- package/dist/webcomponents/p-BxKbnILQ.js +1 -0
- package/dist/webcomponents/{p-2LVpxCS_.js → p-CHo7TfsM.js} +1 -1
- package/dist/webcomponents/p-CHw7tICr.js +1 -0
- package/dist/webcomponents/{p-DnrawQn3.js → p-CPKMvyV_.js} +1 -1
- package/dist/webcomponents/p-Ce_W43gc.js +1 -0
- package/dist/webcomponents/{p-B5vVjDc_.js → p-Cm9f5fyh.js} +1 -1
- package/dist/webcomponents/p-CqiVXthx.js +1 -0
- package/dist/webcomponents/{p-x9fFFf7F.js → p-Cu7hgXL1.js} +1 -1
- package/dist/webcomponents/p-D-zwk1J3.js +1 -0
- package/dist/webcomponents/{p-D1D2eC05.js → p-D1_eip6x.js} +1 -1
- package/dist/webcomponents/p-D8ytux5N.js +1 -0
- package/dist/webcomponents/p-DO9lqnbB.js +1 -0
- package/dist/webcomponents/p-DSclFZ32.js +1 -0
- package/dist/webcomponents/p-DYHjzFnJ.js +1 -0
- package/dist/webcomponents/{p-DgH-jcIo.js → p-DjjAx7PF.js} +1 -1
- package/dist/webcomponents/p-Dk26hk5T.js +1 -0
- package/dist/webcomponents/p-DrMJliVY.js +1 -0
- package/dist/webcomponents/p-NZS8uCtH.js +1 -0
- package/dist/webcomponents/p-XIWgia4J.js +1 -0
- package/dist/webcomponents/{p-9581d6a1.entry.js → p-a9695714.entry.js} +1 -1
- package/dist/webcomponents/p-afe714cb.entry.js +1 -0
- package/dist/webcomponents/p-av6jyzyC.js +1 -0
- package/dist/webcomponents/p-b0b6083f.entry.js +1 -0
- package/dist/webcomponents/p-b192f251.entry.js +1 -0
- package/dist/webcomponents/p-b436a7d2.entry.js +1 -0
- package/dist/webcomponents/{p-e6e56dbb.entry.js → p-b62ff001.entry.js} +1 -1
- package/dist/webcomponents/p-bde7fe69.entry.js +1 -0
- package/dist/webcomponents/p-c108cd71.entry.js +1 -0
- package/dist/webcomponents/p-c1539656.entry.js +1 -0
- package/dist/webcomponents/p-c4415366.entry.js +1 -0
- package/dist/webcomponents/p-c8bc235f.entry.js +1 -0
- package/dist/webcomponents/{p-09d2efad.entry.js → p-ca87c609.entry.js} +1 -1
- package/dist/webcomponents/p-d1eabad2.entry.js +1 -0
- package/dist/webcomponents/{p-31e74a5a.entry.js → p-d5e7291a.entry.js} +1 -1
- package/dist/webcomponents/p-d79c5ee4.entry.js +1 -0
- package/dist/webcomponents/{p-9db1444f.entry.js → p-db09f306.entry.js} +1 -1
- package/dist/webcomponents/{p-354fb3c4.entry.js → p-e020f003.entry.js} +1 -1
- package/dist/webcomponents/p-e17b92ec.entry.js +1 -0
- package/dist/webcomponents/{p-1e8135f0.entry.js → p-e322dcba.entry.js} +1 -1
- package/dist/webcomponents/p-e5c2215a.entry.js +1 -0
- package/dist/webcomponents/p-e6ec9e6d.entry.js +1 -0
- package/dist/webcomponents/p-f1b9cbf0.entry.js +1 -0
- package/dist/webcomponents/p-f9aafb21.entry.js +1 -0
- package/dist/webcomponents/p-fE5A37L5.js +1 -0
- package/dist/webcomponents/{p-bc2af6b4.entry.js → p-ff8cf16c.entry.js} +1 -1
- package/dist/webcomponents/p-jIDKmNHy.js +1 -0
- package/dist/webcomponents/p-nb_LhbJq.js +1 -0
- package/dist/webcomponents/p-oTtn8xDw.js +1 -0
- package/dist/webcomponents/p-uZ5KAseb.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +2 -2
- package/readme.md +7 -14
- package/dist/cjs/Dispute-CruQTF6_.js +0 -59
- package/dist/cjs/business-additional-questions-schema-CI80eZLJ.js +0 -73
- package/dist/cjs/checkouts-list-core.cjs.entry.js +0 -146
- package/dist/cjs/checkouts-table-CCxrsy0x.js +0 -55
- package/dist/cjs/dispute.service-BbtwY673.js +0 -32
- package/dist/cjs/form-control-number_3.cjs.entry.js +0 -249
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +0 -11075
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +0 -61
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +0 -108
- package/dist/cjs/terminal-orders-table-Cz6qvzVE.js +0 -83
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +0 -523
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +0 -262
- package/dist/collection/components/dispute-management/dispute-management-core.js +0 -169
- package/dist/collection/components/dispute-management/dispute-response/justifi-dispute-response.js +0 -190
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +0 -139
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +0 -199
- package/dist/esm/Dispute-BH0Xfn-F.js +0 -57
- package/dist/esm/business-additional-questions-schema-DKudYaoE.js +0 -69
- package/dist/esm/business-identity-schema-CFhSc0cA.js +0 -99
- package/dist/esm/checkouts-list-core.entry.js +0 -144
- package/dist/esm/checkouts-table-C8sPHeTm.js +0 -51
- package/dist/esm/dispute.service-vlYGy0nR.js +0 -30
- package/dist/esm/form-control-number_3.entry.js +0 -245
- package/dist/esm/gross-payment-chart-core.entry.js +0 -11073
- package/dist/esm/justifi-dispute-management-core.entry.js +0 -59
- package/dist/esm/terminal-orders-list-core.entry.js +0 -106
- package/dist/esm/terminal-orders-table-C7KOcRpq.js +0 -79
- package/dist/module/checkouts-list-core.js +0 -6
- package/dist/module/checkouts-list-core2.js +0 -227
- package/dist/module/dispute-management-core.js +0 -193
- package/dist/module/dispute-response-actions.js +0 -119
- package/dist/module/gross-payment-chart-core.d.ts +0 -11
- package/dist/module/gross-payment-chart-core.js +0 -6
- package/dist/module/gross-payment-chart-core2.js +0 -11096
- package/dist/module/justifi-additional-statement.d.ts +0 -11
- package/dist/module/justifi-additional-statement.js +0 -6
- package/dist/module/justifi-cancellation-policy.d.ts +0 -11
- package/dist/module/justifi-cancellation-policy.js +0 -6
- package/dist/module/justifi-customer-details.d.ts +0 -11
- package/dist/module/justifi-customer-details.js +0 -6
- package/dist/module/justifi-dispute-management-core.d.ts +0 -11
- package/dist/module/justifi-dispute-management-core.js +0 -6
- package/dist/module/justifi-dispute-notification.d.ts +0 -11
- package/dist/module/justifi-dispute-notification.js +0 -6
- package/dist/module/justifi-dispute-notification2.js +0 -85
- package/dist/module/justifi-dispute-response-core.d.ts +0 -11
- package/dist/module/justifi-dispute-response-core.js +0 -6
- package/dist/module/justifi-dispute-response.d.ts +0 -11
- package/dist/module/justifi-dispute-response.js +0 -6
- package/dist/module/justifi-dispute-response2.js +0 -198
- package/dist/module/justifi-duplicate-charge.d.ts +0 -11
- package/dist/module/justifi-duplicate-charge.js +0 -6
- package/dist/module/justifi-electronic-evidence.d.ts +0 -11
- package/dist/module/justifi-electronic-evidence.js +0 -6
- package/dist/module/justifi-product-or-service.d.ts +0 -11
- package/dist/module/justifi-product-or-service.js +0 -6
- package/dist/module/justifi-refund-policy.js +0 -6
- package/dist/module/justifi-shipping-details.d.ts +0 -11
- package/dist/module/justifi-shipping-details.js +0 -6
- package/dist/module/owner-form-core.js +0 -6
- package/dist/module/owner-form-core2.js +0 -262
- package/dist/module/terminal-orders-list-core.d.ts +0 -11
- package/dist/module/terminal-orders-list-core.js +0 -6
- package/dist/module/terminal-orders-list-core2.js +0 -209
- package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +0 -88
- package/dist/types/components/checkouts-list/checkouts-list-core.d.ts +0 -34
- package/dist/types/components/dispute-management/dispute-management-core.d.ts +0 -18
- package/dist/types/components/dispute-management/dispute-response/justifi-dispute-response.d.ts +0 -35
- package/dist/types/components/gross-payment-chart/gross-payment-chart-core.d.ts +0 -21
- package/dist/types/components/terminal-orders-list/terminal-orders-list-core.d.ts +0 -28
- package/dist/webcomponents/p--e0ff06z.js +0 -1
- package/dist/webcomponents/p-032b4553.entry.js +0 -1
- package/dist/webcomponents/p-042daaf8.entry.js +0 -1
- package/dist/webcomponents/p-0638f0bd.entry.js +0 -1
- package/dist/webcomponents/p-0b3f4f22.entry.js +0 -1
- package/dist/webcomponents/p-1c4f5f1d.entry.js +0 -1
- package/dist/webcomponents/p-24935254.entry.js +0 -1
- package/dist/webcomponents/p-2a755daf.entry.js +0 -1
- package/dist/webcomponents/p-3488951f.entry.js +0 -1
- package/dist/webcomponents/p-437a99dc.entry.js +0 -1
- package/dist/webcomponents/p-49c0cd3a.entry.js +0 -1
- package/dist/webcomponents/p-50f5e313.entry.js +0 -1
- package/dist/webcomponents/p-52908814.entry.js +0 -1
- package/dist/webcomponents/p-587886f1.entry.js +0 -1
- package/dist/webcomponents/p-5ef355ce.entry.js +0 -1
- package/dist/webcomponents/p-5ef854e0.entry.js +0 -1
- package/dist/webcomponents/p-67498c25.entry.js +0 -1
- package/dist/webcomponents/p-6917aa3c.entry.js +0 -1
- package/dist/webcomponents/p-6d81822f.entry.js +0 -1
- package/dist/webcomponents/p-6f0c582a.entry.js +0 -1
- package/dist/webcomponents/p-80652cf8.entry.js +0 -1
- package/dist/webcomponents/p-82fe02e4.entry.js +0 -1
- package/dist/webcomponents/p-83147f23.entry.js +0 -1
- package/dist/webcomponents/p-8c2427ed.entry.js +0 -1
- package/dist/webcomponents/p-92de00d7.entry.js +0 -1
- package/dist/webcomponents/p-94306884.entry.js +0 -1
- package/dist/webcomponents/p-9937e2e7.entry.js +0 -1
- package/dist/webcomponents/p-9dca1331.entry.js +0 -1
- package/dist/webcomponents/p-9f74d7ea.entry.js +0 -1
- package/dist/webcomponents/p-B--N37zY.js +0 -1
- package/dist/webcomponents/p-BH0Xfn-F.js +0 -1
- package/dist/webcomponents/p-Bg2SZArf.js +0 -1
- package/dist/webcomponents/p-BovgIz83.js +0 -1
- package/dist/webcomponents/p-BsQy297i.js +0 -1
- package/dist/webcomponents/p-CDf5H0TB.js +0 -1
- package/dist/webcomponents/p-CUI41_5y.js +0 -1
- package/dist/webcomponents/p-CX36GHQP.js +0 -1
- package/dist/webcomponents/p-Cf6HoQKl.js +0 -1
- package/dist/webcomponents/p-CsdYMTrc.js +0 -1
- package/dist/webcomponents/p-D4OlsyTo.js +0 -1
- package/dist/webcomponents/p-D8EGHc_m.js +0 -1
- package/dist/webcomponents/p-DPmnGTmg.js +0 -1
- package/dist/webcomponents/p-DWevPe7C.js +0 -1
- package/dist/webcomponents/p-Dbg501Lu.js +0 -1
- package/dist/webcomponents/p-DcBvJu0k.js +0 -1
- package/dist/webcomponents/p-DkdzUTnl.js +0 -1
- package/dist/webcomponents/p-HT_4DkD0.js +0 -1
- package/dist/webcomponents/p-MDZuGvsl.js +0 -1
- package/dist/webcomponents/p-XrKLre8M.js +0 -1
- package/dist/webcomponents/p-_-2E_vYf.js +0 -1
- package/dist/webcomponents/p-a75d76ff.entry.js +0 -1
- package/dist/webcomponents/p-a7778957.entry.js +0 -1
- package/dist/webcomponents/p-a9d7cdae.entry.js +0 -1
- package/dist/webcomponents/p-b060a9c9.entry.js +0 -1
- package/dist/webcomponents/p-b06910b0.entry.js +0 -1
- package/dist/webcomponents/p-b483e71b.entry.js +0 -1
- package/dist/webcomponents/p-bdf21f71.entry.js +0 -1
- package/dist/webcomponents/p-be5d1005.entry.js +0 -1
- package/dist/webcomponents/p-beXEDfB9.js +0 -1
- package/dist/webcomponents/p-bfe2583d.entry.js +0 -1
- package/dist/webcomponents/p-c09fccd3.entry.js +0 -1
- package/dist/webcomponents/p-c827cbc9.entry.js +0 -1
- package/dist/webcomponents/p-cc5b7c27.entry.js +0 -1
- package/dist/webcomponents/p-d878df6c.entry.js +0 -1
- package/dist/webcomponents/p-ddf699e6.entry.js +0 -20
- package/dist/webcomponents/p-e0b3735f.entry.js +0 -1
- package/dist/webcomponents/p-ea30cf08.entry.js +0 -1
- package/dist/webcomponents/p-edf5a854.entry.js +0 -1
- package/dist/webcomponents/p-ef89824b.entry.js +0 -1
- package/dist/webcomponents/p-fc7ba195.entry.js +0 -1
- package/dist/webcomponents/p-hhdRync5.js +0 -1
- package/dist/webcomponents/p-niGr4RT2.js +0 -1
- package/dist/webcomponents/p-pL4dNfsl.js +0 -1
- package/dist/webcomponents/p-qcQTYcr3.js +0 -1
- package/dist/webcomponents/p-qrNmDp6K.js +0 -1
- package/dist/webcomponents/p-uCg79W3M.js +0 -1
- package/dist/webcomponents/p-zi3ljCdQ.js +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-CV0Pyo1O.js';
|
|
2
2
|
import { c as create$3, F as FormController } from './index.esm-BHdVU4hV.js';
|
|
3
|
-
import { y as postalValidation, z as stateValidation, h as cityValidation, l as lineTwoValidation, j as lineOneValidation, v as identityNameValidation } from './schema-validations-
|
|
4
|
-
import { al as billingForm } from './parts-
|
|
3
|
+
import { y as postalValidation, z as stateValidation, h as cityValidation, l as lineTwoValidation, j as lineOneValidation, v as identityNameValidation, A as checkoutBillingStateOptions } from './schema-validations-A1o1biOB.js';
|
|
4
|
+
import { al as billingForm } from './parts-CPKMvyV_.js';
|
|
5
5
|
import { c as checkoutStore, o as onChange } from './checkout.store-DFnkcDZ8.js';
|
|
6
6
|
import { P as PAYMENT_METHODS } from './index-DkoufM1t.js';
|
|
7
|
-
import { H as Header3 } from './header-3-
|
|
7
|
+
import { H as Header3 } from './header-3-BUDap2xY.js';
|
|
8
8
|
import './event-types-CZfYo5-1.js';
|
|
9
|
-
import { S as StateOptions } from './Business-BcNb9bVO.js';
|
|
10
9
|
import './_commonjsHelpers-BFTU3MAI.js';
|
|
11
|
-
import './country-config-
|
|
10
|
+
import './country-config-CdvhLcnT.js';
|
|
11
|
+
import './Business-BcNb9bVO.js';
|
|
12
12
|
import './business-form-options-DRalxlqN.js';
|
|
13
13
|
import './index-cDVGjRkU.js';
|
|
14
14
|
|
|
@@ -17,7 +17,7 @@ const fullBillingSchema = () => create$3({
|
|
|
17
17
|
address_line1: lineOneValidation.required('Enter street address'),
|
|
18
18
|
address_line2: lineTwoValidation.nullable(),
|
|
19
19
|
address_city: cityValidation.required('Enter city'),
|
|
20
|
-
address_state: stateValidation.required('Select state'),
|
|
20
|
+
address_state: stateValidation.required('Select state or province'),
|
|
21
21
|
address_postal_code: postalValidation.required('Enter postal code'),
|
|
22
22
|
});
|
|
23
23
|
const postalOnlySchema = () => create$3({
|
|
@@ -149,7 +149,7 @@ const BillingFormFull = class {
|
|
|
149
149
|
return null;
|
|
150
150
|
}
|
|
151
151
|
const billingFormDefaultValue = this.formController.getInitialValues();
|
|
152
|
-
return (h("div", { part: billingForm, class: "mt-4" }, h(Header3, { text: "Billing address", class: "fs-6 fw-bold lh-lg mb-4" }), h("form", null, h("fieldset", null, this.legend && (h("legend", null, this.legend)), h("div", { class: "row gy-3" }, h("div", { class: "col-12" }, h("form-control-text", { name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-select", { name: 'address_state', label: 'State', options:
|
|
152
|
+
return (h("div", { part: billingForm, class: "mt-4" }, h(Header3, { text: "Billing address", class: "fs-6 fw-bold lh-lg mb-4" }), h("form", null, h("fieldset", null, this.legend && (h("legend", null, this.legend)), h("div", { class: "row gy-3" }, h("div", { class: "col-12" }, h("form-control-text", { name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-select", { name: 'address_state', label: 'State / Province', options: checkoutBillingStateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_postal_code', label: "Postal Code", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 7 })))))));
|
|
153
153
|
}
|
|
154
154
|
};
|
|
155
155
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { h, r as registerInstance } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { S as Skeleton } from './skeleton-
|
|
2
|
+
import { S as Skeleton } from './skeleton-BEHo2ypu.js';
|
|
3
3
|
import { w as waitForConfig, c as configState } from './config-state-kKn89dp1.js';
|
|
4
4
|
import { e as generateTabId } from './utils-BTtxWI2r.js';
|
|
5
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
6
|
-
import './parts-
|
|
5
|
+
import { c as checkPkgVersion } from './check-pkg-version-D-rHqtUI.js';
|
|
6
|
+
import './parts-CPKMvyV_.js';
|
|
7
7
|
import './index-cDVGjRkU.js';
|
|
8
8
|
import './dinero-HXpYMWUU.js';
|
|
9
|
-
import './package-
|
|
9
|
+
import './package-B6YPrwyC.js';
|
|
10
10
|
|
|
11
11
|
const BankAccountFormSkeleton = (props) => {
|
|
12
12
|
const { isReady } = props;
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { c as create$3, a as create$6 } from './index.esm-BHdVU4hV.js';
|
|
2
|
+
import { m as makeTaxIdValidation, d as dateOfIncorporationValidation, i as industryValidation, b as businessClassificationValidation, a as doingBusinessAsValidation, p as phoneValidation, e as emailValidation, w as websiteUrlValidation, c as businessNameValidation, t as taxIdValidation, o as otherPaymentDetailsValidation, f as whenServiceReceivedValidation, r as revenueValidation, g as paymentVolumeValidation, h as cityValidation, l as lineTwoValidation, j as lineOneValidation, k as makePostalValidation, n as ownershipPercentageValidation, s as ssnValidation, q as dobValidation, u as identityTitleValidation, v as identityNameValidation, x as makeIdentityNumberValidation } from './schema-validations-A1o1biOB.js';
|
|
3
|
+
import { C as CountryCode } from './Business-BcNb9bVO.js';
|
|
4
|
+
import { c as countryLabels } from './country-config-CdvhLcnT.js';
|
|
5
|
+
|
|
6
|
+
// Base schema (no country-specific rules for classification/tax id)
|
|
7
|
+
const baseBusinessCoreInfoSchema = (allowOptionalFields) => {
|
|
8
|
+
const schema = create$3({
|
|
9
|
+
legal_name: businessNameValidation.required('Enter legal name'),
|
|
10
|
+
website_url: websiteUrlValidation.required('Enter business website url'),
|
|
11
|
+
email: emailValidation.required('Enter business email'),
|
|
12
|
+
phone: phoneValidation.required('Enter phone number'),
|
|
13
|
+
doing_business_as: doingBusinessAsValidation.nullable(),
|
|
14
|
+
classification: businessClassificationValidation.required('Select business classification'),
|
|
15
|
+
industry: industryValidation.required('Enter a business industry'),
|
|
16
|
+
date_of_incorporation: dateOfIncorporationValidation.required('Enter date of registration'),
|
|
17
|
+
});
|
|
18
|
+
const easySchema = create$3({
|
|
19
|
+
legal_name: businessNameValidation.required('Enter legal name'),
|
|
20
|
+
website_url: websiteUrlValidation.nullable(),
|
|
21
|
+
email: emailValidation.nullable(),
|
|
22
|
+
phone: phoneValidation.nullable(),
|
|
23
|
+
doing_business_as: doingBusinessAsValidation.nullable(),
|
|
24
|
+
classification: businessClassificationValidation.nullable(),
|
|
25
|
+
industry: industryValidation.nullable(),
|
|
26
|
+
tax_id: taxIdValidation.nullable(),
|
|
27
|
+
date_of_incorporation: dateOfIncorporationValidation.nullable(),
|
|
28
|
+
});
|
|
29
|
+
return allowOptionalFields ? easySchema : schema;
|
|
30
|
+
};
|
|
31
|
+
// Country-specific schema convenience wrappers
|
|
32
|
+
const businessCoreInfoSchemaUSA = (allowOptionalFields) => baseBusinessCoreInfoSchema(allowOptionalFields).concat(create$3({
|
|
33
|
+
classification: create$6().required('Select business classification'),
|
|
34
|
+
tax_id: makeTaxIdValidation(CountryCode.USA)
|
|
35
|
+
.when('tax_id_last4', {
|
|
36
|
+
is: (val) => !val,
|
|
37
|
+
then: (schema) => schema.required(`Enter valid ${countryLabels.USA.taxIdLabel} without dashes`),
|
|
38
|
+
otherwise: (schema) => schema.nullable(),
|
|
39
|
+
}),
|
|
40
|
+
}));
|
|
41
|
+
const businessCoreInfoSchemaCAN = (allowOptionalFields) => baseBusinessCoreInfoSchema(allowOptionalFields).concat(create$3({
|
|
42
|
+
classification: create$6().required('Select business classification'),
|
|
43
|
+
tax_id: makeTaxIdValidation(CountryCode.CAN)
|
|
44
|
+
.when('tax_id_last4', {
|
|
45
|
+
is: (val) => !val,
|
|
46
|
+
then: (schema) => schema.required(`Enter valid ${countryLabels.CAN.taxIdLabel} without dashes`),
|
|
47
|
+
otherwise: (schema) => schema.nullable(),
|
|
48
|
+
}),
|
|
49
|
+
}));
|
|
50
|
+
|
|
51
|
+
const additionalQuestionsSchema = (allowOptionalFields) => {
|
|
52
|
+
const schema = create$3({
|
|
53
|
+
business_revenue: revenueValidation.required('Enter business revenue'),
|
|
54
|
+
business_payment_volume: paymentVolumeValidation.required('Enter business payment volume'),
|
|
55
|
+
business_average_transaction_amount: revenueValidation.required('Enter average transaction amount'),
|
|
56
|
+
business_when_service_received: whenServiceReceivedValidation.required('Select when service is received'),
|
|
57
|
+
business_other_payment_details: otherPaymentDetailsValidation.nullable(),
|
|
58
|
+
});
|
|
59
|
+
const easySchema = create$3({
|
|
60
|
+
business_revenue: revenueValidation.nullable(),
|
|
61
|
+
business_payment_volume: paymentVolumeValidation.nullable(),
|
|
62
|
+
business_average_transaction_amount: revenueValidation.nullable(),
|
|
63
|
+
business_when_service_received: whenServiceReceivedValidation.nullable(),
|
|
64
|
+
business_other_payment_details: otherPaymentDetailsValidation.nullable(),
|
|
65
|
+
});
|
|
66
|
+
return allowOptionalFields ? easySchema : schema;
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
// Internal USA schemas
|
|
70
|
+
const schemaUSA$1 = () => create$3({
|
|
71
|
+
line1: lineOneValidation.nullable(),
|
|
72
|
+
line2: lineTwoValidation.nullable(),
|
|
73
|
+
city: cityValidation.nullable(),
|
|
74
|
+
state: create$6().nullable(),
|
|
75
|
+
postal_code: create$6().nullable(),
|
|
76
|
+
});
|
|
77
|
+
const strictSchemaUSA$1 = () => create$3({
|
|
78
|
+
line1: lineOneValidation.required('Enter street address'),
|
|
79
|
+
line2: lineTwoValidation.nullable(),
|
|
80
|
+
city: cityValidation.required('Enter city'),
|
|
81
|
+
state: create$6().required('Select state'),
|
|
82
|
+
postal_code: makePostalValidation(CountryCode.USA).required('Enter postal code'),
|
|
83
|
+
});
|
|
84
|
+
// Internal CAN schemas
|
|
85
|
+
const schemaCAN$1 = () => create$3({
|
|
86
|
+
line1: lineOneValidation.nullable(),
|
|
87
|
+
line2: lineTwoValidation.nullable(),
|
|
88
|
+
city: cityValidation.nullable(),
|
|
89
|
+
state: create$6().nullable(),
|
|
90
|
+
postal_code: create$6().nullable(),
|
|
91
|
+
});
|
|
92
|
+
const strictSchemaCAN$1 = () => create$3({
|
|
93
|
+
line1: lineOneValidation.required('Enter street address'),
|
|
94
|
+
line2: lineTwoValidation.nullable(),
|
|
95
|
+
city: cityValidation.required('Enter city'),
|
|
96
|
+
state: create$6().required('Select province'),
|
|
97
|
+
postal_code: makePostalValidation(CountryCode.CAN).required('Enter postal code'),
|
|
98
|
+
});
|
|
99
|
+
// Public API
|
|
100
|
+
const addressSchemaUSA = (allowOptionalFields) => allowOptionalFields ? schemaUSA$1() : strictSchemaUSA$1();
|
|
101
|
+
const addressSchemaCAN = (allowOptionalFields) => allowOptionalFields ? schemaCAN$1() : strictSchemaCAN$1();
|
|
102
|
+
// Country-keyed mapping
|
|
103
|
+
const addressSchemaByCountry = {
|
|
104
|
+
[CountryCode.USA]: addressSchemaUSA,
|
|
105
|
+
[CountryCode.CAN]: addressSchemaCAN,
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
// Internal USA schemas
|
|
109
|
+
const schemaUSA = (role) => create$3({
|
|
110
|
+
name: identityNameValidation.required(`Enter ${role} name`),
|
|
111
|
+
title: identityTitleValidation.nullable(),
|
|
112
|
+
email: emailValidation.nullable(),
|
|
113
|
+
phone: phoneValidation.nullable(),
|
|
114
|
+
dob_full: dobValidation(role).nullable(),
|
|
115
|
+
ssn_last4: create$6().nullable(),
|
|
116
|
+
identification_number: ssnValidation.nullable(),
|
|
117
|
+
ownership_percentage: ownershipPercentageValidation.nullable(),
|
|
118
|
+
address: addressSchemaUSA(true),
|
|
119
|
+
});
|
|
120
|
+
const strictSchemaUSA = (role) => create$3({
|
|
121
|
+
name: identityNameValidation.required(`Enter ${role} name`),
|
|
122
|
+
title: identityTitleValidation.required(`Enter ${role} title`),
|
|
123
|
+
email: emailValidation.required(`Enter ${role} email`),
|
|
124
|
+
phone: phoneValidation.required('Enter phone number'),
|
|
125
|
+
dob_full: dobValidation(role).required('Enter date of birth'),
|
|
126
|
+
ssn_last4: create$6().nullable(),
|
|
127
|
+
// ssn required unless last4 provided (handled inside ssnValidation)
|
|
128
|
+
identification_number: ssnValidation,
|
|
129
|
+
ownership_percentage: ownershipPercentageValidation.nullable(),
|
|
130
|
+
address: addressSchemaUSA(false),
|
|
131
|
+
});
|
|
132
|
+
// Internal CAN schemas
|
|
133
|
+
const schemaCAN = (role) => create$3({
|
|
134
|
+
name: identityNameValidation.required(`Enter ${role} name`),
|
|
135
|
+
title: identityTitleValidation.nullable(),
|
|
136
|
+
email: emailValidation.nullable(),
|
|
137
|
+
phone: phoneValidation.nullable(),
|
|
138
|
+
dob_full: dobValidation(role).nullable(),
|
|
139
|
+
ssn_last4: create$6().nullable(),
|
|
140
|
+
identification_number: makeIdentityNumberValidation(CountryCode.CAN).nullable(),
|
|
141
|
+
ownership_percentage: ownershipPercentageValidation.nullable(),
|
|
142
|
+
address: addressSchemaCAN(true),
|
|
143
|
+
});
|
|
144
|
+
const strictSchemaCAN = (role) => create$3({
|
|
145
|
+
name: identityNameValidation.required(`Enter ${role} name`),
|
|
146
|
+
title: identityTitleValidation.required(`Enter ${role} title`),
|
|
147
|
+
email: emailValidation.required(`Enter ${role} email`),
|
|
148
|
+
phone: phoneValidation.required('Enter phone number'),
|
|
149
|
+
dob_full: dobValidation(role).required('Enter date of birth'),
|
|
150
|
+
ssn_last4: create$6().nullable(),
|
|
151
|
+
identification_number: makeIdentityNumberValidation(CountryCode.CAN),
|
|
152
|
+
ownership_percentage: ownershipPercentageValidation.nullable(),
|
|
153
|
+
address: addressSchemaCAN(false),
|
|
154
|
+
});
|
|
155
|
+
const identitySchemaUSA = (role, allowOptionalFields) => allowOptionalFields ? schemaUSA(role) : strictSchemaUSA(role);
|
|
156
|
+
const identitySchemaCAN = (role, allowOptionalFields) => allowOptionalFields ? schemaCAN(role) : strictSchemaCAN(role);
|
|
157
|
+
// Country-keyed mapping
|
|
158
|
+
const identitySchemaByCountry = {
|
|
159
|
+
[CountryCode.USA]: identitySchemaUSA,
|
|
160
|
+
[CountryCode.CAN]: identitySchemaCAN,
|
|
161
|
+
};
|
|
162
|
+
|
|
163
|
+
export { additionalQuestionsSchema as a, businessCoreInfoSchemaUSA as b, addressSchemaUSA as c, businessCoreInfoSchemaCAN as d, identitySchemaCAN as e, addressSchemaCAN as f, identitySchemaByCountry as g, addressSchemaByCountry as h, identitySchemaUSA as i };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { A as Api } from './Api-DMd8hTI-.js';
|
|
2
|
-
import './Plaid-
|
|
2
|
+
import './Plaid-l6nNIjab.js';
|
|
3
3
|
import './Pagination-CLHwhyvu.js';
|
|
4
4
|
import './Business-BcNb9bVO.js';
|
|
5
|
-
import './Dispute-BH0Xfn-F.js';
|
|
6
5
|
|
|
7
6
|
const api = Api();
|
|
8
7
|
class BusinessService {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { U as buttonOutlineSecondary, V as buttonOutlinePrimary, C as buttonLink, W as buttonDark, X as buttonLight, Y as buttonInfo, Z as buttonWarning, _ as buttonDanger, $ as buttonSuccess, a0 as buttonSecondary, a1 as buttonPrimary, a2 as buttonLoading } from './parts-
|
|
2
|
+
import { U as buttonOutlineSecondary, V as buttonOutlinePrimary, C as buttonLink, W as buttonDark, X as buttonLight, Y as buttonInfo, Z as buttonWarning, _ as buttonDanger, $ as buttonSuccess, a0 as buttonSecondary, a1 as buttonPrimary, a2 as buttonLoading } from './parts-CPKMvyV_.js';
|
|
3
3
|
|
|
4
4
|
const ButtonSpinner = () => (h("div", { class: "spinner-border spinner-border-sm", role: "status", part: "button-spinner" }, h("span", { class: "visually-hidden" }, "Loading...")));
|
|
5
5
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { h, r as registerInstance } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { S as Skeleton } from './skeleton-
|
|
2
|
+
import { S as Skeleton } from './skeleton-BEHo2ypu.js';
|
|
3
3
|
import { w as waitForConfig, c as configState } from './config-state-kKn89dp1.js';
|
|
4
4
|
import { e as generateTabId } from './utils-BTtxWI2r.js';
|
|
5
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
6
|
-
import './parts-
|
|
5
|
+
import { c as checkPkgVersion } from './check-pkg-version-D-rHqtUI.js';
|
|
6
|
+
import './parts-CPKMvyV_.js';
|
|
7
7
|
import './index-cDVGjRkU.js';
|
|
8
8
|
import './dinero-HXpYMWUU.js';
|
|
9
|
-
import './package-
|
|
9
|
+
import './package-B6YPrwyC.js';
|
|
10
10
|
|
|
11
11
|
const CardFormSkeleton = (props) => {
|
|
12
12
|
const { isReady } = props;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { A as Api } from './Api-DMd8hTI-.js';
|
|
2
|
-
import './Plaid-
|
|
2
|
+
import './Plaid-l6nNIjab.js';
|
|
3
3
|
import './Pagination-CLHwhyvu.js';
|
|
4
4
|
import './Business-BcNb9bVO.js';
|
|
5
|
-
import './Dispute-BH0Xfn-F.js';
|
|
6
5
|
|
|
7
6
|
const api = Api();
|
|
8
7
|
class CheckoutService {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { an as tooltip, ao as tooltipInner, ap as tooltipIcon } from './parts-
|
|
2
|
+
import { an as tooltip, ao as tooltipInner, ap as tooltipIcon } from './parts-CPKMvyV_.js';
|
|
3
3
|
|
|
4
4
|
var top = 'top';
|
|
5
5
|
var bottom = 'bottom';
|
|
@@ -1901,7 +1901,7 @@ const CustomPopper = class {
|
|
|
1901
1901
|
this.hideEvent.emit();
|
|
1902
1902
|
}
|
|
1903
1903
|
render() {
|
|
1904
|
-
return (h("div", { key: '
|
|
1904
|
+
return (h("div", { key: 'eb1e7317215bc36f340ac0cd8b5826cc302c3693' }, h("style", { key: '1acdb1992e684a654d659e7472758e016b4b11d6' }, `
|
|
1905
1905
|
.popper-content {
|
|
1906
1906
|
display: none;
|
|
1907
1907
|
}
|
|
@@ -1909,7 +1909,7 @@ const CustomPopper = class {
|
|
|
1909
1909
|
display: block;
|
|
1910
1910
|
z-index: 1030;
|
|
1911
1911
|
}
|
|
1912
|
-
`), h("div", { key: '
|
|
1912
|
+
`), h("div", { key: '53ff89449687b84469c9cfbb83c7807b6e95e003', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: 'f8f516747c2ad6c2e32efefeaa33f319a202bba6' }))));
|
|
1913
1913
|
}
|
|
1914
1914
|
static get watchers() { return {
|
|
1915
1915
|
"anchorRef": ["onAnchorRefChange"]
|
package/dist/esm/{justifi-dispute-notification_3.entry.js → dispute-notification_2.entry.js}
RENAMED
|
@@ -1,24 +1,21 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-CV0Pyo1O.js';
|
|
2
2
|
import { f as formatCurrency } from './utils-BTtxWI2r.js';
|
|
3
|
-
import { t as text, a8 as heading4 } from './parts-
|
|
4
|
-
import { B as Button } from './button-
|
|
5
|
-
import { S as
|
|
6
|
-
import { S as Skeleton } from './skeleton-CXGFVqDf.js';
|
|
3
|
+
import { t as text, a8 as heading4 } from './parts-CPKMvyV_.js';
|
|
4
|
+
import { B as Button } from './button-BvzOzV4l.js';
|
|
5
|
+
import { S as Skeleton } from './skeleton-BEHo2ypu.js';
|
|
7
6
|
import './event-types-CZfYo5-1.js';
|
|
8
|
-
import { C as ComponentErrorSeverity, e as ComponentErrorCodes } from './Plaid-
|
|
9
|
-
import { g as getErrorCode, a as getErrorMessage } from './utils-
|
|
10
|
-
import { D as DisputeService } from './
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { J as JustifiAnalytics } from './Analytics-Cyc3ZLPx.js';
|
|
7
|
+
import { C as ComponentErrorSeverity, e as ComponentErrorCodes } from './Plaid-l6nNIjab.js';
|
|
8
|
+
import { g as getErrorCode, a as getErrorMessage } from './utils-C1B2hVAB.js';
|
|
9
|
+
import { D as DisputeManagementClickActions, a as DisputeService } from './event-types-DalU_6SB.js';
|
|
10
|
+
import { c as checkPkgVersion } from './check-pkg-version-D-rHqtUI.js';
|
|
11
|
+
import { J as JustifiAnalytics } from './Analytics-Cg17Xhj_.js';
|
|
14
12
|
import './dinero-HXpYMWUU.js';
|
|
15
|
-
import './Dispute-BH0Xfn-F.js';
|
|
16
13
|
import './Api-DMd8hTI-.js';
|
|
17
14
|
import './config-state-kKn89dp1.js';
|
|
18
15
|
import './index-cDVGjRkU.js';
|
|
19
16
|
import './Pagination-CLHwhyvu.js';
|
|
20
17
|
import './Business-BcNb9bVO.js';
|
|
21
|
-
import './package-
|
|
18
|
+
import './package-B6YPrwyC.js';
|
|
22
19
|
|
|
23
20
|
const makeUpdateDisputeResponse = ({ authToken, disputeId, service }) => async ({ payload, onSuccess, onError, final = () => { } }) => {
|
|
24
21
|
var _a;
|
|
@@ -108,7 +105,7 @@ const makeCreateDisputeEvidence = ({ authToken, disputeId, service }) => async (
|
|
|
108
105
|
}
|
|
109
106
|
};
|
|
110
107
|
|
|
111
|
-
const
|
|
108
|
+
const DisputeNotification = class {
|
|
112
109
|
constructor(hostRef) {
|
|
113
110
|
registerInstance(this, hostRef);
|
|
114
111
|
this.clickEvent = createEvent(this, "click-event", 7);
|
|
@@ -153,93 +150,34 @@ const JustifiDisputeNotification = class {
|
|
|
153
150
|
}
|
|
154
151
|
render() {
|
|
155
152
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
156
|
-
return (h(
|
|
157
|
-
_b.due_date, ") for this dispute has passed"), h("p", { key: '
|
|
153
|
+
return (h("div", { key: 'c5963c0823e635ee0c2e88979b174c89c96af134', class: "dispute-notification-root" }, this.isLoading && (h("div", { key: '4de146d999a16e1b4ad3e393285a843d86febdda', style: { marginBottom: '8px' } }, h(Skeleton, { key: 'ccbf1fe76ac5582cb2536548901c12768096e867', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), h(Skeleton, { key: '06ede07362fe88dfd4ec6b38c80bf619b9c7a134', height: '18px', styles: { marginBottom: '8px' } }), h(Skeleton, { key: '768613c5b20ef403c468b12d5dacbea4b211ebef', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && this.isDueDatePassed() && (h("div", { key: 'a22e18df2764ddb6bee0db7e4da388bd9aec0d99', part: text }, h("h1", { key: 'b602464b54aacc6c0776975921dbe3fceeda1f04', class: "h4", part: heading4 }, "The due date (", (_b = this.dispute) === null || _b === void 0 ? void 0 :
|
|
154
|
+
_b.due_date, ") for this dispute has passed"), h("p", { key: 'e4b8615f75914e7aa613f6120172bc2cc0f6dd31' }, "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: '2b09cc88b63ca582e2ef8cb83ef4455d4af493cc', part: text }, h("h1", { key: '74ac700bc104aac085712a30da0b968a1bec41fe', class: "h4", part: heading4 }, "This payment is disputed"), h("p", { key: '2d133967991c3ee44f022ac925c873c198b71315' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), h("h2", { key: '376936590aaeb5903f430eedb84984704966563d', class: "h5" }, "Dispute details"), h("div", { key: '8afea9772ee48495c8b731ba8602c48e00061f8c', class: "d-table gap-2" }, h("div", { key: '14630372fff051e1baadb7239ced63ae56edaf7e', class: "d-table-row gap-2" }, h("span", { key: '4ec3fc5233e87b07021eeb78ac7d4e09666502c7', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), h("span", { key: 'fe19ae497136c8ef5511a0197952c6d3cd889b84', 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: '0f955e0707a9b8126868a34dafa39320e00d7706', class: "d-table-row gap-2" }, h("span", { key: '63dc2ebf125f6ec52a155ced1324a02b0735c78b', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), h("span", { key: '5a6e543559e873811348fa0b68d21fe0f1dac781', 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: '7656de07c60c137dd7005f96370a71442dcdb526', class: "d-table-row gap-2" }, h("span", { key: '817a89c84f605cbfac346f0d39790b35a73d51a4', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Due Date"), h("span", { key: 'e0e7c74f85934f6a1d2e02bc24d5563e1a37222e', 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: '2ef721cebd617709242a0b4b9713ff264f73eac0', class: "d-flex gap-2 mt-4 justify-content-end" }, h(Button, { key: '530f16709538e4146e542b88177145e4b2c9808a', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), h(Button, { key: 'a498af8eb2d5a41e75a8fb044b981463b8e3bbd4', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_g = this.dispute) === null || _g === void 0 ? void 0 : _g.underReview) && (h("div", { key: 'f01a89cda469402b5543b64b02ddfc9ec66cc62b', part: text }, h("h1", { key: '15f0173bdfc20dea6fb16b030479f8554e40b716', class: "h4", part: heading4 }, "This payment is disputed and under review"), h("p", { key: 'a444d77fad985cddf37a0386db7ee65f321fa11c' }, "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: '08bf0f31e5fe43dbf1058709f500d0b592827dcb', part: text }, h("h1", { key: 'e9925566140ac26b9fb42026258f3ca2bebc002f', class: "h4", part: heading4 }, "This payment was disputed"), h("p", { key: 'b0dd7cec8cad943d46d7e2d7d919f15b29d08fbd' }, "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: '4b037a462c3e9b3c7b7296e15b443c94a4310f46', part: text }, h("h1", { key: 'b614282d90adb69e9c638ed7a6f80566033c69ed', class: "h4", part: heading4 }, "This payment was disputed"), h("p", { key: '3808b99fb69241784c6f3e09bbd6b13636cb26a3' }, "The cardholder disputed this payment and the card issuer has settled it in their favor.")))));
|
|
158
155
|
}
|
|
159
156
|
};
|
|
160
157
|
|
|
161
|
-
const
|
|
162
|
-
constructor(hostRef) {
|
|
163
|
-
registerInstance(this, hostRef);
|
|
164
|
-
this.errorEvent = createEvent(this, "error-event", 7);
|
|
165
|
-
this.errorMessage = null;
|
|
166
|
-
this.apiOrigin = "https://wc-proxy.justifi.ai";
|
|
167
|
-
this.handleErrorEvent = (event) => {
|
|
168
|
-
this.errorMessage = event.detail.message;
|
|
169
|
-
this.errorEvent.emit(event.detail);
|
|
170
|
-
};
|
|
171
|
-
}
|
|
172
|
-
componentWillLoad() {
|
|
173
|
-
checkPkgVersion();
|
|
174
|
-
this.analytics = new JustifiAnalytics(this);
|
|
175
|
-
this.initializeDisputeServiceMethods();
|
|
176
|
-
}
|
|
177
|
-
disconnectedCallback() {
|
|
178
|
-
var _a;
|
|
179
|
-
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
180
|
-
}
|
|
181
|
-
;
|
|
182
|
-
propChanged() {
|
|
183
|
-
this.initializeDisputeServiceMethods();
|
|
184
|
-
}
|
|
185
|
-
initializeDisputeServiceMethods() {
|
|
186
|
-
if (this.disputeId && this.authToken) {
|
|
187
|
-
this.updateDisputeResponse = makeUpdateDisputeResponse({
|
|
188
|
-
disputeId: this.disputeId,
|
|
189
|
-
authToken: this.authToken,
|
|
190
|
-
service: new DisputeService()
|
|
191
|
-
});
|
|
192
|
-
this.createDisputeEvidence = makeCreateDisputeEvidence({
|
|
193
|
-
disputeId: this.disputeId,
|
|
194
|
-
authToken: this.authToken,
|
|
195
|
-
service: new DisputeService()
|
|
196
|
-
});
|
|
197
|
-
this.submitDisputeResponse = makeSubmitDisputeResponse({
|
|
198
|
-
disputeId: this.disputeId,
|
|
199
|
-
authToken: this.authToken,
|
|
200
|
-
service: new DisputeService()
|
|
201
|
-
});
|
|
202
|
-
}
|
|
203
|
-
else {
|
|
204
|
-
this.errorMessage = 'Account ID and Auth Token are required';
|
|
205
|
-
this.errorEvent.emit({
|
|
206
|
-
errorCode: ComponentErrorCodes.MISSING_PROPS,
|
|
207
|
-
message: this.errorMessage,
|
|
208
|
-
severity: ComponentErrorSeverity.ERROR,
|
|
209
|
-
});
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
render() {
|
|
213
|
-
return (h(StyledHost, { key: 'fb08d6796fe7740f292eff620d04e943adb30b22' }, h("justifi-dispute-response-core", { key: 'cb1859a262749d3e11c14844e5a9a5909970ee06', "onError-event": this.handleErrorEvent, "dispute-id": this.disputeId, disputeResponse: this.disputeResponse, createDisputeEvidence: this.createDisputeEvidence, updateDisputeResponse: this.updateDisputeResponse, submitDisputeResponse: this.submitDisputeResponse })));
|
|
214
|
-
}
|
|
215
|
-
;
|
|
216
|
-
static get watchers() { return {
|
|
217
|
-
"accountId": ["propChanged"],
|
|
218
|
-
"authToken": ["propChanged"]
|
|
219
|
-
}; }
|
|
220
|
-
};
|
|
221
|
-
|
|
222
|
-
const JustifiDisputeResponseCore = class {
|
|
158
|
+
const DisputeResponse = class {
|
|
223
159
|
constructor(hostRef) {
|
|
224
160
|
registerInstance(this, hostRef);
|
|
225
161
|
this.clickEvent = createEvent(this, "click-event", 7);
|
|
226
162
|
this.errorEvent = createEvent(this, "error-event", 7);
|
|
227
163
|
this.stepCompleteEvent = createEvent(this, "complete-form-step-event", 7);
|
|
228
164
|
this.submitEvent = createEvent(this, "submit-event", 7);
|
|
165
|
+
this.errorMessage = null;
|
|
229
166
|
this.disputeResponse = {};
|
|
167
|
+
this.apiOrigin = "https://wc-proxy.justifi.ai";
|
|
230
168
|
this.isLoading = false;
|
|
231
169
|
this.documentList = [];
|
|
232
170
|
this.documentErrors = {};
|
|
233
171
|
this.currentStep = 0;
|
|
234
172
|
this.componentStepMapping = [
|
|
235
|
-
() => h("
|
|
236
|
-
() => h("
|
|
237
|
-
() => h("
|
|
238
|
-
() => h("
|
|
239
|
-
() => h("
|
|
240
|
-
() => h("
|
|
241
|
-
() => h("
|
|
242
|
-
() => h("
|
|
173
|
+
() => (h("product-or-service", { ref: (el) => (this.currentStepComponentRef = el), disputeResponse: this.disputeResponse, documentErrors: this.documentErrors })),
|
|
174
|
+
() => (h("customer-details", { ref: (el) => (this.currentStepComponentRef = el), disputeResponse: this.disputeResponse, documentErrors: this.documentErrors })),
|
|
175
|
+
() => (h("cancellation-policy", { ref: (el) => (this.currentStepComponentRef = el), disputeResponse: this.disputeResponse, documentErrors: this.documentErrors })),
|
|
176
|
+
() => (h("refund-policy", { ref: (el) => (this.currentStepComponentRef = el), disputeResponse: this.disputeResponse, documentErrors: this.documentErrors })),
|
|
177
|
+
() => (h("duplicate-charge", { ref: (el) => (this.currentStepComponentRef = el), disputeResponse: this.disputeResponse, documentErrors: this.documentErrors })),
|
|
178
|
+
() => (h("electronic-evidence", { ref: (el) => (this.currentStepComponentRef = el), disputeResponse: this.disputeResponse, documentErrors: this.documentErrors })),
|
|
179
|
+
() => (h("shipping-details", { ref: (el) => (this.currentStepComponentRef = el), disputeResponse: this.disputeResponse, documentErrors: this.documentErrors })),
|
|
180
|
+
() => (h("additional-statement", { ref: (el) => (this.currentStepComponentRef = el), disputeResponse: this.disputeResponse, documentErrors: this.documentErrors })),
|
|
243
181
|
];
|
|
244
182
|
this.saveData = async (formData, formStep) => {
|
|
245
183
|
const hasFormData = Object.keys(formData).length;
|
|
@@ -337,15 +275,12 @@ const JustifiDisputeResponseCore = class {
|
|
|
337
275
|
}
|
|
338
276
|
await this.initializeFileUploads();
|
|
339
277
|
}
|
|
340
|
-
// this needs to happen last because it fires the 'submit-event' and 'complete-form-step-event' event
|
|
341
278
|
await this.saveData(formData, formStep);
|
|
342
279
|
this.isLoading = false;
|
|
343
280
|
};
|
|
344
281
|
this.onCancel = () => {
|
|
345
282
|
this.clickEvent.emit({ name: DisputeManagementClickActions.cancelDispute });
|
|
346
283
|
};
|
|
347
|
-
// after each of these steps where validateAndSubmit is called, reload the dispute
|
|
348
|
-
// and set isLoading, and pass defaults into each step
|
|
349
284
|
this.onBack = async () => {
|
|
350
285
|
await this.currentStepComponentRef.validateAndSubmit(async (formData, documentList, formStep) => {
|
|
351
286
|
this.clickEvent.emit({ name: DisputeManagementClickActions.previousStep });
|
|
@@ -368,6 +303,45 @@ const JustifiDisputeResponseCore = class {
|
|
|
368
303
|
});
|
|
369
304
|
};
|
|
370
305
|
}
|
|
306
|
+
componentWillLoad() {
|
|
307
|
+
checkPkgVersion();
|
|
308
|
+
this.analytics = new JustifiAnalytics(this);
|
|
309
|
+
this.initializeDisputeServiceMethods();
|
|
310
|
+
}
|
|
311
|
+
disconnectedCallback() {
|
|
312
|
+
var _a;
|
|
313
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
314
|
+
}
|
|
315
|
+
propChanged() {
|
|
316
|
+
this.initializeDisputeServiceMethods();
|
|
317
|
+
}
|
|
318
|
+
initializeDisputeServiceMethods() {
|
|
319
|
+
if (this.disputeId && this.authToken) {
|
|
320
|
+
this.updateDisputeResponse = makeUpdateDisputeResponse({
|
|
321
|
+
disputeId: this.disputeId,
|
|
322
|
+
authToken: this.authToken,
|
|
323
|
+
service: new DisputeService(),
|
|
324
|
+
});
|
|
325
|
+
this.createDisputeEvidence = makeCreateDisputeEvidence({
|
|
326
|
+
disputeId: this.disputeId,
|
|
327
|
+
authToken: this.authToken,
|
|
328
|
+
service: new DisputeService(),
|
|
329
|
+
});
|
|
330
|
+
this.submitDisputeResponse = makeSubmitDisputeResponse({
|
|
331
|
+
disputeId: this.disputeId,
|
|
332
|
+
authToken: this.authToken,
|
|
333
|
+
service: new DisputeService(),
|
|
334
|
+
});
|
|
335
|
+
}
|
|
336
|
+
else {
|
|
337
|
+
this.errorMessage = 'Account ID and Auth Token are required';
|
|
338
|
+
this.errorEvent.emit({
|
|
339
|
+
errorCode: ComponentErrorCodes.MISSING_PROPS,
|
|
340
|
+
message: this.errorMessage,
|
|
341
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
342
|
+
});
|
|
343
|
+
}
|
|
344
|
+
}
|
|
371
345
|
get currentStepComponent() {
|
|
372
346
|
return this.componentStepMapping[this.currentStep]();
|
|
373
347
|
}
|
|
@@ -378,8 +352,12 @@ const JustifiDisputeResponseCore = class {
|
|
|
378
352
|
return this.currentStep === 0;
|
|
379
353
|
}
|
|
380
354
|
render() {
|
|
381
|
-
return (h("div", { key: '
|
|
355
|
+
return (h("div", { key: '50f6bf79c7590ef3591e2163dbcd89241ca17b62', class: "dispute-response-root" }, h("div", { key: '5345d5a3c5e7ff2d4c56f438fe623578e3d2029e', class: "row gy-3" }, h("div", { key: '8925276a290105b2fde5cd6bfdf0390c3a0c95f9', class: "col-12" }, h("h1", { key: 'b8eb14deedc748b3612f11fad9d94fa38020a7f8', class: "h4", part: heading4 }, "Counter dispute")), h("div", { key: '50afe487bdb21d3ea2dc149c662a284f5ebb4d9b', class: "col-12" }, this.currentStepComponent), h("div", { key: 'cde242630fdc12e82ee5a77a199c4f6a7858371e', class: "col-12" }, h("div", { key: 'ce548b753ec56df34e23eb33649a27449d49b712', 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")))))));
|
|
382
356
|
}
|
|
357
|
+
static get watchers() { return {
|
|
358
|
+
"disputeId": ["propChanged"],
|
|
359
|
+
"authToken": ["propChanged"]
|
|
360
|
+
}; }
|
|
383
361
|
};
|
|
384
362
|
|
|
385
|
-
export {
|
|
363
|
+
export { DisputeNotification as dispute_notification, DisputeResponse as dispute_response };
|
|
@@ -1,3 +1,31 @@
|
|
|
1
|
+
import { A as Api } from './Api-DMd8hTI-.js';
|
|
2
|
+
import './Plaid-l6nNIjab.js';
|
|
3
|
+
import './Pagination-CLHwhyvu.js';
|
|
4
|
+
import './Business-BcNb9bVO.js';
|
|
5
|
+
|
|
6
|
+
const api = Api();
|
|
7
|
+
class DisputeService {
|
|
8
|
+
async fetchDispute(disputeId, authToken) {
|
|
9
|
+
const endpoint = `disputes/${disputeId}`;
|
|
10
|
+
return api.get({ endpoint, authToken });
|
|
11
|
+
}
|
|
12
|
+
async updateDisputeResponse(disputeId, authToken, payload) {
|
|
13
|
+
const endpoint = `disputes/${disputeId}/response`;
|
|
14
|
+
const body = payload;
|
|
15
|
+
return api.patch({ endpoint, body, authToken });
|
|
16
|
+
}
|
|
17
|
+
async submitDisputeResponse(disputeId, authToken, payload) {
|
|
18
|
+
const endpoint = `disputes/${disputeId}/response`;
|
|
19
|
+
const body = payload;
|
|
20
|
+
return api.post({ endpoint, body, authToken });
|
|
21
|
+
}
|
|
22
|
+
async createDisputeEvidence(disputeId, authToken, payload) {
|
|
23
|
+
const endpoint = `disputes/${disputeId}/evidence`;
|
|
24
|
+
const body = payload;
|
|
25
|
+
return api.put({ endpoint, body, authToken });
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
1
29
|
var DisputeManagementClickActions;
|
|
2
30
|
(function (DisputeManagementClickActions) {
|
|
3
31
|
DisputeManagementClickActions["nextStep"] = "nextStep";
|
|
@@ -19,4 +47,4 @@ var DisputeResponseFormStep;
|
|
|
19
47
|
DisputeResponseFormStep["additionalStatement"] = "additional_statement";
|
|
20
48
|
})(DisputeResponseFormStep || (DisputeResponseFormStep = {}));
|
|
21
49
|
|
|
22
|
-
export { DisputeManagementClickActions as D };
|
|
50
|
+
export { DisputeManagementClickActions as D, DisputeService as a };
|