@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,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface PaymentDetailsCore extends Components.PaymentDetailsCore, HTMLElement {}
|
|
4
|
-
export const PaymentDetailsCore: {
|
|
5
|
-
prototype: PaymentDetailsCore;
|
|
6
|
-
new (): PaymentDetailsCore;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
|
|
2
|
-
import './config-state.js';
|
|
3
|
-
import { f as formatDate, a as formatTime, s as snakeCaseToHumanReadable } from './utils2.js';
|
|
4
|
-
import { h as PaymentStatuses, d as DisputeStatus } from './Plaid.js';
|
|
5
|
-
import './Pagination.js';
|
|
6
|
-
import './Business.js';
|
|
7
|
-
import './ApplePay.js';
|
|
8
|
-
import { P as PaymentStatusBadge, M as MapPaymentStatusToBadge } from './payments-status.js';
|
|
9
|
-
import { E as ErrorState, b as EntityHeadInfo, c as EntityHeadInfoItem, D as DetailSectionTitle, a as DetailItem, C as CodeBlock } from './utils.js';
|
|
10
|
-
import { S as StyledHost } from './styled-host.js';
|
|
11
|
-
import { d as defineCustomElement$1 } from './justifi-details2.js';
|
|
12
|
-
import './event-types.js';
|
|
13
|
-
import './justifi-radio-list-item2.js';
|
|
14
|
-
import { S as Skeleton } from './skeleton.js';
|
|
15
|
-
import { B as Badge, a as BadgeVariant } from './badge.js';
|
|
16
|
-
|
|
17
|
-
const PaymentDetailsLoading = () => (h("div", { class: "row gap-3" }, h("div", { class: "col-12" }, h(Skeleton, { width: "35%", height: "30px" })), h("div", { class: "col-12" }, h(Skeleton, { width: "70%" })), h("div", { class: "col-12" }, h(Skeleton, { width: "40%" })), h("div", { class: "col-12" }, h(Skeleton, { width: "40%" })), h("div", { class: "col-12" }, h(Skeleton, { width: "100%" })), h("div", { class: "col-12" }, h(Skeleton, { width: "80%" }))));
|
|
18
|
-
|
|
19
|
-
const PaymentDetailsCore = /*@__PURE__*/ proxyCustomElement(class PaymentDetailsCore extends HTMLElement {
|
|
20
|
-
constructor(registerHost) {
|
|
21
|
-
super();
|
|
22
|
-
if (registerHost !== false) {
|
|
23
|
-
this.__registerHost();
|
|
24
|
-
}
|
|
25
|
-
this.errorEvent = createEvent(this, "error-event", 7);
|
|
26
|
-
this.loading = true;
|
|
27
|
-
}
|
|
28
|
-
componentWillLoad() {
|
|
29
|
-
if (this.getPaymentDetails) {
|
|
30
|
-
this.fetchData();
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
updateOnPropChange() {
|
|
34
|
-
this.fetchData();
|
|
35
|
-
}
|
|
36
|
-
fetchData() {
|
|
37
|
-
this.loading = true;
|
|
38
|
-
this.getPaymentDetails({
|
|
39
|
-
onSuccess: ({ payment }) => {
|
|
40
|
-
this.payment = payment;
|
|
41
|
-
this.errorMessage = null;
|
|
42
|
-
},
|
|
43
|
-
onError: ({ error, code, severity }) => {
|
|
44
|
-
this.errorMessage = error;
|
|
45
|
-
this.errorEvent.emit({
|
|
46
|
-
errorCode: code,
|
|
47
|
-
message: error,
|
|
48
|
-
severity,
|
|
49
|
-
});
|
|
50
|
-
},
|
|
51
|
-
final: () => {
|
|
52
|
-
this.loading = false;
|
|
53
|
-
},
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
get PaymentStatus() {
|
|
57
|
-
if (this.payment.status === PaymentStatuses.disputed) {
|
|
58
|
-
const disputeWasLost = this.payment.disputes.some((dispute) => dispute.status === DisputeStatus.lost);
|
|
59
|
-
if (disputeWasLost) {
|
|
60
|
-
return PaymentStatusBadge.DISPUTE_LOST;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
return this.payment.status;
|
|
64
|
-
}
|
|
65
|
-
render() {
|
|
66
|
-
return (h(StyledHost, { key: '92ef6c638768adc01e3682fb486dc2f988c677cd' }, this.loading && h(PaymentDetailsLoading, { key: '8fe108114498a6aa3c515f64bd1503b8bcd1bfb8' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
|
|
67
|
-
this.payment && (h("justifi-details", { key: 'a47c503739269d4c0f429540268e93eb3e4594b3', errorMessage: this.errorMessage }, h(EntityHeadInfo, { key: '98b968f9568403995a6581d1504691707251a1cb', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPaymentStatusToBadge(this.PaymentStatus), this.payment.expedited ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : null)), title: this.payment.formattedPaymentAmount(this.payment.amount) }, h(EntityHeadInfoItem, { key: '8269b38c09e7b0904d49cbecedede97fea33525e', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: '4595b47217d10510b2999c1911d9705f7b9d2279', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: 'd85ff59ce766dd40a852aca41554b67bc9399060', title: "ID", value: this.payment.id })), h("div", { key: 'f3d19819c8adf1c0fb22aaec41835b6591ddbb21', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '362ece2a9a5b7297e0c6f9e60f617146fab29ef8', sectionTitle: "Details" }), h("div", { key: '7d4f1ceeb5d2b76b1dff3be0e4931c1b184b4c64', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: 'addc59665a77d044f134627d79a0c1194cf462f0', title: "Amount", value: this.payment.formattedPaymentAmount(this.payment.amount) }), h(DetailItem, { key: '17422ecc90e0847b6eb340d30c36299542f235da', title: "Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: 'b51e5fdd7c166fcfa837776602d4de69785c89b7', title: "Refunded", value: this.payment.formattedPaymentAmount(this.payment.amount_refunded) }), h(DetailItem, { key: 'd6d3155f1a874f65126211bcab62b81f24fd57f3', title: "Net", value: this.payment.formattedPaymentAmount(this.payment.balance) }), h(DetailItem, { key: '7e1598c0bf56a6edc90d180377f734aae586eca0', title: "Status", value: MapPaymentStatusToBadge(this.PaymentStatus) }), h(DetailItem, { key: 'be12abf332c2e9f67623e63a517ea23f231289ca', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: '3781968bb4c2a463623101007cefdf8c6ea6bcc4', title: "Processing Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: '6ebe10c76ada3fe1dd5f05c58a52fa0604f185df', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: 'dc9df4e19723689e619a543815919e2044bd5511', title: "Description", value: this.payment.description }), h(DetailItem, { key: '52dcd8984dda1115b53a9567e79a0d86d8117f0a', title: "Expedited", value: this.payment.expedited ? 'Yes' : 'No' })), this.payment.payment_method.card && [
|
|
68
|
-
h(DetailSectionTitle, { key: '0a5595ced3b093b930e262415592c373109a95dc', sectionTitle: "Payment Method" }),
|
|
69
|
-
h("div", { key: '0c8a056b36babb831b5d684ccf8d76a498878b16', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: 'e321d0b86c58fd62c7df5d12cb02a10f364058f7', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: 'fcabccc2c569dc9990d8f2c38853dedbe4a5f6e4', title: "Payment Type", value: "Card" }), h(DetailItem, { key: '5aece8dd14247b1cf5dc6f42ae07c508df0509a6', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: 'b31e5a5f532d128168f3ec7b394e853bad0d5a1f', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: '0527fd97d660f293d557ee89230e9f79a5565e44', title: "Cardholder", value: this.payment.payment_method.payersName }))
|
|
70
|
-
], this.payment.payment_method.bank_account && [
|
|
71
|
-
h(DetailSectionTitle, { key: '9c7478beff791dcdd02744b83ae9d9f556e88133', sectionTitle: "Payment Method" }),
|
|
72
|
-
h("div", { key: '09057810c9c5a091c4bd2d4f44f4ba034aeacb5e', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: 'b3a4d4e3404fbe85c27bfc1d00394ca87c668516', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: 'd1422c95907ef5a4889c2993db38b12ce0511435', title: "Last 4 Numbers", value: this.payment.last_four_digits }), h(DetailItem, { key: 'b915ccece34ddb429c7f3809b7bd843f5cc85b5d', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: '5cddb813c21797f33a2c50fd9d76c5e02823147f', title: "Account Owner", value: this.payment.payment_method.payersName }))
|
|
73
|
-
], this.payment.metadata && [
|
|
74
|
-
h(DetailSectionTitle, { key: '75e1a474ef6d9290c8556345757ac5a69f72d615', sectionTitle: 'Metadata' }),
|
|
75
|
-
h("div", { key: '26482e1a90fa4b0e21fbefabd8c1d2d7a50d4e5a', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '2d1dd8a6d4fbb47c6dd13aa9c3f9508a984b3bf8', metadata: this.payment.metadata }))
|
|
76
|
-
])))));
|
|
77
|
-
}
|
|
78
|
-
static get watchers() { return {
|
|
79
|
-
"getPaymentDetails": ["updateOnPropChange"]
|
|
80
|
-
}; }
|
|
81
|
-
}, [256, "payment-details-core", {
|
|
82
|
-
"getPaymentDetails": [16],
|
|
83
|
-
"payment": [32],
|
|
84
|
-
"loading": [32],
|
|
85
|
-
"errorMessage": [32]
|
|
86
|
-
}, undefined, {
|
|
87
|
-
"getPaymentDetails": ["updateOnPropChange"]
|
|
88
|
-
}]);
|
|
89
|
-
function defineCustomElement() {
|
|
90
|
-
if (typeof customElements === "undefined") {
|
|
91
|
-
return;
|
|
92
|
-
}
|
|
93
|
-
const components = ["payment-details-core", "justifi-details"];
|
|
94
|
-
components.forEach(tagName => { switch (tagName) {
|
|
95
|
-
case "payment-details-core":
|
|
96
|
-
if (!customElements.get(tagName)) {
|
|
97
|
-
customElements.define(tagName, PaymentDetailsCore);
|
|
98
|
-
}
|
|
99
|
-
break;
|
|
100
|
-
case "justifi-details":
|
|
101
|
-
if (!customElements.get(tagName)) {
|
|
102
|
-
defineCustomElement$1();
|
|
103
|
-
}
|
|
104
|
-
break;
|
|
105
|
-
} });
|
|
106
|
-
}
|
|
107
|
-
defineCustomElement();
|
|
108
|
-
|
|
109
|
-
export { PaymentDetailsCore as P, defineCustomElement as d };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface PaymentsListCore extends Components.PaymentsListCore, HTMLElement {}
|
|
4
|
-
export const PaymentsListCore: {
|
|
5
|
-
prototype: PaymentsListCore;
|
|
6
|
-
new (): PaymentsListCore;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
|
|
2
|
-
import './config-state.js';
|
|
3
|
-
import './dinero.js';
|
|
4
|
-
import './Plaid.js';
|
|
5
|
-
import { p as pagingDefaults } from './Pagination.js';
|
|
6
|
-
import './Business.js';
|
|
7
|
-
import './ApplePay.js';
|
|
8
|
-
import './justifi-details2.js';
|
|
9
|
-
import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table.js';
|
|
10
|
-
import { T as TableClickActions } from './event-types.js';
|
|
11
|
-
import './justifi-radio-list-item2.js';
|
|
12
|
-
import { M as MapPaymentStatusToBadge } from './payments-status.js';
|
|
13
|
-
import { h as convertToLocal } from './utils2.js';
|
|
14
|
-
import { B as tableHeadCell, ah as getAlternateTableCellPart } from './parts.js';
|
|
15
|
-
import { o as onQueryParamsChange, g as getRequestParams } from './payments-list-params-state.js';
|
|
16
|
-
import { d as defineCustomElement$1 } from './pagination-menu2.js';
|
|
17
|
-
|
|
18
|
-
const mapCardBrandToDisplayName = (brand) => {
|
|
19
|
-
if (!brand)
|
|
20
|
-
return 'N/A';
|
|
21
|
-
const brandMap = {
|
|
22
|
-
'visa': 'VISA',
|
|
23
|
-
'mastercard': 'Mastercard',
|
|
24
|
-
'american_express': 'American Express',
|
|
25
|
-
'discover': 'Discover',
|
|
26
|
-
'diners_club': 'Diners Club',
|
|
27
|
-
'jcb': 'JCB',
|
|
28
|
-
'china_unionpay': 'China UnionPay',
|
|
29
|
-
'unknown': 'Unknown'
|
|
30
|
-
};
|
|
31
|
-
return brandMap[brand.toLowerCase()] || brand;
|
|
32
|
-
};
|
|
33
|
-
const defaultColumnsKeys = 'created_at,amount,status,payment_type,description,payers_name,last_four_digits,card_brand';
|
|
34
|
-
const paymentTableColumns = {
|
|
35
|
-
created_at: () => (h("th", { part: tableHeadCell, scope: "col", title: "The date and time each payment was made" }, "Date")),
|
|
36
|
-
amount: () => (h("th", { part: tableHeadCell, scope: "col", title: "The dollar amount of each payment" }, "Amount")),
|
|
37
|
-
status: () => (h("th", { part: tableHeadCell, scope: "col", title: "The current status of each payment" }, "Status")),
|
|
38
|
-
payment_type: () => (h("th", { part: tableHeadCell, scope: "col", title: "The type of each payment" }, "Type")),
|
|
39
|
-
description: () => (h("th", { part: tableHeadCell, scope: "col", title: "The payment description, if you provided one" }, "Description")),
|
|
40
|
-
payers_name: () => (h("th", { part: tableHeadCell, scope: "col", title: "The name associated with the payment method" }, "Account Holder")),
|
|
41
|
-
last_four_digits: () => (h("th", { part: tableHeadCell, scope: "col", title: "The brand and last 4 digits of the payment method" }, "Payment Method")),
|
|
42
|
-
card_brand: () => (h("th", { part: tableHeadCell, scope: "col", title: "The brand of the payment method" }, "Card Brand")),
|
|
43
|
-
};
|
|
44
|
-
const paymentTableCells = {
|
|
45
|
-
created_at: (payment, index) => (h("td", { part: getAlternateTableCellPart(index) }, h("div", { class: "fw-bold" }, convertToLocal(payment.created_at, { showDisplayDate: true })), h("div", { class: "fw-bold" }, convertToLocal(payment.created_at, { showTime: true })))),
|
|
46
|
-
amount: (payment, index) => (h("td", { part: getAlternateTableCellPart(index) }, payment.formattedPaymentAmount(payment.amount))),
|
|
47
|
-
status: (payment, index) => (h("td", { part: getAlternateTableCellPart(index) }, MapPaymentStatusToBadge(payment.status))),
|
|
48
|
-
payment_type: (payment, index) => (h("td", { part: getAlternateTableCellPart(index) }, payment.payment_type)),
|
|
49
|
-
description: (payment, index) => (h("td", { part: getAlternateTableCellPart(index) }, payment.description)),
|
|
50
|
-
payers_name: (payment, index) => (h("td", { part: getAlternateTableCellPart(index) }, payment.payers_name)),
|
|
51
|
-
last_four_digits: (payment, index) => (h("td", { part: getAlternateTableCellPart(index) }, payment.last_four_digits)),
|
|
52
|
-
card_brand: (payment, index) => {
|
|
53
|
-
var _a, _b;
|
|
54
|
-
return (h("td", { part: getAlternateTableCellPart(index) }, mapCardBrandToDisplayName(((_a = payment.payment_method.card) === null || _a === void 0 ? void 0 : _a.brand) || ((_b = payment.payment_method.bank_account) === null || _b === void 0 ? void 0 : _b.brand))));
|
|
55
|
-
},
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
const PaymentsListCore = /*@__PURE__*/ proxyCustomElement(class PaymentsListCore extends HTMLElement {
|
|
59
|
-
constructor(registerHost) {
|
|
60
|
-
super();
|
|
61
|
-
if (registerHost !== false) {
|
|
62
|
-
this.__registerHost();
|
|
63
|
-
}
|
|
64
|
-
this.clickEvent = createEvent(this, "click-event", 7);
|
|
65
|
-
this.errorEvent = createEvent(this, "error-event", 7);
|
|
66
|
-
this.payments = [];
|
|
67
|
-
this.loading = true;
|
|
68
|
-
this.paging = pagingDefaults;
|
|
69
|
-
this.pagingParams = {};
|
|
70
|
-
this.handleClickPrevious = (beforeCursor) => {
|
|
71
|
-
this.pagingParams = { before_cursor: beforeCursor };
|
|
72
|
-
this.clickEvent.emit({ name: TableClickActions.previous });
|
|
73
|
-
};
|
|
74
|
-
this.handleClickNext = (afterCursor) => {
|
|
75
|
-
this.pagingParams = { after_cursor: afterCursor };
|
|
76
|
-
this.clickEvent.emit({ name: TableClickActions.next });
|
|
77
|
-
};
|
|
78
|
-
this.rowClickHandler = (e) => {
|
|
79
|
-
const clickedPaymentID = e.target.closest('tr').dataset.rowEntityId;
|
|
80
|
-
if (!clickedPaymentID)
|
|
81
|
-
return;
|
|
82
|
-
const paymentData = this.payments.find((payment) => payment.id === clickedPaymentID);
|
|
83
|
-
this.clickEvent.emit({ name: TableClickActions.row, data: paymentData });
|
|
84
|
-
};
|
|
85
|
-
}
|
|
86
|
-
updateOnPropChange() {
|
|
87
|
-
this.fetchData();
|
|
88
|
-
}
|
|
89
|
-
componentWillLoad() {
|
|
90
|
-
this.paymentsTable = new Table(this.payments, this.columns, paymentTableColumns, paymentTableCells);
|
|
91
|
-
if (this.getPayments) {
|
|
92
|
-
this.fetchData();
|
|
93
|
-
}
|
|
94
|
-
onQueryParamsChange('set', () => {
|
|
95
|
-
this.pagingParams = {};
|
|
96
|
-
this.errorMessage = '';
|
|
97
|
-
});
|
|
98
|
-
onQueryParamsChange('reset', () => {
|
|
99
|
-
this.pagingParams = {};
|
|
100
|
-
this.errorMessage = '';
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
fetchData() {
|
|
104
|
-
this.loading = true;
|
|
105
|
-
this.getPayments({
|
|
106
|
-
params: this.paymentParams,
|
|
107
|
-
onSuccess: ({ payments, pagingInfo }) => {
|
|
108
|
-
this.payments = payments;
|
|
109
|
-
this.paging = pagingInfo;
|
|
110
|
-
this.paymentsTable.collectionData = this.payments;
|
|
111
|
-
},
|
|
112
|
-
onError: ({ error, code, severity }) => {
|
|
113
|
-
this.errorMessage = error;
|
|
114
|
-
this.errorEvent.emit({
|
|
115
|
-
errorCode: code,
|
|
116
|
-
message: error,
|
|
117
|
-
severity,
|
|
118
|
-
});
|
|
119
|
-
},
|
|
120
|
-
final: () => {
|
|
121
|
-
this.loading = false;
|
|
122
|
-
}
|
|
123
|
-
});
|
|
124
|
-
}
|
|
125
|
-
get paymentParams() {
|
|
126
|
-
const requestParams = getRequestParams();
|
|
127
|
-
const params = Object.assign(Object.assign({}, requestParams), this.pagingParams);
|
|
128
|
-
return params;
|
|
129
|
-
}
|
|
130
|
-
get entityId() {
|
|
131
|
-
return this.payments.map((payment) => payment.id);
|
|
132
|
-
}
|
|
133
|
-
get showEmptyState() {
|
|
134
|
-
return !this.loading && !this.errorMessage && this.paymentsTable.rowData.length < 1;
|
|
135
|
-
}
|
|
136
|
-
get showErrorState() {
|
|
137
|
-
return !this.loading && !!this.errorMessage;
|
|
138
|
-
}
|
|
139
|
-
get showRowData() {
|
|
140
|
-
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
141
|
-
}
|
|
142
|
-
render() {
|
|
143
|
-
return (h(TableWrapper, { key: 'b582865a40c00ace45e5288f79f1a89afabb9eb7' }, h(TableComponent, { key: '399614aeac9d7daa7e91a6974ed36a22e9bfad7a' }, h(TableHead, { key: '41932e7e448c1826d1f994016cdcca83a845966d' }, h(TableHeadRow, { key: 'd1e28d54aff40b2c44ec25b89e7772eb6e2fd5f4' }, this.paymentsTable.columnData.map((column) => column))), h(TableBody, { key: '1b8ba62acf2c908ee52d3fbd1246dc0d71a4b927' }, h(TableLoadingState, { key: 'ee94ffebe89c0fd7e36660847462c74e019ece95', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: 'c2cea2a7c73e5a846e1bfc0905d7da810b1af2e5', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: 'e0dec0ca5484e11265ebe86f95b268e1f59d73b9', columnSpan: this.paymentsTable.columnData.length, errorMessage: this.errorMessage }), this.showRowData && this.paymentsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: 'dfd4f8411c7bb181444a9a8034ae19c6509e9972' }, h(TableFootRow, { key: 'f97f23407781f236b92714aeaa5f5dee3dd36743' }, h(TableFootCell, { key: '4b92b54e288bbb0f39b312ac7b0d88dd253add6b', colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: 'e3ad51e4d4d96cf38eb4240c01f0077374861b6e', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
144
|
-
}
|
|
145
|
-
static get watchers() { return {
|
|
146
|
-
"pagingParams": ["updateOnPropChange"],
|
|
147
|
-
"getPayments": ["updateOnPropChange"],
|
|
148
|
-
"columns": ["updateOnPropChange"]
|
|
149
|
-
}; }
|
|
150
|
-
}, [256, "payments-list-core", {
|
|
151
|
-
"getPayments": [16],
|
|
152
|
-
"columns": [1],
|
|
153
|
-
"payments": [32],
|
|
154
|
-
"paymentsTable": [32],
|
|
155
|
-
"loading": [32],
|
|
156
|
-
"errorMessage": [32],
|
|
157
|
-
"paging": [32],
|
|
158
|
-
"pagingParams": [32]
|
|
159
|
-
}, undefined, {
|
|
160
|
-
"pagingParams": ["updateOnPropChange"],
|
|
161
|
-
"getPayments": ["updateOnPropChange"],
|
|
162
|
-
"columns": ["updateOnPropChange"]
|
|
163
|
-
}]);
|
|
164
|
-
function defineCustomElement() {
|
|
165
|
-
if (typeof customElements === "undefined") {
|
|
166
|
-
return;
|
|
167
|
-
}
|
|
168
|
-
const components = ["payments-list-core", "pagination-menu"];
|
|
169
|
-
components.forEach(tagName => { switch (tagName) {
|
|
170
|
-
case "payments-list-core":
|
|
171
|
-
if (!customElements.get(tagName)) {
|
|
172
|
-
customElements.define(tagName, PaymentsListCore);
|
|
173
|
-
}
|
|
174
|
-
break;
|
|
175
|
-
case "pagination-menu":
|
|
176
|
-
if (!customElements.get(tagName)) {
|
|
177
|
-
defineCustomElement$1();
|
|
178
|
-
}
|
|
179
|
-
break;
|
|
180
|
-
} });
|
|
181
|
-
}
|
|
182
|
-
defineCustomElement();
|
|
183
|
-
|
|
184
|
-
export { PaymentsListCore as P, defaultColumnsKeys as a, defineCustomElement as d };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface PayoutDetailsCore extends Components.PayoutDetailsCore, HTMLElement {}
|
|
4
|
-
export const PayoutDetailsCore: {
|
|
5
|
-
prototype: PayoutDetailsCore;
|
|
6
|
-
new (): PayoutDetailsCore;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
|
|
2
|
-
import { j as capitalizeFirstLetter, f as formatDate, a as formatTime } from './utils2.js';
|
|
3
|
-
import { E as ErrorState, b as EntityHeadInfo, c as EntityHeadInfoItem, D as DetailSectionTitle, a as DetailItem, C as CodeBlock } from './utils.js';
|
|
4
|
-
import { B as Button } from './button.js';
|
|
5
|
-
import { S as StyledHost } from './styled-host.js';
|
|
6
|
-
import { d as defineCustomElement$1 } from './justifi-details2.js';
|
|
7
|
-
import './event-types.js';
|
|
8
|
-
import './justifi-radio-list-item2.js';
|
|
9
|
-
import { M as MapPayoutStatusToBadge } from './payouts-status.js';
|
|
10
|
-
import { S as Skeleton } from './skeleton.js';
|
|
11
|
-
import { B as Badge, a as BadgeVariant } from './badge.js';
|
|
12
|
-
|
|
13
|
-
const PayoutDetailsLoading = () => (h("div", { class: "row gap-3" }, h("div", { class: "col-12" }, h(Skeleton, { width: "35%", height: "30px" })), h("div", { class: "col-12" }, h(Skeleton, { width: "70%" })), h("div", { class: "col-12" }, h(Skeleton, { width: "40%" })), h("div", { class: "col-12" }, h(Skeleton, { width: "40%" })), h("div", { class: "col-12" }, h(Skeleton, { width: "100%" })), h("div", { class: "col-12" }, h(Skeleton, { width: "80%" }))));
|
|
14
|
-
|
|
15
|
-
const PayoutDetailsCore = /*@__PURE__*/ proxyCustomElement(class PayoutDetailsCore extends HTMLElement {
|
|
16
|
-
constructor(registerHost) {
|
|
17
|
-
super();
|
|
18
|
-
if (registerHost !== false) {
|
|
19
|
-
this.__registerHost();
|
|
20
|
-
}
|
|
21
|
-
this.errorEvent = createEvent(this, "error-event", 7);
|
|
22
|
-
this.recordClickEvent = createEvent(this, "record-click-event", 7);
|
|
23
|
-
this.enableRecordClick = false;
|
|
24
|
-
this.loading = true;
|
|
25
|
-
this.errorMessage = null;
|
|
26
|
-
this.downloadCSV = () => {
|
|
27
|
-
this.getPayoutCSV({
|
|
28
|
-
payoutId: this.payout.id,
|
|
29
|
-
onError: ({ error, code, severity }) => {
|
|
30
|
-
this.errorMessage = error;
|
|
31
|
-
this.errorEvent.emit({
|
|
32
|
-
message: error,
|
|
33
|
-
errorCode: code,
|
|
34
|
-
severity,
|
|
35
|
-
});
|
|
36
|
-
},
|
|
37
|
-
});
|
|
38
|
-
};
|
|
39
|
-
this.handleRecordClick = (id) => {
|
|
40
|
-
this.recordClickEvent.emit({
|
|
41
|
-
id,
|
|
42
|
-
type: 'account'
|
|
43
|
-
});
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
componentWillLoad() {
|
|
47
|
-
if (this.getPayout) {
|
|
48
|
-
this.fetchData();
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
getPayoutWatcher() {
|
|
52
|
-
this.fetchData();
|
|
53
|
-
}
|
|
54
|
-
fetchData() {
|
|
55
|
-
this.loading = true;
|
|
56
|
-
this.getPayout({
|
|
57
|
-
onSuccess: (payout) => {
|
|
58
|
-
this.errorMessage = null;
|
|
59
|
-
this.payout = payout;
|
|
60
|
-
this.loading = false;
|
|
61
|
-
},
|
|
62
|
-
onError: ({ error, code, severity }) => {
|
|
63
|
-
this.errorMessage = error;
|
|
64
|
-
this.errorEvent.emit({
|
|
65
|
-
message: error,
|
|
66
|
-
errorCode: code,
|
|
67
|
-
severity,
|
|
68
|
-
});
|
|
69
|
-
this.loading = false;
|
|
70
|
-
},
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
formatMethod(deliveryMethod) {
|
|
74
|
-
if (deliveryMethod === "ach")
|
|
75
|
-
return "ACH";
|
|
76
|
-
return capitalizeFirstLetter(deliveryMethod);
|
|
77
|
-
}
|
|
78
|
-
render() {
|
|
79
|
-
var _a;
|
|
80
|
-
return (h(StyledHost, { key: '5331ce4651dd61c74b44010b88f272db42bbac16' }, this.loading && h(PayoutDetailsLoading, { key: '09f7bfcf6a4b9f34a9ef6f2600c4f3755b4abe84' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: 'd76eaca9611e7c03d6d7d90d5bfcdc951cc626da', errorMessage: this.errorMessage }, h(EntityHeadInfo, { key: '099f51fbdb7a97e0d894437a945822d71973d322', 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: '214a3726416272452258345d04d05792ad90115c', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: '9b6354d8a9e4b0eeec25a98047a0ab0748a5a3a2', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: '91a07437ba0c01c1ff8d65309bfac5d2376fd693', title: "ID", value: this.payout.id }), h("div", { key: 'e73f76a1d3c6027eefe17ab1312948cdd5e1a958', class: "m-4" }, h(Button, { key: 'e64df6ed69aa41984a42ceda86fa3636fd90c6e8', variant: "outline-secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: 'f95c3ab2d35aaf44577aafd63d8179e8de592b58', slot: 'detail-sections' }, h(DetailSectionTitle, { key: 'd0aae2552c2dc391d3b15971aa894a484fccbc2b', sectionTitle: "Details" }), h("div", { key: '22fee577f33a1e004d41ac81b478201637d96637', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: 'd9bec4d7732334c2434b1e22954f85ad4a7af5d3', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: '9e5fed1e45d2a532102bd47209036faddd38158e', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: '5313693f696e36f850b9f606ab9de8e4d24a0372', title: "Payout Method", value: this.formatMethod(this.payout.delivery_method) }), h(DetailItem, { key: '101f2d983df8e548391dc762ea06ed0c5979e466', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: '900b5dd485dd8b9ff6e5e49261afe742406c3f4c', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: 'ba09532b05fe7c3ef19f80908966a2ed1aec753c', sectionTitle: "Account" }), h("div", { key: '1322b4fb4868fbbad73a23ac534a66848e34e135', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: '87e877e09482023959e09fdb30e1c339ecc195ef', title: "ID", value: this.payout.account_id, onClick: this.enableRecordClick ? () => this.handleRecordClick(this.payout.account_id) : undefined }), h(DetailItem, { key: '3457500267dc994aad32c675544fe6adc599c114', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '32204b3a5448f2ad9c6cc3cfd621fe8076051f4b', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '87d31d5a177a5da328e653ea036ae16ec66838e3', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: '12b7c34a74afe9e54516f19d6ec5b344bf84b74f', title: "Account Number", value: `**** ${this.payout.bank_account.account_number_last4}` })), this.payout.metadata && [
|
|
81
|
-
h(DetailSectionTitle, { key: '73d264aa4b0e2fe8d980246dc35d78c350cf1c85', sectionTitle: 'Metadata' }),
|
|
82
|
-
h("div", { key: 'c405ec9594ddc8eb474f75837e4d5ef1b81f786b', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'bfff7ebf154e20f3c35fb415de21ed80eb6f4ae9', metadata: this.payout.metadata }))
|
|
83
|
-
])))));
|
|
84
|
-
}
|
|
85
|
-
static get watchers() { return {
|
|
86
|
-
"getPayout": ["getPayoutWatcher"]
|
|
87
|
-
}; }
|
|
88
|
-
}, [256, "payout-details-core", {
|
|
89
|
-
"getPayout": [16],
|
|
90
|
-
"getPayoutCSV": [16],
|
|
91
|
-
"enableRecordClick": [4, "enable-record-click"],
|
|
92
|
-
"payout": [32],
|
|
93
|
-
"loading": [32],
|
|
94
|
-
"errorMessage": [32]
|
|
95
|
-
}, undefined, {
|
|
96
|
-
"getPayout": ["getPayoutWatcher"]
|
|
97
|
-
}]);
|
|
98
|
-
function defineCustomElement() {
|
|
99
|
-
if (typeof customElements === "undefined") {
|
|
100
|
-
return;
|
|
101
|
-
}
|
|
102
|
-
const components = ["payout-details-core", "justifi-details"];
|
|
103
|
-
components.forEach(tagName => { switch (tagName) {
|
|
104
|
-
case "payout-details-core":
|
|
105
|
-
if (!customElements.get(tagName)) {
|
|
106
|
-
customElements.define(tagName, PayoutDetailsCore);
|
|
107
|
-
}
|
|
108
|
-
break;
|
|
109
|
-
case "justifi-details":
|
|
110
|
-
if (!customElements.get(tagName)) {
|
|
111
|
-
defineCustomElement$1();
|
|
112
|
-
}
|
|
113
|
-
break;
|
|
114
|
-
} });
|
|
115
|
-
}
|
|
116
|
-
defineCustomElement();
|
|
117
|
-
|
|
118
|
-
export { PayoutDetailsCore as P, defineCustomElement as d };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface PayoutsListCore extends Components.PayoutsListCore, HTMLElement {}
|
|
4
|
-
export const PayoutsListCore: {
|
|
5
|
-
prototype: PayoutsListCore;
|
|
6
|
-
new (): PayoutsListCore;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|