@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,221 +0,0 @@
|
|
|
1
|
-
import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
|
|
2
|
-
import './config-state.js';
|
|
3
|
-
import './dinero.js';
|
|
4
|
-
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './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 { h as convertToLocal } from './utils2.js';
|
|
13
|
-
import { M as MapPayoutStatusToBadge } from './payouts-status.js';
|
|
14
|
-
import { B as tableHeadCell, ah as getAlternateTableCellPart } from './parts.js';
|
|
15
|
-
import { o as onQueryParamsChange, g as getRequestParams } from './payouts-list-params-state.js';
|
|
16
|
-
import { d as defineCustomElement$1 } from './pagination-menu2.js';
|
|
17
|
-
|
|
18
|
-
const defaultColumnsKeys = 'created_at,amount,status,payments_total,refunds_total,fees_total,other_total,csv';
|
|
19
|
-
const payoutTableColumns = {
|
|
20
|
-
created_at: () => (h("th", { part: tableHeadCell, scope: "col", title: "The date the payout was deposited" }, "Created")),
|
|
21
|
-
sub_account_name: () => (h("th", { part: tableHeadCell, scope: "col", title: "The sub account associated with the payout" }, "Sub Account")),
|
|
22
|
-
payments_total: () => (h("th", { part: tableHeadCell, scope: "col", title: "The total payments amount associated with the payout" }, "Payments")),
|
|
23
|
-
refunds_total: () => (h("th", { part: tableHeadCell, scope: "col", title: "The total refunds amount associated with the payout" }, "Refunds")),
|
|
24
|
-
fees_total: () => (h("th", { part: tableHeadCell, scope: "col", title: "The total fees amount associated with the payout" }, "Fees")),
|
|
25
|
-
other_total: () => (h("th", { part: tableHeadCell, scope: "col", title: "The total other amount" }, "Other")),
|
|
26
|
-
amount: () => (h("th", { part: tableHeadCell, scope: "col", title: "The total amount of the payout" }, "Amount")),
|
|
27
|
-
status: () => (h("th", { part: tableHeadCell, scope: "col", title: "The real-time status of each payout" }, "Status")),
|
|
28
|
-
csv: () => (h("th", { part: tableHeadCell, scope: "col", title: "Export CSV" })),
|
|
29
|
-
};
|
|
30
|
-
const payoutTableCells = (downloadCSV) => ({
|
|
31
|
-
created_at: (payout, index) => (h("td", { part: getAlternateTableCellPart(index) }, h("div", { class: "fw-bold" }, convertToLocal(payout.created_at, { showDisplayDate: true })))),
|
|
32
|
-
sub_account_name: (payout, index) => (h("td", { part: getAlternateTableCellPart(index) }, payout.sub_account_name)),
|
|
33
|
-
payments_total: (payout, index) => (h("td", { part: getAlternateTableCellPart(index) }, payout.formattedPaymentAmount(payout.payments_total))),
|
|
34
|
-
refunds_total: (payout, index) => (h("td", { part: getAlternateTableCellPart(index) }, payout.formattedPaymentAmount(payout.refunds_total))),
|
|
35
|
-
fees_total: (payout, index) => (h("td", { part: getAlternateTableCellPart(index) }, payout.formattedPaymentAmount(payout.fees_total))),
|
|
36
|
-
other_total: (payout, index) => (h("td", { part: getAlternateTableCellPart(index) }, payout.formattedPaymentAmount(payout.other_total))),
|
|
37
|
-
amount: (payout, index) => (h("td", { part: getAlternateTableCellPart(index) }, payout.formattedPaymentAmount(payout.amount))),
|
|
38
|
-
status: (payout, index) => (h("td", { part: getAlternateTableCellPart(index) }, MapPayoutStatusToBadge(payout.status))),
|
|
39
|
-
csv: (payout, index) => (h("td", { part: getAlternateTableCellPart(index) }, h("a", { href: "#", onClick: (event) => { event.preventDefault(); downloadCSV(payout.id); } }, "CSV"))),
|
|
40
|
-
});
|
|
41
|
-
|
|
42
|
-
const PayoutsListCore = /*@__PURE__*/ proxyCustomElement(class PayoutsListCore extends HTMLElement {
|
|
43
|
-
constructor(registerHost) {
|
|
44
|
-
super();
|
|
45
|
-
if (registerHost !== false) {
|
|
46
|
-
this.__registerHost();
|
|
47
|
-
}
|
|
48
|
-
this.clickEvent = createEvent(this, "click-event", 7);
|
|
49
|
-
this.errorEvent = createEvent(this, "error-event", 7);
|
|
50
|
-
this.payouts = [];
|
|
51
|
-
this.subAccounts = [];
|
|
52
|
-
this.loading = true;
|
|
53
|
-
this.paging = pagingDefaults;
|
|
54
|
-
this.pagingParams = {};
|
|
55
|
-
this.downloadCSV = (payoutId) => {
|
|
56
|
-
this.getPayoutCSV({
|
|
57
|
-
payoutId,
|
|
58
|
-
onError: () => {
|
|
59
|
-
this.errorEvent.emit({
|
|
60
|
-
errorCode: ComponentErrorCodes.FETCH_ERROR,
|
|
61
|
-
message: 'Failed to download CSV',
|
|
62
|
-
severity: ComponentErrorSeverity.ERROR,
|
|
63
|
-
});
|
|
64
|
-
},
|
|
65
|
-
});
|
|
66
|
-
};
|
|
67
|
-
this.handleClickPrevious = (beforeCursor) => {
|
|
68
|
-
this.pagingParams = { before_cursor: beforeCursor };
|
|
69
|
-
this.clickEvent.emit({ name: TableClickActions.previous });
|
|
70
|
-
};
|
|
71
|
-
this.handleClickNext = (afterCursor) => {
|
|
72
|
-
this.pagingParams = { after_cursor: afterCursor };
|
|
73
|
-
this.clickEvent.emit({ name: TableClickActions.next });
|
|
74
|
-
};
|
|
75
|
-
this.rowClickHandler = (e) => {
|
|
76
|
-
const clickedRow = e.target.closest('tr');
|
|
77
|
-
const clickedPayoutID = clickedRow.dataset.rowEntityId;
|
|
78
|
-
if (!clickedPayoutID)
|
|
79
|
-
return;
|
|
80
|
-
const clickedCSV = clickedRow.querySelector('a');
|
|
81
|
-
if (clickedCSV === e.target)
|
|
82
|
-
return;
|
|
83
|
-
const payoutData = this.payouts.find((payout) => payout.id === clickedPayoutID);
|
|
84
|
-
this.clickEvent.emit({ name: TableClickActions.row, data: payoutData });
|
|
85
|
-
};
|
|
86
|
-
}
|
|
87
|
-
updateOnPropChange() {
|
|
88
|
-
this.fetchData();
|
|
89
|
-
}
|
|
90
|
-
componentWillLoad() {
|
|
91
|
-
this.payoutsTable = new Table(this.payouts, this.columns, payoutTableColumns, payoutTableCells(this.downloadCSV));
|
|
92
|
-
if (this.getPayouts && this.getSubAccounts) {
|
|
93
|
-
this.fetchData();
|
|
94
|
-
}
|
|
95
|
-
onQueryParamsChange('set', () => {
|
|
96
|
-
this.pagingParams = {};
|
|
97
|
-
});
|
|
98
|
-
onQueryParamsChange('reset', () => {
|
|
99
|
-
this.pagingParams = {};
|
|
100
|
-
this.errorMessage = '';
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
fetchData() {
|
|
104
|
-
this.loading = true;
|
|
105
|
-
this.getPayouts({
|
|
106
|
-
params: this.payoutParams,
|
|
107
|
-
onSuccess: ({ payouts, pagingInfo }) => {
|
|
108
|
-
this.payouts = payouts;
|
|
109
|
-
this.paging = pagingInfo;
|
|
110
|
-
this.payoutsTable.collectionData = this.payouts;
|
|
111
|
-
const shouldFetchSubAccounts = this.payoutsTable.columnKeys.includes('sub_account_name');
|
|
112
|
-
if (shouldFetchSubAccounts) {
|
|
113
|
-
this.fetchSubAccounts();
|
|
114
|
-
}
|
|
115
|
-
else {
|
|
116
|
-
this.loading = false;
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
onError: ({ error, code, severity }) => {
|
|
120
|
-
this.errorMessage = error;
|
|
121
|
-
this.errorEvent.emit({
|
|
122
|
-
errorCode: code,
|
|
123
|
-
message: error,
|
|
124
|
-
severity,
|
|
125
|
-
});
|
|
126
|
-
this.loading = false;
|
|
127
|
-
},
|
|
128
|
-
});
|
|
129
|
-
}
|
|
130
|
-
async fetchSubAccounts() {
|
|
131
|
-
this.getSubAccounts({
|
|
132
|
-
params: this.subAccountParams,
|
|
133
|
-
onSuccess: ({ subAccounts }) => {
|
|
134
|
-
this.subAccounts = subAccounts;
|
|
135
|
-
this.payouts = this.payouts.map((payout) => {
|
|
136
|
-
var _a;
|
|
137
|
-
payout.sub_account_name = (_a = this.subAccounts.find((subAccount) => subAccount.id === payout.account_id)) === null || _a === void 0 ? void 0 : _a.name;
|
|
138
|
-
return payout;
|
|
139
|
-
});
|
|
140
|
-
this.loading = false;
|
|
141
|
-
},
|
|
142
|
-
onError: ({ error, code, severity }) => {
|
|
143
|
-
this.errorMessage = error;
|
|
144
|
-
this.errorEvent.emit({
|
|
145
|
-
errorCode: code,
|
|
146
|
-
message: error,
|
|
147
|
-
severity,
|
|
148
|
-
});
|
|
149
|
-
this.loading = false;
|
|
150
|
-
},
|
|
151
|
-
});
|
|
152
|
-
}
|
|
153
|
-
get payoutParams() {
|
|
154
|
-
const requestParams = getRequestParams();
|
|
155
|
-
const params = Object.assign(Object.assign({}, requestParams), this.pagingParams);
|
|
156
|
-
return params;
|
|
157
|
-
}
|
|
158
|
-
get subAccountParams() {
|
|
159
|
-
let accountIdNumbers = this.payouts.map((payout) => payout.account_id);
|
|
160
|
-
let uniqueAccountIds = [...new Set(accountIdNumbers)];
|
|
161
|
-
let accountIdString = uniqueAccountIds.join(',');
|
|
162
|
-
return { sub_account_id: accountIdString };
|
|
163
|
-
}
|
|
164
|
-
get entityId() {
|
|
165
|
-
return this.payouts.map((payout) => payout.id);
|
|
166
|
-
}
|
|
167
|
-
get showEmptyState() {
|
|
168
|
-
return !this.loading && !this.errorMessage && this.payoutsTable.rowData.length < 1;
|
|
169
|
-
}
|
|
170
|
-
get showErrorState() {
|
|
171
|
-
return !this.loading && !!this.errorMessage;
|
|
172
|
-
}
|
|
173
|
-
get showRowData() {
|
|
174
|
-
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
175
|
-
}
|
|
176
|
-
render() {
|
|
177
|
-
return (h(TableWrapper, { key: '80772a12f138c9906749887058f49079ab857b6a' }, h(TableComponent, { key: '4ed3a5f0773518df02e003790885825e6c8bf0bd' }, h(TableHead, { key: 'a3ae17b83b6e90b6dc7558a45983550b2fb674f2' }, h(TableHeadRow, { key: '5bda85f446fb33e71c2982722162ac46547bb5f3' }, this.payoutsTable.columnData.map((column) => column))), h(TableBody, { key: '4188485efb53c82422c23d11aa133a071d5d9bfe' }, h(TableLoadingState, { key: '27aa3602348859491c7badcceb031176a35fa0c9', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'f2b225ebe95336f28d6782e18840a94434231ecf', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: 'ac5cc1731b9e08ef3d636ec24a47e64b34e3469e', 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: '2dc513bfc54becb7e9ce21bed9380271a8b7ee40' }, h(TableFootRow, { key: 'e6b3e957d63914752853bacfd78a18e5edd50eb9' }, h(TableFootCell, { key: 'd1821d41d39bbccc0c0b535a02c490f81c91c634', colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: 'f5e770c21ebfc032d6147d7a49cfaad1cae053a9', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
178
|
-
}
|
|
179
|
-
static get watchers() { return {
|
|
180
|
-
"pagingParams": ["updateOnPropChange"],
|
|
181
|
-
"getPayouts": ["updateOnPropChange"],
|
|
182
|
-
"getSubAccounts": ["updateOnPropChange"]
|
|
183
|
-
}; }
|
|
184
|
-
}, [256, "payouts-list-core", {
|
|
185
|
-
"getPayouts": [16],
|
|
186
|
-
"getSubAccounts": [16],
|
|
187
|
-
"getPayoutCSV": [16],
|
|
188
|
-
"columns": [1],
|
|
189
|
-
"payouts": [32],
|
|
190
|
-
"payoutsTable": [32],
|
|
191
|
-
"subAccounts": [32],
|
|
192
|
-
"loading": [32],
|
|
193
|
-
"errorMessage": [32],
|
|
194
|
-
"paging": [32],
|
|
195
|
-
"pagingParams": [32]
|
|
196
|
-
}, undefined, {
|
|
197
|
-
"pagingParams": ["updateOnPropChange"],
|
|
198
|
-
"getPayouts": ["updateOnPropChange"],
|
|
199
|
-
"getSubAccounts": ["updateOnPropChange"]
|
|
200
|
-
}]);
|
|
201
|
-
function defineCustomElement() {
|
|
202
|
-
if (typeof customElements === "undefined") {
|
|
203
|
-
return;
|
|
204
|
-
}
|
|
205
|
-
const components = ["payouts-list-core", "pagination-menu"];
|
|
206
|
-
components.forEach(tagName => { switch (tagName) {
|
|
207
|
-
case "payouts-list-core":
|
|
208
|
-
if (!customElements.get(tagName)) {
|
|
209
|
-
customElements.define(tagName, PayoutsListCore);
|
|
210
|
-
}
|
|
211
|
-
break;
|
|
212
|
-
case "pagination-menu":
|
|
213
|
-
if (!customElements.get(tagName)) {
|
|
214
|
-
defineCustomElement$1();
|
|
215
|
-
}
|
|
216
|
-
break;
|
|
217
|
-
} });
|
|
218
|
-
}
|
|
219
|
-
defineCustomElement();
|
|
220
|
-
|
|
221
|
-
export { PayoutsListCore as P, defaultColumnsKeys as a, defineCustomElement as d };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface TerminalsListCore extends Components.TerminalsListCore, HTMLElement {}
|
|
4
|
-
export const TerminalsListCore: {
|
|
5
|
-
prototype: TerminalsListCore;
|
|
6
|
-
new (): TerminalsListCore;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,236 +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 { B as Badge, a as BadgeVariant } from './badge.js';
|
|
13
|
-
import { B as tableHeadCell, ah as getAlternateTableCellPart } from './parts.js';
|
|
14
|
-
import { k as capitalFirstLetter } from './utils2.js';
|
|
15
|
-
import { o as onQueryParamsChange, g as getRequestParams } from './terminals-list-params-state.js';
|
|
16
|
-
import { d as defineCustomElement$1 } from './pagination-menu2.js';
|
|
17
|
-
|
|
18
|
-
const MapTerminalStatusToBadge = (status) => {
|
|
19
|
-
const statusToBadgeProps = {
|
|
20
|
-
connected: {
|
|
21
|
-
variant: BadgeVariant.SUCCESS,
|
|
22
|
-
title: 'This terminal is connected',
|
|
23
|
-
text: 'Connected',
|
|
24
|
-
},
|
|
25
|
-
disconnected: {
|
|
26
|
-
variant: BadgeVariant.DANGER,
|
|
27
|
-
title: 'This terminal is disconnected',
|
|
28
|
-
text: 'Disconnected',
|
|
29
|
-
},
|
|
30
|
-
unknown: {
|
|
31
|
-
variant: BadgeVariant.SECONDARY,
|
|
32
|
-
title: 'The status of this terminal is unknown',
|
|
33
|
-
text: 'Unknown',
|
|
34
|
-
},
|
|
35
|
-
pending_configuration: {
|
|
36
|
-
variant: BadgeVariant.WARNING,
|
|
37
|
-
title: 'This terminal is pending configuration',
|
|
38
|
-
text: 'Pending configuration',
|
|
39
|
-
},
|
|
40
|
-
archived: {
|
|
41
|
-
variant: BadgeVariant.SECONDARY,
|
|
42
|
-
title: 'This terminal is archived',
|
|
43
|
-
text: 'Archived',
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
const badgeProps = statusToBadgeProps[status];
|
|
47
|
-
return h(Badge, Object.assign({}, badgeProps));
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
const defaultColumnsKeys = 'nickname,provider_serial_number,status';
|
|
51
|
-
const terminalTableColumns = {
|
|
52
|
-
nickname: () => (h("th", { part: tableHeadCell, scope: "col", title: "The nickname associated with the terminal" }, "Nickname")),
|
|
53
|
-
model_name: () => (h("th", { part: tableHeadCell, scope: "col", title: "The model name of the terminal" }, "Model Name")),
|
|
54
|
-
id: () => (h("th", { part: tableHeadCell, scope: "col", title: "The ID of the terminal" }, "ID")),
|
|
55
|
-
provider: () => (h("th", { part: tableHeadCell, scope: "col", title: "The provider of the terminal" }, "Provider")),
|
|
56
|
-
provider_serial_number: () => (h("th", { part: tableHeadCell, scope: "col", title: "The serial number of the terminal" }, "Serial Number")),
|
|
57
|
-
device_id: () => (h("th", { part: tableHeadCell, scope: "col", title: "The device/provider ID of the terminal" }, "Device ID")),
|
|
58
|
-
sub_account_name: () => (h("th", { part: tableHeadCell, scope: "col", title: "The sub account associated with the terminal" }, "Sub Account")),
|
|
59
|
-
status: () => (h("th", { part: tableHeadCell, scope: "col", title: "The current status of each terminal" }, "Status")),
|
|
60
|
-
};
|
|
61
|
-
const terminalTableCells = {
|
|
62
|
-
nickname: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.nickname)),
|
|
63
|
-
model_name: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.model_name)),
|
|
64
|
-
id: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.id)),
|
|
65
|
-
provider: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, capitalFirstLetter(terminal.provider))),
|
|
66
|
-
provider_serial_number: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.provider_serial_number)),
|
|
67
|
-
device_id: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.provider_id)),
|
|
68
|
-
sub_account_name: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.sub_account_name)),
|
|
69
|
-
status: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, MapTerminalStatusToBadge(terminal.status))),
|
|
70
|
-
};
|
|
71
|
-
|
|
72
|
-
const TerminalsListCore = /*@__PURE__*/ proxyCustomElement(class TerminalsListCore extends HTMLElement {
|
|
73
|
-
constructor(registerHost) {
|
|
74
|
-
super();
|
|
75
|
-
if (registerHost !== false) {
|
|
76
|
-
this.__registerHost();
|
|
77
|
-
}
|
|
78
|
-
this.clickEvent = createEvent(this, "click-event", 7);
|
|
79
|
-
this.errorEvent = createEvent(this, "error-event", 7);
|
|
80
|
-
this.terminals = [];
|
|
81
|
-
this.subAccounts = [];
|
|
82
|
-
this.loading = true;
|
|
83
|
-
this.paging = pagingDefaults;
|
|
84
|
-
this.pagingParams = {};
|
|
85
|
-
this.handleClickPrevious = (beforeCursor) => {
|
|
86
|
-
this.pagingParams = { before_cursor: beforeCursor };
|
|
87
|
-
this.clickEvent.emit({ name: TableClickActions.previous });
|
|
88
|
-
};
|
|
89
|
-
this.handleClickNext = (afterCursor) => {
|
|
90
|
-
this.pagingParams = { after_cursor: afterCursor };
|
|
91
|
-
this.clickEvent.emit({ name: TableClickActions.next });
|
|
92
|
-
};
|
|
93
|
-
this.rowClickHandler = (e) => {
|
|
94
|
-
const clickedTerminalID = e.target.closest('tr').dataset.rowEntityId;
|
|
95
|
-
if (!clickedTerminalID)
|
|
96
|
-
return;
|
|
97
|
-
const terminalData = this.terminals.find((terminal) => terminal.id === clickedTerminalID);
|
|
98
|
-
this.clickEvent.emit({ name: TableClickActions.row, data: terminalData });
|
|
99
|
-
};
|
|
100
|
-
}
|
|
101
|
-
updateOnPropChange() {
|
|
102
|
-
this.fetchData();
|
|
103
|
-
}
|
|
104
|
-
componentWillLoad() {
|
|
105
|
-
this.terminalsTable = new Table(this.terminals, this.columns, terminalTableColumns, terminalTableCells);
|
|
106
|
-
if (this.getTerminals && this.getSubAccounts) {
|
|
107
|
-
this.fetchData();
|
|
108
|
-
}
|
|
109
|
-
onQueryParamsChange('set', () => {
|
|
110
|
-
this.pagingParams = {};
|
|
111
|
-
});
|
|
112
|
-
onQueryParamsChange('reset', () => {
|
|
113
|
-
this.pagingParams = {};
|
|
114
|
-
this.errorMessage = '';
|
|
115
|
-
});
|
|
116
|
-
}
|
|
117
|
-
fetchData() {
|
|
118
|
-
this.loading = true;
|
|
119
|
-
this.getTerminals({
|
|
120
|
-
params: this.terminalParams,
|
|
121
|
-
onSuccess: async ({ terminals, pagingInfo }) => {
|
|
122
|
-
this.terminals = terminals;
|
|
123
|
-
this.paging = pagingInfo;
|
|
124
|
-
this.terminalsTable.collectionData = this.terminals;
|
|
125
|
-
const shouldFetchSubAccounts = this.terminalsTable.columnKeys.includes('sub_account_name');
|
|
126
|
-
if (shouldFetchSubAccounts) {
|
|
127
|
-
await this.fetchSubAccounts();
|
|
128
|
-
}
|
|
129
|
-
else {
|
|
130
|
-
this.loading = false;
|
|
131
|
-
}
|
|
132
|
-
},
|
|
133
|
-
onError: ({ error, code, severity }) => {
|
|
134
|
-
this.errorMessage = error;
|
|
135
|
-
this.errorEvent.emit({
|
|
136
|
-
errorCode: code,
|
|
137
|
-
message: error,
|
|
138
|
-
severity,
|
|
139
|
-
});
|
|
140
|
-
this.loading = false;
|
|
141
|
-
},
|
|
142
|
-
});
|
|
143
|
-
}
|
|
144
|
-
async fetchSubAccounts() {
|
|
145
|
-
this.getSubAccounts({
|
|
146
|
-
params: this.subAccountParams,
|
|
147
|
-
onSuccess: ({ subAccounts }) => {
|
|
148
|
-
this.subAccounts = subAccounts;
|
|
149
|
-
this.terminals = this.terminals.map((terminal) => {
|
|
150
|
-
var _a;
|
|
151
|
-
terminal.sub_account_name = (_a = this.subAccounts.find((subAccount) => subAccount.id === terminal.account_id)) === null || _a === void 0 ? void 0 : _a.name;
|
|
152
|
-
return terminal;
|
|
153
|
-
});
|
|
154
|
-
this.loading = false;
|
|
155
|
-
},
|
|
156
|
-
onError: ({ error, code, severity }) => {
|
|
157
|
-
this.errorMessage = error;
|
|
158
|
-
this.errorEvent.emit({
|
|
159
|
-
errorCode: code,
|
|
160
|
-
message: error,
|
|
161
|
-
severity,
|
|
162
|
-
});
|
|
163
|
-
this.loading = false;
|
|
164
|
-
},
|
|
165
|
-
});
|
|
166
|
-
}
|
|
167
|
-
get terminalParams() {
|
|
168
|
-
const requestParams = getRequestParams();
|
|
169
|
-
const params = Object.assign(Object.assign({}, requestParams), this.pagingParams);
|
|
170
|
-
return params;
|
|
171
|
-
}
|
|
172
|
-
get subAccountParams() {
|
|
173
|
-
let accountIdNumbers = this.terminals.map((terminal) => terminal.account_id);
|
|
174
|
-
let uniqueAccountIds = [...new Set(accountIdNumbers)];
|
|
175
|
-
let accountIdString = uniqueAccountIds.join(',');
|
|
176
|
-
return { sub_account_id: accountIdString };
|
|
177
|
-
}
|
|
178
|
-
get entityId() {
|
|
179
|
-
return this.terminals.map((terminal) => terminal.id);
|
|
180
|
-
}
|
|
181
|
-
get showEmptyState() {
|
|
182
|
-
return !this.loading && !this.errorMessage && this.terminalsTable.rowData.length < 1;
|
|
183
|
-
}
|
|
184
|
-
get showErrorState() {
|
|
185
|
-
return !this.loading && !!this.errorMessage;
|
|
186
|
-
}
|
|
187
|
-
get showRowData() {
|
|
188
|
-
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
189
|
-
}
|
|
190
|
-
render() {
|
|
191
|
-
return (h(TableWrapper, { key: '247655a3f6f3e1f0065bfca813db88febceefad7' }, h(TableComponent, { key: '4ba562f1862cb5ae9cb9a0f2be29d9ddff3f45d8' }, h(TableHead, { key: 'e47c7f2b007075105454c200b80d5263fcbab1fd' }, h(TableHeadRow, { key: '448803e4554e98be3edb30f52fd136a693e536c6' }, this.terminalsTable.columnData.map((column) => column))), h(TableBody, { key: '73923048cf5607aa1fcb9f43b93b76fda3077d71' }, h(TableLoadingState, { key: '3b09f705def14b2c145f14d0d692358431b1f98f', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '4386cd03124e4c0274e5121c09888e988dfd30c8', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: 'a933699155dd46b837a0ceabf7aba828d057a240', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.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: '0c3549e13b76ea577cabcb84628d593a720b2bf4' }, h(TableFootRow, { key: '360fd35d69ba096577e6ba017c7d8b50934cf405' }, h(TableFootCell, { key: 'a563dd980e687fb35fe59c7102dcc3c56c0c69fa', colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: 'db86ccf6bfde5279491631e3e1a0ed2bea28d41d', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
192
|
-
}
|
|
193
|
-
static get watchers() { return {
|
|
194
|
-
"pagingParams": ["updateOnPropChange"],
|
|
195
|
-
"getTerminals": ["updateOnPropChange"],
|
|
196
|
-
"getSubAccounts": ["updateOnPropChange"],
|
|
197
|
-
"columns": ["updateOnPropChange"]
|
|
198
|
-
}; }
|
|
199
|
-
}, [256, "terminals-list-core", {
|
|
200
|
-
"getTerminals": [16],
|
|
201
|
-
"getSubAccounts": [16],
|
|
202
|
-
"columns": [1],
|
|
203
|
-
"terminals": [32],
|
|
204
|
-
"terminalsTable": [32],
|
|
205
|
-
"subAccounts": [32],
|
|
206
|
-
"loading": [32],
|
|
207
|
-
"errorMessage": [32],
|
|
208
|
-
"paging": [32],
|
|
209
|
-
"pagingParams": [32]
|
|
210
|
-
}, undefined, {
|
|
211
|
-
"pagingParams": ["updateOnPropChange"],
|
|
212
|
-
"getTerminals": ["updateOnPropChange"],
|
|
213
|
-
"getSubAccounts": ["updateOnPropChange"],
|
|
214
|
-
"columns": ["updateOnPropChange"]
|
|
215
|
-
}]);
|
|
216
|
-
function defineCustomElement() {
|
|
217
|
-
if (typeof customElements === "undefined") {
|
|
218
|
-
return;
|
|
219
|
-
}
|
|
220
|
-
const components = ["terminals-list-core", "pagination-menu"];
|
|
221
|
-
components.forEach(tagName => { switch (tagName) {
|
|
222
|
-
case "terminals-list-core":
|
|
223
|
-
if (!customElements.get(tagName)) {
|
|
224
|
-
customElements.define(tagName, TerminalsListCore);
|
|
225
|
-
}
|
|
226
|
-
break;
|
|
227
|
-
case "pagination-menu":
|
|
228
|
-
if (!customElements.get(tagName)) {
|
|
229
|
-
defineCustomElement$1();
|
|
230
|
-
}
|
|
231
|
-
break;
|
|
232
|
-
} });
|
|
233
|
-
}
|
|
234
|
-
defineCustomElement();
|
|
235
|
-
|
|
236
|
-
export { TerminalsListCore as T, defaultColumnsKeys as a, defineCustomElement as d };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import { Business } from '../../api/Business';
|
|
3
|
-
import { ComponentErrorEvent } from '../../api/ComponentEvents';
|
|
4
|
-
declare enum RENDER_STATES {
|
|
5
|
-
LOADING = "loading",
|
|
6
|
-
READY = "ready",
|
|
7
|
-
ERROR = "error"
|
|
8
|
-
}
|
|
9
|
-
export declare class BusinessDetailsCore {
|
|
10
|
-
getBusiness: Function;
|
|
11
|
-
business: Business;
|
|
12
|
-
renderState: RENDER_STATES;
|
|
13
|
-
errorMessage: string;
|
|
14
|
-
errorEvent: EventEmitter<ComponentErrorEvent>;
|
|
15
|
-
componentWillLoad(): Promise<void>;
|
|
16
|
-
fetchData(): void;
|
|
17
|
-
render(): any;
|
|
18
|
-
}
|
|
19
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import { Payment, PaymentStatuses } from '../../api';
|
|
3
|
-
import { ComponentErrorEvent } from '../../api/ComponentEvents';
|
|
4
|
-
import { PaymentStatusBadge } from '../payments-list/payments-status';
|
|
5
|
-
export declare class PaymentDetailsCore {
|
|
6
|
-
getPaymentDetails: Function;
|
|
7
|
-
payment: Payment;
|
|
8
|
-
loading: boolean;
|
|
9
|
-
errorMessage: string;
|
|
10
|
-
errorEvent: EventEmitter<ComponentErrorEvent>;
|
|
11
|
-
componentWillLoad(): void;
|
|
12
|
-
updateOnPropChange(): void;
|
|
13
|
-
fetchData(): void;
|
|
14
|
-
get PaymentStatus(): PaymentStatuses | PaymentStatusBadge.DISPUTE_LOST;
|
|
15
|
-
render(): any;
|
|
16
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import { PagingInfo, Payment } from '../../api';
|
|
3
|
-
import { Table } from '../../utils/table';
|
|
4
|
-
import { ComponentClickEvent, ComponentErrorEvent } from '../../api/ComponentEvents';
|
|
5
|
-
export declare class PaymentsListCore {
|
|
6
|
-
getPayments: Function;
|
|
7
|
-
columns: string;
|
|
8
|
-
payments: Payment[];
|
|
9
|
-
paymentsTable: Table<Payment>;
|
|
10
|
-
loading: boolean;
|
|
11
|
-
errorMessage: string;
|
|
12
|
-
paging: PagingInfo;
|
|
13
|
-
pagingParams: any;
|
|
14
|
-
updateOnPropChange(): void;
|
|
15
|
-
clickEvent: EventEmitter<ComponentClickEvent>;
|
|
16
|
-
errorEvent: EventEmitter<ComponentErrorEvent>;
|
|
17
|
-
componentWillLoad(): void;
|
|
18
|
-
fetchData(): void;
|
|
19
|
-
handleClickPrevious: (beforeCursor: string) => void;
|
|
20
|
-
handleClickNext: (afterCursor: string) => void;
|
|
21
|
-
rowClickHandler: (e: any) => void;
|
|
22
|
-
get paymentParams(): any;
|
|
23
|
-
get entityId(): string[];
|
|
24
|
-
get showEmptyState(): boolean;
|
|
25
|
-
get showErrorState(): boolean;
|
|
26
|
-
get showRowData(): boolean;
|
|
27
|
-
render(): any;
|
|
28
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import { Payout } from '../../api';
|
|
3
|
-
import { ComponentErrorEvent, RecordClickEvent } from '../../api/ComponentEvents';
|
|
4
|
-
export declare class PayoutDetailsCore {
|
|
5
|
-
getPayout: Function;
|
|
6
|
-
getPayoutCSV: Function;
|
|
7
|
-
enableRecordClick: boolean;
|
|
8
|
-
payout: Payout;
|
|
9
|
-
loading: boolean;
|
|
10
|
-
errorMessage: string;
|
|
11
|
-
errorEvent: EventEmitter<ComponentErrorEvent>;
|
|
12
|
-
recordClickEvent: EventEmitter<RecordClickEvent>;
|
|
13
|
-
componentWillLoad(): void;
|
|
14
|
-
getPayoutWatcher(): void;
|
|
15
|
-
fetchData(): void;
|
|
16
|
-
downloadCSV: () => void;
|
|
17
|
-
formatMethod(deliveryMethod: string): string;
|
|
18
|
-
handleRecordClick: (id: string) => void;
|
|
19
|
-
render(): any;
|
|
20
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import { PagingInfo, Payout, SubAccount } from '../../api';
|
|
3
|
-
import { Table } from '../../utils/table';
|
|
4
|
-
import { ComponentClickEvent, ComponentErrorEvent } from '../../api/ComponentEvents';
|
|
5
|
-
export declare class PayoutsListCore {
|
|
6
|
-
getPayouts: Function;
|
|
7
|
-
getSubAccounts: Function;
|
|
8
|
-
getPayoutCSV: Function;
|
|
9
|
-
columns: string;
|
|
10
|
-
payouts: Payout[];
|
|
11
|
-
payoutsTable: Table<Payout>;
|
|
12
|
-
subAccounts: SubAccount[];
|
|
13
|
-
loading: boolean;
|
|
14
|
-
errorMessage: string;
|
|
15
|
-
paging: PagingInfo;
|
|
16
|
-
pagingParams: any;
|
|
17
|
-
updateOnPropChange(): void;
|
|
18
|
-
clickEvent: EventEmitter<ComponentClickEvent>;
|
|
19
|
-
errorEvent: EventEmitter<ComponentErrorEvent>;
|
|
20
|
-
componentWillLoad(): void;
|
|
21
|
-
fetchData(): void;
|
|
22
|
-
fetchSubAccounts(): Promise<void>;
|
|
23
|
-
downloadCSV: (payoutId: string) => void;
|
|
24
|
-
handleClickPrevious: (beforeCursor: string) => void;
|
|
25
|
-
handleClickNext: (afterCursor: string) => void;
|
|
26
|
-
rowClickHandler: (e: any) => void;
|
|
27
|
-
get payoutParams(): any;
|
|
28
|
-
get subAccountParams(): {
|
|
29
|
-
sub_account_id: string;
|
|
30
|
-
};
|
|
31
|
-
get entityId(): string[];
|
|
32
|
-
get showEmptyState(): boolean;
|
|
33
|
-
get showErrorState(): boolean;
|
|
34
|
-
get showRowData(): boolean;
|
|
35
|
-
render(): any;
|
|
36
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import { PagingInfo, SubAccount, Terminal } from '../../api';
|
|
3
|
-
import { Table } from '../../utils/table';
|
|
4
|
-
import { ComponentClickEvent, ComponentErrorEvent } from '../../api/ComponentEvents';
|
|
5
|
-
export declare class TerminalsListCore {
|
|
6
|
-
getTerminals: Function;
|
|
7
|
-
getSubAccounts: Function;
|
|
8
|
-
columns: string;
|
|
9
|
-
terminals: Terminal[];
|
|
10
|
-
terminalsTable: Table<Terminal>;
|
|
11
|
-
subAccounts: SubAccount[];
|
|
12
|
-
loading: boolean;
|
|
13
|
-
errorMessage: string;
|
|
14
|
-
paging: PagingInfo;
|
|
15
|
-
pagingParams: any;
|
|
16
|
-
updateOnPropChange(): void;
|
|
17
|
-
clickEvent: EventEmitter<ComponentClickEvent>;
|
|
18
|
-
errorEvent: EventEmitter<ComponentErrorEvent>;
|
|
19
|
-
componentWillLoad(): void;
|
|
20
|
-
fetchData(): void;
|
|
21
|
-
fetchSubAccounts(): Promise<void>;
|
|
22
|
-
handleClickPrevious: (beforeCursor: string) => void;
|
|
23
|
-
handleClickNext: (afterCursor: string) => void;
|
|
24
|
-
rowClickHandler: (e: any) => void;
|
|
25
|
-
get terminalParams(): any;
|
|
26
|
-
get subAccountParams(): {
|
|
27
|
-
sub_account_id: string;
|
|
28
|
-
};
|
|
29
|
-
get entityId(): string[];
|
|
30
|
-
get showEmptyState(): boolean;
|
|
31
|
-
get showErrorState(): boolean;
|
|
32
|
-
get showRowData(): boolean;
|
|
33
|
-
render(): any;
|
|
34
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t}from"./p-CV0Pyo1O.js";import{r as a}from"./p-D50Rx76J.js";import{S as o}from"./p-BqNNwq6C.js";import"./p-CZfYo5-1.js";const s=class{constructor(t){e(this,t)}render(){return t(o,{key:"cdf49c9446ea5fd6316523ecaf4f0f14be644e71",class:"payment-method"},t("div",{key:"7de753f710389cbbb1d604ca5af97e1dfc5af2af",class:"radio-list-item p-3",part:a,onClick:this.clickHandler,hidden:this.radioButtonHidden},t("form-control-radio",{key:"7a3bb855c441031d7685aa23212cc471947108ec",name:"paymentMethodType",value:this.paymentMethodOptionId,checked:this.isSelected,label:this.label})))}};export{s as payment_method_option}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as s,h as i}from"./p-CV0Pyo1O.js";import{h as r,C as o,a as e}from"./p-CprMk6Bv.js";import{J as a}from"./p-C7SCfFA7.js";import{c as n}from"./p-D4DAh8XF.js";import{T as p}from"./p-C2h_HoOZ.js";import"./p-DVJaoI_m.js";import"./p-HXpYMWUU.js";import"./p-CLHwhyvu.js";import"./p-BcNb9bVO.js";import"./p-BH0Xfn-F.js";import{g as h,a as c}from"./p-xSaSp1Jy.js";import{m,S as d}from"./p-DU2RAZiD.js";import{S as l}from"./p-BqNNwq6C.js";import"./p-CZfYo5-1.js";import{d as u}from"./p-C95_YBmG.js";import"./p-CTwm3w6I.js";import"./p-DbJ8_F44.js";import"./p-CEnTtUmd.js";import"./p-D8GTwl9v.js";import"./p-Da4efjxw.js";import"./p-D50Rx76J.js";const j=class{constructor(i){t(this,i),this.errorEvent=s(this,"error-event",7),this.errorMessage=null,this.columns=u,this.handleErrorEvent=t=>{this.errorMessage=t.detail.message,this.errorEvent.emit(t.detail)}}componentWillLoad(){n(),this.analytics=new a(this),this.initializeGetData()}disconnectedCallback(){var t;null===(t=this.analytics)||void 0===t||t.cleanup()}propChanged(){this.initializeGetData()}initializeGetData(){this.initializeGetTerminals(),this.initializeGetSubAccounts()}initializeGetTerminals(){this.accountId&&this.authToken?this.getTerminals=(({id:t,authToken:s,service:i})=>async({params:e,onSuccess:a,onError:n})=>{var p,m;try{const d=await i.fetchTerminals(t,s,e);if(d.error)return n({error:c(d.error),code:h(null===(m=d.error)||void 0===m?void 0:m.code),severity:o.ERROR});{const t=Object.assign({},d.page_info);a({terminals:(null===(p=d.data)||void 0===p?void 0:p.map((t=>new r(t))))||[],pagingInfo:t})}}catch(t){const s=h(null==t?void 0:t.code);return n({error:t.message||t,code:s,severity:o.ERROR})}})({id:this.accountId,authToken:this.authToken,service:new p}):(this.errorMessage="Account ID and Auth Token are required",this.errorEvent.emit({errorCode:e.MISSING_PROPS,message:this.errorMessage,severity:o.ERROR}))}initializeGetSubAccounts(){this.accountId&&this.authToken&&(this.getSubAccounts=m({primaryAccountId:this.accountId,authToken:this.authToken,service:new d}))}render(){return i(l,{key:"136c4d4140fd6c4432622d71147930079ca7b0ba"},i("terminals-list-core",{key:"0964a457efcdd5ba9c02464ab4ac19e247a35b49",getTerminals:this.getTerminals,getSubAccounts:this.getSubAccounts,"onError-event":this.handleErrorEvent,columns:this.columns}))}static get watchers(){return{accountId:["propChanged"],authToken:["propChanged"]}}};export{j as justifi_terminals_list}
|