@justifi/webcomponents 5.6.1 → 5.7.0
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/{ApiNew-DG13rvk6.js → ApiNew-C8nf_gS9.js} +1 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
- package/dist/cjs/{badge-ByWVHNyJ.js → badge-BxoJOyTJ.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +4 -3
- package/dist/cjs/bank-account-form_9.cjs.entry.js +28 -18
- package/dist/cjs/business-details-core.cjs.entry.js +4 -3
- package/dist/cjs/{business.service-Vcq4kPU8.js → business.service-yVtplFhh.js} +13 -24
- package/dist/cjs/{button-Bn9jOYbx.js → button-BPFSRx4d.js} +1 -1
- package/dist/cjs/{check-pkg-version-7gGchZzS.js → check-pkg-version-BYKcQDik.js} +4 -3
- package/dist/cjs/checkout.service-Dd2AbBn2.js +28 -0
- package/dist/cjs/checkouts-list-core.cjs.entry.js +8 -7
- package/dist/cjs/{checkouts-table-C_cpZa-i.js → checkouts-table-_T5eblyc.js} +2 -2
- package/dist/cjs/{config-state-Bm8-EuFE.js → config-state-D7p-XunE.js} +1 -1
- package/dist/cjs/custom-popper_4.cjs.entry.js +3 -2
- package/dist/cjs/dispute.service-C0J-Wh-Y.js +28 -0
- package/dist/cjs/event-types-YOY5TKUN.js +8 -0
- package/dist/cjs/form-alert_5.cjs.entry.js +1 -1
- package/dist/cjs/form-control-checkbox.cjs.entry.js +4 -3
- package/dist/cjs/form-control-date.cjs.entry.js +3 -2
- package/dist/cjs/{form-control-error-text-CBAVQoZ3.js → form-control-error-text-D9XDyFoW.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +2 -2
- package/dist/cjs/{form-control-help-text-DQz5O3wX.js → form-control-help-text-J_boqSMc.js} +1 -1
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +4 -3
- package/dist/cjs/form-control-monetary.cjs.entry.js +4 -3
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +3 -2
- package/dist/cjs/form-control-number.cjs.entry.js +4 -3
- package/dist/cjs/form-control-radio.cjs.entry.js +1 -1
- package/dist/cjs/{get-subaccounts-CasN5tDA.js → get-subaccounts-CquZS5kP.js} +1 -1
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +3 -3
- package/dist/cjs/{header-1-Bl1S9jV8.js → header-1-auSUfIpO.js} +1 -1
- package/dist/cjs/{header-3-DYzIjFIZ.js → header-3-B-bXHCpC.js} +1 -1
- package/dist/cjs/iframe-input.cjs.entry.js +3 -3
- package/dist/cjs/{insurance-state-BbmHHQl0.js → insurance-state-CFxbKNWH.js} +1 -1
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +4 -3
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +6 -5
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +1 -1
- package/dist/cjs/justifi-business-details.cjs.entry.js +8 -9
- package/dist/cjs/justifi-business-form.cjs.entry.js +69 -46
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +8 -7
- package/dist/cjs/justifi-checkout.cjs.entry.js +8 -13
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +2 -1
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +14 -16
- 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.cjs.entry.js +10 -15
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +10 -13
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +7 -4
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +9 -9
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payment-details.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -2
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +8 -11
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +11 -11
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -1
- package/dist/cjs/justifi-payments-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payout-details.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +11 -11
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -1
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +12 -18
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +9 -9
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +4 -3
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +5 -2
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +2 -1
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +8 -8
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +2 -1
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +9 -7
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-CseQI95t.js → package-CX6Njc5t.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +4 -4
- package/dist/cjs/{parts-Du1T2dvF.js → parts-9jMf1erK.js} +24 -8
- package/dist/cjs/payment-details-core.cjs.entry.js +10 -6
- package/dist/cjs/{payment.service-CAJSEb2x.js → payment.service-BvTU2Orj.js} +1 -1
- package/dist/cjs/payments-list-core.cjs.entry.js +9 -8
- package/dist/cjs/{payments-status-hksfHuBH.js → payments-status-BTykBx8i.js} +1 -1
- package/dist/cjs/{payments-table-CmvP6owu.js → payments-table-BkRhDePE.js} +2 -2
- package/dist/cjs/payout-details-core.cjs.entry.js +11 -7
- package/dist/cjs/{payout.service-wOnSu52a.js → payout.service-C99pgxvg.js} +1 -1
- package/dist/cjs/payouts-list-core.cjs.entry.js +9 -8
- package/dist/cjs/{payouts-status-DfNhfSsm.js → payouts-status-YCqmbd4K.js} +1 -1
- package/dist/cjs/{payouts-table-CpgWxl8A.js → payouts-table-DJMz3bVh.js} +2 -2
- package/dist/cjs/{skeleton-BFtuPBwQ.js → skeleton-aMh0RMHq.js} +1 -1
- package/dist/cjs/{spinner-C9z2tkh2.js → spinner-BTyIjlMM.js} +1 -1
- package/dist/cjs/{event-types-cB_-SsYZ.js → table-DKVauFHc.js} +39 -9
- package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +8 -7
- package/dist/cjs/{terminal-orders-table-CpVY3VsQ.js → terminal-orders-table-BeeUTKtj.js} +2 -2
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/{terminal.service-cGQB3xiL.js → terminal.service-DEGcoaCb.js} +1 -1
- package/dist/cjs/terminals-list-core.cjs.entry.js +8 -7
- package/dist/cjs/{terminals-table-DRQQjYAE.js → terminals-table-D2XUsf_J.js} +2 -2
- package/dist/cjs/{utils-B_Ol6YlL.js → utils-5lco6NzU.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/actions/checkout/get-checkouts.js +2 -2
- package/dist/collection/actions/dispute/dispute-actions.js +2 -2
- package/dist/collection/api/services/analytics.service.js +3 -2
- package/dist/collection/api/services/business.service.js +13 -24
- package/dist/collection/api/services/checkout.service.js +9 -15
- package/dist/collection/api/services/dispute.service.js +9 -14
- package/dist/collection/api/services/provision.service.js +4 -6
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/business-forms/business-form/business-form.js +77 -38
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +16 -33
- package/dist/collection/components/checkout/card-form/card-form.js +9 -26
- package/dist/collection/components/checkout/checkout-core.js +2 -21
- package/dist/collection/components/checkout/checkout.js +2 -23
- package/dist/collection/components/checkout/new-payment-method.js +2 -21
- package/dist/collection/components/checkout/payment-method-options.js +2 -21
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +2 -3
- package/dist/collection/components/checkouts-list/checkouts-list.js +2 -24
- package/dist/collection/components/config-provider/config-provider.js +4 -4
- package/dist/collection/components/config-provider/config-state.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management.js +2 -24
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-actions.js +2 -2
- package/dist/collection/{ui-components → components}/filters/table-filters-menu.js +3 -3
- package/dist/collection/components/payment-details/payment-details-core.js +4 -1
- package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +2 -3
- package/dist/collection/components/payments-list/payments-list-core.js +2 -3
- package/dist/collection/components/payout-details/payout-details-core.js +4 -1
- package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +2 -3
- package/dist/collection/components/payouts-list/payouts-list-core.js +2 -3
- package/dist/collection/components/payouts-list/payouts-list.js +2 -2
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +2 -3
- package/dist/collection/components/terminals-list/terminals-list-core.js +2 -3
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +1 -22
- package/dist/collection/styles/parts.js +12 -5
- package/dist/collection/ui-components/index.js +1 -4
- package/dist/collection/ui-components/pagination-menu/pagination-menu.js +4 -4
- package/dist/collection/ui-components/table/index.js +5 -0
- package/dist/collection/ui-components/{table-empty-state.js → table/table-empty-state.js} +1 -1
- package/dist/collection/ui-components/{table-error-state.js → table/table-error-state.js} +1 -1
- package/dist/collection/ui-components/{table-loading-state.js → table/table-loading-state.js} +2 -2
- package/dist/collection/ui-components/table/table.js +29 -0
- package/dist/docs.json +28 -234
- package/dist/esm/{ApiNew-UOnmIWcv.js → ApiNew-KYhsw8Nv.js} +1 -1
- package/dist/esm/additional-questions-details_5.entry.js +2 -2
- package/dist/esm/{badge-B191hCAo.js → badge-Du9GTXoB.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +4 -3
- package/dist/esm/bank-account-form_9.entry.js +28 -18
- package/dist/esm/business-details-core.entry.js +4 -3
- package/dist/esm/{business.service-B1VD22Tz.js → business.service-_645Z23O.js} +13 -24
- package/dist/esm/{button-BRFA5syj.js → button-CjH5C0pG.js} +1 -1
- package/dist/esm/{check-pkg-version-DpVT68Qo.js → check-pkg-version-Dh7UNmHL.js} +4 -3
- package/dist/esm/checkout.service-7FGjq0rO.js +26 -0
- package/dist/esm/checkouts-list-core.entry.js +7 -6
- package/dist/esm/{checkouts-table-BIO5rpvV.js → checkouts-table-DKd0QLys.js} +2 -2
- package/dist/esm/{config-state-Bl6vWekp.js → config-state-CkKrqnpZ.js} +1 -1
- package/dist/esm/custom-popper_4.entry.js +3 -2
- package/dist/esm/dispute.service-lJlAFuE6.js +26 -0
- package/dist/esm/event-types-CZfYo5-1.js +8 -0
- package/dist/esm/form-alert_5.entry.js +1 -1
- package/dist/esm/form-control-checkbox.entry.js +4 -3
- package/dist/esm/form-control-date.entry.js +3 -2
- package/dist/esm/{form-control-error-text-CVPFeRt0.js → form-control-error-text-tGFxd6kW.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +2 -2
- package/dist/esm/{form-control-help-text-D-ReDn6e.js → form-control-help-text-2DawN8-N.js} +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +4 -3
- package/dist/esm/form-control-monetary.entry.js +4 -3
- package/dist/esm/form-control-number-masked_2.entry.js +3 -2
- package/dist/esm/form-control-number.entry.js +4 -3
- package/dist/esm/form-control-radio.entry.js +1 -1
- package/dist/esm/{get-subaccounts-COe5GtaY.js → get-subaccounts-DIJtLFsb.js} +1 -1
- package/dist/esm/gross-payment-chart-core.entry.js +3 -3
- package/dist/esm/{header-1-ClU-iUGF.js → header-1-D2gZb3iT.js} +1 -1
- package/dist/esm/{header-3-jLYjhsUb.js → header-3-DAg8Vh4B.js} +1 -1
- package/dist/esm/iframe-input.entry.js +3 -3
- package/dist/esm/{insurance-state-5MPrBdwI.js → insurance-state-CsZbKSgm.js} +1 -1
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +4 -3
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +7 -6
- package/dist/esm/justifi-additional-statement_8.entry.js +1 -1
- package/dist/esm/justifi-business-details.entry.js +8 -9
- package/dist/esm/justifi-business-form.entry.js +69 -46
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
- package/dist/esm/justifi-checkout-core.entry.js +8 -7
- package/dist/esm/justifi-checkout.entry.js +8 -13
- package/dist/esm/justifi-checkouts-list-filters.entry.js +2 -1
- package/dist/esm/justifi-checkouts-list.entry.js +14 -16
- 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.entry.js +10 -15
- package/dist/esm/justifi-dispute-notification_3.entry.js +10 -13
- package/dist/esm/justifi-gross-payment-chart.entry.js +7 -4
- package/dist/esm/justifi-order-terminals.entry.js +9 -9
- package/dist/esm/justifi-owner-form_3.entry.js +8 -8
- package/dist/esm/justifi-payment-details.entry.js +7 -8
- package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -2
- package/dist/esm/justifi-payment-provisioning.entry.js +9 -12
- package/dist/esm/justifi-payment-transactions-list.entry.js +10 -10
- package/dist/esm/justifi-payments-list-filters.entry.js +2 -1
- package/dist/esm/justifi-payments-list.entry.js +10 -10
- package/dist/esm/justifi-payout-details.entry.js +7 -8
- package/dist/esm/justifi-payout-transactions-list.entry.js +10 -10
- package/dist/esm/justifi-payouts-list-filters.entry.js +2 -1
- package/dist/esm/justifi-payouts-list.entry.js +12 -18
- package/dist/esm/justifi-refund-payment.entry.js +9 -9
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +4 -3
- package/dist/esm/justifi-season-interruption-insurance.entry.js +5 -2
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +2 -1
- package/dist/esm/justifi-terminal-orders-list.entry.js +8 -8
- package/dist/esm/justifi-terminals-list-filters.entry.js +2 -1
- package/dist/esm/justifi-terminals-list.entry.js +10 -10
- package/dist/esm/justifi-tokenize-payment-method.entry.js +9 -7
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-D2EbqwBe.js → package-DLLK41AX.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +4 -4
- package/dist/esm/{parts-CjO1GttX.js → parts-BrLVc_85.js} +14 -5
- package/dist/esm/payment-details-core.entry.js +10 -6
- package/dist/esm/{payment-provisioning-actions-CZYFFdTf.js → payment-provisioning-actions-BIfyW239.js} +1 -1
- package/dist/esm/{payment.service-B9_zvpM_.js → payment.service-DdCJ1Dc7.js} +1 -1
- package/dist/esm/payments-list-core.entry.js +8 -7
- package/dist/esm/{payments-status-CQQH_5oM.js → payments-status-CIUXcA0w.js} +1 -1
- package/dist/esm/{payments-table-BdQtWUO-.js → payments-table-BBf5fV74.js} +2 -2
- package/dist/esm/payout-details-core.entry.js +11 -7
- package/dist/esm/{payout.service-BGSaI-j9.js → payout.service-G1Isezyi.js} +1 -1
- package/dist/esm/payouts-list-core.entry.js +8 -7
- package/dist/esm/{payouts-status-Cz9DL-Ph.js → payouts-status-Clo03qUI.js} +1 -1
- package/dist/esm/{payouts-table-bOrdlN_0.js → payouts-table-DhZEXhGH.js} +2 -2
- package/dist/esm/{skeleton-t69TLGP9.js → skeleton-Dlpibtr0.js} +1 -1
- package/dist/esm/{spinner-Bo1Ff3L8.js → spinner-onCBxbdo.js} +1 -1
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/table-p4dOlFPi.js +83 -0
- package/dist/esm/terminal-orders-list-core.entry.js +7 -6
- package/dist/esm/{terminal-orders-table-5gemV24y.js → terminal-orders-table-BlT9YrFD.js} +2 -2
- package/dist/esm/terminal-quantity-selector.entry.js +1 -1
- package/dist/esm/{terminal.service-B0Rc9vED.js → terminal.service-aFe-O3PC.js} +1 -1
- package/dist/esm/terminals-list-core.entry.js +7 -6
- package/dist/esm/{terminals-table-DFxuyQM-.js → terminals-table-CkWr-6tD.js} +2 -2
- package/dist/esm/{utils-CK8L6CE7.js → utils-BpP_VJGf.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Dispute.js +57 -0
- package/dist/module/Payment.js +2 -57
- package/dist/module/additional-statement.js +1 -1
- package/dist/module/bank-account-form-inputs2.js +1 -1
- package/dist/module/bank-account-form2.js +15 -10
- package/dist/module/billing-form.js +2 -1
- package/dist/module/business-additional-questions-form-step-core.js +1 -1
- package/dist/module/business-bank-account-form-step-core.js +1 -1
- package/dist/module/business-core-info-form-step-core.js +1 -1
- package/dist/module/business-details-core2.js +1 -0
- package/dist/module/business-documents-on-file2.js +1 -0
- package/dist/module/business-owners-form-step-core.js +2 -1
- package/dist/module/business-representative-form-step-core.js +1 -1
- package/dist/module/business-terms-conditions-form-step.js +1 -1
- package/dist/module/business.service.js +12 -23
- package/dist/module/button.js +1 -1
- package/dist/module/cancellation-policy.js +1 -1
- package/dist/module/card-form2.js +8 -3
- package/dist/module/check-pkg-version.js +3 -2
- package/dist/module/checkout-core.js +4 -4
- package/dist/module/checkout.service.js +9 -21
- package/dist/module/checkouts-list-core2.js +4 -3
- package/dist/module/config-state.js +1 -1
- package/dist/module/customer-details.js +1 -1
- package/dist/module/dispute-management-core.js +2 -2
- package/dist/module/dispute-notification.js +2 -1
- package/dist/module/dispute-response-actions.js +9 -19
- package/dist/module/dispute-response-core.js +1 -1
- package/dist/module/dispute-response.js +1 -0
- package/dist/module/duplicate-charge.js +1 -1
- package/dist/module/electronic-evidence.js +1 -1
- package/dist/module/event-types.js +7 -22
- package/dist/module/event-types2.js +22 -21
- package/dist/module/event-types3.js +21 -61
- package/dist/module/form-control-checkbox2.js +1 -0
- package/dist/module/form-control-date2.js +1 -0
- package/dist/module/form-control-file2.js +1 -0
- package/dist/module/form-control-monetary-provisioning2.js +1 -0
- package/dist/module/form-control-monetary2.js +1 -0
- package/dist/module/form-control-number-masked2.js +1 -0
- package/dist/module/form-control-number.js +1 -0
- package/dist/module/form-control-select2.js +1 -0
- package/dist/module/form-control-text2.js +1 -0
- package/dist/module/get-payment-details.js +1 -1
- package/dist/module/justifi-business-form.js +60 -40
- package/dist/module/justifi-checkout.js +2 -4
- package/dist/module/justifi-checkouts-list-filters.js +2 -1
- package/dist/module/justifi-checkouts-list.js +5 -7
- package/dist/module/justifi-config-provider.js +3 -3
- package/dist/module/justifi-dispute-management.js +5 -8
- package/dist/module/justifi-order-terminals.js +2 -1
- package/dist/module/justifi-payment-provisioning.js +4 -6
- package/dist/module/justifi-payment-transactions-list.js +4 -3
- package/dist/module/justifi-payments-list-filters.js +2 -1
- package/dist/module/justifi-payments-list.js +2 -1
- package/dist/module/justifi-payout-transactions-list.js +4 -3
- package/dist/module/justifi-payouts-list-filters.js +2 -1
- package/dist/module/justifi-payouts-list.js +2 -7
- package/dist/module/justifi-refund-payment.js +1 -0
- package/dist/module/justifi-terminal-orders-list-filters.js +2 -1
- package/dist/module/justifi-terminal-orders-list.js +1 -0
- package/dist/module/justifi-terminals-list-filters.js +2 -1
- package/dist/module/justifi-terminals-list.js +1 -0
- package/dist/module/justifi-tokenize-payment-method.js +2 -3
- package/dist/module/legal-address-form-step-core.js +1 -1
- package/dist/module/new-payment-method.js +2 -3
- package/dist/module/owner-form-core2.js +2 -1
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +4 -4
- package/dist/module/parts.js +14 -5
- package/dist/module/payment-details-core2.js +5 -1
- package/dist/module/payment-method-options.js +2 -3
- package/dist/module/payment-provisioning-core.js +2 -1
- package/dist/module/payment-provisioning-form-buttons.js +2 -1
- package/dist/module/payment-provisioning-loading.js +1 -0
- package/dist/module/payments-list-core2.js +4 -3
- package/dist/module/payout-details-core2.js +5 -1
- package/dist/module/payouts-list-core2.js +4 -3
- package/dist/module/product-or-service.js +1 -1
- package/dist/module/refund-policy.js +1 -1
- package/dist/module/season-interruption-insurance-core.js +1 -0
- package/dist/module/shipping-details.js +1 -1
- package/dist/module/table-filters-menu2.js +2 -2
- package/dist/module/table.js +83 -0
- package/dist/module/terminal-orders-list-core2.js +4 -3
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/terminals-list-core2.js +4 -3
- package/dist/types/actions/checkout/get-checkouts.d.ts +1 -2
- package/dist/types/actions/dispute/dispute-actions.d.ts +1 -2
- package/dist/types/api/ApiNew.d.ts +1 -1
- package/dist/types/api/services/checkout.service.d.ts +2 -2
- package/dist/types/components/business-forms/business-form/business-form.d.ts +8 -6
- package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +3 -2
- package/dist/types/components/checkout/card-form/card-form.d.ts +2 -1
- package/dist/types/components/checkout/checkout-core.d.ts +0 -1
- package/dist/types/components/checkout/checkout.d.ts +0 -1
- package/dist/types/components/checkout/new-payment-method.d.ts +0 -1
- package/dist/types/components/checkout/payment-method-options.d.ts +0 -1
- package/dist/types/components/checkouts-list/checkouts-list.d.ts +0 -1
- package/dist/types/components/config-provider/config-provider.d.ts +1 -1
- package/dist/types/components/config-provider/config-state.d.ts +1 -1
- package/dist/types/components/dispute-management/dispute-management.d.ts +0 -1
- package/dist/types/components/dispute-management/dispute-response/dispute-response-actions.d.ts +1 -2
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +0 -1
- package/dist/types/components.d.ts +4 -20
- package/dist/types/styles/parts.d.ts +12 -5
- package/dist/types/ui-components/index.d.ts +1 -4
- package/dist/types/ui-components/table/index.d.ts +5 -0
- package/dist/types/ui-components/table/table.d.ts +9 -0
- package/dist/webcomponents/{p-9d354918.entry.js → p-05138b5d.entry.js} +1 -1
- package/dist/webcomponents/p-0661622e.entry.js +1 -0
- package/dist/webcomponents/p-0a4abfba.entry.js +1 -0
- package/dist/webcomponents/p-0d73af88.entry.js +1 -0
- package/dist/webcomponents/p-107fdd99.entry.js +1 -0
- package/dist/webcomponents/p-12ea3a21.entry.js +1 -0
- package/dist/webcomponents/p-13a56c04.entry.js +1 -0
- package/dist/webcomponents/p-22e9ff07.entry.js +1 -0
- package/dist/webcomponents/p-2ce8e7ac.entry.js +1 -0
- package/dist/webcomponents/p-32345016.entry.js +1 -0
- package/dist/webcomponents/p-357e1077.entry.js +1 -0
- package/dist/webcomponents/p-3a691b9a.entry.js +1 -0
- package/dist/webcomponents/p-3adEM48l.js +1 -0
- package/dist/webcomponents/p-3bb94f41.entry.js +1 -0
- package/dist/webcomponents/p-3e94cf62.entry.js +1 -0
- package/dist/webcomponents/p-460eae73.entry.js +1 -0
- package/dist/webcomponents/p-48d84a6f.entry.js +1 -0
- package/dist/webcomponents/p-4a3ee65c.entry.js +1 -0
- package/dist/webcomponents/p-58f415f4.entry.js +1 -0
- package/dist/webcomponents/p-5e467788.entry.js +1 -0
- package/dist/webcomponents/p-5ff7f253.entry.js +1 -0
- package/dist/webcomponents/p-6334c2bc.entry.js +1 -0
- package/dist/webcomponents/{p-c899df50.entry.js → p-639baa7d.entry.js} +1 -1
- package/dist/webcomponents/p-6429afb4.entry.js +1 -0
- package/dist/webcomponents/p-6780e07e.entry.js +1 -0
- package/dist/webcomponents/p-6a3a8a7a.entry.js +1 -0
- package/dist/webcomponents/p-76d1a604.entry.js +1 -0
- package/dist/webcomponents/{p-78511d66.entry.js → p-7733b67b.entry.js} +1 -1
- package/dist/webcomponents/{p-805269fd.entry.js → p-774eee26.entry.js} +1 -1
- package/dist/webcomponents/p-7c62b59d.entry.js +1 -0
- package/dist/webcomponents/p-8224e3c2.entry.js +1 -0
- package/dist/webcomponents/p-82515f70.entry.js +1 -0
- package/dist/webcomponents/{p-Cixn6QDS.js → p-82kiZkHt.js} +1 -1
- package/dist/webcomponents/p-833576ca.entry.js +1 -0
- package/dist/webcomponents/p-83d4ac72.entry.js +1 -0
- package/dist/webcomponents/{p-4f98895d.entry.js → p-90c24cda.entry.js} +1 -1
- package/dist/webcomponents/p-9c1a79c5.entry.js +1 -0
- package/dist/webcomponents/p-9dae8152.entry.js +1 -0
- package/dist/webcomponents/p-B0cQ2RjH.js +1 -0
- package/dist/webcomponents/p-B190pN0v.js +1 -0
- package/dist/webcomponents/p-B1ubyLhU.js +1 -0
- package/dist/webcomponents/{p-bplwtwD3.js → p-BTS3E50C.js} +1 -1
- package/dist/webcomponents/p-BrLVc_85.js +1 -0
- package/dist/webcomponents/{p-DyIEclkx.js → p-ByRPlUBS.js} +1 -1
- package/dist/webcomponents/p-C0IqfGFc.js +1 -0
- package/dist/webcomponents/{p-D9q8WsW5.js → p-C0WFYqwq.js} +1 -1
- package/dist/webcomponents/p-C0piBrye.js +1 -0
- package/dist/webcomponents/p-CQdeVKF8.js +1 -0
- package/dist/webcomponents/p-CZfYo5-1.js +1 -0
- package/dist/webcomponents/{p-BQEAUdoy.js → p-CgxzrbM_.js} +1 -1
- package/dist/webcomponents/{p-BS-e1gnL.js → p-CkrVt-dj.js} +1 -1
- package/dist/webcomponents/p-D0ptm6-3.js +1 -0
- package/dist/webcomponents/{p-CN_YheWL.js → p-D4Mv5jCp.js} +1 -1
- package/dist/webcomponents/{p-GTA6l_sT.js → p-D5XSsLKb.js} +1 -1
- package/dist/webcomponents/p-DLLK41AX.js +1 -0
- package/dist/webcomponents/{p-BMDJA9xX.js → p-Da_GeglS.js} +1 -1
- package/dist/webcomponents/p-DgfzEZny.js +1 -0
- package/dist/webcomponents/{p-ERVEQjR2.js → p-Dgxn_B6C.js} +1 -1
- package/dist/webcomponents/p-DqOTECuf.js +1 -0
- package/dist/webcomponents/p-DvHZ2jYI.js +1 -0
- package/dist/webcomponents/{p-oPo_KSwO.js → p-Dz-Ft5b1.js} +1 -1
- package/dist/webcomponents/{p-KLQjERL5.js → p-OSmuQKbK.js} +1 -1
- package/dist/webcomponents/p-U30-0DaA.js +1 -0
- package/dist/webcomponents/p-a5af8397.entry.js +1 -0
- package/dist/webcomponents/p-a61f9b3c.entry.js +1 -0
- package/dist/webcomponents/{p-43140695.entry.js → p-a6fb7730.entry.js} +1 -1
- package/dist/webcomponents/{p-BXey6mVj.js → p-aTcDcUMZ.js} +1 -1
- package/dist/webcomponents/p-aa954ce9.entry.js +1 -0
- package/dist/webcomponents/{p-4fc851c0.entry.js → p-ac4ac963.entry.js} +1 -1
- package/dist/webcomponents/p-ae7c6b81.entry.js +1 -0
- package/dist/webcomponents/p-ae8c3dab.entry.js +1 -0
- package/dist/webcomponents/{p-b182796a.entry.js → p-afa54e39.entry.js} +1 -1
- package/dist/webcomponents/p-b061c21c.entry.js +1 -0
- package/dist/webcomponents/{p-493c9bd9.entry.js → p-b2192f8b.entry.js} +1 -1
- package/dist/webcomponents/p-b4d857b2.entry.js +1 -0
- package/dist/webcomponents/p-bb45705e.entry.js +1 -0
- package/dist/webcomponents/p-bb50155f.entry.js +1 -0
- package/dist/webcomponents/p-bf3e8295.entry.js +1 -0
- package/dist/webcomponents/p-c2f3d7da.entry.js +1 -0
- package/dist/webcomponents/{p-5d8d1818.entry.js → p-c7227fc1.entry.js} +1 -1
- package/dist/webcomponents/p-c8f70818.entry.js +1 -0
- package/dist/webcomponents/p-c9288f47.entry.js +1 -0
- package/dist/webcomponents/p-cNABKY0P.js +1 -0
- package/dist/webcomponents/{p-BdNmdBIx.js → p-d-_oUZor.js} +1 -1
- package/dist/webcomponents/p-d1a440e3.entry.js +1 -0
- package/dist/webcomponents/{p-5a1238a1.entry.js → p-d2dc6f22.entry.js} +3 -3
- package/dist/webcomponents/p-dd89c516.entry.js +1 -0
- package/dist/webcomponents/p-e39b5ffd.entry.js +1 -0
- package/dist/webcomponents/p-e5d35016.entry.js +1 -0
- package/dist/webcomponents/p-ebd7753d.entry.js +1 -0
- package/dist/webcomponents/p-ec47b7c8.entry.js +1 -0
- package/dist/webcomponents/p-l3o3Ndc0.js +1 -0
- package/dist/webcomponents/p-n2YROtpe.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/checkout.service-DP9FnXBx.js +0 -40
- package/dist/cjs/dispute.service-F-M8EJxq.js +0 -39
- package/dist/collection/ui-components/table/exported-parts.js +0 -5
- package/dist/esm/checkout.service-92ld4w-G.js +0 -38
- package/dist/esm/dispute.service-H2Oaq2af.js +0 -37
- package/dist/esm/event-types-BIryDMGV.js +0 -62
- package/dist/types/ui-components/table/exported-parts.d.ts +0 -1
- package/dist/webcomponents/p-00eb2bc9.entry.js +0 -1
- package/dist/webcomponents/p-0c2f2ea9.entry.js +0 -1
- package/dist/webcomponents/p-11344996.entry.js +0 -1
- package/dist/webcomponents/p-19581139.entry.js +0 -1
- package/dist/webcomponents/p-19d21f35.entry.js +0 -1
- package/dist/webcomponents/p-2294e63b.entry.js +0 -1
- package/dist/webcomponents/p-24e04f78.entry.js +0 -1
- package/dist/webcomponents/p-2P4kwjNi.js +0 -1
- package/dist/webcomponents/p-30466d27.entry.js +0 -1
- package/dist/webcomponents/p-32c156c6.entry.js +0 -1
- package/dist/webcomponents/p-32ff6641.entry.js +0 -1
- package/dist/webcomponents/p-38d6c034.entry.js +0 -1
- package/dist/webcomponents/p-3add8d1b.entry.js +0 -1
- package/dist/webcomponents/p-3c01edb0.entry.js +0 -1
- package/dist/webcomponents/p-3cd9d9d8.entry.js +0 -1
- package/dist/webcomponents/p-4028ccb0.entry.js +0 -1
- package/dist/webcomponents/p-4ac754e7.entry.js +0 -1
- package/dist/webcomponents/p-4afcb015.entry.js +0 -1
- package/dist/webcomponents/p-4c64b1e9.entry.js +0 -1
- package/dist/webcomponents/p-4e3aca7a.entry.js +0 -1
- package/dist/webcomponents/p-4e489cf9.entry.js +0 -1
- package/dist/webcomponents/p-4e61f480.entry.js +0 -1
- package/dist/webcomponents/p-526be31d.entry.js +0 -1
- package/dist/webcomponents/p-575fc637.entry.js +0 -1
- package/dist/webcomponents/p-581ca781.entry.js +0 -1
- package/dist/webcomponents/p-5b4cbfd4.entry.js +0 -1
- package/dist/webcomponents/p-5eb85754.entry.js +0 -1
- package/dist/webcomponents/p-5f02ec20.entry.js +0 -1
- package/dist/webcomponents/p-6567b171.entry.js +0 -1
- package/dist/webcomponents/p-6d701784.entry.js +0 -1
- package/dist/webcomponents/p-7b649051.entry.js +0 -1
- package/dist/webcomponents/p-B4Bi1JkP.js +0 -1
- package/dist/webcomponents/p-Bl3qFMoN.js +0 -1
- package/dist/webcomponents/p-Bl79NorO.js +0 -1
- package/dist/webcomponents/p-CPXN4Ths.js +0 -1
- package/dist/webcomponents/p-CSwEbNEl.js +0 -1
- package/dist/webcomponents/p-CWpAvtGa.js +0 -1
- package/dist/webcomponents/p-C_9TcvwA.js +0 -1
- package/dist/webcomponents/p-CiKdTI9h.js +0 -1
- package/dist/webcomponents/p-CjO1GttX.js +0 -1
- package/dist/webcomponents/p-D2EbqwBe.js +0 -1
- package/dist/webcomponents/p-DD14E0K0.js +0 -1
- package/dist/webcomponents/p-DavDfnxI.js +0 -1
- package/dist/webcomponents/p-Dss1xCBW.js +0 -1
- package/dist/webcomponents/p-Dumd8fMw.js +0 -1
- package/dist/webcomponents/p-OjYukdAC.js +0 -1
- package/dist/webcomponents/p-_bsEVFir.js +0 -1
- package/dist/webcomponents/p-a2f77373.entry.js +0 -1
- package/dist/webcomponents/p-a4c08055.entry.js +0 -1
- package/dist/webcomponents/p-a93cceca.entry.js +0 -1
- package/dist/webcomponents/p-ab5cde61.entry.js +0 -1
- package/dist/webcomponents/p-ac98a15e.entry.js +0 -1
- package/dist/webcomponents/p-b0430518.entry.js +0 -1
- package/dist/webcomponents/p-b05693c6.entry.js +0 -1
- package/dist/webcomponents/p-b25b8534.entry.js +0 -1
- package/dist/webcomponents/p-b2db4fae.entry.js +0 -1
- package/dist/webcomponents/p-bb5c9475.entry.js +0 -1
- package/dist/webcomponents/p-bb97192f.entry.js +0 -1
- package/dist/webcomponents/p-c77481fe.entry.js +0 -1
- package/dist/webcomponents/p-ca11ad58.entry.js +0 -1
- package/dist/webcomponents/p-d06f7faf.entry.js +0 -1
- package/dist/webcomponents/p-d2fbf7ea.entry.js +0 -1
- package/dist/webcomponents/p-d7a04fdd.entry.js +0 -1
- package/dist/webcomponents/p-d8f7a73b.entry.js +0 -1
- package/dist/webcomponents/p-d90b8cc2.entry.js +0 -1
- package/dist/webcomponents/p-e558eab8.entry.js +0 -1
- package/dist/webcomponents/p-f2dc1405.entry.js +0 -1
- /package/dist/collection/{ui-components → components}/filters/utils.js +0 -0
- /package/dist/types/{ui-components → components}/filters/table-filters-menu.d.ts +0 -0
- /package/dist/types/{ui-components → components}/filters/utils.d.ts +0 -0
- /package/dist/types/ui-components/{table-empty-state.d.ts → table/table-empty-state.d.ts} +0 -0
- /package/dist/types/ui-components/{table-error-state.d.ts → table/table-error-state.d.ts} +0 -0
- /package/dist/types/ui-components/{table-loading-state.d.ts → table/table-loading-state.d.ts} +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { h, proxyCustomElement, HTMLElement, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { S as Skeleton } from './skeleton.js';
|
|
3
|
+
import { w as waitForConfig, c as configState } from './config-state.js';
|
|
3
4
|
import { d as defineCustomElement$1 } from './iframe-input2.js';
|
|
4
5
|
|
|
5
6
|
const BankAccountFormSkeleton = (props) => {
|
|
@@ -24,13 +25,9 @@ const BankAccountForm = /*@__PURE__*/ proxyCustomElement(class BankAccountForm e
|
|
|
24
25
|
this.__registerHost();
|
|
25
26
|
this.isReady = false;
|
|
26
27
|
}
|
|
27
|
-
async
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
return accountNumberIsValid && routingNumberIsValid;
|
|
31
|
-
}
|
|
32
|
-
async tokenize(clientId, paymentMethodMetadata, account) {
|
|
33
|
-
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
28
|
+
async componentWillLoad() {
|
|
29
|
+
await waitForConfig();
|
|
30
|
+
this.iframeOrigin = configState.iframeOrigin;
|
|
34
31
|
}
|
|
35
32
|
componentDidRender() {
|
|
36
33
|
const elements = [
|
|
@@ -45,15 +42,23 @@ const BankAccountForm = /*@__PURE__*/ proxyCustomElement(class BankAccountForm e
|
|
|
45
42
|
this.isReady = true;
|
|
46
43
|
});
|
|
47
44
|
}
|
|
45
|
+
async validate() {
|
|
46
|
+
const accountNumberIsValid = await this.accountNumberIframeElement.validate();
|
|
47
|
+
const routingNumberIsValid = await this.routingNumberIframeElement.validate();
|
|
48
|
+
return accountNumberIsValid && routingNumberIsValid;
|
|
49
|
+
}
|
|
50
|
+
async tokenize(clientId, paymentMethodMetadata, account) {
|
|
51
|
+
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
52
|
+
}
|
|
48
53
|
render() {
|
|
49
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: 'b6cdf5a9320d92a5390daaa0a5218274f2dfc178' }, h(BankAccountFormSkeleton, { key: '286fcc38a26820d166ced0bc886143ed3d880da4', isReady: this.isReady }), h("div", { key: '041fcacff70d7cdfc0c8f41258bd9db18703e4c1', class: "container-fluid p-0", style: {
|
|
50
55
|
opacity: this.isReady ? '1' : '0',
|
|
51
56
|
height: this.isReady ? 'auto' : '0',
|
|
52
|
-
} }, h("div", { key: '
|
|
57
|
+
} }, h("div", { key: '94dc0eb0d79b40ade96e1961611e3e7a8eef20ea', class: "row mb-3" }, h("iframe-input", { key: '41c82b772e7873a45409e35ed56dfea16c20c2ee', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), h("div", { key: '1c95618a50e2d36a3a9a3a7b691ae0dfa6a09936', class: "row" }, h("iframe-input", { key: '28a4dde70c8f55b4f6bf6ce2d3beee6acbebbc0b', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
|
|
53
58
|
}
|
|
54
59
|
}, [0, "bank-account-form", {
|
|
55
|
-
"iframeOrigin": [1, "iframe-origin"],
|
|
56
60
|
"isReady": [32],
|
|
61
|
+
"iframeOrigin": [32],
|
|
57
62
|
"validate": [64],
|
|
58
63
|
"tokenize": [64]
|
|
59
64
|
}]);
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { h, proxyCustomElement, HTMLElement, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as create$3, F as FormController } from './form.js';
|
|
3
3
|
import { q as postalValidation, u as stateValidation, v as cityValidation, x as lineTwoValidation, y as lineOneValidation, n as identityNameValidation } from './schema-validations.js';
|
|
4
|
-
import { U as heading3,
|
|
4
|
+
import { U as heading3, aq as billingForm } from './parts.js';
|
|
5
5
|
import './details.js';
|
|
6
|
+
import './event-types.js';
|
|
6
7
|
import { n as numberOnlyHandler } from './utils3.js';
|
|
7
8
|
import { S as StateOptions } from './state-options.js';
|
|
8
9
|
import { d as defineCustomElement$4 } from './custom-popper2.js';
|
|
@@ -6,7 +6,7 @@ import { C as CURRENCY_MASK } from './form-input-masks.js';
|
|
|
6
6
|
import { h as heading2 } from './parts.js';
|
|
7
7
|
import { P as PaymentProvisioningLoading } from './payment-provisioning-loading.js';
|
|
8
8
|
import { a as businessServiceReceivedOptions, r as recurringPaymentsOptions, s as seasonalBusinessOptions } from './business-form-options.js';
|
|
9
|
-
import { B as BusinessFormStep } from './event-
|
|
9
|
+
import { B as BusinessFormStep } from './event-types2.js';
|
|
10
10
|
import { d as defineCustomElement$5 } from './custom-popper2.js';
|
|
11
11
|
import { d as defineCustomElement$4 } from './form-control-monetary-provisioning2.js';
|
|
12
12
|
import { d as defineCustomElement$3 } from './form-control-select2.js';
|
|
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/i
|
|
|
2
2
|
import { c as create$3, F as FormController } from './form.js';
|
|
3
3
|
import { z as bankStatementValidation, A as voidedCheckValidation, B as routingNumberValidation, C as accountNumberValidation, D as accountTypeValidation, n as identityNameValidation, E as nicknameValidation, F as bankNameValidation } from './schema-validations.js';
|
|
4
4
|
import './Business.js';
|
|
5
|
-
import { B as BusinessFormStep } from './event-
|
|
5
|
+
import { B as BusinessFormStep } from './event-types2.js';
|
|
6
6
|
import { h as heading2 } from './parts.js';
|
|
7
7
|
import { P as PaymentProvisioningLoading } from './payment-provisioning-loading.js';
|
|
8
8
|
import './utils2.js';
|
|
@@ -3,7 +3,7 @@ import { b as businessCoreInfoSchema } from './business-core-info-schema.js';
|
|
|
3
3
|
import { F as FormController } from './form.js';
|
|
4
4
|
import { C as CoreBusinessInfo } from './Business.js';
|
|
5
5
|
import { c as businessClassificationOptions } from './business-form-options.js';
|
|
6
|
-
import { B as BusinessFormStep } from './event-
|
|
6
|
+
import { B as BusinessFormStep } from './event-types2.js';
|
|
7
7
|
import { P as PHONE_MASKS } from './form-input-masks.js';
|
|
8
8
|
import { n as numberOnlyHandler } from './utils3.js';
|
|
9
9
|
import { h as heading2 } from './parts.js';
|
|
@@ -2,6 +2,7 @@ import { h, Fragment, proxyCustomElement, HTMLElement, createEvent } from '@sten
|
|
|
2
2
|
import { E as ErrorState } from './utils.js';
|
|
3
3
|
import { S as StyledHost } from './styled-host.js';
|
|
4
4
|
import './details.js';
|
|
5
|
+
import './event-types.js';
|
|
5
6
|
import { S as Skeleton } from './skeleton.js';
|
|
6
7
|
import { d as defineCustomElement$5 } from './additional-questions-details2.js';
|
|
7
8
|
import { d as defineCustomElement$4 } from './generic-info-details2.js';
|
|
@@ -3,6 +3,7 @@ import { s as snakeCaseToHumanReadable, b as formatDate, c as formatTimeSeconds
|
|
|
3
3
|
import { k as card, h as heading2, m as table, n as tableHeadCell, o as tableCell } from './parts.js';
|
|
4
4
|
import { S as Skeleton } from './skeleton.js';
|
|
5
5
|
import './details.js';
|
|
6
|
+
import './event-types.js';
|
|
6
7
|
|
|
7
8
|
const BusinessDocumentsOnFile = /*@__PURE__*/ proxyCustomElement(class BusinessDocumentsOnFile extends HTMLElement {
|
|
8
9
|
constructor() {
|
|
@@ -2,8 +2,9 @@ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/i
|
|
|
2
2
|
import { B as Button } from './button.js';
|
|
3
3
|
import { h as heading2 } from './parts.js';
|
|
4
4
|
import './details.js';
|
|
5
|
+
import './event-types.js';
|
|
5
6
|
import { P as PaymentProvisioningLoading } from './payment-provisioning-loading.js';
|
|
6
|
-
import { B as BusinessFormStep, a as BusinessFormClickActions } from './event-
|
|
7
|
+
import { B as BusinessFormStep, a as BusinessFormClickActions } from './event-types2.js';
|
|
7
8
|
import { d as defineCustomElement$a } from './custom-popper2.js';
|
|
8
9
|
import { d as defineCustomElement$9 } from './form-control-date2.js';
|
|
9
10
|
import { d as defineCustomElement$8 } from './form-control-number-masked2.js';
|
|
@@ -3,7 +3,7 @@ import { R as Representative } from './Business.js';
|
|
|
3
3
|
import { F as FormController } from './form.js';
|
|
4
4
|
import { i as identitySchema } from './business-identity-schema.js';
|
|
5
5
|
import { P as PaymentProvisioningLoading } from './payment-provisioning-loading.js';
|
|
6
|
-
import { B as BusinessFormStep } from './event-
|
|
6
|
+
import { B as BusinessFormStep } from './event-types2.js';
|
|
7
7
|
import { d as defineCustomElement$8 } from './custom-popper2.js';
|
|
8
8
|
import { d as defineCustomElement$7 } from './form-control-date2.js';
|
|
9
9
|
import { d as defineCustomElement$6 } from './form-control-number-masked2.js';
|
|
@@ -9,7 +9,7 @@ import './Refund.js';
|
|
|
9
9
|
import './Document.js';
|
|
10
10
|
import { h as heading2 } from './parts.js';
|
|
11
11
|
import './Business.js';
|
|
12
|
-
import { B as BusinessFormStep } from './event-
|
|
12
|
+
import { B as BusinessFormStep } from './event-types2.js';
|
|
13
13
|
import { d as defineCustomElement$1 } from './form-control-checkbox2.js';
|
|
14
14
|
|
|
15
15
|
const businessTermsConditionsSchema = (allowOptionalFields) => {
|
|
@@ -1,56 +1,45 @@
|
|
|
1
|
-
import { A as Api$1 } from './Api.js';
|
|
2
1
|
import { A as Api } from './ApiNew.js';
|
|
3
2
|
|
|
3
|
+
const api = Api();
|
|
4
4
|
class BusinessService {
|
|
5
5
|
async fetchBusiness(businessId, authToken) {
|
|
6
|
-
const api = Api();
|
|
7
6
|
const endpoint = `entities/business/${businessId}`;
|
|
8
7
|
return api.get({ endpoint, authToken });
|
|
9
8
|
}
|
|
10
9
|
async patchBusiness(authToken, businessId, payload) {
|
|
11
10
|
const endpoint = `entities/business/${businessId}`;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
body: payload,
|
|
15
|
-
});
|
|
11
|
+
const body = payload;
|
|
12
|
+
return api.patch({ endpoint, body, authToken });
|
|
16
13
|
}
|
|
17
14
|
}
|
|
18
15
|
class IdentityService {
|
|
19
16
|
async fetchIdentity(identityId, authToken) {
|
|
20
17
|
const endpoint = `entities/identity/${identityId}`;
|
|
21
|
-
return
|
|
18
|
+
return api.get({ endpoint, authToken });
|
|
22
19
|
}
|
|
23
20
|
async patchIdentity(authToken, identityId, payload) {
|
|
24
21
|
const endpoint = `entities/identity/${identityId}`;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
body: payload,
|
|
28
|
-
});
|
|
22
|
+
const body = payload;
|
|
23
|
+
return api.patch({ endpoint, body, authToken });
|
|
29
24
|
}
|
|
30
25
|
async postIdentity(authToken, payload) {
|
|
31
26
|
const endpoint = `entities/identity`;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
body: payload,
|
|
35
|
-
});
|
|
27
|
+
const body = payload;
|
|
28
|
+
return api.post({ endpoint, body, authToken });
|
|
36
29
|
}
|
|
37
30
|
}
|
|
38
31
|
class BusinessBankAccountService {
|
|
39
32
|
async postBankAccount(authToken, payload) {
|
|
40
33
|
const endpoint = `entities/bank_accounts`;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
body: payload,
|
|
44
|
-
});
|
|
34
|
+
const body = payload;
|
|
35
|
+
return api.post({ endpoint, body, authToken });
|
|
45
36
|
}
|
|
46
37
|
}
|
|
47
38
|
class DocumentRecordService {
|
|
48
39
|
async postDocumentRecord(authToken, payload) {
|
|
49
40
|
const endpoint = `entities/document`;
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
body: payload,
|
|
53
|
-
});
|
|
41
|
+
const body = payload;
|
|
42
|
+
return api.post({ endpoint, body, authToken });
|
|
54
43
|
}
|
|
55
44
|
}
|
|
56
45
|
|
package/dist/module/button.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { $ as buttonSecondary, a0 as buttonPrimary, a1 as buttonLoading } from './parts.js';
|
|
3
3
|
|
|
4
4
|
const ButtonSpinner = () => (h("div", { class: "spinner-border spinner-border-sm", role: "status", part: "button-spinner" },
|
|
5
5
|
h("span", { class: "visually-hidden" }, "Loading...")));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as create$3, a as create$6, F as FormController } from './form.js';
|
|
3
3
|
import { D as DisputeResponseFormStep, f as fileInputHandler } from './file-input-handler.js';
|
|
4
|
-
import {
|
|
4
|
+
import { _ as heading5 } from './parts.js';
|
|
5
5
|
import { d as defineCustomElement$5 } from './custom-popper2.js';
|
|
6
6
|
import { d as defineCustomElement$4 } from './form-control-file-v22.js';
|
|
7
7
|
import { d as defineCustomElement$3 } from './form-control-help-text2.js';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { h, proxyCustomElement, HTMLElement, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { S as Skeleton } from './skeleton.js';
|
|
3
|
+
import { w as waitForConfig, c as configState } from './config-state.js';
|
|
3
4
|
import { d as defineCustomElement$1 } from './iframe-input2.js';
|
|
4
5
|
|
|
5
6
|
const CardFormSkeleton = (props) => {
|
|
@@ -28,6 +29,10 @@ const CardForm = /*@__PURE__*/ proxyCustomElement(class CardForm extends HTMLEle
|
|
|
28
29
|
this.__registerHost();
|
|
29
30
|
this.isReady = false;
|
|
30
31
|
}
|
|
32
|
+
async componentWillLoad() {
|
|
33
|
+
await waitForConfig();
|
|
34
|
+
this.iframeOrigin = configState.iframeOrigin;
|
|
35
|
+
}
|
|
31
36
|
componentDidRender() {
|
|
32
37
|
const elements = [
|
|
33
38
|
this.cardNumberIframeElement,
|
|
@@ -54,14 +59,14 @@ const CardForm = /*@__PURE__*/ proxyCustomElement(class CardForm extends HTMLEle
|
|
|
54
59
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
55
60
|
}
|
|
56
61
|
render() {
|
|
57
|
-
return (h(Host, { key: '
|
|
62
|
+
return (h(Host, { key: '3d28e96f020196a359a359507237b50dd9fed020' }, h(CardFormSkeleton, { key: 'ee07eb10acf142fcaab1398278e335df49f1abe9', isReady: this.isReady }), h("div", { key: 'bfce475f392cbb2bad3fd1c76f16c6e6a6718c1f', class: "container-fluid p-0", style: {
|
|
58
63
|
opacity: this.isReady ? '1' : '0',
|
|
59
64
|
height: this.isReady ? 'auto' : '0',
|
|
60
|
-
} }, h("div", { key: '
|
|
65
|
+
} }, h("div", { key: 'e8517852800a9a165e61308f8d1cf875a87c021e', class: "mb-3" }, h("iframe-input", { key: '6efe224b7f4a2f63eec601d3e48c454d78c30300', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: 'cb6df3c5d9788a22c26255d1fe94331544730d24', class: "row" }, h("div", { key: '895943798b131da4215b24da822f7109e045e05b', class: "col-4 align-content-end" }, h("iframe-input", { key: 'ebea71cabe9f783734f924cfd0b03797cd203ce7', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: 'a65042ba66ca4a2a6f520147d316eb20f82369ea', class: "col-4 align-content-end" }, h("iframe-input", { key: '8ef921245a3075ba36c310955bea671b71aca658', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: 'e37d637b078a36736ba698d0d96465e138fcf5ab', class: "col-4 align-content-end" }, h("iframe-input", { key: 'df20adb17524ea29f55e1c223267a9f0294b6062', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
|
|
61
66
|
}
|
|
62
67
|
}, [0, "card-form", {
|
|
63
|
-
"iframeOrigin": [1, "iframe-origin"],
|
|
64
68
|
"isReady": [32],
|
|
69
|
+
"iframeOrigin": [32],
|
|
65
70
|
"validate": [64],
|
|
66
71
|
"tokenize": [64]
|
|
67
72
|
}]);
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { p as packageJson } from './package.js';
|
|
2
|
-
import { A as Api } from './
|
|
2
|
+
import { A as Api } from './ApiNew.js';
|
|
3
3
|
|
|
4
|
+
const api = Api();
|
|
4
5
|
class AnalyticsService {
|
|
5
6
|
async record(body) {
|
|
6
7
|
const endpoint = 'analytics';
|
|
7
|
-
return
|
|
8
|
+
return api.post({ endpoint, body });
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
11
|
|
|
@@ -5,10 +5,11 @@ import { C as ComponentErrorSeverity } from './ComponentError.js';
|
|
|
5
5
|
import { v as validateInsuranceValues, i as insuranceValuesOn, a as insuranceValues, H as Header2 } from './insurance-state.js';
|
|
6
6
|
import { B as Button } from './button.js';
|
|
7
7
|
import { S as StyledHost } from './styled-host.js';
|
|
8
|
-
import { t as text, V as checkoutSummary } from './parts.js';
|
|
9
8
|
import { S as Skeleton } from './skeleton.js';
|
|
9
|
+
import { t as text, V as checkoutSummary } from './parts.js';
|
|
10
10
|
import { d as defineCustomElement$6, H as Header3 } from './billing-form.js';
|
|
11
11
|
import './details.js';
|
|
12
|
+
import './event-types.js';
|
|
12
13
|
import { d as defineCustomElement$h } from './bank-account-form2.js';
|
|
13
14
|
import { d as defineCustomElement$g } from './card-form2.js';
|
|
14
15
|
import { d as defineCustomElement$f } from './custom-popper2.js';
|
|
@@ -142,21 +143,20 @@ const CheckoutCore = /*@__PURE__*/ proxyCustomElement(class CheckoutCore extends
|
|
|
142
143
|
}
|
|
143
144
|
get paymentType() {
|
|
144
145
|
var _a, _b, _c, _d, _e;
|
|
145
|
-
return (h("section", null, h("div", { class: !this.isLoading && 'visually-hidden' }, h(Skeleton, { height: "300px" })), h("div", { class: this.isLoading && 'visually-hidden' }, h("justifi-payment-method-options", { ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": !this.disableBnpl, paymentMethodGroupId: (_a = this.checkout) === null || _a === void 0 ? void 0 : _a.payment_method_group_id, "show-saved-payment-methods": !this.disablePaymentMethodGroup, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, bnpl: (_b = this.checkout) === null || _b === void 0 ? void 0 : _b.bnpl, authToken: this.authToken, "account-id": (_c = this.checkout) === null || _c === void 0 ? void 0 : _c.account_id, savedPaymentMethods: ((_d = this.checkout) === null || _d === void 0 ? void 0 : _d.payment_methods) || [], paymentAmount: (_e = this.checkout) === null || _e === void 0 ? void 0 : _e.payment_amount, insuranceToggled: this.insuranceToggled
|
|
146
|
+
return (h("section", null, h("div", { class: !this.isLoading && 'visually-hidden' }, h(Skeleton, { height: "300px" })), h("div", { class: this.isLoading && 'visually-hidden' }, h("justifi-payment-method-options", { ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": !this.disableBnpl, paymentMethodGroupId: (_a = this.checkout) === null || _a === void 0 ? void 0 : _a.payment_method_group_id, "show-saved-payment-methods": !this.disablePaymentMethodGroup, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, bnpl: (_b = this.checkout) === null || _b === void 0 ? void 0 : _b.bnpl, authToken: this.authToken, "account-id": (_c = this.checkout) === null || _c === void 0 ? void 0 : _c.account_id, savedPaymentMethods: ((_d = this.checkout) === null || _d === void 0 ? void 0 : _d.payment_methods) || [], paymentAmount: (_e = this.checkout) === null || _e === void 0 ? void 0 : _e.payment_amount, insuranceToggled: this.insuranceToggled }))));
|
|
146
147
|
}
|
|
147
148
|
get summary() {
|
|
148
149
|
var _a, _b;
|
|
149
150
|
return (h("section", null, h("div", { class: !this.isLoading && 'visually-hidden' }, h(Skeleton, { height: "24px" })), h("div", { class: this.isLoading && 'visually-hidden' }, h("div", { part: text }, (_a = this.checkout) === null || _a === void 0 ? void 0 : _a.payment_description), h("div", null, h("span", { part: text }, "Total"), "\u00A0", h("span", { part: text }, formatCurrency(+((_b = this.checkout) === null || _b === void 0 ? void 0 : _b.total_amount)))))));
|
|
150
151
|
}
|
|
151
152
|
render() {
|
|
152
|
-
return (h(StyledHost, { key: '
|
|
153
|
+
return (h(StyledHost, { key: '2fb8b2c2b543712023c74cf9b41dc57675c89237' }, h("div", { key: 'caba36e076e4162d9c92844f7c0632b5bf678de6', class: "row gy-3 jfi-checkout-core" }, h("div", { key: '6a27d64005d785815d5567894d6e2a6e1e515cf8', class: "col-12", part: checkoutSummary }, h(Header2, { key: '645fe4250331805e86811700b453458f065188bd', text: "Summary", class: "fs-5 fw-bold pb-3" }), this.summary), h("div", { key: 'c49c73eb3462ad17e0344e74be508abe958a9358', class: "col-12" }, h("slot", { key: 'be626bff57c95b92f9853e2e9b63dd9279834142', name: "insurance" })), h("div", { key: '025b0400164935f10d6c79d445bfdcf157290fd6', class: "col-12 mt-4" }, h(Header2, { key: '483b5d53b5cea3ae6fccfbb3aa9d3efe0dc8fcab', text: "Payment", class: "fs-5 fw-bold pb-3" }), h(Header3, { key: '21abbd4d669e351c8ad0a87b7b408a4998948b46', text: "Select payment type", class: "fs-6 fw-bold lh-lg" }), h("div", { key: '9441e97e1bd64b796ebcf1404d4ca04964990982', class: "d-flex flex-column" }, this.paymentType)), h("div", { key: '9db2e4fccff5b868e7d329d9b0be864942adcc3d', class: "col-12" }, h("div", { key: '2eaef4ed6062b27de2516de7b71a056c829f8cab', class: "d-flex justify-content-end" }, h(Button, { key: '505869afa61094d628b58a32749c44f678e4fda3', type: "submit", variant: "primary", onClick: (e) => this.submit(e), disabled: this.isLoading, isLoading: this.isLoading, style: { width: '100%' } }, "Pay"))))));
|
|
153
154
|
}
|
|
154
155
|
}, [1, "justifi-checkout-core", {
|
|
155
156
|
"authToken": [1, "auth-token"],
|
|
156
157
|
"getCheckout": [16, "get-checkout"],
|
|
157
158
|
"complete": [16],
|
|
158
159
|
"checkoutId": [1, "checkout-id"],
|
|
159
|
-
"iframeOrigin": [1, "iframe-origin"],
|
|
160
160
|
"disableCreditCard": [4, "disable-credit-card"],
|
|
161
161
|
"disableBankAccount": [4, "disable-bank-account"],
|
|
162
162
|
"disableBnpl": [4, "disable-bnpl"],
|
|
@@ -1,37 +1,25 @@
|
|
|
1
|
-
import { A as Api } from './
|
|
2
|
-
import './ComponentError.js';
|
|
3
|
-
import './Checkout.js';
|
|
4
|
-
import './Pagination.js';
|
|
5
|
-
import './Payment.js';
|
|
6
|
-
import './Refund.js';
|
|
7
|
-
import './Document.js';
|
|
1
|
+
import { A as Api } from './ApiNew.js';
|
|
8
2
|
|
|
3
|
+
const api = Api();
|
|
9
4
|
class CheckoutService {
|
|
10
5
|
async fetchCheckout(authToken, checkoutId) {
|
|
11
6
|
const endpoint = `checkouts/${checkoutId}`;
|
|
12
|
-
return
|
|
7
|
+
return api.get({ endpoint, authToken });
|
|
13
8
|
}
|
|
14
|
-
async fetchCheckouts(accountId, authToken, params
|
|
15
|
-
if (!apiOrigin) {
|
|
16
|
-
apiOrigin = "https://wc-proxy.justifi.ai";
|
|
17
|
-
}
|
|
18
|
-
const headers = { Account: accountId };
|
|
19
|
-
const api = Api({ authToken, apiOrigin: apiOrigin });
|
|
9
|
+
async fetchCheckouts(accountId, authToken, params) {
|
|
20
10
|
const endpoint = 'checkouts';
|
|
21
|
-
|
|
11
|
+
const headers = { Account: accountId };
|
|
12
|
+
return api.get({ endpoint, params, headers, authToken });
|
|
22
13
|
}
|
|
23
14
|
async complete(authToken, checkoutId, payment) {
|
|
24
15
|
const endpoint = `checkouts/${checkoutId}/complete`;
|
|
25
|
-
const
|
|
16
|
+
const body = {
|
|
26
17
|
payment_mode: payment.payment_mode,
|
|
27
18
|
};
|
|
28
19
|
if (payment.payment_token) {
|
|
29
|
-
|
|
20
|
+
body.payment_token = payment.payment_token;
|
|
30
21
|
}
|
|
31
|
-
return
|
|
32
|
-
endpoint,
|
|
33
|
-
body: payload,
|
|
34
|
-
});
|
|
22
|
+
return api.post({ endpoint, body, authToken });
|
|
35
23
|
}
|
|
36
24
|
}
|
|
37
25
|
|
|
@@ -6,10 +6,11 @@ import { p as pagingDefaults } from './Pagination.js';
|
|
|
6
6
|
import './Payment.js';
|
|
7
7
|
import './Refund.js';
|
|
8
8
|
import './Document.js';
|
|
9
|
-
import { n as tableHeadCell, a5 as getAlternateTableCellPart, m as table, o as tableCell } from './parts.js';
|
|
10
|
-
import { T as TableClickActions, a as Table, b as TableLoadingState, c as TableEmptyState, d as TableErrorState } from './event-types3.js';
|
|
11
9
|
import './details.js';
|
|
10
|
+
import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table.js';
|
|
11
|
+
import { T as TableClickActions } from './event-types.js';
|
|
12
12
|
import { B as Badge, a as BadgeVariant } from './badge.js';
|
|
13
|
+
import { n as tableHeadCell, a7 as getAlternateTableCellPart } from './parts.js';
|
|
13
14
|
import { o as onQueryParamsChange, g as getRequestParams } from './checkouts-list-params-state.js';
|
|
14
15
|
import { d as defineCustomElement$1 } from './pagination-menu2.js';
|
|
15
16
|
|
|
@@ -177,7 +178,7 @@ const CheckoutsListCore = /*@__PURE__*/ proxyCustomElement(class CheckoutsListCo
|
|
|
177
178
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
178
179
|
}
|
|
179
180
|
render() {
|
|
180
|
-
return (h(
|
|
181
|
+
return (h(TableWrapper, { key: '79f36b8dd358285868187892962f5e2138942fe8' }, h(TableComponent, { key: 'e48c644e425ac45ab27b92548bc49af35b599245' }, h(TableHead, { key: '6d47b68c0a74f0eff3146dfc4720b0cc0f6fc24d' }, h(TableHeadRow, { key: 'a3660ae82b53ba7dead2e577fd8d573426935dc6' }, this.checkoutsTable.columnData.map((column) => column))), h(TableBody, { key: '08fbd465bae0afa3de8d472c84e0410150509673' }, h(TableLoadingState, { key: 'ba7d778f9fc029166d6228fe9b1a8f1598a68c5a', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '312b176371526658852b74ae228524695f5c1947', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: 'a24680fb1d681397a3cb266ec34ab5c9310dfa64', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.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: '503ffd707d958a353a18a6f06d1280a0cb01c741' }, h(TableFootRow, { key: '250fcfc3961881ab460221e5e0160d5b6d35e5c3' }, h(TableFootCell, { key: '2631d54b49bbee1502e5412cd9303d7d67746525', colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: 'd7bb27501b62a1089090b06c82b2a2c328a2e0b6', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
181
182
|
}
|
|
182
183
|
static get watchers() { return {
|
|
183
184
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -2,7 +2,7 @@ import { c as createStore } from './index2.js';
|
|
|
2
2
|
|
|
3
3
|
const initialState = {
|
|
4
4
|
apiOrigin: "https://wc-proxy.justifi.ai",
|
|
5
|
-
|
|
5
|
+
iframeOrigin: "https://components.justifi.ai",
|
|
6
6
|
accountId: '',
|
|
7
7
|
};
|
|
8
8
|
const configStore = createStore(() => initialState);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as create$3, a as create$6, F as FormController } from './form.js';
|
|
3
3
|
import { D as DisputeResponseFormStep, f as fileInputHandler } from './file-input-handler.js';
|
|
4
|
-
import {
|
|
4
|
+
import { _ as heading5 } from './parts.js';
|
|
5
5
|
import { d as defineCustomElement$6 } from './custom-popper2.js';
|
|
6
6
|
import { d as defineCustomElement$5 } from './form-control-file-v22.js';
|
|
7
7
|
import { d as defineCustomElement$4 } from './form-control-help-text2.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import { D as DisputeManagementClickActions } from './event-
|
|
3
|
-
import {
|
|
2
|
+
import { D as DisputeManagementClickActions } from './event-types3.js';
|
|
3
|
+
import { a as Dispute, D as DisputeStatus } from './Dispute.js';
|
|
4
4
|
import { d as defineCustomElement$i } from './custom-popper2.js';
|
|
5
5
|
import { d as defineCustomElement$h } from './form-control-date2.js';
|
|
6
6
|
import { d as defineCustomElement$g } from './form-control-file-v22.js';
|
|
@@ -5,8 +5,9 @@ import { B as Button } from './button.js';
|
|
|
5
5
|
import { S as StyledHost } from './styled-host.js';
|
|
6
6
|
import { S as Skeleton } from './skeleton.js';
|
|
7
7
|
import './details.js';
|
|
8
|
+
import './event-types.js';
|
|
8
9
|
import { m as makeSubmitDisputeResponse, D as DisputeService } from './dispute-response-actions.js';
|
|
9
|
-
import { D as DisputeManagementClickActions } from './event-
|
|
10
|
+
import { D as DisputeManagementClickActions } from './event-types3.js';
|
|
10
11
|
|
|
11
12
|
const DisputeNotification = /*@__PURE__*/ proxyCustomElement(class DisputeNotification extends HTMLElement {
|
|
12
13
|
constructor() {
|
|
@@ -1,37 +1,27 @@
|
|
|
1
|
-
import { A as Api } from './
|
|
1
|
+
import { A as Api } from './ApiNew.js';
|
|
2
2
|
import { C as ComponentErrorSeverity } from './ComponentError.js';
|
|
3
|
-
import './Checkout.js';
|
|
4
|
-
import './Pagination.js';
|
|
5
|
-
import './Payment.js';
|
|
6
|
-
import './Refund.js';
|
|
7
|
-
import './Document.js';
|
|
8
3
|
import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
|
|
9
4
|
|
|
5
|
+
const api = Api();
|
|
10
6
|
class DisputeService {
|
|
11
7
|
async fetchDispute(disputeId, authToken) {
|
|
12
8
|
const endpoint = `disputes/${disputeId}`;
|
|
13
|
-
return
|
|
9
|
+
return api.get({ endpoint, authToken });
|
|
14
10
|
}
|
|
15
11
|
async updateDisputeResponse(disputeId, authToken, payload) {
|
|
16
12
|
const endpoint = `disputes/${disputeId}/response`;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
body: payload,
|
|
20
|
-
});
|
|
13
|
+
const body = payload;
|
|
14
|
+
return api.patch({ endpoint, body, authToken });
|
|
21
15
|
}
|
|
22
16
|
async submitDisputeResponse(disputeId, authToken, payload) {
|
|
23
17
|
const endpoint = `disputes/${disputeId}/response`;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
body: payload,
|
|
27
|
-
});
|
|
18
|
+
const body = payload;
|
|
19
|
+
return api.post({ endpoint, body, authToken });
|
|
28
20
|
}
|
|
29
21
|
async createDisputeEvidence(disputeId, authToken, payload) {
|
|
30
22
|
const endpoint = `disputes/${disputeId}/evidence`;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
body: payload,
|
|
34
|
-
});
|
|
23
|
+
const body = payload;
|
|
24
|
+
return api.put({ endpoint, body, authToken });
|
|
35
25
|
}
|
|
36
26
|
}
|
|
37
27
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import { D as DisputeManagementClickActions } from './event-
|
|
2
|
+
import { D as DisputeManagementClickActions } from './event-types3.js';
|
|
3
3
|
import { X as heading4 } from './parts.js';
|
|
4
4
|
import { B as Button } from './button.js';
|
|
5
5
|
import { d as defineCustomElement$f } from './custom-popper2.js';
|
|
@@ -2,6 +2,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/i
|
|
|
2
2
|
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
|
|
3
3
|
import { S as StyledHost } from './styled-host.js';
|
|
4
4
|
import './details.js';
|
|
5
|
+
import './event-types.js';
|
|
5
6
|
import { a as makeUpdateDisputeResponse, b as makeCreateDisputeEvidence, m as makeSubmitDisputeResponse, D as DisputeService } from './dispute-response-actions.js';
|
|
6
7
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError.js';
|
|
7
8
|
import { d as defineCustomElement$g } from './custom-popper2.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as create$3, a as create$6, F as FormController } from './form.js';
|
|
3
3
|
import { D as DisputeResponseFormStep, f as fileInputHandler } from './file-input-handler.js';
|
|
4
|
-
import {
|
|
4
|
+
import { _ as heading5 } from './parts.js';
|
|
5
5
|
import { d as defineCustomElement$6 } from './custom-popper2.js';
|
|
6
6
|
import { d as defineCustomElement$5 } from './form-control-file-v22.js';
|
|
7
7
|
import { d as defineCustomElement$4 } from './form-control-help-text2.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as create$3, a as create$6, F as FormController } from './form.js';
|
|
3
3
|
import { D as DisputeResponseFormStep, f as fileInputHandler } from './file-input-handler.js';
|
|
4
|
-
import {
|
|
4
|
+
import { _ as heading5 } from './parts.js';
|
|
5
5
|
import { d as defineCustomElement$4 } from './custom-popper2.js';
|
|
6
6
|
import { d as defineCustomElement$3 } from './form-control-file-v22.js';
|
|
7
7
|
import { d as defineCustomElement$2 } from './form-control-text2.js';
|
|
@@ -1,23 +1,8 @@
|
|
|
1
|
-
var
|
|
2
|
-
(function (
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
BusinessFormClickActions["addOwner"] = "addOwner";
|
|
8
|
-
BusinessFormClickActions["addOwnerForm"] = "addOwnerForm";
|
|
9
|
-
BusinessFormClickActions["updateOwner"] = "updateOwner";
|
|
10
|
-
})(BusinessFormClickActions || (BusinessFormClickActions = {}));
|
|
11
|
-
var BusinessFormStep;
|
|
12
|
-
(function (BusinessFormStep) {
|
|
13
|
-
BusinessFormStep["businessInfo"] = "business_info";
|
|
14
|
-
BusinessFormStep["legalAddress"] = "legal_address";
|
|
15
|
-
BusinessFormStep["additionalQuestions"] = "additional_questions";
|
|
16
|
-
BusinessFormStep["representative"] = "representative";
|
|
17
|
-
BusinessFormStep["owners"] = "owners";
|
|
18
|
-
BusinessFormStep["bankAccount"] = "bank_account";
|
|
19
|
-
BusinessFormStep["documentUpload"] = "document_upload";
|
|
20
|
-
BusinessFormStep["termsAndConditions"] = "terms_and_conditions";
|
|
21
|
-
})(BusinessFormStep || (BusinessFormStep = {}));
|
|
1
|
+
var TableClickActions;
|
|
2
|
+
(function (TableClickActions) {
|
|
3
|
+
TableClickActions["row"] = "tableRow";
|
|
4
|
+
TableClickActions["next"] = "nextPage";
|
|
5
|
+
TableClickActions["previous"] = "previousPage";
|
|
6
|
+
})(TableClickActions || (TableClickActions = {}));
|
|
22
7
|
|
|
23
|
-
export {
|
|
8
|
+
export { TableClickActions as T };
|