@justifi/webcomponents 6.12.1-rc.5 → 6.12.2
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/LICENSE +21 -0
- package/dist/cjs/{Analytics-D4AupIs5.js → Analytics-C1Wd9OW4.js} +3 -3
- package/dist/cjs/{Plaid-DAigb4JE.js → Plaid-BlSGeGpn.js} +0 -4
- package/dist/cjs/additional-questions-form-step_14.cjs.entry.js +12 -12
- package/dist/cjs/additional-questions_5.cjs.entry.js +6 -6
- package/dist/cjs/bank-account-billing-form-simple_4.cjs.entry.js +3 -3
- package/dist/cjs/bank-account-form.cjs.entry.js +4 -4
- package/dist/cjs/bank-account-read-only-value.cjs.entry.js +1 -1
- package/dist/cjs/{business.service-CdT38fur.js → business.service-BheJs82v.js} +1 -1
- package/dist/cjs/card-form.cjs.entry.js +4 -4
- package/dist/cjs/{check-pkg-version-Cl1JxnNX.js → check-pkg-version-DMXmPDqZ.js} +1 -1
- package/dist/cjs/{checkout.service-BXK8cZfN.js → checkout.service-DZKdHQQq.js} +1 -1
- package/dist/cjs/{checkout.store-zTfjieKa.js → checkout.store-CztwuCnG.js} +2 -0
- package/dist/cjs/checkouts-list-core.cjs.entry.js +2 -2
- package/dist/cjs/custom-popper_2.cjs.entry.js +2 -2
- package/dist/cjs/{dispute.service-CeBgrOjr.js → dispute.service-BbtwY673.js} +1 -1
- package/dist/cjs/form-address-fields_3.cjs.entry.js +4 -4
- package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/form-control-date.cjs.entry.js +2 -2
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
- package/dist/cjs/form-control-file.cjs.entry.js +2 -2
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +2 -2
- package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
- package/dist/cjs/form-control-number_3.cjs.entry.js +5 -5
- package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
- package/dist/cjs/form-control-select_2.cjs.entry.js +4 -4
- package/dist/cjs/{get-business-Cu7Avp2x.js → get-business-CKC1P4Qs.js} +2 -2
- package/dist/cjs/{get-payment-details-qWCANtqS.js → get-payment-details-DL5FmIyF.js} +2 -2
- package/dist/cjs/{get-subaccounts-D6z1oD7x.js → get-subaccounts-CVK4O7th.js} +2 -2
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +5 -5
- package/dist/cjs/internal-button.cjs.entry.js +1 -1
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +8 -8
- package/dist/cjs/justifi-apple-pay_11.cjs.entry.js +117 -53
- package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +5 -5
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +5 -5
- package/dist/cjs/justifi-billing-form-full.cjs.entry.js +1 -1
- package/dist/cjs/justifi-billing-form.cjs.entry.js +1 -1
- package/dist/cjs/justifi-business-details.cjs.entry.js +58 -22
- package/dist/cjs/justifi-business-form.cjs.entry.js +7 -7
- package/dist/cjs/justifi-card-billing-form-simple.cjs.entry.js +1 -1
- package/dist/cjs/justifi-card-form.cjs.entry.js +5 -5
- package/dist/cjs/justifi-checkout.cjs.entry.js +9 -12
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +3 -3
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +8 -8
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +7 -7
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +10 -10
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -5
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payment-details.cjs.entry.js +69 -30
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +10 -8
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +132 -18
- package/dist/cjs/justifi-payout-details.cjs.entry.js +74 -18
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +169 -21
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +7 -7
- package/dist/cjs/justifi-save-new-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +6 -6
- package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +7 -7
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +183 -20
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-BRuzzVG1.js → package-CRaVpb0w.js} +1 -1
- package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
- package/dist/cjs/{payment-provisioning-actions-COLn1qHN.js → payment-provisioning-actions-BO7dzIm1.js} +2 -2
- package/dist/cjs/payment-provisioning-form-buttons_2.cjs.entry.js +2 -2
- package/dist/cjs/{payment.service-CiOWHJtd.js → payment.service-sZKlg2Jq.js} +1 -1
- package/dist/cjs/{payout.service-U7tm4CKf.js → payout.service-BcQVsMCS.js} +1 -1
- package/dist/cjs/{payouts-status-DXZ5fl4v.js → payouts-status-CwgOMz-S.js} +21 -0
- package/dist/cjs/{plaid.service-DFL4b6_i.js → plaid.service-BcgO2VXC.js} +1 -1
- package/dist/cjs/radio-list-item.cjs.entry.js +1 -1
- package/dist/cjs/save-new-payment-method.cjs.entry.js +2 -2
- package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +3 -3
- package/dist/cjs/{terminal-orders-table-D28SoPYI.js → terminal-orders-table-Cz6qvzVE.js} +1 -1
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/{terminal.service-Cl7Vp33V.js → terminal.service-CjMMWSh3.js} +1 -1
- package/dist/cjs/{utils-CIjcxKu1.js → utils-DbTucCTO.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/Analytics.js +1 -1
- package/dist/collection/api/ApplePay.js +0 -4
- package/dist/collection/api/services/apple-pay.service.js +1 -6
- package/dist/collection/collection-manifest.json +0 -6
- package/dist/collection/components/business-details/justifi-business-details.js +56 -17
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +2 -2
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +2 -2
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +2 -2
- package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/justifi-payment-provisioning.js +3 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
- package/dist/collection/components/checkout/billing-form/bank-account-billing-form-simple.js +1 -1
- package/dist/collection/components/checkout/billing-form/card-billing-form-simple.js +1 -1
- package/dist/collection/components/checkout/billing-form/justifi-billing-form.js +1 -1
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/justifi-checkout.js +4 -8
- package/dist/collection/components/checkout/justifi-saved-payment-method.js +1 -1
- package/dist/collection/components/checkout/save-new-payment-method/justifi-save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout/save-new-payment-method/save-new-payment-method.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +2 -2
- package/dist/collection/components/checkouts-list/justifi-checkouts-list.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/justifi-additional-statement.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/justifi-cancellation-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/justifi-customer-details.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/justifi-dispute-response.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/justifi-duplicate-charge.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/justifi-electronic-evidence.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/justifi-product-or-service.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/justifi-refund-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/justifi-shipping-details.js +1 -1
- package/dist/collection/components/dispute-management/justifi-dispute-management.js +1 -1
- package/dist/collection/components/dispute-management/justifi-dispute-notification.js +2 -2
- package/dist/collection/components/filters/table-filters-menu.js +1 -1
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
- package/dist/collection/components/modular-checkout/justifi-modular-checkout.js +31 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-apple-pay.js +34 -15
- package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-form.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-billing-form-full.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-card-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-card-form.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-checkout-summary.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-google-pay.js +20 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-plaid-payment-method.js +27 -14
- package/dist/collection/components/modular-checkout/sub-components/justifi-saved-payment-methods.js +7 -5
- package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
- package/dist/collection/components/order-terminals/justifi-order-terminals.js +1 -1
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
- package/dist/collection/components/payment-details/justifi-payment-details.js +59 -17
- package/dist/collection/components/payment-transactions-list/justifi-payment-transactions-list.js +1 -1
- package/dist/collection/components/payments-list/justifi-payments-list-filters.js +2 -2
- package/dist/collection/components/payments-list/justifi-payments-list.js +114 -5
- package/dist/collection/components/payout-details/justifi-payout-details.js +86 -8
- package/dist/collection/components/payout-transactions-list/justifi-payout-transactions-list.js +1 -1
- package/dist/collection/components/payouts-list/justifi-payouts-list-filters.js +2 -2
- package/dist/collection/components/payouts-list/justifi-payouts-list.js +166 -7
- package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list-filters.js +3 -3
- package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
- package/dist/collection/components/terminals-list/justifi-terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/justifi-terminals-list.js +153 -7
- package/dist/collection/components/tokenize-payment-method/justifi-tokenize-payment-method.js +1 -1
- package/dist/collection/store/checkout.store.js +2 -0
- 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-select.js +2 -2
- package/dist/collection/ui-components/form/form-control-text.js +2 -2
- package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +3 -3
- package/dist/collection/ui-components/internal-button.js +1 -1
- package/dist/collection/ui-components/radio-list-item.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
- package/dist/docs.json +256 -995
- package/dist/esm/{Analytics-BCoK2BKE.js → Analytics-qafLCOEU.js} +4 -4
- package/dist/esm/{Api-BrYhtpEh.js → Api-DMd8hTI-.js} +1 -1
- package/dist/esm/{Plaid-BMnuSHeX.js → Plaid-BuKEVgbB.js} +2 -6
- package/dist/esm/additional-questions-details_5.entry.js +3 -3
- package/dist/esm/additional-questions-form-step_14.entry.js +18 -18
- package/dist/esm/additional-questions_5.entry.js +7 -7
- package/dist/esm/{badge-B_DdhQ3Q.js → badge-B6dp1XGV.js} +1 -1
- package/dist/esm/bank-account-billing-form-simple_4.entry.js +5 -5
- package/dist/esm/bank-account-form.entry.js +7 -7
- package/dist/esm/bank-account-read-only-value.entry.js +2 -2
- package/dist/esm/{business.service-D47BEQPH.js → business.service-BPbZ5fxQ.js} +2 -2
- package/dist/esm/{button-B-Agn8yQ.js → button-DRdaAudE.js} +1 -1
- package/dist/esm/card-form.entry.js +7 -7
- package/dist/esm/{check-pkg-version-C1z6CAOx.js → check-pkg-version-BJtCbzf9.js} +1 -1
- package/dist/esm/{checkout.service-BDZroRf0.js → checkout.service-CJMfFKyS.js} +2 -2
- package/dist/esm/{checkout.store-C1TdhFf6.js → checkout.store-DFnkcDZ8.js} +2 -0
- package/dist/esm/checkouts-list-core.entry.js +8 -8
- package/dist/esm/{checkouts-table-BXm9GGFI.js → checkouts-table-C8sPHeTm.js} +3 -3
- package/dist/esm/custom-popper_2.entry.js +3 -3
- package/dist/esm/{dispute.service-CuBGEFgB.js → dispute.service-vlYGy0nR.js} +2 -2
- package/dist/esm/form-address-fields_3.entry.js +6 -6
- package/dist/esm/form-control-checkbox.entry.js +5 -5
- package/dist/esm/form-control-date.entry.js +4 -4
- package/dist/esm/{form-control-error-text-DMKhr8QA.js → form-control-error-text-DVedKyhp.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +5 -5
- package/dist/esm/form-control-file.entry.js +4 -4
- package/dist/esm/{form-control-help-text-CsdCuw5-.js → form-control-help-text-D-349cNw.js} +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +5 -5
- package/dist/esm/form-control-monetary.entry.js +6 -6
- package/dist/esm/form-control-number_3.entry.js +9 -9
- package/dist/esm/form-control-radio.entry.js +3 -3
- package/dist/esm/form-control-select_2.entry.js +6 -6
- package/dist/esm/{get-business-BsjvgFCj.js → get-business-DpFRs5dE.js} +2 -2
- package/dist/esm/{get-payment-details-Br1249qD.js → get-payment-details-DjBou5Fu.js} +2 -2
- package/dist/esm/{get-subaccounts-zrWoI4Bh.js → get-subaccounts-CgDWE_5o.js} +3 -3
- package/dist/esm/gross-payment-chart-core.entry.js +5 -5
- package/dist/esm/{header-1-bRxxOyI-.js → header-1-Bl7MHW0w.js} +1 -1
- package/dist/esm/{header-3-E533c0A3.js → header-3-C7JJVnMG.js} +1 -1
- package/dist/esm/hidden-input_2.entry.js +7 -7
- package/dist/esm/{insurance-state-obAKb1XR.js → insurance-state-qTdpe84i.js} +1 -1
- package/dist/esm/internal-button.entry.js +3 -3
- package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
- package/dist/esm/justifi-apple-pay_11.entry.js +124 -60
- package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +7 -7
- package/dist/esm/justifi-bank-account-form.entry.js +7 -7
- package/dist/esm/justifi-billing-form-full.entry.js +1 -1
- package/dist/esm/justifi-billing-form.entry.js +1 -1
- package/dist/esm/justifi-business-details.entry.js +63 -27
- package/dist/esm/justifi-business-form.entry.js +13 -13
- package/dist/esm/justifi-card-billing-form-simple.entry.js +1 -1
- package/dist/esm/justifi-card-form.entry.js +7 -7
- package/dist/esm/justifi-checkout.entry.js +12 -15
- package/dist/esm/justifi-checkouts-list-filters.entry.js +5 -5
- package/dist/esm/justifi-checkouts-list.entry.js +13 -13
- 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 +9 -9
- package/dist/esm/justifi-dispute-notification_3.entry.js +15 -15
- package/dist/esm/justifi-gross-payment-chart.entry.js +9 -9
- package/dist/esm/justifi-order-terminals.entry.js +13 -13
- package/dist/esm/justifi-payment-details.entry.js +71 -32
- package/dist/esm/justifi-payment-provisioning.entry.js +16 -14
- package/dist/esm/justifi-payment-transactions-list.entry.js +12 -12
- package/dist/esm/justifi-payments-list-filters.entry.js +4 -4
- package/dist/esm/justifi-payments-list.entry.js +134 -20
- package/dist/esm/justifi-payout-details.entry.js +76 -20
- package/dist/esm/justifi-payout-transactions-list.entry.js +12 -12
- package/dist/esm/justifi-payouts-list-filters.entry.js +5 -5
- package/dist/esm/justifi-payouts-list.entry.js +170 -22
- package/dist/esm/justifi-refund-payment.entry.js +12 -12
- package/dist/esm/justifi-save-new-payment-method.entry.js +1 -1
- package/dist/esm/justifi-saved-payment-method.entry.js +2 -2
- package/dist/esm/justifi-season-interruption-insurance.entry.js +11 -11
- package/dist/esm/justifi-skeleton.entry.js +3 -3
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +6 -6
- package/dist/esm/justifi-terminal-orders-list.entry.js +11 -11
- package/dist/esm/justifi-terminals-list-filters.entry.js +4 -4
- package/dist/esm/justifi-terminals-list.entry.js +184 -21
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-DbJ8_F44.js → package-BCgsLInF.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-D50Rx76J.js → parts-DnrawQn3.js} +1 -1
- package/dist/esm/payment-method-option.entry.js +2 -2
- package/dist/esm/{payment-provisioning-actions-B6LHK2Ka.js → payment-provisioning-actions-Dr0YIShV.js} +2 -2
- package/dist/esm/payment-provisioning-form-buttons_2.entry.js +4 -4
- package/dist/esm/{payment-provisioning-loading-BAoIyEOj.js → payment-provisioning-loading-DI2wDkhm.js} +1 -1
- package/dist/esm/{payment.service-C6ebnLOw.js → payment.service-Ckbb7gXA.js} +2 -2
- package/dist/esm/{payments-status-7P7L51CK.js → payments-status-BIDoGw-m.js} +1 -1
- package/dist/esm/{payout.service-B6KqlDyg.js → payout.service-BgFKxEoL.js} +2 -2
- package/dist/esm/{payouts-status-CGZRMu-q.js → payouts-status-1T2NZBoE.js} +22 -2
- package/dist/esm/{plaid.service-BS8Zt6ui.js → plaid.service-BLguQHs_.js} +2 -2
- package/dist/esm/radio-list-item.entry.js +2 -2
- package/dist/esm/save-new-payment-method.entry.js +2 -2
- package/dist/esm/{skeleton-DV6yJalo.js → skeleton-CXGFVqDf.js} +1 -1
- package/dist/esm/{spinner--fEgBBOG.js → spinner-kSw6PcwU.js} +1 -1
- package/dist/esm/{table-Deugl8h5.js → table-CcyuIutB.js} +2 -2
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/terminal-orders-list-core.entry.js +8 -8
- package/dist/esm/{terminal-orders-table-BKbTybx0.js → terminal-orders-table-C7KOcRpq.js} +4 -4
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/{terminal.service-0AO0m5oh.js → terminal.service-0oISl5j-.js} +2 -2
- package/dist/esm/{utils-De6tr4ug.js → utils-BTtxWI2r.js} +1 -1
- package/dist/esm/{utils-DJOBwFeP.js → utils-BxYS3WDw.js} +1 -1
- package/dist/esm/{utils-DtiRLISl.js → utils-DcfpJGDZ.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Analytics.js +1 -1
- package/dist/module/ApplePay.js +0 -4
- package/dist/module/Plaid.js +2 -2
- package/dist/module/additional-questions2.js +1 -1
- package/dist/module/bank-account-billing-form-simple2.js +1 -1
- package/dist/module/bank-account-document-form-inputs2.js +1 -1
- package/dist/module/bank-account-form-inputs-canada2.js +1 -1
- package/dist/module/bank-account-form-inputs2.js +1 -1
- package/dist/module/bank-account-form2.js +2 -2
- package/dist/module/bank-account-read-only-value2.js +1 -1
- package/dist/module/business-bank-account-form-step2.js +1 -1
- package/dist/module/business-core-info2.js +2 -2
- package/dist/module/business-representative-form-inputs2.js +2 -2
- package/dist/module/business-representative2.js +2 -2
- package/dist/module/business-terms-conditions-form-step2.js +1 -1
- package/dist/module/card-billing-form-simple2.js +1 -1
- package/dist/module/card-form2.js +2 -2
- package/dist/module/checkout.store.js +2 -0
- package/dist/module/checkouts-list-core2.js +1 -1
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/dispute-management-core.js +1 -1
- package/dist/module/dispute-response-core.js +1 -1
- package/dist/module/form-address-fields2.js +1 -1
- package/dist/module/form-control-checkbox2.js +2 -2
- package/dist/module/form-control-date2.js +2 -2
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +2 -2
- package/dist/module/form-control-monetary-provisioning2.js +2 -2
- package/dist/module/form-control-monetary2.js +3 -3
- package/dist/module/form-control-number-masked2.js +2 -2
- package/dist/module/form-control-number2.js +2 -2
- package/dist/module/form-control-radio2.js +2 -2
- package/dist/module/form-control-select2.js +2 -2
- package/dist/module/form-control-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +2 -2
- package/dist/module/gross-payment-chart-core2.js +2 -2
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/identity-address-form2.js +1 -1
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/internal-button2.js +1 -1
- package/dist/module/justifi-additional-statement2.js +1 -1
- package/dist/module/justifi-apple-pay2.js +35 -21
- package/dist/module/justifi-bank-account-billing-form-simple.js +1 -1
- package/dist/module/justifi-bank-account-form.js +1 -1
- package/dist/module/justifi-billing-form-full.js +1 -1
- package/dist/module/justifi-billing-form.js +1 -1
- package/dist/module/justifi-business-details.js +64 -27
- package/dist/module/justifi-button2.js +1 -1
- package/dist/module/justifi-cancellation-policy2.js +1 -1
- package/dist/module/justifi-card-billing-form-simple.js +1 -1
- package/dist/module/justifi-card-form.js +1 -1
- package/dist/module/justifi-checkout-summary2.js +2 -2
- package/dist/module/justifi-checkout.js +4 -8
- package/dist/module/justifi-checkouts-list-filters.js +2 -2
- package/dist/module/justifi-checkouts-list.js +2 -2
- package/dist/module/justifi-customer-details2.js +1 -1
- package/dist/module/justifi-dispute-management.js +1 -1
- package/dist/module/justifi-dispute-notification2.js +3 -3
- package/dist/module/justifi-dispute-response2.js +1 -1
- package/dist/module/justifi-duplicate-charge2.js +1 -1
- package/dist/module/justifi-electronic-evidence2.js +1 -1
- package/dist/module/justifi-google-pay2.js +6 -1
- package/dist/module/justifi-header2.js +1 -1
- package/dist/module/justifi-modular-checkout2.js +31 -1
- package/dist/module/justifi-order-terminals.js +2 -2
- package/dist/module/justifi-payment-details.js +71 -29
- package/dist/module/justifi-payment-provisioning.js +4 -2
- package/dist/module/justifi-payment-transactions-list.js +2 -2
- package/dist/module/justifi-payments-list-filters.js +2 -2
- package/dist/module/justifi-payments-list.js +137 -18
- package/dist/module/justifi-payout-details.js +76 -21
- package/dist/module/justifi-payout-transactions-list.js +2 -2
- package/dist/module/justifi-payouts-list-filters.js +3 -3
- package/dist/module/justifi-payouts-list.js +174 -20
- package/dist/module/justifi-plaid-payment-method2.js +27 -14
- package/dist/module/justifi-product-or-service2.js +1 -1
- package/dist/module/justifi-refund-payment.js +1 -1
- package/dist/module/justifi-refund-policy2.js +1 -1
- package/dist/module/justifi-save-new-payment-method.js +1 -1
- package/dist/module/justifi-saved-payment-method.js +1 -1
- package/dist/module/justifi-saved-payment-methods2.js +7 -5
- package/dist/module/justifi-season-interruption-insurance.js +1 -1
- package/dist/module/justifi-sezzle-payment-method2.js +1 -1
- package/dist/module/justifi-shipping-details2.js +1 -1
- package/dist/module/justifi-skeleton.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +4 -4
- package/dist/module/justifi-terminal-orders-list.js +2 -2
- package/dist/module/justifi-terminals-list-filters.js +2 -2
- package/dist/module/justifi-terminals-list.js +190 -20
- package/dist/module/justifi-tokenize-payment-method2.js +1 -1
- package/dist/module/legal-address-form2.js +1 -1
- package/dist/module/owner-details2.js +1 -1
- package/dist/module/owner-form-core2.js +1 -1
- package/dist/module/owner-form-inputs2.js +2 -2
- package/dist/module/owner-form2.js +1 -1
- package/dist/module/package.js +1 -1
- package/dist/module/payment-method-option.js +1 -1
- package/dist/module/payment-provisioning-form-buttons2.js +1 -1
- package/dist/module/payment-provisioning-form-steps2.js +1 -1
- package/dist/module/payouts-status.js +21 -1
- package/dist/module/radio-list-item2.js +1 -1
- package/dist/module/representative-details2.js +1 -1
- package/dist/module/save-new-payment-method2.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +2 -2
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/utils2.js +1 -1
- package/dist/types/api/ApplePay.d.ts +0 -7
- package/dist/types/components/business-details/justifi-business-details.d.ts +7 -2
- package/dist/types/components/business-forms/payment-provisioning/justifi-payment-provisioning.d.ts +1 -1
- package/dist/types/components/checkout/justifi-checkout.d.ts +0 -1
- package/dist/types/components/modular-checkout/justifi-modular-checkout.d.ts +2 -0
- package/dist/types/components/modular-checkout/sub-components/justifi-apple-pay.d.ts +3 -0
- package/dist/types/components/modular-checkout/sub-components/justifi-google-pay.d.ts +1 -0
- package/dist/types/components/modular-checkout/sub-components/justifi-plaid-payment-method.d.ts +2 -2
- package/dist/types/components/payment-details/justifi-payment-details.d.ts +7 -4
- package/dist/types/components/payments-list/justifi-payments-list.d.ts +19 -2
- package/dist/types/components/payout-details/justifi-payout-details.d.ts +10 -2
- package/dist/types/components/payouts-list/justifi-payouts-list.d.ts +25 -2
- package/dist/types/components/terminals-list/justifi-terminals-list.d.ts +24 -2
- package/dist/types/components.d.ts +10 -216
- package/dist/types/store/checkout.store.d.ts +2 -0
- package/dist/webcomponents/{p-C2h_HoOZ.js → p--e0ff06z.js} +1 -1
- package/dist/webcomponents/p-032b4553.entry.js +1 -0
- package/dist/webcomponents/p-042daaf8.entry.js +1 -0
- package/dist/webcomponents/{p-272cc70e.entry.js → p-0638f0bd.entry.js} +1 -1
- package/dist/webcomponents/p-06ecd4cb.entry.js +1 -0
- package/dist/webcomponents/{p-8d215ad8.entry.js → p-09d2efad.entry.js} +1 -1
- package/dist/webcomponents/p-0b3f4f22.entry.js +1 -0
- package/dist/webcomponents/{p-c499a613.entry.js → p-10be75b8.entry.js} +1 -1
- package/dist/webcomponents/p-164f95ec.entry.js +1 -0
- package/dist/webcomponents/p-174eb877.entry.js +1 -0
- package/dist/webcomponents/p-1e0be7b0.entry.js +1 -0
- package/dist/webcomponents/{p-de4c796a.entry.js → p-1e877e0a.entry.js} +1 -1
- package/dist/webcomponents/{p-5d2bcf39.entry.js → p-2425a375.entry.js} +1 -1
- package/dist/webcomponents/p-24935254.entry.js +1 -0
- package/dist/webcomponents/{p-938e4dc8.entry.js → p-256c5509.entry.js} +1 -1
- package/dist/webcomponents/p-2LVpxCS_.js +1 -0
- package/dist/webcomponents/{p-89bf64ef.entry.js → p-354fb3c4.entry.js} +1 -1
- package/dist/webcomponents/p-39cc6928.entry.js +1 -0
- package/dist/webcomponents/{p-257597f1.entry.js → p-3c046adc.entry.js} +1 -1
- package/dist/webcomponents/p-4226eb4a.entry.js +1 -0
- package/dist/webcomponents/p-474ee3f8.entry.js +1 -0
- package/dist/webcomponents/p-485b77ba.entry.js +1 -0
- package/dist/webcomponents/p-52908814.entry.js +1 -0
- package/dist/webcomponents/{p-b7ac15d8.entry.js → p-581808f0.entry.js} +1 -1
- package/dist/webcomponents/p-587886f1.entry.js +1 -0
- package/dist/webcomponents/p-5ef355ce.entry.js +1 -0
- package/dist/webcomponents/p-6917aa3c.entry.js +1 -0
- package/dist/webcomponents/{p-d072a65f.entry.js → p-6d81822f.entry.js} +1 -1
- package/dist/webcomponents/{p-3e74bd93.entry.js → p-6ecb3ef9.entry.js} +1 -1
- package/dist/webcomponents/p-79713014.entry.js +1 -0
- package/dist/webcomponents/p-798f4708.entry.js +1 -0
- package/dist/webcomponents/p-7f0f72c6.entry.js +1 -0
- package/dist/webcomponents/p-7f814609.entry.js +1 -0
- package/dist/webcomponents/p-80652cf8.entry.js +1 -0
- package/dist/webcomponents/{p-b322d2f3.entry.js → p-8253ef9f.entry.js} +1 -1
- package/dist/webcomponents/p-82fe02e4.entry.js +1 -0
- package/dist/webcomponents/p-83147f23.entry.js +1 -0
- package/dist/webcomponents/p-870fac9e.entry.js +1 -0
- package/dist/webcomponents/p-8c2427ed.entry.js +1 -0
- package/dist/webcomponents/p-92de00d7.entry.js +1 -0
- package/dist/webcomponents/p-956eca2e.entry.js +1 -0
- package/dist/webcomponents/p-9581d6a1.entry.js +1 -0
- package/dist/webcomponents/{p-7791b55e.entry.js → p-9db1444f.entry.js} +1 -1
- package/dist/webcomponents/p-9f74d7ea.entry.js +1 -0
- package/dist/webcomponents/{p-DV_3k3u_.js → p-B--N37zY.js} +1 -1
- package/dist/webcomponents/p-B5vVjDc_.js +1 -0
- package/dist/webcomponents/p-BArmtmkq.js +1 -0
- package/dist/webcomponents/p-BCgsLInF.js +1 -0
- package/dist/webcomponents/{p-D4DAh8XF.js → p-BJ7GFTiW.js} +1 -1
- package/dist/webcomponents/{p-CTwm3w6I.js → p-BRnBHsdq.js} +1 -1
- package/dist/webcomponents/{p-C7SCfFA7.js → p-BnaR7f2G.js} +1 -1
- package/dist/webcomponents/p-BsQy297i.js +1 -0
- package/dist/webcomponents/p-CDf5H0TB.js +1 -0
- package/dist/webcomponents/{p-eNNtSIbE.js → p-CR_-qIuN.js} +1 -1
- package/dist/webcomponents/{p-CprMk6Bv.js → p-CUI41_5y.js} +1 -1
- package/dist/webcomponents/p-CX36GHQP.js +1 -0
- package/dist/webcomponents/{p-CEnTtUmd.js → p-CYQvLgSs.js} +1 -1
- package/dist/webcomponents/p-Cej-1bD6.js +1 -0
- package/dist/webcomponents/p-Cf6HoQKl.js +1 -0
- package/dist/webcomponents/{p-s8zhbjC5.js → p-CsdYMTrc.js} +1 -1
- package/dist/webcomponents/{p-CzdAS9Jo.js → p-D1D2eC05.js} +1 -1
- package/dist/webcomponents/p-D4OlsyTo.js +1 -0
- package/dist/webcomponents/{p-CbM9cuX_.js → p-DPmnGTmg.js} +1 -1
- package/dist/webcomponents/p-DWevPe7C.js +1 -0
- package/dist/webcomponents/{p-Bo0dEB2o.js → p-Dbg501Lu.js} +1 -1
- package/dist/webcomponents/p-DcBvJu0k.js +1 -0
- package/dist/webcomponents/p-DkdzUTnl.js +1 -0
- package/dist/webcomponents/{p-D50Rx76J.js → p-DnrawQn3.js} +1 -1
- package/dist/webcomponents/p-GJyHX3us.js +1 -0
- package/dist/webcomponents/p-MDZuGvsl.js +1 -0
- package/dist/webcomponents/p-XrKLre8M.js +1 -0
- package/dist/webcomponents/p-a7a1b168.entry.js +1 -0
- package/dist/webcomponents/{p-c683cb34.entry.js → p-a80d958d.entry.js} +1 -1
- package/dist/webcomponents/p-b06910b0.entry.js +1 -0
- package/dist/webcomponents/p-b2447726.entry.js +1 -0
- package/dist/webcomponents/{p-d34f497c.entry.js → p-b483e71b.entry.js} +1 -1
- package/dist/webcomponents/{p-431ad048.entry.js → p-bc2af6b4.entry.js} +1 -1
- package/dist/webcomponents/p-befe01ef.entry.js +1 -0
- package/dist/webcomponents/p-bfe2583d.entry.js +1 -0
- package/dist/webcomponents/{p-CwdQ1VdH.js → p-bn_huKYG.js} +1 -1
- package/dist/webcomponents/p-c4767c7b.entry.js +1 -0
- package/dist/webcomponents/p-c73631f0.entry.js +1 -0
- package/dist/webcomponents/p-c8f7ebf6.entry.js +1 -0
- package/dist/webcomponents/p-d253a573.entry.js +1 -0
- package/dist/webcomponents/p-d7633e10.entry.js +1 -0
- package/dist/webcomponents/p-d878df6c.entry.js +1 -0
- package/dist/webcomponents/p-da882bd1.entry.js +1 -0
- package/dist/webcomponents/{p-2595b409.entry.js → p-dd1cfb9e.entry.js} +1 -1
- package/dist/webcomponents/{p-bbcaa5cc.entry.js → p-ddf699e6.entry.js} +4 -4
- package/dist/webcomponents/p-de836ec9.entry.js +1 -0
- package/dist/webcomponents/{p-1c54dc53.entry.js → p-e6e56dbb.entry.js} +1 -1
- package/dist/webcomponents/p-ea30cf08.entry.js +1 -0
- package/dist/webcomponents/p-edf5a854.entry.js +1 -0
- package/dist/webcomponents/p-f24563ab.entry.js +1 -0
- package/dist/webcomponents/p-f4aeda71.entry.js +1 -0
- package/dist/webcomponents/p-faa090a5.entry.js +1 -0
- package/dist/webcomponents/p-fc7ba195.entry.js +1 -0
- package/dist/webcomponents/{p-MvySE12i.js → p-hhdRync5.js} +1 -1
- package/dist/webcomponents/p-niGr4RT2.js +1 -0
- package/dist/webcomponents/{p-Da4efjxw.js → p-pL4dNfsl.js} +1 -1
- package/dist/webcomponents/p-qcQTYcr3.js +1 -0
- package/dist/webcomponents/p-uCg79W3M.js +1 -0
- package/dist/webcomponents/{p-CjuaXEuI.js → p-x9fFFf7F.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +14 -14
- package/dist/cjs/business-details-core.cjs.entry.js +0 -61
- package/dist/cjs/get-payout-csv-DDrtCacG.js +0 -24
- package/dist/cjs/payment-details-core.cjs.entry.js +0 -83
- package/dist/cjs/payments-list-core.cjs.entry.js +0 -112
- package/dist/cjs/payments-table-CUxpxNnc.js +0 -50
- package/dist/cjs/payout-details-core.cjs.entry.js +0 -89
- package/dist/cjs/payouts-list-core.cjs.entry.js +0 -162
- package/dist/cjs/payouts-table-Dex2W8r1.js +0 -34
- package/dist/cjs/terminals-list-core.cjs.entry.js +0 -146
- package/dist/cjs/terminals-table-DmnAuog5.js +0 -64
- package/dist/collection/components/business-details/business-details-core.js +0 -105
- package/dist/collection/components/payment-details/payment-details-core.js +0 -127
- package/dist/collection/components/payments-list/payments-list-core.js +0 -202
- package/dist/collection/components/payout-details/payout-details-core.js +0 -199
- package/dist/collection/components/payouts-list/payouts-list-core.js +0 -298
- package/dist/collection/components/terminals-list/terminals-list-core.js +0 -262
- package/dist/esm/business-details-core.entry.js +0 -59
- package/dist/esm/get-payout-csv-Dhezo7Ty.js +0 -22
- package/dist/esm/payment-details-core.entry.js +0 -81
- package/dist/esm/payments-list-core.entry.js +0 -110
- package/dist/esm/payments-table-n1VrIKIR.js +0 -46
- package/dist/esm/payout-details-core.entry.js +0 -87
- package/dist/esm/payouts-list-core.entry.js +0 -160
- package/dist/esm/payouts-table-CbzI90ci.js +0 -30
- package/dist/esm/terminals-list-core.entry.js +0 -144
- package/dist/esm/terminals-table-Bja7MP5H.js +0 -60
- package/dist/module/business-details-core.d.ts +0 -11
- package/dist/module/business-details-core.js +0 -6
- package/dist/module/business-details-core2.js +0 -117
- package/dist/module/get-payout-csv.js +0 -22
- package/dist/module/payment-details-core.d.ts +0 -11
- package/dist/module/payment-details-core.js +0 -6
- package/dist/module/payment-details-core2.js +0 -109
- package/dist/module/payments-list-core.d.ts +0 -11
- package/dist/module/payments-list-core.js +0 -6
- package/dist/module/payments-list-core2.js +0 -184
- package/dist/module/payout-details-core.d.ts +0 -11
- package/dist/module/payout-details-core.js +0 -6
- package/dist/module/payout-details-core2.js +0 -118
- package/dist/module/payouts-list-core.d.ts +0 -11
- package/dist/module/payouts-list-core.js +0 -6
- package/dist/module/payouts-list-core2.js +0 -221
- package/dist/module/terminals-list-core.d.ts +0 -11
- package/dist/module/terminals-list-core.js +0 -6
- package/dist/module/terminals-list-core2.js +0 -236
- package/dist/types/components/business-details/business-details-core.d.ts +0 -19
- package/dist/types/components/payment-details/payment-details-core.d.ts +0 -16
- package/dist/types/components/payments-list/payments-list-core.d.ts +0 -28
- package/dist/types/components/payout-details/payout-details-core.d.ts +0 -20
- package/dist/types/components/payouts-list/payouts-list-core.d.ts +0 -36
- package/dist/types/components/terminals-list/terminals-list-core.d.ts +0 -34
- package/dist/webcomponents/p-0b95dd8f.entry.js +0 -1
- package/dist/webcomponents/p-0f961323.entry.js +0 -1
- package/dist/webcomponents/p-15dfb893.entry.js +0 -1
- package/dist/webcomponents/p-15f43759.entry.js +0 -1
- package/dist/webcomponents/p-1628613b.entry.js +0 -1
- package/dist/webcomponents/p-180a3b65.entry.js +0 -1
- package/dist/webcomponents/p-18fc10ca.entry.js +0 -1
- package/dist/webcomponents/p-1b610299.entry.js +0 -1
- package/dist/webcomponents/p-1b92fb9a.entry.js +0 -1
- package/dist/webcomponents/p-1srXnUJh.js +0 -1
- package/dist/webcomponents/p-22798967.entry.js +0 -1
- package/dist/webcomponents/p-26c419f3.entry.js +0 -1
- package/dist/webcomponents/p-2d680f77.entry.js +0 -1
- package/dist/webcomponents/p-30f61950.entry.js +0 -1
- package/dist/webcomponents/p-38281490.entry.js +0 -1
- package/dist/webcomponents/p-39bb134c.entry.js +0 -1
- package/dist/webcomponents/p-3a4e27f6.entry.js +0 -1
- package/dist/webcomponents/p-3c50f7aa.entry.js +0 -1
- package/dist/webcomponents/p-4db2e291.entry.js +0 -1
- package/dist/webcomponents/p-4df1d08d.entry.js +0 -1
- package/dist/webcomponents/p-548c411f.entry.js +0 -1
- package/dist/webcomponents/p-55e7e239.entry.js +0 -1
- package/dist/webcomponents/p-563097f0.entry.js +0 -1
- package/dist/webcomponents/p-605636be.entry.js +0 -1
- package/dist/webcomponents/p-6e5ec134.entry.js +0 -1
- package/dist/webcomponents/p-6efbbec1.entry.js +0 -1
- package/dist/webcomponents/p-71de86bf.entry.js +0 -1
- package/dist/webcomponents/p-7225bc77.entry.js +0 -1
- package/dist/webcomponents/p-7c244e99.entry.js +0 -1
- package/dist/webcomponents/p-84168bf0.entry.js +0 -1
- package/dist/webcomponents/p-84879c92.entry.js +0 -1
- package/dist/webcomponents/p-8d5138d8.entry.js +0 -1
- package/dist/webcomponents/p-8e9407a1.entry.js +0 -1
- package/dist/webcomponents/p-92e64f49.entry.js +0 -1
- package/dist/webcomponents/p-9805bc39.entry.js +0 -1
- package/dist/webcomponents/p-B--wlcf0.js +0 -1
- package/dist/webcomponents/p-BJtvT9BX.js +0 -1
- package/dist/webcomponents/p-BrO0HEFJ.js +0 -1
- package/dist/webcomponents/p-C-QiUcEa.js +0 -1
- package/dist/webcomponents/p-C6IaNDXe.js +0 -1
- package/dist/webcomponents/p-C95_YBmG.js +0 -1
- package/dist/webcomponents/p-CSW_ZzE9.js +0 -1
- package/dist/webcomponents/p-CV3lgp6D.js +0 -1
- package/dist/webcomponents/p-D5MdA21U.js +0 -1
- package/dist/webcomponents/p-D68EHdgA.js +0 -1
- package/dist/webcomponents/p-DB_pqjwH.js +0 -1
- package/dist/webcomponents/p-DU2RAZiD.js +0 -1
- package/dist/webcomponents/p-DbJ8_F44.js +0 -1
- package/dist/webcomponents/p-Df9FVwA7.js +0 -1
- package/dist/webcomponents/p-DgPbJiLD.js +0 -1
- package/dist/webcomponents/p-DmBX8khF.js +0 -1
- package/dist/webcomponents/p-DsYFjVQa.js +0 -1
- package/dist/webcomponents/p-EBsfAkrP.js +0 -1
- package/dist/webcomponents/p-N60pPiy5.js +0 -1
- package/dist/webcomponents/p-_fynNk40.js +0 -1
- package/dist/webcomponents/p-ad785edd.entry.js +0 -1
- package/dist/webcomponents/p-b1a947c8.entry.js +0 -1
- package/dist/webcomponents/p-b1c179d7.entry.js +0 -1
- package/dist/webcomponents/p-b822ab7e.entry.js +0 -1
- package/dist/webcomponents/p-bd3f7117.entry.js +0 -1
- package/dist/webcomponents/p-c29859d9.entry.js +0 -1
- package/dist/webcomponents/p-c30dd92c.entry.js +0 -1
- package/dist/webcomponents/p-c4c9f37b.entry.js +0 -1
- package/dist/webcomponents/p-cfd944e6.entry.js +0 -1
- package/dist/webcomponents/p-dc99d6b0.entry.js +0 -1
- package/dist/webcomponents/p-dd704b1a.entry.js +0 -1
- package/dist/webcomponents/p-e29f42c6.entry.js +0 -1
- package/dist/webcomponents/p-e322fcca.entry.js +0 -1
- package/dist/webcomponents/p-e360d88f.entry.js +0 -1
- package/dist/webcomponents/p-eadbb4dc.entry.js +0 -1
- package/dist/webcomponents/p-ef30afd5.entry.js +0 -1
- package/dist/webcomponents/p-eff6a50d.entry.js +0 -1
- package/dist/webcomponents/p-f266373d.entry.js +0 -1
- package/dist/webcomponents/p-fb04fa5a.entry.js +0 -1
- package/dist/webcomponents/p-feb19fa5.entry.js +0 -1
- package/dist/webcomponents/p-k4rghbOK.js +0 -1
- package/dist/webcomponents/p-xSaSp1Jy.js +0 -1
|
@@ -1,24 +1,48 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { PayoutService } from "../../api/services/payout.service";
|
|
3
3
|
import { makeGetPayoutDetails } from "../../actions/payout/get-payout-details";
|
|
4
|
-
import {
|
|
4
|
+
import { capitalizeFirstLetter, formatDate, formatTime } from "../../utils/utils";
|
|
5
|
+
import { CodeBlock, DetailItem, DetailSectionTitle, EntityHeadInfo, EntityHeadInfoItem, ErrorState } from "../../ui-components/details/utils";
|
|
5
6
|
import { ComponentErrorCodes, ComponentErrorSeverity } from "../../api/ComponentError";
|
|
6
7
|
import JustifiAnalytics from "../../api/Analytics";
|
|
7
8
|
import { makeGetPayoutCSV } from "./get-payout-csv";
|
|
8
9
|
import { checkPkgVersion } from "../../utils/check-pkg-version";
|
|
10
|
+
import { Button, StyledHost } from "../../ui-components";
|
|
11
|
+
import { MapPayoutStatusToBadge } from "../payouts-list/payouts-status";
|
|
12
|
+
import PayoutDetailsLoading from "./payout-details-loading";
|
|
13
|
+
import { Badge, BadgeVariant } from "../../ui-components/badge/badge";
|
|
9
14
|
export class JustifiPayoutDetails {
|
|
10
15
|
constructor() {
|
|
11
16
|
this.enableRecordClick = false;
|
|
17
|
+
this.loading = true;
|
|
12
18
|
this.errorMessage = null;
|
|
13
|
-
this.
|
|
14
|
-
this.
|
|
15
|
-
|
|
19
|
+
this.downloadCSV = () => {
|
|
20
|
+
this.getPayoutCSV({
|
|
21
|
+
payoutId: this.payout.id,
|
|
22
|
+
onError: ({ error, code, severity }) => {
|
|
23
|
+
this.errorMessage = error;
|
|
24
|
+
this.errorEvent.emit({
|
|
25
|
+
message: error,
|
|
26
|
+
errorCode: code,
|
|
27
|
+
severity,
|
|
28
|
+
});
|
|
29
|
+
},
|
|
30
|
+
});
|
|
31
|
+
};
|
|
32
|
+
this.handleRecordClick = (id) => {
|
|
33
|
+
this.recordClickEvent.emit({
|
|
34
|
+
id,
|
|
35
|
+
type: 'account'
|
|
36
|
+
});
|
|
16
37
|
};
|
|
17
38
|
}
|
|
18
39
|
componentWillLoad() {
|
|
19
40
|
checkPkgVersion();
|
|
20
41
|
this.analytics = new JustifiAnalytics(this);
|
|
21
42
|
this.initializeServices();
|
|
43
|
+
if (this.getPayout) {
|
|
44
|
+
this.fetchData();
|
|
45
|
+
}
|
|
22
46
|
}
|
|
23
47
|
disconnectedCallback() {
|
|
24
48
|
var _a;
|
|
@@ -28,6 +52,9 @@ export class JustifiPayoutDetails {
|
|
|
28
52
|
propChanged() {
|
|
29
53
|
this.initializeServices();
|
|
30
54
|
}
|
|
55
|
+
getPayoutWatcher() {
|
|
56
|
+
this.fetchData();
|
|
57
|
+
}
|
|
31
58
|
initializeServices() {
|
|
32
59
|
if (this.payoutId && this.authToken) {
|
|
33
60
|
this.getPayout = makeGetPayoutDetails({
|
|
@@ -49,11 +76,36 @@ export class JustifiPayoutDetails {
|
|
|
49
76
|
});
|
|
50
77
|
}
|
|
51
78
|
}
|
|
79
|
+
fetchData() {
|
|
80
|
+
this.loading = true;
|
|
81
|
+
this.getPayout({
|
|
82
|
+
onSuccess: (payout) => {
|
|
83
|
+
this.errorMessage = null;
|
|
84
|
+
this.payout = payout;
|
|
85
|
+
this.loading = false;
|
|
86
|
+
},
|
|
87
|
+
onError: ({ error, code, severity }) => {
|
|
88
|
+
this.errorMessage = error;
|
|
89
|
+
this.errorEvent.emit({
|
|
90
|
+
message: error,
|
|
91
|
+
errorCode: code,
|
|
92
|
+
severity,
|
|
93
|
+
});
|
|
94
|
+
this.loading = false;
|
|
95
|
+
},
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
formatMethod(deliveryMethod) {
|
|
99
|
+
if (deliveryMethod === "ach")
|
|
100
|
+
return "ACH";
|
|
101
|
+
return capitalizeFirstLetter(deliveryMethod);
|
|
102
|
+
}
|
|
52
103
|
render() {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
104
|
+
var _a;
|
|
105
|
+
return (h(StyledHost, { key: '83a5916c440ac2cc4efe216dd175c8816e23c815' }, this.loading && h(PayoutDetailsLoading, { key: 'd11ad391a3eaacc5dd6a9a0303d80f496955d369' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: 'a3be08ef5ad0882ec4a611aa597b0b69914cb560', errorMessage: this.errorMessage }, h(EntityHeadInfo, { key: '4cea018e82c69b391a5dfc326d0ebb2aac43bcee', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), this.payout.settlement_priority === 'expedited' ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : (h(Badge, { variant: BadgeVariant.SECONDARY, title: "Standard", text: "Standard" })))), title: this.payout.formattedPaymentAmount(this.payout.amount) }, h(EntityHeadInfoItem, { key: '4f44184dcdf1313048d9a2ee5c9be928c1a2b5ef', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: 'd6042bde890fcd4b8ff63856d53debf289ab6d2d', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: '2866ed7c297a0815bad29bfca699893ead3af6ca', title: "ID", value: this.payout.id }), h("div", { key: '1a7a105da3b0297f90c9a33fe76aa650c9c5aaa0', class: "m-4" }, h(Button, { key: '31d8cb414516d5b4244179e6e905cb0d6f4499fa', variant: "outline-secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: '1c1c4896b3f2a0c463880c082fdb43fdd6996de3', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '481c8f87d29ba4583a40370415fd6f144a601462', sectionTitle: "Details" }), h("div", { key: '2f0f38440296dc01dee0fefab2b7f6a1bd04e4bf', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: 'd8fe26cee63860bc4e02ffad0e64834ea888d8e3', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: 'd4a94c5ad5a78c41d314377316ce71db24b79db5', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: 'fea138338da1c74d26dacfeaa15642962346658c', title: "Payout Method", value: this.formatMethod(this.payout.delivery_method) }), h(DetailItem, { key: 'f77701ef18590ed73431614f421b9d76a9b83da6', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: 'af2401b0ad8b35f55283d74eae20fdf7ceea0b82', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: '96801f26f15e665e856262f65c0c6cea6f92bd9a', sectionTitle: "Account" }), h("div", { key: '54578f116a6b23c5c1dce11d450eb18be304ab65', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: 'fa8ab204001e4be0cf2aa71fa2f955532f1ac81c', title: "ID", value: this.payout.account_id, onClick: this.enableRecordClick ? () => this.handleRecordClick(this.payout.account_id) : undefined }), h(DetailItem, { key: 'a0e1afcd7e7d86afb500cf876b7b61e74183f4c9', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '6b78025d11ac562f6950f07d3dc8e5c4041a236f', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '93f4f6d947d1b621de0b1d2a24dbcf83e9c909ef', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: 'cbe9a97153516dd2cbf6af4337179652d0f834ac', title: "Account Number", value: `**** ${this.payout.bank_account.account_number_last4}` })), this.payout.metadata && [
|
|
106
|
+
h(DetailSectionTitle, { key: '706f2d164a736fb80a8c91018f61e7667eb12be6', sectionTitle: 'Metadata' }),
|
|
107
|
+
h("div", { key: '5be03b700c79d747899db7d9bee8a060c5de7894', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '8dc3aa6522c59f7a5739eda61354bb1ac58ee3ac', metadata: this.payout.metadata }))
|
|
108
|
+
])))));
|
|
57
109
|
}
|
|
58
110
|
static get is() { return "justifi-payout-details"; }
|
|
59
111
|
static get encapsulation() { return "shadow"; }
|
|
@@ -123,6 +175,8 @@ export class JustifiPayoutDetails {
|
|
|
123
175
|
return {
|
|
124
176
|
"getPayout": {},
|
|
125
177
|
"getPayoutCSV": {},
|
|
178
|
+
"payout": {},
|
|
179
|
+
"loading": {},
|
|
126
180
|
"errorMessage": {}
|
|
127
181
|
};
|
|
128
182
|
}
|
|
@@ -148,6 +202,27 @@ export class JustifiPayoutDetails {
|
|
|
148
202
|
}
|
|
149
203
|
}
|
|
150
204
|
}
|
|
205
|
+
}, {
|
|
206
|
+
"method": "recordClickEvent",
|
|
207
|
+
"name": "record-click-event",
|
|
208
|
+
"bubbles": true,
|
|
209
|
+
"cancelable": true,
|
|
210
|
+
"composed": true,
|
|
211
|
+
"docs": {
|
|
212
|
+
"tags": [],
|
|
213
|
+
"text": ""
|
|
214
|
+
},
|
|
215
|
+
"complexType": {
|
|
216
|
+
"original": "RecordClickEvent",
|
|
217
|
+
"resolved": "RecordClickEvent",
|
|
218
|
+
"references": {
|
|
219
|
+
"RecordClickEvent": {
|
|
220
|
+
"location": "import",
|
|
221
|
+
"path": "../../api/ComponentEvents",
|
|
222
|
+
"id": "src/api/ComponentEvents.ts::RecordClickEvent"
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
}
|
|
151
226
|
}];
|
|
152
227
|
}
|
|
153
228
|
static get watchers() {
|
|
@@ -157,6 +232,9 @@ export class JustifiPayoutDetails {
|
|
|
157
232
|
}, {
|
|
158
233
|
"propName": "authToken",
|
|
159
234
|
"methodName": "propChanged"
|
|
235
|
+
}, {
|
|
236
|
+
"propName": "getPayout",
|
|
237
|
+
"methodName": "getPayoutWatcher"
|
|
160
238
|
}];
|
|
161
239
|
}
|
|
162
240
|
}
|
package/dist/collection/components/payout-transactions-list/justifi-payout-transactions-list.js
CHANGED
|
@@ -95,7 +95,7 @@ export class JustifiPayoutTransactionsList {
|
|
|
95
95
|
return Object.assign({ payout_id: this.payoutId, limit: '15' }, this.pagingParams);
|
|
96
96
|
}
|
|
97
97
|
render() {
|
|
98
|
-
return (h(StyledHost, { key: '
|
|
98
|
+
return (h(StyledHost, { key: '6bcc0b4af31b1b1481caa3a2ea58f21e961b4777' }, h(TableWrapper, { key: '506239f8d1f08007c93d09b35973e773447b95f0' }, h(TableComponent, { key: 'ab46955207d861620abb1fe328ba8eb47bf6912e' }, h(TableHead, { key: 'b7c20c0d180e208a8a8d585751180be5f979c4a8' }, h(TableHeadRow, { key: '6f47150a981f137cb3633437744b36e6c9b1f3f0' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: 'eb7912643fe3a3d9f66a2becbb130ba8a1a33127' }, h(TableLoadingState, { key: 'c2f95846f4c90535695ebce26c82b90b3ae022fe', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '93c2764401380a7dad07907c9f264d991f0b8e9d', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '2ab2bcc9f9d2768a17a6e511d0ecf7a24a2ca4b1', columnSpan: this.transactionsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.transactionsTable.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: 'd5c76e1db68cebd0acac42f607a7602db3ab967a' }, h(TableFootRow, { key: '28d6eed555117e50a852c899085b634ba1ff1ccb' }, h(TableFootCell, { key: 'b4eceba9f0a705ee8824aeb313b1505752b9a53e', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: 'ba042ec0410830443db71fbeb8d90162ce761996', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
99
99
|
}
|
|
100
100
|
static get is() { return "justifi-payout-transactions-list"; }
|
|
101
101
|
static get encapsulation() { return "shadow"; }
|
|
@@ -39,8 +39,8 @@ export class JustifiPayoutsListFilters {
|
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
41
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
42
|
-
return (h(StyledHost, { key: '
|
|
43
|
-
convertToLocal(filterParams.created_after, { showInputDate: true }), disabled: !!this.createdAfter, part: filterParam })), h("div", { key: '
|
|
42
|
+
return (h(StyledHost, { key: 'cae6be7a9441ff6024548135f66a73694c53b10b' }, h("table-filters-menu", { key: 'a419bb5344248f9a857a9b21800c482a983e68e8', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: 'ee4aa221a245a63e181d9f1e31a0b120cbe4ff2c', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '32ba66ccea590b297d27ec734c6e6b3da1d7ae0f', class: "p-2" }, h("form-control-select", { key: 'ff480f5fc8d38d0240d952b1cd689d4f5776e35d', name: "status", label: "Status", options: this.statusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.status || filterParams.status || '', disabled: !!this.status, part: filterParam })), h("div", { key: '3b3de6360d735ac8399d2e16538a00aa5736a6c1', class: "p-2" }, h("form-control-date", { key: 'f3f9fe5154fdf1d98becdcd4c8ed5a0099c8aa76', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDate: true }) ||
|
|
43
|
+
convertToLocal(filterParams.created_after, { showInputDate: true }), disabled: !!this.createdAfter, part: filterParam })), h("div", { key: '0e95676650aba436b67f9e0537a5f3467015c9e5', class: "p-2" }, h("form-control-date", { key: '6aafa1c4d7cc1921559de295e3213307cc34ed54', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDate: true }) ||
|
|
44
44
|
convertToLocal(filterParams.created_before, { showInputDate: true }), disabled: !!this.createdBefore, part: filterParam }))))));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "justifi-payouts-list-filters"; }
|
|
@@ -6,22 +6,69 @@ import { PayoutService } from "../../api/services/payout.service";
|
|
|
6
6
|
import { makeGetPayouts } from "../../actions/payout/get-payouts";
|
|
7
7
|
import { makeGetPayoutCSV } from "../payout-details/get-payout-csv";
|
|
8
8
|
import { SubAccountService } from "../../api/services/subaccounts.service";
|
|
9
|
-
import { StyledHost } from "../../ui-components";
|
|
10
|
-
import { defaultColumnsKeys } from "./payouts-table";
|
|
9
|
+
import { StyledHost, TableEmptyState, TableErrorState, TableLoadingState } from "../../ui-components";
|
|
10
|
+
import { defaultColumnsKeys, payoutTableCells, payoutTableColumns } from "./payouts-table";
|
|
11
11
|
import { makeGetSubAccounts } from "../../actions/sub-account/get-subaccounts";
|
|
12
|
+
import { pagingDefaults } from "../../api";
|
|
13
|
+
import { Table } from "../../utils/table";
|
|
14
|
+
import { getRequestParams, onQueryParamsChange } from "./payouts-list-params-state";
|
|
15
|
+
import { TableWrapper, TableComponent, TableHead, TableHeadRow, TableBody, TableRow, TableFoot, TableFootRow, TableFootCell, TableClickActions } from "../../ui-components";
|
|
12
16
|
export class JustifiPayoutsList {
|
|
13
17
|
constructor() {
|
|
14
18
|
this.errorMessage = null;
|
|
19
|
+
this.payouts = [];
|
|
20
|
+
this.subAccounts = [];
|
|
21
|
+
this.loading = true;
|
|
22
|
+
this.paging = pagingDefaults;
|
|
23
|
+
this.pagingParams = {};
|
|
15
24
|
this.columns = defaultColumnsKeys;
|
|
16
|
-
this.
|
|
17
|
-
this.
|
|
18
|
-
|
|
25
|
+
this.downloadCSV = (payoutId) => {
|
|
26
|
+
this.getPayoutCSV({
|
|
27
|
+
payoutId,
|
|
28
|
+
onError: () => {
|
|
29
|
+
this.errorEvent.emit({
|
|
30
|
+
errorCode: ComponentErrorCodes.FETCH_ERROR,
|
|
31
|
+
message: 'Failed to download CSV',
|
|
32
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
33
|
+
});
|
|
34
|
+
},
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
this.handleClickPrevious = (beforeCursor) => {
|
|
38
|
+
this.pagingParams = { before_cursor: beforeCursor };
|
|
39
|
+
this.clickEvent.emit({ name: TableClickActions.previous });
|
|
40
|
+
};
|
|
41
|
+
this.handleClickNext = (afterCursor) => {
|
|
42
|
+
this.pagingParams = { after_cursor: afterCursor };
|
|
43
|
+
this.clickEvent.emit({ name: TableClickActions.next });
|
|
44
|
+
};
|
|
45
|
+
this.rowClickHandler = (e) => {
|
|
46
|
+
const clickedRow = e.target.closest('tr');
|
|
47
|
+
const clickedPayoutID = clickedRow.dataset.rowEntityId;
|
|
48
|
+
if (!clickedPayoutID)
|
|
49
|
+
return;
|
|
50
|
+
const clickedCSV = clickedRow.querySelector('a');
|
|
51
|
+
if (clickedCSV === e.target)
|
|
52
|
+
return;
|
|
53
|
+
const payoutData = this.payouts.find((payout) => payout.id === clickedPayoutID);
|
|
54
|
+
this.clickEvent.emit({ name: TableClickActions.row, data: payoutData });
|
|
19
55
|
};
|
|
20
56
|
}
|
|
21
57
|
componentWillLoad() {
|
|
22
58
|
checkPkgVersion();
|
|
23
59
|
this.analytics = new JustifiAnalytics(this);
|
|
24
60
|
this.initializeGetData();
|
|
61
|
+
this.payoutsTable = new Table(this.payouts, this.columns, payoutTableColumns, payoutTableCells(this.downloadCSV));
|
|
62
|
+
if (this.getPayouts && this.getSubAccounts) {
|
|
63
|
+
this.fetchData();
|
|
64
|
+
}
|
|
65
|
+
onQueryParamsChange('set', () => {
|
|
66
|
+
this.pagingParams = {};
|
|
67
|
+
});
|
|
68
|
+
onQueryParamsChange('reset', () => {
|
|
69
|
+
this.pagingParams = {};
|
|
70
|
+
this.errorMessage = '';
|
|
71
|
+
});
|
|
25
72
|
}
|
|
26
73
|
disconnectedCallback() {
|
|
27
74
|
var _a;
|
|
@@ -31,6 +78,9 @@ export class JustifiPayoutsList {
|
|
|
31
78
|
propChanged() {
|
|
32
79
|
this.initializeGetData();
|
|
33
80
|
}
|
|
81
|
+
updateOnPropChange() {
|
|
82
|
+
this.fetchData();
|
|
83
|
+
}
|
|
34
84
|
initializeGetData() {
|
|
35
85
|
this.initializePayoutsServices();
|
|
36
86
|
this.initializeGetSubAccounts();
|
|
@@ -63,8 +113,81 @@ export class JustifiPayoutsList {
|
|
|
63
113
|
});
|
|
64
114
|
}
|
|
65
115
|
}
|
|
116
|
+
fetchData() {
|
|
117
|
+
this.loading = true;
|
|
118
|
+
this.getPayouts({
|
|
119
|
+
params: this.payoutParams,
|
|
120
|
+
onSuccess: ({ payouts, pagingInfo }) => {
|
|
121
|
+
this.payouts = payouts;
|
|
122
|
+
this.paging = pagingInfo;
|
|
123
|
+
this.payoutsTable.collectionData = this.payouts;
|
|
124
|
+
const shouldFetchSubAccounts = this.payoutsTable.columnKeys.includes('sub_account_name');
|
|
125
|
+
if (shouldFetchSubAccounts) {
|
|
126
|
+
this.fetchSubAccounts();
|
|
127
|
+
}
|
|
128
|
+
else {
|
|
129
|
+
this.loading = false;
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
onError: ({ error, code, severity }) => {
|
|
133
|
+
this.errorMessage = error;
|
|
134
|
+
this.errorEvent.emit({
|
|
135
|
+
errorCode: code,
|
|
136
|
+
message: error,
|
|
137
|
+
severity,
|
|
138
|
+
});
|
|
139
|
+
this.loading = false;
|
|
140
|
+
},
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
async fetchSubAccounts() {
|
|
144
|
+
this.getSubAccounts({
|
|
145
|
+
params: this.subAccountParams,
|
|
146
|
+
onSuccess: ({ subAccounts }) => {
|
|
147
|
+
this.subAccounts = subAccounts;
|
|
148
|
+
this.payouts = this.payouts.map((payout) => {
|
|
149
|
+
var _a;
|
|
150
|
+
payout.sub_account_name = (_a = this.subAccounts.find((subAccount) => subAccount.id === payout.account_id)) === null || _a === void 0 ? void 0 : _a.name;
|
|
151
|
+
return payout;
|
|
152
|
+
});
|
|
153
|
+
this.loading = false;
|
|
154
|
+
},
|
|
155
|
+
onError: ({ error, code, severity }) => {
|
|
156
|
+
this.errorMessage = error;
|
|
157
|
+
this.errorEvent.emit({
|
|
158
|
+
errorCode: code,
|
|
159
|
+
message: error,
|
|
160
|
+
severity,
|
|
161
|
+
});
|
|
162
|
+
this.loading = false;
|
|
163
|
+
},
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
get payoutParams() {
|
|
167
|
+
const requestParams = getRequestParams();
|
|
168
|
+
const params = Object.assign(Object.assign({}, requestParams), this.pagingParams);
|
|
169
|
+
return params;
|
|
170
|
+
}
|
|
171
|
+
get subAccountParams() {
|
|
172
|
+
let accountIdNumbers = this.payouts.map((payout) => payout.account_id);
|
|
173
|
+
let uniqueAccountIds = [...new Set(accountIdNumbers)];
|
|
174
|
+
let accountIdString = uniqueAccountIds.join(',');
|
|
175
|
+
return { sub_account_id: accountIdString };
|
|
176
|
+
}
|
|
177
|
+
get entityId() {
|
|
178
|
+
return this.payouts.map((payout) => payout.id);
|
|
179
|
+
}
|
|
180
|
+
get showEmptyState() {
|
|
181
|
+
return !this.loading && !this.errorMessage && this.payoutsTable.rowData.length < 1;
|
|
182
|
+
}
|
|
183
|
+
get showErrorState() {
|
|
184
|
+
return !this.loading && !!this.errorMessage;
|
|
185
|
+
}
|
|
186
|
+
get showRowData() {
|
|
187
|
+
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
188
|
+
}
|
|
66
189
|
render() {
|
|
67
|
-
return (h(StyledHost, { key: '
|
|
190
|
+
return (h(StyledHost, { key: '1307a34cfcaf42f829d28b18d893dd5c55aadaa3' }, h(TableWrapper, { key: '481cd3ce90a935edc54286bd732547593c41ffed' }, h(TableComponent, { key: 'd8309908dd108ab194213c76b13d508bf41a3f6c' }, h(TableHead, { key: '8c70c0061a8dc486639c7fa43825076b04aebe5b' }, h(TableHeadRow, { key: '0a53aa8c15efe99cfdbeb458bafaa8a25a10ee62' }, this.payoutsTable.columnData.map((column) => column))), h(TableBody, { key: 'c998709519b531686f24ff02d0560b7a000fbdcd' }, h(TableLoadingState, { key: '2848b295a5483417fe8568b2e7d61803726310be', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '281a9cbf369914b60d37c54ab351d5cc7865f723', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: 'c7709f1546a4918b691ec3661903b00167145060', columnSpan: this.payoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.payoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '72682c5570fae84c4128268f734d96206f234774' }, h(TableFootRow, { key: 'd391fc3195afc66336d966fb56057f9e89eda3de' }, h(TableFootCell, { key: '3403c09520cb0847d1635e6b862eab6563fb7113', colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: '4d5d70bab5169ddf181c5216a7e4551356e9fc15', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
68
191
|
}
|
|
69
192
|
static get is() { return "justifi-payouts-list"; }
|
|
70
193
|
static get encapsulation() { return "shadow"; }
|
|
@@ -135,7 +258,13 @@ export class JustifiPayoutsList {
|
|
|
135
258
|
"getPayouts": {},
|
|
136
259
|
"getPayoutCSV": {},
|
|
137
260
|
"getSubAccounts": {},
|
|
138
|
-
"errorMessage": {}
|
|
261
|
+
"errorMessage": {},
|
|
262
|
+
"payouts": {},
|
|
263
|
+
"payoutsTable": {},
|
|
264
|
+
"subAccounts": {},
|
|
265
|
+
"loading": {},
|
|
266
|
+
"paging": {},
|
|
267
|
+
"pagingParams": {}
|
|
139
268
|
};
|
|
140
269
|
}
|
|
141
270
|
static get events() {
|
|
@@ -160,6 +289,27 @@ export class JustifiPayoutsList {
|
|
|
160
289
|
}
|
|
161
290
|
}
|
|
162
291
|
}
|
|
292
|
+
}, {
|
|
293
|
+
"method": "clickEvent",
|
|
294
|
+
"name": "click-event",
|
|
295
|
+
"bubbles": true,
|
|
296
|
+
"cancelable": true,
|
|
297
|
+
"composed": true,
|
|
298
|
+
"docs": {
|
|
299
|
+
"tags": [],
|
|
300
|
+
"text": ""
|
|
301
|
+
},
|
|
302
|
+
"complexType": {
|
|
303
|
+
"original": "ComponentClickEvent",
|
|
304
|
+
"resolved": "ComponentClickEvent",
|
|
305
|
+
"references": {
|
|
306
|
+
"ComponentClickEvent": {
|
|
307
|
+
"location": "import",
|
|
308
|
+
"path": "../../api/ComponentEvents",
|
|
309
|
+
"id": "src/api/ComponentEvents.ts::ComponentClickEvent"
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
}
|
|
163
313
|
}];
|
|
164
314
|
}
|
|
165
315
|
static get watchers() {
|
|
@@ -169,6 +319,15 @@ export class JustifiPayoutsList {
|
|
|
169
319
|
}, {
|
|
170
320
|
"propName": "authToken",
|
|
171
321
|
"methodName": "propChanged"
|
|
322
|
+
}, {
|
|
323
|
+
"propName": "pagingParams",
|
|
324
|
+
"methodName": "updateOnPropChange"
|
|
325
|
+
}, {
|
|
326
|
+
"propName": "getPayouts",
|
|
327
|
+
"methodName": "updateOnPropChange"
|
|
328
|
+
}, {
|
|
329
|
+
"propName": "getSubAccounts",
|
|
330
|
+
"methodName": "updateOnPropChange"
|
|
172
331
|
}];
|
|
173
332
|
}
|
|
174
333
|
}
|
package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list-filters.js
CHANGED
|
@@ -50,9 +50,9 @@ export class JustifiTerminalOrdersListFilters {
|
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
52
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
53
|
-
return (h(StyledHost, { key: '
|
|
54
|
-
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: '
|
|
55
|
-
convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: filterParam })), h("div", { key: '
|
|
53
|
+
return (h(StyledHost, { key: 'cc09bb58c13ab0b26d92eb164cf6bc43a3c96c63' }, h("table-filters-menu", { key: '08369c471d891184e36dd6c5aae8842e0df5c01a', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: 'addd8a1cf74ae9e80cc8e4374a36400204c81400', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'b74cf4d1d13a0a6250000c8f7f0845f4c907e488', class: "p-2" }, h("form-control-select", { key: 'b1b060b64f67695bb395488fa23dcbf6373b419b', name: "order_status", label: "Order Status", options: this.terminalOrderStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.orderStatus || filterParams.order_status || '', disabled: !!this.orderStatus, part: filterParam })), h("div", { key: 'a3c06691181d01d6a664016b4add0784b23ab06c', class: "p-2" }, h("form-control-select", { key: '376039e2f10fbcc9ed008611d4976cf6412c16a4', name: "order_type", label: "Order Type", options: this.terminalOrderTypeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.orderType || filterParams.order_type || '', disabled: !!this.orderType, part: filterParam })), h("div", { key: 'f03c94412b7861d255dfdef98a4c2fad14e96cfa', class: "p-2" }, h("form-control-date", { key: 'd7588c4ecda9480881e0f67e0418b1e475db188c', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
|
|
54
|
+
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: '76f0cee7430e846a479478c903d892ac05490787', class: "p-2" }, h("form-control-date", { key: 'ce0f99ebfa8a82111689ae6ee4cc1d8bd141d657', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
|
|
55
|
+
convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: filterParam })), h("div", { key: '5c06fefb50c8c987a8e55623cba70a39cc64bbe1', class: "p-2" }, h("form-control-text", { key: '0a24516bbf665784e5c13a16b0b38be2bafb684b', name: "company_name", label: "Company Name", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.companyName || filterParams.company_name, disabled: !!this.companyName, part: filterParam }))))));
|
|
56
56
|
}
|
|
57
57
|
static get is() { return "justifi-terminal-orders-list-filters"; }
|
|
58
58
|
static get encapsulation() { return "shadow"; }
|
|
@@ -43,7 +43,7 @@ export class JustifiTerminalOrdersList {
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return (h(StyledHost, { key: '
|
|
46
|
+
return (h(StyledHost, { key: '65330929a53f4e5e07177541460ccce864edd3ec' }, h("terminal-orders-list-core", { key: '79d4bc028395ede9b9f2e2c12729cc20532ef251', getTerminalOrders: this.getTerminalOrders, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
47
47
|
}
|
|
48
48
|
static get is() { return "justifi-terminal-orders-list"; }
|
|
49
49
|
static get encapsulation() { return "shadow"; }
|
|
@@ -81,7 +81,7 @@ export class TerminalOrdersListCore {
|
|
|
81
81
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
82
82
|
}
|
|
83
83
|
render() {
|
|
84
|
-
return (h(TableWrapper, { key: '
|
|
84
|
+
return (h(TableWrapper, { key: '92fffc2d98e3a5176d80decaeddc8d3b0babca74' }, h(TableComponent, { key: '9a690f1298358fd1f22942cce38a99b157526d2a' }, h(TableHead, { key: '53275af95435cbc3fa01753e88ab6a9319aa678b' }, h(TableHeadRow, { key: '374db48f613bddaad4308e60700c1ea66a5c54dd' }, this.terminalOrdersTable.columnData.map((column) => column))), h(TableBody, { key: '8e95036b34d7ed6712d64978923459b29c11fab8' }, h(TableLoadingState, { key: 'bf28d8b020cfc59f494eede313f9cb38265d702f', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '0361d8c68151065fe96a97a137aa06b510d2f2dd', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), h(TableErrorState, { key: 'b7bbf34d9c90f1757424afb9fa30617f61a4d564', columnSpan: this.terminalOrdersTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalOrdersTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: 'a0b4a423809b3b36211b7f59719642e48311d32e' }, h(TableFootRow, { key: '81a3dd146e0931f14ef6972e42f71b38c2f11239' }, h(TableFootCell, { key: '8e4afc9ea974aac2c693a60e3e0ea5f9915a199e', colSpan: this.terminalOrdersTable.columnData.length }, h("pagination-menu", { key: '9d5afd8b9a09fc24f12c701e289c22a40ad77042', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
85
85
|
}
|
|
86
86
|
static get is() { return "terminal-orders-list-core"; }
|
|
87
87
|
static get properties() {
|
|
@@ -45,7 +45,7 @@ export class JustifiTerminalsListFilters {
|
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
47
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
48
|
-
return (h(StyledHost, { key: '
|
|
48
|
+
return (h(StyledHost, { key: '77a3937540cd75a7cc51a90b1cd7c7c52ae870b2' }, h("table-filters-menu", { key: '4a725bfe0b79d0046eea2f7b3e3fe295b5384b94', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: '0cb6fcedf45371c68b8b37e8b832ca3e9b48789e', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '602fc95acdd62112bc53f858073e936f9bf5e48d', class: "p-2" }, h("form-control-text", { key: 'c4e8dc476d2d8d80f2367ab6f8a5e5db17a72f15', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: filterParam })), h("div", { key: 'e83b3b3ef5f1509286cabaee9faeb96cd7d9e15a', class: "p-2" }, h("form-control-text", { key: '2f6eb9224740f327ce5019d93d879c231df8b0ee', name: "terminal_order_id", label: "Terminal Order ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalOrderId || filterParams.terminal_order_id, disabled: !!this.terminalOrderId, part: filterParam })), h("div", { key: '942179e72ce3b8fea5c2cd2dd28aeecd586bdb6c', class: "p-2" }, h("form-control-text", { key: 'adb7eaab71834c2c619a09f9053dd8374a8bdfcc', name: "provider_id", label: "Device ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.providerId || filterParams.provider_id, disabled: !!this.providerId, part: filterParam })), h("div", { key: 'c15d630d0c3500d26720db63cbf90098b837ee24', class: "p-2" }, h("form-control-text", { key: '93f4e6c1e5c8f7e853111e74e25946fd683c5a17', name: "serial_number", label: "Serial Number", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.serialNumber || filterParams.serial_number, disabled: !!this.serialNumber, part: filterParam })), h("div", { key: '6a269a0c2fb90fb4e00b05d4aeee3fff4ab4e967', class: "p-2" }, h("form-control-select", { key: 'f6d9e45354d5c3d8894fe442d0bef490bafb20de', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.terminalStatus || filterParams.status || '', disabled: !!this.terminalStatus, part: filterParam })), h("div", { key: 'ea70b109bd231bd085bb2cb8388d8010e0c5aa79', class: "p-2" }, h("form-control-date", { key: '256cddfb0e68590bc8d8403aa8a033ad40d613fe', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter || filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: '1be9bf8d68c691f09d40db9c45d78ed923fb3d86', class: "p-2" }, h("form-control-date", { key: '79d48b277064373e3faf999ae8771a44b35de1cb', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore || filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: filterParam }))))));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "justifi-terminals-list-filters"; }
|
|
51
51
|
static get encapsulation() { return "shadow"; }
|