@justifi/webcomponents 5.3.6 → 5.4.1
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-f5280a80.js → Api-83d93333.js} +2 -2
- package/dist/cjs/{Checkout-eef27045.js → Checkout-f10bed8c.js} +1 -1
- package/dist/cjs/{Payment-c47ed1e1.js → Payment-3f483b7a.js} +1 -1
- package/dist/cjs/{SubAccount-df3d28dc.js → SubAccount-a27d4e9f.js} +8 -6
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
- package/dist/cjs/{badge-79e56b99.js → badge-364e6311.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +11 -11
- package/dist/cjs/bank-account-form_9.cjs.entry.js +16 -16
- package/dist/cjs/billing-form_3.cjs.entry.js +11 -11
- package/dist/cjs/{business-additional-questions-schema-5c100f58.js → business-additional-questions-schema-8568cb79.js} +2 -2
- package/dist/cjs/business-details-core.cjs.entry.js +3 -3
- package/dist/cjs/{business-identity-schema-3b4d16f1.js → business-identity-schema-518ab6eb.js} +2 -2
- package/dist/cjs/{business.service-776142b1.js → business.service-6e8a29a2.js} +3 -3
- package/dist/cjs/{button-797bb3cc.js → button-4a9fd41e.js} +1 -1
- package/dist/cjs/{check-pkg-version-1f8b660c.js → check-pkg-version-75cc34ca.js} +2 -2
- package/dist/cjs/{checkout.service-c01e2cd7.js → checkout.service-61616349.js} +4 -4
- package/dist/cjs/checkouts-list-core.cjs.entry.js +10 -10
- package/dist/cjs/{checkouts-table-61543249.js → checkouts-table-14fcebd0.js} +3 -3
- package/dist/cjs/{custom-popper.cjs.entry.js → custom-popper_4.cjs.entry.js} +141 -2
- package/dist/cjs/{dispute.service-399de502.js → dispute.service-b68fdcc4.js} +4 -4
- package/dist/cjs/{event-types-666f1f22.js → event-types-5a6ce2b0.js} +2 -2
- package/dist/cjs/form-alert_5.cjs.entry.js +5 -5
- package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/form-control-date.cjs.entry.js +4 -4
- package/dist/cjs/{form-control-error-text-b782cdd0.js → form-control-error-text-3cff9b7b.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
- package/dist/cjs/{form-control-help-text-ca3c8155.js → form-control-help-text-94ffed2c.js} +1 -1
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +85 -0
- package/dist/cjs/form-control-monetary.cjs.entry.js +27 -40
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +5 -5
- package/dist/cjs/form-control-number.cjs.entry.js +5 -5
- package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
- package/dist/cjs/{get-business-0bd063d2.js → get-business-d8f5db51.js} +2 -2
- package/dist/cjs/{get-payout-csv-11a983a0.js → get-payout-csv-f0c04d96.js} +4 -4
- package/dist/cjs/{get-subaccounts-224f9497.js → get-subaccounts-330a9e85.js} +4 -4
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -5
- package/dist/cjs/{header-1-ff669f3f.js → header-1-43b2b905.js} +1 -1
- package/dist/cjs/{header-3-f6642390.js → header-3-eb250a04.js} +1 -1
- package/dist/cjs/{index.esm-a397536a.js → index.esm-544c08fd.js} +0 -122
- package/dist/cjs/{insurance-state-66c9bea7.js → insurance-state-71f8b653.js} +1 -1
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +12 -12
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +18 -18
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +10 -10
- package/dist/cjs/justifi-business-details.cjs.entry.js +7 -7
- package/dist/cjs/justifi-business-form.cjs.entry.js +15 -15
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +8 -8
- package/dist/cjs/justifi-checkout.cjs.entry.js +10 -10
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +6 -6
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +13 -13
- package/dist/cjs/justifi-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +9 -9
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +14 -14
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -5
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +22 -24
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payment-details.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +5 -5
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payments-list.cjs.entry.js +13 -13
- package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +14 -14
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +122 -0
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +4 -4
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +8 -8
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +70 -0
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +11 -11
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +9 -6
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +13 -13
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +10 -10
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-d34fcfa5.js → package-459e93fd.js} +2 -2
- package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
- package/dist/cjs/{parts-1fb925c2.js → parts-5ca90f9a.js} +14 -0
- package/dist/cjs/payment-details-core.cjs.entry.js +13 -13
- package/dist/cjs/{payment.service-f369b33c.js → payment.service-ff43bfc4.js} +4 -4
- package/dist/cjs/payments-list-core.cjs.entry.js +11 -11
- package/dist/cjs/{payments-status-ffdc54ff.js → payments-status-075aad0a.js} +1 -1
- package/dist/cjs/{payments-table-98b4e5e3.js → payments-table-802d767d.js} +3 -3
- package/dist/cjs/payout-details-core.cjs.entry.js +8 -8
- package/dist/cjs/payouts-list-core.cjs.entry.js +11 -11
- package/dist/cjs/{payouts-status-64fd0c68.js → payouts-status-ced97c2b.js} +1 -1
- package/dist/cjs/{payouts-table-ecfb826b.js → payouts-table-194a4343.js} +3 -3
- package/dist/cjs/{schema-validations-47a256f4.js → schema-validations-a7cefbdf.js} +1 -1
- package/dist/cjs/{skeleton-2ae76f16.js → skeleton-e8aa41d0.js} +1 -1
- package/dist/cjs/{spinner-15764f3c.js → spinner-580453f2.js} +1 -1
- package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +25 -11
- package/dist/cjs/terminal-orders-list-params-state-c419078f.js +22 -0
- package/dist/cjs/{terminal-orders-table-f1bed365.js → terminal-orders-table-4df19497.js} +3 -3
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
- package/dist/cjs/{terminal.service-4fd34835.js → terminal.service-56397d88.js} +6 -5
- package/dist/cjs/terminals-list-core.cjs.entry.js +10 -10
- package/dist/cjs/{terminals-table-30298ce4.js → terminals-table-9b313566.js} +14 -2
- package/dist/cjs/{utils-337befa9.js → utils-54719fda.js} +8 -2
- package/dist/cjs/{utils-3e3b8061.js → utils-f8714daa.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/actions/business/get-business.js +2 -2
- package/dist/collection/actions/terminal/get-terminal-models.js +2 -2
- package/dist/collection/actions/terminal/order-terminals.js +2 -2
- package/dist/collection/api/Api.js +2 -2
- package/dist/collection/api/Terminal.js +3 -1
- package/dist/collection/api/TerminalOrder.js +2 -2
- package/dist/collection/api/services/business.service.js +2 -2
- package/dist/collection/api/services/terminal.service.js +2 -1
- package/dist/collection/collection-manifest.json +7 -5
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +1 -1
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +255 -0
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
- package/dist/collection/components/{billing-forms → checkout/billing-forms}/billing-form/billing-form.js +6 -6
- package/dist/collection/components/{billing-forms → checkout/billing-forms}/billing-form-schema.js +6 -2
- package/dist/collection/components/{billing-forms → checkout/billing-forms}/billing-form-wrapper.js +7 -7
- package/dist/collection/components/{billing-forms → checkout/billing-forms}/postal-form/postal-form.js +5 -5
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/checkout-core.js +5 -5
- package/dist/collection/components/checkout/checkout.js +6 -6
- package/dist/collection/components/checkout/new-payment-method.js +5 -5
- package/dist/collection/components/checkout/payment-method-options.js +5 -5
- package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout/saved-payment-method.js +1 -1
- package/dist/collection/components/checkout/sezzle-payment-method.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management.js +1 -1
- package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -1
- package/dist/collection/components/order-terminals/order-terminals.js +24 -8
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
- package/dist/collection/components/payment-details/payment-details-core.js +7 -7
- package/dist/collection/components/payments-list/payments-list-core.js +1 -1
- package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
- package/dist/collection/components/payments-list/payments-list.js +1 -1
- package/dist/collection/components/payout-details/payout-details-core.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
- package/dist/collection/components/payouts-list/payouts-list.js +1 -1
- package/dist/collection/components/refund-payment/refund-payment-schema.js +16 -0
- package/dist/collection/components/{refund-form/refund-form.js → refund-payment/refund-payment.js} +26 -65
- package/dist/collection/components/refund-payment/refund-reason-options.js +19 -0
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +15 -2
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +141 -0
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-params-state.js +14 -0
- package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-filters.js +23 -3
- package/dist/collection/components/terminals-list/terminals-list.js +1 -1
- package/dist/collection/components/terminals-list/terminals-status.js +5 -0
- package/dist/collection/components/terminals-list/terminals-table.js +7 -0
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +3 -3
- package/dist/collection/styles/parts.js +8 -0
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
- package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
- package/dist/collection/ui-components/form/form-control-date.js +2 -2
- package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
- package/dist/collection/ui-components/form/form-control-file.js +2 -2
- package/dist/collection/ui-components/form/form-control-monetary.js +72 -70
- package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
- package/dist/collection/ui-components/form/form-control-number.js +2 -2
- package/dist/collection/ui-components/form/form-control-radio.js +2 -2
- package/dist/collection/ui-components/form/form-control-select.js +2 -2
- package/dist/collection/ui-components/form/form-control-text.js +2 -2
- package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +3 -3
- package/dist/collection/{components → ui-components}/pagination-menu/pagination-menu.js +4 -4
- package/dist/collection/utils/utils.js +8 -2
- package/dist/docs.json +568 -143
- package/dist/esm/{Api-391d00e2.js → Api-52242eb0.js} +2 -2
- package/dist/esm/{Checkout-2bc873fb.js → Checkout-ba139944.js} +1 -1
- package/dist/esm/{Payment-82d2f453.js → Payment-39bfdd06.js} +1 -1
- package/dist/esm/{SubAccount-dbd4e50c.js → SubAccount-68403637.js} +7 -5
- package/dist/esm/additional-questions-details_5.entry.js +3 -3
- package/dist/esm/{badge-6f5acf30.js → badge-1be14e8c.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +11 -11
- package/dist/esm/bank-account-form_9.entry.js +16 -16
- package/dist/esm/billing-form_3.entry.js +11 -11
- package/dist/esm/{business-additional-questions-schema-df76728f.js → business-additional-questions-schema-56308a54.js} +2 -2
- package/dist/esm/business-details-core.entry.js +3 -3
- package/dist/esm/{business-identity-schema-0a78fc59.js → business-identity-schema-24fcc4ef.js} +2 -2
- package/dist/esm/{business.service-f7c3b9f7.js → business.service-999196a4.js} +3 -3
- package/dist/esm/{button-79dcea75.js → button-fcee4da7.js} +1 -1
- package/dist/esm/{check-pkg-version-8e7e585e.js → check-pkg-version-b4d631be.js} +2 -2
- package/dist/esm/{checkout.service-382a16ec.js → checkout.service-e59354cc.js} +4 -4
- package/dist/esm/checkouts-list-core.entry.js +10 -10
- package/dist/esm/{checkouts-table-8a53cef9.js → checkouts-table-58604210.js} +3 -3
- package/dist/esm/{custom-popper.entry.js → custom-popper_4.entry.js} +140 -4
- package/dist/esm/{dispute.service-97887804.js → dispute.service-8312d46a.js} +4 -4
- package/dist/esm/{event-types-82515a49.js → event-types-1bc52f1f.js} +2 -2
- package/dist/esm/form-alert_5.entry.js +5 -5
- package/dist/esm/form-control-checkbox.entry.js +5 -5
- package/dist/esm/form-control-date.entry.js +4 -4
- package/dist/esm/{form-control-error-text-466c252b.js → form-control-error-text-176d20d8.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +5 -5
- package/dist/esm/{form-control-help-text-242916e3.js → form-control-help-text-83764e14.js} +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +81 -0
- package/dist/esm/form-control-monetary.entry.js +27 -40
- package/dist/esm/form-control-number-masked_2.entry.js +5 -5
- package/dist/esm/form-control-number.entry.js +5 -5
- package/dist/esm/form-control-radio.entry.js +3 -3
- package/dist/esm/{get-business-464419f6.js → get-business-b7511690.js} +2 -2
- package/dist/esm/{get-payout-csv-6826271a.js → get-payout-csv-74397995.js} +4 -4
- package/dist/esm/{get-subaccounts-f21220dc.js → get-subaccounts-f8bd5c96.js} +4 -4
- package/dist/esm/gross-payment-chart-core.entry.js +5 -5
- package/dist/esm/{header-1-b43590e5.js → header-1-215a146f.js} +1 -1
- package/dist/esm/{header-3-b90e161e.js → header-3-afd16f23.js} +1 -1
- package/dist/esm/{index.esm-0b6849c2.js → index.esm-feedf26f.js} +1 -122
- package/dist/esm/{insurance-state-9e4a3359.js → insurance-state-d2df8e88.js} +1 -1
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +12 -12
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +18 -18
- package/dist/esm/justifi-additional-statement_8.entry.js +10 -10
- package/dist/esm/justifi-business-details.entry.js +7 -7
- package/dist/esm/justifi-business-form.entry.js +15 -15
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
- package/dist/esm/justifi-checkout-core.entry.js +8 -8
- package/dist/esm/justifi-checkout.entry.js +10 -10
- package/dist/esm/justifi-checkouts-list-filters.entry.js +6 -6
- package/dist/esm/justifi-checkouts-list.entry.js +13 -13
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
- package/dist/esm/justifi-dispute-management.entry.js +9 -9
- package/dist/esm/justifi-dispute-notification_3.entry.js +14 -14
- package/dist/esm/justifi-gross-payment-chart.entry.js +5 -5
- package/dist/esm/justifi-order-terminals.entry.js +22 -24
- package/dist/esm/justifi-owner-form_3.entry.js +10 -10
- package/dist/esm/justifi-payment-details.entry.js +10 -10
- package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
- package/dist/esm/justifi-payment-provisioning.entry.js +5 -5
- package/dist/esm/justifi-payments-list-filters.entry.js +4 -4
- package/dist/esm/justifi-payments-list.entry.js +13 -13
- package/dist/esm/justifi-payout-details.entry.js +10 -10
- package/dist/esm/justifi-payouts-list-filters.entry.js +4 -4
- package/dist/esm/justifi-payouts-list.entry.js +14 -14
- package/dist/esm/justifi-refund-payment.entry.js +118 -0
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +4 -4
- package/dist/esm/justifi-season-interruption-insurance.entry.js +8 -8
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +66 -0
- package/dist/esm/justifi-terminal-orders-list.entry.js +11 -11
- package/dist/esm/justifi-terminals-list-filters.entry.js +9 -6
- package/dist/esm/justifi-terminals-list.entry.js +13 -13
- package/dist/esm/justifi-tokenize-payment-method.entry.js +10 -10
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-46c7f3a6.js → package-53180f2a.js} +2 -2
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-2c5c609b.js → parts-fd740f54.js} +9 -1
- package/dist/esm/payment-details-core.entry.js +13 -13
- package/dist/esm/{payment.service-a8aa5be7.js → payment.service-b9ec64c9.js} +4 -4
- package/dist/esm/payments-list-core.entry.js +11 -11
- package/dist/esm/{payments-status-6e203ce4.js → payments-status-74d22728.js} +1 -1
- package/dist/esm/{payments-table-4c6093e1.js → payments-table-26054032.js} +3 -3
- package/dist/esm/payout-details-core.entry.js +8 -8
- package/dist/esm/payouts-list-core.entry.js +11 -11
- package/dist/esm/{payouts-status-66e830f1.js → payouts-status-29d31099.js} +1 -1
- package/dist/esm/{payouts-table-46fbedb6.js → payouts-table-7f31db9d.js} +3 -3
- package/dist/esm/{schema-validations-b1aec6a0.js → schema-validations-5af4266a.js} +1 -1
- package/dist/esm/{skeleton-122648e6.js → skeleton-ab3f676e.js} +1 -1
- package/dist/esm/{spinner-14cd9ac7.js → spinner-27479716.js} +1 -1
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/terminal-orders-list-core.entry.js +25 -11
- package/dist/esm/terminal-orders-list-params-state-8fec0a0b.js +16 -0
- package/dist/esm/{terminal-orders-table-83b905fd.js → terminal-orders-table-1f6156c9.js} +3 -3
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/{terminal.service-20445fc1.js → terminal.service-fff19896.js} +6 -5
- package/dist/esm/terminals-list-core.entry.js +10 -10
- package/dist/esm/{terminals-table-dbbf9a99.js → terminals-table-7d54e359.js} +14 -2
- package/dist/esm/{utils-4cb0d852.js → utils-96d9c205.js} +1 -1
- package/dist/esm/{utils-c37124fc.js → utils-dc86cdde.js} +8 -3
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Api.js +2 -2
- package/dist/module/SubAccount.js +6 -4
- package/dist/module/additional-questions.js +4 -4
- package/dist/module/additional-statement.js +1 -1
- package/dist/module/bank-account-document-inputs.js +1 -1
- package/dist/module/bank-account-form-inputs2.js +1 -1
- package/dist/module/bank-account-form2.js +2 -2
- package/dist/module/billing-form-wrapper.js +1 -1
- package/dist/module/billing-form2.js +3 -3
- package/dist/module/business-additional-questions-form-step-core.js +4 -4
- package/dist/module/business-additional-questions-form-step.js +4 -4
- package/dist/module/business-bank-account-form-step.js +1 -1
- package/dist/module/business-core-info-form-step.js +1 -1
- package/dist/module/business-core-info.js +1 -1
- package/dist/module/business-owners-form-step.js +1 -1
- package/dist/module/business-representative-form-inputs.js +1 -1
- package/dist/module/business-representative-form-step.js +1 -1
- package/dist/module/business-representative.js +1 -1
- package/dist/module/business-terms-conditions-form-step.js +1 -1
- package/dist/module/business.service.js +2 -2
- package/dist/module/cancellation-policy.js +1 -1
- package/dist/module/card-form2.js +2 -2
- package/dist/module/checkout-core.js +1 -1
- package/dist/module/checkouts-list-core2.js +1 -1
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +1 -1
- package/dist/module/dispute-management-core.js +1 -1
- package/dist/module/dispute-notification.js +1 -1
- package/dist/module/dispute-response-core.js +1 -1
- package/dist/module/dispute-response.js +1 -1
- package/dist/module/duplicate-charge.js +1 -1
- package/dist/module/electronic-evidence.js +1 -1
- package/dist/module/form-control-checkbox2.js +2 -2
- package/dist/module/form-control-date2.js +2 -2
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +2 -2
- package/dist/module/form-control-monetary-provisioning.d.ts +11 -0
- package/dist/module/form-control-monetary-provisioning.js +6 -0
- package/dist/module/form-control-monetary-provisioning2.js +109 -0
- package/dist/module/form-control-monetary2.js +30 -42
- package/dist/module/form-control-number-masked2.js +2 -2
- package/dist/module/form-control-number.js +2 -2
- package/dist/module/form-control-radio2.js +2 -2
- package/dist/module/form-control-select2.js +2 -2
- package/dist/module/form-control-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +2 -2
- package/dist/module/form.js +1 -122
- package/dist/module/get-business.js +2 -2
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/identity-address-form.js +1 -1
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/justifi-business-form.js +3 -3
- package/dist/module/justifi-checkout.js +2 -2
- package/dist/module/justifi-checkouts-list-filters.js +1 -1
- package/dist/module/justifi-checkouts-list.js +1 -1
- package/dist/module/justifi-dispute-management.js +1 -1
- package/dist/module/justifi-order-terminals.js +11 -12
- package/dist/module/justifi-payment-provisioning.js +4 -4
- package/dist/module/justifi-payments-list-filters.js +2 -2
- package/dist/module/justifi-payments-list.js +1 -1
- package/dist/module/justifi-payouts-list-filters.js +2 -2
- package/dist/module/justifi-payouts-list.js +1 -1
- package/dist/module/justifi-refund-payment.d.ts +11 -0
- package/dist/module/justifi-refund-payment.js +180 -0
- package/dist/module/justifi-season-interruption-insurance.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.d.ts +11 -0
- package/dist/module/justifi-terminal-orders-list-filters.js +119 -0
- package/dist/module/justifi-terminal-orders-list.js +1 -1
- package/dist/module/justifi-terminals-list-filters.js +6 -2
- package/dist/module/justifi-terminals-list.js +2 -2
- package/dist/module/justifi-tokenize-payment-method.js +1 -1
- package/dist/module/legal-address-form-step.js +1 -1
- package/dist/module/legal-address-form.js +1 -1
- package/dist/module/new-payment-method.js +1 -1
- package/dist/module/owner-form-core2.js +1 -1
- package/dist/module/owner-form-inputs2.js +1 -1
- package/dist/module/owner-form.js +1 -1
- package/dist/module/package.js +2 -2
- package/dist/module/parts.js +9 -1
- package/dist/module/payment-details-core2.js +7 -7
- package/dist/module/payment-method-options.js +1 -1
- package/dist/module/payment-provisioning-core.js +4 -4
- package/dist/module/payment-provisioning-form-buttons.js +1 -1
- package/dist/module/payment-provisioning-form-steps.js +4 -4
- package/dist/module/payments-list-core2.js +1 -1
- package/dist/module/payout-details-core2.js +1 -1
- package/dist/module/payouts-list-core2.js +1 -1
- package/dist/module/postal-form2.js +1 -1
- package/dist/module/product-or-service.js +1 -1
- package/dist/module/refund-policy.js +1 -1
- package/dist/module/save-new-payment-method.js +1 -1
- package/dist/module/saved-payment-method.js +1 -1
- package/dist/module/sezzle-payment-method.js +1 -1
- package/dist/module/shipping-details.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +15 -2
- package/dist/module/terminal-orders-list-params-state.js +16 -0
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/terminal.service.js +2 -1
- package/dist/module/terminals-list-core2.js +13 -1
- package/dist/module/utils2.js +8 -3
- package/dist/types/actions/business/get-business.d.ts +2 -1
- package/dist/types/actions/terminal/get-terminal-models.d.ts +2 -1
- package/dist/types/actions/terminal/order-terminals.d.ts +2 -1
- package/dist/types/api/Api.d.ts +1 -1
- package/dist/types/api/Terminal.d.ts +8 -3
- package/dist/types/api/TerminalOrder.d.ts +9 -3
- package/dist/types/api/services/business.service.d.ts +1 -1
- package/dist/types/components/business-forms/payment-provisioning/form-control-monetary-provisioning.d.ts +24 -0
- package/dist/types/components/{billing-forms → checkout/billing-forms}/billing-form/billing-form.d.ts +1 -1
- package/dist/types/components/{billing-forms → checkout/billing-forms}/postal-form/postal-form.d.ts +1 -1
- package/dist/types/components/checkout/checkout-core.d.ts +1 -1
- package/dist/types/components/checkout/checkout.d.ts +1 -1
- package/dist/types/components/checkout/new-payment-method.d.ts +1 -1
- package/dist/types/components/checkout/payment-method-options.d.ts +1 -1
- package/dist/types/components/order-terminals/order-terminals.d.ts +1 -1
- package/dist/types/components/refund-payment/refund-payment-schema.d.ts +11 -0
- package/dist/types/components/{refund-form/refund-form.d.ts → refund-payment/refund-payment.d.ts} +6 -13
- package/dist/types/components/refund-payment/refund-reason-options.d.ts +5 -0
- package/dist/types/components/terminal-orders-list/terminal-orders-list-core.d.ts +1 -0
- package/dist/types/components/terminal-orders-list/terminal-orders-list-filters.d.ts +19 -0
- package/dist/types/components/terminal-orders-list/terminal-orders-list-params-state.d.ts +6 -0
- package/dist/types/components/terminals-list/terminals-list-filters.d.ts +1 -0
- package/dist/types/components/terminals-list/terminals-status.d.ts +2 -1
- package/dist/types/components/terminals-list/terminals-table.d.ts +6 -0
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +1 -1
- package/dist/types/components.d.ts +111 -53
- package/dist/types/styles/parts.d.ts +7 -0
- package/dist/types/ui-components/form/form-control-monetary.d.ts +9 -10
- package/dist/types/utils/utils.d.ts +2 -1
- package/dist/webcomponents/p-00ae938e.entry.js +1 -0
- package/dist/webcomponents/p-01033194.js +1 -0
- package/dist/webcomponents/p-0151a19f.entry.js +1 -0
- package/dist/webcomponents/{p-694078d2.js → p-03c2261c.js} +1 -1
- package/dist/webcomponents/{p-2ca5b5e4.js → p-08b64251.js} +1 -1
- package/dist/webcomponents/p-0b61d4d3.entry.js +1 -0
- package/dist/webcomponents/{p-547b51e9.js → p-12074378.js} +1 -1
- package/dist/webcomponents/p-142bfae3.js +1 -0
- package/dist/webcomponents/p-1aa973c4.entry.js +1 -0
- package/dist/webcomponents/p-2123c150.js +1 -0
- package/dist/webcomponents/p-23cd76af.entry.js +1 -0
- package/dist/webcomponents/{p-087758d3.js → p-26a2e837.js} +1 -1
- package/dist/webcomponents/p-27546fa9.entry.js +1 -0
- package/dist/webcomponents/p-275c3dc9.js +1 -0
- package/dist/webcomponents/p-2b8aaa7d.entry.js +1 -0
- package/dist/webcomponents/p-2c65389c.entry.js +1 -0
- package/dist/webcomponents/p-31dcaeaf.entry.js +1 -0
- package/dist/webcomponents/p-373a19fe.entry.js +1 -0
- package/dist/webcomponents/{p-3947a309.entry.js → p-375657fe.entry.js} +1 -1
- package/dist/webcomponents/{p-6ef3de11.entry.js → p-385d3637.entry.js} +1 -1
- package/dist/webcomponents/{p-f3061f2a.entry.js → p-38900c29.entry.js} +1 -1
- package/dist/webcomponents/{p-daf0303f.js → p-422948eb.js} +1 -1
- package/dist/webcomponents/{p-b92aac9b.entry.js → p-43e225d2.entry.js} +1 -1
- package/dist/webcomponents/{p-8c461ebc.entry.js → p-4484aa3b.entry.js} +1 -1
- package/dist/webcomponents/p-45f48dce.entry.js +1 -0
- package/dist/webcomponents/{p-9894484a.js → p-4e010557.js} +1 -1
- package/dist/webcomponents/p-4ef98c7a.js +1 -0
- package/dist/webcomponents/p-4fc263b2.js +1 -0
- package/dist/webcomponents/{p-4acf8ca2.js → p-537bce77.js} +1 -1
- package/dist/webcomponents/p-56c7fc8d.js +1 -0
- package/dist/webcomponents/{p-cd68707b.entry.js → p-58476602.entry.js} +1 -1
- package/dist/webcomponents/{p-71897cbc.js → p-58ee6ce9.js} +1 -1
- package/dist/webcomponents/p-59eef054.entry.js +1 -0
- package/dist/webcomponents/{p-2027145a.entry.js → p-5a9d7ca0.entry.js} +1 -1
- package/dist/webcomponents/{p-a173ccd5.entry.js → p-5ae9faf6.entry.js} +1 -1
- package/dist/webcomponents/p-5b459422.entry.js +1 -0
- package/dist/webcomponents/p-5b76dbe1.entry.js +1 -0
- package/dist/webcomponents/{p-046ecd01.js → p-5efe6236.js} +1 -1
- package/dist/webcomponents/{p-0e180654.js → p-5f6b4bc9.js} +1 -1
- package/dist/webcomponents/p-64443fc0.js +1 -0
- package/dist/webcomponents/p-673c1bca.js +1 -0
- package/dist/webcomponents/p-6c79e7c3.entry.js +1 -0
- package/dist/webcomponents/p-6d3611b6.entry.js +1 -0
- package/dist/webcomponents/{p-0cefd846.entry.js → p-745a577c.entry.js} +1 -1
- package/dist/webcomponents/p-76549a24.js +1 -0
- package/dist/webcomponents/{p-7ed52fbc.entry.js → p-7a6feb58.entry.js} +1 -1
- package/dist/webcomponents/p-80867635.entry.js +1 -0
- package/dist/webcomponents/p-86605101.js +1 -0
- package/dist/webcomponents/{p-8066b866.js → p-927cb6df.js} +1 -1
- package/dist/webcomponents/{p-030a8806.entry.js → p-92e96b57.entry.js} +1 -1
- package/dist/webcomponents/{p-8971f9da.entry.js → p-942d5e8f.entry.js} +1 -1
- package/dist/webcomponents/p-a1be025c.entry.js +1 -0
- package/dist/webcomponents/p-a3cced75.entry.js +1 -0
- package/dist/webcomponents/{p-c54f54ed.js → p-a5579f53.js} +1 -1
- package/dist/webcomponents/{p-fa987dcf.js → p-a5b52c1d.js} +1 -1
- package/dist/webcomponents/{p-0a60d356.entry.js → p-a5f5cc2e.entry.js} +1 -1
- package/dist/webcomponents/{p-b69beb1c.js → p-a99525c5.js} +1 -1
- package/dist/webcomponents/p-ac40e667.js +1 -0
- package/dist/webcomponents/p-adecb91a.entry.js +1 -0
- package/dist/webcomponents/p-ae891abb.entry.js +1 -0
- package/dist/webcomponents/p-ae9ef225.js +1 -0
- package/dist/webcomponents/p-b323bbde.entry.js +1 -0
- package/dist/webcomponents/p-ba6fd830.entry.js +1 -0
- package/dist/webcomponents/{p-e4514af8.entry.js → p-bae35151.entry.js} +1 -1
- package/dist/webcomponents/p-bb4b3f79.entry.js +1 -0
- package/dist/webcomponents/{p-69ac2640.entry.js → p-bdbbee07.entry.js} +1 -1
- package/dist/webcomponents/p-bdcf3a3c.entry.js +1 -0
- package/dist/webcomponents/p-beec0b60.js +1 -0
- package/dist/webcomponents/{p-95e55bb1.js → p-bf12999f.js} +1 -1
- package/dist/webcomponents/p-bf195b35.js +1 -0
- package/dist/webcomponents/{p-e60867c6.js → p-bfc2d88a.js} +1 -1
- package/dist/webcomponents/p-c4f8ed38.js +1 -0
- package/dist/webcomponents/{p-b5addd78.js → p-c8b78136.js} +1 -1
- package/dist/webcomponents/p-c8fa00fd.entry.js +1 -0
- package/dist/webcomponents/p-c93d643b.js +1 -0
- package/dist/webcomponents/p-cc2f75a3.entry.js +1 -0
- package/dist/webcomponents/p-ccb9ee53.js +1 -0
- package/dist/webcomponents/{p-ee9d433f.js → p-cd5883b9.js} +1 -1
- package/dist/webcomponents/p-cedad1b6.entry.js +1 -0
- package/dist/webcomponents/{p-8fad4359.entry.js → p-d70610de.entry.js} +1 -1
- package/dist/webcomponents/p-d757fcf5.js +1 -0
- package/dist/webcomponents/p-d7bf921d.entry.js +1 -0
- package/dist/webcomponents/{p-10a14943.entry.js → p-d903d838.entry.js} +1 -1
- package/dist/webcomponents/{p-5efe9572.entry.js → p-d9b5140e.entry.js} +1 -1
- package/dist/webcomponents/{p-fd4607f9.entry.js → p-d9dc15d4.entry.js} +1 -1
- package/dist/webcomponents/p-db973fa9.entry.js +1 -0
- package/dist/webcomponents/p-dbc1a95b.js +1 -0
- package/dist/webcomponents/{p-1e300d41.js → p-dbf21732.js} +1 -1
- package/dist/webcomponents/{p-e754d8e7.entry.js → p-ddb642a4.entry.js} +2 -2
- package/dist/webcomponents/p-df20bbb3.entry.js +1 -0
- package/dist/webcomponents/p-e9867f8b.entry.js +1 -0
- package/dist/webcomponents/p-ed9d22d5.entry.js +1 -0
- package/dist/webcomponents/p-ee539373.entry.js +1 -0
- package/dist/webcomponents/{p-685c7028.entry.js → p-f20466f7.entry.js} +1 -1
- package/dist/webcomponents/p-f247b169.entry.js +1 -0
- package/dist/webcomponents/p-f930504f.entry.js +1 -0
- package/dist/webcomponents/p-fc43d1c8.entry.js +1 -0
- package/dist/webcomponents/{p-e8fc36c1.entry.js → p-fca89e9b.entry.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +2 -2
- package/dist/cjs/form-control-select_3.cjs.entry.js +0 -145
- package/dist/cjs/justifi-refund-form.cjs.entry.js +0 -106
- package/dist/collection/components/refund-form/refund-form-schema.js +0 -13
- package/dist/collection/components/refund-form/refund-form.stories.js +0 -109
- package/dist/esm/form-control-select_3.entry.js +0 -139
- package/dist/esm/justifi-refund-form.entry.js +0 -102
- package/dist/module/justifi-refund-form.d.ts +0 -11
- package/dist/module/justifi-refund-form.js +0 -153
- package/dist/types/components/refund-form/refund-form-schema.d.ts +0 -11
- package/dist/types/components/refund-form/refund-form.stories.d.ts +0 -27
- package/dist/webcomponents/p-0137575f.entry.js +0 -1
- package/dist/webcomponents/p-039a09b8.entry.js +0 -1
- package/dist/webcomponents/p-0ba77d53.entry.js +0 -1
- package/dist/webcomponents/p-0c22225c.entry.js +0 -1
- package/dist/webcomponents/p-10e32428.entry.js +0 -1
- package/dist/webcomponents/p-1705af62.js +0 -1
- package/dist/webcomponents/p-19b8c3c8.entry.js +0 -1
- package/dist/webcomponents/p-1a48d917.entry.js +0 -1
- package/dist/webcomponents/p-222fa126.entry.js +0 -1
- package/dist/webcomponents/p-33a17e80.entry.js +0 -1
- package/dist/webcomponents/p-34e18d17.entry.js +0 -1
- package/dist/webcomponents/p-36edba41.entry.js +0 -1
- package/dist/webcomponents/p-3732aa87.js +0 -1
- package/dist/webcomponents/p-382ab4e8.js +0 -1
- package/dist/webcomponents/p-3cbdca1b.js +0 -1
- package/dist/webcomponents/p-4d5c553d.entry.js +0 -1
- package/dist/webcomponents/p-5844a0f0.js +0 -1
- package/dist/webcomponents/p-5ee67fad.js +0 -1
- package/dist/webcomponents/p-638b91ff.entry.js +0 -1
- package/dist/webcomponents/p-6a2d6298.entry.js +0 -1
- package/dist/webcomponents/p-759f25a1.entry.js +0 -1
- package/dist/webcomponents/p-7dc9fb75.js +0 -1
- package/dist/webcomponents/p-7e93eac9.entry.js +0 -1
- package/dist/webcomponents/p-830f0971.entry.js +0 -1
- package/dist/webcomponents/p-833ef79e.entry.js +0 -1
- package/dist/webcomponents/p-9dc9aaba.js +0 -1
- package/dist/webcomponents/p-9f1a3199.js +0 -1
- package/dist/webcomponents/p-a07afdcc.entry.js +0 -1
- package/dist/webcomponents/p-a3d75257.js +0 -1
- package/dist/webcomponents/p-a957612b.entry.js +0 -1
- package/dist/webcomponents/p-aa21cdb1.entry.js +0 -1
- package/dist/webcomponents/p-aa923138.entry.js +0 -1
- package/dist/webcomponents/p-ad473d5c.entry.js +0 -1
- package/dist/webcomponents/p-b11468b5.entry.js +0 -1
- package/dist/webcomponents/p-b4ed5a2c.js +0 -1
- package/dist/webcomponents/p-b62403c2.entry.js +0 -1
- package/dist/webcomponents/p-b76f755a.entry.js +0 -1
- package/dist/webcomponents/p-b8ee505d.entry.js +0 -1
- package/dist/webcomponents/p-b92f125b.entry.js +0 -1
- package/dist/webcomponents/p-bd2340f7.entry.js +0 -1
- package/dist/webcomponents/p-bd2d9d29.entry.js +0 -1
- package/dist/webcomponents/p-bdf0ab42.js +0 -1
- package/dist/webcomponents/p-c406c0fa.js +0 -1
- package/dist/webcomponents/p-c5cc443e.entry.js +0 -1
- package/dist/webcomponents/p-d43a38a4.js +0 -1
- package/dist/webcomponents/p-d5a481e4.entry.js +0 -1
- package/dist/webcomponents/p-e366ef1e.js +0 -1
- package/dist/webcomponents/p-e400e31f.entry.js +0 -1
- package/dist/webcomponents/p-eb05bd1e.entry.js +0 -1
- package/dist/webcomponents/p-ede13cc8.js +0 -1
- package/dist/webcomponents/p-f04dbd80.entry.js +0 -1
- package/dist/webcomponents/p-f2111e68.js +0 -1
- package/dist/webcomponents/p-f30cb232.js +0 -1
- package/dist/webcomponents/p-fae67ab3.js +0 -1
- package/dist/webcomponents/p-ffd0c24b.entry.js +0 -1
- /package/dist/types/components/{billing-forms → checkout/billing-forms}/billing-form-schema.d.ts +0 -0
- /package/dist/types/components/{billing-forms → checkout/billing-forms}/billing-form-wrapper.d.ts +0 -0
- /package/dist/types/{components → ui-components}/pagination-menu/pagination-menu.d.ts +0 -0
|
@@ -5,7 +5,6 @@ import './details.js';
|
|
|
5
5
|
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
|
|
6
6
|
import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './ComponentError.js';
|
|
7
7
|
import { B as BusinessService } from './business.service.js';
|
|
8
|
-
import { E as ErrorState } from './utils.js';
|
|
9
8
|
import { a as Business } from './Business.js';
|
|
10
9
|
import { m as makeGetBusiness } from './get-business.js';
|
|
11
10
|
import { S as Skeleton } from './skeleton.js';
|
|
@@ -57,10 +56,10 @@ const TerminalSelectorLoading = () => {
|
|
|
57
56
|
h(Skeleton, null)))))));
|
|
58
57
|
};
|
|
59
58
|
|
|
60
|
-
const makeGetTerminalModels = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
|
|
59
|
+
const makeGetTerminalModels = ({ id, authToken, service, apiOrigin }) => async ({ onSuccess, onError }) => {
|
|
61
60
|
var _a, _b, _c, _d;
|
|
62
61
|
try {
|
|
63
|
-
const response = await service.fetchTerminalModels(id, authToken);
|
|
62
|
+
const response = await service.fetchTerminalModels(id, authToken, apiOrigin);
|
|
64
63
|
if (!response.error) {
|
|
65
64
|
const terminals = ((_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.terminal_order_models) === null || _b === void 0 ? void 0 : _b.map((dataItem) => new TerminalModel(dataItem))) || [];
|
|
66
65
|
const orderLimit = (_c = response.data) === null || _c === void 0 ? void 0 : _c.order_limit;
|
|
@@ -86,10 +85,10 @@ const makeGetTerminalModels = ({ id, authToken, service }) => async ({ onSuccess
|
|
|
86
85
|
}
|
|
87
86
|
};
|
|
88
87
|
|
|
89
|
-
const makeOrderTerminals = ({ authToken, service }) => async ({ terminalOrder, onSuccess, onError }) => {
|
|
88
|
+
const makeOrderTerminals = ({ authToken, service, apiOrigin = "https://wc-proxy.justifi.ai" }) => async ({ terminalOrder, onSuccess, onError }) => {
|
|
90
89
|
var _a;
|
|
91
90
|
try {
|
|
92
|
-
const response = await service.orderTerminals(authToken, terminalOrder);
|
|
91
|
+
const response = await service.orderTerminals(authToken, terminalOrder, apiOrigin);
|
|
93
92
|
if (!response.error) {
|
|
94
93
|
const { data } = response;
|
|
95
94
|
onSuccess({ data });
|
|
@@ -125,6 +124,7 @@ const OrderTerminals = /*@__PURE__*/ proxyCustomElement(class OrderTerminals ext
|
|
|
125
124
|
this.authToken = undefined;
|
|
126
125
|
this.accountId = undefined;
|
|
127
126
|
this.shipping = false;
|
|
127
|
+
this.apiOrigin = "https://wc-proxy.justifi.ai";
|
|
128
128
|
this.loading = {
|
|
129
129
|
business: true,
|
|
130
130
|
terminals: true,
|
|
@@ -140,7 +140,7 @@ const OrderTerminals = /*@__PURE__*/ proxyCustomElement(class OrderTerminals ext
|
|
|
140
140
|
componentWillLoad() {
|
|
141
141
|
this.order = new TerminalOrder({
|
|
142
142
|
business_id: this.businessId,
|
|
143
|
-
|
|
143
|
+
sub_account_id: this.accountId,
|
|
144
144
|
order_type: this.shipping ? TerminalOrderType.boardingShipping : TerminalOrderType.boardingOnly,
|
|
145
145
|
});
|
|
146
146
|
checkPkgVersion();
|
|
@@ -164,6 +164,7 @@ const OrderTerminals = /*@__PURE__*/ proxyCustomElement(class OrderTerminals ext
|
|
|
164
164
|
id: this.businessId,
|
|
165
165
|
authToken: this.authToken,
|
|
166
166
|
service: new BusinessService(),
|
|
167
|
+
apiOrigin: this.apiOrigin,
|
|
167
168
|
})({
|
|
168
169
|
onSuccess: ({ business }) => {
|
|
169
170
|
this.business = new Business(business);
|
|
@@ -180,6 +181,7 @@ const OrderTerminals = /*@__PURE__*/ proxyCustomElement(class OrderTerminals ext
|
|
|
180
181
|
id: this.accountId,
|
|
181
182
|
authToken: this.authToken,
|
|
182
183
|
service: new TerminalService(),
|
|
184
|
+
apiOrigin: this.apiOrigin,
|
|
183
185
|
})({
|
|
184
186
|
onSuccess: ({ terminals, orderLimit }) => {
|
|
185
187
|
this.terminalModels = terminals;
|
|
@@ -196,6 +198,7 @@ const OrderTerminals = /*@__PURE__*/ proxyCustomElement(class OrderTerminals ext
|
|
|
196
198
|
const orderTerminals = makeOrderTerminals({
|
|
197
199
|
authToken: this.authToken,
|
|
198
200
|
service: new TerminalService(),
|
|
201
|
+
apiOrigin: this.apiOrigin,
|
|
199
202
|
});
|
|
200
203
|
this.submitting = true;
|
|
201
204
|
orderTerminals({
|
|
@@ -217,11 +220,6 @@ const OrderTerminals = /*@__PURE__*/ proxyCustomElement(class OrderTerminals ext
|
|
|
217
220
|
renderLoading() {
|
|
218
221
|
return (h("div", null, this.loading.business && h(OrderTerminalsLoading, null), this.loading.terminals && (h("div", { class: "mt-5" }, h(TerminalSelectorLoading, null), h(TerminalSelectorLoading, null), h(TerminalSelectorLoading, null)))));
|
|
219
222
|
}
|
|
220
|
-
renderError() {
|
|
221
|
-
if (!this.loading.business && this.error) {
|
|
222
|
-
return ErrorState(this.error.message);
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
223
|
renderBusinessDetails() {
|
|
226
224
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
227
225
|
if (!this.loading.business && this.business) {
|
|
@@ -237,13 +235,14 @@ const OrderTerminals = /*@__PURE__*/ proxyCustomElement(class OrderTerminals ext
|
|
|
237
235
|
return (h("div", { class: "mt-3" }, h("div", { class: "text-end" }, "Order limit: ", this.orderLimit), h("div", { class: "d-flex justify-content-end mt-3" }, h("button", { class: "btn btn-primary submit-btn", onClick: this.submitOrder.bind(this), disabled: this.order.totalQuantity === 0 || this.submitting, part: buttonPrimary }, this.submitting ? 'Submitting...' : 'Submit Order'))));
|
|
238
236
|
}
|
|
239
237
|
render() {
|
|
240
|
-
return (h(StyledHost, { key: '
|
|
238
|
+
return (h(StyledHost, { key: 'c4f4ddf88c273123e746caa442ede71465643ec2' }, h("div", { key: 'e2535a1317272a7e9b3b5923963694a67c1d8dd6', part: text }, this.renderLoading(), this.renderBusinessDetails(), this.renderTerminals(), this.renderOrderSection())));
|
|
241
239
|
}
|
|
242
240
|
}, [1, "justifi-order-terminals", {
|
|
243
241
|
"businessId": [1, "business-id"],
|
|
244
242
|
"authToken": [1, "auth-token"],
|
|
245
243
|
"accountId": [1, "account-id"],
|
|
246
244
|
"shipping": [4],
|
|
245
|
+
"apiOrigin": [1, "api-origin"],
|
|
247
246
|
"loading": [32],
|
|
248
247
|
"submitting": [32],
|
|
249
248
|
"error": [32],
|
|
@@ -11,7 +11,7 @@ import { d as defineCustomElement$v } from './custom-popper2.js';
|
|
|
11
11
|
import { d as defineCustomElement$u } from './form-control-checkbox2.js';
|
|
12
12
|
import { d as defineCustomElement$t } from './form-control-date2.js';
|
|
13
13
|
import { d as defineCustomElement$s } from './form-control-file2.js';
|
|
14
|
-
import { d as defineCustomElement$r } from './form-control-
|
|
14
|
+
import { d as defineCustomElement$r } from './form-control-monetary-provisioning2.js';
|
|
15
15
|
import { d as defineCustomElement$q } from './form-control-number-masked2.js';
|
|
16
16
|
import { d as defineCustomElement$p } from './form-control-select2.js';
|
|
17
17
|
import { d as defineCustomElement$o } from './form-control-text2.js';
|
|
@@ -96,7 +96,7 @@ const PaymentProvisioning = /*@__PURE__*/ proxyCustomElement(class PaymentProvis
|
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
render() {
|
|
99
|
-
return (h("justifi-payment-provisioning-core", { key: '
|
|
99
|
+
return (h("justifi-payment-provisioning-core", { key: 'ab584a720ecfc7ec4e68082fefadeb11fd2884d2', businessId: this.businessId, authToken: this.authToken, allowOptionalFields: this.allowOptionalFields, formTitle: this.formTitle, getBusiness: this.getBusiness, postProvisioning: this.postProvisioning }));
|
|
100
100
|
}
|
|
101
101
|
static get watchers() { return {
|
|
102
102
|
"authToken": ["propChanged"],
|
|
@@ -117,7 +117,7 @@ function defineCustomElement$1() {
|
|
|
117
117
|
if (typeof customElements === "undefined") {
|
|
118
118
|
return;
|
|
119
119
|
}
|
|
120
|
-
const components = ["justifi-payment-provisioning", "bank-account-document-form-inputs", "bank-account-form-inputs", "business-documents-on-file", "custom-popper", "form-control-checkbox", "form-control-date", "form-control-file", "form-control-monetary", "form-control-number-masked", "form-control-select", "form-control-text", "form-control-tooltip", "justifi-additional-questions-form-step", "justifi-additional-questions-form-step-core", "justifi-business-bank-account-form-step", "justifi-business-bank-account-form-step-core", "justifi-business-core-info-form-step", "justifi-business-core-info-form-step-core", "justifi-business-owners-form-step", "justifi-business-owners-form-step-core", "justifi-business-representative-form-inputs", "justifi-business-representative-form-step", "justifi-business-representative-form-step-core", "justifi-business-terms-conditions-form-step", "justifi-identity-address-form", "justifi-legal-address-form-step", "justifi-legal-address-form-step-core", "justifi-owner-form", "justifi-payment-provisioning-core", "justifi-payment-provisioning-form-buttons", "justifi-payment-provisioning-form-steps", "owner-form-core", "owner-form-inputs"];
|
|
120
|
+
const components = ["justifi-payment-provisioning", "bank-account-document-form-inputs", "bank-account-form-inputs", "business-documents-on-file", "custom-popper", "form-control-checkbox", "form-control-date", "form-control-file", "form-control-monetary-provisioning", "form-control-number-masked", "form-control-select", "form-control-text", "form-control-tooltip", "justifi-additional-questions-form-step", "justifi-additional-questions-form-step-core", "justifi-business-bank-account-form-step", "justifi-business-bank-account-form-step-core", "justifi-business-core-info-form-step", "justifi-business-core-info-form-step-core", "justifi-business-owners-form-step", "justifi-business-owners-form-step-core", "justifi-business-representative-form-inputs", "justifi-business-representative-form-step", "justifi-business-representative-form-step-core", "justifi-business-terms-conditions-form-step", "justifi-identity-address-form", "justifi-legal-address-form-step", "justifi-legal-address-form-step-core", "justifi-owner-form", "justifi-payment-provisioning-core", "justifi-payment-provisioning-form-buttons", "justifi-payment-provisioning-form-steps", "owner-form-core", "owner-form-inputs"];
|
|
121
121
|
components.forEach(tagName => { switch (tagName) {
|
|
122
122
|
case "justifi-payment-provisioning":
|
|
123
123
|
if (!customElements.get(tagName)) {
|
|
@@ -159,7 +159,7 @@ function defineCustomElement$1() {
|
|
|
159
159
|
defineCustomElement$s();
|
|
160
160
|
}
|
|
161
161
|
break;
|
|
162
|
-
case "form-control-monetary":
|
|
162
|
+
case "form-control-monetary-provisioning":
|
|
163
163
|
if (!customElements.get(tagName)) {
|
|
164
164
|
defineCustomElement$r();
|
|
165
165
|
}
|
|
@@ -59,8 +59,8 @@ const PaymentsListFilters = /*@__PURE__*/ proxyCustomElement(class PaymentsListF
|
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
61
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
62
|
-
return (h(StyledHost, { key: '
|
|
63
|
-
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterPaymentsListFilterParam })), h("div", { key: '
|
|
62
|
+
return (h(StyledHost, { key: 'c213f44219409851784f62f38932d6165e933e2a' }, h("table-filters-menu", { key: 'b0f67131ad7812cf51e475809c4e6b1d57577cf1', params: filterMenuParams, clearParams: clearParams, part: paymentsListFilterMenu }, h("div", { key: '8d259cfe28fdeb67096383c317392f99642b4266', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'a593eae6541085b1d2ad46e8fac7a5e53c11c38e', class: "p-2" }, h("form-control-text", { key: 'a32b07e6635bbc31c2ca11e91cd3f95edf558cb1', name: "payment_id", label: "Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.paymentId || filterParams.payment_id, disabled: !!this.paymentId, part: paymentIdPaymentsListFilterParam })), h("div", { key: '989e3f4d1f48549210e982e2c55329841bdd1926', class: "p-2" }, h("form-control-text", { key: 'a54152f1052642448ccd1e50561af65c32d976bf', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdPaymentsListFilterParam })), h("div", { key: 'f5d484ca692420c508c8c33392a73ed84544ab97', class: "p-2" }, h("form-control-select", { key: '1f8d609f065cae6830b28ce268fb299eff9bf549', name: "payment_status", label: "Status", options: this.paymentStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentStatus || filterParams.payment_status, disabled: !!this.paymentStatus, part: paymentStatusPaymentsListFilterParam })), h("div", { key: '8db078f3a5272b61f3843119b4da4344df70e02d', class: "p-2" }, h("form-control-date", { key: '6e20e715d77f116f93484d417a0ac1c95d0e9a5e', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
|
|
63
|
+
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterPaymentsListFilterParam })), h("div", { key: '5a011a17767ad4cfd89a40b0f3d77ec92df433b3', class: "p-2" }, h("form-control-date", { key: '5064f46b779239aabc5d0fcb11479634e14e050d', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
|
|
64
64
|
convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: createdBeforePaymentsListFilterParam }))))));
|
|
65
65
|
}
|
|
66
66
|
}, [1, "justifi-payments-list-filters", {
|
|
@@ -92,7 +92,7 @@ const PaymentsList = /*@__PURE__*/ proxyCustomElement(class PaymentsList extends
|
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
render() {
|
|
95
|
-
return (h(StyledHost, { key: '
|
|
95
|
+
return (h(StyledHost, { key: '6882456e9e7af8dd5e8023cf649d967551689c20' }, h("payments-list-core", { key: '7df305455ba20e2eede8c5146edb5db2e7c412c8', getPayments: this.getPayments, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
96
96
|
}
|
|
97
97
|
static get watchers() { return {
|
|
98
98
|
"accountId": ["propChanged"],
|
|
@@ -37,8 +37,8 @@ const PayoutsListFilters = /*@__PURE__*/ proxyCustomElement(class PayoutsListFil
|
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
39
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
40
|
-
return (h(StyledHost, { key: '
|
|
41
|
-
convertToLocal(filterParams.created_after, { showInputDate: true }), disabled: !!this.createdAfter, part: createdAfterPayoutsListFilterParam })), h("div", { key: '
|
|
40
|
+
return (h(StyledHost, { key: '30857b318a635a1420f56799c572f39da85d6317' }, h("table-filters-menu", { key: 'c3b0bdc3d50d9cc3e2cef3adfbba7f0fe7539044', params: filterMenuParams, clearParams: clearParams, part: payoutsListFilterMenu }, h("div", { key: '9be791ebd77eb197e18e7663c30fa2a12c1e9a4f', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '3e172e7f255b4e78b48cb03d2b921b01fdefc4b0', class: "p-2" }, h("form-control-date", { key: '875f2202358370bec6df4b724dbc2db7070b1ff7', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDate: true }) ||
|
|
41
|
+
convertToLocal(filterParams.created_after, { showInputDate: true }), disabled: !!this.createdAfter, part: createdAfterPayoutsListFilterParam })), h("div", { key: 'ce324f47aa1b38b6d24f200a7b468076c6998faf', class: "p-2" }, h("form-control-date", { key: '3d2543d40d2f3ac60c7f3f09d905c102425dffc6', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDate: true }) ||
|
|
42
42
|
convertToLocal(filterParams.created_before, { showInputDate: true }), disabled: !!this.createdBefore, part: createdBeforePayoutsListFilterParam }))))));
|
|
43
43
|
}
|
|
44
44
|
}, [1, "justifi-payouts-list-filters", {
|
|
@@ -114,7 +114,7 @@ const PayoutsList = /*@__PURE__*/ proxyCustomElement(class PayoutsList extends H
|
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
render() {
|
|
117
|
-
return (h(StyledHost, { key: '
|
|
117
|
+
return (h(StyledHost, { key: '434171dee57c7d639a894133b36f7dc727e28381', exportedparts: tableExportedParts }, h("payouts-list-core", { key: 'e4ed849e1c839dcdd3990a1b64d2bd132cda86f8', getPayouts: this.getPayouts, getPayoutCSV: this.getPayoutCSV, getSubAccounts: this.getSubAccounts, "onError-event": this.handleOnError, columns: this.columns })));
|
|
118
118
|
}
|
|
119
119
|
static get watchers() { return {
|
|
120
120
|
"accountId": ["propChanged"],
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface JustifiRefundPayment extends Components.JustifiRefundPayment, HTMLElement {}
|
|
4
|
+
export const JustifiRefundPayment: {
|
|
5
|
+
prototype: JustifiRefundPayment;
|
|
6
|
+
new (): JustifiRefundPayment;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { c as create$3, a as create$6, F as FormController } from './form.js';
|
|
3
|
+
import { f as formatCurrency } from './utils2.js';
|
|
4
|
+
import { A as Api } from './Api.js';
|
|
5
|
+
import './ComponentError.js';
|
|
6
|
+
import './Checkout.js';
|
|
7
|
+
import './Pagination.js';
|
|
8
|
+
import './Payment.js';
|
|
9
|
+
import './SubAccount.js';
|
|
10
|
+
import './Document.js';
|
|
11
|
+
import { S as StyledHost } from './styled-host.js';
|
|
12
|
+
import { H as Header1 } from './header-1.js';
|
|
13
|
+
import './details.js';
|
|
14
|
+
import { d as defineCustomElement$7 } from './custom-popper2.js';
|
|
15
|
+
import { d as defineCustomElement$6 } from './form-control-help-text3.js';
|
|
16
|
+
import { d as defineCustomElement$5 } from './form-control-monetary2.js';
|
|
17
|
+
import { d as defineCustomElement$4 } from './form-control-select2.js';
|
|
18
|
+
import { d as defineCustomElement$3 } from './form-control-textarea2.js';
|
|
19
|
+
import { d as defineCustomElement$2 } from './form-control-tooltip2.js';
|
|
20
|
+
|
|
21
|
+
const RefundPaymentSchema = (maxRefundAmount) => {
|
|
22
|
+
const maxAmount = +maxRefundAmount;
|
|
23
|
+
return create$3().shape({
|
|
24
|
+
amount: create$6()
|
|
25
|
+
.required('Amount is required')
|
|
26
|
+
.typeError('Amount must be a number')
|
|
27
|
+
.test('amount', `Refund amount cannot be more than ${formatCurrency(maxAmount)}`, function (value) {
|
|
28
|
+
return +value <= maxAmount;
|
|
29
|
+
})
|
|
30
|
+
.nullable(),
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
const refundReasonOptions = [
|
|
35
|
+
{
|
|
36
|
+
label: 'Select a reason',
|
|
37
|
+
value: '',
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
label: 'Customer requested a refund',
|
|
41
|
+
value: 'customer_request',
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
label: 'Customer was double-charged',
|
|
45
|
+
value: 'duplicate',
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
label: 'Payment was reported as fraud',
|
|
49
|
+
value: 'fraudulent',
|
|
50
|
+
}
|
|
51
|
+
];
|
|
52
|
+
|
|
53
|
+
const RefundPayment = /*@__PURE__*/ proxyCustomElement(class RefundPayment extends HTMLElement {
|
|
54
|
+
constructor() {
|
|
55
|
+
super();
|
|
56
|
+
this.__registerHost();
|
|
57
|
+
this.__attachShadow();
|
|
58
|
+
this.submitted = createEvent(this, "submitted", 7);
|
|
59
|
+
this.authToken = undefined;
|
|
60
|
+
this.paymentId = undefined;
|
|
61
|
+
this.paymentAmountRefundable = 0;
|
|
62
|
+
this.withButton = undefined;
|
|
63
|
+
this.errors = {};
|
|
64
|
+
this.values = {};
|
|
65
|
+
this.isSubmitting = false;
|
|
66
|
+
}
|
|
67
|
+
componentWillLoad() {
|
|
68
|
+
this.formController = new FormController(RefundPaymentSchema(this.paymentAmountRefundable.toString()));
|
|
69
|
+
this.initializeApi();
|
|
70
|
+
}
|
|
71
|
+
componentDidLoad() {
|
|
72
|
+
this.formController.errors.subscribe(errors => {
|
|
73
|
+
this.errors = Object.assign({}, errors);
|
|
74
|
+
});
|
|
75
|
+
this.formController.values.subscribe(values => {
|
|
76
|
+
this.values = Object.assign({}, values);
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Handles the form submission.
|
|
81
|
+
* Prevents the default form action, validates the form, and emits the 'submitted' event.
|
|
82
|
+
*/
|
|
83
|
+
async handleSubmit(event) {
|
|
84
|
+
event.preventDefault();
|
|
85
|
+
this.formController.validateAndSubmit(this.submitRefund);
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Submits the refund request to the API.
|
|
89
|
+
*/
|
|
90
|
+
async submitRefund(values) {
|
|
91
|
+
this.isSubmitting = true;
|
|
92
|
+
try {
|
|
93
|
+
const response = await this.api.post(`payments/${this.paymentId}/refunds`, values);
|
|
94
|
+
this.submitted.emit(response);
|
|
95
|
+
}
|
|
96
|
+
catch (error) {
|
|
97
|
+
console.error('Error submitting refund:', error);
|
|
98
|
+
this.submitted.emit(error);
|
|
99
|
+
}
|
|
100
|
+
finally {
|
|
101
|
+
this.isSubmitting = false;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Handles input changes, updating the refundFields state.
|
|
106
|
+
*/
|
|
107
|
+
handleInput(field, value) {
|
|
108
|
+
this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [field]: value }));
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Initializes the API with the given authentication token.
|
|
112
|
+
* Logs a warning if the auth token is missing.
|
|
113
|
+
*/
|
|
114
|
+
initializeApi() {
|
|
115
|
+
if (!this.authToken) {
|
|
116
|
+
console.warn('Warning: Missing auth-token.');
|
|
117
|
+
}
|
|
118
|
+
this.api = Api({ authToken: this.authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
|
|
119
|
+
}
|
|
120
|
+
render() {
|
|
121
|
+
return (h(StyledHost, { key: 'f9aa3650a61fce55ce094e48cb23cc62caf4c434' }, h(Header1, { key: 'def40858b3cf9188362848703e6425cc1273b1ee', text: "Refund Payment", class: "fs-5 fw-bold pb-3" }), h("form", { key: '20fcdff2467713eb3502959d0186de900a400207', onSubmit: e => this.handleSubmit(e), class: "d-grid gap-4" }, h("div", { key: '5e838c432e5e0fafdfd153de327548a2d2d7f388', class: "form-group" }, h("form-control-monetary", { key: '151d529e7422073da4244f9bc81166f6a54ad9b0', name: "amount", label: "Refund Amount", inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.amount, defaultValue: this.paymentAmountRefundable.toString() })), h("div", { key: '7d69e721b5f346d854f8b1914199c56fb062694d', class: "form-group" }, h("form-control-select", { key: '791d41bf86e856a7694afb0db20607ba792459b9', label: "Reason for refund (optional)", options: refundReasonOptions, name: "reason", defaultValue: '' })), h("div", { key: 'b8a67a5d091ad11a410d157cf6706023b3af139c', class: "form-group" }, h("form-control-textarea", { key: 'eee0ab29c728a64435c2836361eb2c2645fce1ea', name: "description", label: "Note (optional)", inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.description, maxLength: 250 })), this.withButton && (h("div", { key: '3504774504825ffdace54ebf41f496aa58395648', class: "form-group d-flex flex-row-reverse" }, h("button", { key: '27179c019afbec3d136c959657e6e6cbec892a27', type: "submit", disabled: !!this.isSubmitting, class: "btn btn-primary ml-auto" }, `Refund ${formatCurrency(+this.values.amount)}`))))));
|
|
122
|
+
}
|
|
123
|
+
}, [1, "justifi-refund-payment", {
|
|
124
|
+
"authToken": [1, "auth-token"],
|
|
125
|
+
"paymentId": [1, "payment-id"],
|
|
126
|
+
"paymentAmountRefundable": [2, "payment-amount-refundable"],
|
|
127
|
+
"withButton": [4, "with-button"],
|
|
128
|
+
"errors": [32],
|
|
129
|
+
"values": [32],
|
|
130
|
+
"isSubmitting": [32]
|
|
131
|
+
}]);
|
|
132
|
+
function defineCustomElement$1() {
|
|
133
|
+
if (typeof customElements === "undefined") {
|
|
134
|
+
return;
|
|
135
|
+
}
|
|
136
|
+
const components = ["justifi-refund-payment", "custom-popper", "form-control-help-text", "form-control-monetary", "form-control-select", "form-control-textarea", "form-control-tooltip"];
|
|
137
|
+
components.forEach(tagName => { switch (tagName) {
|
|
138
|
+
case "justifi-refund-payment":
|
|
139
|
+
if (!customElements.get(tagName)) {
|
|
140
|
+
customElements.define(tagName, RefundPayment);
|
|
141
|
+
}
|
|
142
|
+
break;
|
|
143
|
+
case "custom-popper":
|
|
144
|
+
if (!customElements.get(tagName)) {
|
|
145
|
+
defineCustomElement$7();
|
|
146
|
+
}
|
|
147
|
+
break;
|
|
148
|
+
case "form-control-help-text":
|
|
149
|
+
if (!customElements.get(tagName)) {
|
|
150
|
+
defineCustomElement$6();
|
|
151
|
+
}
|
|
152
|
+
break;
|
|
153
|
+
case "form-control-monetary":
|
|
154
|
+
if (!customElements.get(tagName)) {
|
|
155
|
+
defineCustomElement$5();
|
|
156
|
+
}
|
|
157
|
+
break;
|
|
158
|
+
case "form-control-select":
|
|
159
|
+
if (!customElements.get(tagName)) {
|
|
160
|
+
defineCustomElement$4();
|
|
161
|
+
}
|
|
162
|
+
break;
|
|
163
|
+
case "form-control-textarea":
|
|
164
|
+
if (!customElements.get(tagName)) {
|
|
165
|
+
defineCustomElement$3();
|
|
166
|
+
}
|
|
167
|
+
break;
|
|
168
|
+
case "form-control-tooltip":
|
|
169
|
+
if (!customElements.get(tagName)) {
|
|
170
|
+
defineCustomElement$2();
|
|
171
|
+
}
|
|
172
|
+
break;
|
|
173
|
+
} });
|
|
174
|
+
}
|
|
175
|
+
defineCustomElement$1();
|
|
176
|
+
|
|
177
|
+
const JustifiRefundPayment = RefundPayment;
|
|
178
|
+
const defineCustomElement = defineCustomElement$1;
|
|
179
|
+
|
|
180
|
+
export { JustifiRefundPayment, defineCustomElement };
|
|
@@ -133,7 +133,7 @@ const SeasonInterruptionInsurance = /*@__PURE__*/ proxyCustomElement(class Seaso
|
|
|
133
133
|
});
|
|
134
134
|
}
|
|
135
135
|
render() {
|
|
136
|
-
return (h("justifi-season-interruption-insurance-core", { key: '
|
|
136
|
+
return (h("justifi-season-interruption-insurance-core", { key: 'e1826234d0f2daf33b983a76f36bd652454c77fa', ref: (el) => (this.seasonInterruptionCoreRef = el), "checkout-id": this.checkoutId, getQuote: this.getQuote, toggleCoverage: this.toggleCoverage, "primary-identity-first-name": this.primaryIdentityFirstName, "primary-identity-last-name": this.primaryIdentityLastName, "primary-identity-state": this.primaryIdentityState, "primary-identity-postal-code": this.primaryIdentityPostalCode, "primary-identity-country": this.primaryIdentityCountry, "primary-identity-email-address": this.primaryIdentityEmailAddress, "policy-attributes-insurable-amount": this.policyAttributesInsurableAmount, "policy-attributes-start-date": this.policyAttributesStartDate, "policy-attributes-end-date": this.policyAttributesEndDate, "covered-identity-first-name": this.coveredIdentityFirstName, "covered-identity-last-name": this.coveredIdentityLastName }));
|
|
137
137
|
}
|
|
138
138
|
}, [1, "justifi-season-interruption-insurance", {
|
|
139
139
|
"authToken": [1, "auth-token"],
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface JustifiTerminalOrdersListFilters extends Components.JustifiTerminalOrdersListFilters, HTMLElement {}
|
|
4
|
+
export const JustifiTerminalOrdersListFilters: {
|
|
5
|
+
prototype: JustifiTerminalOrdersListFilters;
|
|
6
|
+
new (): JustifiTerminalOrdersListFilters;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { f as filterParams, p as propsParams, c as clearParams } from './terminal-orders-list-params-state.js';
|
|
3
|
+
import { ae as terminalOrdersListFilterMenu, af as orderStatusTerminalOrdersListFilterParam, ag as orderTypeTerminalOrdersListFilterParam, ah as createdAfterTerminalOrdersListFilterParam, ai as createdBeforeTerminalOrdersListFilterParam } from './parts.js';
|
|
4
|
+
import { S as StyledHost } from './styled-host.js';
|
|
5
|
+
import './details.js';
|
|
6
|
+
import './ComponentError.js';
|
|
7
|
+
import './Checkout.js';
|
|
8
|
+
import './Pagination.js';
|
|
9
|
+
import './Payment.js';
|
|
10
|
+
import { c as TerminalOrderStatus, b as TerminalOrderType } from './SubAccount.js';
|
|
11
|
+
import './Document.js';
|
|
12
|
+
import { j as convertToUTC, h as convertToLocal } from './utils2.js';
|
|
13
|
+
import { d as defineCustomElement$6 } from './custom-popper2.js';
|
|
14
|
+
import { d as defineCustomElement$5 } from './form-control-date2.js';
|
|
15
|
+
import { d as defineCustomElement$4 } from './form-control-select2.js';
|
|
16
|
+
import { d as defineCustomElement$3 } from './form-control-tooltip2.js';
|
|
17
|
+
import { d as defineCustomElement$2 } from './table-filters-menu2.js';
|
|
18
|
+
|
|
19
|
+
const TerminalOrdersListFilters = /*@__PURE__*/ proxyCustomElement(class TerminalOrdersListFilters extends HTMLElement {
|
|
20
|
+
constructor() {
|
|
21
|
+
super();
|
|
22
|
+
this.__registerHost();
|
|
23
|
+
this.__attachShadow();
|
|
24
|
+
this.setParamsOnChange = (name, value) => {
|
|
25
|
+
filterParams[name] = value;
|
|
26
|
+
};
|
|
27
|
+
this.handleDateInput = (name, value) => {
|
|
28
|
+
const utcDate = convertToUTC(value, { setExactTime: true });
|
|
29
|
+
this.setParamsOnChange(name, utcDate);
|
|
30
|
+
};
|
|
31
|
+
this.orderStatus = undefined;
|
|
32
|
+
this.orderType = undefined;
|
|
33
|
+
this.createdAfter = undefined;
|
|
34
|
+
this.createdBefore = undefined;
|
|
35
|
+
}
|
|
36
|
+
componentWillLoad() {
|
|
37
|
+
const propsToSet = {
|
|
38
|
+
order_status: this.orderStatus,
|
|
39
|
+
order_type: this.orderType,
|
|
40
|
+
created_after: this.createdAfter,
|
|
41
|
+
created_before: this.createdBefore
|
|
42
|
+
};
|
|
43
|
+
Object.entries(propsToSet).forEach(([key, value]) => {
|
|
44
|
+
if (value) {
|
|
45
|
+
propsParams[key] = value;
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
get terminalOrderStatusOptions() {
|
|
50
|
+
return [
|
|
51
|
+
{ label: 'All', value: '' },
|
|
52
|
+
{ label: 'Created', value: TerminalOrderStatus.created },
|
|
53
|
+
{ label: 'Completed', value: TerminalOrderStatus.completed },
|
|
54
|
+
{ label: 'Submitted', value: TerminalOrderStatus.submitted },
|
|
55
|
+
];
|
|
56
|
+
}
|
|
57
|
+
get terminalOrderTypeOptions() {
|
|
58
|
+
return [
|
|
59
|
+
{ label: 'All', value: '' },
|
|
60
|
+
{ label: 'Boarding Only', value: TerminalOrderType.boardingOnly },
|
|
61
|
+
{ label: 'Boarding Shipping', value: TerminalOrderType.boardingShipping },
|
|
62
|
+
];
|
|
63
|
+
}
|
|
64
|
+
render() {
|
|
65
|
+
const filterMenuParams = Object.assign({}, filterParams);
|
|
66
|
+
return (h(StyledHost, { key: 'fa53c48c1a916781c8fffe7910f524ea334cdf27' }, h("table-filters-menu", { key: 'e8ba7a019f92234775acbaf2dafb817fb98f8d70', params: filterMenuParams, clearParams: clearParams, part: terminalOrdersListFilterMenu }, h("div", { key: '67e0b83350c37c7fa73f8e2808266fb8fda96838', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '08fd58b47b35fcb073b116c827ad2bb07c17f879', class: "p-2" }, h("form-control-select", { key: '1a6a468d37afb5a25d37e4f9e43d6bd23414c6a3', name: "order_status", label: "Order Status", options: this.terminalOrderStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.orderStatus || filterParams.order_status, disabled: !!this.orderStatus, part: orderStatusTerminalOrdersListFilterParam })), h("div", { key: '92c8b10d0c48811a63d0ed796637dfadb85b00c4', class: "p-2" }, h("form-control-select", { key: 'f8d7e96f8c0a9215ebb5b7a1f581b4dc60e5ad10', name: "order_type", label: "Order Type", options: this.terminalOrderTypeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.orderType || filterParams.order_type, disabled: !!this.orderType, part: orderTypeTerminalOrdersListFilterParam })), h("div", { key: '2d5b3262a022d3122d533ef7f7e886dec5c2b701', class: "p-2" }, h("form-control-date", { key: '4b1e799b9a99ce9046ea3a3e0b3249d566448ae6', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
|
|
67
|
+
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterTerminalOrdersListFilterParam })), h("div", { key: '93019260d2befe0ca3d99c17a769f2ebb1b6f07f', class: "p-2" }, h("form-control-date", { key: '3aba4879d8998c90a36f2fa5326c230792768403', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
|
|
68
|
+
convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: createdBeforeTerminalOrdersListFilterParam }))))));
|
|
69
|
+
}
|
|
70
|
+
}, [1, "justifi-terminal-orders-list-filters", {
|
|
71
|
+
"orderStatus": [1, "order-status"],
|
|
72
|
+
"orderType": [1, "order-type"],
|
|
73
|
+
"createdAfter": [1, "created-after"],
|
|
74
|
+
"createdBefore": [1, "created-before"]
|
|
75
|
+
}]);
|
|
76
|
+
function defineCustomElement$1() {
|
|
77
|
+
if (typeof customElements === "undefined") {
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
const components = ["justifi-terminal-orders-list-filters", "custom-popper", "form-control-date", "form-control-select", "form-control-tooltip", "table-filters-menu"];
|
|
81
|
+
components.forEach(tagName => { switch (tagName) {
|
|
82
|
+
case "justifi-terminal-orders-list-filters":
|
|
83
|
+
if (!customElements.get(tagName)) {
|
|
84
|
+
customElements.define(tagName, TerminalOrdersListFilters);
|
|
85
|
+
}
|
|
86
|
+
break;
|
|
87
|
+
case "custom-popper":
|
|
88
|
+
if (!customElements.get(tagName)) {
|
|
89
|
+
defineCustomElement$6();
|
|
90
|
+
}
|
|
91
|
+
break;
|
|
92
|
+
case "form-control-date":
|
|
93
|
+
if (!customElements.get(tagName)) {
|
|
94
|
+
defineCustomElement$5();
|
|
95
|
+
}
|
|
96
|
+
break;
|
|
97
|
+
case "form-control-select":
|
|
98
|
+
if (!customElements.get(tagName)) {
|
|
99
|
+
defineCustomElement$4();
|
|
100
|
+
}
|
|
101
|
+
break;
|
|
102
|
+
case "form-control-tooltip":
|
|
103
|
+
if (!customElements.get(tagName)) {
|
|
104
|
+
defineCustomElement$3();
|
|
105
|
+
}
|
|
106
|
+
break;
|
|
107
|
+
case "table-filters-menu":
|
|
108
|
+
if (!customElements.get(tagName)) {
|
|
109
|
+
defineCustomElement$2();
|
|
110
|
+
}
|
|
111
|
+
break;
|
|
112
|
+
} });
|
|
113
|
+
}
|
|
114
|
+
defineCustomElement$1();
|
|
115
|
+
|
|
116
|
+
const JustifiTerminalOrdersListFilters = TerminalOrdersListFilters;
|
|
117
|
+
const defineCustomElement = defineCustomElement$1;
|
|
118
|
+
|
|
119
|
+
export { JustifiTerminalOrdersListFilters, defineCustomElement };
|
|
@@ -95,7 +95,7 @@ const TerminalOrdersList = /*@__PURE__*/ proxyCustomElement(class TerminalOrders
|
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
render() {
|
|
98
|
-
return (h(StyledHost, { key: '
|
|
98
|
+
return (h(StyledHost, { key: 'beb7ebe2397c43c28b818133294b6c972d2834ac' }, h("terminal-orders-list-core", { key: '87db98176b2a462b9446170c348352958d4e3a05', getTerminalOrders: this.getTerminalOrders, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
99
99
|
}
|
|
100
100
|
}, [1, "justifi-terminal-orders-list", {
|
|
101
101
|
"accountId": [1, "account-id"],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { l as lodash } from './lodash.js';
|
|
3
3
|
import { f as filterParams, p as propsParams, c as clearParams } from './terminals-list-params-state.js';
|
|
4
|
-
import {
|
|
4
|
+
import { aj as terminalsListFilterMenu, ak as terminalIdTerminalsListFilterParam, al as terminalOrderIdTerminalsListFilterParam, am as terminalStatusTerminalsListFilterParam } from './parts.js';
|
|
5
5
|
import { S as StyledHost } from './styled-host.js';
|
|
6
6
|
import './details.js';
|
|
7
7
|
import './ComponentError.js';
|
|
@@ -25,6 +25,7 @@ const TerminalsListFilters = /*@__PURE__*/ proxyCustomElement(class TerminalsLis
|
|
|
25
25
|
filterParams[name] = value;
|
|
26
26
|
};
|
|
27
27
|
this.terminalId = undefined;
|
|
28
|
+
this.terminalOrderId = undefined;
|
|
28
29
|
this.terminalStatus = undefined;
|
|
29
30
|
}
|
|
30
31
|
componentWillLoad() {
|
|
@@ -33,6 +34,7 @@ const TerminalsListFilters = /*@__PURE__*/ proxyCustomElement(class TerminalsLis
|
|
|
33
34
|
const propsToSet = {
|
|
34
35
|
terminal_id: this.terminalId,
|
|
35
36
|
status: this.terminalStatus,
|
|
37
|
+
terminal_order_id: this.terminalOrderId
|
|
36
38
|
};
|
|
37
39
|
Object.entries(propsToSet).forEach(([key, value]) => {
|
|
38
40
|
if (value) {
|
|
@@ -46,14 +48,16 @@ const TerminalsListFilters = /*@__PURE__*/ proxyCustomElement(class TerminalsLis
|
|
|
46
48
|
{ label: 'Connected', value: ITerminalStatus.connected },
|
|
47
49
|
{ label: 'Disconnected', value: ITerminalStatus.disconnected },
|
|
48
50
|
{ label: 'Unknown', value: ITerminalStatus.unknown },
|
|
51
|
+
{ label: 'Pending Configuration', value: ITerminalStatus.pending_configuration }
|
|
49
52
|
];
|
|
50
53
|
}
|
|
51
54
|
render() {
|
|
52
55
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
53
|
-
return (h(StyledHost, { key: '
|
|
56
|
+
return (h(StyledHost, { key: '390b8788e785bc81711a1b0f68203fce5a348c4c' }, h("table-filters-menu", { key: 'ab37f284aad5b828c2a3d0ce78e5c49fe86c8ec7', params: filterMenuParams, clearParams: clearParams, part: terminalsListFilterMenu }, h("div", { key: '9f06d2199885d1cb8d9a4310fc94366717ca092c', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '146fb3fa0a146c8011e1fc609f885ec3de0af8bf', class: "p-2" }, h("form-control-text", { key: 'f9d33f3facd5af88761033256e9bcdee772d187b', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdTerminalsListFilterParam })), h("div", { key: '59b8af61f98c01e0cd04299780817b9a497d33bc', class: "p-2" }, h("form-control-text", { key: '80c6ed5f37f4429aac0451f1b2c76fd99c52d246', name: "terminal_order_id", label: "Terminal Order ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalOrderId || filterParams.terminal_order_id, disabled: !!this.terminalOrderId, part: terminalOrderIdTerminalsListFilterParam })), h("div", { key: '4452ff9cbeb157408fdd8569af5792d32f0d1aa9', class: "p-2" }, h("form-control-select", { key: '52406f154a9d5f7a01831047eedf09b909d1bc0d', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.terminalStatus || filterParams.status, disabled: !!this.terminalStatus, part: terminalStatusTerminalsListFilterParam }))))));
|
|
54
57
|
}
|
|
55
58
|
}, [1, "justifi-terminals-list-filters", {
|
|
56
59
|
"terminalId": [1, "terminal-id"],
|
|
60
|
+
"terminalOrderId": [1, "terminal-order-id"],
|
|
57
61
|
"terminalStatus": [1, "terminal-status"]
|
|
58
62
|
}]);
|
|
59
63
|
function defineCustomElement$1() {
|
|
@@ -5,7 +5,7 @@ import { T as TerminalService } from './terminal.service.js';
|
|
|
5
5
|
import './Checkout.js';
|
|
6
6
|
import './Pagination.js';
|
|
7
7
|
import './Payment.js';
|
|
8
|
-
import {
|
|
8
|
+
import { d as Terminal } from './SubAccount.js';
|
|
9
9
|
import './Document.js';
|
|
10
10
|
import { g as getErrorMessage, a as getErrorCode } from './utils4.js';
|
|
11
11
|
import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts.js';
|
|
@@ -105,7 +105,7 @@ const TerminalsList = /*@__PURE__*/ proxyCustomElement(class TerminalsList exten
|
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
render() {
|
|
108
|
-
return (h(StyledHost, { key: '
|
|
108
|
+
return (h(StyledHost, { key: '008b4bd549c228dbf8972e5ce08764c40e0b45a7' }, h("terminals-list-core", { key: 'e57f76fa1560c97d76068503b48e92a5fa9a02ec', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
109
109
|
}
|
|
110
110
|
static get watchers() { return {
|
|
111
111
|
"accountId": ["propChanged"],
|
|
@@ -83,7 +83,7 @@ const TokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class TokenizePay
|
|
|
83
83
|
this.paymentMethodOptionsRef.fillBillingForm(fields);
|
|
84
84
|
}
|
|
85
85
|
render() {
|
|
86
|
-
return (h(StyledHost, { key: '
|
|
86
|
+
return (h(StyledHost, { key: '270b2dce491c95fd6a372bf4e59d4829c91290fa' }, h("form", { key: '7e68afbac49260a92bb6c9e3bd08125129ab196c' }, h("fieldset", { key: '95f911fa066f7fea0b36e4c99cb1c5008b4a886d' }, h("div", { key: 'aec8576644731d5960a1e041960076c503aa4a17', class: "row gy-3" }, h("div", { key: '51436afb0c10e189d079226dd0a8e7b18580fd69', class: "col-12" }, h("justifi-payment-method-options", { key: '59777ac37f44bfe9ef98d3b22a6e485f06db303d', ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": false, paymentMethodGroupId: this.paymentMethodGroupId, "show-saved-payment-methods": false, hideCardBillingForm: this.hideCardBillingForm, authToken: this.authToken, "account-id": this.accountId, iframeOrigin: this.iframeOrigin })), h("div", { key: 'ef37939fb4d8e0225f98f0c3874a83206307f671', class: "col-12" }, h(Button, { key: '4b193d76ad540cae97a2423948e18d60f6db0679', variant: "primary", type: "submit", onClick: event => this.tokenizePaymentMethod(event), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.hideSubmitButton }, this.submitButtonText || 'Submit')))))));
|
|
87
87
|
}
|
|
88
88
|
}, [1, "justifi-tokenize-payment-method", {
|
|
89
89
|
"authToken": [1, "auth-token"],
|