@justifi/webcomponents 5.4.4 → 5.5.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/dist/cjs/Api-KMweahmp.js +74 -0
- package/dist/cjs/{Business-d88b77fd.js → Business-DyiDiIuO.js} +1 -1
- package/dist/cjs/{Checkout-5352009d.js → Checkout-RAGvjVPj.js} +1 -1
- package/dist/cjs/{ComponentError-233ac749.js → ComponentError-C4MdBBMe.js} +1 -0
- package/dist/cjs/{Payment-bccd8f7d.js → Payment-CQCmj3Ck.js} +2 -2
- package/dist/cjs/{SubAccount-2a302ead.js → Refund-DpKGhW3o.js} +25 -1
- package/dist/cjs/_commonjsHelpers-BJu3ubxk.js +10 -0
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +5 -11
- package/dist/cjs/{badge-364e6311.js → badge-BXpCpcer.js} +2 -2
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +25 -43
- package/dist/cjs/bank-account-form_9.cjs.entry.js +93 -97
- package/dist/cjs/{business-additional-questions-schema-8568cb79.js → business-additional-questions-schema-mzZ2gYHQ.js} +2 -2
- package/dist/cjs/business-details-core.cjs.entry.js +6 -10
- package/dist/cjs/{business-form-options-62e9c8ab.js → business-form-options-BCj0efiD.js} +1 -1
- package/dist/cjs/{business-identity-schema-518ab6eb.js → business-identity-schema-dt0zCW0R.js} +2 -2
- package/dist/cjs/{business.service-6e8a29a2.js → business.service-Crmkeulk.js} +23 -8
- package/dist/cjs/{button-4a9fd41e.js → button-KWTLx2LP.js} +2 -2
- package/dist/cjs/{check-pkg-version-e6dcbeb7.js → check-pkg-version-CLsX6cK5.js} +3 -3
- package/dist/cjs/{checkout.service-0a7835dc.js → checkout.service-r90INf2g.js} +13 -10
- package/dist/cjs/checkouts-list-core.cjs.entry.js +25 -31
- package/dist/cjs/{payments-list-params-state-442d9944.js → checkouts-list-params-state-Cmfy_CND.js} +1 -1
- package/dist/cjs/{checkouts-table-8a1b49ff.js → checkouts-table-5jU4JUcM.js} +4 -4
- package/dist/cjs/custom-popper_4.cjs.entry.js +27 -52
- package/dist/cjs/{dispute.service-6efc7d7f.js → dispute.service-CGgfmGU-.js} +20 -11
- package/dist/cjs/{event-types-5a6ce2b0.js → event-types-CJapDsYA.js} +3 -3
- package/dist/cjs/form-alert_5.cjs.entry.js +10 -19
- package/dist/cjs/form-control-checkbox.cjs.entry.js +9 -18
- package/dist/cjs/form-control-date.cjs.entry.js +9 -19
- package/dist/cjs/{form-control-error-text-3cff9b7b.js → form-control-error-text-D19AMaOO.js} +2 -2
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +11 -30
- package/dist/cjs/{form-control-help-text-94ffed2c.js → form-control-help-text-CbrDvt9D.js} +2 -2
- package/dist/cjs/form-control-help-text.cjs.entry.js +1 -5
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +13 -22
- package/dist/cjs/form-control-monetary.cjs.entry.js +13 -22
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +12 -25
- package/dist/cjs/form-control-number.cjs.entry.js +9 -18
- package/dist/cjs/form-control-radio.cjs.entry.js +7 -17
- package/dist/cjs/{get-business-d8f5db51.js → get-business-BBzGEPBG.js} +3 -3
- package/dist/cjs/get-payment-details-CKg1Lb3_.js +42 -0
- package/dist/cjs/{get-payout-csv-7607c71e.js → get-payout-csv-DD9C5yMw.js} +11 -11
- package/dist/cjs/{get-subaccounts-ae5b35a8.js → get-subaccounts-YlFT-fBr.js} +11 -10
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +262 -270
- package/dist/cjs/{header-1-43b2b905.js → header-1-ZNnpq6yT.js} +2 -2
- package/dist/cjs/{header-3-eb250a04.js → header-3-D6LxdW_A.js} +2 -2
- package/dist/cjs/{helpers-602962eb.js → helpers-B5OCqlIM.js} +1 -1
- package/dist/cjs/{iframe-input-styles-state-d0de0b24.js → iframe-input-styles-state-CQL59u0d.js} +2 -2
- package/dist/cjs/iframe-input.cjs.entry.js +1640 -0
- package/dist/cjs/{index-750475a3.js → index-1MT3Z4XI.js} +1 -1
- package/dist/cjs/{index-d2d0b181.js → index-DhcqPIbT.js} +4 -5
- package/dist/cjs/{index-5b9a3b5f.js → index-DtkhH7sB.js} +460 -271
- package/dist/cjs/index.esm-CVuJLXJZ.js +11807 -0
- package/dist/cjs/{input-handlers-cff032bb.js → input-handlers-DYl_0IwC.js} +1 -1
- package/dist/cjs/{insurance-state-71f8b653.js → insurance-state-q5eNmjIK.js} +3 -3
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +64 -94
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +36 -86
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +36 -54
- package/dist/cjs/justifi-business-details.cjs.entry.js +16 -20
- package/dist/cjs/justifi-business-form.cjs.entry.js +34 -38
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +6 -11
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +31 -34
- package/dist/cjs/justifi-checkout.cjs.entry.js +23 -29
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +15 -18
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +25 -30
- package/dist/cjs/justifi-details.cjs.entry.js +3 -6
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +5 -11
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +19 -23
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +38 -52
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +13 -16
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +29 -37
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +29 -52
- package/dist/cjs/justifi-payment-details.cjs.entry.js +24 -52
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +15 -23
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +15 -16
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +11 -17
- package/dist/cjs/justifi-payments-list.cjs.entry.js +25 -29
- package/dist/cjs/justifi-payout-details.cjs.entry.js +21 -26
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +9 -12
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +27 -33
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +189 -69
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +10 -27
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +24 -35
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +24 -26
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +29 -29
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +21 -25
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +26 -31
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +24 -28
- package/dist/cjs/loader.cjs.js +3 -5
- package/dist/cjs/lodash-CvSCBJ_8.js +17216 -0
- package/dist/cjs/package-5B4P3NpD.js +9 -0
- package/dist/cjs/pagination-menu.cjs.entry.js +3 -5
- package/dist/cjs/{parts-5ca90f9a.js → parts-D_uKOPFe.js} +3 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +19 -22
- package/dist/cjs/{payment-provisioning-actions-382ab48c.js → payment-provisioning-actions-BkWSDJQQ.js} +2 -2
- package/dist/cjs/payment.service-BrHUGHYs.js +23 -0
- package/dist/cjs/payments-list-core.cjs.entry.js +25 -30
- package/dist/cjs/{terminal-orders-list-params-state-c419078f.js → payments-list-params-state-Cmfy_CND.js} +1 -1
- package/dist/cjs/{payments-status-075aad0a.js → payments-status-DAzq_Z13.js} +2 -2
- package/dist/cjs/{payments-table-a076755a.js → payments-table-BEpL6oJQ.js} +4 -4
- package/dist/cjs/payout-details-core.cjs.entry.js +14 -18
- package/dist/cjs/payouts-list-core.cjs.entry.js +26 -33
- package/dist/cjs/{checkouts-list-params-state-644d3639.js → payouts-list-params-state-Cmfy_CND.js} +1 -1
- package/dist/cjs/{payouts-status-ced97c2b.js → payouts-status-CYrKPRld.js} +2 -2
- package/dist/cjs/{payouts-table-aedce326.js → payouts-table-Bbi23U5v.js} +4 -4
- package/dist/cjs/{schema-validations-a7cefbdf.js → schema-validations-p4OCdblz.js} +4 -4
- package/dist/cjs/{skeleton-e8aa41d0.js → skeleton-C59M0QK2.js} +2 -2
- package/dist/cjs/{spinner-580453f2.js → spinner-736baCoH.js} +2 -2
- package/dist/cjs/{styled-host-94309bab.js → styled-host-JifnTMIV.js} +2 -3
- package/dist/cjs/table-filters-menu.cjs.entry.js +4 -10
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +24 -29
- package/dist/cjs/{payouts-list-params-state-033b76d6.js → terminal-orders-list-params-state-Cmfy_CND.js} +1 -1
- package/dist/cjs/{terminal-orders-table-3b247193.js → terminal-orders-table-w4Yaf83b.js} +35 -5
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +6 -12
- package/dist/cjs/{terminal.service-ab62c344.js → terminal.service-BjSo5Cm4.js} +11 -11
- package/dist/cjs/terminals-list-core.cjs.entry.js +25 -31
- package/dist/cjs/terminals-list-params-state-Cmfy_CND.js +22 -0
- package/dist/cjs/{terminals-table-594643fd.js → terminals-table-F6pkR97i.js} +4 -4
- package/dist/cjs/{utils-f8714daa.js → utils-D3seTk2e.js} +2 -2
- package/dist/cjs/utils-DmZ8Dia3.js +23987 -0
- package/dist/cjs/{utils-7a478c37.js → utils-l0veqT9y.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +7 -7
- package/dist/collection/actions/payment/get-payment-details.js +5 -2
- package/dist/collection/actions/refund/refund-actions.js +31 -0
- package/dist/collection/api/Api.js +32 -13
- package/dist/collection/api/ComponentError.js +1 -0
- package/dist/collection/api/Refund.js +32 -0
- package/dist/collection/api/TerminalOrder.js +3 -0
- package/dist/collection/api/index.js +1 -0
- package/dist/collection/api/services/analytics.service.js +1 -1
- package/dist/collection/api/services/business.service.js +22 -7
- package/dist/collection/api/services/checkout.service.js +6 -3
- package/dist/collection/api/services/dispute.service.js +13 -4
- package/dist/collection/api/services/insurance.service.js +8 -2
- package/dist/collection/api/services/payment.service.js +3 -3
- package/dist/collection/api/services/payout.service.js +3 -3
- package/dist/collection/api/services/provision.service.js +4 -1
- package/dist/collection/api/services/refund.service.js +10 -0
- package/dist/collection/api/services/reports.service.js +1 -1
- package/dist/collection/api/services/subaccounts.service.js +1 -1
- package/dist/collection/api/services/terminal.service.js +4 -4
- package/dist/collection/api/services/terminal_orders.service.js +5 -1
- package/dist/collection/collection-manifest.json +3 -5
- package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +4 -4
- package/dist/collection/components/business-details/business-details-core.js +4 -3
- package/dist/collection/components/business-details/business-details.js +6 -8
- package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +4 -4
- package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +4 -4
- package/dist/collection/components/business-details/owner-details/owner-details.js +4 -4
- package/dist/collection/components/business-details/representative-details/representative-details.js +4 -4
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +4 -2
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +4 -2
- package/dist/collection/components/business-forms/business-form/business-form.js +20 -13
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +6 -4
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +4 -3
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +11 -7
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +34 -22
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +10 -6
- package/dist/collection/components/business-forms/owner-form/owner-form.js +22 -19
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +15 -11
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +9 -10
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +11 -8
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +13 -10
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +23 -16
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +9 -12
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-documents-on-file.js +6 -2
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +17 -12
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +9 -10
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +20 -14
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +9 -10
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +10 -6
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +14 -10
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +9 -10
- package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +31 -21
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +14 -10
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +9 -10
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +24 -16
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +20 -14
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +21 -12
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +12 -8
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +13 -13
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +3 -2
- package/dist/collection/components/checkout/billing-form/billing-form-schema.js +21 -0
- package/dist/collection/components/checkout/billing-form/billing-form.js +203 -0
- package/dist/collection/components/checkout/card-form/card-form.js +5 -4
- package/dist/collection/components/checkout/checkout-core.js +88 -37
- package/dist/collection/components/checkout/checkout.js +70 -28
- package/dist/collection/components/checkout/new-payment-method.js +110 -30
- package/dist/collection/components/checkout/payment-method-options.js +91 -36
- package/dist/collection/components/checkout/saved-payment-method.js +7 -4
- package/dist/collection/components/checkout/sezzle-payment-method.js +19 -15
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +17 -14
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +7 -5
- package/dist/collection/components/checkouts-list/checkouts-list.js +16 -12
- package/dist/collection/components/dispute-management/dispute-management-core.js +11 -8
- package/dist/collection/components/dispute-management/dispute-management.js +12 -9
- package/dist/collection/components/dispute-management/dispute-notification.js +11 -9
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +10 -9
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +10 -8
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +10 -8
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +21 -14
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +16 -13
- package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +10 -8
- package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +10 -8
- package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +10 -8
- package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +10 -8
- package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +10 -8
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +5 -4
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +7 -6
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +44 -30
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +40 -32
- package/dist/collection/components/order-terminals/order-terminals.js +19 -14
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +19 -13
- package/dist/collection/components/payment-details/payment-details-core.js +13 -12
- package/dist/collection/components/payment-details/payment-details.js +29 -6
- package/dist/collection/components/payments-list/payments-list-core.js +12 -11
- package/dist/collection/components/payments-list/payments-list-filters.js +17 -12
- package/dist/collection/components/payments-list/payments-list.js +16 -11
- package/dist/collection/components/payout-details/payout-details-core.js +11 -8
- package/dist/collection/components/payout-details/payout-details.js +11 -9
- package/dist/collection/components/payouts-list/payouts-list-core.js +21 -16
- package/dist/collection/components/payouts-list/payouts-list-filters.js +8 -6
- package/dist/collection/components/payouts-list/payouts-list.js +16 -13
- package/dist/collection/components/refund-payment/refund-loading.js +6 -0
- package/dist/collection/components/refund-payment/refund-payment-schema.js +26 -11
- package/dist/collection/components/refund-payment/refund-payment.js +157 -57
- package/dist/collection/components/terminal-orders-list/terminal-order-status.js +15 -0
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +12 -11
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +18 -11
- package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +16 -11
- package/dist/collection/components/terminal-orders-list/terminal-orders-table.js +11 -1
- package/dist/collection/components/terminals-list/terminals-list-core.js +17 -14
- package/dist/collection/components/terminals-list/terminals-list-filters.js +10 -7
- package/dist/collection/components/terminals-list/terminals-list.js +16 -12
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +71 -19
- package/dist/collection/styles/parts.js +2 -1
- package/dist/collection/ui-components/custom-popper/custom-popper.js +19 -8
- package/dist/collection/ui-components/details/details.js +3 -4
- package/dist/collection/ui-components/filters/table-filters-menu.js +8 -7
- package/dist/collection/ui-components/form/form-control-checkbox.js +25 -17
- package/dist/collection/ui-components/form/form-control-date.js +32 -21
- package/dist/collection/ui-components/form/form-control-file-v2.js +23 -18
- package/dist/collection/ui-components/form/form-control-file.js +28 -21
- package/dist/collection/ui-components/form/form-control-monetary.js +35 -23
- package/dist/collection/ui-components/form/form-control-number-masked.js +28 -19
- package/dist/collection/ui-components/form/form-control-number.js +25 -17
- package/dist/collection/ui-components/form/form-control-radio.js +28 -19
- package/dist/collection/ui-components/form/form-control-select.js +29 -19
- package/dist/collection/ui-components/form/form-control-text.js +32 -21
- package/dist/collection/ui-components/form/form-control-textarea.js +32 -21
- package/dist/collection/ui-components/form/form-helpers/form-alert/form-alert.js +6 -6
- package/dist/collection/ui-components/form/form-helpers/form-control-help-text/form-control-help-text.js +6 -6
- package/dist/collection/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.js +3 -6
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +14 -12
- package/dist/collection/ui-components/pagination-menu/pagination-menu.js +6 -0
- package/dist/collection/utils/utils.js +8 -0
- package/dist/docs.d.ts +8 -0
- package/dist/docs.json +1844 -905
- package/dist/esm/Api-C9CDE-UM.js +72 -0
- package/dist/esm/{Business-0855931c.js → Business-D6XNzizo.js} +2 -2
- package/dist/esm/{Checkout-18d8bf94.js → Checkout-Dfpql997.js} +1 -1
- package/dist/esm/{ComponentError-c61dce41.js → ComponentError-SdntD1xf.js} +2 -1
- package/dist/esm/{Document-1907c0d4.js → Document-Ct-uNz2r.js} +1 -1
- package/dist/esm/{Payment-806af354.js → Payment-BADkZFaz.js} +2 -2
- package/dist/esm/{SubAccount-7520271c.js → Refund-t_P1yy9d.js} +25 -2
- package/dist/esm/_commonjsHelpers-BFTU3MAI.js +7 -0
- package/dist/esm/additional-questions-details_5.entry.js +5 -9
- package/dist/esm/{badge-1be14e8c.js → badge-C4TzL9CB.js} +3 -3
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +25 -41
- package/dist/esm/bank-account-form_9.entry.js +91 -93
- package/dist/esm/{business-additional-questions-schema-56308a54.js → business-additional-questions-schema-W6okG5Xu.js} +2 -2
- package/dist/esm/business-details-core.entry.js +6 -8
- package/dist/esm/{business-form-options-86a13078.js → business-form-options-Bn05PRR4.js} +1 -1
- package/dist/esm/{business-identity-schema-24fcc4ef.js → business-identity-schema-lqdJS3MT.js} +2 -2
- package/dist/esm/{business.service-999196a4.js → business.service-B136meVo.js} +23 -8
- package/dist/esm/{button-fcee4da7.js → button-CI85Rqy5.js} +2 -2
- package/dist/esm/{check-pkg-version-47fc35a7.js → check-pkg-version-Wd4E_Njt.js} +3 -3
- package/dist/esm/{checkout.service-e38e477f.js → checkout.service-4tnXBKGq.js} +13 -10
- package/dist/esm/checkouts-list-core.entry.js +25 -29
- package/dist/esm/{checkouts-list-params-state-7bdf00bd.js → checkouts-list-params-state-Gbxdxjoi.js} +1 -1
- package/dist/esm/{checkouts-table-39a031a0.js → checkouts-table-CHM4YCCZ.js} +4 -4
- package/dist/esm/custom-popper_4.entry.js +27 -50
- package/dist/esm/{dispute.service-7ba6d5a4.js → dispute.service-Bwh8pBe9.js} +20 -11
- package/dist/esm/{event-types-1bc52f1f.js → event-types-CooIFpFI.js} +3 -3
- package/dist/esm/form-alert_5.entry.js +10 -17
- package/dist/esm/form-control-checkbox.entry.js +9 -16
- package/dist/esm/form-control-date.entry.js +9 -17
- package/dist/esm/{form-control-error-text-176d20d8.js → form-control-error-text-3q5yVuMQ.js} +2 -2
- package/dist/esm/form-control-file-v2_2.entry.js +11 -28
- package/dist/esm/{form-control-help-text-83764e14.js → form-control-help-text-BplkZkPF.js} +2 -2
- package/dist/esm/form-control-help-text.entry.js +1 -3
- package/dist/esm/form-control-monetary-provisioning.entry.js +13 -20
- package/dist/esm/form-control-monetary.entry.js +13 -20
- package/dist/esm/form-control-number-masked_2.entry.js +12 -23
- package/dist/esm/form-control-number.entry.js +9 -16
- package/dist/esm/form-control-radio.entry.js +7 -15
- package/dist/esm/{get-business-b7511690.js → get-business-B3c5gg1D.js} +3 -3
- package/dist/esm/get-payment-details-BbZmEGge.js +40 -0
- package/dist/esm/{get-payout-csv-fa34f40b.js → get-payout-csv-BKq22mOI.js} +11 -11
- package/dist/esm/{get-subaccounts-3c6b9e84.js → get-subaccounts-58LQOtEI.js} +10 -9
- package/dist/esm/gross-payment-chart-core.entry.js +262 -268
- package/dist/esm/{header-1-215a146f.js → header-1-BX6i3__G.js} +2 -2
- package/dist/esm/{header-3-afd16f23.js → header-3-D0Sy-7DJ.js} +2 -2
- package/dist/esm/{helpers-96ea3464.js → helpers-Mu7LQT-w.js} +2 -2
- package/dist/esm/{iframe-input-styles-state-ff730fe5.js → iframe-input-styles-state-DyXIZw1A.js} +3 -3
- package/dist/esm/iframe-input.entry.js +1638 -0
- package/dist/esm/{index-29fcfdf5.js → index-BUM1DfV9.js} +459 -250
- package/dist/esm/{index-d9a73ce3.js → index-Ce_F4E0f.js} +1 -1
- package/dist/esm/{index-a47fdc7f.js → index-Cuk6aIda.js} +4 -5
- package/dist/esm/index.esm-BCNUj0Dx.js +11801 -0
- package/dist/esm/{input-handlers-270ac806.js → input-handlers-CX6mSvOM.js} +1 -1
- package/dist/esm/{insurance-state-d2df8e88.js → insurance-state-BhklYgGK.js} +3 -3
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +64 -92
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +36 -84
- package/dist/esm/justifi-additional-statement_8.entry.js +36 -52
- package/dist/esm/justifi-business-details.entry.js +16 -18
- package/dist/esm/justifi-business-form.entry.js +34 -36
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +6 -9
- package/dist/esm/justifi-checkout-core.entry.js +31 -32
- package/dist/esm/justifi-checkout.entry.js +23 -27
- package/dist/esm/justifi-checkouts-list-filters.entry.js +15 -16
- package/dist/esm/justifi-checkouts-list.entry.js +25 -28
- package/dist/esm/justifi-details.entry.js +3 -4
- package/dist/esm/justifi-dispute-management-core.entry.js +5 -9
- package/dist/esm/justifi-dispute-management.entry.js +19 -21
- package/dist/esm/justifi-dispute-notification_3.entry.js +38 -50
- package/dist/esm/justifi-gross-payment-chart.entry.js +13 -14
- package/dist/esm/justifi-order-terminals.entry.js +26 -32
- package/dist/esm/justifi-owner-form_3.entry.js +29 -50
- package/dist/esm/justifi-payment-details.entry.js +22 -48
- package/dist/esm/justifi-payment-provisioning-core.entry.js +15 -21
- package/dist/esm/justifi-payment-provisioning.entry.js +15 -14
- package/dist/esm/justifi-payments-list-filters.entry.js +11 -15
- package/dist/esm/justifi-payments-list.entry.js +25 -27
- package/dist/esm/justifi-payout-details.entry.js +20 -23
- package/dist/esm/justifi-payouts-list-filters.entry.js +9 -10
- package/dist/esm/justifi-payouts-list.entry.js +26 -30
- package/dist/esm/justifi-refund-payment.entry.js +189 -67
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +10 -25
- package/dist/esm/justifi-season-interruption-insurance.entry.js +24 -33
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +19 -19
- package/dist/esm/justifi-terminal-orders-list.entry.js +28 -26
- package/dist/esm/justifi-terminals-list-filters.entry.js +17 -19
- package/dist/esm/justifi-terminals-list.entry.js +25 -28
- package/dist/esm/justifi-tokenize-payment-method.entry.js +24 -26
- package/dist/esm/loader.js +4 -4
- package/dist/esm/lodash-BqWxUrkh.js +17214 -0
- package/dist/esm/package-gAO-RwrF.js +7 -0
- package/dist/esm/pagination-menu.entry.js +3 -3
- package/dist/esm/{parts-fd740f54.js → parts-CB88j97I.js} +3 -2
- package/dist/esm/payment-details-core.entry.js +19 -20
- package/dist/esm/{payment-provisioning-actions-beadac34.js → payment-provisioning-actions-CZYFFdTf.js} +3 -3
- package/dist/esm/payment.service-Co_fPTvK.js +21 -0
- package/dist/esm/payments-list-core.entry.js +25 -28
- package/dist/esm/{payments-list-params-state-d05b24aa.js → payments-list-params-state-Gbxdxjoi.js} +1 -1
- package/dist/esm/{payments-status-74d22728.js → payments-status-BLhcMfnC.js} +2 -2
- package/dist/esm/{payments-table-8134f5e1.js → payments-table-VcaC77NC.js} +4 -4
- package/dist/esm/payout-details-core.entry.js +14 -16
- package/dist/esm/payouts-list-core.entry.js +26 -31
- package/dist/esm/{payouts-list-params-state-ebcee300.js → payouts-list-params-state-Gbxdxjoi.js} +1 -1
- package/dist/esm/{payouts-status-29d31099.js → payouts-status-B9SSljnL.js} +2 -2
- package/dist/esm/{payouts-table-c1ced46a.js → payouts-table-DWBaNPmV.js} +4 -4
- package/dist/esm/{schema-validations-5af4266a.js → schema-validations-BsbYeDDR.js} +5 -5
- package/dist/esm/{skeleton-ab3f676e.js → skeleton-B-oFGeeG.js} +2 -2
- package/dist/esm/{spinner-27479716.js → spinner-ptEcaLdc.js} +2 -2
- package/dist/esm/{styled-host-32228b45.js → styled-host-BHVh70Zk.js} +2 -3
- package/dist/esm/table-filters-menu.entry.js +4 -8
- package/dist/esm/terminal-orders-list-core.entry.js +24 -27
- package/dist/esm/{terminal-orders-list-params-state-8fec0a0b.js → terminal-orders-list-params-state-Gbxdxjoi.js} +1 -1
- package/dist/esm/{terminal-orders-table-93e84d25.js → terminal-orders-table-fuxIpfJ2.js} +35 -5
- package/dist/esm/terminal-quantity-selector.entry.js +6 -10
- package/dist/esm/{terminal.service-d173566d.js → terminal.service-BLOZ-ZlR.js} +11 -11
- package/dist/esm/terminals-list-core.entry.js +25 -29
- package/dist/esm/terminals-list-params-state-Gbxdxjoi.js +16 -0
- package/dist/esm/{terminals-table-ff24bf27.js → terminals-table-Dn71oQMb.js} +4 -4
- package/dist/esm/{utils-96d9c205.js → utils-B4pV3GWr.js} +2 -2
- package/dist/esm/utils-BWcTxbSg.js +23969 -0
- package/dist/esm/{utils-fd99b806.js → utils-Dccsn9BY.js} +2 -2
- package/dist/esm/webcomponents.js +6 -5
- package/dist/module/Api.js +32 -76
- package/dist/module/Business.js +2 -2
- package/dist/module/ComponentError.js +2 -1
- package/dist/module/Document.js +1 -1
- package/dist/module/{SubAccount.js → Refund.js} +24 -1
- package/dist/module/_commonjsHelpers.js +7 -0
- package/dist/module/additional-questions-details2.js +1 -2
- package/dist/module/additional-questions.js +2 -3
- package/dist/module/additional-statement.js +6 -9
- package/dist/module/badge.js +1 -1
- package/dist/module/bank-account-document-inputs.js +4 -6
- package/dist/module/bank-account-form-inputs2.js +1 -5
- package/dist/module/bank-account-form2.js +0 -1
- package/dist/module/billing-form.js +122 -4
- package/dist/module/business-additional-questions-form-step-core.js +7 -11
- package/dist/module/business-additional-questions-form-step.js +1 -6
- package/dist/module/business-additional-questions-schema.js +1 -1
- package/dist/module/business-address-schema.js +1 -1
- package/dist/module/business-bank-account-form-step-core.js +13 -18
- package/dist/module/business-bank-account-form-step.js +3 -9
- package/dist/module/business-core-info-form-step-core.js +6 -11
- package/dist/module/business-core-info-form-step.js +1 -6
- package/dist/module/business-core-info-schema.js +1 -1
- package/dist/module/business-core-info.js +2 -3
- package/dist/module/business-details-core2.js +1 -3
- package/dist/module/business-documents-on-file2.js +1 -1
- package/dist/module/business-form-options.js +1 -1
- package/dist/module/business-identity-schema.js +1 -1
- package/dist/module/business-owners-form-step-core.js +5 -11
- package/dist/module/business-owners-form-step.js +1 -6
- package/dist/module/business-representative-form-inputs.js +1 -4
- package/dist/module/business-representative-form-step-core.js +5 -9
- package/dist/module/business-representative-form-step.js +1 -6
- package/dist/module/business-representative.js +3 -4
- package/dist/module/business-terms-conditions-form-step.js +6 -12
- package/dist/module/business.service.js +22 -7
- package/dist/module/button.js +1 -1
- package/dist/module/cancellation-policy.js +6 -8
- package/dist/module/card-form2.js +2 -3
- package/dist/module/check-pkg-version.js +1 -1
- package/dist/module/checkout-core.js +57 -69
- package/dist/module/checkout.service.js +7 -4
- package/dist/module/checkouts-list-core2.js +12 -17
- package/dist/module/custom-popper2.js +13 -16
- package/dist/module/customer-details.js +6 -8
- package/dist/module/details.js +0 -1
- package/dist/module/dispute-management-core.js +4 -8
- package/dist/module/dispute-notification.js +3 -6
- package/dist/module/dispute-response-actions.js +16 -7
- package/dist/module/dispute-response-core.js +12 -16
- package/dist/module/dispute-response.js +6 -12
- package/dist/module/duplicate-charge.js +6 -8
- package/dist/module/electronic-evidence.js +5 -7
- package/dist/module/event-types2.js +21 -61
- package/dist/module/event-types3.js +61 -21
- package/dist/module/form-alert2.js +1 -3
- package/dist/module/form-control-checkbox2.js +6 -13
- package/dist/module/form-control-date2.js +6 -14
- package/dist/module/form-control-file-v22.js +2 -10
- package/dist/module/form-control-file2.js +5 -15
- package/dist/module/form-control-help-text.js +1 -1
- package/dist/module/form-control-help-text2.js +30 -9
- package/dist/module/form-control-help-text3.js +9 -32
- package/dist/module/form-control-monetary-provisioning2.js +8 -15
- package/dist/module/form-control-monetary2.js +9 -17
- package/dist/module/form-control-number-masked2.js +4 -12
- package/dist/module/form-control-number.js +6 -13
- package/dist/module/form-control-radio2.js +6 -14
- package/dist/module/form-control-select2.js +5 -13
- package/dist/module/form-control-text2.js +5 -14
- package/dist/module/form-control-textarea2.js +7 -16
- package/dist/module/form-control-tooltip2.js +0 -3
- package/dist/module/form.js +9773 -903
- package/dist/module/generic-info-details2.js +0 -1
- package/dist/module/get-business.js +2 -2
- package/dist/module/get-payment-details.js +40 -0
- package/dist/module/get-payout-csv.js +6 -6
- package/dist/module/get-subaccounts.js +5 -4
- package/dist/module/gross-payment-chart-core2.js +257 -264
- package/dist/module/helpers.js +1 -1
- package/dist/module/hidden-input2.js +3 -3
- package/dist/module/identity-address-form.js +2 -5
- package/dist/module/iframe-input-styles-state.js +2 -2
- package/dist/module/iframe-input2.js +1481 -1478
- package/dist/module/index2.js +3 -4
- package/dist/module/index3.js +1 -1
- package/dist/module/{billing-form.d.ts → justifi-billing-form.d.ts} +4 -4
- package/dist/module/justifi-billing-form.js +6 -0
- package/dist/module/justifi-business-details.js +1 -5
- package/dist/module/justifi-business-form.js +7 -10
- package/dist/module/justifi-checkout.js +47 -62
- package/dist/module/justifi-checkouts-list-filters.js +4 -5
- package/dist/module/justifi-checkouts-list.js +8 -11
- package/dist/module/justifi-dispute-management.js +6 -9
- package/dist/module/justifi-gross-payment-chart.js +4 -7
- package/dist/module/justifi-order-terminals.js +6 -13
- package/dist/module/justifi-payment-details.js +6 -38
- package/dist/module/justifi-payment-provisioning.js +5 -6
- package/dist/module/justifi-payments-list-filters.js +6 -11
- package/dist/module/justifi-payments-list.js +8 -10
- package/dist/module/justifi-payout-details.js +6 -9
- package/dist/module/justifi-payouts-list-filters.js +4 -6
- package/dist/module/justifi-payouts-list.js +8 -12
- package/dist/module/justifi-refund-payment.js +184 -61
- package/dist/module/justifi-season-interruption-insurance.js +13 -23
- package/dist/module/justifi-terminal-orders-list-filters.js +8 -9
- package/dist/module/justifi-terminal-orders-list.js +13 -11
- package/dist/module/justifi-terminals-list-filters.js +6 -8
- package/dist/module/justifi-terminals-list.js +8 -11
- package/dist/module/justifi-tokenize-payment-method.js +46 -58
- package/dist/module/legal-address-details2.js +1 -2
- package/dist/module/legal-address-form-step-core.js +6 -10
- package/dist/module/legal-address-form-step.js +1 -6
- package/dist/module/legal-address-form.js +1 -3
- package/dist/module/lodash.js +17201 -17191
- package/dist/module/new-payment-method.js +43 -55
- package/dist/module/owner-details2.js +0 -1
- package/dist/module/owner-form-core2.js +8 -18
- package/dist/module/owner-form-inputs2.js +1 -4
- package/dist/module/owner-form.js +1 -11
- package/dist/module/package.js +3 -77
- package/dist/module/pagination-menu2.js +1 -1
- package/dist/module/parts.js +3 -2
- package/dist/module/payment-details-core2.js +11 -13
- package/dist/module/payment-method-options.js +43 -61
- package/dist/module/payment-provisioning-actions.js +2 -2
- package/dist/module/payment-provisioning-core.js +8 -14
- package/dist/module/payment-provisioning-form-buttons.js +2 -8
- package/dist/module/payment-provisioning-form-steps.js +2 -7
- package/dist/module/payment.service.js +4 -4
- package/dist/module/payments-list-core2.js +10 -14
- package/dist/module/payout-details-core2.js +6 -9
- package/dist/module/payouts-list-core2.js +14 -20
- package/dist/module/product-or-service.js +5 -7
- package/dist/module/refund-policy.js +6 -8
- package/dist/module/representative-details2.js +0 -1
- package/dist/module/saved-payment-method.js +4 -6
- package/dist/module/schema-validations.js +2 -2
- package/dist/module/season-interruption-insurance-core.js +4 -20
- package/dist/module/sezzle-payment-method.js +3 -12
- package/dist/module/shipping-details.js +6 -8
- package/dist/module/spinner.js +1 -1
- package/dist/module/styled-host.js +1 -2
- package/dist/module/table-filters-menu2.js +3 -7
- package/dist/module/terminal-orders-list-core2.js +35 -15
- package/dist/module/terminal-quantity-selector2.js +4 -8
- package/dist/module/terminal.service.js +5 -5
- package/dist/module/terminals-list-core2.js +12 -17
- package/dist/module/utils.js +1 -1
- package/dist/module/utils2.js +23787 -3819
- package/dist/module/utils4.js +2 -2
- package/dist/types/actions/payment/get-payment-details.d.ts +4 -2
- package/dist/types/actions/refund/refund-actions.d.ts +12 -0
- package/dist/types/api/Api.d.ts +30 -5
- package/dist/types/api/ComponentError.d.ts +2 -1
- package/dist/types/api/Payment.d.ts +1 -11
- package/dist/types/api/Refund.d.ts +45 -0
- package/dist/types/api/TerminalOrder.d.ts +4 -1
- package/dist/types/api/index.d.ts +1 -0
- package/dist/types/api/services/payment.service.d.ts +2 -2
- package/dist/types/api/services/refund.service.d.ts +7 -0
- package/dist/types/components/business-forms/payment-provisioning/form-control-monetary-provisioning.d.ts +1 -1
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +3 -3
- package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +1 -1
- package/dist/types/components/checkout/{billing-forms → billing-form}/billing-form-schema.d.ts +1 -11
- package/dist/types/components/checkout/{billing-forms/billing-form → billing-form}/billing-form.d.ts +8 -6
- package/dist/types/components/checkout/checkout-core.d.ts +6 -2
- package/dist/types/components/checkout/checkout.d.ts +6 -2
- package/dist/types/components/checkout/new-payment-method.d.ts +7 -3
- package/dist/types/components/checkout/payment-method-options.d.ts +6 -2
- package/dist/types/components/payment-details/payment-details.d.ts +1 -0
- package/dist/types/components/refund-payment/refund-loading.d.ts +1 -0
- package/dist/types/components/refund-payment/refund-payment-schema.d.ts +6 -6
- package/dist/types/components/refund-payment/refund-payment.d.ts +18 -12
- package/dist/types/components/terminal-orders-list/terminal-orders-list-filters.d.ts +1 -1
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +4 -0
- package/dist/types/components.d.ts +45 -74
- package/dist/types/stencil-public-runtime.d.ts +9 -0
- package/dist/types/styles/parts.d.ts +6 -5
- package/dist/types/ui-components/form/form-control-monetary.d.ts +1 -1
- package/dist/types/utils/utils.d.ts +1 -0
- package/dist/webcomponents/{p-701a13ca.js → p-01wziNa9.js} +1 -1
- package/dist/webcomponents/p-063dd981.entry.js +1 -0
- package/dist/webcomponents/p-08d5b491.entry.js +1 -0
- package/dist/webcomponents/{p-70be104e.js → p-0czqizJW.js} +1 -1
- package/dist/webcomponents/p-1049c0c5.entry.js +1 -0
- package/dist/webcomponents/p-1ydcg9ti.js +1 -0
- package/dist/webcomponents/p-2c2f6743.entry.js +1 -0
- package/dist/webcomponents/p-2d80f427.entry.js +1 -0
- package/dist/webcomponents/p-2f6c0a07.entry.js +1 -0
- package/dist/webcomponents/p-2fe9576b.entry.js +1 -0
- package/dist/webcomponents/p-307a0db6.entry.js +1 -0
- package/dist/webcomponents/p-3147bfe2.entry.js +1 -0
- package/dist/webcomponents/p-332ce001.entry.js +1 -0
- package/dist/webcomponents/p-34cfafed.entry.js +1 -0
- package/dist/webcomponents/p-3995c8b8.entry.js +1 -0
- package/dist/webcomponents/p-3e084a0e.entry.js +1 -0
- package/dist/webcomponents/p-43c1c278.entry.js +1 -0
- package/dist/webcomponents/p-456f8c0a.entry.js +1 -0
- package/dist/webcomponents/p-4addd069.entry.js +1 -0
- package/dist/webcomponents/p-4ee6482d.entry.js +1 -0
- package/dist/webcomponents/p-507f7a31.entry.js +1 -0
- package/dist/webcomponents/p-50aa4e4d.entry.js +1 -0
- package/dist/webcomponents/p-5a07a84c.entry.js +1 -0
- package/dist/webcomponents/p-5dc3a795.entry.js +1 -0
- package/dist/webcomponents/p-62bdcca1.entry.js +1 -0
- package/dist/webcomponents/p-65345bd4.entry.js +1 -0
- package/dist/webcomponents/p-6a54d69b.entry.js +1 -0
- package/dist/webcomponents/p-6c4927e7.entry.js +1 -0
- package/dist/webcomponents/p-6d2a48f5.entry.js +1 -0
- package/dist/webcomponents/p-7414b942.entry.js +1 -0
- package/dist/webcomponents/p-7ddd7122.entry.js +20 -0
- package/dist/webcomponents/p-80dca817.entry.js +1 -0
- package/dist/webcomponents/p-815937bb.entry.js +1 -0
- package/dist/webcomponents/p-86fdc0a1.entry.js +1 -0
- package/dist/webcomponents/p-98111d03.entry.js +1 -0
- package/dist/webcomponents/p-9a9bb294.entry.js +1 -0
- package/dist/webcomponents/p-9bbfde16.entry.js +1 -0
- package/dist/webcomponents/p-B7ErpLYA.js +1 -0
- package/dist/webcomponents/p-BBsCnePk.js +1 -0
- package/dist/webcomponents/p-BFTU3MAI.js +1 -0
- package/dist/webcomponents/p-BHHWVg32.js +1 -0
- package/dist/webcomponents/p-BHbsXXRt.js +1 -0
- package/dist/webcomponents/p-BM61p7vG.js +1 -0
- package/dist/webcomponents/p-BODr6HXb.js +1 -0
- package/dist/webcomponents/p-BUM1DfV9.js +2 -0
- package/dist/webcomponents/p-BVwkHwTc.js +1 -0
- package/dist/webcomponents/p-BWFriesi.js +1 -0
- package/dist/webcomponents/p-Bde7dY9t.js +9 -0
- package/dist/webcomponents/{p-1366a019.js → p-BjB_yKBJ.js} +1 -1
- package/dist/webcomponents/p-Bo92MHrs.js +1 -0
- package/dist/webcomponents/p-BoPxMyJA.js +1 -0
- package/dist/webcomponents/{p-5d1d2fd7.js → p-BrvbVMVq.js} +1 -1
- package/dist/webcomponents/{p-a5579f53.js → p-BuYnqWwT.js} +1 -1
- package/dist/webcomponents/p-BxPlB-C5.js +1 -0
- package/dist/webcomponents/{p-3f5e6602.js → p-Bxs6fi7a.js} +1 -1
- package/dist/webcomponents/{p-bfe9748b.js → p-C3nDCvFQ.js} +1 -1
- package/dist/webcomponents/{p-87f8c596.js → p-C5RuuShs.js} +1 -1
- package/dist/webcomponents/p-CB88j97I.js +1 -0
- package/dist/webcomponents/p-CGz3XHQc.js +1 -0
- package/dist/webcomponents/p-CLBRsaLx.js +1 -0
- package/dist/webcomponents/{p-4cc3c7f9.js → p-CTBH4Lj9.js} +1 -1
- package/dist/webcomponents/p-CYsU0lEI.js +1 -0
- package/dist/webcomponents/p-CjunQqer.js +1 -0
- package/dist/webcomponents/{p-12074378.js → p-CnyMKcfC.js} +1 -1
- package/dist/webcomponents/p-CpTwq2jw.js +1 -0
- package/dist/webcomponents/{p-61f0a2ce.js → p-Ct-uNz2r.js} +1 -1
- package/dist/webcomponents/p-CwHcfOV7.js +1 -0
- package/dist/webcomponents/p-Cy4aIACq.js +1 -0
- package/dist/webcomponents/p-D7s2671S.js +1 -0
- package/dist/webcomponents/{p-ca6cdfe6.js → p-D89x2FYg.js} +1 -1
- package/dist/webcomponents/p-D9t-X0IY.js +1 -0
- package/dist/webcomponents/p-DLpKiPxJ.js +1 -0
- package/dist/webcomponents/p-DVnVdicA.js +1 -0
- package/dist/webcomponents/p-DhEfW-kS.js +1 -0
- package/dist/webcomponents/p-DhQ2XlhY.js +1 -0
- package/dist/webcomponents/p-Dna7whFY.js +1 -0
- package/dist/webcomponents/p-DoH48u6u.js +1 -0
- package/dist/webcomponents/p-Dt-vy9Le.js +1 -0
- package/dist/webcomponents/p-DzPbgN8M.js +1 -0
- package/dist/webcomponents/{p-c9b78275.js → p-IA90llLO.js} +1 -1
- package/dist/webcomponents/p-JcczGkik.js +1 -0
- package/dist/webcomponents/p-QYQ4VLoz.js +1 -0
- package/dist/webcomponents/{p-9dd8685c.js → p-SdntD1xf.js} +1 -1
- package/dist/webcomponents/p-ZUQEru6m.js +1 -0
- package/dist/webcomponents/p-a22974fd.entry.js +1 -0
- package/dist/webcomponents/p-a2bf5919.entry.js +1 -0
- package/dist/webcomponents/p-a9eff0f2.entry.js +1 -0
- package/dist/webcomponents/p-ab99e4c6.entry.js +1 -0
- package/dist/webcomponents/p-b7053613.entry.js +1 -0
- package/dist/webcomponents/p-bb8f7062.entry.js +1 -0
- package/dist/webcomponents/p-be04a09c.entry.js +1 -0
- package/dist/webcomponents/p-bplwtwD3.js +1 -0
- package/dist/webcomponents/p-c38c742e.entry.js +1 -0
- package/dist/webcomponents/p-c558725e.entry.js +1 -0
- package/dist/webcomponents/p-c6534f5f.entry.js +1 -0
- package/dist/webcomponents/p-c6cf707c.entry.js +1 -0
- package/dist/webcomponents/p-c70dcec1.entry.js +1 -0
- package/dist/webcomponents/p-c8d608a1.entry.js +1 -0
- package/dist/webcomponents/p-ce20d709.entry.js +1 -0
- package/dist/webcomponents/p-cf8f69de.entry.js +1 -0
- package/dist/webcomponents/p-d5675bf5.entry.js +1 -0
- package/dist/webcomponents/p-def42fc7.entry.js +1 -0
- package/dist/webcomponents/p-dfcf19f2.entry.js +1 -0
- package/dist/webcomponents/p-e0896deb.entry.js +1 -0
- package/dist/webcomponents/p-e3962860.entry.js +1 -0
- package/dist/webcomponents/p-e3cd72ad.entry.js +1 -0
- package/dist/webcomponents/p-e52d5ead.entry.js +1 -0
- package/dist/webcomponents/p-eYaGyUvS.js +1 -0
- package/dist/webcomponents/p-eb31e5c7.entry.js +1 -0
- package/dist/webcomponents/p-eb677eb2.entry.js +1 -0
- package/dist/webcomponents/p-f0301d11.entry.js +1 -0
- package/dist/webcomponents/p-f51e4213.entry.js +1 -0
- package/dist/webcomponents/p-gAO-RwrF.js +1 -0
- package/dist/webcomponents/p-hkXaxw9l.js +1 -0
- package/dist/webcomponents/p-p7aAf5_m.js +1 -0
- package/dist/webcomponents/p-sXe3gn-5.js +1 -0
- package/dist/webcomponents/p-y-Ys7Rd-.js +1 -0
- package/dist/webcomponents/p-z1GJDdMW.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +6 -7
- package/dist/cjs/Api-83d93333.js +0 -118
- package/dist/cjs/billing-form_3.cjs.entry.js +0 -1733
- package/dist/cjs/index.esm-544c08fd.js +0 -2937
- package/dist/cjs/lodash-dbf6a6a4.js +0 -17206
- package/dist/cjs/package-5a9f02b2.js +0 -83
- package/dist/cjs/payment.service-537e049d.js +0 -23
- package/dist/cjs/terminals-list-params-state-236f06f6.js +0 -22
- package/dist/cjs/utils-4120664c.js +0 -4018
- package/dist/collection/components/checkout/billing-forms/billing-form/billing-form.js +0 -137
- package/dist/collection/components/checkout/billing-forms/billing-form-schema.js +0 -26
- package/dist/collection/components/checkout/billing-forms/billing-form-wrapper.js +0 -183
- package/dist/collection/components/checkout/billing-forms/postal-form/postal-form.js +0 -136
- package/dist/esm/Api-52242eb0.js +0 -116
- package/dist/esm/billing-form_3.entry.js +0 -1727
- package/dist/esm/index.esm-feedf26f.js +0 -2931
- package/dist/esm/lodash-faeb5a52.js +0 -17204
- package/dist/esm/package-c8466624.js +0 -81
- package/dist/esm/payment.service-af5bd8be.js +0 -21
- package/dist/esm/terminals-list-params-state-e4b2ec23.js +0 -16
- package/dist/esm/utils-ec50661e.js +0 -4001
- package/dist/loader/package.json +0 -11
- package/dist/module/billing-form-schema.js +0 -16
- package/dist/module/billing-form-wrapper.js +0 -114
- package/dist/module/billing-form2.js +0 -90
- package/dist/module/justifi-billing-form-wrapper.d.ts +0 -11
- package/dist/module/justifi-billing-form-wrapper.js +0 -6
- package/dist/module/postal-form.d.ts +0 -11
- package/dist/module/postal-form.js +0 -6
- package/dist/module/postal-form2.js +0 -83
- package/dist/types/components/checkout/billing-forms/billing-form-wrapper.d.ts +0 -19
- package/dist/types/components/checkout/billing-forms/postal-form/postal-form.d.ts +0 -20
- package/dist/webcomponents/p-01033194.js +0 -1
- package/dist/webcomponents/p-04d6b37e.entry.js +0 -1
- package/dist/webcomponents/p-092515e0.js +0 -1
- package/dist/webcomponents/p-0b61d4d3.entry.js +0 -1
- package/dist/webcomponents/p-0c7ec110.entry.js +0 -1
- package/dist/webcomponents/p-0f0020e1.entry.js +0 -1
- package/dist/webcomponents/p-0fa216eb.entry.js +0 -1
- package/dist/webcomponents/p-1361d8eb.entry.js +0 -1
- package/dist/webcomponents/p-13717638.entry.js +0 -1
- package/dist/webcomponents/p-142bfae3.js +0 -1
- package/dist/webcomponents/p-1cfa5df9.entry.js +0 -1
- package/dist/webcomponents/p-1ff8810b.js +0 -1
- package/dist/webcomponents/p-2123c150.js +0 -1
- package/dist/webcomponents/p-21def20b.entry.js +0 -1
- package/dist/webcomponents/p-23cd76af.entry.js +0 -1
- package/dist/webcomponents/p-25b82529.entry.js +0 -1
- package/dist/webcomponents/p-27546fa9.entry.js +0 -1
- package/dist/webcomponents/p-275c3dc9.js +0 -1
- package/dist/webcomponents/p-2783e363.js +0 -2
- package/dist/webcomponents/p-290fa30d.entry.js +0 -1
- package/dist/webcomponents/p-2a9d7f6b.js +0 -1
- package/dist/webcomponents/p-2aad7e3b.entry.js +0 -1
- package/dist/webcomponents/p-2b8aaa7d.entry.js +0 -1
- package/dist/webcomponents/p-3075b7e1.entry.js +0 -1
- package/dist/webcomponents/p-31dcaeaf.entry.js +0 -1
- package/dist/webcomponents/p-35c296fc.entry.js +0 -1
- package/dist/webcomponents/p-373a19fe.entry.js +0 -1
- package/dist/webcomponents/p-375657fe.entry.js +0 -1
- package/dist/webcomponents/p-3cc7527a.entry.js +0 -1
- package/dist/webcomponents/p-3cf317d3.entry.js +0 -1
- package/dist/webcomponents/p-407d6d29.entry.js +0 -1
- package/dist/webcomponents/p-4451de8d.entry.js +0 -1
- package/dist/webcomponents/p-4f7432c3.entry.js +0 -1
- package/dist/webcomponents/p-536497fe.entry.js +0 -1
- package/dist/webcomponents/p-536fb8e2.js +0 -1
- package/dist/webcomponents/p-537bce77.js +0 -1
- package/dist/webcomponents/p-54556fc6.js +0 -1
- package/dist/webcomponents/p-56c7fc8d.js +0 -1
- package/dist/webcomponents/p-58ee6ce9.js +0 -1
- package/dist/webcomponents/p-5a541d35.js +0 -1
- package/dist/webcomponents/p-5a9d7ca0.entry.js +0 -1
- package/dist/webcomponents/p-5b76dbe1.entry.js +0 -1
- package/dist/webcomponents/p-5f6b4bc9.js +0 -1
- package/dist/webcomponents/p-645db2cb.entry.js +0 -1
- package/dist/webcomponents/p-673c1bca.js +0 -1
- package/dist/webcomponents/p-753d983c.entry.js +0 -1
- package/dist/webcomponents/p-76549a24.js +0 -1
- package/dist/webcomponents/p-7d85af5c.js +0 -1
- package/dist/webcomponents/p-7e8732f7.entry.js +0 -1
- package/dist/webcomponents/p-81a6c3e2.entry.js +0 -1
- package/dist/webcomponents/p-829480e7.entry.js +0 -1
- package/dist/webcomponents/p-86605101.js +0 -1
- package/dist/webcomponents/p-87a4fb5b.js +0 -1
- package/dist/webcomponents/p-927cb6df.js +0 -1
- package/dist/webcomponents/p-94e4f1f1.entry.js +0 -1
- package/dist/webcomponents/p-96c23cda.entry.js +0 -1
- package/dist/webcomponents/p-9a9732e1.js +0 -1
- package/dist/webcomponents/p-9fecad5a.js +0 -1
- package/dist/webcomponents/p-a3cced75.entry.js +0 -1
- package/dist/webcomponents/p-a5f5cc2e.entry.js +0 -1
- package/dist/webcomponents/p-a8c69f51.entry.js +0 -1
- package/dist/webcomponents/p-ab45511e.js +0 -1
- package/dist/webcomponents/p-ad713ab6.entry.js +0 -1
- package/dist/webcomponents/p-adecb91a.entry.js +0 -1
- package/dist/webcomponents/p-ae7edce5.js +0 -1
- package/dist/webcomponents/p-ae891abb.entry.js +0 -1
- package/dist/webcomponents/p-af3315b5.entry.js +0 -1
- package/dist/webcomponents/p-b218af87.entry.js +0 -1
- package/dist/webcomponents/p-b50ca848.entry.js +0 -1
- package/dist/webcomponents/p-b84ee6d8.js +0 -1
- package/dist/webcomponents/p-b8664571.entry.js +0 -1
- package/dist/webcomponents/p-bb4b3f79.entry.js +0 -1
- package/dist/webcomponents/p-beec0b60.js +0 -1
- package/dist/webcomponents/p-bf12999f.js +0 -1
- package/dist/webcomponents/p-bf195b35.js +0 -1
- package/dist/webcomponents/p-bfc2d88a.js +0 -1
- package/dist/webcomponents/p-c6be72b0.js +0 -10
- package/dist/webcomponents/p-c8b78136.js +0 -1
- package/dist/webcomponents/p-cbad44b7.js +0 -1
- package/dist/webcomponents/p-cc2f75a3.entry.js +0 -1
- package/dist/webcomponents/p-ccb9ee53.js +0 -1
- package/dist/webcomponents/p-cd93c62b.entry.js +0 -19
- package/dist/webcomponents/p-d757fcf5.js +0 -1
- package/dist/webcomponents/p-dbc1a95b.js +0 -1
- package/dist/webcomponents/p-dd2938d3.entry.js +0 -1
- package/dist/webcomponents/p-de03d0f8.js +0 -1
- package/dist/webcomponents/p-dec18cc4.js +0 -1
- package/dist/webcomponents/p-e1ae5e80.entry.js +0 -1
- package/dist/webcomponents/p-e3855f51.entry.js +0 -1
- package/dist/webcomponents/p-e73be1b9.entry.js +0 -1
- package/dist/webcomponents/p-e9867f8b.entry.js +0 -1
- package/dist/webcomponents/p-ef1db3da.entry.js +0 -1
- package/dist/webcomponents/p-f13b2991.entry.js +0 -1
- package/dist/webcomponents/p-f20466f7.entry.js +0 -1
- package/dist/webcomponents/p-f20b6ce1.js +0 -1
- package/dist/webcomponents/p-f4739d31.js +0 -1
- package/dist/webcomponents/p-f4aeb100.js +0 -1
- package/dist/webcomponents/p-f8fccf44.js +0 -1
- package/dist/webcomponents/p-f930504f.entry.js +0 -1
- package/dist/webcomponents/p-faa35b47.entry.js +0 -1
- package/dist/webcomponents/p-fb2db8da.entry.js +0 -1
- package/dist/webcomponents/p-fca89e9b.entry.js +0 -1
- /package/dist/cjs/{Dispute-eb6bad54.js → Dispute-CruQTF6_.js} +0 -0
- /package/dist/cjs/{Document-0b828345.js → Document-rXGBUaOh.js} +0 -0
- /package/dist/cjs/{Pagination-0da8f095.js → Pagination-Dediz133.js} +0 -0
- /package/dist/cjs/{app-globals-3a1e7e63.js → app-globals-V2Kpy_OQ.js} +0 -0
- /package/dist/cjs/{event-types-8edaabbb.js → event-types-BWQT2lwu.js} +0 -0
- /package/dist/cjs/{event-types-180a85a9.js → event-types-DNOUef41.js} +0 -0
- /package/dist/cjs/{form-input-masks-0879c139.js → form-input-masks-DgXd0f4V.js} +0 -0
- /package/dist/cjs/{state-options-4fbcb48a.js → state-options-CIT9xdTz.js} +0 -0
- /package/dist/cjs/{utils-bc03ca40.js → utils-DAyWinG2.js} +0 -0
- /package/dist/esm/{Dispute-5fd28ec9.js → Dispute-7MWRbTXI.js} +0 -0
- /package/dist/esm/{Pagination-afc8f96d.js → Pagination-CLHwhyvu.js} +0 -0
- /package/dist/esm/{app-globals-0f993ce5.js → app-globals-DQuL1Twl.js} +0 -0
- /package/dist/esm/{event-types-07cdb9a0.js → event-types-Bg2SZArf.js} +0 -0
- /package/dist/esm/{event-types-5c87de02.js → event-types-XYgDHrVL.js} +0 -0
- /package/dist/esm/{form-input-masks-0e18300f.js → form-input-masks-B-iV5cYd.js} +0 -0
- /package/dist/esm/{state-options-a356fb11.js → state-options-BX8GieXu.js} +0 -0
- /package/dist/esm/{utils-20cdf321.js → utils-BnjCmwMr.js} +0 -0
- /package/dist/webcomponents/{p-abdbcd8e.js → p-7MWRbTXI.js} +0 -0
- /package/dist/webcomponents/{p-525db3e8.js → p-B-iV5cYd.js} +0 -0
- /package/dist/webcomponents/{p-6078a370.js → p-BX8GieXu.js} +0 -0
- /package/dist/webcomponents/{p-667ebd79.js → p-Bg2SZArf.js} +0 -0
- /package/dist/webcomponents/{p-e3c22aa9.js → p-BnjCmwMr.js} +0 -0
- /package/dist/webcomponents/{p-56f6ce4c.js → p-CLHwhyvu.js} +0 -0
- /package/dist/webcomponents/{p-1ad5995e.js → p-Ce_F4E0f.js} +0 -0
- /package/dist/webcomponents/{p-e1255160.js → p-DQuL1Twl.js} +0 -0
- /package/dist/webcomponents/{p-73f9be7c.js → p-XYgDHrVL.js} +0 -0
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { IAdditionalQuestions, IAddress, IBusiness } from "./api/Business";
|
|
9
|
-
import { ComponentClickEvent as ComponentClickEvent1, ComponentErrorCodes, ComponentErrorEvent as ComponentErrorEvent1, ComponentFormStepCompleteEvent as ComponentFormStepCompleteEvent1, ComponentSubmitEvent as ComponentSubmitEvent1, FileSelectEvent, IApiResponse, IBnpl, ICheckoutPaymentModeParam, ICheckoutStatus, ILoadedEventResponse, ITerminalStatus, TerminalModelName, TerminalOrderStatus, TerminalOrderType } from "./api";
|
|
10
|
-
import { BillingFormFields, PostalFormFields } from "./components/checkout/billing-forms/billing-form-schema";
|
|
9
|
+
import { ComponentClickEvent as ComponentClickEvent1, ComponentErrorCodes, ComponentErrorEvent as ComponentErrorEvent1, ComponentFormStepCompleteEvent as ComponentFormStepCompleteEvent1, ComponentSubmitEvent as ComponentSubmitEvent1, FileSelectEvent, IApiResponse, IBnpl, ICheckoutPaymentModeParam, ICheckoutStatus, ILoadedEventResponse, IRefund, ITerminalStatus, TerminalModelName, TerminalOrderStatus, TerminalOrderType } from "./api";
|
|
11
10
|
import { ComponentClickEvent, ComponentErrorEvent, ComponentFormStepCompleteEvent, ComponentSubmitEvent } from "./api/ComponentEvents";
|
|
12
11
|
import { Placement, PositioningStrategy } from "@popperjs/core";
|
|
13
12
|
import { EntityDocumentType, FileSelectEvent as FileSelectEvent1 } from "./api/Document";
|
|
14
13
|
import { BillingFormFields as BillingFormFields1, FormController } from "./components";
|
|
15
14
|
import { DisputeEvidenceDocument } from "./api/DisputeEvidenceDocument";
|
|
16
15
|
import { DisputeResponseFormStep } from "./components/dispute-management/dispute-response/dispute-response-form-types";
|
|
16
|
+
import { BillingFormFields } from "./components/checkout/billing-form/billing-form-schema";
|
|
17
17
|
import { FormController as FormController1 } from "./ui-components/form/form";
|
|
18
18
|
import { ILoadedEventResponse as ILoadedEventResponse1 } from "./api/Checkout";
|
|
19
19
|
import { Dispute, IDispute } from "./api/Dispute";
|
|
@@ -22,14 +22,14 @@ import { PaymentMethodPayload } from "./components/checkout/payment-method-paylo
|
|
|
22
22
|
import { Identity } from "./api/Identity";
|
|
23
23
|
import { PaginationProps } from "./ui-components/pagination-menu/pagination-menu";
|
|
24
24
|
export { IAdditionalQuestions, IAddress, IBusiness } from "./api/Business";
|
|
25
|
-
export { ComponentClickEvent as ComponentClickEvent1, ComponentErrorCodes, ComponentErrorEvent as ComponentErrorEvent1, ComponentFormStepCompleteEvent as ComponentFormStepCompleteEvent1, ComponentSubmitEvent as ComponentSubmitEvent1, FileSelectEvent, IApiResponse, IBnpl, ICheckoutPaymentModeParam, ICheckoutStatus, ILoadedEventResponse, ITerminalStatus, TerminalModelName, TerminalOrderStatus, TerminalOrderType } from "./api";
|
|
26
|
-
export { BillingFormFields, PostalFormFields } from "./components/checkout/billing-forms/billing-form-schema";
|
|
25
|
+
export { ComponentClickEvent as ComponentClickEvent1, ComponentErrorCodes, ComponentErrorEvent as ComponentErrorEvent1, ComponentFormStepCompleteEvent as ComponentFormStepCompleteEvent1, ComponentSubmitEvent as ComponentSubmitEvent1, FileSelectEvent, IApiResponse, IBnpl, ICheckoutPaymentModeParam, ICheckoutStatus, ILoadedEventResponse, IRefund, ITerminalStatus, TerminalModelName, TerminalOrderStatus, TerminalOrderType } from "./api";
|
|
27
26
|
export { ComponentClickEvent, ComponentErrorEvent, ComponentFormStepCompleteEvent, ComponentSubmitEvent } from "./api/ComponentEvents";
|
|
28
27
|
export { Placement, PositioningStrategy } from "@popperjs/core";
|
|
29
28
|
export { EntityDocumentType, FileSelectEvent as FileSelectEvent1 } from "./api/Document";
|
|
30
29
|
export { BillingFormFields as BillingFormFields1, FormController } from "./components";
|
|
31
30
|
export { DisputeEvidenceDocument } from "./api/DisputeEvidenceDocument";
|
|
32
31
|
export { DisputeResponseFormStep } from "./components/dispute-management/dispute-response/dispute-response-form-types";
|
|
32
|
+
export { BillingFormFields } from "./components/checkout/billing-form/billing-form-schema";
|
|
33
33
|
export { FormController as FormController1 } from "./ui-components/form/form";
|
|
34
34
|
export { ILoadedEventResponse as ILoadedEventResponse1 } from "./api/Checkout";
|
|
35
35
|
export { Dispute, IDispute } from "./api/Dispute";
|
|
@@ -57,15 +57,6 @@ export namespace Components {
|
|
|
57
57
|
"formDisabled": boolean;
|
|
58
58
|
"inputHandler": (name: string, value: string) => void;
|
|
59
59
|
}
|
|
60
|
-
interface BillingForm {
|
|
61
|
-
"fill": (fields: BillingFormFields) => Promise<void>;
|
|
62
|
-
"getValues": () => Promise<BillingFormFields>;
|
|
63
|
-
/**
|
|
64
|
-
* (Optional) A label for the form.
|
|
65
|
-
*/
|
|
66
|
-
"legend"?: string;
|
|
67
|
-
"validate": () => Promise<{ isValid: boolean; }>;
|
|
68
|
-
}
|
|
69
60
|
interface BusinessDetailsCore {
|
|
70
61
|
"getBusiness": Function;
|
|
71
62
|
}
|
|
@@ -257,13 +248,11 @@ export namespace Components {
|
|
|
257
248
|
"documentErrors": any;
|
|
258
249
|
"validateAndSubmit": (onSuccess: (formData: any, documentList: DisputeEvidenceDocument[], formStep: DisputeResponseFormStep) => void) => Promise<void>;
|
|
259
250
|
}
|
|
260
|
-
interface
|
|
261
|
-
"fill": (fields: BillingFormFields
|
|
262
|
-
"getValues": () => Promise<BillingFormFields
|
|
251
|
+
interface JustifiBillingForm {
|
|
252
|
+
"fill": (fields: BillingFormFields) => Promise<void>;
|
|
253
|
+
"getValues": () => Promise<BillingFormFields>;
|
|
254
|
+
"hideBankAccountBillingForm"?: boolean;
|
|
263
255
|
"hideCardBillingForm"?: boolean;
|
|
264
|
-
/**
|
|
265
|
-
* (Optional) A label for the form.
|
|
266
|
-
*/
|
|
267
256
|
"legend"?: string;
|
|
268
257
|
"paymentMethodType"?: string;
|
|
269
258
|
"validate": () => Promise<{ isValid: boolean; }>;
|
|
@@ -366,9 +355,11 @@ export namespace Components {
|
|
|
366
355
|
"disableBnpl"?: boolean;
|
|
367
356
|
"disableCreditCard"?: boolean;
|
|
368
357
|
"disablePaymentMethodGroup"?: boolean;
|
|
369
|
-
"fillBillingForm": (fields: BillingFormFields
|
|
358
|
+
"fillBillingForm": (fields: BillingFormFields) => Promise<void>;
|
|
359
|
+
"hideBankAccountBillingForm"?: boolean;
|
|
370
360
|
"hideCardBillingForm"?: boolean;
|
|
371
361
|
"iframeOrigin"?: string;
|
|
362
|
+
"validate": () => Promise<{ isValid: boolean; }>;
|
|
372
363
|
}
|
|
373
364
|
interface JustifiCheckoutCore {
|
|
374
365
|
"authToken": string;
|
|
@@ -378,10 +369,12 @@ export namespace Components {
|
|
|
378
369
|
"disableBnpl"?: boolean;
|
|
379
370
|
"disableCreditCard"?: boolean;
|
|
380
371
|
"disablePaymentMethodGroup"?: boolean;
|
|
381
|
-
"fillBillingForm": (fields: BillingFormFields
|
|
372
|
+
"fillBillingForm": (fields: BillingFormFields) => Promise<void>;
|
|
382
373
|
"getCheckout": Function;
|
|
374
|
+
"hideBankAccountBillingForm"?: boolean;
|
|
383
375
|
"hideCardBillingForm"?: boolean;
|
|
384
376
|
"iframeOrigin": string;
|
|
377
|
+
"validate": () => Promise<{ isValid: boolean; }>;
|
|
385
378
|
}
|
|
386
379
|
interface JustifiCheckoutsList {
|
|
387
380
|
"accountId": string;
|
|
@@ -477,13 +470,17 @@ export namespace Components {
|
|
|
477
470
|
interface JustifiNewPaymentMethod {
|
|
478
471
|
"accountId": string;
|
|
479
472
|
"authToken": string;
|
|
480
|
-
"fillBillingForm": (fields: BillingFormFields
|
|
473
|
+
"fillBillingForm": (fields: BillingFormFields) => Promise<void>;
|
|
474
|
+
"hideBankAccountBillingForm"?: boolean;
|
|
481
475
|
"hideCardBillingForm"?: boolean;
|
|
482
476
|
"iframeOrigin": string;
|
|
483
477
|
"isSelected": boolean;
|
|
484
478
|
"paymentMethodGroupId"?: string;
|
|
485
479
|
"paymentMethodOption": PaymentMethodOption;
|
|
486
480
|
"resolvePaymentMethod": (insuranceValidation: any) => Promise<PaymentMethodPayload>;
|
|
481
|
+
"showAch"?: boolean;
|
|
482
|
+
"showCard"?: boolean;
|
|
483
|
+
"validate": () => Promise<boolean>;
|
|
487
484
|
}
|
|
488
485
|
interface JustifiOrderTerminals {
|
|
489
486
|
"accountId": string;
|
|
@@ -506,6 +503,7 @@ export namespace Components {
|
|
|
506
503
|
"validateAndSubmit": ({ onSuccess }: { onSuccess: any; }) => Promise<void>;
|
|
507
504
|
}
|
|
508
505
|
interface JustifiPaymentDetails {
|
|
506
|
+
"apiOrigin"?: string;
|
|
509
507
|
"authToken": string;
|
|
510
508
|
"paymentId": string;
|
|
511
509
|
}
|
|
@@ -513,7 +511,8 @@ export namespace Components {
|
|
|
513
511
|
"accountId": string;
|
|
514
512
|
"authToken": string;
|
|
515
513
|
"bnpl": IBnpl;
|
|
516
|
-
"fillBillingForm": (fields: BillingFormFields
|
|
514
|
+
"fillBillingForm": (fields: BillingFormFields) => Promise<void>;
|
|
515
|
+
"hideBankAccountBillingForm"?: boolean;
|
|
517
516
|
"hideCardBillingForm"?: boolean;
|
|
518
517
|
"iframeOrigin": string;
|
|
519
518
|
"insuranceToggled": boolean;
|
|
@@ -525,6 +524,7 @@ export namespace Components {
|
|
|
525
524
|
"showBnpl": boolean;
|
|
526
525
|
"showCard": boolean;
|
|
527
526
|
"showSavedPaymentMethods": boolean;
|
|
527
|
+
"validate": () => Promise<{ isValid: boolean; }>;
|
|
528
528
|
}
|
|
529
529
|
interface JustifiPaymentProvisioning {
|
|
530
530
|
"allowOptionalFields"?: boolean;
|
|
@@ -590,11 +590,12 @@ export namespace Components {
|
|
|
590
590
|
"validateAndSubmit": (onSuccess: (formData: any, documentList: DisputeEvidenceDocument[], formStep: DisputeResponseFormStep) => void) => Promise<void>;
|
|
591
591
|
}
|
|
592
592
|
interface JustifiRefundPayment {
|
|
593
|
+
"accountId": string;
|
|
593
594
|
"apiOrigin"?: string;
|
|
594
595
|
"authToken": string;
|
|
595
596
|
"hideSubmitButton"?: boolean;
|
|
596
597
|
"paymentId": string;
|
|
597
|
-
"
|
|
598
|
+
"refundPayment": (event?: CustomEvent) => Promise<IRefund>;
|
|
598
599
|
}
|
|
599
600
|
interface JustifiRefundPolicy {
|
|
600
601
|
"disputeResponse": any;
|
|
@@ -684,12 +685,14 @@ export namespace Components {
|
|
|
684
685
|
"disableBankAccount"?: boolean;
|
|
685
686
|
"disableCreditCard"?: boolean;
|
|
686
687
|
"fillBillingForm": (fields: BillingFormFields1) => Promise<void>;
|
|
688
|
+
"hideBankAccountBillingForm"?: boolean;
|
|
687
689
|
"hideCardBillingForm"?: boolean;
|
|
688
690
|
"hideSubmitButton"?: boolean;
|
|
689
691
|
"iframeOrigin"?: string;
|
|
690
692
|
"paymentMethodGroupId": string;
|
|
691
693
|
"submitButtonText": string;
|
|
692
694
|
"tokenizePaymentMethod": (event?: CustomEvent) => Promise<PaymentMethodPayload>;
|
|
695
|
+
"validate": () => Promise<{ isValid: boolean; }>;
|
|
693
696
|
}
|
|
694
697
|
interface LegalAddressDetails {
|
|
695
698
|
"legalAddress": IAddress;
|
|
@@ -738,15 +741,6 @@ export namespace Components {
|
|
|
738
741
|
"getPayouts": Function;
|
|
739
742
|
"getSubAccounts": Function;
|
|
740
743
|
}
|
|
741
|
-
interface PostalForm {
|
|
742
|
-
"fill": (fields: PostalFormFields) => Promise<void>;
|
|
743
|
-
"getValues": () => Promise<PostalFormFields>;
|
|
744
|
-
/**
|
|
745
|
-
* (Optional) A label for the form.
|
|
746
|
-
*/
|
|
747
|
-
"legend"?: string;
|
|
748
|
-
"validate": () => Promise<{ isValid: boolean; }>;
|
|
749
|
-
}
|
|
750
744
|
interface RepresentativeDetails {
|
|
751
745
|
"representative": Identity;
|
|
752
746
|
}
|
|
@@ -1064,12 +1058,6 @@ declare global {
|
|
|
1064
1058
|
prototype: HTMLBankAccountFormInputsElement;
|
|
1065
1059
|
new (): HTMLBankAccountFormInputsElement;
|
|
1066
1060
|
};
|
|
1067
|
-
interface HTMLBillingFormElement extends Components.BillingForm, HTMLStencilElement {
|
|
1068
|
-
}
|
|
1069
|
-
var HTMLBillingFormElement: {
|
|
1070
|
-
prototype: HTMLBillingFormElement;
|
|
1071
|
-
new (): HTMLBillingFormElement;
|
|
1072
|
-
};
|
|
1073
1061
|
interface HTMLBusinessDetailsCoreElementEventMap {
|
|
1074
1062
|
"error-event": ComponentErrorEvent;
|
|
1075
1063
|
}
|
|
@@ -1464,11 +1452,11 @@ declare global {
|
|
|
1464
1452
|
prototype: HTMLJustifiAdditionalStatementElement;
|
|
1465
1453
|
new (): HTMLJustifiAdditionalStatementElement;
|
|
1466
1454
|
};
|
|
1467
|
-
interface
|
|
1455
|
+
interface HTMLJustifiBillingFormElement extends Components.JustifiBillingForm, HTMLStencilElement {
|
|
1468
1456
|
}
|
|
1469
|
-
var
|
|
1470
|
-
prototype:
|
|
1471
|
-
new ():
|
|
1457
|
+
var HTMLJustifiBillingFormElement: {
|
|
1458
|
+
prototype: HTMLJustifiBillingFormElement;
|
|
1459
|
+
new (): HTMLJustifiBillingFormElement;
|
|
1472
1460
|
};
|
|
1473
1461
|
interface HTMLJustifiBusinessBankAccountFormStepElementEventMap {
|
|
1474
1462
|
"error-event": ComponentErrorEvent1;
|
|
@@ -2424,12 +2412,6 @@ declare global {
|
|
|
2424
2412
|
prototype: HTMLPayoutsListCoreElement;
|
|
2425
2413
|
new (): HTMLPayoutsListCoreElement;
|
|
2426
2414
|
};
|
|
2427
|
-
interface HTMLPostalFormElement extends Components.PostalForm, HTMLStencilElement {
|
|
2428
|
-
}
|
|
2429
|
-
var HTMLPostalFormElement: {
|
|
2430
|
-
prototype: HTMLPostalFormElement;
|
|
2431
|
-
new (): HTMLPostalFormElement;
|
|
2432
|
-
};
|
|
2433
2415
|
interface HTMLRepresentativeDetailsElement extends Components.RepresentativeDetails, HTMLStencilElement {
|
|
2434
2416
|
}
|
|
2435
2417
|
var HTMLRepresentativeDetailsElement: {
|
|
@@ -2500,7 +2482,6 @@ declare global {
|
|
|
2500
2482
|
"bank-account-document-form-inputs": HTMLBankAccountDocumentFormInputsElement;
|
|
2501
2483
|
"bank-account-form": HTMLBankAccountFormElement;
|
|
2502
2484
|
"bank-account-form-inputs": HTMLBankAccountFormInputsElement;
|
|
2503
|
-
"billing-form": HTMLBillingFormElement;
|
|
2504
2485
|
"business-details-core": HTMLBusinessDetailsCoreElement;
|
|
2505
2486
|
"business-documents-on-file": HTMLBusinessDocumentsOnFileElement;
|
|
2506
2487
|
"card-form": HTMLCardFormElement;
|
|
@@ -2529,7 +2510,7 @@ declare global {
|
|
|
2529
2510
|
"justifi-additional-questions-form-step": HTMLJustifiAdditionalQuestionsFormStepElement;
|
|
2530
2511
|
"justifi-additional-questions-form-step-core": HTMLJustifiAdditionalQuestionsFormStepCoreElement;
|
|
2531
2512
|
"justifi-additional-statement": HTMLJustifiAdditionalStatementElement;
|
|
2532
|
-
"justifi-billing-form
|
|
2513
|
+
"justifi-billing-form": HTMLJustifiBillingFormElement;
|
|
2533
2514
|
"justifi-business-bank-account-form-step": HTMLJustifiBusinessBankAccountFormStepElement;
|
|
2534
2515
|
"justifi-business-bank-account-form-step-core": HTMLJustifiBusinessBankAccountFormStepCoreElement;
|
|
2535
2516
|
"justifi-business-core-info": HTMLJustifiBusinessCoreInfoElement;
|
|
@@ -2600,7 +2581,6 @@ declare global {
|
|
|
2600
2581
|
"payments-list-core": HTMLPaymentsListCoreElement;
|
|
2601
2582
|
"payout-details-core": HTMLPayoutDetailsCoreElement;
|
|
2602
2583
|
"payouts-list-core": HTMLPayoutsListCoreElement;
|
|
2603
|
-
"postal-form": HTMLPostalFormElement;
|
|
2604
2584
|
"representative-details": HTMLRepresentativeDetailsElement;
|
|
2605
2585
|
"table-filters-menu": HTMLTableFiltersMenuElement;
|
|
2606
2586
|
"terminal-orders-list-core": HTMLTerminalOrdersListCoreElement;
|
|
@@ -2626,12 +2606,6 @@ declare namespace LocalJSX {
|
|
|
2626
2606
|
"formDisabled"?: boolean;
|
|
2627
2607
|
"inputHandler"?: (name: string, value: string) => void;
|
|
2628
2608
|
}
|
|
2629
|
-
interface BillingForm {
|
|
2630
|
-
/**
|
|
2631
|
-
* (Optional) A label for the form.
|
|
2632
|
-
*/
|
|
2633
|
-
"legend"?: string;
|
|
2634
|
-
}
|
|
2635
2609
|
interface BusinessDetailsCore {
|
|
2636
2610
|
"getBusiness"?: Function;
|
|
2637
2611
|
"onError-event"?: (event: BusinessDetailsCoreCustomEvent<ComponentErrorEvent>) => void;
|
|
@@ -2852,11 +2826,9 @@ declare namespace LocalJSX {
|
|
|
2852
2826
|
"disputeResponse"?: any;
|
|
2853
2827
|
"documentErrors"?: any;
|
|
2854
2828
|
}
|
|
2855
|
-
interface
|
|
2829
|
+
interface JustifiBillingForm {
|
|
2830
|
+
"hideBankAccountBillingForm"?: boolean;
|
|
2856
2831
|
"hideCardBillingForm"?: boolean;
|
|
2857
|
-
/**
|
|
2858
|
-
* (Optional) A label for the form.
|
|
2859
|
-
*/
|
|
2860
2832
|
"legend"?: string;
|
|
2861
2833
|
"paymentMethodType"?: string;
|
|
2862
2834
|
}
|
|
@@ -2972,6 +2944,7 @@ declare namespace LocalJSX {
|
|
|
2972
2944
|
"disableBnpl"?: boolean;
|
|
2973
2945
|
"disableCreditCard"?: boolean;
|
|
2974
2946
|
"disablePaymentMethodGroup"?: boolean;
|
|
2947
|
+
"hideBankAccountBillingForm"?: boolean;
|
|
2975
2948
|
"hideCardBillingForm"?: boolean;
|
|
2976
2949
|
"iframeOrigin"?: string;
|
|
2977
2950
|
"onError-event"?: (event: JustifiCheckoutCustomEvent<ComponentErrorEvent>) => void;
|
|
@@ -2986,6 +2959,7 @@ declare namespace LocalJSX {
|
|
|
2986
2959
|
"disableCreditCard"?: boolean;
|
|
2987
2960
|
"disablePaymentMethodGroup"?: boolean;
|
|
2988
2961
|
"getCheckout"?: Function;
|
|
2962
|
+
"hideBankAccountBillingForm"?: boolean;
|
|
2989
2963
|
"hideCardBillingForm"?: boolean;
|
|
2990
2964
|
"iframeOrigin"?: string;
|
|
2991
2965
|
"onError-event"?: (event: JustifiCheckoutCoreCustomEvent<ComponentErrorEvent>) => void;
|
|
@@ -3097,12 +3071,15 @@ declare namespace LocalJSX {
|
|
|
3097
3071
|
interface JustifiNewPaymentMethod {
|
|
3098
3072
|
"accountId"?: string;
|
|
3099
3073
|
"authToken"?: string;
|
|
3074
|
+
"hideBankAccountBillingForm"?: boolean;
|
|
3100
3075
|
"hideCardBillingForm"?: boolean;
|
|
3101
3076
|
"iframeOrigin"?: string;
|
|
3102
3077
|
"isSelected"?: boolean;
|
|
3103
3078
|
"onPaymentMethodOptionSelected"?: (event: JustifiNewPaymentMethodCustomEvent<any>) => void;
|
|
3104
3079
|
"paymentMethodGroupId"?: string;
|
|
3105
3080
|
"paymentMethodOption"?: PaymentMethodOption;
|
|
3081
|
+
"showAch"?: boolean;
|
|
3082
|
+
"showCard"?: boolean;
|
|
3106
3083
|
}
|
|
3107
3084
|
interface JustifiOrderTerminals {
|
|
3108
3085
|
"accountId"?: string;
|
|
@@ -3125,6 +3102,7 @@ declare namespace LocalJSX {
|
|
|
3125
3102
|
"removeOwner"?: (id: string) => void;
|
|
3126
3103
|
}
|
|
3127
3104
|
interface JustifiPaymentDetails {
|
|
3105
|
+
"apiOrigin"?: string;
|
|
3128
3106
|
"authToken"?: string;
|
|
3129
3107
|
"onError-event"?: (event: JustifiPaymentDetailsCustomEvent<ComponentErrorEvent>) => void;
|
|
3130
3108
|
"paymentId"?: string;
|
|
@@ -3133,6 +3111,7 @@ declare namespace LocalJSX {
|
|
|
3133
3111
|
"accountId"?: string;
|
|
3134
3112
|
"authToken"?: string;
|
|
3135
3113
|
"bnpl"?: IBnpl;
|
|
3114
|
+
"hideBankAccountBillingForm"?: boolean;
|
|
3136
3115
|
"hideCardBillingForm"?: boolean;
|
|
3137
3116
|
"iframeOrigin"?: string;
|
|
3138
3117
|
"insuranceToggled"?: boolean;
|
|
@@ -3214,6 +3193,7 @@ declare namespace LocalJSX {
|
|
|
3214
3193
|
"documentErrors"?: any;
|
|
3215
3194
|
}
|
|
3216
3195
|
interface JustifiRefundPayment {
|
|
3196
|
+
"accountId"?: string;
|
|
3217
3197
|
"apiOrigin"?: string;
|
|
3218
3198
|
"authToken"?: string;
|
|
3219
3199
|
"hideSubmitButton"?: boolean;
|
|
@@ -3310,6 +3290,7 @@ declare namespace LocalJSX {
|
|
|
3310
3290
|
"authToken"?: string;
|
|
3311
3291
|
"disableBankAccount"?: boolean;
|
|
3312
3292
|
"disableCreditCard"?: boolean;
|
|
3293
|
+
"hideBankAccountBillingForm"?: boolean;
|
|
3313
3294
|
"hideCardBillingForm"?: boolean;
|
|
3314
3295
|
"hideSubmitButton"?: boolean;
|
|
3315
3296
|
"iframeOrigin"?: string;
|
|
@@ -3371,12 +3352,6 @@ declare namespace LocalJSX {
|
|
|
3371
3352
|
"onClick-event"?: (event: PayoutsListCoreCustomEvent<ComponentClickEvent>) => void;
|
|
3372
3353
|
"onError-event"?: (event: PayoutsListCoreCustomEvent<ComponentErrorEvent>) => void;
|
|
3373
3354
|
}
|
|
3374
|
-
interface PostalForm {
|
|
3375
|
-
/**
|
|
3376
|
-
* (Optional) A label for the form.
|
|
3377
|
-
*/
|
|
3378
|
-
"legend"?: string;
|
|
3379
|
-
}
|
|
3380
3355
|
interface RepresentativeDetails {
|
|
3381
3356
|
"representative"?: Identity;
|
|
3382
3357
|
}
|
|
@@ -3410,7 +3385,6 @@ declare namespace LocalJSX {
|
|
|
3410
3385
|
"bank-account-document-form-inputs": BankAccountDocumentFormInputs;
|
|
3411
3386
|
"bank-account-form": BankAccountForm;
|
|
3412
3387
|
"bank-account-form-inputs": BankAccountFormInputs;
|
|
3413
|
-
"billing-form": BillingForm;
|
|
3414
3388
|
"business-details-core": BusinessDetailsCore;
|
|
3415
3389
|
"business-documents-on-file": BusinessDocumentsOnFile;
|
|
3416
3390
|
"card-form": CardForm;
|
|
@@ -3439,7 +3413,7 @@ declare namespace LocalJSX {
|
|
|
3439
3413
|
"justifi-additional-questions-form-step": JustifiAdditionalQuestionsFormStep;
|
|
3440
3414
|
"justifi-additional-questions-form-step-core": JustifiAdditionalQuestionsFormStepCore;
|
|
3441
3415
|
"justifi-additional-statement": JustifiAdditionalStatement;
|
|
3442
|
-
"justifi-billing-form
|
|
3416
|
+
"justifi-billing-form": JustifiBillingForm;
|
|
3443
3417
|
"justifi-business-bank-account-form-step": JustifiBusinessBankAccountFormStep;
|
|
3444
3418
|
"justifi-business-bank-account-form-step-core": JustifiBusinessBankAccountFormStepCore;
|
|
3445
3419
|
"justifi-business-core-info": JustifiBusinessCoreInfo;
|
|
@@ -3510,7 +3484,6 @@ declare namespace LocalJSX {
|
|
|
3510
3484
|
"payments-list-core": PaymentsListCore;
|
|
3511
3485
|
"payout-details-core": PayoutDetailsCore;
|
|
3512
3486
|
"payouts-list-core": PayoutsListCore;
|
|
3513
|
-
"postal-form": PostalForm;
|
|
3514
3487
|
"representative-details": RepresentativeDetails;
|
|
3515
3488
|
"table-filters-menu": TableFiltersMenu;
|
|
3516
3489
|
"terminal-orders-list-core": TerminalOrdersListCore;
|
|
@@ -3526,7 +3499,6 @@ declare module "@stencil/core" {
|
|
|
3526
3499
|
"bank-account-document-form-inputs": LocalJSX.BankAccountDocumentFormInputs & JSXBase.HTMLAttributes<HTMLBankAccountDocumentFormInputsElement>;
|
|
3527
3500
|
"bank-account-form": LocalJSX.BankAccountForm & JSXBase.HTMLAttributes<HTMLBankAccountFormElement>;
|
|
3528
3501
|
"bank-account-form-inputs": LocalJSX.BankAccountFormInputs & JSXBase.HTMLAttributes<HTMLBankAccountFormInputsElement>;
|
|
3529
|
-
"billing-form": LocalJSX.BillingForm & JSXBase.HTMLAttributes<HTMLBillingFormElement>;
|
|
3530
3502
|
"business-details-core": LocalJSX.BusinessDetailsCore & JSXBase.HTMLAttributes<HTMLBusinessDetailsCoreElement>;
|
|
3531
3503
|
"business-documents-on-file": LocalJSX.BusinessDocumentsOnFile & JSXBase.HTMLAttributes<HTMLBusinessDocumentsOnFileElement>;
|
|
3532
3504
|
"card-form": LocalJSX.CardForm & JSXBase.HTMLAttributes<HTMLCardFormElement>;
|
|
@@ -3555,7 +3527,7 @@ declare module "@stencil/core" {
|
|
|
3555
3527
|
"justifi-additional-questions-form-step": LocalJSX.JustifiAdditionalQuestionsFormStep & JSXBase.HTMLAttributes<HTMLJustifiAdditionalQuestionsFormStepElement>;
|
|
3556
3528
|
"justifi-additional-questions-form-step-core": LocalJSX.JustifiAdditionalQuestionsFormStepCore & JSXBase.HTMLAttributes<HTMLJustifiAdditionalQuestionsFormStepCoreElement>;
|
|
3557
3529
|
"justifi-additional-statement": LocalJSX.JustifiAdditionalStatement & JSXBase.HTMLAttributes<HTMLJustifiAdditionalStatementElement>;
|
|
3558
|
-
"justifi-billing-form
|
|
3530
|
+
"justifi-billing-form": LocalJSX.JustifiBillingForm & JSXBase.HTMLAttributes<HTMLJustifiBillingFormElement>;
|
|
3559
3531
|
"justifi-business-bank-account-form-step": LocalJSX.JustifiBusinessBankAccountFormStep & JSXBase.HTMLAttributes<HTMLJustifiBusinessBankAccountFormStepElement>;
|
|
3560
3532
|
"justifi-business-bank-account-form-step-core": LocalJSX.JustifiBusinessBankAccountFormStepCore & JSXBase.HTMLAttributes<HTMLJustifiBusinessBankAccountFormStepCoreElement>;
|
|
3561
3533
|
/**
|
|
@@ -3631,7 +3603,6 @@ declare module "@stencil/core" {
|
|
|
3631
3603
|
"payments-list-core": LocalJSX.PaymentsListCore & JSXBase.HTMLAttributes<HTMLPaymentsListCoreElement>;
|
|
3632
3604
|
"payout-details-core": LocalJSX.PayoutDetailsCore & JSXBase.HTMLAttributes<HTMLPayoutDetailsCoreElement>;
|
|
3633
3605
|
"payouts-list-core": LocalJSX.PayoutsListCore & JSXBase.HTMLAttributes<HTMLPayoutsListCoreElement>;
|
|
3634
|
-
"postal-form": LocalJSX.PostalForm & JSXBase.HTMLAttributes<HTMLPostalFormElement>;
|
|
3635
3606
|
"representative-details": LocalJSX.RepresentativeDetails & JSXBase.HTMLAttributes<HTMLRepresentativeDetailsElement>;
|
|
3636
3607
|
"table-filters-menu": LocalJSX.TableFiltersMenu & JSXBase.HTMLAttributes<HTMLTableFiltersMenuElement>;
|
|
3637
3608
|
"terminal-orders-list-core": LocalJSX.TerminalOrdersListCore & JSXBase.HTMLAttributes<HTMLTerminalOrdersListCoreElement>;
|
|
@@ -826,6 +826,7 @@ export declare namespace JSXBase {
|
|
|
826
826
|
}
|
|
827
827
|
interface DetailsHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
828
828
|
open?: boolean;
|
|
829
|
+
name?: string;
|
|
829
830
|
onToggle?: (event: Event) => void;
|
|
830
831
|
}
|
|
831
832
|
interface DelHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
@@ -1015,6 +1016,8 @@ export declare namespace JSXBase {
|
|
|
1015
1016
|
autoPlay?: boolean;
|
|
1016
1017
|
autoplay?: boolean | string;
|
|
1017
1018
|
controls?: boolean;
|
|
1019
|
+
controlslist?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
|
|
1020
|
+
controlsList?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
|
|
1018
1021
|
crossOrigin?: string;
|
|
1019
1022
|
crossorigin?: string;
|
|
1020
1023
|
loop?: boolean;
|
|
@@ -1564,6 +1567,10 @@ export declare namespace JSXBase {
|
|
|
1564
1567
|
onSubmitCapture?: (event: Event) => void;
|
|
1565
1568
|
onInvalid?: (event: Event) => void;
|
|
1566
1569
|
onInvalidCapture?: (event: Event) => void;
|
|
1570
|
+
onBeforeToggle?: (event: Event) => void;
|
|
1571
|
+
onBeforeToggleCapture?: (event: Event) => void;
|
|
1572
|
+
onToggle?: (event: Event) => void;
|
|
1573
|
+
onToggleCapture?: (event: Event) => void;
|
|
1567
1574
|
onLoad?: (event: Event) => void;
|
|
1568
1575
|
onLoadCapture?: (event: Event) => void;
|
|
1569
1576
|
onError?: (event: Event) => void;
|
|
@@ -1655,6 +1662,8 @@ export declare namespace JSXBase {
|
|
|
1655
1662
|
onTransitionRunCapture?: (event: TransitionEvent) => void;
|
|
1656
1663
|
onTransitionStart?: (event: TransitionEvent) => void;
|
|
1657
1664
|
onTransitionStartCapture?: (event: TransitionEvent) => void;
|
|
1665
|
+
[key: `aria-${string}`]: string | boolean | undefined;
|
|
1666
|
+
[key: `aria${string}`]: string | boolean | undefined;
|
|
1658
1667
|
}
|
|
1659
1668
|
}
|
|
1660
1669
|
export interface JSXAttributes<T = Element> {
|
|
@@ -32,11 +32,12 @@ export declare const inputRadioFocused = "input-radio-focused input-radio";
|
|
|
32
32
|
export declare const inputRadioChecked = "input-radio-checked input-radio";
|
|
33
33
|
export declare const inputRadioCheckedFocused = "input-radio-checked-focused input-radio";
|
|
34
34
|
export declare const inputRadioInvalid = "input-radio-invalid input-radio";
|
|
35
|
-
export declare const inputCheckbox = "input-checkbox
|
|
36
|
-
export declare const inputCheckboxInvalid = "input-checkbox-invalid input-checkbox
|
|
37
|
-
export declare const inputCheckboxFocused = "input-checkbox-focused input-checkbox
|
|
38
|
-
export declare const inputCheckboxChecked = "input-checkbox-checked input-checkbox
|
|
39
|
-
export declare const inputCheckboxCheckedFocused = "input-checkbox-checked-focused input-checkbox
|
|
35
|
+
export declare const inputCheckbox = "input-checkbox";
|
|
36
|
+
export declare const inputCheckboxInvalid = "input-checkbox-invalid input-checkbox";
|
|
37
|
+
export declare const inputCheckboxFocused = "input-checkbox-focused input-checkbox";
|
|
38
|
+
export declare const inputCheckboxChecked = "input-checkbox-checked input-checkbox";
|
|
39
|
+
export declare const inputCheckboxCheckedFocused = "input-checkbox-checked-focused input-checkbox";
|
|
40
|
+
export declare const inputAdornment = "input-adornment text color font-family";
|
|
40
41
|
export declare const alert = "alert text color font-family";
|
|
41
42
|
export declare const alertDanger = "alert-danger alert text color font-family";
|
|
42
43
|
export declare const tooltip = "tooltip text color font-family";
|
|
@@ -29,4 +29,5 @@ export declare function removeAttribute(htmlString: any, attribute: any): string
|
|
|
29
29
|
export declare function addAttribute(htmlString: any, tagName: any, attribute: any, value: any): string;
|
|
30
30
|
export declare function processHTML(htmlString: any, functions: any): any;
|
|
31
31
|
export declare function formatPhoneNumber(number: any): string;
|
|
32
|
+
export declare function generateId(length?: number): string;
|
|
32
33
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as t}from"./p-
|
|
1
|
+
import{h as t}from"./p-BUM1DfV9.js";import{M as a}from"./p-BuYnqWwT.js";import{a as e}from"./p-CpTwq2jw.js";import{T as p,U as o}from"./p-CB88j97I.js";const s="created_at,amount,status,payment_type,description,payers_name,last_four_digits",r={created_at:()=>t("th",{part:p,scope:"col",title:"The date and time each payment was made"},"Date"),amount:()=>t("th",{part:p,scope:"col",title:"The dollar amount of each payment"},"Amount"),status:()=>t("th",{part:p,scope:"col",title:"The current status of each payment"},"Status"),payment_type:()=>t("th",{part:p,scope:"col",title:"The type of each payment"},"Type"),description:()=>t("th",{part:p,scope:"col",title:"The payment description, if you provided one"},"Description"),payers_name:()=>t("th",{part:p,scope:"col",title:"The name associated with the payment method"},"Account Holder"),last_four_digits:()=>t("th",{part:p,scope:"col",title:"The brand and last 4 digits of the payment method"},"Payment Method")},i={created_at:(a,p)=>t("td",{part:o(p)},t("div",{class:"fw-bold"},e(a.created_at,{showDisplayDate:!0})),t("div",{class:"fw-bold"},e(a.created_at,{showTime:!0}))),amount:(a,e)=>t("td",{part:o(e)},a.formattedPaymentAmount(a.amount)),status:(e,p)=>t("td",{part:o(p)},a(e.status)),payment_type:(a,e)=>t("td",{part:o(e)},a.payment_type),description:(a,e)=>t("td",{part:o(e)},a.description),payers_name:(a,e)=>t("td",{part:o(e)},a.payers_name),last_four_digits:(a,e)=>t("td",{part:o(e)},a.last_four_digits)};export{i as a,s as d,r as p}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,c as t,h as s}from"./p-BUM1DfV9.js";import{f as i}from"./p-CpTwq2jw.js";import{E as a,ae as r}from"./p-CB88j97I.js";import{B as d}from"./p-D9t-X0IY.js";import{S as c}from"./p-C3nDCvFQ.js";import{S as o}from"./p-CLBRsaLx.js";import{C as n,a as h}from"./p-SdntD1xf.js";import{g as p,a as f}from"./p-C5RuuShs.js";import{D as l}from"./p-DhQ2XlhY.js";import{D as u}from"./p-Bg2SZArf.js";import{c as b,J as y}from"./p-eYaGyUvS.js";import"./p-BFTU3MAI.js";import"./p-BBsCnePk.js";import"./p-BjB_yKBJ.js";import"./p-CLHwhyvu.js";import"./p-Bxs6fi7a.js";import"./p-7MWRbTXI.js";import"./p-ZUQEru6m.js";import"./p-Ct-uNz2r.js";import"./p-gAO-RwrF.js";const m=({authToken:e,disputeId:t,service:s})=>async({payload:i,onSuccess:a,onError:r,final:d=()=>{}})=>{var c;try{const d=await s.submitDisputeResponse(t,e,i);if(d.error){return r({error:f(d.error),code:p(null===(c=d.error)||void 0===c?void 0:c.code),severity:n.ERROR})}a(d)}catch(e){const t=p(null==e?void 0:e.code);return r({error:e.message||e,code:t,severity:n.ERROR})}finally{return d()}},v=class{constructor(s){e(this,s),this.clickEvent=t(this,"click-event"),this.errorEvent=t(this,"error-event"),this.submitEvent=t(this,"submit-event")}acceptDispute(){m({disputeId:this.dispute.id,authToken:this.authToken,service:new l})({payload:{forfeit:!0},onSuccess:e=>{this.submitEvent.emit({response:e})},onError:({error:e,code:t,severity:s})=>{this.errorEvent.emit({errorCode:t,message:e,severity:s})}})}initiateRespondToDispute(){this.clickEvent.emit({name:u.respondToDispute})}render(){var e,t,n,h,p,f,l;return s(c,{key:"c7b0e27df3ff2b6c3d7896b643dafa22ecbfc12f"},this.isLoading&&s("div",{key:"18146e1d3c1dbe3c0d13373c271f6f0c2a14e577",style:{marginBottom:"8px"}},s(o,{key:"4549fd59a8f667f3f20eee3ad7f222e3482ddd90",height:"28px",width:"70%",styles:{marginBottom:"16px"}}),s(o,{key:"7eb2385f0ffd5ff987e744cfa63b21c2b287b8c7",height:"18px",styles:{marginBottom:"8px"}}),s(o,{key:"573f29b4ab58f7e0e40b92ba66f72301b554c747",height:"18px",styles:{marginBottom:"8px"}})),(null===(e=this.dispute)||void 0===e?void 0:e.needsResponse)&&s("div",{key:"cbca9793cb135c38a44990123eabf1356f956611",part:a},s("h1",{key:"753e802679bac3750d29956ff36405acd382e63a",class:"h4",part:r},"This payment is disputed"),s("p",{key:"b61db99b9cd660cc275f95f54cdd6c83f8225875"},"The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."),s("h2",{key:"9d5121aaeca16f9aa7a95783c1051c82aa9c8411",class:"h5"},"Dispute details"),s("div",{key:"9283a15923b110e0b3fa88d626b6f35382c1d140",class:"d-table gap-2"},s("div",{key:"2e55561fe97701ab94ea24b6959971c74ca6e729",class:"d-table-row gap-2"},s("span",{key:"f00c9fd6f56714465930707eb4b5d62089e7d267",part:"detail-section-item-title",class:"fw-bold d-table-cell pe-4"},"Amount"),s("span",{key:"49df6471bb1b23a17c9e94bec38a4790a4c201c9",part:"detail-section-item-data",class:"flex-1 d-table-cell text-wrap"},i(null===(t=this.dispute)||void 0===t?void 0:t.amount))),s("div",{key:"82c0acacdf47345bdb164b8e478e5f00231a6c91",class:"d-table-row gap-2"},s("span",{key:"9e5ffb7a87c37bddb5f3ac06b5cd5b0cb13a8f16",part:"detail-section-item-title",class:"fw-bold d-table-cell pe-4"},"Reason"),s("span",{key:"1ce8f6455621793c8cc529db0ad7e00edd7c56f7",part:"detail-section-item-data",class:"flex-1 d-table-cell text-wrap"},null===(n=this.dispute)||void 0===n?void 0:n.reason)),s("div",{key:"2387aca8911939e4a38001aa4b027e4347b53f67",class:"d-table-row gap-2"},s("span",{key:"6bae0054cd63fa4079aad94b1d59ebae82a5f29f",part:"detail-section-item-title",class:"fw-bold d-table-cell pe-4"},"Dispute ID"),s("span",{key:"9902828da0416de007183640132b13b3b3876ab5",part:"detail-section-item-data",class:"flex-1 d-table-cell text-wrap"},null===(h=this.dispute)||void 0===h?void 0:h.id))),s("div",{key:"488bf8b0f522eb80dc7875a05e5bcd9ecadc2e9f",class:"d-flex gap-2 mt-4 justify-content-end"},s(d,{key:"4a1ac98e4e10ef9eb6583266e822e9f92f37bb7a",variant:"secondary",onClick:()=>this.acceptDispute()},"Accept dispute"),s(d,{key:"9636fef3a69df92ad8d5361f60374ee185c684f6",variant:"primary",onClick:()=>this.initiateRespondToDispute()},"Counter dispute"))),(null===(p=this.dispute)||void 0===p?void 0:p.underReview)&&s("div",{key:"80161e317bf111f13bd5305a427862a5c8533c6b"},s("h1",{key:"c5f43507dbb2b82b7098143b8397a6321e98201c",class:"h4"},"This payment is disputed and under review"),s("p",{key:"a31b3e8e72a8936ba3016e8f1f08505025d36372"},"The cardholder is disputing this payment. A counter dispute has been submitted and is under review.")),(null===(f=this.dispute)||void 0===f?void 0:f.won)&&s("div",{key:"0033197d2d6c036de59dab25ec7238664bd52726"},s("h1",{key:"ef352a480feefb8e7aa22e27b86395baaedddaa5",class:"h4"},"This payment was disputed"),s("p",{key:"258eeb510b153e46468889685f6abfcd88671be8"},"The cardholder disputed this payment and the card issuer has settled it in your favor.")),(null===(l=this.dispute)||void 0===l?void 0:l.lost)&&s("div",{key:"fa49089194fd3462be03ac147c0f414bcd2ff936"},s("h1",{key:"cad5f4223d4394adb1630268ec1dbce4b8e7de97",class:"h4"},"This payment was disputed"),s("p",{key:"befc6125e3d2548576c2072ebdf509f39afd93d3"},"The cardholder disputed this payment and the card issuer has settled it in their favor.")))}},k=class{constructor(s){e(this,s),this.errorEvent=t(this,"error-event"),this.errorMessage=null,this.apiOrigin="https://wc-proxy.justifi.ai",this.handleErrorEvent=e=>{this.errorMessage=e.detail.message,this.errorEvent.emit(e.detail)}}componentWillLoad(){b(),this.analytics=new y(this),this.initializeDisputeServiceMethods()}disconnectedCallback(){this.analytics.cleanup()}propChanged(){this.initializeDisputeServiceMethods()}initializeDisputeServiceMethods(){this.disputeId&&this.authToken?(this.updateDisputeResponse=(({authToken:e,disputeId:t,service:s})=>async({payload:i,onSuccess:a,onError:r,final:d=()=>{}})=>{var c;try{const d=await s.updateDisputeResponse(t,e,i);if(d.error)return r({error:f(d.error),code:p(null===(c=d.error)||void 0===c?void 0:c.code),severity:n.ERROR});a(d)}catch(e){const t=p(null==e?void 0:e.code);return r({error:e.message||e,code:t,severity:n.ERROR})}finally{return d()}})({disputeId:this.disputeId,authToken:this.authToken,service:new l}),this.createDisputeEvidence=(({authToken:e,disputeId:t,service:s})=>async({payload:i,onSuccess:a,onError:r,final:d=()=>{}})=>{var c;try{const d=await s.createDisputeEvidence(t,e,i);if(d.error)return r({error:f(d.error),code:p(null===(c=d.error)||void 0===c?void 0:c.code),severity:n.ERROR});a(d)}catch(e){const t=p(null==e?void 0:e.code);return r({error:e.message||e,code:t,severity:n.ERROR})}finally{return d()}})({disputeId:this.disputeId,authToken:this.authToken,service:new l}),this.submitDisputeResponse=m({disputeId:this.disputeId,authToken:this.authToken,service:new l})):(this.errorMessage="Account ID and Auth Token are required",this.errorEvent.emit({errorCode:h.MISSING_PROPS,message:this.errorMessage,severity:n.ERROR}))}render(){return s(c,{key:"f9f1f5840fdcbde1bff206516b1ab5777e29e101"},s("justifi-dispute-response-core",{key:"8ead7c944c233a6fa5fc6bf1cdd04670d446948e","onError-event":this.handleErrorEvent,"dispute-id":this.disputeId,disputeResponse:this.disputeResponse,createDisputeEvidence:this.createDisputeEvidence,updateDisputeResponse:this.updateDisputeResponse,submitDisputeResponse:this.submitDisputeResponse}))}static get watchers(){return{accountId:["propChanged"],authToken:["propChanged"]}}},j=class{constructor(i){e(this,i),this.clickEvent=t(this,"click-event"),this.errorEvent=t(this,"error-event"),this.stepCompleteEvent=t(this,"complete-form-step-event"),this.submitEvent=t(this,"submit-event"),this.disputeResponse={},this.isLoading=!1,this.documentList=[],this.documentErrors={},this.currentStep=0,this.componentStepMapping=[()=>s("justifi-product-or-service",{ref:e=>this.currentStepComponentRef=e,disputeResponse:this.disputeResponse,documentErrors:this.documentErrors}),()=>s("justifi-customer-details",{ref:e=>this.currentStepComponentRef=e,disputeResponse:this.disputeResponse,documentErrors:this.documentErrors}),()=>s("justifi-cancellation-policy",{ref:e=>this.currentStepComponentRef=e,disputeResponse:this.disputeResponse,documentErrors:this.documentErrors}),()=>s("justifi-refund-policy",{ref:e=>this.currentStepComponentRef=e,disputeResponse:this.disputeResponse,documentErrors:this.documentErrors}),()=>s("justifi-duplicate-charge",{ref:e=>this.currentStepComponentRef=e,disputeResponse:this.disputeResponse,documentErrors:this.documentErrors}),()=>s("justifi-electronic-evidence",{ref:e=>this.currentStepComponentRef=e,disputeResponse:this.disputeResponse,documentErrors:this.documentErrors}),()=>s("justifi-shipping-details",{ref:e=>this.currentStepComponentRef=e,disputeResponse:this.disputeResponse,documentErrors:this.documentErrors}),()=>s("justifi-additional-statement",{ref:e=>this.currentStepComponentRef=e,disputeResponse:this.disputeResponse,documentErrors:this.documentErrors})],this.saveData=async(e,t)=>{if(Object.keys(e).length)return this.isLastStep?this.submitDisputeResponse({payload:e,onSuccess:e=>{this.submitEvent.emit({response:e}),this.stepCompleteEvent.emit({response:e,formStep:t})},onError:({error:e,code:t,severity:s})=>{this.errorEvent.emit({errorCode:t,message:e,severity:s})}}):this.updateDisputeResponse({payload:e,onSuccess:e=>{this.disputeResponse=Object.assign({},e.data),this.stepCompleteEvent.emit({response:e,formStep:t})},onError:({error:e,code:t,severity:s})=>{this.errorEvent.emit({errorCode:t,message:e,severity:s})}});this.stepCompleteEvent.emit({response:null,formStep:t})},this.initializeMakePresignedURLs=async()=>{const e=this.documentList.map((e=>this.getPresignedFileUrl(e)));return await Promise.all(e)},this.initializeFileUploads=async()=>{const e=this.documentList.map((e=>this.uploadDocument(e)));return Promise.all(e)},this.getPresignedFileUrl=async e=>this.createDisputeEvidence({payload:{file_name:e.file_name,file_type:e.file_type,dispute_evidence_type:e.dispute_evidence_type},onSuccess:t=>{e.presignedUrl=t.data.presigned_url},onError:({error:t,code:s,severity:i})=>{const a={[e.dispute_evidence_type]:t};this.documentErrors=Object.assign(Object.assign({},this.documentErrors),a),this.errorEvent.emit({errorCode:s,message:t,severity:i})}}),this.uploadDocument=async e=>{const t=await e.getFileString();if(!e.presignedUrl)throw new Error("Presigned URL is not set");return await fetch(e.presignedUrl,{method:"PUT",body:t})},this.handleSubmit=async(e,t,s)=>{if(this.isLoading=!0,t.length){if(this.documentErrors={},this.documentList=t,await this.initializeMakePresignedURLs(),Object.keys(this.documentErrors).length)throw this.isLoading=!1,new Error("Could not presign all documents");await this.initializeFileUploads()}await this.saveData(e,s),this.isLoading=!1},this.onCancel=()=>{this.clickEvent.emit({name:u.cancelDispute})},this.onBack=async()=>{await this.currentStepComponentRef.validateAndSubmit((async(e,t,s)=>{this.clickEvent.emit({name:u.previousStep}),await this.handleSubmit(e,t,s),this.currentStep--}))},this.onNext=async()=>{await this.currentStepComponentRef.validateAndSubmit((async(e,t,s)=>{this.clickEvent.emit({name:u.nextStep}),await this.handleSubmit(e,t,s),this.currentStep++}))},this.onSubmit=async()=>{await this.currentStepComponentRef.validateAndSubmit((async(e,t,s)=>{this.clickEvent.emit({name:u.submit});const i=Object.assign(Object.assign({},e),{forfeit:!1});await this.handleSubmit(i,t,s)}))}}get currentStepComponent(){return this.componentStepMapping[this.currentStep]()}get isLastStep(){return this.currentStep===this.componentStepMapping.length-1}get isFirstStep(){return 0===this.currentStep}render(){return s("div",{key:"925abd40942ff12e2e6a86a3c929848694713b15",class:"row gy-3"},s("div",{key:"d5f26db74f10893a9cde0758902c0b035a61a2c1",class:"col-12"},s("h1",{key:"97a51d22b0e540b72f91f0a1a7bd813c8fb8d82d",class:"h4",part:r},"Counter dispute")),s("div",{key:"fad6269029d7c647b0fdfef74b51ae10b57c3c25",class:"col-12"},this.currentStepComponent),s("div",{key:"ddc092e8ec7d7e65944ec0d543ee77d002430f5a",class:"col-12"},s("div",{key:"ba9acd77d6aaa6aeb302cecc9d3f5d5b429214c5",class:"d-flex gap-2 mt-4 justify-content-end"},this.isFirstStep?s(d,{variant:"secondary",onClick:()=>this.onCancel(),disabled:this.isLoading,isLoading:this.isLoading},"Cancel"):s(d,{variant:"secondary",onClick:()=>this.onBack(),disabled:this.isLoading,isLoading:this.isLoading},"Back"),this.isLastStep?s(d,{variant:"primary",onClick:()=>this.onSubmit(),disabled:this.isLoading,isLoading:this.isLoading},"Submit Counter Dispute"):s(d,{variant:"primary",onClick:()=>this.onNext(),disabled:this.isLoading,isLoading:this.isLoading},"Next"))))}};export{v as justifi_dispute_notification,k as justifi_dispute_response,j as justifi_dispute_response_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as i,r as s,c as t}from"./p-BUM1DfV9.js";import{af as r,ae as e,ab as o,E as l}from"./p-CB88j97I.js";import{S as a}from"./p-C3nDCvFQ.js";import{c as d,J as n}from"./p-eYaGyUvS.js";import{C as h,a as c}from"./p-SdntD1xf.js";import{B as p}from"./p-BODr6HXb.js";import{B as u}from"./p-BrvbVMVq.js";import{m as v}from"./p-CGz3XHQc.js";import{S as m}from"./p-CLBRsaLx.js";import{j as f}from"./p-CpTwq2jw.js";import"./p-BjB_yKBJ.js";import"./p-CLHwhyvu.js";import"./p-Bxs6fi7a.js";import{d as w,c as b,a as g}from"./p-ZUQEru6m.js";import"./p-Ct-uNz2r.js";import{g as j,a as x}from"./p-C5RuuShs.js";import{T as y}from"./p-DzPbgN8M.js";import"./p-gAO-RwrF.js";import"./p-BBsCnePk.js";import"./p-Dt-vy9Le.js";import"./p-BX8GieXu.js";import"./p-BFTU3MAI.js";import"./p-7MWRbTXI.js";const B=()=>i("div",{class:"row gap-3"},i("div",{class:"col-12"},i(m,{width:"25%"})),i("div",{class:"col-12"},i(m,{width:"100%"})),i("div",{class:"col-12 d-flex gap-3"},i(m,{width:"50%"}),i(m,{width:"50%"})),i("div",{class:"col-12 d-flex gap-3"},i(m,{width:"65%"}),i(m,{width:"35%"}))),S=()=>i("div",{class:"row gap-5"},i("div",{class:"col-12"},i(m,{width:"40%",height:"40px"})),i(B,null)),C=()=>i("div",{class:"terminal-selector-skeleton mt-4 rounded shadow-sm"},i("div",{class:"d-flex align-items-center gap-3"},i(m,{width:"125px",height:"125px",styles:{borderRadius:"8px"}}),i("div",{class:"flex-grow-1"},i("div",{class:"d-flex row flex-row"},i("div",{class:"col-6 flex-column"},i(m,null),i(m,{width:"60%"})),i("div",{class:"d-flex justify-content-end align-items-center gap-2 col-6"},i(m,{width:"32px",height:"32px",styles:{borderRadius:"50%"}}),i(m,{width:"80px",height:"32px"}),i(m,{width:"32px",height:"32px",styles:{borderRadius:"50%"}}))),i("div",{class:"mt-4"},i("div",{class:"d-flex flex-column gap-2"},i(m,null),i(m,null)))))),O=class{constructor(i){s(this,i),this.errorEvent=t(this,"error-event"),this.submitted=t(this,"submit-event"),this.shipping=!1,this.apiOrigin="https://wc-proxy.justifi.ai",this.submitButtonText="Submit Order",this.loading={business:!0,terminals:!0},this.submitting=!1,this.error=null,this.totalQuantity=0}componentWillLoad(){this.order=new b({business_id:this.businessId,sub_account_id:this.accountId,order_type:this.shipping?g.boardingShipping:g.boardingOnly}),d(),this.analytics=new n(this),this.loadData()}handleError(i,s,t){this.error={message:i,code:s,severity:t},this.errorEvent.emit({errorCode:s,message:i,severity:t})}loadData(){this.businessId&&this.authToken?(this.initializeGetBusiness(),this.initializeGetTerminalModels()):this.handleError("Invalid business id or auth token",c.MISSING_PROPS,h.ERROR)}initializeGetBusiness(){v({id:this.businessId,authToken:this.authToken,service:new p,apiOrigin:this.apiOrigin})({onSuccess:({business:i})=>{this.business=new u(i),this.loading.business=!1},onError:({error:i,code:s,severity:t})=>{this.handleError(i,s,t),this.loading.business=!1}})}initializeGetTerminalModels(){(({id:i,authToken:s,service:t,apiOrigin:r})=>async({onSuccess:e,onError:o})=>{var l,a,d,n;try{const c=await t.fetchTerminalModels(i,s,r);if(c.error)return o({error:x(c.error),code:j(null===(n=c.error)||void 0===n?void 0:n.code),severity:h.ERROR});e({terminals:(null===(a=null===(l=c.data)||void 0===l?void 0:l.terminal_order_models)||void 0===a?void 0:a.map((i=>new w(i))))||[],orderLimit:null===(d=c.data)||void 0===d?void 0:d.order_limit})}catch(i){const s=j(null==i?void 0:i.code);return o({error:i.message||i,code:s,severity:h.ERROR})}})({id:this.accountId,authToken:this.authToken,service:new y,apiOrigin:this.apiOrigin})({onSuccess:({terminals:i,orderLimit:s})=>{this.terminalModels=i,this.orderLimit=s,this.loading.terminals=!1},onError:({error:i,code:s,severity:t})=>{this.handleError(i,s,t),this.loading.terminals=!1}})}submitOrder(){const i=(({authToken:i,service:s,apiOrigin:t="https://wc-proxy.justifi.ai"})=>async({terminalOrder:r,onSuccess:e,onError:o})=>{var l;try{const a=await s.orderTerminals(i,r,t);if(a.error)return o({error:x(a.error),code:j(null===(l=a.error)||void 0===l?void 0:l.code),severity:h.ERROR});{const{data:i}=a;e({data:i})}}catch(i){const s=j(null==i?void 0:i.code);return o({error:i.message||i,code:s,severity:h.ERROR})}})({authToken:this.authToken,service:new y,apiOrigin:this.apiOrigin});this.submitting=!0,i({terminalOrder:this.order.payload,onSuccess:({data:i})=>{this.submitted.emit(i),this.submitting=!1},onError:({error:i,code:s,severity:t})=>{this.handleError(i,s,t),this.submitting=!1}})}onSelectedQuantityChange(i){this.order.updateTerminal(i.detail.modelName,i.detail.quantity),this.totalQuantity=this.order.totalQuantity}renderLoading(){return i("div",null,this.loading.business&&i(S,null),this.loading.terminals&&i("div",{class:"mt-5"},i(C,null),i(C,null),i(C,null)))}renderBusinessDetails(){var s,t,o,l,a,d,n,h;if(!this.loading.business&&this.business)return i("div",{class:"d-flex flex-column gap-4 mb-5 pt-5"},i("div",{class:"row"},i("div",{class:"col-12"},i("h2",{part:e},this.business.legal_name))),i("div",{class:"row"},i("div",{class:"col-6"},i("h5",{part:r},"Representative:"),i("div",null,i("div",null,null===(t=null===(s=this.business)||void 0===s?void 0:s.representative)||void 0===t?void 0:t.name),i("div",null,null===(l=null===(o=this.business)||void 0===o?void 0:o.representative)||void 0===l?void 0:l.title),i("div",null,null===(d=null===(a=this.business)||void 0===a?void 0:a.representative)||void 0===d?void 0:d.email),i("div",null,f(null===(h=null===(n=this.business)||void 0===n?void 0:n.representative)||void 0===h?void 0:h.phone)))),i("div",{class:"col-6"},i("h5",{part:r},this.shipping?"Shipping Address:":"Business Address:"),i("div",null,this.business.legal_address.line1,this.business.legal_address.line2?`, ${this.business.legal_address.line2}`:"",i("br",null),this.business.legal_address.city,", ",this.business.legal_address.state," ",this.business.legal_address.postal_code))))}renderTerminals(){if(!this.loading.terminals&&this.terminalModels)return i("div",{class:"d-flex flex-column gap-2 mt-5"},this.terminalModels.map((s=>i("terminal-quantity-selector",{modelName:s.model_name,description:s.description,imageUrl:s.image_url,helpUrl:s.help_url,limit:this.orderLimit-this.order.totalQuantity,onSelectedQuantityChange:this.onSelectedQuantityChange.bind(this)}))))}renderOrderSection(){return i("div",{class:"mt-3"},i("div",{class:"text-end"},"Order limit: ",this.orderLimit),i("div",{class:"d-flex justify-content-end mt-3"},i("button",{class:"btn btn-primary submit-btn",onClick:this.submitOrder.bind(this),disabled:0===this.order.totalQuantity||this.submitting,part:o},this.submitting?"Submitting...":this.submitButtonText)))}render(){return i(a,{key:"b56073a8c5df425a77c0e322a855c41a820b848b"},i("div",{key:"f714b27a51bd21a58d20088016cfa3fabb6659b2",part:l},this.renderLoading(),this.renderBusinessDetails(),this.renderTerminals(),this.renderOrderSection()))}};export{O as justifi_order_terminals}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as t}from"./p-
|
|
1
|
+
import{h as t}from"./p-BUM1DfV9.js";import{B as e,a as i}from"./p-sXe3gn-5.js";import{T as a,U as n}from"./p-CB88j97I.js";import{e as r}from"./p-CpTwq2jw.js";const o="nickname,provider_serial_number,status",s={nickname:()=>t("th",{part:a,scope:"col",title:"The nickname associated with the terminal"},"Nickname"),model_name:()=>t("th",{part:a,scope:"col",title:"The model name of the terminal"},"Model Name"),id:()=>t("th",{part:a,scope:"col",title:"The ID of the terminal"},"ID"),provider:()=>t("th",{part:a,scope:"col",title:"The provider of the terminal"},"Provider"),provider_serial_number:()=>t("th",{part:a,scope:"col",title:"The serial number of the terminal"},"Serial Number"),device_id:()=>t("th",{part:a,scope:"col",title:"The device/provider ID of the terminal"},"Device ID"),sub_account_name:()=>t("th",{part:a,scope:"col",title:"The sub account associated with the terminal"},"Sub Account"),status:()=>t("th",{part:a,scope:"col",title:"The current status of each terminal"},"Status")},c={nickname:(e,i)=>t("td",{part:n(i)},e.nickname),model_name:(e,i)=>t("td",{part:n(i)},e.model_name),id:(e,i)=>t("td",{part:n(i)},e.id),provider:(e,i)=>t("td",{part:n(i)},r(e.provider)),provider_serial_number:(e,i)=>t("td",{part:n(i)},e.provider_serial_number),device_id:(e,i)=>t("td",{part:n(i)},e.provider_id),sub_account_name:(e,i)=>t("td",{part:n(i)},e.sub_account_name),status:(a,r)=>t("td",{part:n(r)},t(i,Object.assign({},{connected:{variant:e.SUCCESS,title:"This terminal is connected",text:"Connected"},disconnected:{variant:e.DANGER,title:"This terminal is disconnected",text:"Disconnected"},unknown:{variant:e.SECONDARY,title:"The status of this terminal is unknown",text:"Unknown"},pending_configuration:{variant:e.WARNING,title:"This terminal is pending configuration",text:"Pending configuration"}}[a.status])))};export{c as a,o as d,s as t}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,h as e}from"./p-BUM1DfV9.js";import"./p-CpTwq2jw.js";import{C as a,a as i}from"./p-SdntD1xf.js";import"./p-BjB_yKBJ.js";import{p as r}from"./p-CLHwhyvu.js";import"./p-Bxs6fi7a.js";import"./p-ZUQEru6m.js";import"./p-Ct-uNz2r.js";import{A as o,B as h}from"./p-CB88j97I.js";import{T as c,a as p,b as n,c as b,d}from"./p-QYQ4VLoz.js";import{p as f,a as m}from"./p-BVwkHwTc.js";import{o as u,g as l}from"./p-CYsU0lEI.js";import"./p-BFTU3MAI.js";import"./p-7MWRbTXI.js";import"./p-BM61p7vG.js";import"./p-CwHcfOV7.js";import"./p-sXe3gn-5.js";import"./p-BWFriesi.js";const y=class{constructor(e){t(this,e),this.clickEvent=s(this,"click-event"),this.errorEvent=s(this,"error-event"),this.payouts=[],this.subAccounts=[],this.loading=!0,this.paging=r,this.pagingParams={},this.downloadCSV=t=>{this.getPayoutCSV({payoutId:t,onError:()=>{this.errorEvent.emit({errorCode:i.FETCH_ERROR,message:"Failed to download CSV",severity:a.ERROR})}})},this.handleClickPrevious=t=>{this.pagingParams={before_cursor:t},this.clickEvent.emit({name:c.previous})},this.handleClickNext=t=>{this.pagingParams={after_cursor:t},this.clickEvent.emit({name:c.next})},this.rowClickHandler=t=>{const s=t.target.closest("tr"),e=s.dataset.rowEntityId;if(!e)return;if(s.querySelector("a")===t.target)return;const a=this.payouts.find((t=>t.id===e));this.clickEvent.emit({name:c.row,data:a})}}updateOnPropChange(){this.fetchData()}componentWillLoad(){this.payoutsTable=new p(this.payouts,this.columns,f,m(this.downloadCSV)),this.getPayouts&&this.getSubAccounts&&this.fetchData(),u("set",(()=>{this.pagingParams={}})),u("reset",(()=>{this.pagingParams={},this.errorMessage=""}))}fetchData(){this.loading=!0,this.getPayouts({params:this.payoutParams,onSuccess:({payouts:t,pagingInfo:s})=>{this.payouts=t,this.paging=s,this.payoutsTable.collectionData=this.payouts,this.payoutsTable.columnKeys.includes("sub_account_name")?this.fetchSubAccounts():this.loading=!1},onError:({error:t,code:s,severity:e})=>{this.errorMessage=t,this.errorEvent.emit({errorCode:s,message:t,severity:e}),this.loading=!1}})}async fetchSubAccounts(){this.getSubAccounts({params:this.subAccountParams,onSuccess:({subAccounts:t})=>{this.subAccounts=t,this.payouts=this.payouts.map((t=>{var s;return t.sub_account_name=null===(s=this.subAccounts.find((s=>s.id===t.account_id)))||void 0===s?void 0:s.name,t})),this.loading=!1},onError:({error:t,code:s,severity:e})=>{this.errorMessage=t,this.errorEvent.emit({errorCode:s,message:t,severity:e}),this.loading=!1}})}get payoutParams(){const t=l();return Object.assign(Object.assign({},t),this.pagingParams)}get subAccountParams(){let t=this.payouts.map((t=>t.account_id));return{sub_account_id:[...new Set(t)].join(",")}}get entityId(){return this.payouts.map((t=>t.id))}get showEmptyState(){return!this.loading&&!this.errorMessage&&this.payoutsTable.rowData.length<1}get showErrorState(){return!this.loading&&!!this.errorMessage}get showRowData(){return!this.showEmptyState&&!this.showErrorState&&!this.loading}render(){return e("div",{key:"68e0b1581a72a78c12fa0e6239d62920d3b5d9a2"},e("div",{key:"f59a292ac975c941520a841fa51c5610c8e60f54",class:"table-wrapper",part:"table-wrapper"},e("table",{key:"be74e83accf6a9de9c6505f0136bfdf68bd64586",class:"table table-hover",part:o},e("thead",{key:"3e59e5053c2be342c3ba6bc1d28695cf302dadbf",class:"table-head sticky-top",part:"table-head"},e("tr",{key:"1c714c3f40fdcf4e45c37ce2098cd90eb93c9121",class:"table-light text-nowrap",part:"table-head-row"},this.payoutsTable.columnData.map((t=>t)))),e("tbody",{key:"4fcbaed0667f3eaac4b7bfc628a2374f8978352e",class:"table-body"},e(n,{key:"0dcf9c3bfbb228d93b9bac815704453b42aae923",columnSpan:this.payoutsTable.columnKeys.length,isLoading:this.loading}),e(b,{key:"d0bd0eaf65faf8d1ce9b2634885fb0be0456459d",isEmpty:this.showEmptyState,columnSpan:this.payoutsTable.columnKeys.length}),e(d,{key:"ff4621c3efa8bb45214a8e571babe17bae0d05d3",columnSpan:this.payoutsTable.columnKeys.length,errorMessage:this.errorMessage}),this.showRowData&&this.payoutsTable.rowData.map(((t,s)=>e("tr",{"data-test-id":"table-row","data-row-entity-id":this.entityId[s],onClick:this.rowClickHandler},t)))),this.paging&&e("tfoot",{key:"eaf66860e8d302af6bb5e09ea843ce2a2938e06b",class:"sticky-bottom"},e("tr",{key:"8b6f094a8ac40924a32f613cff0bbcc6b0e19def",class:"table-light align-middle"},e("td",{key:"6d90ebe89ec368d70fed97dc19b8d20382f5b862",part:h,colSpan:this.payoutsTable.columnData.length},e("pagination-menu",{key:"836998c60c8e029131b0e83d45b9ce9fb4c36d8c",paging:Object.assign(Object.assign({},this.paging),{handleClickPrevious:this.handleClickPrevious,handleClickNext:this.handleClickNext})})))))))}static get watchers(){return{pagingParams:["updateOnPropChange"],getPayouts:["updateOnPropChange"],getSubAccounts:["updateOnPropChange"]}}};export{y as payouts_list_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as t}from"./p-Dt-vy9Le.js";const b=(t,b)=>{t.setValues(Object.assign(Object.assign({},t.values.getValue()),b))},e=(t,e)=>{b(t,{address:Object.assign(Object.assign({},t.values.getValue().address),e)})},o=(e,o)=>{const s=t(e.detail);b(o,Object.assign(Object.assign({},o.values.getValue()),{dob_day:s.dob_day,dob_month:s.dob_month,dob_year:s.dob_year}))};export{e as a,o as b,b as u}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as e,h as s,H as a,g as i}from"./p-BUM1DfV9.js";import{F as r}from"./p-D7s2671S.js";import{i as o,b as l,a as f,C as h,c as n,l as c}from"./p-CB88j97I.js";const d=class{constructor(s){t(this,s),this.formControlInput=e(this,"formControlInput"),this.formControlBlur=e(this,"formControlBlur")}render(){return s(a,{key:"f3efb1623170f761f4650d0e383ad8f1416f1324",exportparts:"label,input,input-invalid"},s("div",{key:"92139fdd8fed82196a249ab0e33b1e22fcf078e7",class:"form-group d-flex flex-column"},s("div",{key:"e7de120a2d934275dec4f75aa6a7d5d33cf2fbff",class:"d-flex align-items-start gap-2"},s("label",{key:"01c0fbea56bdbcc0f26f3339037c3be13937ee68",part:"label",class:"form-label",htmlFor:this.name},this.label),s("form-control-tooltip",{key:"7d9c68d9f1b60236603d799b91be3e731388260c",helpText:this.helpText})),s("input",{key:"330170f3c80bb09c4fcd079c8012a657274c770f",type:"file",name:this.name,part:`input ${this.errorText?"input-invalid ":""}${this.disabled?"input-disabled":""}`,class:this.errorText?"form-control is-invalid":"form-control",multiple:this.multiple,disabled:this.disabled,onBlur:()=>this.formControlBlur.emit(),onChange:()=>this.errorText=""}),s(r,{key:"63a6395fe3523c6db034b891e95d9b346fc51491",errorText:this.errorText,name:this.name})))}get el(){return i(this)}},b=class{constructor(s){t(this,s),this.formControlInput=e(this,"formControlInput"),this.formControlBlur=e(this,"formControlBlur"),this.isFocused=!1,this.handleFormControlInput=t=>{const e=t.target,s=e.getAttribute("name");this.inputHandler(s,e.value),this.formControlInput.emit({name:s,value:e.value})},this.updateInput=t=>{const e=this.el.querySelector("textarea");e&&(e.value=t||"")}}handleDefaultValueChange(t){this.updateInput(t)}componentDidLoad(){this.updateInput(this.defaultValue)}get part(){return this.isFocused&&this.errorText?o:this.errorText?l:this.isFocused?f:this.disabled?h:n}render(){return s(a,{key:"81fa5313b9de98ee8fdcce6638a82a48324f8ac0"},s("div",{key:"1b4c84a80662a5bce8f44b74793f50a2552226fa",class:"form-group d-flex flex-column"},s("label",{key:"75806dd452bf90accd45b7986335fdcefad8d242",part:c,class:"form-label",htmlFor:this.name},this.label),s("textarea",{key:"fbdb45b580457a6718d1be6cca605481da4af6c2",id:this.name,name:this.name,onFocus:()=>this.isFocused=!0,onBlur:()=>{this.isFocused=!1,this.formControlBlur.emit()},onInput:this.handleFormControlInput,onKeyDown:this.keyDownHandler,onPaste:this.keyDownHandler,maxLength:this.maxLength,part:this.part,class:this.errorText?"form-control is-invalid":"form-control",disabled:this.disabled}),s("form-control-help-text",{key:"84e31bba3004fd30e156b3ca31809830be3afa35",helpText:this.helpText,name:this.name}),s("form-control-error-text",{key:"3f0acdb21fde23cd48f8fab9b5a3a379e9e864ad",errorText:this.errorText,name:this.name})))}get el(){return i(this)}static get watchers(){return{defaultValue:["handleDefaultValueChange"]}}};export{d as form_control_file_v2,b as form_control_textarea}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a,h as e,H as s}from"./p-BUM1DfV9.js";import{E as f}from"./p-CLHwhyvu.js";import{Y as c,a9 as i}from"./p-CB88j97I.js";const b=class{constructor(e){a(this,e),this.paging=f,this.params={}}render(){return e(s,{key:"7a4cfcfa7d9329e8d4026cd6bdc15c3251f004d6"},e("nav",{key:"203b5ffeb3f4a167aa9448ac6075fd7a1ac15ef7","aria-label":"Table pagination",class:"d-flex justify-content-end gap-3"},e("ul",{key:"e302f939560131ade67b0f9d4135fa04ff485d09",class:"pagination m-0"},e("li",{key:"b3e2ba7b66e5de597a3233ee036d4d1ef2930689",class:"page-item "+(this.paging.has_previous?"":" disabled")},e("a",{key:"1f358b34fbaa7f140c1ee15ef6ee8d6f9b87407f",href:"#",class:"page-link",onClick:a=>{a.preventDefault(),this.paging.handleClickPrevious(this.paging.start_cursor)},part:this.paging.has_previous?c:i},e("span",{key:"daffe0c0ffb7265cd769bbf27fef42c37e86300d",class:"me-1"},"«"),e("span",{key:"2c42b74352aa7a79ac6bc231cdd828b7a62f5083"},"Previous"))),e("li",{key:"2707ab481b124351479dbc5e4b270a60f8e0cb9e",class:"page-item "+(this.paging.has_next?"":" disabled")},e("a",{key:"f97ea7a812ba9b0066cd5e75ab45bff152708b63",href:"#",class:"page-link",onClick:a=>{a.preventDefault(),this.paging.handleClickNext(this.paging.end_cursor)},part:this.paging.has_next?c:i},e("span",{key:"a850314028161b5a04618ffc5515603ea7203a0a"},"Next"),e("span",{key:"643097228302500411ca0c4a932d8067074a15d2",class:"ms-1"},"»"))))))}};export{b as pagination_menu}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as a}from"./p-BUM1DfV9.js";import{l as t}from"./p-Bde7dY9t.js";import{f as d,p as s,c as i}from"./p-Bo92MHrs.js";import{e as l,f as r,t as c,g as f,h as o,j as p}from"./p-CB88j97I.js";import{S as n}from"./p-C3nDCvFQ.js";import{c as b,a as m}from"./p-CpTwq2jw.js";import"./p-BFTU3MAI.js";import"./p-BWFriesi.js";const u=class{constructor(a){e(this,a),this.setParamsOnChange=(e,a)=>{d[e]=a},this.handleDateInput=(e,a)=>{const t=b(a,{setExactTime:!0});this.setParamsOnChange(e,t)}}componentWillLoad(){this.debouncedSetParamsOnChange=t.debounce(this.setParamsOnChange,300),Object.entries({payment_id:this.paymentId,terminal_id:this.terminalId,payment_status:this.paymentStatus,created_after:this.createdAfter,created_before:this.createdBefore}).forEach((([e,a])=>{a&&(s[e]=a)}))}get paymentStatusOptions(){return[{label:"All",value:""},{label:"Pending",value:"pending"},{label:"Authorized",value:"authorized"},{label:"Succeeded",value:"succeeded"},{label:"Failed",value:"failed"},{label:"Disputed",value:"disputed"},{label:"Refunded",value:"refunded"}]}render(){const e=Object.assign({},d);return a(n,{key:"0f60343035418f02bfb4c5a334281035cc572957"},a("table-filters-menu",{key:"f3fbf51df04aab4de27aec6c16b1154a9c68cf89",params:e,clearParams:i,part:l},a("div",{key:"f16d287033fcd5738a248c46f055ca880afa100d",class:"grid-cols-2 gap-3 p-1"},a("div",{key:"c732920f08adcc06e730bc37989dfab19ab1ca70",class:"p-2"},a("form-control-text",{key:"d627c54541b7ef5d18047eeeb1d123974903a7b4",name:"payment_id",label:"Payment ID",inputHandler:this.debouncedSetParamsOnChange,defaultValue:this.paymentId||d.payment_id,disabled:!!this.paymentId,part:r})),a("div",{key:"9d0808c36388cd9e6d44ad911ce2b35c8ef3d481",class:"p-2"},a("form-control-text",{key:"75bd80ea108dfd17260a494fb616c4b59c9a6d17",name:"terminal_id",label:"Terminal ID",inputHandler:this.debouncedSetParamsOnChange,defaultValue:this.terminalId||d.terminal_id,disabled:!!this.terminalId,part:c})),a("div",{key:"67d9241d539eb9dbde85b36d2b46c03557988aac",class:"p-2"},a("form-control-select",{key:"6cc1f7f8d660d6d7dd71231c0fadcd487dec598d",name:"payment_status",label:"Status",options:this.paymentStatusOptions,inputHandler:this.setParamsOnChange,defaultValue:this.paymentStatus||d.payment_status,disabled:!!this.paymentStatus,part:f})),a("div",{key:"286c868036528e6c0d8d57eba384a1cbf7e9fe46",class:"p-2"},a("form-control-date",{key:"74507753f003841539d9b6c4e233428d8cdef85e",name:"created_after",label:"Created After",inputHandler:this.handleDateInput,defaultValue:m(this.createdAfter,{showInputDateTime:!0})||m(d.created_after,{showInputDateTime:!0}),showTime:!0,disabled:!!this.createdAfter,part:o})),a("div",{key:"d028a802f375b553e7504dfaec3232af5b3d7849",class:"p-2"},a("form-control-date",{key:"3f4f89061c6f50b38aaab0d950b8bd6ed53e1290",name:"created_before",label:"Created Before",inputHandler:this.handleDateInput,defaultValue:m(this.createdBefore,{showInputDateTime:!0})||m(d.created_before,{showInputDateTime:!0}),showTime:!0,disabled:!!this.createdBefore,part:p})))))}};export{u as justifi_payments_list_filters}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as l,h as i,H as t}from"./p-BUM1DfV9.js";import{c as e,D as s}from"./p-CnyMKcfC.js";import{l as v,s as o,m as d}from"./p-CpTwq2jw.js";import"./p-CB88j97I.js";import"./p-BFTU3MAI.js";const u=class{constructor(i){l(this,i)}render(){var l,o;return v(this.additionalQuestions)?null:i(t,null,i(s,{sectionTitle:"Additional Questions"}),i("div",{class:"d-table gap-2 w-100 mt-3"},i("div",{class:"row gy-3"},i("div",{class:"col-12 col-md-6"},i(e,{title:"Business Revenue",value:null===(l=this.additionalQuestions.business_revenue)||void 0===l?void 0:l.toString()}),i(e,{title:"Business Payment Volume",value:null===(o=this.additionalQuestions.business_payment_volume)||void 0===o?void 0:o.toString()})))))}},a=class{constructor(i){l(this,i)}render(){var l,v,d,u,a,n,r,c;return this.business?i(t,null,i(s,{sectionTitle:"Business Generic Info Details"}),i("div",{class:"d-table gap-2 w-100 mt-3"},i("div",{class:"row gy-3"},i("div",{class:"col-12 col-md-6"},i(e,{title:"Legal Name",value:null===(l=this.business)||void 0===l?void 0:l.legal_name}),i(e,{title:"Doing Business As (DBA)",value:null===(v=this.business)||void 0===v?void 0:v.doing_business_as}),i(e,{title:"Business Classification",value:o(null===(d=this.business)||void 0===d?void 0:d.classification)}),i(e,{title:"Industry",value:null===(u=this.business)||void 0===u?void 0:u.industry})),i("div",{class:"col-12 col-md-6"},i(e,{title:"Tax ID",value:null===(a=this.business)||void 0===a?void 0:a.tax_id}),i(e,{title:"Website URL",value:null===(n=this.business)||void 0===n?void 0:n.website_url}),i(e,{title:"Email Address",value:null===(r=this.business)||void 0===r?void 0:r.email}),i(e,{title:"Phone Number",value:null===(c=this.business)||void 0===c?void 0:c.phone}))))):null}},n=class{constructor(i){l(this,i)}render(){var l,o,d,u,a,n,r;return v(this.legalAddress)?null:i(t,null,i(s,{sectionTitle:"Business Legal Address Details"}),i("div",{class:"d-table gap-2 w-100 mt-3"},i("div",{class:"row gy-3"},i("div",{class:"col-12 col-md-6"},i(e,{title:"Country",value:null===(l=this.legalAddress)||void 0===l?void 0:l.country}),i(e,{title:"Legal Address",value:null===(o=this.legalAddress)||void 0===o?void 0:o.line1}),i(e,{title:"Address Line 2",value:null===(d=this.legalAddress)||void 0===d?void 0:d.line2})),i("div",{class:"col-12 col-md-6"},i(e,{title:"City",value:null===(u=this.legalAddress)||void 0===u?void 0:u.city}),i(e,{title:"State",value:null===(a=this.legalAddress)||void 0===a?void 0:a.state}),i(e,{title:"Postal Code",value:null===(r=null===(n=this.legalAddress)||void 0===n?void 0:n.postal_code)||void 0===r?void 0:r.toString()})))))}},r=class{constructor(i){l(this,i)}render(){var l;return(null===(l=null==this?void 0:this.owners)||void 0===l?void 0:l.length)?i(t,null,!!(null==this?void 0:this.owners.length)&&this.owners.map((l=>{var t,v,o,u,a;return[i(s,{sectionTitle:`Owner ${null==l?void 0:l.name}'s Details`}),i("div",{class:"d-table gap-2 w-100 mt-3"},i(e,{title:"Name",value:null==l?void 0:l.name}),i(e,{title:"Title",value:null==l?void 0:l.title}),i(e,{title:"Email",value:null==l?void 0:l.email}),i(e,{title:"Phone",value:null==l?void 0:l.phone}),i(e,{title:"Date of Birth",value:d(new Date(Number(null==l?void 0:l.dob_day),Number(null==l?void 0:l.dob_month),Number(null==l?void 0:l.dob_year)))}),i(e,{title:"Identification Number",value:`********${null==l?void 0:l.ssn_last4}`}),i(e,{title:"Line 1",value:null===(t=null==l?void 0:l.address)||void 0===t?void 0:t.line1}),i(e,{title:"Line 2",value:null===(v=null==l?void 0:l.address)||void 0===v?void 0:v.line2}),i(e,{title:"City",value:null===(o=null==l?void 0:l.address)||void 0===o?void 0:o.city}),i(e,{title:"State",value:null===(u=null==l?void 0:l.address)||void 0===u?void 0:u.state}),i(e,{title:"Zip",value:null===(a=null==l?void 0:l.address)||void 0===a?void 0:a.postal_code}))]}))):null}},c=class{constructor(i){l(this,i)}render(){var l,o,u,a,n,r,c,h,m,p,w,g,b,D;return v(this.representative)?null:i(t,null,i(s,{sectionTitle:"Representative Details"}),i("div",{class:"d-table gap-2 w-100 mt-3"},i("div",{class:"row gy-3"},i("div",{class:"col-12 col-md-6"},i(e,{title:"Name",value:null===(l=this.representative)||void 0===l?void 0:l.name}),i(e,{title:"ID",value:null===(o=this.representative)||void 0===o?void 0:o.id}),i(e,{title:"Address",value:null===(a=null===(u=this.representative)||void 0===u?void 0:u.address)||void 0===a?void 0:a.line1}),i(e,{title:"Created At",value:(null===(n=this.representative)||void 0===n?void 0:n.created_at)&&d(null===(r=this.representative)||void 0===r?void 0:r.created_at)})),i("div",{class:"col-12 col-md-6"},i(e,{title:"Title",value:null===(c=this.representative)||void 0===c?void 0:c.title}),i(e,{title:"Is Owner?",value:null===(h=this.representative)||void 0===h?void 0:h.is_owner.toString()}),i(e,{title:"Date Of Birth",value:this.representative&&d(new Date(Number(null===(m=this.representative)||void 0===m?void 0:m.dob_year),Number(null===(p=this.representative)||void 0===p?void 0:p.dob_month)-1,Number(null===(w=this.representative)||void 0===w?void 0:w.dob_day)))}),i(e,{title:"Email",value:null===(g=this.representative)||void 0===g?void 0:g.email}),i(e,{title:"Phone",value:null===(b=this.representative)||void 0===b?void 0:b.phone}),i(e,{title:"Updated At",value:this.representative&&d(null===(D=this.representative)||void 0===D?void 0:D.updated_at)})))))}};export{u as additional_questions_details,a as generic_info_details,n as legal_address_details,r as owner_details,c as representative_details}
|