@justifi/webcomponents 6.1.0-rc.1 → 6.1.0-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{Api-CwTLkFY4.js → Api-DqzbA2qk.js} +1 -1
- package/dist/cjs/{Business-DCRzZf0w.js → Business-DWHy_-z9.js} +299 -9
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
- package/dist/cjs/{badge-BmOSt4gS.js → badge-BJVdpSU-.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_6.cjs.entry.js +132 -0
- package/dist/cjs/bank-account-form.cjs.entry.js +6 -6
- package/dist/cjs/{business-additional-questions-schema-DNbSH3E-.js → business-additional-questions-schema-CetDMUp7.js} +27 -5
- package/dist/cjs/business-details-core.cjs.entry.js +4 -4
- package/dist/cjs/{business-form-options-CMII7nIK.js → business-form-options-e9UFw4P-.js} +1 -1
- package/dist/cjs/business-identity-schema-Cd0tvfJr.js +101 -0
- package/dist/cjs/{business.service-Dkhqyggm.js → business.service-Bv9o99Ll.js} +2 -2
- package/dist/cjs/{button-7c2RN2yp.js → button-_YJuE8cy.js} +1 -1
- package/dist/cjs/card-form.cjs.entry.js +6 -6
- package/dist/cjs/{check-pkg-version-BURRKC_7.js → check-pkg-version-CadxBsjl.js} +3 -3
- package/dist/cjs/{checkout.service-LwZVVgP5.js → checkout.service-dLB93w3Z.js} +2 -2
- package/dist/cjs/{checkout.store-C3f3E24L.js → checkout.store-DC4yVxDj.js} +2 -3
- package/dist/cjs/checkouts-list-core.cjs.entry.js +10 -12
- package/dist/cjs/{terminal-orders-list-params-state-C4c8UZtP.js → checkouts-list-params-state-ARjo40Y9.js} +1 -1
- package/dist/cjs/{checkouts-table-BQUhZZd_.js → checkouts-table-C102WCfy.js} +2 -2
- package/dist/cjs/{config-state-B_gyIchD.js → config-state-BeZM7X7J.js} +1 -1
- package/dist/cjs/country-config-MCOhn8o3.js +68 -0
- package/dist/cjs/{custom-popper_2.cjs.entry.js → custom-popper.cjs.entry.js} +3 -23
- package/dist/cjs/{dispute.service-927Gzb0N.js → dispute.service-BmAAnNky.js} +2 -2
- package/dist/cjs/form-alert_5.cjs.entry.js +25 -15
- package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/form-control-date.cjs.entry.js +4 -4
- package/dist/cjs/{form-control-error-text-DD0dHGu8.js → form-control-error-text-DJzNQrEz.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
- package/dist/cjs/{form-control-help-text-2QwKi78M.js → form-control-help-text-DII6UDeq.js} +1 -1
- 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 +5 -5
- package/dist/cjs/form-control-number-masked_3.cjs.entry.js +119 -0
- package/dist/cjs/form-control-number.cjs.entry.js +5 -5
- package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
- package/dist/cjs/{form-control-select_2.cjs.entry.js → form-control-select_3.cjs.entry.js} +25 -6
- package/dist/cjs/{form-input-masks-DgXd0f4V.js → form-input-masks-BnNFJ3IJ.js} +9 -4
- package/dist/cjs/{get-business-o5jPq_ME.js → get-business-D9ZHyPem.js} +1 -1
- package/dist/cjs/{get-payment-details-BSxp1HX0.js → get-payment-details-BHPHzSkH.js} +2 -2
- package/dist/cjs/{get-subaccounts-B31f95PR.js → get-subaccounts-Bw76aYu0.js} +3 -3
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +4 -4
- package/dist/cjs/{header-1-DMsp0XM7.js → header-1-Da7oKhXY.js} +1 -1
- package/dist/cjs/{header-3-BSvFq_IF.js → header-3-uBM_CzcP.js} +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +8 -8
- package/dist/cjs/{index-Dyzl8Hn6.js → index-CaAefsWD.js} +42 -31
- package/dist/cjs/{index-D1Ba20gi.js → index-D-CfIyoF.js} +1 -1
- package/dist/cjs/{index.esm-BleZSAc0.js → index.esm-ByC0D4sJ.js} +18 -17
- package/dist/cjs/{input-handlers-DYl_0IwC.js → input-handlers-D6QMwPTB.js} +2 -2
- package/dist/cjs/{insurance-state-uWOl6jJN.js → insurance-state-KJzYGtVr.js} +2 -2
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +127 -70
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +23 -24
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +10 -10
- package/dist/cjs/justifi-apple-pay.cjs.entry.js +10 -10
- package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +25 -26
- package/dist/cjs/justifi-business-details.cjs.entry.js +10 -12
- package/dist/cjs/justifi-business-form.cjs.entry.js +25 -21
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +15 -7
- package/dist/cjs/justifi-checkout-summary_7.cjs.entry.js +30 -24
- package/dist/cjs/justifi-checkout.cjs.entry.js +16 -15
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +7 -9
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +13 -15
- package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
- package/dist/cjs/justifi-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +9 -11
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +14 -16
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +8 -10
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +13 -15
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +28 -19
- package/dist/cjs/justifi-payment-details.cjs.entry.js +10 -12
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +39 -24
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +9 -11
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +12 -14
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payments-list.cjs.entry.js +13 -15
- package/dist/cjs/justifi-payout-details.cjs.entry.js +9 -11
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +12 -14
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +14 -16
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +13 -15
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +2 -2
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +11 -13
- package/dist/cjs/justifi-skeleton.cjs.entry.js +4 -4
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +8 -10
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +11 -13
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +7 -9
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +13 -15
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{package-Cq0M4ut-.js → package-CVxkAS_m.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +4 -4
- package/dist/cjs/payment-details-core.cjs.entry.js +14 -14
- package/dist/cjs/payment-method-option.cjs.entry.js +3 -3
- package/dist/cjs/{payment.service-DUq-W7tS.js → payment.service-DODmonNs.js} +2 -2
- package/dist/cjs/payments-list-core.cjs.entry.js +11 -13
- package/dist/cjs/{payments-list-params-state-C4c8UZtP.js → payments-list-params-state-ARjo40Y9.js} +1 -1
- package/dist/cjs/{payments-status-3iIQkoov.js → payments-status-5IzqwLep.js} +2 -2
- package/dist/cjs/{payments-table-BSHUQhM-.js → payments-table-BcZ6U6p8.js} +23 -3
- package/dist/cjs/payout-details-core.cjs.entry.js +10 -10
- package/dist/cjs/{payout.service-DoKMr8Xw.js → payout.service-Do8DxBxe.js} +2 -2
- package/dist/cjs/payouts-list-core.cjs.entry.js +11 -13
- package/dist/cjs/{payouts-list-params-state-C4c8UZtP.js → payouts-list-params-state-ARjo40Y9.js} +1 -1
- package/dist/cjs/{payouts-status-DoQbxIms.js → payouts-status-D38A6UrI.js} +2 -2
- package/dist/cjs/{payouts-table-BD_Fhz_j.js → payouts-table-Cn_cCCOY.js} +2 -2
- package/dist/cjs/{schema-validations-jek_iZ9W.js → schema-validations-0mjPveQ0.js} +46 -7
- package/dist/cjs/{skeleton-CuIMC98G.js → skeleton-DlPP4i_w.js} +1 -1
- package/dist/cjs/{spinner-CMZXdrPe.js → spinner-BNWG01hP.js} +1 -1
- package/dist/cjs/{styled-host-2KXbjOFw.js → styled-host-DSpt9LtB.js} +1 -1
- package/dist/cjs/{table-DlQCUVag.js → table-CAWBqvW5.js} +2 -2
- package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +10 -12
- package/dist/cjs/{checkouts-list-params-state-C4c8UZtP.js → terminal-orders-list-params-state-ARjo40Y9.js} +1 -1
- package/dist/cjs/{terminal-orders-table-t6XxNy_K.js → terminal-orders-table-BUA4LcEc.js} +4 -4
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
- package/dist/cjs/{terminal.service-Iyje71vN.js → terminal.service-bxQnc1JY.js} +2 -2
- package/dist/cjs/terminals-list-core.cjs.entry.js +10 -12
- package/dist/cjs/terminals-list-params-state-ARjo40Y9.js +22 -0
- package/dist/cjs/{terminals-table-BTdKRiBN.js → terminals-table-C2_M7SWl.js} +2 -2
- package/dist/cjs/{utils-FFP5ZHyE.js → utils-C6mfHWv-.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +3 -3
- package/dist/collection/api/BankAccount.js +4 -0
- package/dist/collection/api/Business.js +16 -1
- package/dist/collection/api/services/apple-pay.service.js +1 -1
- package/dist/collection/collection-manifest.json +4 -1
- package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +0 -1
- 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 +0 -1
- package/dist/collection/components/business-details/representative-details/representative-details.js +0 -1
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +2 -2
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +36 -5
- package/dist/collection/components/business-forms/business-form/business-form.js +13 -9
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +43 -7
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +29 -8
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +30 -11
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +39 -17
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +49 -8
- package/dist/collection/components/business-forms/owner-form/owner-form.js +38 -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-canada.js +88 -0
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +8 -8
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.js +50 -0
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +40 -12
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +32 -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 +51 -13
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +32 -7
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +32 -9
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +32 -7
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +47 -9
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +35 -8
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +32 -7
- package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +101 -0
- 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 +37 -14
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +32 -7
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +46 -29
- 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 +41 -15
- 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/business-forms/payment-provisioning/test/mockBusiness.js +52 -0
- package/dist/collection/components/business-forms/schemas/business-address-schema.js +41 -19
- package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +74 -39
- package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +27 -4
- package/dist/collection/components/business-forms/schemas/business-form-schema.js +7 -4
- package/dist/collection/components/business-forms/schemas/business-identity-schema.js +53 -24
- package/dist/collection/components/business-forms/schemas/schema-validations.js +41 -4
- package/dist/collection/components/business-forms/utils/country-config.js +47 -0
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
- package/dist/collection/components/checkout/billing-form/billing-form.js +8 -8
- 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 +17 -9
- package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +10 -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 +8 -9
- package/dist/collection/components/payment-details/payment-details.js +4 -4
- 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-table.js +21 -1
- package/dist/collection/components/payout-details/payout-details-core.js +3 -5
- package/dist/collection/components/payout-details/payout-details.js +4 -4
- 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 +7 -7
- package/dist/collection/components/terminals-list/terminals-list.js +6 -6
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +20 -20
- package/dist/collection/store/checkout.store.js +1 -2
- package/dist/collection/ui-components/custom-popper/custom-popper.js +5 -7
- package/dist/collection/ui-components/details/details.js +2 -2
- 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 +10 -10
- package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +9 -10
- package/dist/collection/utils/country-codes.js +5 -0
- package/dist/collection/utils/form-input-masks.js +8 -0
- package/dist/collection/utils/province-options.js +20 -0
- package/dist/docs.json +1118 -141
- package/dist/esm/{Api-D4tj-h4P.js → Api-DLf3ihCB.js} +2 -2
- package/dist/esm/{Business-BCoP0TAV.js → Business-B5rtFhtR.js} +290 -3
- package/dist/esm/{Refund-Bc5By0lb.js → Refund-BeI1WGfx.js} +1 -1
- package/dist/esm/additional-questions-details_5.entry.js +4 -4
- package/dist/esm/{badge-ChwzCNAF.js → badge-CkfrkCoy.js} +2 -2
- package/dist/esm/bank-account-document-form-inputs_6.entry.js +125 -0
- package/dist/esm/bank-account-form.entry.js +8 -8
- package/dist/esm/{business-additional-questions-schema-C6NRHWEL.js → business-additional-questions-schema-DSvdNuI1.js} +26 -5
- package/dist/esm/business-details-core.entry.js +5 -5
- package/dist/esm/{business-form-options-CgssATyg.js → business-form-options-D6s5H4RI.js} +2 -2
- package/dist/esm/business-identity-schema-mN4VhA1v.js +94 -0
- package/dist/esm/{business.service-CsbtEDNi.js → business.service-BIALik8Z.js} +3 -3
- package/dist/esm/{button-SAIS_5os.js → button-CuZAKl_x.js} +2 -2
- package/dist/esm/card-form.entry.js +8 -8
- package/dist/esm/{check-pkg-version-Cd_i8U0d.js → check-pkg-version-Bk5bgulF.js} +4 -4
- package/dist/esm/{checkout.service-BCkQ9pOA.js → checkout.service-DZDZBIGQ.js} +3 -3
- package/dist/esm/{checkout.store-DBvS7cVB.js → checkout.store-DwJGKabu.js} +2 -3
- package/dist/esm/checkouts-list-core.entry.js +13 -15
- package/dist/esm/{checkouts-list-params-state-C2_GlMKR.js → checkouts-list-params-state-BY5996_y.js} +1 -1
- package/dist/esm/{checkouts-table-CItEo0DU.js → checkouts-table-59DpP7zM.js} +4 -4
- package/dist/esm/{config-state-Blo0ywwc.js → config-state-C83RkI9h.js} +1 -1
- package/dist/esm/country-config-BQ4D46Lb.js +64 -0
- package/dist/esm/{custom-popper_2.entry.js → custom-popper.entry.js} +4 -23
- package/dist/esm/{dispute.service-CyLtJREK.js → dispute.service-ByJy64X7.js} +3 -3
- package/dist/esm/form-alert_5.entry.js +25 -15
- 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-CjrxZorl.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-CMUgRhUf.js} +2 -2
- package/dist/esm/form-control-help-text.entry.js +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +7 -7
- package/dist/esm/form-control-monetary.entry.js +7 -7
- package/dist/esm/form-control-number-masked_3.entry.js +115 -0
- 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 → form-control-select_3.entry.js} +26 -8
- package/dist/esm/{form-input-masks-B-iV5cYd.js → form-input-masks-CVaOFfrI.js} +9 -3
- package/dist/esm/{get-business-Crb6P-iI.js → get-business-Xt7B5dSo.js} +1 -1
- package/dist/esm/{get-payment-details-BuT0QNOo.js → get-payment-details-B00HoaFm.js} +3 -3
- package/dist/esm/{get-subaccounts-VjY6-x_9.js → get-subaccounts-C_yzcZq_.js} +4 -4
- package/dist/esm/gross-payment-chart-core.entry.js +6 -6
- package/dist/esm/{header-1-zXsamUS3.js → header-1-BukynbFR.js} +2 -2
- package/dist/esm/{header-3-DVtaUAlf.js → header-3-D87MAyMK.js} +2 -2
- package/dist/esm/hidden-input_2.entry.js +9 -9
- package/dist/esm/{index-ZfXl6Xrm.js → index-NOsb-hYl.js} +1 -1
- package/dist/esm/{index-qipqIMyC.js → index-_b8l4IX7.js} +42 -31
- package/dist/esm/{index.esm-cYgKOXtz.js → index.esm-IWS0494Y.js} +18 -17
- package/dist/esm/{input-handlers-CX6mSvOM.js → input-handlers-D3y0TzH9.js} +1 -1
- package/dist/esm/{insurance-state-Dh9f36Qh.js → insurance-state-BjY1QRXI.js} +3 -3
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +130 -73
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +26 -27
- package/dist/esm/justifi-additional-statement_8.entry.js +11 -11
- package/dist/esm/justifi-apple-pay.entry.js +12 -12
- package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +27 -28
- package/dist/esm/justifi-business-details.entry.js +13 -15
- package/dist/esm/justifi-business-form.entry.js +28 -24
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +16 -8
- package/dist/esm/justifi-checkout-summary_7.entry.js +33 -27
- package/dist/esm/justifi-checkout.entry.js +19 -18
- package/dist/esm/justifi-checkouts-list-filters.entry.js +10 -12
- package/dist/esm/justifi-checkouts-list.entry.js +16 -18
- package/dist/esm/justifi-config-provider.entry.js +3 -3
- package/dist/esm/justifi-details.entry.js +3 -3
- package/dist/esm/justifi-dispute-management-core.entry.js +2 -2
- package/dist/esm/justifi-dispute-management.entry.js +11 -13
- package/dist/esm/justifi-dispute-notification_3.entry.js +17 -19
- package/dist/esm/justifi-gross-payment-chart.entry.js +11 -13
- package/dist/esm/justifi-order-terminals.entry.js +16 -18
- package/dist/esm/justifi-owner-form_3.entry.js +31 -22
- package/dist/esm/justifi-payment-details.entry.js +13 -15
- package/dist/esm/justifi-payment-provisioning-core.entry.js +40 -25
- package/dist/esm/justifi-payment-provisioning.entry.js +11 -13
- package/dist/esm/justifi-payment-transactions-list.entry.js +15 -17
- package/dist/esm/justifi-payments-list-filters.entry.js +8 -8
- package/dist/esm/justifi-payments-list.entry.js +16 -18
- package/dist/esm/justifi-payout-details.entry.js +12 -14
- package/dist/esm/justifi-payout-transactions-list.entry.js +15 -17
- package/dist/esm/justifi-payouts-list-filters.entry.js +8 -8
- package/dist/esm/justifi-payouts-list.entry.js +17 -19
- package/dist/esm/justifi-refund-payment.entry.js +16 -18
- package/dist/esm/justifi-saved-payment-method.entry.js +3 -3
- package/dist/esm/justifi-season-interruption-insurance.entry.js +14 -16
- package/dist/esm/justifi-skeleton.entry.js +5 -5
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +11 -13
- package/dist/esm/justifi-terminal-orders-list.entry.js +14 -16
- package/dist/esm/justifi-terminals-list-filters.entry.js +10 -12
- package/dist/esm/justifi-terminals-list.entry.js +16 -18
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{package-BBO3I4s6.js → package-BRhnhmpB.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +5 -5
- package/dist/esm/{parts-RvUQ__Pq.js → parts-CA_TyBed.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +16 -16
- package/dist/esm/payment-method-option.entry.js +4 -4
- package/dist/esm/{payment.service-QJEmd6Nl.js → payment.service-B_NytmNz.js} +3 -3
- package/dist/esm/payments-list-core.entry.js +14 -16
- package/dist/esm/{payments-list-params-state-C2_GlMKR.js → payments-list-params-state-BY5996_y.js} +1 -1
- package/dist/esm/{payments-status-DDafc8Yr.js → payments-status-BWv1l1-e.js} +2 -2
- package/dist/esm/{payments-table-De3Jb6rY.js → payments-table-BSk36N1O.js} +25 -5
- package/dist/esm/payout-details-core.entry.js +12 -12
- package/dist/esm/{payout.service-XxyEr0rj.js → payout.service-BJQVlc_Z.js} +3 -3
- package/dist/esm/payouts-list-core.entry.js +14 -16
- package/dist/esm/{payouts-list-params-state-C2_GlMKR.js → payouts-list-params-state-BY5996_y.js} +1 -1
- package/dist/esm/{payouts-status-u1eSRz3Q.js → payouts-status-BujJlH_r.js} +2 -2
- package/dist/esm/{payouts-table-BO-MCzXj.js → payouts-table-5N7OylTW.js} +4 -4
- package/dist/esm/{schema-validations-DcR1ujuX.js → schema-validations-BFoU1cR8.js} +42 -7
- package/dist/esm/{skeleton-DtpkgjZ6.js → skeleton-C161KeYG.js} +2 -2
- package/dist/esm/{spinner-CIXUVK4F.js → spinner-UiInIFXW.js} +2 -2
- package/dist/esm/{styled-host-CbizlfAU.js → styled-host-hSGxxyFZ.js} +1 -1
- package/dist/esm/{table-DcRHK_sm.js → table-9ewYPAZH.js} +3 -3
- package/dist/esm/table-filters-menu.entry.js +4 -4
- package/dist/esm/terminal-orders-list-core.entry.js +13 -15
- package/dist/esm/{terminal-orders-list-params-state-C2_GlMKR.js → terminal-orders-list-params-state-BY5996_y.js} +1 -1
- package/dist/esm/{terminal-orders-table-9nsnrAq8.js → terminal-orders-table-BcziGGSF.js} +7 -7
- package/dist/esm/terminal-quantity-selector.entry.js +3 -3
- package/dist/esm/{terminal.service-D2oETGnk.js → terminal.service-B9MOFa2c.js} +3 -3
- package/dist/esm/terminals-list-core.entry.js +13 -15
- package/dist/esm/terminals-list-params-state-BY5996_y.js +16 -0
- package/dist/esm/{terminals-table-C6NO2m-t.js → terminals-table-BoFlvdHS.js} +4 -4
- package/dist/esm/{utils-BscIVFn8.js → utils-DeZftIgK.js} +1 -1
- package/dist/esm/{utils-_ckvHjSW.js → utils-fntGABrK.js} +2 -2
- package/dist/esm/webcomponents.js +4 -4
- package/dist/module/Business.js +290 -3
- package/dist/module/additional-questions-details2.js +1 -1
- package/dist/module/additional-statement.js +2 -2
- package/dist/module/bank-account-billing-form-simple.js +1 -1
- package/dist/module/bank-account-document-inputs.js +3 -3
- package/dist/module/bank-account-form-inputs-canada.d.ts +11 -0
- package/dist/module/bank-account-form-inputs-canada.js +6 -0
- package/dist/module/bank-account-form-inputs-canada2.js +68 -0
- package/dist/module/bank-account-form-inputs2.js +10 -3
- package/dist/module/bank-account-form.js +2 -2
- package/dist/module/bank-account-read-only-value.d.ts +11 -0
- package/dist/module/bank-account-read-only-value.js +6 -0
- package/dist/module/bank-account-read-only-value2.js +33 -0
- package/dist/module/bank-account.js +2 -2
- package/dist/module/billing-form-full.js +1 -1
- 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-address-schema.js +40 -20
- package/dist/module/business-bank-account-form-step-core.js +104 -51
- package/dist/module/business-bank-account-form-step.js +18 -5
- package/dist/module/business-core-info-form-step-core.js +24 -9
- package/dist/module/business-core-info-form-step.js +2 -1
- package/dist/module/business-core-info-schema.js +26 -5
- package/dist/module/business-core-info.js +13 -5
- package/dist/module/business-details-core2.js +1 -1
- package/dist/module/business-identity-schema.js +52 -25
- package/dist/module/business-owners-form-step-core.js +22 -15
- package/dist/module/business-owners-form-step.js +22 -15
- package/dist/module/business-representative-form-inputs.js +34 -17
- package/dist/module/business-representative-form-step-core.js +31 -20
- package/dist/module/business-representative-form-step.js +24 -17
- package/dist/module/business-representative.js +36 -18
- 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 +1 -1
- package/dist/module/card-form.js +2 -2
- package/dist/module/card-form2.js +2 -2
- package/dist/module/checkout.store.js +1 -2
- package/dist/module/checkouts-list-core2.js +3 -3
- package/dist/module/country-config.js +64 -0
- package/dist/module/custom-popper2.js +3 -3
- package/dist/module/customer-details.js +2 -2
- 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-address-fields.js +65 -0
- package/dist/module/form-control-checkbox2.js +3 -3
- package/dist/module/form-control-date2.js +3 -3
- package/dist/module/form-control-file-v22.js +2 -2
- package/dist/module/form-control-file2.js +3 -3
- package/dist/module/form-control-monetary-provisioning2.js +3 -3
- package/dist/module/form-control-monetary2.js +4 -4
- package/dist/module/form-control-number-masked2.js +3 -3
- package/dist/module/form-control-number.js +3 -3
- package/dist/module/form-control-radio2.js +3 -3
- package/dist/module/form-control-select2.js +3 -3
- package/dist/module/form-control-text2.js +4 -4
- package/dist/module/form-control-textarea2.js +4 -4
- package/dist/module/form-input-masks.js +9 -3
- package/dist/module/form.js +18 -17
- package/dist/module/get-business.js +1 -1
- package/dist/module/gross-payment-chart-core2.js +2 -2
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/identity-address-form.js +17 -15
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/input-handlers.js +1 -1
- package/dist/module/justifi-apple-pay.js +3 -3
- package/dist/module/justifi-business-form.js +41 -29
- package/dist/module/justifi-button2.js +2 -2
- package/dist/module/justifi-checkout.js +7 -5
- package/dist/module/justifi-checkouts-list-filters.js +1 -1
- package/dist/module/justifi-checkouts-list.js +1 -1
- package/dist/module/justifi-dispute-management.js +1 -1
- package/dist/module/justifi-form-address-fields.d.ts +11 -0
- package/dist/module/justifi-form-address-fields.js +6 -0
- package/dist/module/justifi-header2.js +1 -1
- package/dist/module/justifi-order-terminals.js +3 -3
- package/dist/module/justifi-payment-provisioning.js +67 -49
- package/dist/module/justifi-payment-transactions-list.js +1 -1
- package/dist/module/justifi-payments-list-filters.js +2 -2
- package/dist/module/justifi-payments-list.js +1 -1
- package/dist/module/justifi-payout-transactions-list.js +1 -1
- package/dist/module/justifi-payouts-list-filters.js +2 -2
- package/dist/module/justifi-payouts-list.js +1 -1
- package/dist/module/justifi-saved-payment-method.js +2 -2
- package/dist/module/justifi-skeleton.js +2 -2
- package/dist/module/justifi-terminal-orders-list-filters.js +2 -2
- package/dist/module/justifi-terminal-orders-list.js +1 -1
- package/dist/module/justifi-terminals-list-filters.js +1 -1
- package/dist/module/justifi-terminals-list.js +1 -1
- package/dist/module/legal-address-details2.js +1 -1
- package/dist/module/legal-address-form-step-core.js +28 -21
- package/dist/module/legal-address-form-step.js +16 -9
- package/dist/module/legal-address-form.js +17 -14
- package/dist/module/modular-checkout.js +13 -5
- package/dist/module/owner-form-core2.js +27 -19
- package/dist/module/owner-form-inputs2.js +34 -15
- package/dist/module/owner-form.js +21 -14
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +3 -3
- package/dist/module/parts.js +1 -1
- package/dist/module/payment-details-core2.js +9 -9
- package/dist/module/payment-method-option.js +2 -2
- package/dist/module/payment-provisioning-core.js +106 -71
- package/dist/module/payment-provisioning-form-buttons.js +3 -3
- package/dist/module/payment-provisioning-form-steps.js +76 -55
- package/dist/module/payments-list-core2.js +23 -3
- package/dist/module/payout-details-core2.js +5 -5
- package/dist/module/payouts-list-core2.js +4 -4
- package/dist/module/product-or-service.js +2 -2
- package/dist/module/refund-policy.js +2 -2
- package/dist/module/save-new-payment-method.js +1 -1
- package/dist/module/schema-validations.js +41 -6
- package/dist/module/sezzle-payment-method.js +1 -1
- package/dist/module/shipping-details.js +2 -2
- package/dist/module/summary.js +1 -1
- package/dist/module/table-filters-menu2.js +2 -2
- package/dist/module/terminal-orders-list-core2.js +2 -2
- package/dist/module/terminal-quantity-selector2.js +2 -2
- package/dist/module/terminals-list-core2.js +3 -3
- package/dist/module/tokenize-payment-method.js +1 -1
- package/dist/types/api/BankAccount.d.ts +6 -0
- package/dist/types/api/Business.d.ts +9 -0
- package/dist/types/components/business-forms/business-form/business-core-info/business-core-info.d.ts +3 -0
- package/dist/types/components/business-forms/business-form/business-form.d.ts +2 -0
- package/dist/types/components/business-forms/business-form/business-representative/business-representative.d.ts +4 -1
- package/dist/types/components/business-forms/business-form/legal-address-form/legal-address-form.d.ts +2 -0
- package/dist/types/components/business-forms/owner-form/identity-address/identity-address-form.d.ts +2 -0
- package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +2 -0
- package/dist/types/components/business-forms/owner-form/owner-form-inputs.d.ts +3 -0
- package/dist/types/components/business-forms/owner-form/owner-form.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.d.ts +7 -0
- package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.d.ts +5 -0
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.d.ts +5 -0
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +3 -0
- package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.d.ts +3 -0
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.d.ts +8 -0
- package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +4 -2
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-form-steps.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/test/mockBusiness.d.ts +12 -0
- package/dist/types/components/business-forms/schemas/business-address-schema.d.ts +54 -2
- package/dist/types/components/business-forms/schemas/business-bank-account-schema.d.ts +14 -16
- package/dist/types/components/business-forms/schemas/business-core-info-schema.d.ts +67 -3
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +164 -6
- package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +122 -2
- package/dist/types/components/business-forms/schemas/schema-validations.d.ts +5 -0
- package/dist/types/components/payments-list/payments-table.d.ts +5 -2
- package/dist/types/components.d.ts +111 -0
- package/dist/types/stencil-public-runtime.d.ts +22 -6
- package/dist/types/store/checkout.store.d.ts +0 -1
- package/dist/types/utils/country-codes.d.ts +4 -0
- package/dist/types/utils/form-input-masks.d.ts +1 -0
- package/dist/types/utils/province-options.d.ts +5 -0
- package/dist/webcomponents/p-0254c06c.entry.js +1 -0
- package/dist/webcomponents/p-047fe97f.entry.js +1 -0
- package/dist/webcomponents/p-04ca6ff0.entry.js +1 -0
- package/dist/webcomponents/p-09d53b03.entry.js +1 -0
- package/dist/webcomponents/p-0c5e2fed.entry.js +1 -0
- package/dist/webcomponents/p-0ea48603.entry.js +1 -0
- package/dist/webcomponents/p-17e9d5c0.entry.js +1 -0
- package/dist/webcomponents/p-1ab4d6aa.entry.js +1 -0
- package/dist/webcomponents/p-1cf42bc9.entry.js +1 -0
- package/dist/webcomponents/p-1e7f4b4f.entry.js +1 -0
- package/dist/webcomponents/{p-27fc3ef0.entry.js → p-22defde6.entry.js} +4 -4
- package/dist/webcomponents/{p-7c5cd118.entry.js → p-242208d9.entry.js} +1 -1
- package/dist/webcomponents/p-31ac0c3d.entry.js +1 -0
- package/dist/webcomponents/p-36e21b78.entry.js +1 -0
- package/dist/webcomponents/p-3a77a97c.entry.js +1 -0
- package/dist/webcomponents/p-40938820.entry.js +1 -0
- package/dist/webcomponents/p-40dc0c3c.entry.js +1 -0
- package/dist/webcomponents/p-42763479.entry.js +1 -0
- package/dist/webcomponents/p-430203b0.entry.js +1 -0
- package/dist/webcomponents/p-46d2d042.entry.js +1 -0
- package/dist/webcomponents/p-485516a1.entry.js +1 -0
- package/dist/webcomponents/p-4fb58ee6.entry.js +1 -0
- package/dist/webcomponents/p-54995a3d.entry.js +1 -0
- package/dist/webcomponents/p-56617fdd.entry.js +1 -0
- package/dist/webcomponents/p-592a45f6.entry.js +1 -0
- package/dist/webcomponents/p-5a044ca5.entry.js +1 -0
- package/dist/webcomponents/p-5ec18584.entry.js +1 -0
- package/dist/webcomponents/p-6122dc79.entry.js +1 -0
- package/dist/webcomponents/p-62858ba5.entry.js +1 -0
- package/dist/webcomponents/p-62b5e6cf.entry.js +1 -0
- package/dist/webcomponents/p-67dab4d9.entry.js +1 -0
- package/dist/webcomponents/p-6b791b1d.entry.js +1 -0
- package/dist/webcomponents/{p-a71a5e64.entry.js → p-6ea75d39.entry.js} +1 -1
- package/dist/webcomponents/p-6ebf8f11.entry.js +1 -0
- package/dist/webcomponents/p-6fdac295.entry.js +1 -0
- package/dist/webcomponents/p-724cf90f.entry.js +1 -0
- package/dist/webcomponents/p-7ecca5fe.entry.js +1 -0
- package/dist/webcomponents/p-7ecf9bd0.entry.js +1 -0
- package/dist/webcomponents/p-850dd606.entry.js +1 -0
- package/dist/webcomponents/p-85af9d78.entry.js +1 -0
- package/dist/webcomponents/p-931003fc.entry.js +1 -0
- package/dist/webcomponents/p-9367e7e6.entry.js +1 -0
- package/dist/webcomponents/p-9c114674.entry.js +1 -0
- package/dist/webcomponents/p-9c267692.entry.js +1 -0
- package/dist/webcomponents/p-B5rtFhtR.js +1 -0
- package/dist/webcomponents/{p-c4Mh3ZZ_.js → p-BPDMo6us.js} +1 -1
- package/dist/webcomponents/p-BRhnhmpB.js +1 -0
- package/dist/webcomponents/{p-O-hoT2Oo.js → p-BaM0JBLn.js} +1 -1
- package/dist/webcomponents/{p-CaxjN6Uo.js → p-BdREtifE.js} +1 -1
- package/dist/webcomponents/p-BgFM_jvF.js +1 -0
- package/dist/webcomponents/p-BqbXuOZP.js +1 -0
- package/dist/webcomponents/p-BwpdCtUc.js +1 -0
- package/dist/webcomponents/p-C6g4MbnB.js +1 -0
- package/dist/webcomponents/{p-1ydcg9ti.js → p-C77ElQ41.js} +1 -1
- package/dist/webcomponents/{p-RvUQ__Pq.js → p-CA_TyBed.js} +1 -1
- package/dist/webcomponents/p-CE-MNrID.js +1 -0
- package/dist/webcomponents/p-CMpATPXy.js +1 -0
- package/dist/webcomponents/{p-yH3TC3ZQ.js → p-CPpUGsw5.js} +1 -1
- package/dist/webcomponents/p-CQUZeo9r.js +1 -0
- package/dist/webcomponents/p-CSeo7WDO.js +1 -0
- package/dist/webcomponents/p-CTJ3moi4.js +1 -0
- package/dist/webcomponents/p-CVaOFfrI.js +1 -0
- package/dist/webcomponents/p-CYNcSTQA.js +1 -0
- package/dist/webcomponents/p-CevVA9qy.js +1 -0
- package/dist/webcomponents/p-CkiX8OGy.js +1 -0
- package/dist/webcomponents/{p-D--yCspA.js → p-CtWnJFtW.js} +1 -1
- package/dist/webcomponents/p-CycBoHSW.js +1 -0
- package/dist/webcomponents/p-D-RVXHwG.js +1 -0
- package/dist/webcomponents/{p-BIPdn2VU.js → p-D1Na2I0C.js} +1 -1
- package/dist/webcomponents/{p-BdLLGV9t.js → p-D2hzOOMf.js} +1 -1
- package/dist/webcomponents/p-D5lmImiz.js +1 -0
- package/dist/webcomponents/p-DMf85Fkr.js +1 -0
- package/dist/webcomponents/p-DNPS-Ypi.js +1 -0
- package/dist/webcomponents/p-DQ5V5-Jy.js +1 -0
- package/dist/webcomponents/{p-CLQx9p9q.js → p-DTwFW2k_.js} +1 -1
- package/dist/webcomponents/{p-BZ7C9duj.js → p-DWGKeoot.js} +1 -1
- package/dist/webcomponents/p-DapORSs4.js +1 -0
- package/dist/webcomponents/p-DcPNd9_D.js +1 -0
- package/dist/webcomponents/p-DfKxeSrC.js +1 -0
- package/dist/webcomponents/{p-CR9D6mKt.js → p-DiJD6Iqx.js} +1 -1
- package/dist/webcomponents/{p-D-JYHdJ7.js → p-Dkujm7_O.js} +1 -1
- package/dist/webcomponents/p-Dv1Fyrn3.js +1 -0
- package/dist/webcomponents/p-DxVCqvBt.js +1 -0
- package/dist/webcomponents/p-DzWLLt4t.js +1 -0
- package/dist/webcomponents/{p-CzPUMw00.js → p-JSXyHheQ.js} +1 -1
- package/dist/webcomponents/p-LO0pl3n2.js +1 -0
- package/dist/webcomponents/{p-BUa0YOaw.js → p-M5r2kSbf.js} +1 -1
- package/dist/webcomponents/{p-C_3N7nqh.js → p-PdQT2QcR.js} +1 -1
- package/dist/webcomponents/p-_b8l4IX7.js +2 -0
- package/dist/webcomponents/p-a2817869.entry.js +1 -0
- package/dist/webcomponents/p-a291a90c.entry.js +1 -0
- package/dist/webcomponents/p-b0bc03e6.entry.js +1 -0
- package/dist/webcomponents/{p-1b7926f6.entry.js → p-b17cb15d.entry.js} +1 -1
- package/dist/webcomponents/p-b46fe458.entry.js +1 -0
- package/dist/webcomponents/{p-3d37045d.entry.js → p-b59221a9.entry.js} +1 -1
- package/dist/webcomponents/{p-e037cdd1.entry.js → p-c1f10a84.entry.js} +1 -1
- package/dist/webcomponents/p-c2cb70c8.entry.js +1 -0
- package/dist/webcomponents/p-c540fe9d.entry.js +1 -0
- package/dist/webcomponents/{p-8975bf93.entry.js → p-c6093716.entry.js} +1 -1
- package/dist/webcomponents/p-c6e43493.entry.js +1 -0
- package/dist/webcomponents/{p-0801324e.entry.js → p-c7390115.entry.js} +1 -1
- package/dist/webcomponents/p-c780cc91.entry.js +1 -0
- package/dist/webcomponents/p-c9598246.entry.js +1 -0
- package/dist/webcomponents/p-c972a599.entry.js +1 -0
- package/dist/webcomponents/p-cc1d8649.entry.js +1 -0
- package/dist/webcomponents/p-ce4895ca.entry.js +1 -0
- package/dist/webcomponents/p-ce67282b.entry.js +1 -0
- package/dist/webcomponents/p-cef5c6e9.entry.js +1 -0
- package/dist/webcomponents/p-d21fa0c9.entry.js +1 -0
- package/dist/webcomponents/p-d236f152.entry.js +1 -0
- package/dist/webcomponents/p-d6ac11fc.entry.js +1 -0
- package/dist/webcomponents/p-e55ce6ad.entry.js +1 -0
- package/dist/webcomponents/p-f02bd076.entry.js +1 -0
- package/dist/webcomponents/{p-fUtq2xDs.js → p-fVyCeQNq.js} +1 -1
- package/dist/webcomponents/{p-DyOgQlh2.js → p-g2ubqhtv.js} +1 -1
- package/dist/webcomponents/{p-DsAwPf2y.js → p-hj8k0lRi.js} +1 -1
- package/dist/webcomponents/p-lPeK9y_X.js +1 -0
- package/dist/webcomponents/p-qUCDGWNE.js +1 -0
- package/dist/webcomponents/p-sCHf--Vc.js +1 -0
- package/dist/webcomponents/{p-BHf9IqGw.js → p-xWrhxNNk.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +0 -112
- package/dist/cjs/business-identity-schema-CclzWSOn.js +0 -51
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +0 -107
- package/dist/cjs/helpers-B5OCqlIM.js +0 -35
- package/dist/cjs/state-options-CIT9xdTz.js +0 -246
- 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/bank-account-document-form-inputs_4.entry.js +0 -107
- package/dist/esm/business-identity-schema-D8n5dyLX.js +0 -48
- package/dist/esm/form-control-number-masked_2.entry.js +0 -104
- package/dist/esm/helpers-Mu7LQT-w.js +0 -29
- package/dist/esm/state-options-BX8GieXu.js +0 -244
- package/dist/esm/terminals-list-params-state-C2_GlMKR.js +0 -16
- package/dist/module/helpers.js +0 -29
- package/dist/module/state-options.js +0 -244
- package/dist/types/components/modular-checkout/sub-components/plaid-payment-method.test.d.ts +0 -1
- package/dist/webcomponents/p-10278c48.entry.js +0 -1
- package/dist/webcomponents/p-108209c5.entry.js +0 -1
- package/dist/webcomponents/p-176aa079.entry.js +0 -1
- package/dist/webcomponents/p-18353682.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-1bc8da98.entry.js +0 -1
- package/dist/webcomponents/p-1c433962.entry.js +0 -1
- package/dist/webcomponents/p-1df96001.entry.js +0 -1
- package/dist/webcomponents/p-1e080811.entry.js +0 -1
- package/dist/webcomponents/p-1e87c8ed.entry.js +0 -1
- package/dist/webcomponents/p-1efc0d88.entry.js +0 -1
- package/dist/webcomponents/p-1f971a0f.entry.js +0 -1
- package/dist/webcomponents/p-2246aa69.entry.js +0 -1
- package/dist/webcomponents/p-246ef4ff.entry.js +0 -1
- package/dist/webcomponents/p-2687e615.entry.js +0 -1
- package/dist/webcomponents/p-30147031.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-406ba650.entry.js +0 -1
- package/dist/webcomponents/p-44d1341c.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-613cf570.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-7131211a.entry.js +0 -1
- package/dist/webcomponents/p-7aeb20d2.entry.js +0 -1
- package/dist/webcomponents/p-80b1c65b.entry.js +0 -1
- package/dist/webcomponents/p-84043580.entry.js +0 -1
- package/dist/webcomponents/p-906fdf0c.entry.js +0 -1
- package/dist/webcomponents/p-90e43440.entry.js +0 -1
- package/dist/webcomponents/p-914e168d.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-B-iV5cYd.js +0 -1
- package/dist/webcomponents/p-B4idKqyn.js +0 -1
- package/dist/webcomponents/p-BBO3I4s6.js +0 -1
- package/dist/webcomponents/p-BX8GieXu.js +0 -1
- package/dist/webcomponents/p-BY2p6Sxk.js +0 -1
- package/dist/webcomponents/p-BguBT6Hn.js +0 -1
- package/dist/webcomponents/p-BlJnA265.js +0 -1
- package/dist/webcomponents/p-Bp_QFeog.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-CYBR4K2p.js +0 -1
- package/dist/webcomponents/p-CpKvg1ok.js +0 -1
- package/dist/webcomponents/p-CrQgyTRz.js +0 -1
- package/dist/webcomponents/p-CxzFvTgf.js +0 -1
- package/dist/webcomponents/p-D6XirF21.js +0 -1
- package/dist/webcomponents/p-DCMrHeJI.js +0 -1
- package/dist/webcomponents/p-DH8F0bsw.js +0 -1
- package/dist/webcomponents/p-DSP8qjHL.js +0 -1
- package/dist/webcomponents/p-DbX0g1WF.js +0 -1
- package/dist/webcomponents/p-De8UloOS.js +0 -1
- package/dist/webcomponents/p-Dt-vy9Le.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-PgEzcvI6.js +0 -1
- package/dist/webcomponents/p-Xv8DuU3Y.js +0 -1
- package/dist/webcomponents/p-a0a0e200.entry.js +0 -1
- package/dist/webcomponents/p-a57c1400.entry.js +0 -1
- package/dist/webcomponents/p-a90b8b93.entry.js +0 -1
- package/dist/webcomponents/p-acb0f3ae.entry.js +0 -1
- package/dist/webcomponents/p-b0a36936.entry.js +0 -1
- package/dist/webcomponents/p-ba5b1c54.entry.js +0 -1
- package/dist/webcomponents/p-c16c0cbc.entry.js +0 -1
- package/dist/webcomponents/p-c9fef3e4.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-e2a38ad0.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-e6e96be2.entry.js +0 -1
- package/dist/webcomponents/p-e79338f9.entry.js +0 -1
- package/dist/webcomponents/p-e97dee15.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-f739a98d.entry.js +0 -1
- package/dist/webcomponents/p-f8c22c77.entry.js +0 -1
- package/dist/webcomponents/p-fa14b671.entry.js +0 -1
- package/dist/webcomponents/p-ffe01f1b.entry.js +0 -1
- package/dist/webcomponents/p-oGKW57R8.js +0 -1
- package/dist/webcomponents/p-qipqIMyC.js +0 -2
- package/dist/webcomponents/p-xY5RkFuA.js +0 -1
|
@@ -3,7 +3,7 @@ import { radioListItem } from "../../../styles/parts";
|
|
|
3
3
|
import { StyledHost } from "../../../ui-components";
|
|
4
4
|
export class PaymentMethodOption {
|
|
5
5
|
render() {
|
|
6
|
-
return (h(StyledHost, { key: '
|
|
6
|
+
return (h(StyledHost, { key: 'c3edf1e3223d8d4bbd1b0433bb3546bdb59f0d5e', class: "payment-method" }, h("div", { key: 'e7f8815636cd256758e951d92f89890ee04564c3', class: "radio-list-item p-3", part: radioListItem, onClick: this.clickHandler, hidden: this.radioButtonHidden }, h("form-control-radio", { key: 'f560ddcc9789e9915c8186d3212efe82b9e1d802', name: "paymentMethodType", value: this.paymentMethodOptionId, checked: this.isSelected, label: this.label }))));
|
|
7
7
|
}
|
|
8
8
|
static get is() { return "payment-method-option"; }
|
|
9
9
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,7 +11,6 @@ export class PaymentMethodOption {
|
|
|
11
11
|
return {
|
|
12
12
|
"paymentMethodOptionId": {
|
|
13
13
|
"type": "string",
|
|
14
|
-
"attribute": "payment-method-option-id",
|
|
15
14
|
"mutable": false,
|
|
16
15
|
"complexType": {
|
|
17
16
|
"original": "string",
|
|
@@ -26,11 +25,11 @@ export class PaymentMethodOption {
|
|
|
26
25
|
},
|
|
27
26
|
"getter": false,
|
|
28
27
|
"setter": false,
|
|
29
|
-
"reflect": false
|
|
28
|
+
"reflect": false,
|
|
29
|
+
"attribute": "payment-method-option-id"
|
|
30
30
|
},
|
|
31
31
|
"isSelected": {
|
|
32
32
|
"type": "boolean",
|
|
33
|
-
"attribute": "is-selected",
|
|
34
33
|
"mutable": false,
|
|
35
34
|
"complexType": {
|
|
36
35
|
"original": "boolean",
|
|
@@ -45,11 +44,11 @@ export class PaymentMethodOption {
|
|
|
45
44
|
},
|
|
46
45
|
"getter": false,
|
|
47
46
|
"setter": false,
|
|
48
|
-
"reflect": false
|
|
47
|
+
"reflect": false,
|
|
48
|
+
"attribute": "is-selected"
|
|
49
49
|
},
|
|
50
50
|
"clickHandler": {
|
|
51
51
|
"type": "unknown",
|
|
52
|
-
"attribute": "click-handler",
|
|
53
52
|
"mutable": false,
|
|
54
53
|
"complexType": {
|
|
55
54
|
"original": "(event: MouseEvent) => void",
|
|
@@ -72,7 +71,6 @@ export class PaymentMethodOption {
|
|
|
72
71
|
},
|
|
73
72
|
"radioButtonHidden": {
|
|
74
73
|
"type": "boolean",
|
|
75
|
-
"attribute": "radio-button-hidden",
|
|
76
74
|
"mutable": false,
|
|
77
75
|
"complexType": {
|
|
78
76
|
"original": "boolean",
|
|
@@ -87,11 +85,11 @@ export class PaymentMethodOption {
|
|
|
87
85
|
},
|
|
88
86
|
"getter": false,
|
|
89
87
|
"setter": false,
|
|
90
|
-
"reflect": false
|
|
88
|
+
"reflect": false,
|
|
89
|
+
"attribute": "radio-button-hidden"
|
|
91
90
|
},
|
|
92
91
|
"label": {
|
|
93
92
|
"type": "string",
|
|
94
|
-
"attribute": "label",
|
|
95
93
|
"mutable": false,
|
|
96
94
|
"complexType": {
|
|
97
95
|
"original": "string",
|
|
@@ -106,7 +104,8 @@ export class PaymentMethodOption {
|
|
|
106
104
|
},
|
|
107
105
|
"getter": false,
|
|
108
106
|
"setter": false,
|
|
109
|
-
"reflect": false
|
|
107
|
+
"reflect": false,
|
|
108
|
+
"attribute": "label"
|
|
110
109
|
}
|
|
111
110
|
};
|
|
112
111
|
}
|
|
@@ -60,7 +60,7 @@ export class SezzlePaymentMethod {
|
|
|
60
60
|
}
|
|
61
61
|
render() {
|
|
62
62
|
var _a, _b;
|
|
63
|
-
if (!checkoutStore.bnplEnabled
|
|
63
|
+
if (!checkoutStore.bnplEnabled) {
|
|
64
64
|
console.warn('justifi-sezzle-payment-method: BNPL is not enabled for this account.');
|
|
65
65
|
return null;
|
|
66
66
|
}
|
|
@@ -5,7 +5,7 @@ import { checkoutStore } from "../../../store/checkout.store";
|
|
|
5
5
|
import { StyledHost } from "../../../ui-components";
|
|
6
6
|
export class Summary {
|
|
7
7
|
render() {
|
|
8
|
-
return (h(StyledHost, { key: '
|
|
8
|
+
return (h(StyledHost, { key: '486de82e23fb45c7dbe804e92687ee380643483e' }, h("section", { key: '45a41fb60275d5c50b994aa47bed8db6df231b77' }, h("div", { key: 'ea4d92fdce0182538a3f42e314c7e9a9bc8e75eb' }, h("div", { key: '35158706826e010c86f7fcb43da383c726fe595b', part: text }, checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.paymentDescription), h("div", { key: 'e2caeff8e0b4ba4a549cc256ab6df0ad44d3cebb' }, h("span", { key: '104c839b0a5c518d115fc34d66082c035e1b76ac', part: text }, "Total"), "\u00A0", h("span", { key: '79fac509d988600dd8c7e99f6c1be82956ea8219', part: text }, formatCurrency(+(checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.totalAmount))))))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "justifi-checkout-summary"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -126,7 +126,7 @@ export class OrderTerminals {
|
|
|
126
126
|
return (h("div", { class: "mt-3" }, h("div", { class: "text-end" }, "Order limit: ", this.orderLimit), h("div", { class: "d-flex justify-content-end mt-3" }, h("button", { class: "btn btn-primary submit-btn", onClick: this.submitOrder.bind(this), disabled: this.order.totalQuantity === 0 || this.submitting, part: buttonPrimary }, this.submitting ? 'Submitting...' : this.submitButtonText))));
|
|
127
127
|
}
|
|
128
128
|
render() {
|
|
129
|
-
return (h(StyledHost, { key: '
|
|
129
|
+
return (h(StyledHost, { key: '41e37a4d39c62a70af04300f4075e3504ad0bfb7' }, h("div", { key: 'b3c3ccac39a5b7a6c70af5fd328291454ddf10e0', part: text }, this.renderLoading(), this.renderBusinessDetails(), this.renderTerminals(), this.renderOrderSection())));
|
|
130
130
|
}
|
|
131
131
|
static get is() { return "justifi-order-terminals"; }
|
|
132
132
|
static get encapsulation() { return "shadow"; }
|
|
@@ -134,7 +134,6 @@ export class OrderTerminals {
|
|
|
134
134
|
return {
|
|
135
135
|
"businessId": {
|
|
136
136
|
"type": "string",
|
|
137
|
-
"attribute": "business-id",
|
|
138
137
|
"mutable": false,
|
|
139
138
|
"complexType": {
|
|
140
139
|
"original": "string",
|
|
@@ -149,11 +148,11 @@ export class OrderTerminals {
|
|
|
149
148
|
},
|
|
150
149
|
"getter": false,
|
|
151
150
|
"setter": false,
|
|
152
|
-
"reflect": false
|
|
151
|
+
"reflect": false,
|
|
152
|
+
"attribute": "business-id"
|
|
153
153
|
},
|
|
154
154
|
"authToken": {
|
|
155
155
|
"type": "string",
|
|
156
|
-
"attribute": "auth-token",
|
|
157
156
|
"mutable": false,
|
|
158
157
|
"complexType": {
|
|
159
158
|
"original": "string",
|
|
@@ -168,11 +167,11 @@ export class OrderTerminals {
|
|
|
168
167
|
},
|
|
169
168
|
"getter": false,
|
|
170
169
|
"setter": false,
|
|
171
|
-
"reflect": false
|
|
170
|
+
"reflect": false,
|
|
171
|
+
"attribute": "auth-token"
|
|
172
172
|
},
|
|
173
173
|
"accountId": {
|
|
174
174
|
"type": "string",
|
|
175
|
-
"attribute": "account-id",
|
|
176
175
|
"mutable": false,
|
|
177
176
|
"complexType": {
|
|
178
177
|
"original": "string",
|
|
@@ -187,11 +186,11 @@ export class OrderTerminals {
|
|
|
187
186
|
},
|
|
188
187
|
"getter": false,
|
|
189
188
|
"setter": false,
|
|
190
|
-
"reflect": false
|
|
189
|
+
"reflect": false,
|
|
190
|
+
"attribute": "account-id"
|
|
191
191
|
},
|
|
192
192
|
"shipping": {
|
|
193
193
|
"type": "boolean",
|
|
194
|
-
"attribute": "shipping",
|
|
195
194
|
"mutable": false,
|
|
196
195
|
"complexType": {
|
|
197
196
|
"original": "boolean",
|
|
@@ -207,11 +206,11 @@ export class OrderTerminals {
|
|
|
207
206
|
"getter": false,
|
|
208
207
|
"setter": false,
|
|
209
208
|
"reflect": false,
|
|
209
|
+
"attribute": "shipping",
|
|
210
210
|
"defaultValue": "false"
|
|
211
211
|
},
|
|
212
212
|
"submitButtonText": {
|
|
213
213
|
"type": "string",
|
|
214
|
-
"attribute": "submit-button-text",
|
|
215
214
|
"mutable": false,
|
|
216
215
|
"complexType": {
|
|
217
216
|
"original": "string",
|
|
@@ -227,6 +226,7 @@ export class OrderTerminals {
|
|
|
227
226
|
"getter": false,
|
|
228
227
|
"setter": false,
|
|
229
228
|
"reflect": false,
|
|
229
|
+
"attribute": "submit-button-text",
|
|
230
230
|
"defaultValue": "'Submit Order'"
|
|
231
231
|
}
|
|
232
232
|
};
|
|
@@ -18,14 +18,13 @@ export class TerminalQuantitySelector {
|
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h("div", { key: '
|
|
21
|
+
return (h("div", { key: 'f05ebce500fb462f6e92351386b14ea0f1968139', class: "rounded shadow-sm card p-2", part: card }, h("div", { key: 'ebf32f2ac9ee978f08d4c146d6022fb0ad92774f', class: "d-flex gap-3" }, h("div", { key: 'adb4e21d7ea60318b9b977f9f5fe7f52261a1949', class: "d-flex align-items-center" }, h("img", { key: '6e64b6e9b56a651708529d14919ba97feeb44862', src: this.imageUrl, alt: this.modelName, height: 75, width: 75, part: image })), h("div", { key: 'cd4bdf915458e857b8986a65e8127409782c73ae', class: "d-flex flex-column flex-grow-1 gap-3 p-4 justify-content-center" }, h("div", { key: 'f6f70ca349493eea14d08d71b156a45c0c0d6852', class: "row" }, h("div", { key: '45b80f642748e9ef52df59e79fd2133d7f6d42b4', class: "col-6 d-flex gap-2" }, this.modelName, h("form-control-tooltip", { key: 'f48f14c05bae0b817208d37b159b90fa52155b5c', helpText: this.description })), h("div", { key: '340152ebf444ecae6118d7b0411cbc892dae08dc', class: "col-6 d-flex justify-content-end align-items-center" }, h("button", { key: 'fb16cb533eb0b4b6f4826323ff181bda7925b672', class: "p-0 minus btn", onClick: this.removeUnit, part: buttonLink }, "-"), h("div", { key: '13ff697e39207f42e1e805169ebcf559b3b864a5', class: "w-25 text-center" }, this.selectedQuantity), h("button", { key: '248a028259b6bbf3eff7cd42aef9d492bb11d298', class: "p-0 plus btn", onClick: this.addUnit, part: buttonLink }, "+")))))));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "terminal-quantity-selector"; }
|
|
24
24
|
static get properties() {
|
|
25
25
|
return {
|
|
26
26
|
"modelName": {
|
|
27
27
|
"type": "string",
|
|
28
|
-
"attribute": "model-name",
|
|
29
28
|
"mutable": false,
|
|
30
29
|
"complexType": {
|
|
31
30
|
"original": "TerminalModelName",
|
|
@@ -46,11 +45,11 @@ export class TerminalQuantitySelector {
|
|
|
46
45
|
},
|
|
47
46
|
"getter": false,
|
|
48
47
|
"setter": false,
|
|
49
|
-
"reflect": false
|
|
48
|
+
"reflect": false,
|
|
49
|
+
"attribute": "model-name"
|
|
50
50
|
},
|
|
51
51
|
"imageUrl": {
|
|
52
52
|
"type": "string",
|
|
53
|
-
"attribute": "image-url",
|
|
54
53
|
"mutable": false,
|
|
55
54
|
"complexType": {
|
|
56
55
|
"original": "string",
|
|
@@ -65,11 +64,11 @@ export class TerminalQuantitySelector {
|
|
|
65
64
|
},
|
|
66
65
|
"getter": false,
|
|
67
66
|
"setter": false,
|
|
68
|
-
"reflect": false
|
|
67
|
+
"reflect": false,
|
|
68
|
+
"attribute": "image-url"
|
|
69
69
|
},
|
|
70
70
|
"description": {
|
|
71
71
|
"type": "string",
|
|
72
|
-
"attribute": "description",
|
|
73
72
|
"mutable": false,
|
|
74
73
|
"complexType": {
|
|
75
74
|
"original": "string",
|
|
@@ -84,11 +83,11 @@ export class TerminalQuantitySelector {
|
|
|
84
83
|
},
|
|
85
84
|
"getter": false,
|
|
86
85
|
"setter": false,
|
|
87
|
-
"reflect": false
|
|
86
|
+
"reflect": false,
|
|
87
|
+
"attribute": "description"
|
|
88
88
|
},
|
|
89
89
|
"helpUrl": {
|
|
90
90
|
"type": "string",
|
|
91
|
-
"attribute": "help-url",
|
|
92
91
|
"mutable": false,
|
|
93
92
|
"complexType": {
|
|
94
93
|
"original": "string",
|
|
@@ -103,11 +102,11 @@ export class TerminalQuantitySelector {
|
|
|
103
102
|
},
|
|
104
103
|
"getter": false,
|
|
105
104
|
"setter": false,
|
|
106
|
-
"reflect": false
|
|
105
|
+
"reflect": false,
|
|
106
|
+
"attribute": "help-url"
|
|
107
107
|
},
|
|
108
108
|
"limit": {
|
|
109
109
|
"type": "number",
|
|
110
|
-
"attribute": "limit",
|
|
111
110
|
"mutable": false,
|
|
112
111
|
"complexType": {
|
|
113
112
|
"original": "number",
|
|
@@ -123,6 +122,7 @@ export class TerminalQuantitySelector {
|
|
|
123
122
|
"getter": false,
|
|
124
123
|
"setter": false,
|
|
125
124
|
"reflect": false,
|
|
125
|
+
"attribute": "limit",
|
|
126
126
|
"defaultValue": "Infinity"
|
|
127
127
|
}
|
|
128
128
|
};
|
|
@@ -38,16 +38,16 @@ export class PaymentDetailsCore {
|
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
|
-
return (h(StyledHost, { key: '
|
|
42
|
-
this.payment && (h("justifi-details", { key: '
|
|
43
|
-
h(DetailSectionTitle, { key: '
|
|
44
|
-
h("div", { key: '
|
|
41
|
+
return (h(StyledHost, { key: '25ed5c9e906407f662ef7ebbaa25f2213e5cccc9' }, this.loading && h(PaymentDetailsLoading, { key: 'b5c123d3ed3e0f652c381cb55203155e12274d22' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
|
|
42
|
+
this.payment && (h("justifi-details", { key: 'baf306757436e341879261f25890f32e84506f6e', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '59ffd1cefafce8bdb5f61967705539a13c5a9874', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPaymentStatusToBadge(this.payment.status), this.payment.expedited ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : null)), title: this.payment.formattedPaymentAmount(this.payment.amount) }, h(EntityHeadInfoItem, { key: '0c1eb1feda928bae7a99de1b01263521e321c4f7', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: 'd5e18d093518c6f100b60ad024b6767e6309b1f8', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: 'd70449e817bf505f1c9c2784ef1a59e5223c3393', title: "ID", value: this.payment.id })), h("div", { key: '16b88c7204b8bd5216bfd6e53e29d8feea7a1e5d', slot: 'detail-sections' }, h(DetailSectionTitle, { key: 'eb6f996248478b0508f429e6924da3a9adfd9f09', sectionTitle: "Details" }), h("div", { key: 'cf3f17085930ac40cebefe920704284f747a1042', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '56897b69bc9ef5b51156ef4e77f24537b8b72df7', title: "Amount", value: this.payment.formattedPaymentAmount(this.payment.amount) }), h(DetailItem, { key: '36e9ac617d83ac03361724525f4833a1795aa93f', title: "Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: 'a7c47250572be737b7f609f4cc70fd920562f620', title: "Refunded", value: this.payment.formattedPaymentAmount(this.payment.amount_refunded) }), h(DetailItem, { key: 'bdd0df4024cbe8f7d8bee2f201b3d9a79fc61d2c', title: "Net", value: this.payment.formattedPaymentAmount(this.payment.balance) }), h(DetailItem, { key: '2c03f3bfaabb5fb37358adcb72d7f9eb880dfcc4', title: "Status", value: MapPaymentStatusToBadge(this.payment.status) }), h(DetailItem, { key: 'c4ad1d92e7c4429a0093f60b4c94682f8bd8daec', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: '8c7f1531e67e1647b2ca1b0690bcdea8351e32cb', title: "Processing Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: 'f58f18b2b550efdf8e6ffc31f2c6807dafec3755', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: 'b3ca89e74ae93e27bdf58de8b0d29cf21ce1c7c2', title: "Description", value: this.payment.description }), h(DetailItem, { key: '58e1993dee67555d69fb20c560953a7de5658ee2', title: "Expedited", value: this.payment.expedited ? 'Yes' : 'No' })), this.payment.payment_method.card && [
|
|
43
|
+
h(DetailSectionTitle, { key: '0e9b3abf65e6592cc5cbed82c5a183f6d05c8fc2', sectionTitle: "Payment Method" }),
|
|
44
|
+
h("div", { key: '91fc3faffc6bd2a0c515229efa03a6c1a59c555c', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'f67dfc71504d76159689766c25180dcf2e531409', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: 'e78c847e0a48544592303b7548bbc72b7c6495c9', title: "Payment Type", value: "Card" }), h(DetailItem, { key: '160a4fd630c256c53bb7379ecec7985f8e78c42f', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: 'd3317e6b4186113d1376ded0ccdaed2af2735f38', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: 'd6aaf539523dabf5b79070b9512438a8c043e0e6', title: "Cardholder", value: this.payment.payment_method.payersName }))
|
|
45
45
|
], this.payment.payment_method.bank_account && [
|
|
46
|
-
h(DetailSectionTitle, { key: '
|
|
47
|
-
h("div", { key: '
|
|
46
|
+
h(DetailSectionTitle, { key: '17de969fc0e95f5ab2afdbdb0d486f2d0fdd7b65', sectionTitle: "Payment Method" }),
|
|
47
|
+
h("div", { key: '796fba5c17545a37996a2b197721f64031e8e0e3', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '5144c207cedc0aa80b9252d216857eba2477bf7a', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: '9b06231a073e33adcaca4bc09db654ef65c3738f', title: "Last 4 Numbers", value: this.payment.last_four_digits }), h(DetailItem, { key: '880c481c9677b629406e90cd13c672850fc5b762', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: '3d59ecf1db015154b33a141f445d0f1d9671e7e0', title: "Account Owner", value: this.payment.payment_method.payersName }))
|
|
48
48
|
], this.payment.metadata && [
|
|
49
|
-
h(DetailSectionTitle, { key: '
|
|
50
|
-
h("div", { key: '
|
|
49
|
+
h(DetailSectionTitle, { key: '7597a4e86d8cda118144a80499a98dd9aa67c442', sectionTitle: 'Metadata' }),
|
|
50
|
+
h("div", { key: '421c20438ef533975a22796dc4fd10a7fa9fce1d', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '268c3efaa09969a1c8cdddb1faeccc48e7a90701', metadata: this.payment.metadata }))
|
|
51
51
|
])))));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "payment-details-core"; }
|
|
@@ -55,7 +55,6 @@ export class PaymentDetailsCore {
|
|
|
55
55
|
return {
|
|
56
56
|
"getPaymentDetails": {
|
|
57
57
|
"type": "unknown",
|
|
58
|
-
"attribute": "get-payment-details",
|
|
59
58
|
"mutable": false,
|
|
60
59
|
"complexType": {
|
|
61
60
|
"original": "Function",
|
|
@@ -56,7 +56,6 @@ export class PaymentDetails {
|
|
|
56
56
|
return {
|
|
57
57
|
"paymentId": {
|
|
58
58
|
"type": "string",
|
|
59
|
-
"attribute": "payment-id",
|
|
60
59
|
"mutable": false,
|
|
61
60
|
"complexType": {
|
|
62
61
|
"original": "string",
|
|
@@ -71,11 +70,11 @@ export class PaymentDetails {
|
|
|
71
70
|
},
|
|
72
71
|
"getter": false,
|
|
73
72
|
"setter": false,
|
|
74
|
-
"reflect": false
|
|
73
|
+
"reflect": false,
|
|
74
|
+
"attribute": "payment-id"
|
|
75
75
|
},
|
|
76
76
|
"authToken": {
|
|
77
77
|
"type": "string",
|
|
78
|
-
"attribute": "auth-token",
|
|
79
78
|
"mutable": false,
|
|
80
79
|
"complexType": {
|
|
81
80
|
"original": "string",
|
|
@@ -90,7 +89,8 @@ export class PaymentDetails {
|
|
|
90
89
|
},
|
|
91
90
|
"getter": false,
|
|
92
91
|
"setter": false,
|
|
93
|
-
"reflect": false
|
|
92
|
+
"reflect": false,
|
|
93
|
+
"attribute": "auth-token"
|
|
94
94
|
}
|
|
95
95
|
};
|
|
96
96
|
}
|
|
@@ -91,7 +91,7 @@ export class PaymentTransactionsList {
|
|
|
91
91
|
return !this.showEmptyState && !this.showErrorState && !this.isLoading;
|
|
92
92
|
}
|
|
93
93
|
render() {
|
|
94
|
-
return (h(StyledHost, { key: '
|
|
94
|
+
return (h(StyledHost, { key: '6cc5f2b4912082a551a3b70e5ed4195dcc377849' }, h(TableWrapper, { key: '5cfd24668cb55784d13e8c8d7dc9fe0a43e4bc4a' }, h(TableComponent, { key: '32ad4a5ddda0f27f114e2e1f71bb4e7a6664e94e' }, h(TableHead, { key: 'ea55561dbcf19bc5a9e23045990dddcafc127a6e' }, h(TableHeadRow, { key: '3d7f488dc283c2a1ade1029863da769a78c5164c' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: '038b3a0bb90c0f088e080ae87d966ad967a0d575' }, h(TableLoadingState, { key: 'f7716a4a9a19cfd6ec35a00a37f72ab3dac98c23', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '463a993922fb69facece2a878d9ea845450c0456', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '84869759e0d89316c7d1c29132bb3163738f267a', columnSpan: this.transactionsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.transactionsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: 'f46a1e7a318e6d3a5575397609cc8490c7835b2e' }, h(TableFootRow, { key: '7c5302050f562a64507f75fe5b72d8f474a35465' }, h(TableFootCell, { key: '69e4d5d2c3def6cdc394ce17f63571f3e952668a', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '933233e9f47b4dfc4008e946c14760c13bdfa4b7', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
95
95
|
}
|
|
96
96
|
static get is() { return "justifi-payment-transactions-list"; }
|
|
97
97
|
static get encapsulation() { return "shadow"; }
|
|
@@ -99,7 +99,6 @@ export class PaymentTransactionsList {
|
|
|
99
99
|
return {
|
|
100
100
|
"paymentId": {
|
|
101
101
|
"type": "string",
|
|
102
|
-
"attribute": "payment-id",
|
|
103
102
|
"mutable": false,
|
|
104
103
|
"complexType": {
|
|
105
104
|
"original": "string",
|
|
@@ -114,11 +113,11 @@ export class PaymentTransactionsList {
|
|
|
114
113
|
},
|
|
115
114
|
"getter": false,
|
|
116
115
|
"setter": false,
|
|
117
|
-
"reflect": false
|
|
116
|
+
"reflect": false,
|
|
117
|
+
"attribute": "payment-id"
|
|
118
118
|
},
|
|
119
119
|
"authToken": {
|
|
120
120
|
"type": "string",
|
|
121
|
-
"attribute": "auth-token",
|
|
122
121
|
"mutable": false,
|
|
123
122
|
"complexType": {
|
|
124
123
|
"original": "string",
|
|
@@ -133,11 +132,11 @@ export class PaymentTransactionsList {
|
|
|
133
132
|
},
|
|
134
133
|
"getter": false,
|
|
135
134
|
"setter": false,
|
|
136
|
-
"reflect": false
|
|
135
|
+
"reflect": false,
|
|
136
|
+
"attribute": "auth-token"
|
|
137
137
|
},
|
|
138
138
|
"columns": {
|
|
139
139
|
"type": "string",
|
|
140
|
-
"attribute": "columns",
|
|
141
140
|
"mutable": false,
|
|
142
141
|
"complexType": {
|
|
143
142
|
"original": "string",
|
|
@@ -153,6 +152,7 @@ export class PaymentTransactionsList {
|
|
|
153
152
|
"getter": false,
|
|
154
153
|
"setter": false,
|
|
155
154
|
"reflect": false,
|
|
155
|
+
"attribute": "columns",
|
|
156
156
|
"defaultValue": "defaultColumnsKeys"
|
|
157
157
|
}
|
|
158
158
|
};
|
|
@@ -83,14 +83,13 @@ export class PaymentsListCore {
|
|
|
83
83
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
84
84
|
}
|
|
85
85
|
render() {
|
|
86
|
-
return (h(TableWrapper, { key: '
|
|
86
|
+
return (h(TableWrapper, { key: '16623ffd64fb8c608f44daa44597f823ccd179a5' }, h(TableComponent, { key: '19933513ac4ae5f75a30e8a255ac0e53d1cb5c87' }, h(TableHead, { key: '4ca9504f2d3f98d1fe198c7524d1d80aae7ee169' }, h(TableHeadRow, { key: '497a03b10bf1fd4fbab5e132a26a4f59d0f0e947' }, this.paymentsTable.columnData.map((column) => column))), h(TableBody, { key: 'd3b321c2647c28b672c92c7e6a35d1ecf5ef4ffe' }, h(TableLoadingState, { key: 'f203ce04080f5bc06eca7a1236b22b90281cf920', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '7d0db001613b7e1fcc23ffa93ae7f61f0d96814a', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: '7dad16e0ed9131547334624ccfe378926771caa7', 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: 'f20e35a27f36703aa6c81e71da2b990a36074335' }, h(TableFootRow, { key: '34d9bada6b39ff6f7ce8a12e13c8276e54358758' }, h(TableFootCell, { key: 'cf868546ef932a43c6b820afd8eeb7c31b87ba2f', colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: '206704c8b7990ed504c41113a188aa61d6d4c6a8', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
87
87
|
}
|
|
88
88
|
static get is() { return "payments-list-core"; }
|
|
89
89
|
static get properties() {
|
|
90
90
|
return {
|
|
91
91
|
"getPayments": {
|
|
92
92
|
"type": "unknown",
|
|
93
|
-
"attribute": "get-payments",
|
|
94
93
|
"mutable": false,
|
|
95
94
|
"complexType": {
|
|
96
95
|
"original": "Function",
|
|
@@ -113,7 +112,6 @@ export class PaymentsListCore {
|
|
|
113
112
|
},
|
|
114
113
|
"columns": {
|
|
115
114
|
"type": "string",
|
|
116
|
-
"attribute": "columns",
|
|
117
115
|
"mutable": false,
|
|
118
116
|
"complexType": {
|
|
119
117
|
"original": "string",
|
|
@@ -128,7 +126,8 @@ export class PaymentsListCore {
|
|
|
128
126
|
},
|
|
129
127
|
"getter": false,
|
|
130
128
|
"setter": false,
|
|
131
|
-
"reflect": false
|
|
129
|
+
"reflect": false,
|
|
130
|
+
"attribute": "columns"
|
|
132
131
|
}
|
|
133
132
|
};
|
|
134
133
|
}
|
|
@@ -43,8 +43,8 @@ export class PaymentsListFilters {
|
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
45
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
46
|
-
return (h(StyledHost, { key: '
|
|
47
|
-
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterPaymentsListFilterParam })), h("div", { key: '
|
|
46
|
+
return (h(StyledHost, { key: '4764d9aea618aa059382add95cb7b9a6307688fe' }, h("table-filters-menu", { key: 'e557e4d94265a35d0bc24afb819fc11b68c64c72', params: filterMenuParams, clearParams: clearParams, part: paymentsListFilterMenu }, h("div", { key: 'd147fe90eaa9a351b8fd7bbc26c81140bdd2736f', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '55adb0f22e03ff1a4cb7adc796349785e2318b71', class: "p-2" }, h("form-control-text", { key: 'fb5037d0431b2df8a9a18a4a872599c10d893045', name: "payment_id", label: "Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.paymentId || filterParams.payment_id, disabled: !!this.paymentId, part: paymentIdPaymentsListFilterParam })), h("div", { key: '5500043157e0ebdde2e8781f9efef90e05d5adca', class: "p-2" }, h("form-control-text", { key: '116692d8ca95dd90c33cf6e3da6f2d1d6f3b0729', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdPaymentsListFilterParam })), h("div", { key: '3467ff316de211617b8b2549b41b7731ab12b44e', class: "p-2" }, h("form-control-select", { key: '0c60bb386acbd75ef0b9b743337d38801281bf07', name: "payment_status", label: "Status", options: this.paymentStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentStatus || filterParams.payment_status, disabled: !!this.paymentStatus, part: paymentStatusPaymentsListFilterParam })), h("div", { key: '8eccc7f8bde0ec94ba75da04d13ef5c57bcdd287', class: "p-2" }, h("form-control-date", { key: 'f1f8efe669fc3cff55773589a5b86072e1e08b64', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
|
|
47
|
+
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterPaymentsListFilterParam })), h("div", { key: '7e99c77eb11a715be373b26a35967abc7047d362', class: "p-2" }, h("form-control-date", { key: '92df3e401316750a69beb42beadd958ea5fcc560', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
|
|
48
48
|
convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: createdBeforePaymentsListFilterParam }))))));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "justifi-payments-list-filters"; }
|
|
@@ -53,7 +53,6 @@ export class PaymentsListFilters {
|
|
|
53
53
|
return {
|
|
54
54
|
"paymentId": {
|
|
55
55
|
"type": "string",
|
|
56
|
-
"attribute": "payment-id",
|
|
57
56
|
"mutable": false,
|
|
58
57
|
"complexType": {
|
|
59
58
|
"original": "string",
|
|
@@ -68,11 +67,11 @@ export class PaymentsListFilters {
|
|
|
68
67
|
},
|
|
69
68
|
"getter": false,
|
|
70
69
|
"setter": false,
|
|
71
|
-
"reflect": false
|
|
70
|
+
"reflect": false,
|
|
71
|
+
"attribute": "payment-id"
|
|
72
72
|
},
|
|
73
73
|
"terminalId": {
|
|
74
74
|
"type": "string",
|
|
75
|
-
"attribute": "terminal-id",
|
|
76
75
|
"mutable": false,
|
|
77
76
|
"complexType": {
|
|
78
77
|
"original": "string",
|
|
@@ -87,11 +86,11 @@ export class PaymentsListFilters {
|
|
|
87
86
|
},
|
|
88
87
|
"getter": false,
|
|
89
88
|
"setter": false,
|
|
90
|
-
"reflect": false
|
|
89
|
+
"reflect": false,
|
|
90
|
+
"attribute": "terminal-id"
|
|
91
91
|
},
|
|
92
92
|
"paymentStatus": {
|
|
93
93
|
"type": "string",
|
|
94
|
-
"attribute": "payment-status",
|
|
95
94
|
"mutable": false,
|
|
96
95
|
"complexType": {
|
|
97
96
|
"original": "string",
|
|
@@ -106,11 +105,11 @@ export class PaymentsListFilters {
|
|
|
106
105
|
},
|
|
107
106
|
"getter": false,
|
|
108
107
|
"setter": false,
|
|
109
|
-
"reflect": false
|
|
108
|
+
"reflect": false,
|
|
109
|
+
"attribute": "payment-status"
|
|
110
110
|
},
|
|
111
111
|
"createdAfter": {
|
|
112
112
|
"type": "string",
|
|
113
|
-
"attribute": "created-after",
|
|
114
113
|
"mutable": false,
|
|
115
114
|
"complexType": {
|
|
116
115
|
"original": "string",
|
|
@@ -125,11 +124,11 @@ export class PaymentsListFilters {
|
|
|
125
124
|
},
|
|
126
125
|
"getter": false,
|
|
127
126
|
"setter": false,
|
|
128
|
-
"reflect": false
|
|
127
|
+
"reflect": false,
|
|
128
|
+
"attribute": "created-after"
|
|
129
129
|
},
|
|
130
130
|
"createdBefore": {
|
|
131
131
|
"type": "string",
|
|
132
|
-
"attribute": "created-before",
|
|
133
132
|
"mutable": false,
|
|
134
133
|
"complexType": {
|
|
135
134
|
"original": "string",
|
|
@@ -144,7 +143,8 @@ export class PaymentsListFilters {
|
|
|
144
143
|
},
|
|
145
144
|
"getter": false,
|
|
146
145
|
"setter": false,
|
|
147
|
-
"reflect": false
|
|
146
|
+
"reflect": false,
|
|
147
|
+
"attribute": "created-before"
|
|
148
148
|
}
|
|
149
149
|
};
|
|
150
150
|
}
|
|
@@ -46,7 +46,7 @@ export class PaymentsList {
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
|
-
return (h(StyledHost, { key: '
|
|
49
|
+
return (h(StyledHost, { key: '25843c991e12a0fde88d834ec92997567fd27f77' }, h("payments-list-core", { key: 'b06e45a3d24dcc2b44117d295bcc453bf20b3d46', getPayments: this.getPayments, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
50
50
|
}
|
|
51
51
|
static get is() { return "justifi-payments-list"; }
|
|
52
52
|
static get encapsulation() { return "shadow"; }
|
|
@@ -54,7 +54,6 @@ export class PaymentsList {
|
|
|
54
54
|
return {
|
|
55
55
|
"accountId": {
|
|
56
56
|
"type": "string",
|
|
57
|
-
"attribute": "account-id",
|
|
58
57
|
"mutable": false,
|
|
59
58
|
"complexType": {
|
|
60
59
|
"original": "string",
|
|
@@ -69,11 +68,11 @@ export class PaymentsList {
|
|
|
69
68
|
},
|
|
70
69
|
"getter": false,
|
|
71
70
|
"setter": false,
|
|
72
|
-
"reflect": false
|
|
71
|
+
"reflect": false,
|
|
72
|
+
"attribute": "account-id"
|
|
73
73
|
},
|
|
74
74
|
"authToken": {
|
|
75
75
|
"type": "string",
|
|
76
|
-
"attribute": "auth-token",
|
|
77
76
|
"mutable": false,
|
|
78
77
|
"complexType": {
|
|
79
78
|
"original": "string",
|
|
@@ -88,11 +87,11 @@ export class PaymentsList {
|
|
|
88
87
|
},
|
|
89
88
|
"getter": false,
|
|
90
89
|
"setter": false,
|
|
91
|
-
"reflect": false
|
|
90
|
+
"reflect": false,
|
|
91
|
+
"attribute": "auth-token"
|
|
92
92
|
},
|
|
93
93
|
"columns": {
|
|
94
94
|
"type": "string",
|
|
95
|
-
"attribute": "columns",
|
|
96
95
|
"mutable": false,
|
|
97
96
|
"complexType": {
|
|
98
97
|
"original": "string",
|
|
@@ -108,6 +107,7 @@ export class PaymentsList {
|
|
|
108
107
|
"getter": false,
|
|
109
108
|
"setter": false,
|
|
110
109
|
"reflect": false,
|
|
110
|
+
"attribute": "columns",
|
|
111
111
|
"defaultValue": "defaultColumnsKeys"
|
|
112
112
|
}
|
|
113
113
|
};
|
|
@@ -2,7 +2,22 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
import { MapPaymentStatusToBadge } from "./payments-status";
|
|
3
3
|
import { convertToLocal } from "../../utils/utils";
|
|
4
4
|
import { getAlternateTableCellPart, tableHeadCell } from "../../styles/parts";
|
|
5
|
-
export const
|
|
5
|
+
export const mapCardBrandToDisplayName = (brand) => {
|
|
6
|
+
if (!brand)
|
|
7
|
+
return 'N/A';
|
|
8
|
+
const brandMap = {
|
|
9
|
+
'visa': 'VISA',
|
|
10
|
+
'mastercard': 'Mastercard',
|
|
11
|
+
'american_express': 'American Express',
|
|
12
|
+
'discover': 'Discover',
|
|
13
|
+
'diners_club': 'Diners Club',
|
|
14
|
+
'jcb': 'JCB',
|
|
15
|
+
'china_unionpay': 'China UnionPay',
|
|
16
|
+
'unknown': 'Unknown'
|
|
17
|
+
};
|
|
18
|
+
return brandMap[brand.toLowerCase()] || brand;
|
|
19
|
+
};
|
|
20
|
+
export const defaultColumnsKeys = 'created_at,amount,status,payment_type,description,payers_name,last_four_digits,card_brand';
|
|
6
21
|
export const paymentTableColumns = {
|
|
7
22
|
created_at: () => (h("th", { part: tableHeadCell, scope: "col", title: "The date and time each payment was made" }, "Date")),
|
|
8
23
|
amount: () => (h("th", { part: tableHeadCell, scope: "col", title: "The dollar amount of each payment" }, "Amount")),
|
|
@@ -11,6 +26,7 @@ export const paymentTableColumns = {
|
|
|
11
26
|
description: () => (h("th", { part: tableHeadCell, scope: "col", title: "The payment description, if you provided one" }, "Description")),
|
|
12
27
|
payers_name: () => (h("th", { part: tableHeadCell, scope: "col", title: "The name associated with the payment method" }, "Account Holder")),
|
|
13
28
|
last_four_digits: () => (h("th", { part: tableHeadCell, scope: "col", title: "The brand and last 4 digits of the payment method" }, "Payment Method")),
|
|
29
|
+
card_brand: () => (h("th", { part: tableHeadCell, scope: "col", title: "The brand of the payment method" }, "Card Brand")),
|
|
14
30
|
};
|
|
15
31
|
export const paymentTableCells = {
|
|
16
32
|
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 })))),
|
|
@@ -20,4 +36,8 @@ export const paymentTableCells = {
|
|
|
20
36
|
description: (payment, index) => (h("td", { part: getAlternateTableCellPart(index) }, payment.description)),
|
|
21
37
|
payers_name: (payment, index) => (h("td", { part: getAlternateTableCellPart(index) }, payment.payers_name)),
|
|
22
38
|
last_four_digits: (payment, index) => (h("td", { part: getAlternateTableCellPart(index) }, payment.last_four_digits)),
|
|
39
|
+
card_brand: (payment, index) => {
|
|
40
|
+
var _a, _b;
|
|
41
|
+
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))));
|
|
42
|
+
},
|
|
23
43
|
};
|