@justifi/webcomponents 6.1.0-rc.2 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/cjs/{Api-CwTLkFY4.js → Api-CjtvTD2_.js} +2 -2
- package/dist/cjs/{Refund-BPSBtjQC.js → Refund-BnhHNKLz.js} +4 -3
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +14 -13
- package/dist/cjs/{badge-BmOSt4gS.js → badge-CE3ss_OU.js} +2 -2
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +12 -12
- package/dist/cjs/bank-account-form.cjs.entry.js +8 -8
- package/dist/cjs/{business-additional-questions-schema-DNbSH3E-.js → business-additional-questions-schema-b8P-0T0O.js} +2 -2
- package/dist/cjs/business-details-core.cjs.entry.js +5 -5
- package/dist/cjs/{business-identity-schema-CclzWSOn.js → business-identity-schema-aFUle0C9.js} +2 -2
- package/dist/cjs/{business.service-Dkhqyggm.js → business.service-Cj_NUZsr.js} +2 -2
- package/dist/cjs/{button-7c2RN2yp.js → button-gPNZ9XRn.js} +2 -2
- package/dist/cjs/card-form.cjs.entry.js +8 -8
- package/dist/cjs/{check-pkg-version-DUDlLDCJ.js → check-pkg-version-C7b-OLb5.js} +3 -3
- package/dist/cjs/{checkout.service-LwZVVgP5.js → checkout.service-Bc8L9ixO.js} +2 -2
- package/dist/cjs/{checkout.store-C3f3E24L.js → checkout.store-Bswr7kNY.js} +6 -3
- package/dist/cjs/checkouts-list-core.cjs.entry.js +12 -12
- package/dist/cjs/{payments-list-params-state-C4c8UZtP.js → checkouts-list-params-state-BYpq-c6X.js} +1 -1
- package/dist/cjs/{checkouts-table-BQUhZZd_.js → checkouts-table-C5AHeIr0.js} +4 -4
- package/dist/cjs/{config-state-B_gyIchD.js → config-state-C7babhLh.js} +1 -1
- package/dist/cjs/custom-popper_2.cjs.entry.js +4 -4
- package/dist/cjs/{dispute.service-927Gzb0N.js → dispute.service-DhO_tuDc.js} +2 -2
- package/dist/cjs/form-alert_5.cjs.entry.js +6 -6
- package/dist/cjs/form-control-checkbox.cjs.entry.js +6 -6
- package/dist/cjs/form-control-date.cjs.entry.js +5 -5
- package/dist/cjs/{form-control-error-text-DD0dHGu8.js → form-control-error-text-BnMWn8U_.js} +2 -2
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +6 -6
- package/dist/cjs/{form-control-help-text-2QwKi78M.js → form-control-help-text-DEi5vSjN.js} +2 -2
- package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +6 -6
- package/dist/cjs/form-control-monetary.cjs.entry.js +7 -7
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +6 -6
- package/dist/cjs/form-control-number.cjs.entry.js +6 -6
- package/dist/cjs/form-control-radio.cjs.entry.js +4 -4
- package/dist/cjs/form-control-select_2.cjs.entry.js +7 -7
- package/dist/cjs/{get-payment-details-BSxp1HX0.js → get-payment-details-BinT-ZEP.js} +2 -2
- package/dist/cjs/{get-subaccounts-B31f95PR.js → get-subaccounts-BoTVdl7v.js} +3 -3
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +26 -17
- package/dist/cjs/{header-1-DMsp0XM7.js → header-1-D3r87SC6.js} +2 -2
- package/dist/cjs/{header-3-BSvFq_IF.js → header-3-BFQJJgBb.js} +2 -2
- package/dist/cjs/hidden-input_2.cjs.entry.js +9 -9
- package/dist/cjs/{index-Dyzl8Hn6.js → index-Bhtk1qkX.js} +46 -32
- package/dist/cjs/{index-D1Ba20gi.js → index-CWM5ions.js} +1 -1
- package/dist/cjs/{index.esm-BleZSAc0.js → index.esm-ByC0D4sJ.js} +18 -17
- package/dist/cjs/{insurance-state-uWOl6jJN.js → insurance-state-JbqYvJN3.js} +3 -3
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +12 -12
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +19 -19
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +11 -11
- package/dist/cjs/{justifi-checkout-summary_7.cjs.entry.js → justifi-apple-pay_8.cjs.entry.js} +896 -25
- package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +28 -28
- package/dist/cjs/justifi-business-details.cjs.entry.js +11 -11
- package/dist/cjs/justifi-business-form.cjs.entry.js +18 -18
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +3 -3
- package/dist/cjs/justifi-checkout.cjs.entry.js +18 -15
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +9 -9
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +15 -15
- package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
- package/dist/cjs/justifi-details.cjs.entry.js +4 -4
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +10 -10
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +16 -16
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +10 -10
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +14 -14
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +15 -15
- package/dist/cjs/justifi-payment-details.cjs.entry.js +20 -13
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +5 -5
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +14 -14
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payments-list.cjs.entry.js +15 -15
- package/dist/cjs/justifi-payout-details.cjs.entry.js +13 -12
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +14 -14
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +16 -16
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +15 -15
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +3 -3
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +13 -13
- package/dist/cjs/justifi-skeleton.cjs.entry.js +5 -5
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +10 -10
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +13 -13
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +11 -10
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +15 -15
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{package-CFCy2fBx.js → package-BHmdO9eK.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +5 -5
- package/dist/cjs/{parts-9jMf1erK.js → parts-Pb06tUMp.js} +2 -0
- package/dist/cjs/payment-details-core.cjs.entry.js +34 -16
- package/dist/cjs/payment-method-option.cjs.entry.js +4 -4
- package/dist/cjs/{payment.service-DUq-W7tS.js → payment.service-C9thkR4g.js} +2 -2
- package/dist/cjs/payments-list-core.cjs.entry.js +13 -13
- package/dist/cjs/{payouts-list-params-state-C4c8UZtP.js → payments-list-params-state-BYpq-c6X.js} +1 -1
- package/dist/cjs/{payments-status-3iIQkoov.js → payments-status-CnNXcRLO.js} +21 -3
- package/dist/cjs/{payments-table-BSHUQhM-.js → payments-table-BGuCOPTJ.js} +25 -5
- package/dist/cjs/payout-details-core.cjs.entry.js +25 -12
- package/dist/cjs/{payout.service-DoKMr8Xw.js → payout.service-CGZxpQMq.js} +2 -2
- package/dist/cjs/payouts-list-core.cjs.entry.js +13 -13
- package/dist/cjs/{terminal-orders-list-params-state-C4c8UZtP.js → payouts-list-params-state-BYpq-c6X.js} +1 -1
- package/dist/cjs/{payouts-status-DoQbxIms.js → payouts-status-2na6MMgV.js} +2 -2
- package/dist/cjs/{payouts-table-BD_Fhz_j.js → payouts-table-DXekpbYc.js} +4 -4
- package/dist/cjs/{schema-validations-jek_iZ9W.js → schema-validations-Bj7eYNO8.js} +1 -1
- package/dist/cjs/{skeleton-CuIMC98G.js → skeleton-BvdAh448.js} +2 -2
- package/dist/cjs/{spinner-CMZXdrPe.js → spinner-Rt52JMa2.js} +2 -2
- package/dist/cjs/{styled-host-2KXbjOFw.js → styled-host-BSooSIhA.js} +1 -1
- package/dist/cjs/{table-DlQCUVag.js → table-Ccg4k90C.js} +3 -3
- package/dist/cjs/table-filters-menu.cjs.entry.js +4 -4
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +12 -12
- package/dist/cjs/{checkouts-list-params-state-C4c8UZtP.js → terminal-orders-list-params-state-BYpq-c6X.js} +1 -1
- package/dist/cjs/{terminal-orders-table-t6XxNy_K.js → terminal-orders-table-7ew1vCKk.js} +6 -6
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +3 -3
- package/dist/cjs/{terminal.service-Iyje71vN.js → terminal.service-BkKxH-k4.js} +2 -2
- package/dist/cjs/terminals-list-core.cjs.entry.js +12 -12
- package/dist/cjs/terminals-list-params-state-BYpq-c6X.js +22 -0
- package/dist/cjs/{terminals-table-BTdKRiBN.js → terminals-table-ByYs-pH7.js} +9 -4
- package/dist/cjs/{utils-ChCUZgUy.js → utils-Bab-tddY.js} +4 -0
- package/dist/cjs/{utils-FFP5ZHyE.js → utils-CUcA4G_O.js} +5 -5
- package/dist/cjs/webcomponents.cjs.js +3 -3
- package/dist/collection/api/Terminal.js +1 -0
- package/dist/collection/api/services/apple-pay.service.js +3 -0
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +1 -2
- package/dist/collection/components/business-details/business-details-core.js +0 -1
- package/dist/collection/components/business-details/business-details.js +4 -4
- package/dist/collection/components/business-details/core-info-details/core-info-details.js +0 -1
- package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +0 -1
- package/dist/collection/components/business-details/owner-details/owner-details.js +9 -9
- package/dist/collection/components/business-details/representative-details/representative-details.js +1 -2
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +6 -7
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +1 -2
- package/dist/collection/components/business-forms/business-form/business-form.js +7 -7
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +6 -7
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +6 -7
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +5 -6
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +11 -15
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +10 -11
- package/dist/collection/components/business-forms/owner-form/owner-form.js +13 -14
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +2 -4
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +7 -7
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +3 -5
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +7 -8
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +4 -7
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +7 -7
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-documents-on-file.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +4 -6
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +7 -7
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +6 -8
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +7 -7
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +5 -6
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +2 -4
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +7 -7
- package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +15 -16
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +2 -4
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +7 -7
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +8 -10
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +9 -11
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +8 -10
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +7 -7
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +7 -7
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
- package/dist/collection/components/checkout/billing-form/billing-form.js +11 -10
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/checkout.js +17 -16
- package/dist/collection/components/checkout/save-new-payment-method.js +2 -2
- package/dist/collection/components/checkout/saved-payment-method.js +3 -4
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +3 -5
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +5 -5
- package/dist/collection/components/checkouts-list/checkouts-list.js +6 -6
- package/dist/collection/components/config-provider/config-provider.js +3 -3
- package/dist/collection/components/dispute-management/dispute-management-core.js +5 -6
- package/dist/collection/components/dispute-management/dispute-management.js +5 -5
- package/dist/collection/components/dispute-management/dispute-notification.js +5 -6
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +4 -4
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +4 -4
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +4 -4
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +2 -5
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +6 -7
- package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +4 -4
- package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +4 -4
- package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +4 -4
- package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +4 -4
- package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +4 -4
- package/dist/collection/components/filters/table-filters-menu.js +3 -4
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -2
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +4 -4
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +26 -26
- package/dist/collection/components/modular-checkout/modular-checkout.js +14 -12
- package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +57 -10
- package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +3 -3
- package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/billing-form-full.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +3 -3
- package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +9 -10
- package/dist/collection/components/modular-checkout/sub-components/sezzle-payment-method.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
- package/dist/collection/components/order-terminals/order-terminals.js +9 -9
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +10 -10
- package/dist/collection/components/payment-details/payment-details-core.js +19 -10
- package/dist/collection/components/payment-details/payment-details.js +32 -5
- package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +6 -6
- package/dist/collection/components/payments-list/payments-list-core.js +3 -4
- package/dist/collection/components/payments-list/payments-list-filters.js +12 -12
- package/dist/collection/components/payments-list/payments-list.js +6 -6
- package/dist/collection/components/payments-list/payments-status.js +19 -1
- package/dist/collection/components/payments-list/payments-table.js +21 -1
- package/dist/collection/components/payout-details/payout-details-core.js +57 -6
- package/dist/collection/components/payout-details/payout-details.js +26 -5
- package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +6 -6
- package/dist/collection/components/payouts-list/payouts-list-core.js +3 -6
- package/dist/collection/components/payouts-list/payouts-list-filters.js +6 -6
- package/dist/collection/components/payouts-list/payouts-list.js +6 -6
- package/dist/collection/components/refund-payment/refund-payment.js +7 -7
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +3 -4
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +10 -10
- package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +6 -6
- package/dist/collection/components/terminals-list/terminals-list-core.js +3 -5
- package/dist/collection/components/terminals-list/terminals-list-filters.js +10 -9
- package/dist/collection/components/terminals-list/terminals-list.js +6 -6
- package/dist/collection/components/terminals-list/terminals-status.js +5 -0
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +23 -22
- package/dist/collection/store/checkout.store.js +5 -2
- package/dist/collection/styles/parts.js +1 -1
- package/dist/collection/ui-components/apple-pay-button.js +6 -8
- package/dist/collection/ui-components/custom-popper/custom-popper.js +5 -7
- package/dist/collection/ui-components/details/details.js +3 -3
- package/dist/collection/ui-components/details/utils.js +4 -4
- package/dist/collection/ui-components/form/form-control-checkbox.js +14 -15
- package/dist/collection/ui-components/form/form-control-date.js +17 -18
- package/dist/collection/ui-components/form/form-control-file-v2.js +13 -14
- package/dist/collection/ui-components/form/form-control-file.js +16 -17
- package/dist/collection/ui-components/form/form-control-monetary.js +15 -17
- package/dist/collection/ui-components/form/form-control-number-masked.js +16 -17
- package/dist/collection/ui-components/form/form-control-number.js +14 -15
- package/dist/collection/ui-components/form/form-control-radio.js +16 -17
- package/dist/collection/ui-components/form/form-control-select.js +14 -16
- package/dist/collection/ui-components/form/form-control-text.js +16 -18
- package/dist/collection/ui-components/form/form-control-textarea.js +16 -18
- package/dist/collection/ui-components/form/form-helpers/form-alert/form-alert.js +4 -4
- package/dist/collection/ui-components/form/form-helpers/form-control-help-text/form-control-help-text.js +4 -4
- package/dist/collection/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +9 -9
- package/dist/collection/ui-components/pagination-menu/pagination-menu.js +3 -5
- package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +13 -14
- package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +6 -6
- package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +11 -11
- package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +9 -10
- package/dist/collection/utils/utils.js +4 -0
- package/dist/docs.json +275 -108
- package/dist/esm/{Api-D4tj-h4P.js → Api-DhiA2e_P.js} +2 -2
- package/dist/esm/{Refund-Bc5By0lb.js → Refund-B-iOTRxz.js} +3 -2
- package/dist/esm/additional-questions-details_5.entry.js +14 -13
- package/dist/esm/{badge-ChwzCNAF.js → badge-CtdO-tEY.js} +2 -2
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +12 -12
- package/dist/esm/bank-account-form.entry.js +8 -8
- package/dist/esm/{business-additional-questions-schema-C6NRHWEL.js → business-additional-questions-schema-9FAJSx_D.js} +2 -2
- package/dist/esm/business-details-core.entry.js +5 -5
- package/dist/esm/{business-identity-schema-D8n5dyLX.js → business-identity-schema-CDJzknbg.js} +2 -2
- package/dist/esm/{business.service-CsbtEDNi.js → business.service-D55OVyco.js} +2 -2
- package/dist/esm/{button-SAIS_5os.js → button-DtTaQHMK.js} +2 -2
- package/dist/esm/card-form.entry.js +8 -8
- package/dist/esm/{check-pkg-version-B_Pl1uAE.js → check-pkg-version-xM0uWxbL.js} +3 -3
- package/dist/esm/{checkout.service-BCkQ9pOA.js → checkout.service-fwbqSq8g.js} +2 -2
- package/dist/esm/{checkout.store-DBvS7cVB.js → checkout.store-4nUf2OuT.js} +6 -3
- package/dist/esm/checkouts-list-core.entry.js +12 -12
- package/dist/esm/{checkouts-list-params-state-C2_GlMKR.js → checkouts-list-params-state-C_fug9R3.js} +1 -1
- package/dist/esm/{checkouts-table-CItEo0DU.js → checkouts-table-B6gGDtOr.js} +4 -4
- package/dist/esm/{config-state-Blo0ywwc.js → config-state-DiHV-4QK.js} +1 -1
- package/dist/esm/custom-popper_2.entry.js +4 -4
- package/dist/esm/{dispute.service-CyLtJREK.js → dispute.service-Cdq3_yRo.js} +2 -2
- package/dist/esm/form-alert_5.entry.js +6 -6
- package/dist/esm/form-control-checkbox.entry.js +6 -6
- package/dist/esm/form-control-date.entry.js +5 -5
- package/dist/esm/{form-control-error-text-IXJJ4JpV.js → form-control-error-text-bprS-t9d.js} +2 -2
- package/dist/esm/form-control-file-v2_2.entry.js +6 -6
- package/dist/esm/{form-control-help-text-CuhIsM3v.js → form-control-help-text-Bvnp-IAG.js} +2 -2
- package/dist/esm/form-control-help-text.entry.js +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +6 -6
- package/dist/esm/form-control-monetary.entry.js +7 -7
- package/dist/esm/form-control-number-masked_2.entry.js +6 -6
- package/dist/esm/form-control-number.entry.js +6 -6
- package/dist/esm/form-control-radio.entry.js +4 -4
- package/dist/esm/form-control-select_2.entry.js +7 -7
- package/dist/esm/{get-payment-details-BuT0QNOo.js → get-payment-details-sGoWyAat.js} +2 -2
- package/dist/esm/{get-subaccounts-VjY6-x_9.js → get-subaccounts-BsJSlShO.js} +3 -3
- package/dist/esm/gross-payment-chart-core.entry.js +26 -17
- package/dist/esm/{header-1-zXsamUS3.js → header-1-C1Hnxki8.js} +2 -2
- package/dist/esm/{header-3-DVtaUAlf.js → header-3-Bq8fpjm-.js} +2 -2
- package/dist/esm/hidden-input_2.entry.js +9 -9
- package/dist/esm/{index-ZfXl6Xrm.js → index-DJ9G-4S-.js} +1 -1
- package/dist/esm/{index-qipqIMyC.js → index-DOjVAAtq.js} +46 -32
- package/dist/esm/{index.esm-cYgKOXtz.js → index.esm-IWS0494Y.js} +18 -17
- package/dist/esm/{insurance-state-Dh9f36Qh.js → insurance-state-CVme82j7.js} +3 -3
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +12 -12
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +19 -19
- package/dist/esm/justifi-additional-statement_8.entry.js +11 -11
- package/dist/esm/{justifi-checkout-summary_7.entry.js → justifi-apple-pay_8.entry.js} +896 -26
- package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +28 -28
- package/dist/esm/justifi-business-details.entry.js +11 -11
- package/dist/esm/justifi-business-form.entry.js +18 -18
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +3 -3
- package/dist/esm/justifi-checkout.entry.js +18 -15
- package/dist/esm/justifi-checkouts-list-filters.entry.js +9 -9
- package/dist/esm/justifi-checkouts-list.entry.js +15 -15
- package/dist/esm/justifi-config-provider.entry.js +3 -3
- package/dist/esm/justifi-details.entry.js +4 -4
- package/dist/esm/justifi-dispute-management-core.entry.js +2 -2
- package/dist/esm/justifi-dispute-management.entry.js +10 -10
- package/dist/esm/justifi-dispute-notification_3.entry.js +16 -16
- package/dist/esm/justifi-gross-payment-chart.entry.js +10 -10
- package/dist/esm/justifi-order-terminals.entry.js +14 -14
- package/dist/esm/justifi-owner-form_3.entry.js +15 -15
- package/dist/esm/justifi-payment-details.entry.js +20 -13
- package/dist/esm/justifi-payment-provisioning-core.entry.js +5 -5
- package/dist/esm/justifi-payment-provisioning.entry.js +10 -10
- package/dist/esm/justifi-payment-transactions-list.entry.js +14 -14
- package/dist/esm/justifi-payments-list-filters.entry.js +8 -8
- package/dist/esm/justifi-payments-list.entry.js +15 -15
- package/dist/esm/justifi-payout-details.entry.js +13 -12
- package/dist/esm/justifi-payout-transactions-list.entry.js +14 -14
- package/dist/esm/justifi-payouts-list-filters.entry.js +8 -8
- package/dist/esm/justifi-payouts-list.entry.js +16 -16
- package/dist/esm/justifi-refund-payment.entry.js +15 -15
- package/dist/esm/justifi-saved-payment-method.entry.js +3 -3
- package/dist/esm/justifi-season-interruption-insurance.entry.js +13 -13
- package/dist/esm/justifi-skeleton.entry.js +5 -5
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +10 -10
- package/dist/esm/justifi-terminal-orders-list.entry.js +13 -13
- package/dist/esm/justifi-terminals-list-filters.entry.js +11 -10
- package/dist/esm/justifi-terminals-list.entry.js +15 -15
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{package-pXjOPQhG.js → package-DL-q4EcN.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +5 -5
- package/dist/esm/{parts-RvUQ__Pq.js → parts-xDbRW9xn.js} +2 -1
- package/dist/esm/payment-details-core.entry.js +34 -16
- package/dist/esm/payment-method-option.entry.js +4 -4
- package/dist/esm/{payment.service-QJEmd6Nl.js → payment.service-BoQ1MW1k.js} +2 -2
- package/dist/esm/payments-list-core.entry.js +13 -13
- package/dist/esm/{payments-list-params-state-C2_GlMKR.js → payments-list-params-state-C_fug9R3.js} +1 -1
- package/dist/esm/{payments-status-DDafc8Yr.js → payments-status-cvtVmtY5.js} +22 -4
- package/dist/esm/{payments-table-De3Jb6rY.js → payments-table-D_BlyU1F.js} +25 -5
- package/dist/esm/payout-details-core.entry.js +25 -12
- package/dist/esm/{payout.service-XxyEr0rj.js → payout.service-xcBdom3q.js} +2 -2
- package/dist/esm/payouts-list-core.entry.js +13 -13
- package/dist/esm/{payouts-list-params-state-C2_GlMKR.js → payouts-list-params-state-C_fug9R3.js} +1 -1
- package/dist/esm/{payouts-status-u1eSRz3Q.js → payouts-status-D-vjrqBb.js} +2 -2
- package/dist/esm/{payouts-table-BO-MCzXj.js → payouts-table-Clj8YGLV.js} +4 -4
- package/dist/esm/{schema-validations-DcR1ujuX.js → schema-validations-B9dmY7ME.js} +1 -1
- package/dist/esm/{skeleton-DtpkgjZ6.js → skeleton-B8EUwt4b.js} +2 -2
- package/dist/esm/{spinner-CIXUVK4F.js → spinner-CYXkn1fh.js} +2 -2
- package/dist/esm/{styled-host-CbizlfAU.js → styled-host-OalOsPBp.js} +1 -1
- package/dist/esm/{table-DcRHK_sm.js → table-Bj20uWfu.js} +3 -3
- package/dist/esm/table-filters-menu.entry.js +4 -4
- package/dist/esm/terminal-orders-list-core.entry.js +12 -12
- package/dist/esm/{terminal-orders-list-params-state-C2_GlMKR.js → terminal-orders-list-params-state-C_fug9R3.js} +1 -1
- package/dist/esm/{terminal-orders-table-9nsnrAq8.js → terminal-orders-table-DzBpIW8i.js} +6 -6
- package/dist/esm/terminal-quantity-selector.entry.js +3 -3
- package/dist/esm/{terminal.service-D2oETGnk.js → terminal.service-l6zTIPZ3.js} +2 -2
- package/dist/esm/terminals-list-core.entry.js +12 -12
- package/dist/esm/terminals-list-params-state-C_fug9R3.js +16 -0
- package/dist/esm/{terminals-table-C6NO2m-t.js → terminals-table-BMS5tazC.js} +9 -4
- package/dist/esm/{utils-BscIVFn8.js → utils-BOijEGPV.js} +4 -1
- package/dist/esm/{utils-_ckvHjSW.js → utils-DRwofES0.js} +5 -5
- package/dist/esm/webcomponents.js +4 -4
- package/dist/module/Refund.js +2 -1
- package/dist/module/additional-questions-details2.js +2 -2
- package/dist/module/additional-questions.js +2 -2
- package/dist/module/additional-statement.js +2 -2
- package/dist/{esm/justifi-apple-pay.entry.js → module/apple-pay.js} +73 -31
- package/dist/module/badge.js +1 -1
- package/dist/module/bank-account-billing-form-simple.js +2 -2
- package/dist/module/bank-account-document-inputs.js +3 -3
- package/dist/module/bank-account-form-inputs2.js +2 -2
- package/dist/module/bank-account-form.js +3 -3
- package/dist/module/bank-account.js +2 -2
- package/dist/module/billing-form-full.js +1 -1
- package/dist/module/billing-form.js +3 -2
- package/dist/module/business-additional-questions-form-step-core.js +2 -2
- package/dist/module/business-additional-questions-form-step.js +1 -1
- package/dist/module/business-bank-account-form-step-core.js +4 -4
- package/dist/module/business-bank-account-form-step.js +1 -1
- package/dist/module/business-core-info-form-step-core.js +2 -2
- package/dist/module/business-core-info-form-step.js +1 -1
- package/dist/module/business-core-info.js +2 -2
- package/dist/module/business-details-core2.js +1 -1
- package/dist/module/business-documents-on-file2.js +1 -1
- package/dist/module/business-owners-form-step-core.js +2 -2
- package/dist/module/business-owners-form-step.js +1 -1
- package/dist/module/business-representative-form-inputs.js +2 -2
- package/dist/module/business-representative-form-step-core.js +2 -2
- package/dist/module/business-representative-form-step.js +1 -1
- package/dist/module/business-representative.js +2 -2
- package/dist/module/business-terms-conditions-form-step.js +1 -1
- package/dist/module/button.js +1 -1
- package/dist/module/cancellation-policy.js +2 -2
- package/dist/module/card-billing-form-simple.js +2 -2
- package/dist/module/card-form.js +3 -3
- package/dist/module/card-form2.js +2 -2
- package/dist/module/checkout.store.js +5 -2
- package/dist/module/checkouts-list-core2.js +4 -4
- package/dist/module/custom-popper2.js +3 -3
- package/dist/module/customer-details.js +2 -2
- package/dist/module/details.js +1 -1
- package/dist/module/dispute-management-core.js +2 -2
- package/dist/module/dispute-notification.js +2 -2
- package/dist/module/dispute-response-core.js +5 -5
- package/dist/module/dispute-response.js +2 -2
- package/dist/module/duplicate-charge.js +2 -2
- package/dist/module/electronic-evidence.js +2 -2
- package/dist/module/form-alert2.js +1 -1
- package/dist/module/form-control-checkbox2.js +4 -4
- package/dist/module/form-control-date2.js +4 -4
- package/dist/module/form-control-error-text.js +1 -1
- package/dist/module/form-control-file-v22.js +2 -2
- package/dist/module/form-control-file2.js +4 -4
- package/dist/module/form-control-monetary-provisioning2.js +4 -4
- package/dist/module/form-control-monetary2.js +5 -5
- package/dist/module/form-control-number-masked2.js +4 -4
- package/dist/module/form-control-number.js +4 -4
- package/dist/module/form-control-radio2.js +4 -4
- package/dist/module/form-control-select2.js +4 -4
- package/dist/module/form-control-text2.js +5 -5
- package/dist/module/form-control-textarea2.js +5 -5
- package/dist/module/form-control-tooltip2.js +1 -1
- package/dist/module/form.js +18 -17
- package/dist/module/gross-payment-chart-core2.js +23 -14
- package/dist/module/header-3.js +1 -1
- package/dist/module/hidden-input2.js +2 -2
- package/dist/module/identity-address-form.js +2 -2
- package/dist/module/iframe-input2.js +4 -4
- package/dist/module/justifi-apple-pay.js +1 -904
- package/dist/module/justifi-button2.js +2 -2
- package/dist/module/justifi-checkout.js +32 -24
- package/dist/module/justifi-checkouts-list-filters.js +2 -2
- package/dist/module/justifi-checkouts-list.js +2 -2
- package/dist/module/justifi-dispute-management.js +1 -1
- package/dist/module/justifi-header2.js +1 -1
- package/dist/module/justifi-order-terminals.js +4 -4
- package/dist/module/justifi-payment-details.js +8 -1
- package/dist/module/justifi-payment-provisioning.js +1 -1
- package/dist/module/justifi-payment-transactions-list.js +3 -3
- package/dist/module/justifi-payments-list-filters.js +3 -3
- package/dist/module/justifi-payments-list.js +1 -1
- package/dist/module/justifi-payout-details.js +4 -2
- package/dist/module/justifi-payout-transactions-list.js +3 -3
- package/dist/module/justifi-payouts-list-filters.js +3 -3
- package/dist/module/justifi-payouts-list.js +2 -2
- package/dist/module/justifi-radio-list-item2.js +1 -1
- package/dist/module/justifi-refund-payment.js +1 -1
- package/dist/module/justifi-saved-payment-method.js +2 -2
- package/dist/module/justifi-season-interruption-insurance.js +2 -2
- package/dist/module/justifi-skeleton.js +2 -2
- 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 +5 -4
- package/dist/module/justifi-terminals-list.js +2 -2
- package/dist/module/legal-address-details2.js +1 -1
- package/dist/module/legal-address-form-step-core.js +2 -2
- package/dist/module/legal-address-form-step.js +1 -1
- package/dist/module/legal-address-form.js +2 -2
- package/dist/module/modular-checkout.js +7 -6
- package/dist/module/owner-details2.js +8 -7
- package/dist/module/owner-form-core2.js +6 -6
- package/dist/module/owner-form-inputs2.js +2 -2
- package/dist/module/owner-form.js +2 -2
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +4 -4
- package/dist/module/parts.js +2 -1
- package/dist/module/payment-details-core2.js +23 -10
- package/dist/module/payment-method-option.js +2 -2
- package/dist/module/payment-provisioning-core.js +3 -3
- package/dist/module/payment-provisioning-form-buttons.js +3 -3
- package/dist/module/payment-provisioning-form-steps.js +2 -2
- package/dist/module/payments-list-core2.js +24 -4
- package/dist/module/payments-status.js +20 -2
- package/dist/module/payout-details-core2.js +20 -6
- package/dist/module/payouts-list-core2.js +5 -5
- package/dist/module/product-or-service.js +2 -2
- package/dist/module/refund-policy.js +2 -2
- package/dist/module/representative-details2.js +1 -1
- package/dist/module/save-new-payment-method.js +1 -1
- package/dist/module/sezzle-payment-method.js +1 -1
- package/dist/module/shipping-details.js +2 -2
- package/dist/module/spinner.js +1 -1
- package/dist/module/summary.js +1 -1
- package/dist/module/table-filters-menu2.js +3 -3
- package/dist/module/table.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +4 -4
- package/dist/module/terminal-quantity-selector2.js +2 -2
- package/dist/module/terminals-list-core2.js +10 -5
- package/dist/module/tokenize-payment-method.js +1 -1
- package/dist/module/utils.js +4 -4
- package/dist/module/utils2.js +4 -1
- package/dist/types/api/Checkout.d.ts +2 -0
- package/dist/types/api/ComponentEvents.d.ts +4 -0
- package/dist/types/api/Terminal.d.ts +2 -1
- package/dist/types/components/business-details/owner-details/owner-details.d.ts +1 -1
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +1 -1
- package/dist/types/components/modular-checkout/sub-components/apple-pay.d.ts +2 -0
- package/dist/types/components/payment-details/payment-details-core.d.ts +3 -1
- package/dist/types/components/payment-details/payment-details.d.ts +3 -1
- package/dist/types/components/payments-list/payments-status.d.ts +12 -0
- package/dist/types/components/payments-list/payments-table.d.ts +5 -2
- package/dist/types/components/payout-details/payout-details-core.d.ts +5 -1
- package/dist/types/components/payout-details/payout-details.d.ts +1 -0
- package/dist/types/components.d.ts +48 -10
- package/dist/types/stencil-public-runtime.d.ts +37 -11
- package/dist/types/store/checkout.store.d.ts +1 -1
- package/dist/types/styles/parts.d.ts +1 -1
- package/dist/types/ui-components/details/utils.d.ts +3 -2
- package/dist/types/utils/utils.d.ts +1 -0
- package/dist/webcomponents/p-0217783c.entry.js +20 -0
- package/dist/webcomponents/{p-10278c48.entry.js → p-0256af65.entry.js} +1 -1
- package/dist/webcomponents/p-0af5269e.entry.js +1 -0
- package/dist/webcomponents/p-0cac8468.entry.js +1 -0
- package/dist/webcomponents/{p-3d37045d.entry.js → p-0cf71cbd.entry.js} +1 -1
- package/dist/webcomponents/p-0eb69f41.entry.js +1 -0
- package/dist/webcomponents/{p-30147031.entry.js → p-0f47f052.entry.js} +1 -1
- package/dist/webcomponents/p-0fgTPVV0.js +1 -0
- package/dist/webcomponents/p-28a3bf32.entry.js +1 -0
- package/dist/webcomponents/p-2b568e8e.entry.js +1 -0
- package/dist/webcomponents/p-2d300faa.entry.js +1 -0
- package/dist/webcomponents/{p-a71a5e64.entry.js → p-2f40f708.entry.js} +1 -1
- package/dist/webcomponents/p-30856338.entry.js +1 -0
- package/dist/webcomponents/p-328117e4.entry.js +1 -0
- package/dist/webcomponents/{p-e2a38ad0.entry.js → p-32978110.entry.js} +1 -1
- package/dist/webcomponents/{p-0801324e.entry.js → p-37a93597.entry.js} +1 -1
- package/dist/webcomponents/p-47997bc2.entry.js +1 -0
- package/dist/webcomponents/{p-2246aa69.entry.js → p-50701f16.entry.js} +1 -1
- package/dist/webcomponents/p-5235230f.entry.js +1 -0
- package/dist/webcomponents/p-526b7442.entry.js +1 -0
- package/dist/webcomponents/p-5aae36f3.entry.js +1 -0
- package/dist/webcomponents/p-5b5d7a8f.entry.js +1 -0
- package/dist/webcomponents/p-5bd3d86e.entry.js +1 -0
- package/dist/webcomponents/{p-b4e673fe.entry.js → p-66db858a.entry.js} +1 -1
- package/dist/webcomponents/p-720a2324.entry.js +1 -0
- package/dist/webcomponents/{p-a90b8b93.entry.js → p-78cb62a8.entry.js} +1 -1
- package/dist/webcomponents/p-7c8deca8.entry.js +1 -0
- package/dist/webcomponents/p-7dc9ef8a.entry.js +1 -0
- package/dist/webcomponents/p-84551ee4.entry.js +1 -0
- package/dist/webcomponents/p-854b3db0.entry.js +1 -0
- package/dist/webcomponents/p-85a2eac6.entry.js +1 -0
- package/dist/webcomponents/p-8663e8bd.entry.js +1 -0
- package/dist/webcomponents/p-89f6ad8f.entry.js +1 -0
- package/dist/webcomponents/{p-De8UloOS.js → p-8S_ROmnq.js} +1 -1
- package/dist/webcomponents/p-8ca21fab.entry.js +1 -0
- package/dist/webcomponents/p-8cebc84b.entry.js +1 -0
- package/dist/webcomponents/{p-914e168d.entry.js → p-8f8dfd4b.entry.js} +1 -1
- package/dist/webcomponents/p-94237472.entry.js +1 -0
- package/dist/webcomponents/p-9ad7d724.entry.js +1 -0
- package/dist/webcomponents/p-B6IWa9Ph.js +1 -0
- package/dist/webcomponents/{p-CaxjN6Uo.js → p-BBx_EQqR.js} +1 -1
- package/dist/webcomponents/{p-BHf9IqGw.js → p-Bgnhf5c9.js} +1 -1
- package/dist/webcomponents/{p-CLQx9p9q.js → p-BhCH9S0e.js} +1 -1
- package/dist/webcomponents/{p-CpKvg1ok.js → p-BjNuRWXK.js} +1 -1
- package/dist/webcomponents/p-BoQ6_4Ks.js +1 -0
- package/dist/webcomponents/{p-BZ7C9duj.js → p-C0wTyoTh.js} +1 -1
- package/dist/webcomponents/p-C2JJBtMc.js +1 -0
- package/dist/webcomponents/{p-DyOgQlh2.js → p-C8k7a6D-.js} +1 -1
- package/dist/webcomponents/{p-c4Mh3ZZ_.js → p-C98BC5W5.js} +1 -1
- package/dist/webcomponents/{p-D6XirF21.js → p-C9EQ459H.js} +1 -1
- package/dist/webcomponents/{p-DSP8qjHL.js → p-C9iide2W.js} +1 -1
- package/dist/webcomponents/{p-CxzFvTgf.js → p-CCLgieAN.js} +1 -1
- package/dist/webcomponents/p-CCmDcLao.js +1 -0
- package/dist/webcomponents/p-CEk3bv0x.js +1 -0
- package/dist/webcomponents/p-CH8Y3GSr.js +1 -0
- package/dist/webcomponents/{p-BdLLGV9t.js → p-ClvhB3WW.js} +1 -1
- package/dist/webcomponents/{p-CzPUMw00.js → p-CmBCj61h.js} +1 -1
- package/dist/webcomponents/p-D0Peuz-m.js +1 -0
- package/dist/webcomponents/{p-BB5-CJF-.js → p-D5Jb9OcR.js} +1 -1
- package/dist/webcomponents/p-D6BImiVi.js +1 -0
- package/dist/webcomponents/p-DGsXKF67.js +1 -0
- package/dist/webcomponents/p-DL-q4EcN.js +1 -0
- package/dist/webcomponents/p-DOjVAAtq.js +2 -0
- package/dist/webcomponents/{p-B4idKqyn.js → p-DQZ5VHTZ.js} +1 -1
- package/dist/webcomponents/p-DWn9BiNn.js +1 -0
- package/dist/webcomponents/{p-DsAwPf2y.js → p-DdMxswn1.js} +1 -1
- package/dist/webcomponents/{p-BUa0YOaw.js → p-DdZLLkQ5.js} +1 -1
- package/dist/webcomponents/p-DfV3dFDB.js +1 -0
- package/dist/webcomponents/{p-CR9D6mKt.js → p-DiJD6Iqx.js} +1 -1
- package/dist/webcomponents/p-Dieke6TH.js +1 -0
- package/dist/webcomponents/p-NAjz1Xfo.js +1 -0
- package/dist/webcomponents/p-NwmOm8Pg.js +1 -0
- package/dist/webcomponents/{p-CYBR4K2p.js → p-PSJOKMWp.js} +1 -1
- package/dist/webcomponents/p-RQzxYnz_.js +1 -0
- package/dist/webcomponents/p-T2yENPvU.js +1 -0
- package/dist/webcomponents/p-a4846316.entry.js +1 -0
- package/dist/webcomponents/p-a5c70eee.entry.js +1 -0
- package/dist/webcomponents/{p-Bp_QFeog.js → p-a6tcNl_T.js} +1 -1
- package/dist/webcomponents/p-aa14cc74.entry.js +1 -0
- package/dist/webcomponents/p-ae7054bf.entry.js +1 -0
- package/dist/webcomponents/{p-e6e96be2.entry.js → p-ae8ae5bb.entry.js} +1 -1
- package/dist/webcomponents/{p-fUtq2xDs.js → p-au49QgoI.js} +1 -1
- package/dist/webcomponents/p-b095c781.entry.js +1 -0
- package/dist/webcomponents/{p-629c1d75.entry.js → p-b36adce3.entry.js} +1 -1
- package/dist/webcomponents/{p-1b7926f6.entry.js → p-b608add9.entry.js} +1 -1
- package/dist/webcomponents/{p-f6cf3e2b.entry.js → p-b612d870.entry.js} +1 -1
- package/dist/webcomponents/p-baf0d3e7.entry.js +1 -0
- package/dist/webcomponents/p-bb53e2e9.entry.js +1 -0
- package/dist/webcomponents/p-be05d450.entry.js +1 -0
- package/dist/webcomponents/p-c089fb5f.entry.js +1 -0
- package/dist/webcomponents/{p-868ed3b6.entry.js → p-ce652ff9.entry.js} +1 -1
- package/dist/webcomponents/{p-d34befd7.entry.js → p-cff5dd60.entry.js} +1 -1
- package/dist/webcomponents/p-d0a2035f.entry.js +1 -0
- package/dist/webcomponents/p-d1bceac6.entry.js +1 -0
- package/dist/webcomponents/p-d37d752e.entry.js +1 -0
- package/dist/webcomponents/{p-90e43440.entry.js → p-d4476052.entry.js} +1 -1
- package/dist/webcomponents/p-d7f91c48.entry.js +1 -0
- package/dist/webcomponents/p-d84f0122.entry.js +1 -0
- package/dist/webcomponents/p-e55a161f.entry.js +1 -0
- package/dist/webcomponents/p-e6be4e19.entry.js +1 -0
- package/dist/webcomponents/p-ec9514f8.entry.js +1 -0
- package/dist/webcomponents/{p-ffe01f1b.entry.js → p-f11a74c3.entry.js} +1 -1
- package/dist/webcomponents/{p-7aeb20d2.entry.js → p-f705fc49.entry.js} +1 -1
- package/dist/webcomponents/p-f930acaa.entry.js +1 -0
- package/dist/webcomponents/p-fe8c2243.entry.js +1 -0
- package/dist/webcomponents/p-fedfe376.entry.js +1 -0
- package/dist/webcomponents/p-ffefa09c.entry.js +1 -0
- package/dist/webcomponents/p-h5pyZngT.js +1 -0
- package/dist/webcomponents/{p-D--yCspA.js → p-hbWSMN3O.js} +1 -1
- package/dist/webcomponents/p-lKnUT24T.js +1 -0
- package/dist/webcomponents/{p-PgEzcvI6.js → p-tYuXMkCd.js} +1 -1
- package/dist/webcomponents/p-wQgEEOq_.js +1 -0
- package/dist/webcomponents/p-xDbRW9xn.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +13 -13
- package/dist/cjs/justifi-apple-pay.cjs.entry.js +0 -876
- package/dist/cjs/terminals-list-params-state-C4c8UZtP.js +0 -22
- package/dist/collection/components/modular-checkout/sub-components/plaid-payment-method.test.js +0 -125
- package/dist/esm/terminals-list-params-state-C2_GlMKR.js +0 -16
- package/dist/types/components/modular-checkout/sub-components/plaid-payment-method.test.d.ts +0 -1
- package/dist/webcomponents/p-06b6b61e.entry.js +0 -1
- package/dist/webcomponents/p-19ccbeee.entry.js +0 -1
- package/dist/webcomponents/p-1b3b6956.entry.js +0 -1
- package/dist/webcomponents/p-1c433962.entry.js +0 -1
- package/dist/webcomponents/p-1f9f6bdc.entry.js +0 -1
- package/dist/webcomponents/p-246ef4ff.entry.js +0 -1
- package/dist/webcomponents/p-27fc3ef0.entry.js +0 -20
- package/dist/webcomponents/p-2abfee08.entry.js +0 -1
- package/dist/webcomponents/p-3546a5aa.entry.js +0 -1
- package/dist/webcomponents/p-3621a429.entry.js +0 -1
- package/dist/webcomponents/p-3c1d950d.entry.js +0 -1
- package/dist/webcomponents/p-406ba650.entry.js +0 -1
- package/dist/webcomponents/p-4332962a.entry.js +0 -1
- package/dist/webcomponents/p-4466d28d.entry.js +0 -1
- package/dist/webcomponents/p-44d1341c.entry.js +0 -1
- package/dist/webcomponents/p-46db49dd.entry.js +0 -1
- package/dist/webcomponents/p-4d5c71c4.entry.js +0 -1
- package/dist/webcomponents/p-4ea83bfd.entry.js +0 -1
- package/dist/webcomponents/p-558f7967.entry.js +0 -1
- package/dist/webcomponents/p-5c477f08.entry.js +0 -1
- package/dist/webcomponents/p-68329f16.entry.js +0 -1
- package/dist/webcomponents/p-6fe79f16.entry.js +0 -1
- package/dist/webcomponents/p-718f8b2c.entry.js +0 -1
- package/dist/webcomponents/p-73f88870.entry.js +0 -1
- package/dist/webcomponents/p-760a5b4f.entry.js +0 -1
- package/dist/webcomponents/p-779e4467.entry.js +0 -1
- package/dist/webcomponents/p-7c5cd118.entry.js +0 -1
- package/dist/webcomponents/p-7ef3cb23.entry.js +0 -1
- package/dist/webcomponents/p-84043580.entry.js +0 -1
- package/dist/webcomponents/p-87f598ef.entry.js +0 -1
- package/dist/webcomponents/p-8975bf93.entry.js +0 -1
- package/dist/webcomponents/p-906fdf0c.entry.js +0 -1
- package/dist/webcomponents/p-91c1e2ac.entry.js +0 -1
- package/dist/webcomponents/p-95348ff6.entry.js +0 -1
- package/dist/webcomponents/p-9f04cac4.entry.js +0 -1
- package/dist/webcomponents/p-BIPdn2VU.js +0 -1
- package/dist/webcomponents/p-BY2p6Sxk.js +0 -1
- package/dist/webcomponents/p-BguBT6Hn.js +0 -1
- package/dist/webcomponents/p-Bvp7uul3.js +0 -1
- package/dist/webcomponents/p-C1xGBPma.js +0 -1
- package/dist/webcomponents/p-C3n7-tlg.js +0 -1
- package/dist/webcomponents/p-CPVN4dXS.js +0 -1
- package/dist/webcomponents/p-CQeex56P.js +0 -1
- package/dist/webcomponents/p-CU4XQ3fO.js +0 -1
- package/dist/webcomponents/p-C_3N7nqh.js +0 -1
- package/dist/webcomponents/p-CrQgyTRz.js +0 -1
- package/dist/webcomponents/p-D-JYHdJ7.js +0 -1
- package/dist/webcomponents/p-DCMrHeJI.js +0 -1
- package/dist/webcomponents/p-DbX0g1WF.js +0 -1
- package/dist/webcomponents/p-DvZcI6pC.js +0 -1
- package/dist/webcomponents/p-DyDHaG6n.js +0 -1
- package/dist/webcomponents/p-IG_KR8zP.js +0 -1
- package/dist/webcomponents/p-RvUQ__Pq.js +0 -1
- package/dist/webcomponents/p-Xv8DuU3Y.js +0 -1
- package/dist/webcomponents/p-a57c1400.entry.js +0 -1
- package/dist/webcomponents/p-bc902ec2.entry.js +0 -1
- package/dist/webcomponents/p-bf82201a.entry.js +0 -1
- package/dist/webcomponents/p-c16c0cbc.entry.js +0 -1
- package/dist/webcomponents/p-c685fc33.entry.js +0 -1
- package/dist/webcomponents/p-d0f93668.entry.js +0 -1
- package/dist/webcomponents/p-d3f5ff95.entry.js +0 -1
- package/dist/webcomponents/p-df7f36aa.entry.js +0 -1
- package/dist/webcomponents/p-e035a92e.entry.js +0 -1
- package/dist/webcomponents/p-e628a0c8.entry.js +0 -1
- package/dist/webcomponents/p-e6516014.entry.js +0 -1
- package/dist/webcomponents/p-e79338f9.entry.js +0 -1
- package/dist/webcomponents/p-eafd179b.entry.js +0 -1
- package/dist/webcomponents/p-f5c3f489.entry.js +0 -1
- package/dist/webcomponents/p-oGKW57R8.js +0 -1
- package/dist/webcomponents/p-pXjOPQhG.js +0 -1
- package/dist/webcomponents/p-qipqIMyC.js +0 -2
- package/dist/webcomponents/p-xY5RkFuA.js +0 -1
|
@@ -10,11 +10,26 @@ import { T as TableClickActions } from './event-types.js';
|
|
|
10
10
|
import './justifi-radio-list-item2.js';
|
|
11
11
|
import { M as MapPaymentStatusToBadge } from './payments-status.js';
|
|
12
12
|
import { e as convertToLocal } from './utils2.js';
|
|
13
|
-
import {
|
|
13
|
+
import { w as tableHeadCell, a9 as getAlternateTableCellPart } from './parts.js';
|
|
14
14
|
import { o as onQueryParamsChange, g as getRequestParams } from './payments-list-params-state.js';
|
|
15
15
|
import { d as defineCustomElement$1 } from './pagination-menu2.js';
|
|
16
16
|
|
|
17
|
-
const
|
|
17
|
+
const mapCardBrandToDisplayName = (brand) => {
|
|
18
|
+
if (!brand)
|
|
19
|
+
return 'N/A';
|
|
20
|
+
const brandMap = {
|
|
21
|
+
'visa': 'VISA',
|
|
22
|
+
'mastercard': 'Mastercard',
|
|
23
|
+
'american_express': 'American Express',
|
|
24
|
+
'discover': 'Discover',
|
|
25
|
+
'diners_club': 'Diners Club',
|
|
26
|
+
'jcb': 'JCB',
|
|
27
|
+
'china_unionpay': 'China UnionPay',
|
|
28
|
+
'unknown': 'Unknown'
|
|
29
|
+
};
|
|
30
|
+
return brandMap[brand.toLowerCase()] || brand;
|
|
31
|
+
};
|
|
32
|
+
const defaultColumnsKeys = 'created_at,amount,status,payment_type,description,payers_name,last_four_digits,card_brand';
|
|
18
33
|
const paymentTableColumns = {
|
|
19
34
|
created_at: () => (h("th", { part: tableHeadCell, scope: "col", title: "The date and time each payment was made" }, "Date")),
|
|
20
35
|
amount: () => (h("th", { part: tableHeadCell, scope: "col", title: "The dollar amount of each payment" }, "Amount")),
|
|
@@ -23,6 +38,7 @@ const paymentTableColumns = {
|
|
|
23
38
|
description: () => (h("th", { part: tableHeadCell, scope: "col", title: "The payment description, if you provided one" }, "Description")),
|
|
24
39
|
payers_name: () => (h("th", { part: tableHeadCell, scope: "col", title: "The name associated with the payment method" }, "Account Holder")),
|
|
25
40
|
last_four_digits: () => (h("th", { part: tableHeadCell, scope: "col", title: "The brand and last 4 digits of the payment method" }, "Payment Method")),
|
|
41
|
+
card_brand: () => (h("th", { part: tableHeadCell, scope: "col", title: "The brand of the payment method" }, "Card Brand")),
|
|
26
42
|
};
|
|
27
43
|
const paymentTableCells = {
|
|
28
44
|
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 })))),
|
|
@@ -32,6 +48,10 @@ const paymentTableCells = {
|
|
|
32
48
|
description: (payment, index) => (h("td", { part: getAlternateTableCellPart(index) }, payment.description)),
|
|
33
49
|
payers_name: (payment, index) => (h("td", { part: getAlternateTableCellPart(index) }, payment.payers_name)),
|
|
34
50
|
last_four_digits: (payment, index) => (h("td", { part: getAlternateTableCellPart(index) }, payment.last_four_digits)),
|
|
51
|
+
card_brand: (payment, index) => {
|
|
52
|
+
var _a, _b;
|
|
53
|
+
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))));
|
|
54
|
+
},
|
|
35
55
|
};
|
|
36
56
|
|
|
37
57
|
const PaymentsListCore = /*@__PURE__*/ proxyCustomElement(class PaymentsListCore extends HTMLElement {
|
|
@@ -118,7 +138,7 @@ const PaymentsListCore = /*@__PURE__*/ proxyCustomElement(class PaymentsListCore
|
|
|
118
138
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
119
139
|
}
|
|
120
140
|
render() {
|
|
121
|
-
return (h(TableWrapper, { key: '
|
|
141
|
+
return (h(TableWrapper, { key: '2cceca3ea193752152afb7514513422ad40165a8' }, h(TableComponent, { key: '61f651673b6cfa85380ca2806907facada8152e9' }, h(TableHead, { key: '5d65f625ba51588d5c1d288d31d2f52680645f2c' }, h(TableHeadRow, { key: '0a2c0158996f39964ae0f050632e47c40e7d10f5' }, this.paymentsTable.columnData.map((column) => column))), h(TableBody, { key: '4c5e3252951cad51e705a6fb377a6d4b8f28869e' }, h(TableLoadingState, { key: '9159d22917307f9886d57c488218be65782dbeb2', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: 'dcb34a17de509c1856ff3507f7e10863b3b5fe09', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: '5a4d81745f6764ed8860c1be74895c6f7cc7e7aa', 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: '095986da34b545b85c62c881c06e215410d26793' }, h(TableFootRow, { key: '5d592db903775c67b6f587477a0fa3713a7abd88' }, h(TableFootCell, { key: 'c23d9b7111b6f3dde3101f5fd49b297630948de5', colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: '37deefd8ffd902f9bd458b4fa0fe5c4ef4bdb87e', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
122
142
|
}
|
|
123
143
|
static get watchers() { return {
|
|
124
144
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -126,7 +146,7 @@ const PaymentsListCore = /*@__PURE__*/ proxyCustomElement(class PaymentsListCore
|
|
|
126
146
|
"columns": ["updateOnPropChange"]
|
|
127
147
|
}; }
|
|
128
148
|
}, [256, "payments-list-core", {
|
|
129
|
-
"getPayments": [16
|
|
149
|
+
"getPayments": [16],
|
|
130
150
|
"columns": [1],
|
|
131
151
|
"payments": [32],
|
|
132
152
|
"paymentsTable": [32],
|
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
import { h } from '@stencil/core/internal/client';
|
|
2
2
|
import { B as Badge, a as BadgeVariant } from './badge.js';
|
|
3
3
|
|
|
4
|
+
var PaymentStatusBadge;
|
|
5
|
+
(function (PaymentStatusBadge) {
|
|
6
|
+
PaymentStatusBadge["SUCCEEDED"] = "succeeded";
|
|
7
|
+
PaymentStatusBadge["AUTHORIZED"] = "authorized";
|
|
8
|
+
PaymentStatusBadge["PENDING"] = "pending";
|
|
9
|
+
PaymentStatusBadge["ACH_FAILED"] = "achFailed";
|
|
10
|
+
PaymentStatusBadge["FAILED"] = "failed";
|
|
11
|
+
PaymentStatusBadge["CANCELED"] = "canceled";
|
|
12
|
+
PaymentStatusBadge["DISPUTED"] = "disputed";
|
|
13
|
+
PaymentStatusBadge["DISPUTE_LOST"] = "dispute_lost";
|
|
14
|
+
PaymentStatusBadge["FULLY_REFUNDED"] = "fully_refunded";
|
|
15
|
+
PaymentStatusBadge["PARTIALLY_REFUNDED"] = "partially_refunded";
|
|
16
|
+
})(PaymentStatusBadge || (PaymentStatusBadge = {}));
|
|
4
17
|
const MapPaymentStatusToBadge = (status) => {
|
|
5
18
|
const statusToBadgeProps = {
|
|
6
19
|
succeeded: {
|
|
@@ -34,10 +47,15 @@ const MapPaymentStatusToBadge = (status) => {
|
|
|
34
47
|
text: 'Canceled',
|
|
35
48
|
},
|
|
36
49
|
disputed: {
|
|
37
|
-
variant: BadgeVariant.
|
|
50
|
+
variant: BadgeVariant.WARNING,
|
|
38
51
|
title: 'The account holder disputed this payment. The amount has been returned and a fee assessed.',
|
|
39
52
|
text: 'Disputed',
|
|
40
53
|
},
|
|
54
|
+
dispute_lost: {
|
|
55
|
+
variant: BadgeVariant.SECONDARY,
|
|
56
|
+
title: 'The cardholder has won the dispute.',
|
|
57
|
+
text: 'Dispute Lost',
|
|
58
|
+
},
|
|
41
59
|
fully_refunded: {
|
|
42
60
|
variant: BadgeVariant.SECONDARY,
|
|
43
61
|
title: 'The full amount of this payment has been refunded',
|
|
@@ -53,4 +71,4 @@ const MapPaymentStatusToBadge = (status) => {
|
|
|
53
71
|
return h(Badge, Object.assign({}, badgeProps));
|
|
54
72
|
};
|
|
55
73
|
|
|
56
|
-
export { MapPaymentStatusToBadge as M };
|
|
74
|
+
export { MapPaymentStatusToBadge as M, PaymentStatusBadge as P };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
|
|
2
|
-
import { a as formatDate, d as formatTime } from './utils2.js';
|
|
2
|
+
import { j as capitalizeFirstLetter, a as formatDate, d as formatTime } from './utils2.js';
|
|
3
3
|
import { E as ErrorState, b as EntityHeadInfo, c as EntityHeadInfoItem, D as DetailSectionTitle, a as DetailItem, C as CodeBlock } from './utils.js';
|
|
4
4
|
import { B as Button } from './button.js';
|
|
5
5
|
import { S as StyledHost } from './styled-host.js';
|
|
@@ -19,6 +19,8 @@ const PayoutDetailsCore = /*@__PURE__*/ proxyCustomElement(class PayoutDetailsCo
|
|
|
19
19
|
this.__registerHost();
|
|
20
20
|
}
|
|
21
21
|
this.errorEvent = createEvent(this, "error-event", 7);
|
|
22
|
+
this.recordClickEvent = createEvent(this, "record-click-event", 7);
|
|
23
|
+
this.enableRecordClick = false;
|
|
22
24
|
this.loading = true;
|
|
23
25
|
this.errorMessage = null;
|
|
24
26
|
this.downloadCSV = () => {
|
|
@@ -34,6 +36,12 @@ const PayoutDetailsCore = /*@__PURE__*/ proxyCustomElement(class PayoutDetailsCo
|
|
|
34
36
|
},
|
|
35
37
|
});
|
|
36
38
|
};
|
|
39
|
+
this.handleRecordClick = (id) => {
|
|
40
|
+
this.recordClickEvent.emit({
|
|
41
|
+
id,
|
|
42
|
+
type: 'account'
|
|
43
|
+
});
|
|
44
|
+
};
|
|
37
45
|
}
|
|
38
46
|
componentWillLoad() {
|
|
39
47
|
if (this.getPayout) {
|
|
@@ -62,19 +70,25 @@ const PayoutDetailsCore = /*@__PURE__*/ proxyCustomElement(class PayoutDetailsCo
|
|
|
62
70
|
},
|
|
63
71
|
});
|
|
64
72
|
}
|
|
73
|
+
formatMethod(deliveryMethod) {
|
|
74
|
+
if (deliveryMethod === "ach")
|
|
75
|
+
return "ACH";
|
|
76
|
+
return capitalizeFirstLetter(deliveryMethod);
|
|
77
|
+
}
|
|
65
78
|
render() {
|
|
66
79
|
var _a;
|
|
67
|
-
return (h(StyledHost, { key: '
|
|
68
|
-
h(DetailSectionTitle, { key: '
|
|
69
|
-
h("div", { key: '
|
|
80
|
+
return (h(StyledHost, { key: 'd81fd85bbfa1c54175b4055cfed2eb62c7db1735' }, this.loading && h(PayoutDetailsLoading, { key: '37fca566131507232afc04332989545f81f21ace' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: '2135970df52759def666f17297f055b90fc61274', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '12d9f81cea53ea7f8636c3ed249f994f13ae1389', 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: 'd3f061a66f4dd3bfee92e5de3b2ba8f245853c85', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: '292267e98b0e12ef4fd365c0c972f9eccba0df09', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: '0ca068bb4c8c2dea86feff59916b42871de799e7', title: "ID", value: this.payout.id }), h("div", { key: 'a97d286bf5eafce9cfbf81c6e7f62bb4e7b0849f', class: "m-4" }, h(Button, { key: '8a026a6f3819519815148115ffed876c18e37142', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: '66520ccf02a84b4523552de31d43e2b5c75e16ae', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '27e9caef31af8e5d89141b5c0265e6ee9183809e', sectionTitle: "Details" }), h("div", { key: '2cb15bde0c567667978f482a55753c1355a359b9', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: '5fe197ecc8f1aa79786a8da0092e7962095336a1', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: '50d667f0b575e89b712832b3d70026c422119308', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: '28f753d09ca0434ef6e913baa1c95e977657bdfe', title: "Payout Method", value: this.formatMethod(this.payout.delivery_method) }), h(DetailItem, { key: '84eb131bc5493293e75d0c5eb5cf69379769843d', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: '0fd9fc497e076165b9e5a70b385fdde44d9290fb', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: '29b8ef5d56c77bc44bf0809acf3bf7235a5f678d', sectionTitle: "Account" }), h("div", { key: '49104b277fe2c27a28326bc6e84aa76713f355a5', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: '7e8f4b347227c73ebfb28a3846c994943dc22b14', title: "ID", value: this.payout.account_id, onClick: this.enableRecordClick ? () => this.handleRecordClick(this.payout.account_id) : undefined }), h(DetailItem, { key: '594d4853374fdacde8c38c9409abe593acf3d1d8', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '86198dd9f123775d687df6a7efa7b17fae6f7fc0', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: 'ff5840da92dc48469915698937c52be1be6573f3', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: 'dae3be8251b99e92c14d19151f7fcf43e7d79d2b', title: "Account Number", value: `**** ${this.payout.bank_account.account_number_last4}` })), this.payout.metadata && [
|
|
81
|
+
h(DetailSectionTitle, { key: 'ab9280b8f08bfa10492d86d73d7fcc054602c23b', sectionTitle: 'Metadata' }),
|
|
82
|
+
h("div", { key: '91326afd6edbd573802684fa8518d6738cbcf4ff', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '7ac4be5f733114b2257eade5c315583b09643390', metadata: this.payout.metadata }))
|
|
70
83
|
])))));
|
|
71
84
|
}
|
|
72
85
|
static get watchers() { return {
|
|
73
86
|
"getPayout": ["getPayoutWatcher"]
|
|
74
87
|
}; }
|
|
75
88
|
}, [256, "payout-details-core", {
|
|
76
|
-
"getPayout": [16
|
|
77
|
-
"getPayoutCSV": [16
|
|
89
|
+
"getPayout": [16],
|
|
90
|
+
"getPayoutCSV": [16],
|
|
91
|
+
"enableRecordClick": [4, "enable-record-click"],
|
|
78
92
|
"payout": [32],
|
|
79
93
|
"loading": [32],
|
|
80
94
|
"errorMessage": [32]
|
|
@@ -10,7 +10,7 @@ import { T as TableClickActions } from './event-types.js';
|
|
|
10
10
|
import './justifi-radio-list-item2.js';
|
|
11
11
|
import { e as convertToLocal } from './utils2.js';
|
|
12
12
|
import { M as MapPayoutStatusToBadge } from './payouts-status.js';
|
|
13
|
-
import {
|
|
13
|
+
import { w as tableHeadCell, a9 as getAlternateTableCellPart } from './parts.js';
|
|
14
14
|
import { o as onQueryParamsChange, g as getRequestParams } from './payouts-list-params-state.js';
|
|
15
15
|
import { d as defineCustomElement$1 } from './pagination-menu2.js';
|
|
16
16
|
|
|
@@ -173,7 +173,7 @@ const PayoutsListCore = /*@__PURE__*/ proxyCustomElement(class PayoutsListCore e
|
|
|
173
173
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
174
174
|
}
|
|
175
175
|
render() {
|
|
176
|
-
return (h(TableWrapper, { key: '
|
|
176
|
+
return (h(TableWrapper, { key: '44f6c2c3a44435f30c61220114797c5938e475a8' }, h(TableComponent, { key: '756c4ea4ad9c59bea1241af2502c03ced6ec3623' }, h(TableHead, { key: '2748d99edcaea098b111954178cf799811be445c' }, h(TableHeadRow, { key: 'c824617152c899cdff946f979ac71dbdb8002ffa' }, this.payoutsTable.columnData.map((column) => column))), h(TableBody, { key: '4ae6368c8a634f0a1aa85117a2ead0dd66f9828c' }, h(TableLoadingState, { key: 'f6473742b82e604808474cf294aca1f09bcf820f', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '334eef7d28de693a0c5e4f413c72268acf00bc6d', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: '6172568fd0282924413cbf28255d06f1651bcdbe', 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: '232dad4bfb95c707989633a1c0c198481aa3a5e1' }, h(TableFootRow, { key: '1bb1da49bef435aec118bc8c8eb5a96c0469f817' }, h(TableFootCell, { key: '481a46c6488f8652f6360725b45ec76baecc6ad4', colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: 'd4fdb00ff58d674f77d99502d98c572562f516ea', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
177
177
|
}
|
|
178
178
|
static get watchers() { return {
|
|
179
179
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -181,9 +181,9 @@ const PayoutsListCore = /*@__PURE__*/ proxyCustomElement(class PayoutsListCore e
|
|
|
181
181
|
"getSubAccounts": ["updateOnPropChange"]
|
|
182
182
|
}; }
|
|
183
183
|
}, [256, "payouts-list-core", {
|
|
184
|
-
"getPayouts": [16
|
|
185
|
-
"getSubAccounts": [16
|
|
186
|
-
"getPayoutCSV": [16
|
|
184
|
+
"getPayouts": [16],
|
|
185
|
+
"getSubAccounts": [16],
|
|
186
|
+
"getPayoutCSV": [16],
|
|
187
187
|
"columns": [1],
|
|
188
188
|
"payouts": [32],
|
|
189
189
|
"payoutsTable": [32],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as create$3, a as create$6, F as FormController } from './form.js';
|
|
3
3
|
import { D as DisputeResponseFormStep, f as fileInputHandler } from './file-input-handler.js';
|
|
4
|
-
import {
|
|
4
|
+
import { $ as heading5 } from './parts.js';
|
|
5
5
|
import { d as defineCustomElement$5 } from './custom-popper2.js';
|
|
6
6
|
import { d as defineCustomElement$4 } from './form-control-date2.js';
|
|
7
7
|
import { d as defineCustomElement$3 } from './form-control-file-v22.js';
|
|
@@ -41,7 +41,7 @@ const ProductOrService = /*@__PURE__*/ proxyCustomElement(class ProductOrService
|
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
43
|
var _a, _b, _c;
|
|
44
|
-
return (h("div", { key: '
|
|
44
|
+
return (h("div", { key: '1002bf180aa37c993efd3843426d4ec3e46b091d' }, h("div", { key: '967d17c9b1efe91249dff780a207c59970700bb1', class: "row gy-3" }, h("div", { key: '52a40746d927711df8c524eb19bd20f6dc2a0992', class: "col-12" }, h("h2", { key: '72c38af00bc0427b69ed3c59985c9adc0e735ddf', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: '01245228bab86a92f467467f766ee19679491311', class: "col-12" }, h("form-control-text", { key: 'd0936f06983e214bdbb2c46c934caeb8f1be5429', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), h("div", { key: 'af799d1fc18297dd453a3cf95499d7f3fe131a2d', class: "col-12" }, h("form-control-date", { key: 'bae6c1912a5b58e9e241799bf422f47e05cf69ad', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), h("div", { key: 'ba0fb2219d311ff6532371de7d1779f9cdf58fba', class: "col-12" }, h("form-control-file-v2", { key: '35321f0049a0c792a0c723a4f56fcf1077cfe226', label: "Service Documentation", name: "service_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.service_documentation })))));
|
|
45
45
|
}
|
|
46
46
|
}, [256, "justifi-product-or-service", {
|
|
47
47
|
"disputeResponse": [8, "dispute-response"],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as create$3, a as create$6, F as FormController } from './form.js';
|
|
3
3
|
import { D as DisputeResponseFormStep, f as fileInputHandler } from './file-input-handler.js';
|
|
4
|
-
import {
|
|
4
|
+
import { $ as heading5 } from './parts.js';
|
|
5
5
|
import { d as defineCustomElement$5 } from './custom-popper2.js';
|
|
6
6
|
import { d as defineCustomElement$4 } from './form-control-file-v22.js';
|
|
7
7
|
import { d as defineCustomElement$3 } from './form-control-help-text2.js';
|
|
@@ -41,7 +41,7 @@ const RefundPolicy = /*@__PURE__*/ proxyCustomElement(class RefundPolicy extends
|
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
43
|
var _a, _b, _c, _d;
|
|
44
|
-
return (h("div", { key: '
|
|
44
|
+
return (h("div", { key: '8c477299c96f62141b72beb93869affcdfc6b11b' }, h("div", { key: '91788a7fbad8a83f79840f6579688f29a97d49a5', class: "row gy-3" }, h("div", { key: 'e2948efeccf931b4b35fa12dda1c00ba7edbbfda', class: "col-12" }, h("h2", { key: 'bff14f8b7bf0e823fc7586ba4eb64160ed031d60', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: '90affc176f5fb5f53253493833bc3a053611a3cf', class: "col-12" }, h("form-control-textarea", { key: 'b367d9aa62aa68fed18cfeeb97fbf3eb3e692b0e', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), h("div", { key: 'a73a5ff85720baf8753871a6f644fe590cf78984', class: "col-12" }, h("form-control-textarea", { key: 'd1b50580a0e3dd932628b4538ca7d9baa629120f', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), h("div", { key: '58cc7aeab51768dd5dd95b5779383345c32e13b7', class: "col-12" }, h("form-control-file-v2", { key: 'ef83492203035b03ae2dc164a552dabef93b67e1', label: "Upload Refund Policy", name: "refund_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.refund_policy })), h("div", { key: 'd5cdd3248db7caaec1c0ac1f29f6855a8aae7173', class: "col-12" }, h("form-control-file-v2", { key: '94ea35a1d40ff19d2820469d540f77d23001062a', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
|
|
45
45
|
}
|
|
46
46
|
}, [256, "justifi-refund-policy", {
|
|
47
47
|
"disputeResponse": [8, "dispute-response"],
|
|
@@ -13,7 +13,7 @@ const JustifiRepresentativeDetails = /*@__PURE__*/ proxyCustomElement(class Just
|
|
|
13
13
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
14
14
|
if (!this.representative || isEmptyObject(this.representative))
|
|
15
15
|
return null;
|
|
16
|
-
return (h("div", null, h(DetailSectionTitle, { sectionTitle: "Representative Details" }), h("div", { class: "d-
|
|
16
|
+
return (h("div", null, h(DetailSectionTitle, { sectionTitle: "Representative Details" }), h("div", { class: "d-flex flex-column gap-2 w-100 mt-3" }, h("div", { class: "row gy-3" }, h("div", { class: "col-12 col-md-6" }, h(DetailItem, { title: "Name", value: (_a = this.representative) === null || _a === void 0 ? void 0 : _a.name }), h(DetailItem, { title: "ID", value: (_b = this.representative) === null || _b === void 0 ? void 0 : _b.id }), h(DetailItem, { title: "Address", value: (_d = (_c = this.representative) === null || _c === void 0 ? void 0 : _c.address) === null || _d === void 0 ? void 0 : _d.line1 }), h(DetailItem, { title: "Created At", value: ((_e = this.representative) === null || _e === void 0 ? void 0 : _e.created_at) && formatMediumDate((_f = this.representative) === null || _f === void 0 ? void 0 : _f.created_at) })), h("div", { class: "col-12 col-md-6" }, h(DetailItem, { title: "Title", value: (_g = this.representative) === null || _g === void 0 ? void 0 : _g.title }), h(DetailItem, { title: "Is Owner?", value: (_h = this.representative) === null || _h === void 0 ? void 0 : _h.is_owner.toString() }), h(DetailItem, { title: "Date Of Birth", value: this.representative && formatMediumDate(new Date(Number((_j = this.representative) === null || _j === void 0 ? void 0 : _j.dob_year), Number((_k = this.representative) === null || _k === void 0 ? void 0 : _k.dob_month) - 1, Number((_l = this.representative) === null || _l === void 0 ? void 0 : _l.dob_day))) }), h(DetailItem, { title: "Email", value: (_m = this.representative) === null || _m === void 0 ? void 0 : _m.email }), h(DetailItem, { title: "Phone", value: (_o = this.representative) === null || _o === void 0 ? void 0 : _o.phone }), h(DetailItem, { title: "Updated At", value: this.representative && formatMediumDate((_p = this.representative) === null || _p === void 0 ? void 0 : _p.updated_at) }))))));
|
|
17
17
|
}
|
|
18
18
|
}, [256, "representative-details", {
|
|
19
19
|
"representative": [16]
|
|
@@ -23,7 +23,7 @@ const SaveNewPaymentMethod = /*@__PURE__*/ proxyCustomElement(class SaveNewPayme
|
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
|
-
return (h(StyledHost, { key: '
|
|
26
|
+
return (h(StyledHost, { key: '04ed1491d4f5ca3e03a8a1f7a46dff5a0eb888de' }, h("form-control-checkbox", { key: '7901643960e9d5d26c5916fb6e06601a6b59906a', label: this.label || 'Save New Payment Method', name: "saveNewPaymentMethod", checked: this.isChecked, inputHandler: this.handleCheckboxChange })));
|
|
27
27
|
}
|
|
28
28
|
}, [257, "justifi-save-new-payment-method", {
|
|
29
29
|
"label": [1],
|
|
@@ -70,7 +70,7 @@ const SezzlePaymentMethod = /*@__PURE__*/ proxyCustomElement(class SezzlePayment
|
|
|
70
70
|
}
|
|
71
71
|
render() {
|
|
72
72
|
var _a, _b;
|
|
73
|
-
if (!checkoutStore.bnplEnabled
|
|
73
|
+
if (!checkoutStore.bnplEnabled) {
|
|
74
74
|
console.warn('justifi-sezzle-payment-method: BNPL is not enabled for this account.');
|
|
75
75
|
return null;
|
|
76
76
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as create$3, a as create$6, F as FormController } from './form.js';
|
|
3
3
|
import { D as DisputeResponseFormStep, f as fileInputHandler } from './file-input-handler.js';
|
|
4
|
-
import {
|
|
4
|
+
import { $ as heading5 } from './parts.js';
|
|
5
5
|
import { d as defineCustomElement$7 } from './custom-popper2.js';
|
|
6
6
|
import { d as defineCustomElement$6 } from './form-control-date2.js';
|
|
7
7
|
import { d as defineCustomElement$5 } from './form-control-file-v22.js';
|
|
@@ -46,7 +46,7 @@ const ShippingDetails = /*@__PURE__*/ proxyCustomElement(class ShippingDetails e
|
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
48
|
var _a, _b, _c, _d, _e;
|
|
49
|
-
return (h("div", { key: '
|
|
49
|
+
return (h("div", { key: 'cd32d2a2ae133088c3388a9a52039ae757a0a200' }, h("div", { key: '5457f7a144ca6ce25d20fe2f043eba902c35205f', class: "row gy-3" }, h("div", { key: 'd11c623e7351f870cfbe41b3841eae7f6bb58eef', class: "col-12" }, h("h2", { key: 'ab3defdc23613c680c9e275b0fcc5598528f1c9d', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: 'cde829a944264990fbbb21261a858dea7e7e3ff0', class: "col-12" }, h("form-control-text", { key: 'b4c7ed2c1ca6f0a6b56702449fadf8d7440aea83', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), h("div", { key: '2c1fd6999a2cbda3282a87c8512386abd40988e4', class: "col-12" }, h("form-control-text", { key: 'eadf6f942e0ea8ba2a09f08c89c75e493fcec54e', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), h("div", { key: '6c7cde4b10b6fc29eaf643b60521fd08071a4e9b', class: "col-12" }, h("form-control-date", { key: '0a38ef541f75ba9416ab85a6a396b2cdd7075064', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), h("div", { key: '117e0936637101d76dda444e0892270196e27f0f', class: "col-12" }, h("form-control-textarea", { key: '72edaebdde0129baf35803be9620d4279c08481e', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), h("div", { key: 'f50278e1ba2a8221bb1b656e636325edab4652d9', class: "col-12" }, h("form-control-file-v2", { key: 'c56b1a62dfd1d4ab3b164d1e27f5f4622af4327b', label: "Shipping Documentation", name: "shipping_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.shipping_documentation })))));
|
|
50
50
|
}
|
|
51
51
|
}, [256, "justifi-shipping-details", {
|
|
52
52
|
"disputeResponse": [8, "dispute-response"],
|
package/dist/module/spinner.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { D as loadingSpinner } from './parts.js';
|
|
3
3
|
|
|
4
4
|
const Spinner = () => {
|
|
5
5
|
return (h("div", { class: "d-flex justify-content-center" }, h("div", { class: "spinner-border", role: "status", part: loadingSpinner }, h("span", { class: "visually-hidden" }, "Loading..."))));
|
package/dist/module/summary.js
CHANGED
|
@@ -16,7 +16,7 @@ const Summary = /*@__PURE__*/ proxyCustomElement(class Summary extends HTMLEleme
|
|
|
16
16
|
this.__attachShadow();
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h(StyledHost, { key: '
|
|
19
|
+
return (h(StyledHost, { key: 'abd92b499208321582b08a490c78c9167be2ebd4' }, h("section", { key: '38e15cef5a19a43249d7ecf3d4eb4ea8e032f248' }, h("div", { key: '747f811012ed9707265369e59dbde8cd7ad3bca6' }, h("div", { key: '8575f50759664d5c64d235025699c81f055267ca', part: text }, checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.paymentDescription), h("div", { key: 'af77776bbe21bce77586447bbf445e4c5d8c1165' }, h("span", { key: '5cdaaec454118197b3e37a942d83907e72444342', part: text }, "Total"), "\u00A0", h("span", { key: 'ccc35217ac9740d5a00b7abbcec4133848afcc28', part: text }, formatCurrency(+(checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.totalAmount))))))));
|
|
20
20
|
}
|
|
21
21
|
}, [257, "justifi-checkout-summary"]);
|
|
22
22
|
function defineCustomElement() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { B as Button } from './button.js';
|
|
3
|
-
import {
|
|
3
|
+
import { a7 as dropdownMenuButton, a8 as dropdownMenu } from './parts.js';
|
|
4
4
|
import { d as defineCustomElement$1 } from './custom-popper2.js';
|
|
5
5
|
|
|
6
6
|
const hasFilters = (params) => {
|
|
@@ -31,14 +31,14 @@ const TableFiltersMenu = /*@__PURE__*/ proxyCustomElement(class TableFiltersMenu
|
|
|
31
31
|
this.showClearButton = hasFilters(this.params);
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h("div", { key: '
|
|
34
|
+
return (h("div", { key: 'feeb1b62445446c773d4b6a31cf58bb237e782f5', class: "d-flex gap-2" }, h("div", { key: '4118208bf7f1a0a95f17ce3b5e675f0593a404a2', class: "dropdown pb-3" }, h("button", { key: 'd19031fcda3a895e141758b453e84e58a5dc0869', type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", part: dropdownMenuButton, "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), h("custom-popper", { key: '57b0d375b063fbe91299865ae7a441f09ea6e7ea', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: 'e76309f3d4fbdf967ec1bed88d3ddaf99cf0eccf', class: "dropdown-menu", part: dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: 'e72f0b9567b07e22237f905ad5a94aa5d8d0400f' })))), h("div", { key: 'e9ace5e67bf4dc200e48c538e93571166caa1225' }, h(Button, { key: 'b26a73a1ad3af4ee2f724a95fb0361cb51460c64', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
|
|
35
35
|
}
|
|
36
36
|
static get watchers() { return {
|
|
37
37
|
"params": ["watchParamsHandler"]
|
|
38
38
|
}; }
|
|
39
39
|
}, [260, "table-filters-menu", {
|
|
40
40
|
"params": [8],
|
|
41
|
-
"clearParams": [16
|
|
41
|
+
"clearParams": [16],
|
|
42
42
|
"anchorButton": [32],
|
|
43
43
|
"menu": [32],
|
|
44
44
|
"showClearButton": [32]
|
package/dist/module/table.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { v as table, as as tableHead, at as tableHeadRow, au as tableRow, av as tableFoot, aw as tableFootRow, ax as tableFootCell, ay as tableEmpty, az as tableError, x as tableCell } from './parts.js';
|
|
3
3
|
import { S as Spinner } from './spinner.js';
|
|
4
4
|
|
|
5
5
|
const TableWrapper = (props, children) => {
|
|
@@ -5,10 +5,10 @@ import { T as TableClickActions } from './event-types.js';
|
|
|
5
5
|
import './justifi-radio-list-item2.js';
|
|
6
6
|
import './config-state.js';
|
|
7
7
|
import './dinero.js';
|
|
8
|
-
import {
|
|
8
|
+
import { f as TerminalOrderType } from './Refund.js';
|
|
9
9
|
import { p as pagingDefaults } from './Pagination.js';
|
|
10
10
|
import './Business.js';
|
|
11
|
-
import {
|
|
11
|
+
import { w as tableHeadCell, a9 as getAlternateTableCellPart } from './parts.js';
|
|
12
12
|
import { e as convertToLocal } from './utils2.js';
|
|
13
13
|
import { B as Badge, a as BadgeVariant } from './badge.js';
|
|
14
14
|
import { o as onQueryParamsChange, g as getRequestParams } from './terminal-orders-list-params-state.js';
|
|
@@ -164,7 +164,7 @@ const TerminalOrdersListCore = /*@__PURE__*/ proxyCustomElement(class TerminalOr
|
|
|
164
164
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
165
165
|
}
|
|
166
166
|
render() {
|
|
167
|
-
return (h(TableWrapper, { key: '
|
|
167
|
+
return (h(TableWrapper, { key: 'f642f35fa0bd514d42f94a2991ec00923159d788' }, h(TableComponent, { key: 'dc6a0488729a57c4792ae84a16c8a7d4c00e16cb' }, h(TableHead, { key: '04ebae008a9e7c29b1a5bd2efb948605857743f0' }, h(TableHeadRow, { key: '61931ebd8258c4a6e83692de4dd43cb3766cad0e' }, this.terminalOrdersTable.columnData.map((column) => column))), h(TableBody, { key: 'f8acfec2e54c75df0c5e0082ed14693f1f01169a' }, h(TableLoadingState, { key: '095f29bb7c56371397c07a22f40b17b673d7c8d1', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'fc77d1eb81ec891fbe6345e4fd23028d70c60331', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), h(TableErrorState, { key: '5a6e8f297219dc45d96d5d7e17a8636ca1b50648', columnSpan: this.terminalOrdersTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalOrdersTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '66b118f9daba0f6b8a12869d3348a06e7425f1f0' }, h(TableFootRow, { key: 'a3e149e674bb6f5a9114da1b917ddb7addf6effb' }, h(TableFootCell, { key: '34eedd1c6d8ff11935a5b411d821efd4eba1381f', colSpan: this.terminalOrdersTable.columnData.length }, h("pagination-menu", { key: '1374d80bd8c0307afae2c226f3e07b9e1cf21878', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
168
168
|
}
|
|
169
169
|
static get watchers() { return {
|
|
170
170
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -172,7 +172,7 @@ const TerminalOrdersListCore = /*@__PURE__*/ proxyCustomElement(class TerminalOr
|
|
|
172
172
|
"columns": ["updateOnPropChange"]
|
|
173
173
|
}; }
|
|
174
174
|
}, [256, "terminal-orders-list-core", {
|
|
175
|
-
"getTerminalOrders": [16
|
|
175
|
+
"getTerminalOrders": [16],
|
|
176
176
|
"columns": [1],
|
|
177
177
|
"terminalOrders": [32],
|
|
178
178
|
"terminalOrdersTable": [32],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { u as card, Z as image, _ as buttonLink } from './parts.js';
|
|
3
3
|
import { d as defineCustomElement$2 } from './custom-popper2.js';
|
|
4
4
|
import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
|
|
5
5
|
|
|
@@ -26,7 +26,7 @@ const TerminalQuantitySelector = /*@__PURE__*/ proxyCustomElement(class Terminal
|
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (h("div", { key: '
|
|
29
|
+
return (h("div", { key: '5a0ac226861b9349ad26e184d9295052ca987ba5', class: "rounded shadow-sm card p-2", part: card }, h("div", { key: '89d2c494975c1a2d2c71d9047c44119a48c5ba11', class: "d-flex gap-3" }, h("div", { key: 'ca30020f4b3469df0a59f5ca5fa8b81a039f9d5f', class: "d-flex align-items-center" }, h("img", { key: '291fc116fff8b4d33ba3fc1bfb2ec3bd59bef007', src: this.imageUrl, alt: this.modelName, height: 75, width: 75, part: image })), h("div", { key: '56466b3e7a47f7156b40bc0e60d8158d63f5700a', class: "d-flex flex-column flex-grow-1 gap-3 p-4 justify-content-center" }, h("div", { key: '871c7d5d2575a6a26ee11d817b1cce5ce42cbffb', class: "row" }, h("div", { key: '12e3e653243d07dc4a712f9127927924e13c411a', class: "col-6 d-flex gap-2" }, this.modelName, h("form-control-tooltip", { key: 'a69d9738422defbb50ec1abb951b049e53fb5f8c', helpText: this.description })), h("div", { key: '84bc103439e64acc04b20afd0295a792c78595c5', class: "col-6 d-flex justify-content-end align-items-center" }, h("button", { key: 'e245dfcc301ef1efe2aed937af3d21eecff1004e', class: "p-0 minus btn", onClick: this.removeUnit, part: buttonLink }, "-"), h("div", { key: '30827d9946f4d82b57ee3967ab2cfe475e9ab65c', class: "w-25 text-center" }, this.selectedQuantity), h("button", { key: '758b3a72d98a540b8b92dc8b86c8abdd7d19d2a9', class: "p-0 plus btn", onClick: this.addUnit, part: buttonLink }, "+")))))));
|
|
30
30
|
}
|
|
31
31
|
}, [256, "terminal-quantity-selector", {
|
|
32
32
|
"modelName": [1, "model-name"],
|
|
@@ -9,8 +9,8 @@ import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d a
|
|
|
9
9
|
import { T as TableClickActions } from './event-types.js';
|
|
10
10
|
import './justifi-radio-list-item2.js';
|
|
11
11
|
import { B as Badge, a as BadgeVariant } from './badge.js';
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
12
|
+
import { w as tableHeadCell, a9 as getAlternateTableCellPart } from './parts.js';
|
|
13
|
+
import { l as capitalFirstLetter } from './utils2.js';
|
|
14
14
|
import { o as onQueryParamsChange, g as getRequestParams } from './terminals-list-params-state.js';
|
|
15
15
|
import { d as defineCustomElement$1 } from './pagination-menu2.js';
|
|
16
16
|
|
|
@@ -36,6 +36,11 @@ const MapTerminalStatusToBadge = (status) => {
|
|
|
36
36
|
title: 'This terminal is pending configuration',
|
|
37
37
|
text: 'Pending configuration',
|
|
38
38
|
},
|
|
39
|
+
archived: {
|
|
40
|
+
variant: BadgeVariant.SECONDARY,
|
|
41
|
+
title: 'This terminal is archived',
|
|
42
|
+
text: 'Archived',
|
|
43
|
+
}
|
|
39
44
|
};
|
|
40
45
|
const badgeProps = statusToBadgeProps[status];
|
|
41
46
|
return h(Badge, Object.assign({}, badgeProps));
|
|
@@ -182,7 +187,7 @@ const TerminalsListCore = /*@__PURE__*/ proxyCustomElement(class TerminalsListCo
|
|
|
182
187
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
183
188
|
}
|
|
184
189
|
render() {
|
|
185
|
-
return (h(TableWrapper, { key: '
|
|
190
|
+
return (h(TableWrapper, { key: 'dd5f6ca2944a4c612c5a99e7e70b64240ff77890' }, h(TableComponent, { key: '05c34cdbf22ec62b04165259fc456b8f7f94e166' }, h(TableHead, { key: '9d55c62444326c96a8cf81f2237d6bd16ecef155' }, h(TableHeadRow, { key: 'a0f923fb4937dad46d37085f15b93097aa9453bb' }, this.terminalsTable.columnData.map((column) => column))), h(TableBody, { key: 'bb82808aaf16e572b90e09f9666384907317c617' }, h(TableLoadingState, { key: 'a5fad3901302bd468c1e8e312eb3fadedee709c4', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'f954dda201865b55141e9288219729561fc22240', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: '8fce08061353a7ed9d5f364489cce99fb934e36c', 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: 'e62da6a0cfca1447dce0e65999ecaee501cb1060' }, h(TableFootRow, { key: '12e0ac4fb55a6cb9960a4bc69296addccc629b54' }, h(TableFootCell, { key: '4024dfbee9409a2b1e9d22272ba23ed16c0afbe8', colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: '201eb194b2f8c620b5a775d7e2077c8e33de8aa2', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
186
191
|
}
|
|
187
192
|
static get watchers() { return {
|
|
188
193
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -191,8 +196,8 @@ const TerminalsListCore = /*@__PURE__*/ proxyCustomElement(class TerminalsListCo
|
|
|
191
196
|
"columns": ["updateOnPropChange"]
|
|
192
197
|
}; }
|
|
193
198
|
}, [256, "terminals-list-core", {
|
|
194
|
-
"getTerminals": [16
|
|
195
|
-
"getSubAccounts": [16
|
|
199
|
+
"getTerminals": [16],
|
|
200
|
+
"getSubAccounts": [16],
|
|
196
201
|
"columns": [1],
|
|
197
202
|
"terminals": [32],
|
|
198
203
|
"terminalsTable": [32],
|
|
@@ -277,7 +277,7 @@ const TokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class TokenizePay
|
|
|
277
277
|
return paymentMethodType === PAYMENT_METHODS.NEW_CARD ? (h("justifi-card-form", { ref: (el) => (this.paymentMethodFormRef = el) })) : (h("justifi-bank-account-form", { ref: (el) => (this.paymentMethodFormRef = el) }));
|
|
278
278
|
}
|
|
279
279
|
render() {
|
|
280
|
-
return (h(StyledHost, { key: '
|
|
280
|
+
return (h(StyledHost, { key: 'bf221d17739bf70c3f581f3b9791a725e76c3f35' }, h("form", { key: 'df117d42d4160f31df1fca5d6903967cc48ad573' }, h("fieldset", { key: '550e670feffb405c669d44c44eb9073f535c6cb6' }, h("div", { key: '8eff7d3ab19618da54161220b92641bf19bfa82d', class: "row gy-3" }, h("div", { key: 'bf9d19e92be74abf48ce65c97efb3f9df52d4c3c', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), h("div", { key: 'eef1f4e1e03c2263efb51ae94085c5a3d73a9166', class: "col-12" }, h("justifi-button", { key: 'f0e5697e658236610da45c34e64a8cbb3f0f9d95', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
|
|
281
281
|
}
|
|
282
282
|
get host() { return this; }
|
|
283
283
|
static get watchers() { return {
|
package/dist/module/utils.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { h } from '@stencil/core/internal/client';
|
|
2
|
-
import { h as heading2, t as text, a as heading1 } from './parts.js';
|
|
2
|
+
import { h as heading2, t as text, l as link, a as heading1 } from './parts.js';
|
|
3
3
|
|
|
4
|
-
const ErrorState = (errorMessage) => (h("main", { class: "p-4 d-flex justify-content-center text-center", style: { fontSize:
|
|
4
|
+
const ErrorState = (errorMessage) => (h("main", { class: "p-4 d-flex justify-content-center text-center", style: { fontSize: "1.2rem" } }, h("p", { part: text }, errorMessage)));
|
|
5
5
|
const DetailSectionTitle = (props) => (h("h2", { part: heading2, class: "mt-4 fs-5 border-bottom pb-3" }, props.sectionTitle));
|
|
6
|
-
const DetailItem = ({ title, value, }) => title && value ? (h("div", { class: "
|
|
6
|
+
const DetailItem = ({ title, value, onClick, }) => title && value ? (h("div", { class: "row justify-content-between" }, h("div", { class: "col-12 col-md-4" }, h("span", { class: "fw-bold", part: text }, title)), h("div", { class: `col-12 col-md-8 ${onClick ? "text-decoration-underline text-primary" : ""}`, style: { cursor: onClick ? "pointer" : "auto" }, onClick: () => onClick && onClick() }, h("span", { class: "text-wrap", part: onClick ? link : text }, value)))) : null;
|
|
7
7
|
const EntityHeadInfoItem = ({ title, value, classes, }) => (h("div", { class: `d-flex flex-column ${classes}` }, h("span", { class: "fw-bold border-1 border-bottom ps-2 pe-2", part: heading2 }, title), h("span", { class: "pt-2 ps-2 pe-2", part: text }, value)));
|
|
8
8
|
const EntityHeadInfo = ({ title, slot, badge }, children) => (h("div", { slot: slot, class: "p-2" }, h("div", { class: "d-flex flex-row align-items-center gap-2 mb-2" }, h("h1", { class: "m-0", part: heading1 }, title), badge), h("div", { class: "d-flex flex-row align-items-top", part: text }, children)));
|
|
9
|
-
const CodeBlock = ({ metadata }) => metadata && Object.keys(metadata).length ? (h("div", { class:
|
|
9
|
+
const CodeBlock = ({ metadata }) => metadata && Object.keys(metadata).length ? (h("div", { class: "mt-4" }, h("pre", { class: "p-2", "aria-label": "metadata content" }, h("code", null, JSON.stringify(metadata, null, 2))))) : null;
|
|
10
10
|
|
|
11
11
|
export { CodeBlock as C, DetailSectionTitle as D, ErrorState as E, DetailItem as a, EntityHeadInfo as b, EntityHeadInfoItem as c };
|
package/dist/module/utils2.js
CHANGED
|
@@ -22300,5 +22300,8 @@ function generateTabId() {
|
|
|
22300
22300
|
return (((_a = crypto.randomUUID) === null || _a === void 0 ? void 0 : _a.call(crypto)) ||
|
|
22301
22301
|
`${Date.now()}-${Math.random().toString(36).slice(2)}`);
|
|
22302
22302
|
}
|
|
22303
|
+
function capitalizeFirstLetter(str) {
|
|
22304
|
+
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
22305
|
+
}
|
|
22303
22306
|
|
|
22304
|
-
export { formatDate as a, formatTimeSeconds as b, formatCurrency as c, formatTime as d, convertToLocal as e, formatMediumDate as f, generateId as g, convertToUTC as h, isEmptyObject as i,
|
|
22307
|
+
export { formatDate as a, formatTimeSeconds as b, formatCurrency as c, formatTime as d, convertToLocal as e, formatMediumDate as f, generateId as g, convertToUTC as h, isEmptyObject as i, capitalizeFirstLetter as j, generateTabId as k, capitalFirstLetter as l, formatDisplayDate as m, addAttribute as n, formatPhoneNumber as o, processHTML as p, removeAttribute as r, snakeCaseToHumanReadable as s };
|
|
@@ -57,6 +57,7 @@ export interface ICheckout {
|
|
|
57
57
|
credit_card_payments: boolean;
|
|
58
58
|
insurance_payments?: boolean;
|
|
59
59
|
bank_account_verification?: boolean;
|
|
60
|
+
apple_payments?: boolean;
|
|
60
61
|
};
|
|
61
62
|
bnpl?: IBnpl;
|
|
62
63
|
total_amount: number;
|
|
@@ -88,6 +89,7 @@ export declare class Checkout implements ICheckout {
|
|
|
88
89
|
credit_card_payments: boolean;
|
|
89
90
|
insurance_payments?: boolean;
|
|
90
91
|
bank_account_verification?: boolean;
|
|
92
|
+
apple_payments?: boolean;
|
|
91
93
|
};
|
|
92
94
|
bnpl?: IBnpl;
|
|
93
95
|
total_amount: number;
|