@justifi/webcomponents 5.6.1 → 5.7.1
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 → Api-C8nf_gS9.js} +1 -1
- package/dist/cjs/{Payment-CQCmj3Ck.js → Document-CL5Zc72Q.js} +57 -0
- package/dist/cjs/{Refund-CpurRc4w.js → Refund-CYxocU06.js} +1 -0
- 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 +12 -10
- package/dist/cjs/bank-account-form_9.cjs.entry.js +39 -30
- package/dist/cjs/{business-additional-questions-schema-gVepoR4V.js → business-additional-questions-schema-DR8vt11M.js} +1 -1
- package/dist/cjs/business-details-core.cjs.entry.js +4 -3
- package/dist/cjs/{business-identity-schema-dt0zCW0R.js → business-identity-schema-BYaCsboD.js} +1 -1
- package/dist/cjs/{business.service-Vcq4kPU8.js → business.service-C2rg_zSw.js} +20 -24
- package/dist/cjs/{button-Bn9jOYbx.js → button-BPFSRx4d.js} +1 -1
- package/dist/cjs/{check-pkg-version-7gGchZzS.js → check-pkg-version-BqC8BOhm.js} +14 -3
- package/dist/cjs/checkout.service-CyvIIMeq.js +35 -0
- package/dist/cjs/checkouts-list-core.cjs.entry.js +16 -12
- 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 +7 -6
- package/dist/cjs/{dispute.service-F-M8EJxq.js → dispute.service-CKPR1vFS.js} +13 -17
- 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 +6 -5
- package/dist/cjs/form-control-date.cjs.entry.js +5 -4
- 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 +5 -5
- 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 +6 -5
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +5 -4
- package/dist/cjs/form-control-number.cjs.entry.js +6 -5
- package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
- package/dist/cjs/{get-payment-details-DqvDYbnK.js → get-payment-details-C9HqIv-M.js} +6 -4
- package/dist/cjs/{get-subaccounts-CasN5tDA.js → get-subaccounts-BNpIanJ9.js} +8 -6
- 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 +6 -6
- 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 +12 -10
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +13 -14
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +1 -1
- package/dist/cjs/justifi-business-details.cjs.entry.js +16 -10
- package/dist/cjs/justifi-business-form.cjs.entry.js +78 -54
- 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 +16 -11
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +10 -6
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +24 -22
- 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 +17 -14
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +19 -12
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +20 -8
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +19 -15
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +14 -10
- package/dist/cjs/justifi-payment-details.cjs.entry.js +15 -13
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -2
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +20 -13
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +21 -17
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +4 -3
- package/dist/cjs/justifi-payments-list.cjs.entry.js +21 -17
- package/dist/cjs/justifi-payout-details.cjs.entry.js +16 -13
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +21 -17
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -3
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +21 -23
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +17 -15
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +7 -4
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +19 -19
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +11 -7
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +22 -15
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +10 -6
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +20 -16
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +20 -11
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-CseQI95t.js → package-Biee4Hdo.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 +16 -12
- package/dist/cjs/{payment.service-CAJSEb2x.js → payment.service-C996aLGw.js} +9 -2
- package/dist/cjs/payments-list-core.cjs.entry.js +17 -13
- 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-BwKgEbDo.js} +9 -2
- package/dist/cjs/payouts-list-core.cjs.entry.js +17 -13
- 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/{schema-validations-p4OCdblz.js → schema-validations-Bhz09M42.js} +1 -1
- 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 +16 -12
- package/dist/cjs/{terminal-orders-table-CpVY3VsQ.js → terminal-orders-table-CxY1ykZ7.js} +7 -5
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/{terminal.service-cGQB3xiL.js → terminal.service-D7dxg9ZQ.js} +9 -2
- package/dist/cjs/terminals-list-core.cjs.entry.js +16 -12
- 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/Analytics.js +3 -0
- package/dist/collection/api/Api.js +23 -12
- package/dist/collection/api/Payment.js +1 -0
- package/dist/collection/api/Payout.js +1 -0
- package/dist/collection/api/index.js +5 -1
- 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 +8 -14
- package/dist/collection/api/services/dispute.service.js +8 -13
- package/dist/collection/api/services/insurance.service.js +5 -8
- package/dist/collection/api/services/payment.service.js +1 -1
- package/dist/collection/api/services/payout.service.js +1 -1
- package/dist/collection/api/services/provision.service.js +4 -6
- package/dist/collection/api/services/refund.service.js +1 -1
- package/dist/collection/api/services/reports.service.js +3 -3
- package/dist/collection/api/services/subaccounts.service.js +1 -1
- package/dist/collection/api/services/terminal.service.js +1 -1
- package/dist/collection/api/services/terminal_orders.service.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/business-details/business-details.js +3 -1
- package/dist/collection/components/business-forms/business-form/business-form.js +80 -39
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +4 -2
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +3 -3
- 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 +5 -24
- 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 +5 -25
- 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 +4 -25
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-actions.js +2 -2
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +4 -2
- package/dist/collection/{ui-components → components}/filters/table-filters-menu.js +3 -3
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +3 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +4 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +3 -4
- package/dist/collection/components/order-terminals/order-terminals.js +6 -1
- package/dist/collection/components/payment-details/payment-details-core.js +11 -7
- package/dist/collection/components/payment-details/payment-details.js +2 -1
- package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +5 -4
- package/dist/collection/components/payments-list/payments-list-core.js +2 -3
- package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
- package/dist/collection/components/payments-list/payments-list.js +4 -2
- package/dist/collection/components/payout-details/payout-details-core.js +5 -1
- package/dist/collection/components/payout-details/payout-details.js +3 -1
- package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +5 -4
- package/dist/collection/components/payouts-list/payouts-list-core.js +2 -3
- package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
- package/dist/collection/components/payouts-list/payouts-list.js +5 -3
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +2 -3
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
- package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +6 -1
- package/dist/collection/components/terminals-list/terminals-list-core.js +2 -3
- package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list.js +4 -2
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +6 -22
- package/dist/collection/styles/parts.js +12 -5
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
- package/dist/collection/ui-components/form/form-control-date.js +2 -2
- package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
- package/dist/collection/ui-components/form/form-control-file.js +2 -2
- package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
- package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
- package/dist/collection/ui-components/form/form-control-number.js +2 -2
- package/dist/collection/ui-components/form/form-control-radio.js +2 -2
- package/dist/collection/ui-components/form/form-control-text.js +2 -2
- package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +3 -3
- package/dist/collection/ui-components/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 +29 -235
- package/dist/esm/{ApiNew-UOnmIWcv.js → Api-KYhsw8Nv.js} +1 -1
- package/dist/esm/{Dispute-7MWRbTXI.js → Dispute-BH0Xfn-F.js} +1 -1
- package/dist/esm/{Payment-BADkZFaz.js → Document-cNXrKmGy.js} +57 -2
- package/dist/esm/{Refund-DOvd7RJp.js → Refund-2YJqP9qX.js} +1 -0
- 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 +12 -10
- package/dist/esm/bank-account-form_9.entry.js +32 -23
- package/dist/esm/{business-additional-questions-schema-DWnZs60Z.js → business-additional-questions-schema-GpN_koGK.js} +1 -1
- package/dist/esm/business-details-core.entry.js +4 -3
- package/dist/esm/{business-identity-schema-lqdJS3MT.js → business-identity-schema-BjuQ6ajL.js} +1 -1
- package/dist/esm/{business.service-B1VD22Tz.js → business.service-ClD_YDeT.js} +20 -24
- package/dist/esm/{button-BRFA5syj.js → button-CjH5C0pG.js} +1 -1
- package/dist/esm/{check-pkg-version-DpVT68Qo.js → check-pkg-version-DxnKX9GQ.js} +14 -3
- package/dist/esm/checkout.service-DfzkmIe4.js +33 -0
- package/dist/esm/checkouts-list-core.entry.js +15 -11
- 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 +7 -6
- package/dist/esm/dispute.service-BTOWqnmk.js +33 -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 +6 -5
- package/dist/esm/form-control-date.entry.js +5 -4
- 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 +5 -5
- 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 +6 -5
- package/dist/esm/form-control-number-masked_2.entry.js +5 -4
- package/dist/esm/form-control-number.entry.js +6 -5
- package/dist/esm/form-control-radio.entry.js +3 -3
- package/dist/esm/{get-payment-details-CXiGG9cO.js → get-payment-details-D-prcfRc.js} +5 -3
- package/dist/esm/{get-subaccounts-COe5GtaY.js → get-subaccounts-B0uEyOp_.js} +7 -5
- 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 +6 -6
- 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 +12 -10
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +14 -15
- package/dist/esm/justifi-additional-statement_8.entry.js +1 -1
- package/dist/esm/justifi-business-details.entry.js +16 -10
- package/dist/esm/justifi-business-form.entry.js +78 -54
- 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 +17 -12
- package/dist/esm/justifi-checkouts-list-filters.entry.js +10 -6
- package/dist/esm/justifi-checkouts-list.entry.js +24 -22
- package/dist/esm/justifi-config-provider.entry.js +3 -3
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
- package/dist/esm/justifi-dispute-management.entry.js +18 -15
- package/dist/esm/justifi-dispute-notification_3.entry.js +20 -13
- package/dist/esm/justifi-gross-payment-chart.entry.js +20 -8
- package/dist/esm/justifi-order-terminals.entry.js +19 -15
- package/dist/esm/justifi-owner-form_3.entry.js +15 -11
- package/dist/esm/justifi-payment-details.entry.js +16 -14
- package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -2
- package/dist/esm/justifi-payment-provisioning.entry.js +21 -14
- package/dist/esm/justifi-payment-transactions-list.entry.js +20 -16
- package/dist/esm/justifi-payments-list-filters.entry.js +4 -3
- package/dist/esm/justifi-payments-list.entry.js +20 -16
- package/dist/esm/justifi-payout-details.entry.js +16 -13
- package/dist/esm/justifi-payout-transactions-list.entry.js +20 -16
- package/dist/esm/justifi-payouts-list-filters.entry.js +4 -3
- package/dist/esm/justifi-payouts-list.entry.js +21 -23
- package/dist/esm/justifi-refund-payment.entry.js +16 -14
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +7 -4
- package/dist/esm/justifi-season-interruption-insurance.entry.js +19 -19
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +11 -7
- package/dist/esm/justifi-terminal-orders-list.entry.js +21 -14
- package/dist/esm/justifi-terminals-list-filters.entry.js +10 -6
- package/dist/esm/justifi-terminals-list.entry.js +20 -16
- package/dist/esm/justifi-tokenize-payment-method.entry.js +20 -11
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-D2EbqwBe.js → package-DPiTQ9dr.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 +16 -12
- 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-CgwLo1_s.js} +8 -1
- package/dist/esm/payments-list-core.entry.js +16 -12
- 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-DYFCNfLa.js} +8 -1
- package/dist/esm/payouts-list-core.entry.js +16 -12
- 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/{schema-validations-BsbYeDDR.js → schema-validations-D9YNVLiI.js} +1 -1
- 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 +15 -11
- package/dist/esm/{terminal-orders-table-5gemV24y.js → terminal-orders-table-BopP465z.js} +7 -5
- package/dist/esm/terminal-quantity-selector.entry.js +1 -1
- package/dist/esm/{terminal.service-B0Rc9vED.js → terminal.service-f-whs_d4.js} +8 -1
- package/dist/esm/terminals-list-core.entry.js +15 -11
- 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/Api.js +23 -11
- package/dist/module/Checkout.js +22 -2
- package/dist/module/Payment.js +2 -1
- package/dist/module/Refund.js +2 -1
- package/dist/module/additional-statement.js +1 -1
- package/dist/module/bank-account-document-inputs.js +2 -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-additional-questions-form-step.js +1 -1
- package/dist/module/business-bank-account-form-step-core.js +3 -3
- package/dist/module/business-bank-account-form-step.js +3 -2
- package/dist/module/business-core-info-form-step-core.js +1 -1
- package/dist/module/business-core-info-form-step.js +1 -1
- package/dist/module/business-details-core2.js +1 -0
- package/dist/module/business-documents-on-file2.js +2 -1
- package/dist/module/business-owners-form-step-core.js +2 -1
- package/dist/module/business-owners-form-step.js +1 -1
- package/dist/module/business-representative-form-step-core.js +1 -1
- package/dist/module/business-representative-form-step.js +1 -1
- package/dist/module/business-terms-conditions-form-step.js +6 -7
- package/dist/module/business.service.js +19 -24
- 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 +11 -1
- package/dist/module/checkout-core.js +6 -7
- package/dist/module/checkout.service.js +9 -15
- package/dist/module/checkouts-list-core2.js +7 -5
- package/dist/module/config-state.js +1 -1
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +1 -1
- package/dist/module/dispute-management-core.js +1 -1
- package/dist/module/dispute-notification.js +3 -2
- package/dist/module/dispute-response-actions.js +10 -15
- package/dist/module/dispute-response-core.js +1 -1
- package/dist/module/dispute-response.js +6 -3
- 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 +3 -2
- package/dist/module/form-control-date2.js +3 -2
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +3 -2
- package/dist/module/form-control-monetary-provisioning2.js +1 -0
- package/dist/module/form-control-monetary2.js +4 -3
- package/dist/module/form-control-number-masked2.js +3 -2
- package/dist/module/form-control-number.js +3 -2
- package/dist/module/form-control-radio2.js +2 -2
- package/dist/module/form-control-select2.js +1 -0
- package/dist/module/form-control-text2.js +3 -2
- package/dist/module/form-control-textarea2.js +2 -2
- package/dist/module/get-business.js +1 -1
- package/dist/module/get-payment-details.js +3 -2
- package/dist/module/get-payout-csv.js +1 -1
- package/dist/module/get-subaccounts.js +5 -4
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/justifi-business-details.js +4 -2
- package/dist/module/justifi-business-form.js +64 -42
- package/dist/module/justifi-checkout.js +6 -6
- package/dist/module/justifi-checkouts-list-filters.js +5 -3
- package/dist/module/justifi-checkouts-list.js +11 -10
- package/dist/module/justifi-config-provider.js +3 -3
- package/dist/module/justifi-dispute-management.js +7 -9
- package/dist/module/justifi-gross-payment-chart.js +11 -4
- package/dist/module/justifi-order-terminals.js +10 -4
- package/dist/module/justifi-payment-details.js +3 -2
- package/dist/module/justifi-payment-provisioning.js +13 -8
- package/dist/module/justifi-payment-transactions-list.js +10 -6
- package/dist/module/justifi-payments-list-filters.js +4 -3
- package/dist/module/justifi-payments-list.js +8 -4
- package/dist/module/justifi-payout-details.js +6 -3
- package/dist/module/justifi-payout-transactions-list.js +10 -7
- package/dist/module/justifi-payouts-list-filters.js +4 -3
- package/dist/module/justifi-payouts-list.js +8 -10
- package/dist/module/justifi-refund-payment.js +6 -4
- package/dist/module/justifi-season-interruption-insurance.js +10 -14
- package/dist/module/justifi-terminal-orders-list-filters.js +6 -4
- package/dist/module/justifi-terminal-orders-list.js +11 -4
- package/dist/module/justifi-terminals-list-filters.js +5 -3
- package/dist/module/justifi-terminals-list.js +8 -4
- package/dist/module/justifi-tokenize-payment-method.js +10 -5
- package/dist/module/legal-address-form-step-core.js +1 -1
- package/dist/module/legal-address-form-step.js +1 -1
- package/dist/module/new-payment-method.js +2 -3
- package/dist/module/owner-details2.js +1 -1
- 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 +13 -8
- package/dist/module/payment-method-options.js +2 -3
- package/dist/module/payment-provisioning-actions.js +1 -1
- package/dist/module/payment-provisioning-core.js +3 -2
- package/dist/module/payment-provisioning-form-buttons.js +2 -1
- package/dist/module/payment-provisioning-loading.js +1 -0
- package/dist/module/payment.service.js +7 -1
- package/dist/module/payments-list-core2.js +6 -4
- package/dist/module/payout-details-core2.js +7 -2
- package/dist/module/payout.service.js +7 -1
- package/dist/module/payouts-list-core2.js +7 -5
- package/dist/module/product-or-service.js +1 -1
- package/dist/module/refund-policy.js +1 -1
- package/dist/module/representative-details2.js +1 -1
- package/dist/module/season-interruption-insurance-core.js +7 -3
- package/dist/module/sezzle-payment-method.js +1 -1
- 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 +6 -4
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/terminal.service.js +7 -1
- package/dist/module/terminals-list-core2.js +6 -4
- package/dist/module/utils2.js +1 -1
- package/dist/module/utils4.js +1 -1
- 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/Api.d.ts +41 -35
- package/dist/types/api/Payment.d.ts +2 -0
- package/dist/types/api/Payout.d.ts +2 -0
- package/dist/types/api/index.d.ts +5 -1
- package/dist/types/api/services/business.service.d.ts +1 -5
- package/dist/types/api/services/checkout.service.d.ts +2 -2
- package/dist/types/api/services/dispute.service.d.ts +1 -2
- package/dist/types/api/services/payout.service.d.ts +1 -2
- package/dist/types/api/services/provision.service.d.ts +1 -1
- package/dist/types/api/services/reports.service.d.ts +1 -2
- package/dist/types/api/services/subaccounts.service.d.ts +1 -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/order-terminals/order-terminals.d.ts +1 -0
- package/dist/types/components/terminal-orders-list/terminal-orders-list.d.ts +1 -0
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +1 -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-0ab2f675.entry.js +1 -0
- package/dist/webcomponents/p-0b57ecc3.entry.js +1 -0
- package/dist/webcomponents/p-0deb6a38.entry.js +1 -0
- package/dist/webcomponents/p-16adfe77.entry.js +1 -0
- package/dist/webcomponents/p-19b9c96a.entry.js +1 -0
- package/dist/webcomponents/p-1a85f26f.entry.js +1 -0
- package/dist/webcomponents/p-1b22572d.entry.js +1 -0
- package/dist/webcomponents/p-22a0b397.entry.js +1 -0
- package/dist/webcomponents/p-22e9ff07.entry.js +1 -0
- package/dist/webcomponents/p-24792e8e.entry.js +1 -0
- package/dist/webcomponents/p-25ea4450.entry.js +1 -0
- package/dist/webcomponents/p-2adda453.entry.js +1 -0
- package/dist/webcomponents/p-2b8ac00a.entry.js +1 -0
- package/dist/webcomponents/p-2dbc4b19.entry.js +1 -0
- package/dist/webcomponents/p-3368d3d5.entry.js +1 -0
- package/dist/webcomponents/{p-12674a89.entry.js → p-3a979295.entry.js} +1 -1
- package/dist/webcomponents/p-3abc8eab.entry.js +1 -0
- package/dist/webcomponents/{p-805269fd.entry.js → p-3babed12.entry.js} +1 -1
- package/dist/webcomponents/p-3e94cf62.entry.js +1 -0
- package/dist/webcomponents/p-40541e0c.entry.js +1 -0
- package/dist/webcomponents/p-4194214c.entry.js +1 -0
- package/dist/webcomponents/p-43d6bbed.entry.js +1 -0
- package/dist/webcomponents/p-44d8c2b1.entry.js +1 -0
- package/dist/webcomponents/p-4749e0d0.entry.js +1 -0
- package/dist/webcomponents/p-4ee0cd96.entry.js +1 -0
- package/dist/webcomponents/p-54281359.entry.js +1 -0
- package/dist/webcomponents/p-59abf1de.entry.js +1 -0
- package/dist/webcomponents/p-5e467788.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-78511d66.entry.js → p-7733b67b.entry.js} +1 -1
- package/dist/webcomponents/p-799000c1.entry.js +1 -0
- package/dist/webcomponents/p-7c62b59d.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-83154291.entry.js +1 -0
- package/dist/webcomponents/p-84d27581.entry.js +1 -0
- package/dist/webcomponents/{p-4f98895d.entry.js → p-90c24cda.entry.js} +1 -1
- package/dist/webcomponents/p-9105f700.entry.js +1 -0
- package/dist/webcomponents/p-916ea4fc.entry.js +1 -0
- package/dist/webcomponents/p-935bbc62.entry.js +1 -0
- package/dist/webcomponents/p-935fa555.entry.js +1 -0
- package/dist/webcomponents/p-947239a6.entry.js +1 -0
- package/dist/webcomponents/p-99b080d9.entry.js +1 -0
- package/dist/webcomponents/p-B0cQ2RjH.js +1 -0
- package/dist/webcomponents/p-B190pN0v.js +1 -0
- package/dist/webcomponents/{p-7MWRbTXI.js → p-BH0Xfn-F.js} +1 -1
- package/dist/webcomponents/p-BM5lviat.js +1 -0
- package/dist/webcomponents/{p-bplwtwD3.js → p-BTS3E50C.js} +1 -1
- package/dist/webcomponents/p-BWJ7zamv.js +1 -0
- package/dist/webcomponents/p-BiPRf6d2.js +1 -0
- package/dist/webcomponents/p-BmWpHZ-Z.js +1 -0
- package/dist/webcomponents/p-BrLVc_85.js +1 -0
- package/dist/webcomponents/{p-DyIEclkx.js → p-ByRPlUBS.js} +1 -1
- package/dist/webcomponents/p-BzPi8Ea_.js +1 -0
- package/dist/webcomponents/p-C0IqfGFc.js +1 -0
- package/dist/webcomponents/p-C0UUR9CN.js +1 -0
- package/dist/webcomponents/{p-D9q8WsW5.js → p-C0WFYqwq.js} +1 -1
- package/dist/webcomponents/{p-CegkOiUz.js → p-CCGhF18e.js} +1 -1
- package/dist/webcomponents/p-CQdeVKF8.js +1 -0
- package/dist/webcomponents/p-CZfYo5-1.js +1 -0
- package/dist/webcomponents/p-CffckWWF.js +1 -0
- package/dist/webcomponents/{p-BQEAUdoy.js → p-CgxzrbM_.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-DNt_pMGt.js +1 -0
- package/dist/webcomponents/p-DPiTQ9dr.js +1 -0
- package/dist/webcomponents/p-DZfxGQ1I.js +1 -0
- package/dist/webcomponents/p-DgfzEZny.js +1 -0
- package/dist/webcomponents/p-DuBhW0xA.js +1 -0
- package/dist/webcomponents/p-DvHZ2jYI.js +1 -0
- package/dist/webcomponents/p-M61ygz6l.js +1 -0
- package/dist/webcomponents/{p-KLQjERL5.js → p-OSmuQKbK.js} +1 -1
- package/dist/webcomponents/p-U30-0DaA.js +1 -0
- package/dist/webcomponents/p-ZE1NEnP3.js +1 -0
- package/dist/webcomponents/p-a46730eb.entry.js +1 -0
- package/dist/webcomponents/p-a4dd3835.entry.js +1 -0
- package/dist/webcomponents/p-ad85bd0d.entry.js +1 -0
- package/dist/webcomponents/p-af2c38f7.entry.js +1 -0
- package/dist/webcomponents/{p-b182796a.entry.js → p-afa54e39.entry.js} +1 -1
- package/dist/webcomponents/{p-493c9bd9.entry.js → p-b2192f8b.entry.js} +1 -1
- package/dist/webcomponents/p-bb50155f.entry.js +1 -0
- package/dist/webcomponents/p-bf3e8295.entry.js +1 -0
- package/dist/webcomponents/p-cNABKY0P.js +1 -0
- package/dist/webcomponents/p-cab175e9.entry.js +1 -0
- package/dist/webcomponents/p-ceefc483.entry.js +1 -0
- package/dist/webcomponents/{p-BdNmdBIx.js → p-d-_oUZor.js} +1 -1
- package/dist/webcomponents/p-d1331dbb.entry.js +1 -0
- package/dist/webcomponents/{p-5a1238a1.entry.js → p-d2dc6f22.entry.js} +3 -3
- package/dist/webcomponents/p-d9c70010.entry.js +1 -0
- package/dist/webcomponents/p-dd05cce1.entry.js +1 -0
- package/dist/webcomponents/p-e00aeb33.entry.js +1 -0
- package/dist/webcomponents/p-e1c5ee0a.entry.js +1 -0
- package/dist/webcomponents/p-ea8dd3e7.entry.js +1 -0
- package/dist/webcomponents/p-f389c2aa.entry.js +1 -0
- package/dist/webcomponents/p-f8b205f7.entry.js +1 -0
- package/dist/webcomponents/p-l3o3Ndc0.js +1 -0
- package/dist/webcomponents/p-n2YROtpe.js +1 -0
- package/dist/webcomponents/p-o_73WSki.js +1 -0
- package/dist/webcomponents/p-vb3fTJEZ.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/Api-KMweahmp.js +0 -74
- package/dist/cjs/Document-rXGBUaOh.js +0 -58
- package/dist/cjs/checkout.service-DP9FnXBx.js +0 -40
- package/dist/collection/api/ApiNew.js +0 -82
- package/dist/collection/ui-components/table/exported-parts.js +0 -5
- package/dist/esm/Api-C9CDE-UM.js +0 -72
- package/dist/esm/Document-Ct-uNz2r.js +0 -55
- 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/module/ApiNew.js +0 -84
- package/dist/module/ComponentError.js +0 -21
- package/dist/types/api/ApiNew.d.ts +0 -61
- 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-43140695.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-4fc851c0.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-5d8d1818.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-9d354918.entry.js +0 -1
- package/dist/webcomponents/p-AVaenhw9.js +0 -1
- package/dist/webcomponents/p-B4Bi1JkP.js +0 -1
- package/dist/webcomponents/p-BBsCnePk.js +0 -1
- package/dist/webcomponents/p-BHbsXXRt.js +0 -1
- package/dist/webcomponents/p-BMDJA9xX.js +0 -1
- package/dist/webcomponents/p-BS-e1gnL.js +0 -1
- package/dist/webcomponents/p-BXey6mVj.js +0 -1
- package/dist/webcomponents/p-Bl3qFMoN.js +0 -1
- package/dist/webcomponents/p-Bl79NorO.js +0 -1
- package/dist/webcomponents/p-Bxs6fi7a.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-Ct-uNz2r.js +0 -1
- package/dist/webcomponents/p-Cy4aIACq.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-DmIOVniD.js +0 -1
- package/dist/webcomponents/p-Dss1xCBW.js +0 -1
- package/dist/webcomponents/p-Dumd8fMw.js +0 -1
- package/dist/webcomponents/p-ERVEQjR2.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/webcomponents/p-oPo_KSwO.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,62 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
var DisputeManagementClickActions;
|
|
2
|
+
(function (DisputeManagementClickActions) {
|
|
3
|
+
DisputeManagementClickActions["nextStep"] = "nextStep";
|
|
4
|
+
DisputeManagementClickActions["previousStep"] = "previousStep";
|
|
5
|
+
DisputeManagementClickActions["cancelDispute"] = "cancelDispute";
|
|
6
|
+
DisputeManagementClickActions["respondToDispute"] = "respondToDispute";
|
|
7
|
+
DisputeManagementClickActions["submit"] = "submit";
|
|
8
|
+
})(DisputeManagementClickActions || (DisputeManagementClickActions = {}));
|
|
9
|
+
var DisputeResponseFormStep;
|
|
10
|
+
(function (DisputeResponseFormStep) {
|
|
11
|
+
DisputeResponseFormStep["disputeReason"] = "dispute_reason";
|
|
12
|
+
DisputeResponseFormStep["productOrService"] = "product_or_service";
|
|
13
|
+
DisputeResponseFormStep["customerDetails"] = "customer_details";
|
|
14
|
+
DisputeResponseFormStep["cancellationPolicy"] = "cancellation_policy";
|
|
15
|
+
DisputeResponseFormStep["refundPolicy"] = "refund_policy";
|
|
16
|
+
DisputeResponseFormStep["duplicateCharge"] = "duplicate_charge";
|
|
17
|
+
DisputeResponseFormStep["electronicEvidence"] = "electronic_evidence";
|
|
18
|
+
DisputeResponseFormStep["shippingDetails"] = "shipping_details";
|
|
19
|
+
DisputeResponseFormStep["additionalStatement"] = "additional_statement";
|
|
20
|
+
})(DisputeResponseFormStep || (DisputeResponseFormStep = {}));
|
|
4
21
|
|
|
5
|
-
|
|
6
|
-
const { columnSpan, isEmpty } = props;
|
|
7
|
-
if (!columnSpan || !isEmpty) {
|
|
8
|
-
return null;
|
|
9
|
-
}
|
|
10
|
-
return (h("tr", null,
|
|
11
|
-
h("td", { class: "empty-state", part: tableEmpty, colSpan: columnSpan, style: { textAlign: 'center' } }, "No results")));
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
const TableErrorState = (props) => {
|
|
15
|
-
const { columnSpan, errorMessage } = props;
|
|
16
|
-
if (!columnSpan || !errorMessage) {
|
|
17
|
-
return null;
|
|
18
|
-
}
|
|
19
|
-
return (h("tr", null,
|
|
20
|
-
h("td", { class: "error-state", part: tableError, colSpan: columnSpan, "data-test-id": "table-error-state", style: { textAlign: 'center' } },
|
|
21
|
-
"An unexpected error occurred: ",
|
|
22
|
-
errorMessage)));
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
const TableLoadingState = (props) => {
|
|
26
|
-
const { columnSpan, isLoading } = props;
|
|
27
|
-
if (!columnSpan || !isLoading) {
|
|
28
|
-
return null;
|
|
29
|
-
}
|
|
30
|
-
return (h("tr", null,
|
|
31
|
-
h("td", { class: "loading-state", part: tableCell, colSpan: columnSpan, style: { textAlign: 'center' } },
|
|
32
|
-
h(Spinner, null))));
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
class Table {
|
|
36
|
-
get columnData() {
|
|
37
|
-
return this.columnKeys.map((key) => this.tableColumns[key]());
|
|
38
|
-
}
|
|
39
|
-
get rowData() {
|
|
40
|
-
return this.collection.map((dataEntry, index) => {
|
|
41
|
-
return this.columnKeys.map((key) => this.tableCells[key](dataEntry, index));
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
set collectionData(collection) {
|
|
45
|
-
this.collection = collection;
|
|
46
|
-
}
|
|
47
|
-
constructor(collection, columns, tableColumns, tableCells) {
|
|
48
|
-
this.columnKeys = columns.split(',');
|
|
49
|
-
this.collection = collection;
|
|
50
|
-
this.tableColumns = tableColumns;
|
|
51
|
-
this.tableCells = tableCells;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
var TableClickActions;
|
|
56
|
-
(function (TableClickActions) {
|
|
57
|
-
TableClickActions["row"] = "tableRow";
|
|
58
|
-
TableClickActions["next"] = "nextPage";
|
|
59
|
-
TableClickActions["previous"] = "previousPage";
|
|
60
|
-
})(TableClickActions || (TableClickActions = {}));
|
|
61
|
-
|
|
62
|
-
export { TableClickActions as T, Table as a, TableLoadingState as b, TableEmptyState as c, TableErrorState as d };
|
|
22
|
+
export { DisputeManagementClickActions as D };
|
|
@@ -3,6 +3,7 @@ import { H as inputCheckboxInvalid, I as inputCheckboxCheckedFocused, J as input
|
|
|
3
3
|
import { F as FormControlHelpText } from './form-control-help-text3.js';
|
|
4
4
|
import { F as FormControlErrorText } from './form-control-error-text.js';
|
|
5
5
|
import './details.js';
|
|
6
|
+
import './event-types.js';
|
|
6
7
|
|
|
7
8
|
const CheckboxInput = /*@__PURE__*/ proxyCustomElement(class CheckboxInput extends HTMLElement {
|
|
8
9
|
constructor() {
|
|
@@ -38,10 +39,10 @@ const CheckboxInput = /*@__PURE__*/ proxyCustomElement(class CheckboxInput exten
|
|
|
38
39
|
return inputCheckbox;
|
|
39
40
|
}
|
|
40
41
|
render() {
|
|
41
|
-
return (h(Host, { key: '
|
|
42
|
+
return (h(Host, { key: 'ec1a11fd6b5d97b4a6136b91b750c0fde7f9e7fd' }, h("div", { key: 'b56aa5fb171204bcebffa8aa22e8b5cc7ae8daf1', class: 'form-group d-flex flex-column' }, h("div", { key: 'da21623174fbc8fca6f063771f234f755945a838', class: "form-check" }, h("input", { key: 'f78acb43994063f81d823907378b9aa71a752f66', ref: el => (this.checkboxElement = el), type: "checkbox", id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
42
43
|
this.isFocused = false;
|
|
43
44
|
this.formControlBlur.emit();
|
|
44
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), h("label", { key: '
|
|
45
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), h("label", { key: '7ae4a71d065ef48cc261a4850b6baac79640836c', class: "form-check-label", htmlFor: this.name, part: label }, this.label)), h(FormControlHelpText, { key: 'cb50d3eebf345d1db44cf377da8b3c1f709b733c', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: '20990b29fe22a5126a304788feb2c0498fb4925b', errorText: this.errorText, name: this.name }))));
|
|
45
46
|
}
|
|
46
47
|
}, [0, "form-control-checkbox", {
|
|
47
48
|
"label": [1],
|
|
@@ -2,6 +2,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/
|
|
|
2
2
|
import { i as input, l as label, b as inputInvalid, c as inputDisabled, d as inputFocused } from './parts.js';
|
|
3
3
|
import { F as FormControlErrorText } from './form-control-error-text.js';
|
|
4
4
|
import './details.js';
|
|
5
|
+
import './event-types.js';
|
|
5
6
|
import { d as defineCustomElement$2 } from './custom-popper2.js';
|
|
6
7
|
import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
|
|
7
8
|
|
|
@@ -50,10 +51,10 @@ const DateInput = /*@__PURE__*/ proxyCustomElement(class DateInput extends HTMLE
|
|
|
50
51
|
return part;
|
|
51
52
|
}
|
|
52
53
|
render() {
|
|
53
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: '5360f4917c4af8d4e40522a25e838703d8374480' }, h("div", { key: '56a3a99c81ebbf00d1ff5befa1a96363660806ae', class: "form-group d-flex flex-column" }, h("div", { key: '5556531a79f39fecd1cc4027568bc3642f68ed68', class: "d-flex gap-2" }, h("label", { key: 'b722b7e91adaf94c57698cf5743d43d8cbb04957', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '109aabf5047eebe8254ed49379b297af05f68ac2', helpText: this.helpText })), h("input", { key: 'eb9862be33313981dccda15889d315893344ff41', type: this.showTime ? 'datetime-local' : 'date', ref: el => (this.dateInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
54
55
|
this.isFocused = false;
|
|
55
56
|
this.formControlBlur.emit();
|
|
56
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h(FormControlErrorText, { key: '
|
|
57
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h(FormControlErrorText, { key: '01217373b82eee84fae370f504cfee157c6f83ec', errorText: this.errorText, name: this.name }))));
|
|
57
58
|
}
|
|
58
59
|
static get watchers() { return {
|
|
59
60
|
"defaultValue": ["handleDefaultValueChange"]
|
|
@@ -11,7 +11,7 @@ const FileInput = /*@__PURE__*/ proxyCustomElement(class FileInput extends HTMLE
|
|
|
11
11
|
this.formControlBlur = createEvent(this, "formControlBlur", 7);
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: 'a047767dfcdd22535de0f797e05ba1124f5476c1', exportparts: "label,input,input-invalid" }, h("div", { key: '2b2eba9c135edc67135ee1fac2ddae29714a8139', class: "form-group d-flex flex-column" }, h("div", { key: 'c7825bbeef90e85d43d9690da84f14c802520d68', class: "d-flex align-items-start gap-2" }, h("label", { key: '3b9a273ee2d27edc17d6798fd5bb161650368c88', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'efb7ad8c5040a615d1c0ed8923c75e477294d6a4', helpText: this.helpText })), h("input", { key: '212de1de46ec3392e12535f137232328dbdf4681', type: "file", name: this.name, part: `input ${this.errorText ? "input-invalid " : ""}${this.disabled ? "input-disabled" : ""}`, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onBlur: () => this.formControlBlur.emit(), onChange: () => this.errorText = "" }), h(FormControlErrorText, { key: '573f0ddd4238786336d0a78c59b434bc83d8bb02', errorText: this.errorText, name: this.name }))));
|
|
15
15
|
}
|
|
16
16
|
get el() { return this; }
|
|
17
17
|
}, [0, "form-control-file-v2", {
|
|
@@ -2,6 +2,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/
|
|
|
2
2
|
import { i as input, l as label, b as inputInvalid, c as inputDisabled, d as inputFocused } from './parts.js';
|
|
3
3
|
import { F as FormControlErrorText } from './form-control-error-text.js';
|
|
4
4
|
import './details.js';
|
|
5
|
+
import './event-types.js';
|
|
5
6
|
import { d as defineCustomElement$2 } from './custom-popper2.js';
|
|
6
7
|
import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
|
|
7
8
|
|
|
@@ -46,10 +47,10 @@ const FileInput = /*@__PURE__*/ proxyCustomElement(class FileInput extends HTMLE
|
|
|
46
47
|
return part;
|
|
47
48
|
}
|
|
48
49
|
render() {
|
|
49
|
-
return (h(Host, { key: '
|
|
50
|
+
return (h(Host, { key: 'c34cbf8874c33d945d81a93646372ac9dc687362' }, h("div", { key: 'cacf5f210a0adb6f408ac05efe4279d9eb1ae3b8', class: "form-group d-flex flex-column" }, h("div", { key: '936cb5268fa2c63f9931895f7a0b46ed5b4776ec', class: "d-flex align-items-start gap-2" }, h("label", { key: '6dc1dd3be36337cc3c4bb72a4e4d42c6e7c2a239', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '4c4a2c965882e7e96d36b16e6448fa4efd003950', helpText: this.helpText })), h("input", { key: '469cf033fae879306ecbfdcdb9e6d74fdb4b4265', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
50
51
|
this.isFocused = false;
|
|
51
52
|
this.formControlBlur.emit();
|
|
52
|
-
} }), h(FormControlErrorText, { key: '
|
|
53
|
+
} }), h(FormControlErrorText, { key: '7359b6f39ac038230ce1d2d60454a4d4e69c6bb9', errorText: this.errorText, name: this.name }))));
|
|
53
54
|
}
|
|
54
55
|
get el() { return this; }
|
|
55
56
|
}, [0, "form-control-file", {
|
|
@@ -5,6 +5,7 @@ import { N as inputGroup, l as label, M as inputAdornment, b as inputInvalid, c
|
|
|
5
5
|
import { F as FormControlHelpText } from './form-control-help-text3.js';
|
|
6
6
|
import { F as FormControlErrorText } from './form-control-error-text.js';
|
|
7
7
|
import './details.js';
|
|
8
|
+
import './event-types.js';
|
|
8
9
|
|
|
9
10
|
const MonetaryInputProvisioning = /*@__PURE__*/ proxyCustomElement(class MonetaryInputProvisioning extends HTMLElement {
|
|
10
11
|
constructor() {
|
|
@@ -3,7 +3,8 @@ import { b as inputInvalid, c as inputDisabled, d as inputFocused, i as input, l
|
|
|
3
3
|
import { F as FormControlHelpText } from './form-control-help-text3.js';
|
|
4
4
|
import { F as FormControlErrorText } from './form-control-error-text.js';
|
|
5
5
|
import './details.js';
|
|
6
|
-
import
|
|
6
|
+
import './event-types.js';
|
|
7
|
+
import { c as formatCurrency } from './utils2.js';
|
|
7
8
|
|
|
8
9
|
const MonetaryInput = /*@__PURE__*/ proxyCustomElement(class MonetaryInput extends HTMLElement {
|
|
9
10
|
constructor() {
|
|
@@ -49,10 +50,10 @@ const MonetaryInput = /*@__PURE__*/ proxyCustomElement(class MonetaryInput exten
|
|
|
49
50
|
return input;
|
|
50
51
|
}
|
|
51
52
|
render() {
|
|
52
|
-
return (h(Host, { key: '
|
|
53
|
+
return (h(Host, { key: '49b912649df6d869e20a79017363c738a17e00c1' }, h("div", { key: '2c30b89dd46fafe1cd04d186c90ee8389585e1b8', class: "form-group d-flex flex-column" }, h("label", { key: 'e526de8712e2ea3c91ce897d89c5246bbf4391a1', part: label, class: "form-label", htmlFor: this.name }, this.label), h(FormControlHelpText, { key: 'c9e7a522371ac171186d45da231943c6cbc202fa', name: this.name, helpText: this.helpText }), h("div", { key: '4e9dc549b30327528fa099ea9b451659def605f7', class: "input-group" }, h("span", { key: '5f4d6854d6cc15b7d0dbbdcf08c9dd25fec5c8d0', class: "input-group-text", part: inputAdornment }, "$"), h("input", { key: 'c04d0dce879da4d53bf6dc4925bac7729408a09f', ref: el => this.formControl = el, id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
53
54
|
this.isFocused = false;
|
|
54
55
|
this.formControlBlur.emit();
|
|
55
|
-
}, onInput: (event) => this.updateInput(event.target.value), onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.inputPart, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled })), h(FormControlErrorText, { key: '
|
|
56
|
+
}, onInput: (event) => this.updateInput(event.target.value), onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.inputPart, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled })), h(FormControlErrorText, { key: '4ff864c4ffc66727ac14ef6e6cb7b25c32dd6867', errorText: this.errorText, name: this.name }))));
|
|
56
57
|
}
|
|
57
58
|
static get watchers() { return {
|
|
58
59
|
"defaultValue": ["handleDefaultValueChange"]
|
|
@@ -3,6 +3,7 @@ import { I as IMask } from './index3.js';
|
|
|
3
3
|
import { b as inputInvalid, c as inputDisabled, d as inputFocused, i as input, l as label } from './parts.js';
|
|
4
4
|
import { F as FormControlErrorText } from './form-control-error-text.js';
|
|
5
5
|
import './details.js';
|
|
6
|
+
import './event-types.js';
|
|
6
7
|
import { d as defineCustomElement$2 } from './custom-popper2.js';
|
|
7
8
|
import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
|
|
8
9
|
|
|
@@ -67,10 +68,10 @@ const NumberInputMasked = /*@__PURE__*/ proxyCustomElement(class NumberInputMask
|
|
|
67
68
|
return input;
|
|
68
69
|
}
|
|
69
70
|
render() {
|
|
70
|
-
return (h(Host, { key: '
|
|
71
|
+
return (h(Host, { key: '328a9d2bf17d2ec2a8a9fa5acf6bbe76af38a38a' }, h("div", { key: '24d1757d7d554ac65e7c2413490425ca3d06aefc', class: "form-group d-flex flex-column" }, h("div", { key: '4548a8ee8d7538f2c3b7ddb0d76ec8c7342cc88a', class: "d-flex align-items-start gap-2" }, h("label", { key: 'c58ccd5ecb756e084a30d9686603e54487bf34ab', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '50d1aeed268375b7b2a9845065ccdc4e1dc5a495', helpText: this.helpText })), h("input", { key: 'ed473e972cc773b9a914dde41d9bff2d8880c604', ref: el => (this.textInput = el), id: this.name, name: this.name, onFocus: () => (this.isFocused = true), onBlur: () => {
|
|
71
72
|
this.isFocused = false;
|
|
72
73
|
this.formControlBlur.emit();
|
|
73
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "text", disabled: this.disabled }), h(FormControlErrorText, { key: '
|
|
74
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "text", disabled: this.disabled }), h(FormControlErrorText, { key: '6e02db8068b1df62e757de4dd7df5673ad375180', errorText: this.errorText, name: this.name }))));
|
|
74
75
|
}
|
|
75
76
|
static get watchers() { return {
|
|
76
77
|
"defaultValue": ["handleDefaultValueChange"]
|
|
@@ -3,6 +3,7 @@ import { T as inputInvalidAndFocused, d as inputFocused, b as inputInvalid, i as
|
|
|
3
3
|
import { F as FormControlHelpText } from './form-control-help-text3.js';
|
|
4
4
|
import { F as FormControlErrorText } from './form-control-error-text.js';
|
|
5
5
|
import './details.js';
|
|
6
|
+
import './event-types.js';
|
|
6
7
|
|
|
7
8
|
const NumberInput = /*@__PURE__*/ proxyCustomElement(class NumberInput extends HTMLElement {
|
|
8
9
|
constructor() {
|
|
@@ -43,10 +44,10 @@ const NumberInput = /*@__PURE__*/ proxyCustomElement(class NumberInput extends H
|
|
|
43
44
|
return input;
|
|
44
45
|
}
|
|
45
46
|
render() {
|
|
46
|
-
return (h(Host, { key: '
|
|
47
|
+
return (h(Host, { key: '575b10375e81774d2ce099cb9f79960fe530ea71' }, h("div", { key: '6f23da58c5fbf994dbf814022ab99668c0c71f77', class: 'form-group d-flex flex-column' }, h("label", { key: '4b19d3067770ce1523e88a7f701a0e193098eb5f', part: label, class: "form-label", htmlFor: this.name }, this.label), h("input", { key: 'e6331df9a0484fa12e05d63b3b45af3a9d8b0993', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
47
48
|
this.isFocused = false;
|
|
48
49
|
this.formControlBlur.emit();
|
|
49
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "number", disabled: this.disabled }), h(FormControlHelpText, { key: '
|
|
50
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "number", disabled: this.disabled }), h(FormControlHelpText, { key: '55ef88b41cea29d14df3412a9743685114cfda13', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: 'efad443056dba5b77f86da12854b2a3668c101cd', errorText: this.errorText, name: this.name }))));
|
|
50
51
|
}
|
|
51
52
|
get el() { return this; }
|
|
52
53
|
static get watchers() { return {
|
|
@@ -32,10 +32,10 @@ const RadioInput = /*@__PURE__*/ proxyCustomElement(class RadioInput extends HTM
|
|
|
32
32
|
return inputRadio;
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
|
-
return (h(Host, { key: '
|
|
35
|
+
return (h(Host, { key: 'c509c9fa1e33816ade27c55f3053cd964f1f1144', class: 'form-group d-flex flex-column' }, h("div", { key: '7067e770576550bc9627cc57dfff24a7f6f6951c', class: "form-check" }, h("input", { key: '9a6d01184eb3be812728dc92ad40d14c1f3e465d', ref: el => (this.radioElement = el), type: "radio", id: `${this.name}-${this.value}`, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
36
36
|
this.isFocused = false;
|
|
37
37
|
this.formControlBlur.emit();
|
|
38
|
-
}, onChange: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, value: this.value, checked: this.checked }), h("label", { key: '
|
|
38
|
+
}, onChange: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, value: this.value, checked: this.checked }), h("label", { key: '7f54b31c722389a5397e907cc1a400f5da181d21', class: "form-check-label", htmlFor: `${this.name}-${this.value}`, part: label }, this.label)), h("form-control-help-text", { key: '1424f36dfba3af3573fa844d86192428afde1082', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '4e3d2d14f8f328c8c6278cf474bfc5858c3954f1', errorText: this.errorText, name: this.name })));
|
|
39
39
|
}
|
|
40
40
|
}, [0, "form-control-radio", {
|
|
41
41
|
"label": [1],
|
|
@@ -2,6 +2,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/
|
|
|
2
2
|
import { i as input, l as label, b as inputInvalid, c as inputDisabled, d as inputFocused } from './parts.js';
|
|
3
3
|
import { F as FormControlErrorText } from './form-control-error-text.js';
|
|
4
4
|
import './details.js';
|
|
5
|
+
import './event-types.js';
|
|
5
6
|
import { d as defineCustomElement$2 } from './custom-popper2.js';
|
|
6
7
|
import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
|
|
7
8
|
|
|
@@ -2,6 +2,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/
|
|
|
2
2
|
import { b as inputInvalid, c as inputDisabled, d as inputFocused, i as input, l as label } from './parts.js';
|
|
3
3
|
import { F as FormControlErrorText } from './form-control-error-text.js';
|
|
4
4
|
import './details.js';
|
|
5
|
+
import './event-types.js';
|
|
5
6
|
import { d as defineCustomElement$2 } from './custom-popper2.js';
|
|
6
7
|
import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
|
|
7
8
|
|
|
@@ -44,10 +45,10 @@ const TextInput = /*@__PURE__*/ proxyCustomElement(class TextInput extends HTMLE
|
|
|
44
45
|
return input;
|
|
45
46
|
}
|
|
46
47
|
render() {
|
|
47
|
-
return (h(Host, { key: '
|
|
48
|
+
return (h(Host, { key: '9ceda4ac9f8bd1ab572652b1818672948ad7d66f' }, h("div", { key: 'da631a05be3b84ca86a91a360eb7f6a3a3468b78', class: "form-group d-flex flex-column" }, h("div", { key: 'd5c5b7fe29e611806c63e43aa99c9831d4e8ba35', class: "d-flex align-items-start gap-2" }, h("label", { key: '327ca9d8520ba4814104667da7cd8275489431ee', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '32678aefb28b06734c80e1f37b5c4b546ad0770b', helpText: this.helpText })), h("input", { key: '85152fdebfa1081e84e2c8adf760e4f7f6a94ea0', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
48
49
|
this.isFocused = false;
|
|
49
50
|
this.formControlBlur.emit();
|
|
50
|
-
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled }), h(FormControlErrorText, { key: '
|
|
51
|
+
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled }), h(FormControlErrorText, { key: 'd0d8bd801df53a377010b89167d30ded49bc2cdc', errorText: this.errorText, name: this.name }))));
|
|
51
52
|
}
|
|
52
53
|
get el() { return this; }
|
|
53
54
|
static get watchers() { return {
|
|
@@ -44,10 +44,10 @@ const TextInput = /*@__PURE__*/ proxyCustomElement(class TextInput extends HTMLE
|
|
|
44
44
|
return input;
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
|
-
return (h(Host, { key: '
|
|
47
|
+
return (h(Host, { key: 'b1f6375f194cbbda1b2a7d6b421a1491cafc05cb' }, h("div", { key: 'c372f254b00a9a50505cc9473ad138cebcf5495b', class: "form-group d-flex flex-column" }, h("label", { key: 'bea34d76380a9892fd30e3ae1e8cd4e11c3edcae', part: label, class: "form-label", htmlFor: this.name }, this.label), h("textarea", { key: '06f7fd1ac978e0f82adbd1cad272fa5c627bd88d', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
48
48
|
this.isFocused = false;
|
|
49
49
|
this.formControlBlur.emit();
|
|
50
|
-
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled }), h("form-control-help-text", { key: '
|
|
50
|
+
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled }), h("form-control-help-text", { key: '2375f0026db86411561e3381e8ca487859cc432c', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: 'def27e9c4e4add94e0ecc5a5c3579c754a17fbad', errorText: this.errorText, name: this.name }))));
|
|
51
51
|
}
|
|
52
52
|
get el() { return this; }
|
|
53
53
|
static get watchers() { return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as Business } from './Business.js';
|
|
2
|
-
import { C as ComponentErrorSeverity } from './
|
|
2
|
+
import { C as ComponentErrorSeverity } from './Checkout.js';
|
|
3
3
|
import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
|
|
4
4
|
|
|
5
5
|
const makeGetBusiness = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import './config-state.js';
|
|
1
2
|
import './utils2.js';
|
|
2
|
-
import { C as ComponentErrorSeverity } from './
|
|
3
|
-
import './Checkout.js';
|
|
3
|
+
import { C as ComponentErrorSeverity } from './Checkout.js';
|
|
4
4
|
import './Pagination.js';
|
|
5
5
|
import { b as Payment } from './Payment.js';
|
|
6
6
|
import './Refund.js';
|
|
7
7
|
import './Document.js';
|
|
8
|
+
import './Business.js';
|
|
8
9
|
import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
|
|
9
10
|
|
|
10
11
|
const makeGetPaymentDetails = ({ id, authToken, service }) => async ({ onSuccess, onError, final }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ComponentErrorSeverity } from './
|
|
1
|
+
import { C as ComponentErrorSeverity } from './Checkout.js';
|
|
2
2
|
import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
|
|
3
3
|
|
|
4
4
|
const makeGetPayoutCSV = ({ authToken, service }) => async ({ payoutId, onError }) => {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { A as Api } from './
|
|
2
|
-
import './
|
|
3
|
-
import { C as ComponentErrorSeverity } from './ComponentError.js';
|
|
4
|
-
import './Checkout.js';
|
|
1
|
+
import { A as Api } from './Api.js';
|
|
2
|
+
import { C as ComponentErrorSeverity } from './Checkout.js';
|
|
5
3
|
import './Pagination.js';
|
|
6
4
|
import './Payment.js';
|
|
7
5
|
import { S as SubAccount } from './Refund.js';
|
|
8
6
|
import './Document.js';
|
|
7
|
+
import './Business.js';
|
|
8
|
+
import './config-state.js';
|
|
9
|
+
import './utils2.js';
|
|
9
10
|
import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
|
|
10
11
|
|
|
11
12
|
const api = Api();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { c as formatCurrency, m as formatDisplayDate } from './utils2.js';
|
|
3
3
|
import { E as ErrorState } from './utils.js';
|
|
4
4
|
import { S as Spinner } from './spinner.js';
|
|
5
5
|
|
|
@@ -76,7 +76,7 @@ const HiddenInput = /*@__PURE__*/ proxyCustomElement(class HiddenInput extends H
|
|
|
76
76
|
return input;
|
|
77
77
|
}
|
|
78
78
|
render() {
|
|
79
|
-
return (h(Host, { key: '
|
|
79
|
+
return (h(Host, { key: '32b302de9983db3ced26f1780bf116e63091b9ad' }, h("input", { key: 'c8fbe6dc11c8b743d307557aab107852403441ae', ref: el => this.hiddenInput = el, type: "text", class: this.errorText ? "form-control is-invalid" : "form-control", onFocus: () => this.isFocused = true, onBlur: () => this.isFocused = false, part: this.part, tabindex: "-1", style: { height: '0', opacity: '0', pointerEvents: 'none', animation: 'none' } })));
|
|
80
80
|
}
|
|
81
81
|
}, [0, "hidden-input", {
|
|
82
82
|
"isFocused": [32],
|
|
@@ -1617,10 +1617,10 @@ const IframeInput = /*@__PURE__*/ proxyCustomElement(class IframeInput extends H
|
|
|
1617
1617
|
return params;
|
|
1618
1618
|
}
|
|
1619
1619
|
render() {
|
|
1620
|
-
return (h(Host, { key: '
|
|
1620
|
+
return (h(Host, { key: '7482645d98277dfb65e78a2003e020216fcb52c3', class: "form-group d-flex flex-column" }, h("div", { key: '746fca9a555309152d5cf3943d31d3b3b2c9bfde', style: {
|
|
1621
1621
|
visibility: this.iframeLoaded ? 'visible' : 'hidden',
|
|
1622
1622
|
height: this.iframeLoaded ? 'auto' : '0',
|
|
1623
|
-
} }, h("label", { key: '
|
|
1623
|
+
} }, h("label", { key: '55b203e278ec100baf7949a91eb6a43135c82402', class: "form-label", htmlFor: "", part: label }, this.label || ''), h("div", { key: 'c3dd73db2accf012c5a8f3a5c8e32863fe87fd73', class: `p-0 d-flex form-control ${this.isValid ? '' : 'is-invalid'}`, part: this.part, style: Object.assign(Object.assign({}, this.style), { overflow: 'hidden' }) }, h("iframe", { key: '5eb7c35da6ca7910ccf74a24d77ee47d6b4479f9', id: this.inputId, name: this.inputId, src: `${this.iframeOrigin}?${this.urlParams}`, ref: el => {
|
|
1624
1624
|
this.iframeElement = el;
|
|
1625
1625
|
this.initializeFrameCommunicationService();
|
|
1626
1626
|
}, width: "100%", onLoad: () => {
|
|
@@ -1630,7 +1630,7 @@ const IframeInput = /*@__PURE__*/ proxyCustomElement(class IframeInput extends H
|
|
|
1630
1630
|
this.iframeLoaded.emit();
|
|
1631
1631
|
}
|
|
1632
1632
|
}, this.iframeElement);
|
|
1633
|
-
} })), h(FormControlErrorText, { key: '
|
|
1633
|
+
} })), h(FormControlErrorText, { key: '291b487d0b798b6658d83b9c9f775ba4f02e09de', errorText: this.errorText, name: this.inputId }))));
|
|
1634
1634
|
}
|
|
1635
1635
|
get el() { return this; }
|
|
1636
1636
|
}, [0, "iframe-input", {
|
|
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/
|
|
|
2
2
|
import { E as ErrorState } from './utils.js';
|
|
3
3
|
import { B as BusinessService } from './business.service.js';
|
|
4
4
|
import { m as makeGetBusiness } from './get-business.js';
|
|
5
|
-
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './
|
|
5
|
+
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
|
|
6
6
|
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
|
|
7
7
|
import { d as defineCustomElement$7 } from './additional-questions-details2.js';
|
|
8
8
|
import { d as defineCustomElement$6 } from './business-details-core2.js';
|
|
@@ -24,8 +24,10 @@ const BusinessDetails = /*@__PURE__*/ proxyCustomElement(class BusinessDetails e
|
|
|
24
24
|
this.initializeGetBusiness();
|
|
25
25
|
}
|
|
26
26
|
disconnectedCallback() {
|
|
27
|
-
|
|
27
|
+
var _a;
|
|
28
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
28
29
|
}
|
|
30
|
+
;
|
|
29
31
|
initializeGetBusiness() {
|
|
30
32
|
if (!this.businessId || !this.authToken) {
|
|
31
33
|
this.errorMessage = 'Invalid business id or auth token';
|
|
@@ -4,9 +4,9 @@ import { b as businessCoreInfoSchema } from './business-core-info-schema.js';
|
|
|
4
4
|
import { a as additionalQuestionsSchema } from './business-additional-questions-schema.js';
|
|
5
5
|
import { i as identitySchema } from './business-identity-schema.js';
|
|
6
6
|
import { a as addressSchema } from './business-address-schema.js';
|
|
7
|
-
import
|
|
8
|
-
import './
|
|
9
|
-
import './Checkout.js';
|
|
7
|
+
import './config-state.js';
|
|
8
|
+
import './utils2.js';
|
|
9
|
+
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
|
|
10
10
|
import './Pagination.js';
|
|
11
11
|
import './Payment.js';
|
|
12
12
|
import './Refund.js';
|
|
@@ -17,8 +17,11 @@ import { B as Button } from './button.js';
|
|
|
17
17
|
import { S as StyledHost } from './styled-host.js';
|
|
18
18
|
import { H as Header1 } from './header-1.js';
|
|
19
19
|
import './details.js';
|
|
20
|
+
import './event-types.js';
|
|
20
21
|
import { S as Skeleton } from './skeleton.js';
|
|
21
|
-
import { a as BusinessFormClickActions } from './event-
|
|
22
|
+
import { a as BusinessFormClickActions } from './event-types2.js';
|
|
23
|
+
import { m as makeGetBusiness, a as makePatchBusiness } from './payment-provisioning-actions.js';
|
|
24
|
+
import { B as BusinessService } from './business.service.js';
|
|
22
25
|
import { d as defineCustomElement$e } from './custom-popper2.js';
|
|
23
26
|
import { d as defineCustomElement$d } from './form-alert2.js';
|
|
24
27
|
import { d as defineCustomElement$c } from './form-control-date2.js';
|
|
@@ -62,43 +65,34 @@ const BusinessForm = /*@__PURE__*/ proxyCustomElement(class BusinessForm extends
|
|
|
62
65
|
this.__attachShadow();
|
|
63
66
|
this.submitEvent = createEvent(this, "submit-event", 7);
|
|
64
67
|
this.clickEvent = createEvent(this, "click-event", 7);
|
|
68
|
+
this.errorEvent = createEvent(this, "error-event", 7);
|
|
69
|
+
this.isLoading = false;
|
|
70
|
+
this.isSaving = false;
|
|
65
71
|
this.hideErrors = false;
|
|
66
72
|
this.formTitle = 'Business Information';
|
|
67
73
|
this.removeTitle = false;
|
|
68
|
-
this.isLoading = false;
|
|
69
|
-
this.isSaving = false;
|
|
70
74
|
this.instantiateBusiness = (data) => {
|
|
71
75
|
const business = new Business(data);
|
|
72
76
|
this.formController.setInitialValues(Object.assign({}, business));
|
|
73
77
|
};
|
|
74
78
|
this.sendData = async () => {
|
|
75
79
|
this.isSaving = true;
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
try {
|
|
93
|
-
const response = await this.api.get(this.businessEndpoint);
|
|
94
|
-
this.instantiateBusiness(response.data);
|
|
95
|
-
}
|
|
96
|
-
catch (error) {
|
|
97
|
-
this.errorMessage = BusinessFormServerErrors.fetchData;
|
|
98
|
-
}
|
|
99
|
-
finally {
|
|
100
|
-
this.isLoading = false;
|
|
101
|
-
}
|
|
80
|
+
const values = this.formController.values.getValue();
|
|
81
|
+
const initialValues = this.formController.getInitialValues();
|
|
82
|
+
const payload = new Business(Object.assign(Object.assign({}, initialValues), values)).payload;
|
|
83
|
+
this.patchBusiness({
|
|
84
|
+
payload,
|
|
85
|
+
onSuccess: (response) => {
|
|
86
|
+
this.handleReponse(response);
|
|
87
|
+
},
|
|
88
|
+
onError: ({ error, code, severity }) => {
|
|
89
|
+
this.errorMessage = error.message;
|
|
90
|
+
this.errorEvent.emit({ errorCode: code, message: error.message, severity });
|
|
91
|
+
},
|
|
92
|
+
final: () => {
|
|
93
|
+
this.isSaving = false;
|
|
94
|
+
}
|
|
95
|
+
});
|
|
102
96
|
};
|
|
103
97
|
this.validateAndSubmit = (event) => {
|
|
104
98
|
event.preventDefault();
|
|
@@ -108,19 +102,14 @@ const BusinessForm = /*@__PURE__*/ proxyCustomElement(class BusinessForm extends
|
|
|
108
102
|
componentWillLoad() {
|
|
109
103
|
checkPkgVersion();
|
|
110
104
|
this.analytics = new JustifiAnalytics(this);
|
|
111
|
-
const missingAuthTokenMessage = 'Warning: Missing auth-token. The form will not be functional without it.';
|
|
112
|
-
const missingBusinessIdMessage = 'Warning: Missing business-id. The form requires an existing business-id to function.';
|
|
113
|
-
if (!this.authToken)
|
|
114
|
-
console.error(missingAuthTokenMessage);
|
|
115
|
-
if (!this.businessId)
|
|
116
|
-
console.error(missingBusinessIdMessage);
|
|
117
105
|
this.formController = new FormController(businessFormSchema);
|
|
118
|
-
this.
|
|
119
|
-
this.fetchData();
|
|
106
|
+
this.initializeApi();
|
|
120
107
|
}
|
|
121
108
|
disconnectedCallback() {
|
|
122
|
-
|
|
109
|
+
var _a;
|
|
110
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
123
111
|
}
|
|
112
|
+
;
|
|
124
113
|
get title() {
|
|
125
114
|
return this.removeTitle ? '' : this.formTitle;
|
|
126
115
|
}
|
|
@@ -130,11 +119,44 @@ const BusinessForm = /*@__PURE__*/ proxyCustomElement(class BusinessForm extends
|
|
|
130
119
|
get businessEndpoint() {
|
|
131
120
|
return `entities/business/${this.businessId}`;
|
|
132
121
|
}
|
|
122
|
+
initializeApi() {
|
|
123
|
+
if (this.authToken && this.businessId) {
|
|
124
|
+
this.getBusiness = makeGetBusiness({
|
|
125
|
+
authToken: this.authToken,
|
|
126
|
+
businessId: this.businessId,
|
|
127
|
+
service: new BusinessService()
|
|
128
|
+
});
|
|
129
|
+
this.patchBusiness = makePatchBusiness({
|
|
130
|
+
authToken: this.authToken,
|
|
131
|
+
businessId: this.businessId,
|
|
132
|
+
service: new BusinessService()
|
|
133
|
+
});
|
|
134
|
+
this.getBusiness({
|
|
135
|
+
onSuccess: (response) => {
|
|
136
|
+
this.instantiateBusiness(response.data);
|
|
137
|
+
},
|
|
138
|
+
onError: ({ error, code, severity }) => {
|
|
139
|
+
this.errorMessage = error.message;
|
|
140
|
+
this.errorEvent.emit({ errorCode: code, message: error.message, severity });
|
|
141
|
+
},
|
|
142
|
+
final: () => {
|
|
143
|
+
this.isLoading = false;
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
else {
|
|
148
|
+
this.errorEvent.emit({
|
|
149
|
+
message: 'auth-token and business-id are required',
|
|
150
|
+
errorCode: ComponentErrorCodes.MISSING_PROPS,
|
|
151
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
152
|
+
});
|
|
153
|
+
}
|
|
154
|
+
}
|
|
133
155
|
handleReponse(response) {
|
|
134
156
|
if (response.error) {
|
|
135
157
|
this.errorMessage = BusinessFormServerErrors.patchData;
|
|
136
158
|
}
|
|
137
|
-
this.submitEvent.emit({ response
|
|
159
|
+
this.submitEvent.emit({ response });
|
|
138
160
|
this.instantiateBusiness(response.data);
|
|
139
161
|
}
|
|
140
162
|
render() {
|