@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
|
@@ -24,9 +24,10 @@ class TerminalService {
|
|
|
24
24
|
return api.get(endpoint, null, null, headers);
|
|
25
25
|
}
|
|
26
26
|
async orderTerminals(authToken, terminalOrder, apiOrigin = "") {
|
|
27
|
+
const headers = { 'sub-account': terminalOrder.sub_account_id };
|
|
27
28
|
const api = Api({ authToken, apiOrigin });
|
|
28
29
|
const endpoint = 'terminals/orders';
|
|
29
|
-
return api.post(endpoint, terminalOrder);
|
|
30
|
+
return api.post(endpoint, terminalOrder, null, null, headers);
|
|
30
31
|
}
|
|
31
32
|
}
|
|
32
33
|
|
|
@@ -9,6 +9,7 @@ import { o as tableHeadCell, q as getAlternateTableCellPart, n as table, p as ta
|
|
|
9
9
|
import { T as TableClickActions, a as Table, b as TableLoadingState, c as TableEmptyState, d as TableErrorState } from './event-types2.js';
|
|
10
10
|
import './details.js';
|
|
11
11
|
import { B as Badge, a as BadgeVariant } from './badge.js';
|
|
12
|
+
import { l as capitalFirstLetter } from './utils2.js';
|
|
12
13
|
import { o as onQueryParamsChange, g as getRequestParams } from './terminals-list-params-state.js';
|
|
13
14
|
import { d as defineCustomElement$1 } from './pagination-menu2.js';
|
|
14
15
|
|
|
@@ -29,6 +30,11 @@ const MapTerminalStatusToBadge = (status) => {
|
|
|
29
30
|
title: 'The status of this terminal is unknown',
|
|
30
31
|
text: 'Unknown',
|
|
31
32
|
},
|
|
33
|
+
pending_configuration: {
|
|
34
|
+
variant: BadgeVariant.WARNING,
|
|
35
|
+
title: 'This terminal is pending configuration',
|
|
36
|
+
text: 'Pending configuration',
|
|
37
|
+
},
|
|
32
38
|
};
|
|
33
39
|
const badgeProps = statusToBadgeProps[status];
|
|
34
40
|
return h(Badge, Object.assign({}, badgeProps));
|
|
@@ -37,6 +43,9 @@ const MapTerminalStatusToBadge = (status) => {
|
|
|
37
43
|
const defaultColumnsKeys = 'nickname,provider_serial_number,status';
|
|
38
44
|
const terminalTableColumns = {
|
|
39
45
|
nickname: () => (h("th", { part: tableHeadCell, scope: "col", title: "The nickname associated with the terminal" }, "Nickname")),
|
|
46
|
+
model_name: () => (h("th", { part: tableHeadCell, scope: "col", title: "The model name of the terminal" }, "Model Name")),
|
|
47
|
+
id: () => (h("th", { part: tableHeadCell, scope: "col", title: "The ID of the terminal" }, "ID")),
|
|
48
|
+
provider: () => (h("th", { part: tableHeadCell, scope: "col", title: "The provider of the terminal" }, "Provider")),
|
|
40
49
|
provider_serial_number: () => (h("th", { part: tableHeadCell, scope: "col", title: "The serial number of the terminal" }, "Serial Number")),
|
|
41
50
|
provider_id: () => (h("th", { part: tableHeadCell, scope: "col", title: "The provider ID of the terminal" }, "Provider ID")),
|
|
42
51
|
sub_account_name: () => (h("th", { part: tableHeadCell, scope: "col", title: "The sub account associated with the terminal" }, "Sub Account")),
|
|
@@ -44,6 +53,9 @@ const terminalTableColumns = {
|
|
|
44
53
|
};
|
|
45
54
|
const terminalTableCells = {
|
|
46
55
|
nickname: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.nickname)),
|
|
56
|
+
model_name: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.model_name)),
|
|
57
|
+
id: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.id)),
|
|
58
|
+
provider: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, capitalFirstLetter(terminal.provider))),
|
|
47
59
|
provider_serial_number: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.provider_serial_number)),
|
|
48
60
|
provider_id: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.provider_id)),
|
|
49
61
|
sub_account_name: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.sub_account_name)),
|
|
@@ -172,7 +184,7 @@ const TerminalsListCore = /*@__PURE__*/ proxyCustomElement(class TerminalsListCo
|
|
|
172
184
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
173
185
|
}
|
|
174
186
|
render() {
|
|
175
|
-
return (h("div", { key: '
|
|
187
|
+
return (h("div", { key: 'dab480902928e4dbcdbf0c8ada95fdc4d186f211' }, h("div", { key: '8fd8ce93ac16676d4ea9de2588467df5feb18e71', class: "table-wrapper" }, h("table", { key: '02a58d1f233bec3cd40877c4cfeba55b345876b7', class: "table table-hover", part: table }, h("thead", { key: '64d3d4cdb0c97a0628da1935386e9cb430a71ea7', class: "table-head sticky-top" }, h("tr", { key: 'a52c8d1a59adfa1d18dc8dfa3a70a6318f52f4c2', class: "table-light text-nowrap" }, this.terminalsTable.columnData.map((column) => column))), h("tbody", { key: '476983a5b8dcb65d62953de2a8a7a24c47cb83be', class: "table-body" }, h(TableLoadingState, { key: 'ecae363863cb7ab6b2d8226f8f39bc682333af29', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'f8fb01d5048fc0143546344b65a9018aeab8b688', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: 'cd40cb1696624e20b9cad238d43be902538ce4cd', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h("tfoot", { key: '29ebf6d4d3537f25545fa9e67416c52ee1223b12', class: "sticky-bottom" }, h("tr", { key: 'a732f3d809a4f97b926b0e978e32c919f36c13b1', class: "table-light align-middle" }, h("td", { key: '2e66c17f57a08d4e0f4da693caf0ea44f5ec7484', part: tableCell, colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: 'e3544088964b15242d710223a76208217bffab3f', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
176
188
|
}
|
|
177
189
|
static get watchers() { return {
|
|
178
190
|
"pagingParams": ["updateOnPropChange"],
|
package/dist/module/utils2.js
CHANGED
|
@@ -3849,10 +3849,10 @@ var Dinero = function Dinero(options) {
|
|
|
3849
3849
|
var dinero = Object.assign(Dinero, Defaults, Globals, Static);
|
|
3850
3850
|
|
|
3851
3851
|
// Currency Formatting
|
|
3852
|
-
const formatCurrency = (amount, currency) => {
|
|
3852
|
+
const formatCurrency = (amount, currency, omitSymbols = false) => {
|
|
3853
3853
|
if (!amount)
|
|
3854
3854
|
amount = 0;
|
|
3855
|
-
const formattedString = '$0,0.00';
|
|
3855
|
+
const formattedString = (omitSymbols) ? '0,0.00' : '$0,0.00';
|
|
3856
3856
|
const formattedCurrency = currency === null || currency === void 0 ? void 0 : currency.toUpperCase();
|
|
3857
3857
|
const formattedAmount = dinero({ amount: amount }).toFormat(formattedString);
|
|
3858
3858
|
return currency ? `${formattedAmount} ${formattedCurrency}` : formattedAmount;
|
|
@@ -3939,6 +3939,11 @@ const convertToLocal = (dateString, options) => {
|
|
|
3939
3939
|
}
|
|
3940
3940
|
};
|
|
3941
3941
|
// String Manipulation
|
|
3942
|
+
function capitalFirstLetter(str) {
|
|
3943
|
+
if (!str)
|
|
3944
|
+
return '';
|
|
3945
|
+
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
3946
|
+
}
|
|
3942
3947
|
function snakeCaseToHumanReadable(snakeCaseStr) {
|
|
3943
3948
|
if (!snakeCaseStr)
|
|
3944
3949
|
return '';
|
|
@@ -3982,4 +3987,4 @@ function processHTML(htmlString, functions) {
|
|
|
3982
3987
|
return processedHTML;
|
|
3983
3988
|
}
|
|
3984
3989
|
|
|
3985
|
-
export { formatMediumDate as a, formatDate as b, formatTimeSeconds as c, formatTime as d, formatDisplayDate as e, formatCurrency as f, snakeToCamel as g, convertToLocal as h, isEmptyObject as i, convertToUTC as j, addAttribute as k, processHTML as p, removeAttribute as r, snakeCaseToHumanReadable as s };
|
|
3990
|
+
export { formatMediumDate as a, formatDate as b, formatTimeSeconds as c, formatTime as d, formatDisplayDate as e, formatCurrency as f, snakeToCamel as g, convertToLocal as h, isEmptyObject as i, convertToUTC as j, addAttribute as k, capitalFirstLetter as l, processHTML as p, removeAttribute as r, snakeCaseToHumanReadable as s };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export declare const makeGetBusiness: ({ id, authToken, service }: {
|
|
1
|
+
export declare const makeGetBusiness: ({ id, authToken, service, apiOrigin }: {
|
|
2
2
|
id: any;
|
|
3
3
|
authToken: any;
|
|
4
4
|
service: any;
|
|
5
|
+
apiOrigin?: string;
|
|
5
6
|
}) => ({ onSuccess, onError }: {
|
|
6
7
|
onSuccess: any;
|
|
7
8
|
onError: any;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export declare const makeGetTerminalModels: ({ id, authToken, service }: {
|
|
1
|
+
export declare const makeGetTerminalModels: ({ id, authToken, service, apiOrigin }: {
|
|
2
2
|
id: any;
|
|
3
3
|
authToken: any;
|
|
4
4
|
service: any;
|
|
5
|
+
apiOrigin: any;
|
|
5
6
|
}) => ({ onSuccess, onError }: {
|
|
6
7
|
onSuccess: any;
|
|
7
8
|
onError: any;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export declare const makeOrderTerminals: ({ authToken, service }: {
|
|
1
|
+
export declare const makeOrderTerminals: ({ authToken, service, apiOrigin }: {
|
|
2
2
|
authToken: any;
|
|
3
3
|
service: any;
|
|
4
|
+
apiOrigin?: string;
|
|
4
5
|
}) => ({ terminalOrder, onSuccess, onError }: {
|
|
5
6
|
terminalOrder: any;
|
|
6
7
|
onSuccess: any;
|
package/dist/types/api/Api.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ interface IApiProps {
|
|
|
22
22
|
}
|
|
23
23
|
declare const Api: ({ authToken, apiOrigin }: IApiProps) => {
|
|
24
24
|
get: (endpoint: string, params?: any, signal?: AbortSignal, headers?: HeadersInit) => Promise<any>;
|
|
25
|
-
post: (endpoint: string, body?: any, params?: any, signal?: AbortSignal) => Promise<any>;
|
|
25
|
+
post: (endpoint: string, body?: any, params?: any, signal?: AbortSignal, headers?: HeadersInit) => Promise<any>;
|
|
26
26
|
put: (endpoint: string, body?: any, params?: any, signal?: AbortSignal) => Promise<any>;
|
|
27
27
|
patch: (endpoint: string, body?: any, params?: any, signal?: AbortSignal) => Promise<any>;
|
|
28
28
|
destroy: (endpoint: string, params?: any, signal?: AbortSignal) => Promise<any>;
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
+
import { TerminalModelName } from "./TerminalModel";
|
|
1
2
|
export interface TerminalsQueryParams {
|
|
2
3
|
terminal_id?: string;
|
|
4
|
+
terminal_order_id?: string;
|
|
3
5
|
status?: string;
|
|
4
6
|
}
|
|
5
7
|
export declare enum ITerminalStatus {
|
|
6
8
|
connected = "connected",
|
|
7
9
|
disconnected = "disconnected",
|
|
8
|
-
unknown = "unknown"
|
|
10
|
+
unknown = "unknown",
|
|
11
|
+
pending_configuration = "pending_configuration"
|
|
9
12
|
}
|
|
10
13
|
export interface ITerminal {
|
|
11
14
|
id?: string | null;
|
|
@@ -13,13 +16,14 @@ export interface ITerminal {
|
|
|
13
16
|
account_id?: string | null;
|
|
14
17
|
platform_account_id?: string | null;
|
|
15
18
|
gateway_ref_id?: string | null;
|
|
16
|
-
provider?:
|
|
19
|
+
provider?: TerminalProviders | null;
|
|
17
20
|
provider_id?: string | null;
|
|
18
21
|
provider_serial_number?: string | null;
|
|
19
22
|
created_at?: string | null;
|
|
20
23
|
updated_at?: string | null;
|
|
21
24
|
verified_at?: string | null;
|
|
22
25
|
nickname?: string | null;
|
|
26
|
+
model_name?: TerminalModelName | null;
|
|
23
27
|
}
|
|
24
28
|
export declare enum TerminalProviders {
|
|
25
29
|
verifone = "verifone"
|
|
@@ -29,7 +33,7 @@ export declare class Terminal implements ITerminal {
|
|
|
29
33
|
status: ITerminalStatus;
|
|
30
34
|
account_id: string;
|
|
31
35
|
platform_account_id: string;
|
|
32
|
-
provider:
|
|
36
|
+
provider: TerminalProviders;
|
|
33
37
|
provider_id: string;
|
|
34
38
|
provider_serial_number: string;
|
|
35
39
|
created_at: string;
|
|
@@ -37,5 +41,6 @@ export declare class Terminal implements ITerminal {
|
|
|
37
41
|
verified_at: string;
|
|
38
42
|
nickname: string;
|
|
39
43
|
sub_account_name: string;
|
|
44
|
+
model_name: TerminalModelName;
|
|
40
45
|
constructor(data: ITerminal);
|
|
41
46
|
}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { TerminalProviders } from './Terminal';
|
|
2
2
|
import { TerminalModelName } from './TerminalModel';
|
|
3
|
+
export interface TerminalOrderQueryParams {
|
|
4
|
+
order_status?: TerminalOrderStatus;
|
|
5
|
+
order_type?: TerminalOrderType;
|
|
6
|
+
created_after?: string;
|
|
7
|
+
created_before?: string;
|
|
8
|
+
}
|
|
3
9
|
export declare enum TerminalOrderType {
|
|
4
10
|
boardingOnly = "boarding_only",
|
|
5
11
|
boardingShipping = "boarding_shipping"
|
|
@@ -21,7 +27,7 @@ interface TerminalOrderItem {
|
|
|
21
27
|
export interface ITerminalOrder {
|
|
22
28
|
id?: string;
|
|
23
29
|
business_id?: string;
|
|
24
|
-
|
|
30
|
+
sub_account_id?: string;
|
|
25
31
|
provider?: TerminalProviders;
|
|
26
32
|
order_type?: TerminalOrderType;
|
|
27
33
|
order_status?: TerminalOrderStatus;
|
|
@@ -32,7 +38,7 @@ export interface ITerminalOrder {
|
|
|
32
38
|
export declare class TerminalOrder {
|
|
33
39
|
id: string;
|
|
34
40
|
business_id: string;
|
|
35
|
-
|
|
41
|
+
sub_account_id: string;
|
|
36
42
|
provider: TerminalProviders;
|
|
37
43
|
order_type: TerminalOrderType;
|
|
38
44
|
order_status: TerminalOrderStatus;
|
|
@@ -43,7 +49,7 @@ export declare class TerminalOrder {
|
|
|
43
49
|
constructor(data: ITerminalOrder);
|
|
44
50
|
get payload(): {
|
|
45
51
|
business_id: string;
|
|
46
|
-
|
|
52
|
+
sub_account_id: string;
|
|
47
53
|
order_type: TerminalOrderType;
|
|
48
54
|
order_items: TerminalOrderItem[];
|
|
49
55
|
};
|
|
@@ -8,7 +8,7 @@ export interface IBusinessService {
|
|
|
8
8
|
patchBusiness(authToken: string, businessId: string, payload: Partial<IBusiness>): Promise<IApiResponse<IBusiness>>;
|
|
9
9
|
}
|
|
10
10
|
export declare class BusinessService implements IBusinessService {
|
|
11
|
-
fetchBusiness(businessId: string, authToken: string): Promise<IApiResponse<IBusiness>>;
|
|
11
|
+
fetchBusiness(businessId: string, authToken: string, apiOrigin?: string): Promise<IApiResponse<IBusiness>>;
|
|
12
12
|
patchBusiness(authToken: string, businessId: string, payload: Partial<IBusiness>): Promise<IApiResponse<IBusiness>>;
|
|
13
13
|
}
|
|
14
14
|
export interface IdentityService {
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
export declare class MonetaryInputProvisioning {
|
|
3
|
+
textInput: HTMLInputElement;
|
|
4
|
+
private imask;
|
|
5
|
+
isFocused: boolean;
|
|
6
|
+
label: string;
|
|
7
|
+
name: string;
|
|
8
|
+
helpText?: string;
|
|
9
|
+
errorText?: string;
|
|
10
|
+
defaultValue: string;
|
|
11
|
+
inputHandler: (name: string, value: string) => void;
|
|
12
|
+
maskOptions: any;
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
handleDefaultValueChange(newValue: string): void;
|
|
15
|
+
formControlInput: EventEmitter<any>;
|
|
16
|
+
formControlBlur: EventEmitter<any>;
|
|
17
|
+
componentDidLoad(): void;
|
|
18
|
+
disconnectedCallback(): void;
|
|
19
|
+
private initializeIMask;
|
|
20
|
+
handleFormControlInput: (event: any) => void;
|
|
21
|
+
updateInput: (newValue: any) => void;
|
|
22
|
+
private get part();
|
|
23
|
+
render(): any;
|
|
24
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BillingFormFields } from '../billing-form-schema';
|
|
2
|
-
import { FormController } from '
|
|
2
|
+
import { FormController } from '../../../../ui-components/form/form';
|
|
3
3
|
export declare class BillingForm {
|
|
4
4
|
/**
|
|
5
5
|
* (Optional) A label for the form.
|
package/dist/types/components/{billing-forms → checkout/billing-forms}/postal-form/postal-form.d.ts
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PostalFormFields } from '../billing-form-schema';
|
|
2
|
-
import { FormController } from '
|
|
2
|
+
import { FormController } from '../../../../ui-components/form/form';
|
|
3
3
|
export declare class PostalForm {
|
|
4
4
|
/**
|
|
5
5
|
* (Optional) A label for the form.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
import { ICheckout, ICheckoutCompleteResponse, ILoadedEventResponse } from '../../api/Checkout';
|
|
3
3
|
import { ComponentErrorCodes, ComponentErrorSeverity } from '../../api/ComponentError';
|
|
4
|
-
import { BillingFormFields, PostalFormFields } from '
|
|
4
|
+
import { BillingFormFields, PostalFormFields } from './billing-forms/billing-form-schema';
|
|
5
5
|
import { ComponentErrorEvent, ComponentSubmitEvent } from '../../api/ComponentEvents';
|
|
6
6
|
export declare class CheckoutCore {
|
|
7
7
|
authToken: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
import JustifiAnalytics from '../../api/Analytics';
|
|
3
|
-
import { BillingFormFields, PostalFormFields } from '
|
|
3
|
+
import { BillingFormFields, PostalFormFields } from './billing-forms/billing-form-schema';
|
|
4
4
|
import { ILoadedEventResponse } from '../../api';
|
|
5
5
|
import { ComponentErrorEvent } from '../../api/ComponentEvents';
|
|
6
6
|
export declare class Checkout {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
import { PaymentMethodOption } from './payment-method-option-utils';
|
|
3
3
|
import { PaymentMethodPayload } from './payment-method-payload';
|
|
4
|
-
import { BillingFormFields, PostalFormFields } from '
|
|
4
|
+
import { BillingFormFields, PostalFormFields } from './billing-forms/billing-form-schema';
|
|
5
5
|
export declare class NewPaymentMethod {
|
|
6
6
|
private billingFormWrapperRef?;
|
|
7
7
|
private paymentMethodFormRef?;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PaymentMethodOption } from './payment-method-option-utils';
|
|
2
2
|
import { PaymentMethodPayload } from './payment-method-payload';
|
|
3
3
|
import { IBnpl } from '../../api';
|
|
4
|
-
import { BillingFormFields, PostalFormFields } from '
|
|
4
|
+
import { BillingFormFields, PostalFormFields } from './billing-forms/billing-form-schema';
|
|
5
5
|
export declare class PaymentMethodOptions {
|
|
6
6
|
showCard: boolean;
|
|
7
7
|
showAch: boolean;
|
|
@@ -9,6 +9,7 @@ export declare class OrderTerminals {
|
|
|
9
9
|
authToken: string;
|
|
10
10
|
accountId: string;
|
|
11
11
|
shipping: boolean;
|
|
12
|
+
apiOrigin?: string;
|
|
12
13
|
loading: {
|
|
13
14
|
business: boolean;
|
|
14
15
|
terminals: boolean;
|
|
@@ -35,7 +36,6 @@ export declare class OrderTerminals {
|
|
|
35
36
|
private submitOrder;
|
|
36
37
|
private onSelectedQuantityChange;
|
|
37
38
|
private renderLoading;
|
|
38
|
-
private renderError;
|
|
39
39
|
private renderBusinessDetails;
|
|
40
40
|
private renderTerminals;
|
|
41
41
|
private renderOrderSection;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as yup from 'yup';
|
|
2
|
+
export interface RefundPaymentFields {
|
|
3
|
+
amount: string;
|
|
4
|
+
description: string;
|
|
5
|
+
}
|
|
6
|
+
declare const RefundPaymentSchema: (maxRefundAmount: string) => yup.ObjectSchema<{
|
|
7
|
+
amount: string;
|
|
8
|
+
}, yup.AnyObject, {
|
|
9
|
+
amount: undefined;
|
|
10
|
+
}, "">;
|
|
11
|
+
export default RefundPaymentSchema;
|
package/dist/types/components/{refund-form/refund-form.d.ts → refund-payment/refund-payment.d.ts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
-
import {
|
|
3
|
-
export declare class
|
|
2
|
+
import { RefundPaymentFields } from './refund-payment-schema';
|
|
3
|
+
export declare class RefundPayment {
|
|
4
4
|
/**
|
|
5
5
|
* Authentication token required to authorize the refund transaction.
|
|
6
6
|
*/
|
|
@@ -10,28 +10,21 @@ export declare class RefundForm {
|
|
|
10
10
|
*/
|
|
11
11
|
paymentId: string;
|
|
12
12
|
/**
|
|
13
|
-
* The amount of the payment to be refunded.
|
|
13
|
+
* The amount of the payment to be refunded. This should be equal to the Payment `amount_refundable` property.
|
|
14
14
|
*/
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Custom text for the submit button. Defaults to 'Submit'.
|
|
18
|
-
*/
|
|
19
|
-
submitButtonText?: string;
|
|
15
|
+
paymentAmountRefundable?: number;
|
|
20
16
|
/**
|
|
21
17
|
* Flag to control the visibility of the submit button.
|
|
22
18
|
*/
|
|
23
19
|
withButton?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* Optional information text displayed above the form.
|
|
26
|
-
*/
|
|
27
|
-
refundInfoText?: string;
|
|
28
20
|
errors: any;
|
|
21
|
+
values: any;
|
|
29
22
|
isSubmitting: boolean;
|
|
30
23
|
/**
|
|
31
24
|
* Event emitted when the refund form is successfully submitted.
|
|
32
25
|
* The submitted refund fields are passed as the event detail.
|
|
33
26
|
*/
|
|
34
|
-
submitted: EventEmitter<
|
|
27
|
+
submitted: EventEmitter<RefundPaymentFields>;
|
|
35
28
|
private formController;
|
|
36
29
|
private api;
|
|
37
30
|
componentWillLoad(): void;
|
|
@@ -19,6 +19,7 @@ export declare class TerminalOrdersListCore {
|
|
|
19
19
|
handleClickPrevious: (beforeCursor: string) => void;
|
|
20
20
|
handleClickNext: (afterCursor: string) => void;
|
|
21
21
|
rowClickHandler: (e: any) => void;
|
|
22
|
+
get terminalOrderParams(): any;
|
|
22
23
|
get entityId(): string[];
|
|
23
24
|
get showEmptyState(): boolean;
|
|
24
25
|
get showErrorState(): boolean;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { TerminalOrderStatus, TerminalOrderType } from '../../api';
|
|
2
|
+
export declare class TerminalOrdersListFilters {
|
|
3
|
+
orderStatus?: TerminalOrderStatus;
|
|
4
|
+
orderType?: TerminalOrderType;
|
|
5
|
+
createdAfter?: string;
|
|
6
|
+
createdBefore?: string;
|
|
7
|
+
componentWillLoad(): void;
|
|
8
|
+
setParamsOnChange: (name: string, value: string) => void;
|
|
9
|
+
handleDateInput: (name: string, value: string) => void;
|
|
10
|
+
get terminalOrderStatusOptions(): {
|
|
11
|
+
label: string;
|
|
12
|
+
value: TerminalOrderStatus | '';
|
|
13
|
+
}[];
|
|
14
|
+
get terminalOrderTypeOptions(): {
|
|
15
|
+
label: string;
|
|
16
|
+
value: TerminalOrderType | '';
|
|
17
|
+
}[];
|
|
18
|
+
render(): any;
|
|
19
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TerminalOrderQueryParams } from '../../api';
|
|
2
|
+
declare const filterParams: TerminalOrderQueryParams, onQueryParamsChange: import("@stencil/store/dist/types").OnHandler<TerminalOrderQueryParams>;
|
|
3
|
+
declare const propsParams: TerminalOrderQueryParams;
|
|
4
|
+
declare const getRequestParams: () => TerminalOrderQueryParams;
|
|
5
|
+
declare const clearParams: () => void;
|
|
6
|
+
export { filterParams, propsParams, onQueryParamsChange, clearParams, getRequestParams };
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { ITerminalStatus } from "../../api";
|
|
2
|
+
export declare const MapTerminalStatusToBadge: (status: ITerminalStatus) => any;
|
|
@@ -2,6 +2,9 @@ import { Terminal } from '../../api/Terminal';
|
|
|
2
2
|
export declare const defaultColumnsKeys = "nickname,provider_serial_number,status";
|
|
3
3
|
export declare const terminalTableColumns: {
|
|
4
4
|
nickname: () => any;
|
|
5
|
+
model_name: () => any;
|
|
6
|
+
id: () => any;
|
|
7
|
+
provider: () => any;
|
|
5
8
|
provider_serial_number: () => any;
|
|
6
9
|
provider_id: () => any;
|
|
7
10
|
sub_account_name: () => any;
|
|
@@ -9,6 +12,9 @@ export declare const terminalTableColumns: {
|
|
|
9
12
|
};
|
|
10
13
|
export declare const terminalTableCells: {
|
|
11
14
|
nickname: (terminal: Terminal, index: number) => any;
|
|
15
|
+
model_name: (terminal: Terminal, index: number) => any;
|
|
16
|
+
id: (terminal: Terminal, index: number) => any;
|
|
17
|
+
provider: (terminal: Terminal, index: number) => any;
|
|
12
18
|
provider_serial_number: (terminal: Terminal, index: number) => any;
|
|
13
19
|
provider_id: (terminal: Terminal, index: number) => any;
|
|
14
20
|
sub_account_name: (terminal: Terminal, index: number) => any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
import JustifiAnalytics from '../../api/Analytics';
|
|
3
|
-
import { BillingFormFields } from '
|
|
3
|
+
import { BillingFormFields } from '../../components';
|
|
4
4
|
import { PaymentMethodPayload } from '../checkout/payment-method-payload';
|
|
5
5
|
import { ComponentSubmitEvent, ComponentErrorEvent } from '../../api';
|
|
6
6
|
export declare class TokenizePaymentMethod {
|