@justifi/webcomponents 5.4.0 → 5.4.2
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/{Checkout-eef27045.js → Checkout-5352009d.js} +1 -1
- package/dist/cjs/{Payment-c47ed1e1.js → Payment-bccd8f7d.js} +1 -1
- package/dist/cjs/{SubAccount-9babbfd3.js → SubAccount-06f9030b.js} +4 -2
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
- package/dist/cjs/{badge-591df67f.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-27f67b29.js → business.service-6e8a29a2.js} +2 -2
- package/dist/cjs/{button-7f272a63.js → button-4a9fd41e.js} +1 -1
- package/dist/cjs/{check-pkg-version-52c7c2ab.js → check-pkg-version-15023e22.js} +1 -1
- package/dist/cjs/{checkout.service-46a5b9f2.js → checkout.service-ab658f38.js} +3 -3
- package/dist/cjs/checkouts-list-core.cjs.entry.js +10 -10
- package/dist/cjs/{checkouts-table-7f2081df.js → checkouts-table-8a1b49ff.js} +3 -3
- package/dist/cjs/{custom-popper.cjs.entry.js → custom-popper_4.cjs.entry.js} +141 -2
- package/dist/cjs/{dispute.service-a36c48bf.js → dispute.service-1494b42c.js} +3 -3
- package/dist/cjs/{event-types-921f3555.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-377bcf59.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-f7369e16.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-c1c7f03f.js → get-payout-csv-4240b172.js} +3 -3
- package/dist/cjs/{get-subaccounts-c1d559a0.js → get-subaccounts-fa8dc254.js} +3 -3
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -5
- package/dist/cjs/{header-1-a63a16d5.js → header-1-43b2b905.js} +1 -1
- package/dist/cjs/{header-3-a6e0f274.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-ff4fca5a.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 +17 -17
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +10 -10
- package/dist/cjs/justifi-business-details.cjs.entry.js +6 -6
- package/dist/cjs/justifi-business-form.cjs.entry.js +14 -14
- 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 +9 -9
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +6 -6
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +12 -12
- 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 +8 -8
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +13 -13
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +4 -4
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +21 -23
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payment-details.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payments-list.cjs.entry.js +12 -12
- package/dist/cjs/justifi-payout-details.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +13 -13
- 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 +7 -7
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +7 -7
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +9 -6
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +12 -12
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +9 -9
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-53904238.js → package-868b01af.js} +2 -2
- package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
- package/dist/cjs/{parts-3118ab4b.js → parts-5ca90f9a.js} +2 -0
- package/dist/cjs/payment-details-core.cjs.entry.js +13 -13
- package/dist/cjs/{payment.service-fedf131a.js → payment.service-97bef4f8.js} +3 -3
- package/dist/cjs/payments-list-core.cjs.entry.js +11 -11
- package/dist/cjs/{payments-status-96156930.js → payments-status-075aad0a.js} +1 -1
- package/dist/cjs/{payments-table-6f87d43e.js → payments-table-a076755a.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-aa6842ac.js → payouts-status-ced97c2b.js} +1 -1
- package/dist/cjs/{payouts-table-d4c8bbbc.js → payouts-table-aedce326.js} +3 -3
- package/dist/cjs/{schema-validations-47a256f4.js → schema-validations-a7cefbdf.js} +1 -1
- package/dist/cjs/{skeleton-32198b92.js → skeleton-e8aa41d0.js} +1 -1
- package/dist/cjs/{spinner-a5c0f3c0.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 +10 -10
- package/dist/cjs/{terminal-orders-table-eb95b278.js → terminal-orders-table-050e673f.js} +3 -3
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
- package/dist/cjs/{terminal.service-ac44fc14.js → terminal.service-0aac977d.js} +3 -3
- package/dist/cjs/terminals-list-core.cjs.entry.js +10 -10
- package/dist/cjs/{terminals-table-3f0c33ea.js → terminals-table-6710a76c.js} +14 -2
- package/dist/cjs/{utils-337befa9.js → utils-4120664c.js} +20 -2
- package/dist/cjs/{utils-97041614.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/Terminal.js +3 -1
- package/dist/collection/api/services/business.service.js +2 -2
- package/dist/collection/collection-manifest.json +6 -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 +25 -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 +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
- 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 +1 -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 +18 -2
- package/dist/docs.json +396 -140
- package/dist/esm/{Checkout-2bc873fb.js → Checkout-18d8bf94.js} +1 -1
- package/dist/esm/{Payment-82d2f453.js → Payment-806af354.js} +1 -1
- package/dist/esm/{SubAccount-0248b5ab.js → SubAccount-837658ae.js} +4 -2
- package/dist/esm/additional-questions-details_5.entry.js +3 -3
- package/dist/esm/{badge-1555ad1d.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-13890e74.js → business.service-999196a4.js} +2 -2
- package/dist/esm/{button-1e756c34.js → button-fcee4da7.js} +1 -1
- package/dist/esm/{check-pkg-version-0557a5c4.js → check-pkg-version-a8dd8455.js} +1 -1
- package/dist/esm/{checkout.service-fe338804.js → checkout.service-87cd501d.js} +3 -3
- package/dist/esm/checkouts-list-core.entry.js +10 -10
- package/dist/esm/{checkouts-table-e339bf0c.js → checkouts-table-39a031a0.js} +3 -3
- package/dist/esm/{custom-popper.entry.js → custom-popper_4.entry.js} +140 -4
- package/dist/esm/{dispute.service-3e1320fe.js → dispute.service-1f79929b.js} +3 -3
- package/dist/esm/{event-types-359ef89e.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-1391123f.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-9918264e.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-9021a002.js → get-payout-csv-6139c5fc.js} +3 -3
- package/dist/esm/{get-subaccounts-6b048fd1.js → get-subaccounts-c4b2b829.js} +3 -3
- package/dist/esm/gross-payment-chart-core.entry.js +5 -5
- package/dist/esm/{header-1-adb520cc.js → header-1-215a146f.js} +1 -1
- package/dist/esm/{header-3-ca58500e.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-24af6ddb.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 +17 -17
- package/dist/esm/justifi-additional-statement_8.entry.js +10 -10
- package/dist/esm/justifi-business-details.entry.js +6 -6
- package/dist/esm/justifi-business-form.entry.js +14 -14
- 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 +9 -9
- package/dist/esm/justifi-checkouts-list-filters.entry.js +6 -6
- package/dist/esm/justifi-checkouts-list.entry.js +12 -12
- 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 +8 -8
- package/dist/esm/justifi-dispute-notification_3.entry.js +13 -13
- package/dist/esm/justifi-gross-payment-chart.entry.js +4 -4
- package/dist/esm/justifi-order-terminals.entry.js +21 -23
- package/dist/esm/justifi-owner-form_3.entry.js +9 -9
- package/dist/esm/justifi-payment-details.entry.js +9 -9
- package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
- package/dist/esm/justifi-payment-provisioning.entry.js +4 -4
- package/dist/esm/justifi-payments-list-filters.entry.js +4 -4
- package/dist/esm/justifi-payments-list.entry.js +12 -12
- package/dist/esm/justifi-payout-details.entry.js +9 -9
- package/dist/esm/justifi-payouts-list-filters.entry.js +4 -4
- package/dist/esm/justifi-payouts-list.entry.js +13 -13
- 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 +7 -7
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +7 -7
- package/dist/esm/justifi-terminal-orders-list.entry.js +10 -10
- package/dist/esm/justifi-terminals-list-filters.entry.js +9 -6
- package/dist/esm/justifi-terminals-list.entry.js +12 -12
- package/dist/esm/justifi-tokenize-payment-method.entry.js +9 -9
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-25d5d805.js → package-f0bb46fd.js} +2 -2
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-ad835bef.js → parts-fd740f54.js} +2 -1
- package/dist/esm/payment-details-core.entry.js +13 -13
- package/dist/esm/{payment.service-2967c84b.js → payment.service-bc99d372.js} +3 -3
- package/dist/esm/payments-list-core.entry.js +11 -11
- package/dist/esm/{payments-status-d011e114.js → payments-status-74d22728.js} +1 -1
- package/dist/esm/{payments-table-3e33b856.js → payments-table-8134f5e1.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-181276c5.js → payouts-status-29d31099.js} +1 -1
- package/dist/esm/{payouts-table-199bdf64.js → payouts-table-c1ced46a.js} +3 -3
- package/dist/esm/{schema-validations-b1aec6a0.js → schema-validations-5af4266a.js} +1 -1
- package/dist/esm/{skeleton-0cde7cb6.js → skeleton-ab3f676e.js} +1 -1
- package/dist/esm/{spinner-342e71ff.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 +10 -10
- package/dist/esm/{terminal-orders-table-2884305a.js → terminal-orders-table-65d59323.js} +3 -3
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/{terminal.service-4fab5adc.js → terminal.service-a8a968ac.js} +3 -3
- package/dist/esm/terminals-list-core.entry.js +10 -10
- package/dist/esm/{terminals-table-4e1644e8.js → terminals-table-5eb287ca.js} +14 -2
- package/dist/esm/{utils-96c6292c.js → utils-96d9c205.js} +1 -1
- package/dist/esm/{utils-c37124fc.js → utils-ec50661e.js} +19 -3
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/SubAccount.js +3 -1
- 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 +12 -12
- package/dist/module/justifi-payment-provisioning.js +4 -4
- package/dist/module/justifi-payments-list-filters.js +3 -3
- package/dist/module/justifi-payments-list.js +1 -1
- package/dist/module/justifi-payouts-list-filters.js +3 -3
- 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.js +3 -3
- 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 +1 -1
- 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 +2 -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 +2 -2
- package/dist/module/payout-details-core2.js +1 -1
- package/dist/module/payouts-list-core2.js +2 -2
- 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/season-interruption-insurance-core.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 +2 -2
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/terminals-list-core2.js +13 -1
- package/dist/module/utils2.js +19 -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/Terminal.d.ts +8 -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/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 +88 -51
- package/dist/types/styles/parts.d.ts +1 -0
- package/dist/types/ui-components/form/form-control-monetary.d.ts +9 -10
- package/dist/types/utils/utils.d.ts +3 -1
- package/dist/webcomponents/p-01033194.js +1 -0
- package/dist/webcomponents/{p-da2a9dfa.entry.js → p-0b61d4d3.entry.js} +1 -1
- package/dist/webcomponents/p-0c7ec110.entry.js +1 -0
- package/dist/webcomponents/p-0d7d61ac.js +1 -0
- package/dist/webcomponents/{p-fdd244b1.entry.js → p-0f0020e1.entry.js} +1 -1
- package/dist/webcomponents/{p-365e56fc.js → p-12074378.js} +1 -1
- package/dist/webcomponents/{p-daf0303f.js → p-1366a019.js} +1 -1
- package/dist/webcomponents/{p-d8ba9309.entry.js → p-13717638.entry.js} +1 -1
- package/dist/webcomponents/p-142bfae3.js +1 -0
- package/dist/webcomponents/{p-1fb5677e.entry.js → p-14cfb25e.entry.js} +1 -1
- package/dist/webcomponents/{p-13d62477.entry.js → p-150e80db.entry.js} +1 -1
- package/dist/webcomponents/{p-e5c60276.entry.js → p-187d456b.entry.js} +1 -1
- package/dist/webcomponents/{p-c7c9725d.entry.js → p-190ee091.entry.js} +1 -1
- package/dist/webcomponents/p-1da00a0c.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-25b82529.entry.js +1 -0
- package/dist/webcomponents/p-27546fa9.entry.js +1 -0
- package/dist/webcomponents/p-275c3dc9.js +1 -0
- package/dist/webcomponents/p-2819e94a.entry.js +1 -0
- package/dist/webcomponents/p-2b8aaa7d.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-9c57de4e.entry.js → p-375657fe.entry.js} +1 -1
- package/dist/webcomponents/{p-324587d0.js → p-3da2652e.js} +1 -1
- package/dist/webcomponents/{p-9894484a.js → p-3f5e6602.js} +1 -1
- package/dist/webcomponents/p-431670c6.entry.js +1 -0
- package/dist/webcomponents/{p-485df2fe.entry.js → p-45fda0bc.entry.js} +1 -1
- package/dist/webcomponents/p-507d8aa4.entry.js +1 -0
- package/dist/webcomponents/p-536497fe.entry.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-c380213d.js → p-58ee6ce9.js} +1 -1
- package/dist/webcomponents/{p-e52e9120.entry.js → p-5a9d7ca0.entry.js} +1 -1
- package/dist/webcomponents/p-5b76dbe1.entry.js +1 -0
- package/dist/webcomponents/{p-0d01d245.entry.js → p-5bd1c32c.entry.js} +1 -1
- package/dist/webcomponents/{p-56143442.entry.js → p-5c5c1e82.entry.js} +1 -1
- package/dist/webcomponents/{p-a7594f8f.entry.js → p-60ec062a.entry.js} +1 -1
- package/dist/webcomponents/{p-7d93c28b.js → p-673c1bca.js} +1 -1
- package/dist/webcomponents/p-6a594a9f.js +1 -0
- package/dist/webcomponents/{p-b19a37d4.js → p-701a13ca.js} +1 -1
- package/dist/webcomponents/{p-17eea747.js → p-72e71b3c.js} +1 -1
- package/dist/webcomponents/{p-78255a04.entry.js → p-746894be.entry.js} +1 -1
- package/dist/webcomponents/p-74711d79.entry.js +1 -0
- package/dist/webcomponents/{p-df9ff0ce.entry.js → p-753d983c.entry.js} +1 -1
- package/dist/webcomponents/p-76549a24.js +1 -0
- package/dist/webcomponents/p-86605101.js +1 -0
- package/dist/webcomponents/p-8c70396c.entry.js +1 -0
- package/dist/webcomponents/p-90b82e40.entry.js +1 -0
- package/dist/webcomponents/p-913e28d6.entry.js +1 -0
- package/dist/webcomponents/{p-d273f33b.js → p-927cb6df.js} +1 -1
- package/dist/webcomponents/p-953e9dba.js +1 -0
- package/dist/webcomponents/{p-a81cabed.js → p-96783edf.js} +1 -1
- package/dist/webcomponents/p-96c23cda.entry.js +1 -0
- package/dist/webcomponents/{p-251c8e97.js → p-9c4e3bac.js} +1 -1
- package/dist/webcomponents/{p-646d007a.js → p-9e49cf17.js} +1 -1
- package/dist/webcomponents/{p-36e32bc4.entry.js → p-a2d30370.entry.js} +1 -1
- package/dist/webcomponents/p-a3cced75.entry.js +1 -0
- package/dist/webcomponents/{p-88af0d7d.js → p-a5579f53.js} +1 -1
- package/dist/webcomponents/{p-be6fea42.entry.js → p-a589b3a1.entry.js} +1 -1
- package/dist/webcomponents/{p-45e68bb3.entry.js → p-a5f5cc2e.entry.js} +1 -1
- package/dist/webcomponents/{p-d7bcf8f0.js → p-ac9f2e2b.js} +1 -1
- package/dist/webcomponents/p-adecb91a.entry.js +1 -0
- package/dist/webcomponents/{p-ba113075.js → p-ae7edce5.js} +1 -1
- package/dist/webcomponents/p-ae891abb.entry.js +1 -0
- package/dist/webcomponents/{p-dd3de924.entry.js → p-af3315b5.entry.js} +1 -1
- package/dist/webcomponents/p-b26fb429.js +1 -0
- package/dist/webcomponents/{p-55e21977.entry.js → p-b299b597.entry.js} +1 -1
- package/dist/webcomponents/{p-073f24ba.entry.js → p-b5c7cb4c.entry.js} +1 -1
- package/dist/webcomponents/{p-d5960545.js → p-b99817a0.js} +1 -1
- package/dist/webcomponents/p-bb4b3f79.entry.js +1 -0
- package/dist/webcomponents/{p-95e55bb1.js → p-bf12999f.js} +1 -1
- package/dist/webcomponents/{p-2dd39017.js → p-bf195b35.js} +1 -1
- package/dist/webcomponents/{p-944f1cc7.js → p-bfc2d88a.js} +1 -1
- package/dist/webcomponents/{p-d78ea308.entry.js → p-c00ef77b.entry.js} +1 -1
- package/dist/webcomponents/{p-0bafaf49.entry.js → p-c438d1c8.entry.js} +1 -1
- package/dist/webcomponents/p-c7313123.entry.js +1 -0
- package/dist/webcomponents/{p-34a95381.js → p-c8b78136.js} +1 -1
- package/dist/webcomponents/{p-17c4edf7.js → p-ca6cdfe6.js} +1 -1
- package/dist/webcomponents/p-cc2f75a3.entry.js +1 -0
- package/dist/webcomponents/p-ccb9ee53.js +1 -0
- package/dist/webcomponents/{p-f57d5d4f.entry.js → p-cd93c62b.entry.js} +2 -2
- package/dist/webcomponents/p-cf9e893a.entry.js +1 -0
- package/dist/webcomponents/p-d757fcf5.js +1 -0
- package/dist/webcomponents/p-d86add24.entry.js +1 -0
- package/dist/webcomponents/p-dbc1a95b.js +1 -0
- package/dist/webcomponents/p-dcff8139.entry.js +1 -0
- package/dist/webcomponents/{p-1b3a6c40.entry.js → p-e309516a.entry.js} +1 -1
- package/dist/webcomponents/p-e9867f8b.entry.js +1 -0
- package/dist/webcomponents/p-ebd814ab.entry.js +1 -0
- package/dist/webcomponents/p-f0a56d96.entry.js +1 -0
- package/dist/webcomponents/{p-ed3ad073.entry.js → p-f20466f7.entry.js} +1 -1
- package/dist/webcomponents/{p-2ca5b5e4.js → p-f8fccf44.js} +1 -1
- package/dist/webcomponents/p-f930504f.entry.js +1 -0
- package/dist/webcomponents/p-fb2db8da.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-00d55a4b.entry.js +0 -1
- package/dist/webcomponents/p-04d59ef8.js +0 -1
- package/dist/webcomponents/p-07c13189.entry.js +0 -1
- package/dist/webcomponents/p-24203209.entry.js +0 -1
- package/dist/webcomponents/p-258087a8.entry.js +0 -1
- package/dist/webcomponents/p-2759d157.entry.js +0 -1
- package/dist/webcomponents/p-2cd9b608.entry.js +0 -1
- package/dist/webcomponents/p-3030f5e6.entry.js +0 -1
- package/dist/webcomponents/p-308ec9c7.entry.js +0 -1
- package/dist/webcomponents/p-454acd29.entry.js +0 -1
- package/dist/webcomponents/p-50b012a3.entry.js +0 -1
- package/dist/webcomponents/p-52e2cc5e.js +0 -1
- package/dist/webcomponents/p-5844a0f0.js +0 -1
- package/dist/webcomponents/p-5cf1898d.entry.js +0 -1
- package/dist/webcomponents/p-5d600828.js +0 -1
- package/dist/webcomponents/p-61a45f7d.entry.js +0 -1
- package/dist/webcomponents/p-651c881b.js +0 -1
- package/dist/webcomponents/p-6a4b710e.entry.js +0 -1
- package/dist/webcomponents/p-74f6cc28.entry.js +0 -1
- package/dist/webcomponents/p-8946edfd.js +0 -1
- package/dist/webcomponents/p-8ffd9f7c.js +0 -1
- package/dist/webcomponents/p-92b18902.entry.js +0 -1
- package/dist/webcomponents/p-92f29922.entry.js +0 -1
- package/dist/webcomponents/p-97f3a1b0.entry.js +0 -1
- package/dist/webcomponents/p-9fcab358.entry.js +0 -1
- package/dist/webcomponents/p-a0f715d4.js +0 -1
- package/dist/webcomponents/p-a35f3b5b.js +0 -1
- package/dist/webcomponents/p-b7960f37.entry.js +0 -1
- package/dist/webcomponents/p-b7ddb76f.entry.js +0 -1
- package/dist/webcomponents/p-b97f433a.entry.js +0 -1
- package/dist/webcomponents/p-c3939138.entry.js +0 -1
- package/dist/webcomponents/p-cba7d0a7.entry.js +0 -1
- package/dist/webcomponents/p-d43a38a4.js +0 -1
- package/dist/webcomponents/p-d4724349.js +0 -1
- package/dist/webcomponents/p-d575c2c1.entry.js +0 -1
- package/dist/webcomponents/p-dac9282d.entry.js +0 -1
- package/dist/webcomponents/p-e1dd47e1.entry.js +0 -1
- package/dist/webcomponents/p-e545c079.entry.js +0 -1
- package/dist/webcomponents/p-e5de1a00.entry.js +0 -1
- package/dist/webcomponents/p-f1573cad.entry.js +0 -1
- package/dist/webcomponents/p-f1d6e14f.js +0 -1
- package/dist/webcomponents/p-f30cb232.js +0 -1
- package/dist/webcomponents/p-f87e871d.js +0 -1
- package/dist/webcomponents/p-f8a95380.entry.js +0 -1
- package/dist/webcomponents/p-fa5688f7.entry.js +0 -1
- package/dist/webcomponents/p-fbdc18e4.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
|
@@ -6,7 +6,7 @@ import { d as defineCustomElement$r } from './custom-popper2.js';
|
|
|
6
6
|
import { d as defineCustomElement$q } from './form-control-checkbox2.js';
|
|
7
7
|
import { d as defineCustomElement$p } from './form-control-date2.js';
|
|
8
8
|
import { d as defineCustomElement$o } from './form-control-file2.js';
|
|
9
|
-
import { d as defineCustomElement$n } from './form-control-
|
|
9
|
+
import { d as defineCustomElement$n } from './form-control-monetary-provisioning2.js';
|
|
10
10
|
import { d as defineCustomElement$m } from './form-control-number-masked2.js';
|
|
11
11
|
import { d as defineCustomElement$l } from './form-control-select2.js';
|
|
12
12
|
import { d as defineCustomElement$k } from './form-control-text2.js';
|
|
@@ -54,7 +54,7 @@ const PaymentProvisioningFormSteps = /*@__PURE__*/ proxyCustomElement(class Paym
|
|
|
54
54
|
return this.componentStepMapping[this.currentStep]();
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
|
-
return (h("div", { key: '
|
|
57
|
+
return (h("div", { key: 'f25bbaeeac7ea49b2d99f746af0aec7b637d879a', class: 'col-12 mb-4' }, this.currentStepComponent));
|
|
58
58
|
}
|
|
59
59
|
}, [0, "justifi-payment-provisioning-form-steps", {
|
|
60
60
|
"businessId": [1, "business-id"],
|
|
@@ -68,7 +68,7 @@ function defineCustomElement() {
|
|
|
68
68
|
if (typeof customElements === "undefined") {
|
|
69
69
|
return;
|
|
70
70
|
}
|
|
71
|
-
const components = ["justifi-payment-provisioning-form-steps", "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", "owner-form-core", "owner-form-inputs"];
|
|
71
|
+
const components = ["justifi-payment-provisioning-form-steps", "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", "owner-form-core", "owner-form-inputs"];
|
|
72
72
|
components.forEach(tagName => { switch (tagName) {
|
|
73
73
|
case "justifi-payment-provisioning-form-steps":
|
|
74
74
|
if (!customElements.get(tagName)) {
|
|
@@ -110,7 +110,7 @@ function defineCustomElement() {
|
|
|
110
110
|
defineCustomElement$o();
|
|
111
111
|
}
|
|
112
112
|
break;
|
|
113
|
-
case "form-control-monetary":
|
|
113
|
+
case "form-control-monetary-provisioning":
|
|
114
114
|
if (!customElements.get(tagName)) {
|
|
115
115
|
defineCustomElement$n();
|
|
116
116
|
}
|
|
@@ -9,7 +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 { M as MapPaymentStatusToBadge } from './payments-status.js';
|
|
12
|
-
import {
|
|
12
|
+
import { j as convertToLocal } from './utils2.js';
|
|
13
13
|
import { o as onQueryParamsChange, g as getRequestParams } from './payments-list-params-state.js';
|
|
14
14
|
import { d as defineCustomElement$1 } from './pagination-menu2.js';
|
|
15
15
|
|
|
@@ -121,7 +121,7 @@ const PaymentsListCore = /*@__PURE__*/ proxyCustomElement(class PaymentsListCore
|
|
|
121
121
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
122
122
|
}
|
|
123
123
|
render() {
|
|
124
|
-
return (h("div", { key: '
|
|
124
|
+
return (h("div", { key: '7650bc8c64b4b727048b748bb899b534159c2ecd' }, h("div", { key: 'ebf919d213a280adea8852c33c53314db3d73279', class: "table-wrapper" }, h("table", { key: '618a5113b68901bef3df0aed342e8cc6e76f672d', class: "table table-hover", part: table }, h("thead", { key: '4978a6a0572f228ce0b67aed63c0123f3c13251a', class: "table-head sticky-top" }, h("tr", { key: '875633307c439d239ed9ff6c9eae5f414729b4fc', class: "table-light text-nowrap" }, this.paymentsTable.columnData.map((column) => column))), h("tbody", { key: '030a7ab7d92337fa4ee74d206e4a48c79f6eae4d', class: "table-body" }, h(TableLoadingState, { key: '6b3a71f087ac93c2b6487043d1624518b01d7370', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '51a90cd22acfdf55b0c351e6b7f2b1b7e1f156d0', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: '47367183f197a6eafe761ac478a435bba5f9f6d6', columnSpan: this.paymentsTable.columnData.length, errorMessage: this.errorMessage }), this.showRowData && this.paymentsTable.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: '2ca665dbc33b954145cedba2d75e98a3d45ff85f', class: "sticky-bottom" }, h("tr", { key: 'a7ecd6b390fdb960c589e2c463d354afe7b29100', class: "table-light align-middle" }, h("td", { key: '74f32baddb41ff3ca04b2199b1a5d75189fb406e', part: tableCell, colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: '123f359c4a1948ee0189e49b163520d5858936ec', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
125
125
|
}
|
|
126
126
|
static get watchers() { return {
|
|
127
127
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -74,7 +74,7 @@ const PayoutDetailsCore = /*@__PURE__*/ proxyCustomElement(class PayoutDetailsCo
|
|
|
74
74
|
}
|
|
75
75
|
render() {
|
|
76
76
|
var _a;
|
|
77
|
-
return (h(StyledHost, { key: '
|
|
77
|
+
return (h(StyledHost, { key: '061c711344ca86e94a8fcc9d3d5f7de97e5c2179' }, this.loading && h(PayoutDetailsLoading, { key: '697e0405c5287731c6b5349f89919e6ca167a7b8' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: 'baf48186beef6db33ca09cc62f48e1d6233cc087', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '2ad1ac98d7b7613c017ce94d5f970c599e385857', slot: "head-info", badge: MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), title: this.payout.formattedPaymentAmount(this.payout.amount) }, h(EntityHeadInfoItem, { key: '356ae84a31ba8d28d4b00c5a019c9f6f169c16bb', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: '9bc19f40ab8c1c75acf8771d2e939c9b86c81352', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: 'adda5e8e83511030ab0998b9093d3f73879b1b34', title: "ID", value: this.payout.id }), h("div", { key: 'a8e3eb9c2ac80d09078adb19107106d2952c4995', class: "m-4" }, h(Button, { key: '039196e6cb3d5600eb60343eb073739b262adb89', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: '7076fed938660f113e41d0f1cf29410df02bd9d5', slot: 'detail-sections' }, h(DetailSectionTitle, { key: 'bd3fbd6c010d62a3db20b05eb09b6e1144675978', sectionTitle: "Details" }), h("div", { key: '6f5faf48a2fa1a49265e8c7454889ad007efea77', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '7f426b472de86bc4948bb4722f5f59190a8816fc', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: '9c985e1faaac021bb49c15064edb7cdacb53b285', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: '819e4ce2b8a2aa34eee35994bd395cfbd358a08b', title: "Payout Method", value: this.payout.delivery_method }), h(DetailItem, { key: 'de6ef451dba0364a2d531b82ed5a8a3cfc865fce', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: 'ab3705265c4d05f3e157e5beb338239e99be687d', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: 'ceef5bbeeb73858eea8643a50107288e87280c15', sectionTitle: "Account" }), h("div", { key: '6652445ecf1819d85b8642af02ded44cde934979', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '53b1e17717881ee14bbac8ff5941d8ee850675c2', title: "ID", value: this.payout.account_id }), h(DetailItem, { key: 'afc5c48aef9715ef55f1aaa207f0af427679f8a4', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: 'd78fe12043891c7a76b9c1d590cff1cfb45bf1f3', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '5c8d4c492a4f0ccb2d1b7c721be7426e6b46e143', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: '9ecc3872af10c9cfc380b1f4382a1ac980fff0fd', title: "Account Number", value: this.payout.bank_account.account_number_last4 })), h(DetailSectionTitle, { key: 'd38fdfd6754a68ff340a3e6456418c2ee0cd0672', sectionTitle: 'Metadata' }), h("div", { key: 'e45b2a4681556d276eaeed35e5c8a3b90e3235f0', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '1c2b19619b1997ee8f12116d1ffe822fd5ce09ce', metadata: this.payout.metadata })))))));
|
|
78
78
|
}
|
|
79
79
|
static get watchers() { return {
|
|
80
80
|
"getPayout": ["getPayoutWatcher"]
|
|
@@ -8,7 +8,7 @@ import './Document.js';
|
|
|
8
8
|
import { q as getAlternateTableCellPart, o as tableHeadCell, n as table, p as tableCell } from './parts.js';
|
|
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
|
-
import {
|
|
11
|
+
import { j as convertToLocal } from './utils2.js';
|
|
12
12
|
import { M as MapPayoutStatusToBadge } from './payouts-status.js';
|
|
13
13
|
import { o as onQueryParamsChange, g as getRequestParams } from './payouts-list-params-state.js';
|
|
14
14
|
import { d as defineCustomElement$1 } from './pagination-menu2.js';
|
|
@@ -178,7 +178,7 @@ const PayoutsListCore = /*@__PURE__*/ proxyCustomElement(class PayoutsListCore e
|
|
|
178
178
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
179
179
|
}
|
|
180
180
|
render() {
|
|
181
|
-
return (h("div", { key: '
|
|
181
|
+
return (h("div", { key: 'ff5859c3d61ab7b2d532541c383c2478b9efc391' }, h("div", { key: 'cb50816020bfd324fae4f5f0d1a151ab04600b64', class: "table-wrapper", part: "table-wrapper" }, h("table", { key: '69cf5b76a95dd9396b97c6dd54aab8c067522102', class: "table table-hover", part: table }, h("thead", { key: '086161ba08d930efaf431571fa7670ad74a1ec88', class: "table-head sticky-top", part: "table-head" }, h("tr", { key: '659d524600aec47afa5dc75cce808da945408536', class: "table-light text-nowrap", part: "table-head-row" }, this.payoutsTable.columnData.map((column) => column))), h("tbody", { key: 'bf665357df28983b110565b8556f1cf1a022f164', class: "table-body" }, h(TableLoadingState, { key: 'c789d5b153a377ca1d2e0244e4480fe118ffa2d2', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '80ab61d7e68e50ad88ad5a7f8e11464418006a59', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: '195c41c6e0a91d09ca0440002e2883fe49626c07', columnSpan: this.payoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.payoutsTable.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: 'd9094830c7572cfbbfe0a17d55d9ad0daffd319f', class: "sticky-bottom" }, h("tr", { key: '658d6a380abc8085f5ec26b1423e0b9487b962d6', class: "table-light align-middle" }, h("td", { key: '962ddd1a6873a7206126e145d6772bacd4197cbf', part: tableCell, colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: '28c37545fe9fdce46302a9cc6d370d95e7d03d7b', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
182
182
|
}
|
|
183
183
|
static get watchers() { return {
|
|
184
184
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -39,7 +39,7 @@ const PostalForm = /*@__PURE__*/ proxyCustomElement(class PostalForm extends HTM
|
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
41
|
const postalFormDefaultValue = this.formController.getInitialValues();
|
|
42
|
-
return (h(Host, { key: '
|
|
42
|
+
return (h(Host, { key: '3d70df5d84e1ee5bf9dfac6802d363e06341174e' }, h("form", { key: 'f91ec1a5078461075c419be4402a8df393bae499' }, h("fieldset", { key: '25ccb09388339cab44e70319c9d918c51d6049bf' }, this.legend && h("legend", { key: '292c52a34f7eba726121c68ced16e91d7f442b7f' }, this.legend), h("div", { key: 'a29e228daceb269c8d2137aed1cfe6db8eb7d821', class: "row gy-3" }, h("div", { key: 'b4bf02f82a7048051fe72c409da6612533ee2645', class: "col-12" }, h("form-control-text", { key: '43ef0840e700024c2aeab32cf8e2f4bd3b360de6', name: 'address_postal_code', label: "ZIP", defaultValue: postalFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler })))))));
|
|
43
43
|
}
|
|
44
44
|
}, [0, "postal-form", {
|
|
45
45
|
"legend": [1025],
|
|
@@ -41,7 +41,7 @@ const ProductOrService = /*@__PURE__*/ proxyCustomElement(class ProductOrService
|
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
43
|
var _a, _b, _c;
|
|
44
|
-
return (h("div", { key: '
|
|
44
|
+
return (h("div", { key: '8d3c718760c63f8ff57e02979bc16220a1fe1bef' }, h("div", { key: '9e01588d0a7ecdf25649e06eeb488eceec28f369', class: "row gy-3" }, h("div", { key: 'a596d8b3cb35c20b6131cafaf58ce4b7d8112f47', class: "col-12" }, h("h2", { key: 'f85ef842a4134424368eddd1fb937b603f24cd93', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: '2248cf9d4604d9ad01257849662fbe003b06b008', class: "col-12" }, h("form-control-text", { key: '15a7ea5b0bc3544ca9cc261690a8fbc41d3acf14', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), h("div", { key: '55dd1964d4674196a13a319620c9333410899ede', class: "col-12" }, h("form-control-date", { key: '528b504c7a73d0ff9e43d92c0cc2ca75bef3f700', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), h("div", { key: '2551b98489d545825da7418957267128e5629419', class: "col-12" }, h("form-control-file-v2", { key: '93acee274f248630fba1d9a1b130bfa7404b075b', label: "Service Documentation", name: "service_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.service_documentation })))));
|
|
45
45
|
}
|
|
46
46
|
}, [0, "justifi-product-or-service", {
|
|
47
47
|
"disputeResponse": [8, "dispute-response"],
|
|
@@ -41,7 +41,7 @@ const RefundPolicy = /*@__PURE__*/ proxyCustomElement(class RefundPolicy extends
|
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
43
|
var _a, _b, _c, _d;
|
|
44
|
-
return (h("div", { key: '
|
|
44
|
+
return (h("div", { key: '5090f71dfc35c4ecf7a49d566b42d5ed926d7188' }, h("div", { key: 'd7533084b67a246236698cbc08c129104611db39', class: "row gy-3" }, h("div", { key: 'aa88ebc88a55fc241f65e20b9bf1ec26b90100f2', class: "col-12" }, h("h2", { key: '5216145cce452bedaa470f0dbb12f416e02bd065', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: '95617388997edf7c450ae4907b4637e387a4f856', class: "col-12" }, h("form-control-textarea", { key: '1f7617d2d2ad73a5146a26a93e624fd235a86d4b', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), h("div", { key: 'dea5e70fac18452bec1db04cb2a647e12b1c20ed', class: "col-12" }, h("form-control-textarea", { key: '21189989b1acc035b65aa7cdf97f8c2b7f8f6ec5', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), h("div", { key: 'af9fe5c50b4a3b08bd61ba125f8dea9384b40ed1', class: "col-12" }, h("form-control-file-v2", { key: 'ca725cb13d208ab585b58e792e4172153be6d2ae', label: "Upload Refund Policy", name: "refund_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.refund_policy })), h("div", { key: 'b81ce0ce44cb79e04d10ab7ccd3da8d4e3172b47', class: "col-12" }, h("form-control-file-v2", { key: 'f990cd794f8ed0f1912644fd727e77fc3ca61957', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
|
|
45
45
|
}
|
|
46
46
|
}, [0, "justifi-refund-policy", {
|
|
47
47
|
"disputeResponse": [8, "dispute-response"],
|
|
@@ -13,7 +13,7 @@ const SaveNewPaymentMethod = /*@__PURE__*/ proxyCustomElement(class SaveNewPayme
|
|
|
13
13
|
this.checkboxChanged.emit(this.isChecked);
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h("div", { key: '
|
|
16
|
+
return (h("div", { key: 'e6e7a75237ec2062188bf85deadac58892663b3b', class: "mt-4 form-check" }, h("form-control-checkbox", { key: 'abbaeb4e9119c4d41f0a727c7a070c14b7418302', label: "Save new payment method", name: "saveNewPaymentMethod", checked: this.isChecked, inputHandler: this.handleCheckboxChange.bind(this) })));
|
|
17
17
|
}
|
|
18
18
|
}, [0, "justifi-save-new-payment-method", {
|
|
19
19
|
"isChecked": [32]
|
|
@@ -46,7 +46,7 @@ const SavedPaymentMethod = /*@__PURE__*/ proxyCustomElement(class SavedPaymentMe
|
|
|
46
46
|
;
|
|
47
47
|
render() {
|
|
48
48
|
var _a, _b, _c;
|
|
49
|
-
return (h(Host, { key: '
|
|
49
|
+
return (h(Host, { key: '78487e52f549547f4c89f48a238a8916d77d4f1c', class: "payment-method" }, h("div", { key: 'd437a5f9e79356b1177703da2b5d7f4ca98072ce', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { key: '0dd03b9ebae98c441c63717aba310d77e587b1c8', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: `${CardBrandLabels[(_b = this.paymentMethodOption) === null || _b === void 0 ? void 0 : _b.brand] || ''} *${(_c = this.paymentMethodOption) === null || _c === void 0 ? void 0 : _c.acct_last_four}` }))));
|
|
50
50
|
}
|
|
51
51
|
}, [0, "justifi-saved-payment-method", {
|
|
52
52
|
"paymentMethodOption": [16],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
|
|
2
|
-
import { p as processHTML, f as formatCurrency, r as removeAttribute,
|
|
2
|
+
import { p as processHTML, f as formatCurrency, r as removeAttribute, l as addAttribute } from './utils2.js';
|
|
3
3
|
import { v as validateInsuranceValues, a as insuranceValues, b as insuranceErrors, H as Header2 } from './insurance-state.js';
|
|
4
4
|
import { t as text, j as textDanger } from './parts.js';
|
|
5
5
|
import { S as StyledHost } from './styled-host.js';
|
|
@@ -71,7 +71,7 @@ const SezzlePaymentMethod = /*@__PURE__*/ proxyCustomElement(class SezzlePayment
|
|
|
71
71
|
}
|
|
72
72
|
render() {
|
|
73
73
|
var _a, _b, _c;
|
|
74
|
-
return (h(Host, { key: '
|
|
74
|
+
return (h(Host, { key: '4ae50e7bbb15d0049d069edacd0d95ba7c13dbe5', class: "payment-method" }, h("script", { key: '42a0590d89626ba7a93852e421eb121626b48375', src: "https://checkout-sdk.sezzle.com/checkout.min.js", async: true, ref: (el) => (this.scriptRef = el) }), h("div", { key: '31a2a72650486c258267c6d4de3723f7afa5b063', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { key: 'eac1adbcd82fcb4f9c440c53c40ce34af6092991', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: h("div", null, h("div", null, "Buy now, pay later with ", sezzleLogo), this.installmentPlan && (h("small", null, h("span", null, (_b = this.installmentPlan) === null || _b === void 0 ? void 0 : _b.installments.length), "\u00A0", h("span", null, this.installmentPlan.schedule, " payments of"), "\u00A0", h("span", { class: "fw-bold" }, formatCurrency((_c = this.installmentPlan) === null || _c === void 0 ? void 0 : _c.installments[0].amountInCents))))) }))));
|
|
75
75
|
}
|
|
76
76
|
}, [0, "justifi-sezzle-payment-method", {
|
|
77
77
|
"bnpl": [8],
|
|
@@ -46,7 +46,7 @@ const ShippingDetails = /*@__PURE__*/ proxyCustomElement(class ShippingDetails e
|
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
48
|
var _a, _b, _c, _d, _e;
|
|
49
|
-
return (h("div", { key: '
|
|
49
|
+
return (h("div", { key: 'beacff494e22ff1601a3e64d77436be84b314c7c' }, h("div", { key: 'a095d517c3df9961c773f745961da2bbefc82b0c', class: "row gy-3" }, h("div", { key: '4cb4467983bea92caabc945ecda46caff69e84c8', class: "col-12" }, h("h2", { key: 'b55e940dd7276b8ddf3e67e2e1c611b26c353d15', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: '3f1358ffc89880c669a2b72f382baf8898fe785d', class: "col-12" }, h("form-control-text", { key: '8557d28a5b80e7a0acac01691211ac824122f5c0', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), h("div", { key: '68e3c12692ff193c98446b3952a3e10432d1737a', class: "col-12" }, h("form-control-text", { key: '05813d683d66aae6758480786ebbf9e3cb5c2a19', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), h("div", { key: '26c57ad3b9a7812eadf135d1c03d6a52b0208c5d', class: "col-12" }, h("form-control-date", { key: '3dd3a3c458ef8aa72572aac96bd1ada68faacf88', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), h("div", { key: '598a58691b626c53fd31fe4558d5aa4539471f52', class: "col-12" }, h("form-control-textarea", { key: '18c24b65e26e4bdd3a2306d62bc6337c8eb76bc5', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), h("div", { key: '643b8bdea3bf3588217b0faad353a487f5f4e53f', class: "col-12" }, h("form-control-file-v2", { key: '3dcb020413c5c85b0b9fc726ba7e674eb42d7926', label: "Shipping Documentation", name: "shipping_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.shipping_documentation })))));
|
|
50
50
|
}
|
|
51
51
|
}, [0, "justifi-shipping-details", {
|
|
52
52
|
"disputeResponse": [8, "dispute-response"],
|
|
@@ -33,7 +33,7 @@ const TableFiltersMenu = /*@__PURE__*/ proxyCustomElement(class TableFiltersMenu
|
|
|
33
33
|
this.showClearButton = hasFilters(this.params);
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return (h("div", { key: '
|
|
36
|
+
return (h("div", { key: 'c077391d1358cd6ad02857e05a56aab3e1d10018', class: "d-flex gap-2" }, h("div", { key: 'd28773f0b202b1fcbe19bc5bace1cbf17f5538f7', class: "dropdown pb-3" }, h(Button, { key: '0ad326c9539d5c93573001f6c98486bbbe7a4eaf', variant: "primary", type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), h("custom-popper", { key: '9ebcaad716bd3b38233a2e78aa219f397c821472', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: 'ca88fa944c5e9ac23f6ebee6c771603516b83f85', class: "dropdown-menu", part: dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: '7cc23a56a5db363ebdf375d41a758db534c9b9a7' })))), h("div", { key: '7047b1659d9f854ccb5e00f53fa03d4d42d7c550' }, h(Button, { key: '73e413af21cc39818ec8156d736ffdf72bc844d3', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
|
|
37
37
|
}
|
|
38
38
|
static get watchers() { return {
|
|
39
39
|
"params": ["watchParamsHandler"]
|
|
@@ -8,7 +8,7 @@ import { p as pagingDefaults } from './Pagination.js';
|
|
|
8
8
|
import './Payment.js';
|
|
9
9
|
import './SubAccount.js';
|
|
10
10
|
import './Document.js';
|
|
11
|
-
import {
|
|
11
|
+
import { j as convertToLocal } from './utils2.js';
|
|
12
12
|
import { B as Badge, a as BadgeVariant } from './badge.js';
|
|
13
13
|
import { o as onQueryParamsChange, g as getRequestParams } from './terminal-orders-list-params-state.js';
|
|
14
14
|
import { d as defineCustomElement$1 } from './pagination-menu2.js';
|
|
@@ -143,7 +143,7 @@ const TerminalOrdersListCore = /*@__PURE__*/ proxyCustomElement(class TerminalOr
|
|
|
143
143
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
144
144
|
}
|
|
145
145
|
render() {
|
|
146
|
-
return (h("div", { key: '
|
|
146
|
+
return (h("div", { key: '029644a4c7e2f8957ffafb9ff62390b6b6869fce' }, h("div", { key: 'c6d0ae6e68f45252bbc276da1ed853fc6b9b5338', class: "table-wrapper" }, h("table", { key: '1809d7ddfd9b9c6834498115ac43df8f7b4ea5d9', class: "table table-hover", part: table }, h("thead", { key: 'bcd8f0c82e5aa97ba1bd1207353bc09a4c21bd05', class: "table-head sticky-top" }, h("tr", { key: 'bfe9dc35dc30acf4f483c0359989db9ff82ceb7a', class: "table-light text-nowrap" }, this.terminalOrdersTable.columnData.map((column) => column))), h("tbody", { key: '5181c615bbc06bf347c9e567064fcbbf6b518d2d', class: "table-body" }, h(TableLoadingState, { key: 'a48ee705634008f203e01327ea6f9efdf980fdc5', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'ae1daed5464b7719e4f4e7c116a408b6b37cb997', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), h(TableErrorState, { key: '9496b60d37f5ad699083f3cd305e14550a4b6770', columnSpan: this.terminalOrdersTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalOrdersTable.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: '0ac98a7e41add32367010e0c09f99c4328f2d717', class: "sticky-bottom" }, h("tr", { key: 'a8fda69087663a8707ef16c2fa153d351426fe0c', class: "table-light align-middle" }, h("td", { key: 'f805502e404b69e86f3ec0963321bd9989c035b8', part: tableCell, colSpan: this.terminalOrdersTable.columnData.length }, h("pagination-menu", { key: '93848e212dce3b8e00b4e44e4907045c2ca5fd67', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
147
147
|
}
|
|
148
148
|
static get watchers() { return {
|
|
149
149
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -28,7 +28,7 @@ const TerminalQuantitySelector = /*@__PURE__*/ proxyCustomElement(class Terminal
|
|
|
28
28
|
this.selectedQuantity = 0;
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
|
-
return (h("div", { key: '
|
|
31
|
+
return (h("div", { key: '2d549b468e071dfcf74977101abbc2d87849fceb', class: "rounded shadow-sm card p-2", part: text }, h("div", { key: 'f12c2934cb878a910bbed78c5a355e06470e0376', class: "d-flex gap-3" }, h("div", { key: 'ac4556722561202bdb4b5a6aa394ee5c022ed008', class: "d-flex align-items-center" }, h("img", { key: '95251b4754303b2d89693bfc77611aa78b602bc9', src: this.imageUrl, alt: this.modelName, height: 75, width: 75, part: image })), h("div", { key: '01c92c855b6f4f485981daeb38134214fdd1762d', class: "d-flex flex-column flex-grow-1 gap-3 p-4 justify-content-center" }, h("div", { key: '427ae984650fe56887f591203348d930a2cf0c49', class: "row" }, h("div", { key: '36749d30ecbc22bd0841fdd128ecec584b2104a5', class: "col-6 d-flex gap-2" }, this.modelName, h("form-control-tooltip", { key: 'd29543ccf91db6947a4fe38113f251be7bc76e39', helpText: this.description })), h("div", { key: '83452b8b227597a83adaad1a64753609cbe02484', class: "col-6 d-flex justify-content-end align-items-center" }, h("button", { key: '88e33206b8b2f29858263481c75fdbc13ee687d1', class: "p-0 minus btn", onClick: this.removeUnit, part: buttonLink }, "-"), h("div", { key: 'a5fb4209f79529560bb253aef077035fa532e1fc', class: "w-25 text-center" }, this.selectedQuantity), h("button", { key: 'a431b869cebc0a53514731ed69de88bdbb63b4c6', class: "p-0 plus btn", onClick: this.addUnit, part: buttonLink }, "+")))))));
|
|
32
32
|
}
|
|
33
33
|
}, [0, "terminal-quantity-selector", {
|
|
34
34
|
"modelName": [1, "model-name"],
|
|
@@ -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 { m 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 '';
|
|
@@ -3981,5 +3986,16 @@ function processHTML(htmlString, functions) {
|
|
|
3981
3986
|
});
|
|
3982
3987
|
return processedHTML;
|
|
3983
3988
|
}
|
|
3989
|
+
function formatPhoneNumber(number) {
|
|
3990
|
+
// Remove all non-numeric characters
|
|
3991
|
+
let cleaned = ('' + number).replace(/\D/g, '');
|
|
3992
|
+
// Check if the number has the correct length
|
|
3993
|
+
if (cleaned.length !== 10) {
|
|
3994
|
+
return 'Invalid number';
|
|
3995
|
+
}
|
|
3996
|
+
// Format the number (XXX) XXX-XXXX
|
|
3997
|
+
let formatted = cleaned.replace(/(\d{3})(\d{3})(\d{4})/, '($1) $2-$3');
|
|
3998
|
+
return formatted;
|
|
3999
|
+
}
|
|
3984
4000
|
|
|
3985
|
-
export { formatMediumDate as a, formatDate as b, formatTimeSeconds as c, formatTime as d, formatDisplayDate as e, formatCurrency as f, snakeToCamel as g,
|
|
4001
|
+
export { formatMediumDate as a, formatDate as b, formatTimeSeconds as c, formatTime as d, formatDisplayDate as e, formatCurrency as f, snakeToCamel as g, formatPhoneNumber as h, isEmptyObject as i, convertToLocal as j, convertToUTC as k, addAttribute as l, capitalFirstLetter as m, 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;
|
|
@@ -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
|
}
|
|
@@ -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;
|