@justifi/webcomponents 5.4.0 → 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/{Checkout-eef27045.js → Checkout-f10bed8c.js} +1 -1
- package/dist/cjs/{Payment-c47ed1e1.js → Payment-3f483b7a.js} +1 -1
- package/dist/cjs/{SubAccount-9babbfd3.js → SubAccount-a27d4e9f.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-75cc34ca.js} +1 -1
- package/dist/cjs/{checkout.service-46a5b9f2.js → checkout.service-61616349.js} +3 -3
- package/dist/cjs/checkouts-list-core.cjs.entry.js +10 -10
- package/dist/cjs/{checkouts-table-7f2081df.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-a36c48bf.js → dispute.service-b68fdcc4.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-f0c04d96.js} +3 -3
- package/dist/cjs/{get-subaccounts-c1d559a0.js → get-subaccounts-330a9e85.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 +20 -22
- 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-459e93fd.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-ff43bfc4.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-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-aa6842ac.js → payouts-status-ced97c2b.js} +1 -1
- package/dist/cjs/{payouts-table-d4c8bbbc.js → payouts-table-194a4343.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-4df19497.js} +3 -3
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
- package/dist/cjs/{terminal.service-ac44fc14.js → terminal.service-56397d88.js} +3 -3
- package/dist/cjs/terminals-list-core.cjs.entry.js +10 -10
- package/dist/cjs/{terminals-table-3f0c33ea.js → terminals-table-9b313566.js} +14 -2
- package/dist/cjs/{utils-337befa9.js → utils-54719fda.js} +8 -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 +23 -7
- 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 +8 -2
- package/dist/docs.json +396 -140
- 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-0248b5ab.js → SubAccount-68403637.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-b4d631be.js} +1 -1
- package/dist/esm/{checkout.service-fe338804.js → checkout.service-e59354cc.js} +3 -3
- package/dist/esm/checkouts-list-core.entry.js +10 -10
- package/dist/esm/{checkouts-table-e339bf0c.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-3e1320fe.js → dispute.service-8312d46a.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-74397995.js} +3 -3
- package/dist/esm/{get-subaccounts-6b048fd1.js → get-subaccounts-f8bd5c96.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 +20 -22
- 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-53180f2a.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-b9ec64c9.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-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-181276c5.js → payouts-status-29d31099.js} +1 -1
- package/dist/esm/{payouts-table-199bdf64.js → payouts-table-7f31db9d.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-1f6156c9.js} +3 -3
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/{terminal.service-4fab5adc.js → terminal.service-fff19896.js} +3 -3
- package/dist/esm/terminals-list-core.entry.js +10 -10
- package/dist/esm/{terminals-table-4e1644e8.js → terminals-table-7d54e359.js} +14 -2
- package/dist/esm/{utils-96c6292c.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/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 +10 -11
- 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.js +2 -2
- 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 +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 +1 -1
- package/dist/module/terminal-quantity-selector2.js +1 -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/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 +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-324587d0.js → p-03c2261c.js} +1 -1
- package/dist/webcomponents/{p-2ca5b5e4.js → p-08b64251.js} +1 -1
- package/dist/webcomponents/{p-da2a9dfa.entry.js → p-0b61d4d3.entry.js} +1 -1
- package/dist/webcomponents/{p-365e56fc.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-b19a37d4.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-9c57de4e.entry.js → p-375657fe.entry.js} +1 -1
- package/dist/webcomponents/{p-56143442.entry.js → p-385d3637.entry.js} +1 -1
- package/dist/webcomponents/{p-e5c60276.entry.js → p-38900c29.entry.js} +1 -1
- package/dist/webcomponents/{p-daf0303f.js → p-422948eb.js} +1 -1
- package/dist/webcomponents/p-43e225d2.entry.js +1 -0
- package/dist/webcomponents/{p-1fb5677e.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-13d62477.entry.js → p-58476602.entry.js} +1 -1
- package/dist/webcomponents/{p-c380213d.js → p-58ee6ce9.js} +1 -1
- package/dist/webcomponents/p-59eef054.entry.js +1 -0
- package/dist/webcomponents/{p-e52e9120.entry.js → p-5a9d7ca0.entry.js} +1 -1
- package/dist/webcomponents/{p-78255a04.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-d5960545.js → p-5efe6236.js} +1 -1
- package/dist/webcomponents/{p-d7bcf8f0.js → p-64443fc0.js} +1 -1
- package/dist/webcomponents/{p-7d93c28b.js → p-673c1bca.js} +1 -1
- package/dist/webcomponents/{p-df9ff0ce.entry.js → p-6c79e7c3.entry.js} +1 -1
- package/dist/webcomponents/{p-0d01d245.entry.js → p-6d3611b6.entry.js} +1 -1
- package/dist/webcomponents/{p-d8ba9309.entry.js → p-745a577c.entry.js} +1 -1
- package/dist/webcomponents/p-76549a24.js +1 -0
- package/dist/webcomponents/{p-485df2fe.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-d273f33b.js → p-927cb6df.js} +1 -1
- package/dist/webcomponents/{p-dd3de924.entry.js → p-92e96b57.entry.js} +1 -1
- package/dist/webcomponents/{p-be6fea42.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-88af0d7d.js → p-a5579f53.js} +1 -1
- package/dist/webcomponents/{p-17c4edf7.js → p-a5b52c1d.js} +1 -1
- package/dist/webcomponents/{p-45e68bb3.entry.js → p-a5f5cc2e.entry.js} +1 -1
- package/dist/webcomponents/{p-17eea747.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-fdd244b1.entry.js → p-bae35151.entry.js} +1 -1
- package/dist/webcomponents/p-bb4b3f79.entry.js +1 -0
- package/dist/webcomponents/{p-073f24ba.entry.js → p-bdbbee07.entry.js} +1 -1
- package/dist/webcomponents/p-bdcf3a3c.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-c4f8ed38.js +1 -0
- package/dist/webcomponents/{p-34a95381.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-251c8e97.js → p-cd5883b9.js} +1 -1
- package/dist/webcomponents/p-cedad1b6.entry.js +1 -0
- package/dist/webcomponents/{p-a7594f8f.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-55e21977.entry.js → p-d903d838.entry.js} +1 -1
- package/dist/webcomponents/{p-36e32bc4.entry.js → p-d9b5140e.entry.js} +1 -1
- package/dist/webcomponents/p-d9dc15d4.entry.js +1 -0
- package/dist/webcomponents/p-db973fa9.entry.js +1 -0
- package/dist/webcomponents/p-dbc1a95b.js +1 -0
- package/dist/webcomponents/{p-ba113075.js → p-dbf21732.js} +1 -1
- package/dist/webcomponents/{p-f57d5d4f.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-1b3a6c40.entry.js → p-ed9d22d5.entry.js} +1 -1
- package/dist/webcomponents/{p-d78ea308.entry.js → p-ee539373.entry.js} +1 -1
- package/dist/webcomponents/{p-ed3ad073.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-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-0bafaf49.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-646d007a.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-a81cabed.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-c7c9725d.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
|
@@ -124,7 +124,7 @@ export class CheckoutCore {
|
|
|
124
124
|
return (h("section", null, h("div", { class: !this.isLoading && 'visually-hidden' }, h(Skeleton, { height: "24px" })), h("div", { class: this.isLoading && 'visually-hidden' }, h("div", { part: text }, (_a = this.checkout) === null || _a === void 0 ? void 0 : _a.payment_description), h("div", null, h("span", { part: text }, "Total"), "\u00A0", h("span", { part: text }, formatCurrency(+((_b = this.checkout) === null || _b === void 0 ? void 0 : _b.total_amount)))))));
|
|
125
125
|
}
|
|
126
126
|
render() {
|
|
127
|
-
return (h(StyledHost, { key: '
|
|
127
|
+
return (h(StyledHost, { key: '5a3131312064d08358320f15562cd3130f125c4c' }, h("div", { key: 'a048e80b026c9cebbed53fac3acffb3db49599c2', class: "row gy-3 jfi-checkout-core" }, h("div", { key: '2c99697464195f90d96cc58ad68d2fd6147b80b1', class: "col-12", part: checkoutSummary }, h(Header2, { key: '1b49acf33c004c11554825f5cb1341a3224c452c', text: "Summary", class: "fs-5 fw-bold pb-3" }), this.summary), h("div", { key: 'f7513e8c9cb88f77cddae02c299e66435863ba72', class: "col-12" }, h("slot", { key: '0ae73bf9497ac5d458a816ede988f6176cdbc30f', name: "insurance" })), h("div", { key: '4395884ff39c9e2919af1cc8328a66aa409f5389', class: "col-12 mt-4" }, h(Header2, { key: '26b5631b8c3fc3f8bd2cf8c6b5fb14db49e5e187', text: "Payment", class: "fs-5 fw-bold pb-3" }), h(Header3, { key: 'abb63414930c847d1db7680e81bed30af974344a', text: "Select payment type", class: "fs-6 fw-bold lh-lg" }), h("div", { key: 'fdbbbfa789f092d9f90ad15f755d529d399e2bc4', class: "d-flex flex-column" }, this.paymentType)), h("div", { key: 'a0d8329b680e6a30da5d5a11b51e2e1018068674', class: "col-12" }, h("div", { key: '40f932b56cdd2e68bf2a1e023939d3ce7764eedb', class: "d-flex justify-content-end" }, h(Button, { key: 'c98e7e15f6258a700c3dc96003048f3b5c84e582', type: "submit", variant: "primary", onClick: (e) => this.submit(e), disabled: this.isLoading, isLoading: this.isLoading, style: { width: '100%' } }, "Pay"))))));
|
|
128
128
|
}
|
|
129
129
|
static get is() { return "justifi-checkout-core"; }
|
|
130
130
|
static get encapsulation() { return "shadow"; }
|
|
@@ -401,13 +401,13 @@ export class CheckoutCore {
|
|
|
401
401
|
},
|
|
402
402
|
"BillingFormFields": {
|
|
403
403
|
"location": "import",
|
|
404
|
-
"path": "
|
|
405
|
-
"id": "src/components/billing-forms/billing-form-schema.ts::BillingFormFields"
|
|
404
|
+
"path": "./billing-forms/billing-form-schema",
|
|
405
|
+
"id": "src/components/checkout/billing-forms/billing-form-schema.ts::BillingFormFields"
|
|
406
406
|
},
|
|
407
407
|
"PostalFormFields": {
|
|
408
408
|
"location": "import",
|
|
409
|
-
"path": "
|
|
410
|
-
"id": "src/components/billing-forms/billing-form-schema.ts::PostalFormFields"
|
|
409
|
+
"path": "./billing-forms/billing-form-schema",
|
|
410
|
+
"id": "src/components/checkout/billing-forms/billing-form-schema.ts::PostalFormFields"
|
|
411
411
|
}
|
|
412
412
|
},
|
|
413
413
|
"return": "Promise<void>"
|
|
@@ -54,11 +54,11 @@ export class Checkout {
|
|
|
54
54
|
this.checkoutCoreRef.fillBillingForm(fields);
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
|
-
return (h("justifi-checkout-core", { key: '
|
|
57
|
+
return (h("justifi-checkout-core", { key: '4c752a401d34aae940f947600aa81961be1d6d8e', getCheckout: this.getCheckout, authToken: this.authToken, complete: this.complete, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, disableBnpl: this.disableBnpl, disablePaymentMethodGroup: this.disablePaymentMethodGroup, hideCardBillingForm: this.hideCardBillingForm, iframeOrigin: this.iframeOrigin, ref: el => {
|
|
58
58
|
if (el) {
|
|
59
59
|
this.checkoutCoreRef = el;
|
|
60
60
|
}
|
|
61
|
-
} }, h("div", { key: '
|
|
61
|
+
} }, h("div", { key: 'a67422cd23e1895f192abb352d328ea9874566e8', slot: "insurance" }, h("slot", { key: '937902933052abb1dae89271bc85ddd93b86a904', name: "insurance" }))));
|
|
62
62
|
}
|
|
63
63
|
static get is() { return "justifi-checkout"; }
|
|
64
64
|
static get properties() {
|
|
@@ -271,13 +271,13 @@ export class Checkout {
|
|
|
271
271
|
},
|
|
272
272
|
"BillingFormFields": {
|
|
273
273
|
"location": "import",
|
|
274
|
-
"path": "
|
|
275
|
-
"id": "src/components/billing-forms/billing-form-schema.ts::BillingFormFields"
|
|
274
|
+
"path": "./billing-forms/billing-form-schema",
|
|
275
|
+
"id": "src/components/checkout/billing-forms/billing-form-schema.ts::BillingFormFields"
|
|
276
276
|
},
|
|
277
277
|
"PostalFormFields": {
|
|
278
278
|
"location": "import",
|
|
279
|
-
"path": "
|
|
280
|
-
"id": "src/components/billing-forms/billing-form-schema.ts::PostalFormFields"
|
|
279
|
+
"path": "./billing-forms/billing-form-schema",
|
|
280
|
+
"id": "src/components/checkout/billing-forms/billing-form-schema.ts::PostalFormFields"
|
|
281
281
|
}
|
|
282
282
|
},
|
|
283
283
|
"return": "Promise<void>"
|
|
@@ -80,7 +80,7 @@ export class NewPaymentMethod {
|
|
|
80
80
|
}
|
|
81
81
|
render() {
|
|
82
82
|
var _a, _b;
|
|
83
|
-
return (h(Host, { key: '
|
|
83
|
+
return (h(Host, { key: '6d2d33cea2442744a4593e0635b1b2fcd6197275', class: "payment-method" }, h("div", { key: '5dc7a8e50668c3abf7b43a4251a6bbaa17c624d2', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { key: '2bd2cdff094dc1c103fe1c79a6a8a4ee7f6c17be', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: PaymentMethodTypeLabels[(_b = this.paymentMethodOption) === null || _b === void 0 ? void 0 : _b.id] })), this.isSelected ? this.showNewPaymentMethodForm() : null));
|
|
84
84
|
}
|
|
85
85
|
static get is() { return "justifi-new-payment-method"; }
|
|
86
86
|
static get properties() {
|
|
@@ -250,13 +250,13 @@ export class NewPaymentMethod {
|
|
|
250
250
|
},
|
|
251
251
|
"BillingFormFields": {
|
|
252
252
|
"location": "import",
|
|
253
|
-
"path": "
|
|
254
|
-
"id": "src/components/billing-forms/billing-form-schema.ts::BillingFormFields"
|
|
253
|
+
"path": "./billing-forms/billing-form-schema",
|
|
254
|
+
"id": "src/components/checkout/billing-forms/billing-form-schema.ts::BillingFormFields"
|
|
255
255
|
},
|
|
256
256
|
"PostalFormFields": {
|
|
257
257
|
"location": "import",
|
|
258
|
-
"path": "
|
|
259
|
-
"id": "src/components/billing-forms/billing-form-schema.ts::PostalFormFields"
|
|
258
|
+
"path": "./billing-forms/billing-form-schema",
|
|
259
|
+
"id": "src/components/checkout/billing-forms/billing-form-schema.ts::PostalFormFields"
|
|
260
260
|
}
|
|
261
261
|
},
|
|
262
262
|
"return": "Promise<void>"
|
|
@@ -59,7 +59,7 @@ export class PaymentMethodOptions {
|
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
61
|
var _a;
|
|
62
|
-
return (h(Host, { key: '
|
|
62
|
+
return (h(Host, { key: '2d3dc8bc98cea3efbcf342a31b6883f30099b031' }, (_a = this.paymentMethodOptions) === null || _a === void 0 ? void 0 : _a.map((paymentMethodOption) => {
|
|
63
63
|
const newCard = paymentMethodOption.id === PaymentMethodTypes.card;
|
|
64
64
|
const newBankAccount = paymentMethodOption.id === PaymentMethodTypes.bankAccount;
|
|
65
65
|
const isSelected = this.selectedPaymentMethodId === paymentMethodOption.id;
|
|
@@ -339,13 +339,13 @@ export class PaymentMethodOptions {
|
|
|
339
339
|
},
|
|
340
340
|
"BillingFormFields": {
|
|
341
341
|
"location": "import",
|
|
342
|
-
"path": "
|
|
343
|
-
"id": "src/components/billing-forms/billing-form-schema.ts::BillingFormFields"
|
|
342
|
+
"path": "./billing-forms/billing-form-schema",
|
|
343
|
+
"id": "src/components/checkout/billing-forms/billing-form-schema.ts::BillingFormFields"
|
|
344
344
|
},
|
|
345
345
|
"PostalFormFields": {
|
|
346
346
|
"location": "import",
|
|
347
|
-
"path": "
|
|
348
|
-
"id": "src/components/billing-forms/billing-form-schema.ts::PostalFormFields"
|
|
347
|
+
"path": "./billing-forms/billing-form-schema",
|
|
348
|
+
"id": "src/components/checkout/billing-forms/billing-form-schema.ts::PostalFormFields"
|
|
349
349
|
},
|
|
350
350
|
"HTMLJustifiNewPaymentMethodElement": {
|
|
351
351
|
"location": "global",
|
|
@@ -8,7 +8,7 @@ export class SaveNewPaymentMethod {
|
|
|
8
8
|
this.checkboxChanged.emit(this.isChecked);
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h("div", { key: '
|
|
11
|
+
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) })));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "justifi-save-new-payment-method"; }
|
|
14
14
|
static get states() {
|
|
@@ -20,7 +20,7 @@ export class SavedPaymentMethod {
|
|
|
20
20
|
;
|
|
21
21
|
render() {
|
|
22
22
|
var _a, _b, _c;
|
|
23
|
-
return (h(Host, { key: '
|
|
23
|
+
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}` }))));
|
|
24
24
|
}
|
|
25
25
|
static get is() { return "justifi-saved-payment-method"; }
|
|
26
26
|
static get properties() {
|
|
@@ -65,7 +65,7 @@ export class SezzlePaymentMethod {
|
|
|
65
65
|
}
|
|
66
66
|
render() {
|
|
67
67
|
var _a, _b, _c;
|
|
68
|
-
return (h(Host, { key: '
|
|
68
|
+
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))))) }))));
|
|
69
69
|
}
|
|
70
70
|
static get is() { return "justifi-sezzle-payment-method"; }
|
|
71
71
|
static get properties() {
|
|
@@ -124,7 +124,7 @@ export class CheckoutsListCore {
|
|
|
124
124
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
125
125
|
}
|
|
126
126
|
render() {
|
|
127
|
-
return (h("div", { key: '
|
|
127
|
+
return (h("div", { key: 'f94305b4a7c89d0d675e336eaac39c23328c9d98' }, h("div", { key: 'a43bbfee75303e2f88f6338933b0680e024d03fc', class: "table-wrapper" }, h("table", { key: 'd689db93b4d812c64eb074b0322e5ffc9087ec9f', class: "table table-hover", part: table }, h("thead", { key: '57f3a2e2f14af58787f9a68cbc12caf28834eea1', class: "table-head sticky-top" }, h("tr", { key: '7918b371db5dc1cd959e58a7be212faacc6e8f2c', class: "table-light text-nowrap" }, this.checkoutsTable.columnData.map((column) => column))), h("tbody", { key: '7ad39d5e2e91956d5c8bb7626e050ec5403c5aac', class: "table-body" }, h(TableLoadingState, { key: '327b6dc83a4937cae7e356185613006630b40884', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '559bf67b3fb6b959b0114a6e50a8b3ac00d518ac', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: 'f5e277558e63cdb335b52aaa162d7818850ca421', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.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: '7f34a1d78f45d33f95a2c23904ac0741124b9316', class: "sticky-bottom" }, h("tr", { key: '4f91985c1ae00640ef3d29b20e9cb28240f36c21', class: "table-light align-middle" }, h("td", { key: '75d32d3c6ca4882d8e50e44a13a4081bac4c9515', part: tableCell, colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: '81ec71b698e4ae3739440c7439125124f68086e0', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
128
128
|
}
|
|
129
129
|
static get is() { return "checkouts-list-core"; }
|
|
130
130
|
static get properties() {
|
|
@@ -40,7 +40,7 @@ export class CheckoutsListFilters {
|
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
42
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
43
|
-
return (h(StyledHost, { key: '
|
|
43
|
+
return (h(StyledHost, { key: 'c1af53aa366b42a96b73bc7e3880a00f91d38d40' }, h("table-filters-menu", { key: 'fd5826776be41b7f8ddb71459733047be623214b', params: filterMenuParams, clearParams: clearParams, part: checkoutsListFilterMenu }, h("div", { key: '8ebcb618fb95e79dc350b9c4f95af5cedef47dc7', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '449b7ba6d1b0839c8f79f614d0b4be56398e0719', class: "p-2" }, h("form-control-select", { key: '91a04afd5fdf302803ac46373aa752d53421dc3b', name: "status", label: "Status", options: this.checkoutStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.checkoutStatus || filterParams.status, disabled: !!this.checkoutStatus, part: statusCheckoutsListFilterParam })), h("div", { key: 'a0e1cb069b14ae3375d643e25206bd4438fefbc1', class: "p-2" }, h("form-control-select", { key: 'f576dcfa1a6d7221094cea7e4f0008a47b2af56a', name: "payment_mode", label: "Payment Mode", options: this.checkoutPaymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentMode || filterParams.payment_mode, disabled: !!this.paymentMode, part: paymentModeCheckoutsListFilterParam }))))));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "justifi-checkouts-list-filters"; }
|
|
46
46
|
static get encapsulation() { return "shadow"; }
|
|
@@ -66,7 +66,7 @@ export class CheckoutsList {
|
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
render() {
|
|
69
|
-
return (h(StyledHost, { key: '
|
|
69
|
+
return (h(StyledHost, { key: '072e2dc9373eef92119a0b0a01b61615d3bdcec0' }, h("checkouts-list-core", { key: '84027904ba2baf57aa22247c553ab585d0d71262', getCheckouts: this.getCheckouts, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
70
70
|
}
|
|
71
71
|
static get is() { return "justifi-checkouts-list"; }
|
|
72
72
|
static get encapsulation() { return "shadow"; }
|
|
@@ -50,7 +50,7 @@ export class DisputeManagementCore {
|
|
|
50
50
|
});
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
|
-
return (h("div", { key: '
|
|
53
|
+
return (h("div", { key: 'da2305d650756505b9b1920f95888425d3b8a63c' }, this.showDisputeResponseForm ? (h("justifi-dispute-response", { disputeId: this.disputeId, disputeResponse: this.dispute.dispute_response, authToken: this.authToken })) : (h("justifi-dispute-notification", { dispute: this.dispute, authToken: this.authToken, isLoading: this.isLoading }))));
|
|
54
54
|
}
|
|
55
55
|
static get is() { return "justifi-dispute-management-core"; }
|
|
56
56
|
static get properties() {
|
|
@@ -47,7 +47,7 @@ export class DisputeManagement {
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
render() {
|
|
50
|
-
return (h("justifi-dispute-management-core", { key: '
|
|
50
|
+
return (h("justifi-dispute-management-core", { key: '4bdf1bb2befbd6d963744cac254993ad78e2047f', getDispute: this.getDispute, disputeId: this.disputeId, authToken: this.authToken, "onError-event": this.handleErrorEvent }));
|
|
51
51
|
}
|
|
52
52
|
static get is() { return "justifi-dispute-management"; }
|
|
53
53
|
static get properties() {
|
|
@@ -35,7 +35,7 @@ export class DisputeNotification {
|
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
37
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
38
|
-
return (h(StyledHost, { key: '
|
|
38
|
+
return (h(StyledHost, { key: 'ad76721d05d9dcdfb643d865aec1a6f0684e1e05' }, this.isLoading && (h("div", { key: 'a8b8e850e168cba9281a6f6302aef53976027346', style: { marginBottom: '8px' } }, h(Skeleton, { key: '813563746b9f9b507b49762c9e1a1f006765345b', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), h(Skeleton, { key: '373c0596e6246860a17822eb5ec49f3ef9e37460', height: '18px', styles: { marginBottom: '8px' } }), h(Skeleton, { key: '32f8083f0551fbea29de6ddbc847dc62fa0b0c48', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && (h("div", { key: '9c032d9b8ea4b176f1fabfff45a2975ac9e6df17', part: text }, h("h1", { key: 'e1a906047a9c056138bb2bd69dddf2bbc54782c4', class: "h4", part: heading4 }, "This payment is disputed"), h("p", { key: '40d9d799d073318ba52a2c559c8119c64e9107aa' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), h("h2", { key: 'e2d3bc21f03cd47acc8feec8640410c1c74f9b58', class: "h5" }, "Dispute details"), h("div", { key: '3e3c440350a6dc86b42204a43f80fa700c1d06f0', class: "d-table gap-2" }, h("div", { key: '67b4dbf945dae00fe6e6144782c6c249cc032968', class: "d-table-row gap-2" }, h("span", { key: '6570c2fc92f6a526a6e2afee91fa1017f5ef3c9b', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), h("span", { key: '269f42e3737b419978fb35e741f34a751f0b0d9b', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, formatCurrency((_b = this.dispute) === null || _b === void 0 ? void 0 : _b.amount))), h("div", { key: 'b498ff565dafbea3e3452d386883924bda431a96', class: "d-table-row gap-2" }, h("span", { key: 'afaecceeac44807453e1a99ffc0d8961022fd98f', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), h("span", { key: '69b491d454f791d679528b77f9f75fc889add363', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_c = this.dispute) === null || _c === void 0 ? void 0 : _c.reason)), h("div", { key: '97515b0bd0dd113e31e6974c7e107af19eed2e73', class: "d-table-row gap-2" }, h("span", { key: 'e8a46a99bb2596d8aab980230088989c3a9455c4', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Dispute ID"), h("span", { key: 'aa5e2e6997bedfdbd31c2fe9ee540a4399e3a25e', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_d = this.dispute) === null || _d === void 0 ? void 0 : _d.id))), h("div", { key: '4e35b26867fdde02426bd047932ca854c05421b7', class: "d-flex gap-2 mt-4 justify-content-end" }, h(Button, { key: '2881172b26ffb36321094ea2f8af7cc622678229', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), h(Button, { key: 'e57fca0b48327bb898ec19938498eb1c945bbb4d', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_e = this.dispute) === null || _e === void 0 ? void 0 : _e.underReview) && (h("div", { key: 'c1f0a2f35d9640efdfd76b13d6969374169b2631' }, h("h1", { key: '800d59ebecc9f15890fe7f264a3b44910e322784', class: "h4" }, "This payment is disputed and under review"), h("p", { key: '30a7d186c01e33f2a95b0cecb3a4a69b59d158e6' }, "The cardholder is disputing this payment. A counter dispute has been submitted and is under review."))), ((_f = this.dispute) === null || _f === void 0 ? void 0 : _f.won) && (h("div", { key: '5d0fbdcc7a15817e1875d18a5f4d9cf982989ed1' }, h("h1", { key: 'b2814587c7bd46e28948346f5871456e6cc0589c', class: "h4" }, "This payment was disputed"), h("p", { key: 'bff6dbf512017e27b1fc6ea2a97b2dc47f4b2a65' }, "The cardholder disputed this payment and the card issuer has settled it in your favor."))), ((_g = this.dispute) === null || _g === void 0 ? void 0 : _g.lost) && (h("div", { key: '548cf8e95c0933ec987862c162487abfd3c043bc' }, h("h1", { key: '46f96b5e6785b5a4398918c0e29302403a7194bd', class: "h4" }, "This payment was disputed"), h("p", { key: '71c3c1e1754cd0f0f042a6277ba93b2076cd7645' }, "The cardholder disputed this payment and the card issuer has settled it in their favor.")))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "justifi-dispute-notification"; }
|
|
41
41
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/dispute-management/dispute-response/additional-statement.js
CHANGED
|
@@ -32,7 +32,7 @@ export class AdditionalStatement {
|
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
34
|
var _a, _b;
|
|
35
|
-
return (h("div", { key: '
|
|
35
|
+
return (h("div", { key: 'cc4be19078bc6ed3b622f6d9db17c5565d575ddb' }, h("div", { key: 'ae78d8f0a216a417a4c6e2778dd8f36315386437', class: "row gy-3" }, h("div", { key: '065645b98b1a7b5a0bcd2ef55e48bec65a2de082', class: "col-12" }, h("h2", { key: '0728e424e28b970bc3454951841b65d3ef843a95', class: "h5", part: heading5 }, "Additional Evidence")), h("div", { key: '900d5630440472414e43b4ae194c941a73ef46c0', class: "col-12" }, h("form-control-textarea", { key: '0c3e4926570187d4f84f1061c731365441f6f302', label: "Is there anything else you would like to say about this dispute?", name: "additional_statement", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.additional_statement, inputHandler: this.inputHandler, errorText: this.errors.additional_statement })), h("div", { key: '2a9a2f41348f30baeb1082a0d5715f823c112c89', class: "col-12" }, h("form-control-file-v2", { key: 'b47d9a681874b19eed4974bce7dd850d882ae435', label: "Additional files", name: "uncategorized_file", multiple: true, helpText: "Upload any additional pieces of evidence that have not already been provided.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.uncategorized_file })))));
|
|
36
36
|
}
|
|
37
37
|
static get is() { return "justifi-additional-statement"; }
|
|
38
38
|
static get properties() {
|
package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js
CHANGED
|
@@ -30,7 +30,7 @@ export class CancellationPolicy {
|
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
32
|
var _a, _b, _c;
|
|
33
|
-
return (h("div", { key: '
|
|
33
|
+
return (h("div", { key: '7b4cf555fd1fbfcc99aea27f60a507daa36f6ee6' }, h("div", { key: '0751a543b921a2fa8bb25e68e71c1cba6cc5229f', class: "row gy-3" }, h("div", { key: '9e4043494f5804e92af66b0f4595137f741e9556', class: "col-12" }, h("h2", { key: 'a078ec09adb7197ac0e5260ca220d868e746773c', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: '814cacdfbc107e848dcf42bacb744f8b7819c248', class: "col-12" }, h("form-control-textarea", { key: 'aa867ea4cfc3d7c436e481a829a1ec779f3281d8', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.cancellation_policy_disclosure, inputHandler: this.inputHandler, errorText: this.errors.cancellation_policy_disclosure })), h("div", { key: 'b8a6851094599ed3683f3c14f18305ff0a8ed557', class: "col-12" }, h("form-control-textarea", { key: '8292b5808ad9af2f36a4306cf0bd67b9183cc144', label: "Cancellation Rebuttal", name: "cancellation_rebuttal", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.cancellation_rebuttal, inputHandler: this.inputHandler, errorText: this.errors.cancellation_rebuttal })), h("div", { key: 'ee80c2f43bc56563221fcd892130c2ff6e492dcd', class: "col-12" }, h("form-control-file-v2", { key: '4ddc23ba32d324552c16fd20aff18e117cb22831', label: "Upload Cancellation Policy", name: "cancellation_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.cancellation_policy })))));
|
|
34
34
|
}
|
|
35
35
|
static get is() { return "justifi-cancellation-policy"; }
|
|
36
36
|
static get properties() {
|
|
@@ -30,7 +30,7 @@ export class CustomerDetails {
|
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
32
|
var _a, _b, _c, _d, _e;
|
|
33
|
-
return (h("div", { key: '
|
|
33
|
+
return (h("div", { key: 'b7f6a56dd2c1ed9c489c9af51be7cc51645c798d' }, h("div", { key: 'a3c9a1fb87739dfb1c02ec651663ed27b75a3b39', class: "row gy-3" }, h("div", { key: 'b0a978ee641386f8bddf52787b39371a5279be68', class: "col-12" }, h("h2", { key: '51d722637868f1b380d7065edcc7ee8421eeeacc', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: '5b4843b8391cf38b3322d9a4995d02cd81af95e2', class: "col-12" }, h("form-control-text", { key: '5c8725f1893aad3007552a72f928143b3a2cac57', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), h("div", { key: '20529807f6b93411a2dbcf6cf0894b084d2e854f', class: "col-12" }, h("form-control-text", { key: '22c89513e4744a745f91602a8311c64c9a7840ad', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), h("div", { key: '728c483456c7fd97d54368b9d0bf0a046ee1e169', class: "col-12" }, h("form-control-textarea", { key: '128222a80fd9e716dc20de70d3bf33b42fc147ab', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), h("div", { key: 'e55c1e358c4fe57f118d13b07b6109a1d97d6c8b', class: "col-12" }, h("form-control-file-v2", { key: '00a057cfb9b9813004634dda61e047d5ac14e623', label: "Customer Signature", name: "customer_signature", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.customer_signature })), h("div", { key: '3389590c63a5d3044e2470d7243e67ef57697682', class: "col-12" }, h("form-control-file-v2", { key: '3eea18b33b3203e599bbf0ac94c687b2ecb321fa', label: "Customer Communication", name: "customer_communication", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.customer_communication })))));
|
|
34
34
|
}
|
|
35
35
|
static get is() { return "justifi-customer-details"; }
|
|
36
36
|
static get properties() {
|
package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js
CHANGED
|
@@ -160,7 +160,7 @@ export class DisputeResponseCore {
|
|
|
160
160
|
return this.currentStep === 0;
|
|
161
161
|
}
|
|
162
162
|
render() {
|
|
163
|
-
return (h("div", { key: '
|
|
163
|
+
return (h("div", { key: '1f44d3fa1d95758e9dc949bc9df9cb8def59aae5', class: "row gy-3" }, h("div", { key: '5245e71606a4f69a8978c27bf8d0a985ecf3b835', class: "col-12" }, h("h1", { key: 'e843ee37344171cb159fe83889ddc244487d49ed', class: "h4", part: heading4 }, "Counter dispute")), h("div", { key: '7680b28f96255822f3048dc529bafa71cebf81cc', class: "col-12" }, this.currentStepComponent), h("div", { key: '3ce0c6ac049c64a3ed18e42dcc001dd1f62a5aed', class: "col-12" }, h("div", { key: '2192e17c236024e2c89ea361ac1a4e2b57c6b50e', class: "d-flex gap-2 mt-4 justify-content-end" }, this.isFirstStep ? (h(Button, { variant: "secondary", onClick: () => this.onCancel(), disabled: this.isLoading, isLoading: this.isLoading }, "Cancel")) : (h(Button, { variant: "secondary", onClick: () => this.onBack(), disabled: this.isLoading, isLoading: this.isLoading }, "Back")), this.isLastStep ? (h(Button, { variant: "primary", onClick: () => this.onSubmit(), disabled: this.isLoading, isLoading: this.isLoading }, "Submit Counter Dispute")) : (h(Button, { variant: "primary", onClick: () => this.onNext(), disabled: this.isLoading, isLoading: this.isLoading }, "Next"))))));
|
|
164
164
|
}
|
|
165
165
|
static get is() { return "justifi-dispute-response-core"; }
|
|
166
166
|
static get properties() {
|
|
@@ -59,7 +59,7 @@ export class DisputeResponse {
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
render() {
|
|
62
|
-
return (h(StyledHost, { key: '
|
|
62
|
+
return (h(StyledHost, { key: '1a0ac889493d8008e9bd70e4c3aad9ea72d12453' }, h("justifi-dispute-response-core", { key: '82e11a3f0d14640beca1ebed72364662db3ffdbd', "onError-event": this.handleErrorEvent, "dispute-id": this.disputeId, disputeResponse: this.disputeResponse, createDisputeEvidence: this.createDisputeEvidence, updateDisputeResponse: this.updateDisputeResponse, submitDisputeResponse: this.submitDisputeResponse })));
|
|
63
63
|
}
|
|
64
64
|
;
|
|
65
65
|
static get is() { return "justifi-dispute-response"; }
|
|
@@ -30,7 +30,7 @@ export class DuplicateCharge {
|
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
32
|
var _a, _b, _c;
|
|
33
|
-
return (h("div", { key: '
|
|
33
|
+
return (h("div", { key: 'eb4f8764416b3f82bb2ca4052816c55abf7a10e0' }, h("div", { key: '6e7c5c9e25cc508d253fb4506588670d5edb6d3a', class: "row gy-3" }, h("div", { key: '76afe1f271b1aeb530f8bfbadfa16b39833abff0', class: "col-12" }, h("h2", { key: '5e311a49194c20250ec12cf1872f46af1219627d', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: '6e3a0d4e88f8464f1bdefb580626fd5d37af6c76', class: "col-12" }, h("form-control-text", { key: 'd5fd0e4706df1f246395ef0e1825b9c25456e713', label: "Original Payment ID", name: "duplicate_charge_original_payment_id", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.duplicate_charge_original_payment_id, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_original_payment_id })), h("div", { key: '01a17763a76e14e05ae84cbadd12f1eb7b8da4dc', class: "col-12" }, h("form-control-textarea", { key: '9dde7a1922f55d31b983626f1279a222c6dface6', label: "Duplicate Charge Explanation", name: "duplicate_charge_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.duplicate_charge_explanation, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_explanation })), h("div", { key: '736b812a5178f6340e981c98920849a39778b788', class: "col-12" }, h("form-control-file-v2", { key: '8df332685d9b4b23f48fae76b2d46c93e5ca3d40', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.duplicate_charge_documentation })))));
|
|
34
34
|
}
|
|
35
35
|
static get is() { return "justifi-duplicate-charge"; }
|
|
36
36
|
static get properties() {
|
package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js
CHANGED
|
@@ -30,7 +30,7 @@ export class ElectronicEvidence {
|
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
32
|
var _a, _b;
|
|
33
|
-
return (h("div", { key: '
|
|
33
|
+
return (h("div", { key: 'e6ddcb39f751386da5613108a8dde54a6f299a54' }, h("div", { key: '085db2253e1330617bd26326faa3fcf19c84b890', class: "row gy-3" }, h("div", { key: '5d0652116e282ed5e9cae11e1330f261652e9de4', class: "col-12" }, h("h2", { key: '5606230417d4cdb4218f6fb7af319712add4ecc7', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: 'ed8db92b69aca3c4661d1e84e07ecbbeb5b33b87', class: "col-12" }, h("form-control-text", { key: 'c7b4edb8172f30cd559544d1cb925861ae8fdcb2', label: "Purchase IP Address", name: "customer_purchase_ip_address", helpText: "The IP address used by the customer during the purchase.", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_purchase_ip_address, inputHandler: this.inputHandler, errorText: this.errors.customer_purchase_ip_address })), h("div", { key: '077c0d5c6b5a7fd6fba2add6b6d4bfe50d3ae7d6', class: "col-12" }, h("form-control-file-v2", { key: 'ea44784a843b2d35b53caf0412a07056d68c11c3', label: "Activity Logs", name: "activity_log", helpText: "Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.activity_log })))));
|
|
34
34
|
}
|
|
35
35
|
static get is() { return "justifi-electronic-evidence"; }
|
|
36
36
|
static get properties() {
|
package/dist/collection/components/dispute-management/dispute-response/product-or-service.js
CHANGED
|
@@ -30,7 +30,7 @@ export class ProductOrService {
|
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
32
|
var _a, _b, _c;
|
|
33
|
-
return (h("div", { key: '
|
|
33
|
+
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 })))));
|
|
34
34
|
}
|
|
35
35
|
static get is() { return "justifi-product-or-service"; }
|
|
36
36
|
static get properties() {
|
|
@@ -30,7 +30,7 @@ export class RefundPolicy {
|
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
32
|
var _a, _b, _c, _d;
|
|
33
|
-
return (h("div", { key: '
|
|
33
|
+
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 })))));
|
|
34
34
|
}
|
|
35
35
|
static get is() { return "justifi-refund-policy"; }
|
|
36
36
|
static get properties() {
|
|
@@ -31,7 +31,7 @@ export class ShippingDetails {
|
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
33
|
var _a, _b, _c, _d, _e;
|
|
34
|
-
return (h("div", { key: '
|
|
34
|
+
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 })))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "justifi-shipping-details"; }
|
|
37
37
|
static get properties() {
|
|
@@ -69,7 +69,7 @@ export class GrossPaymentChartCore {
|
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
render() {
|
|
72
|
-
return (h(Host, { key: '
|
|
72
|
+
return (h(Host, { key: 'd452e895a9cc9b23a53d3cf41aea26d77a9b7e2b' }, this.loading && h(Spinner, { key: '68c6ed3024381fcbd1f98ad994c63b43ad67a230' }), !this.errorMessage ? h("canvas", { id: "chart", ref: (elem) => this.chartRef = elem }) : ErrorState(this.errorMessage)));
|
|
73
73
|
}
|
|
74
74
|
static get is() { return "gross-payment-chart-core"; }
|
|
75
75
|
static get properties() {
|
package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js
CHANGED
|
@@ -55,7 +55,7 @@ export class SeasonInterruptionInsurance {
|
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
57
|
render() {
|
|
58
|
-
return (h("justifi-season-interruption-insurance-core", { key: '
|
|
58
|
+
return (h("justifi-season-interruption-insurance-core", { key: 'e1826234d0f2daf33b983a76f36bd652454c77fa', ref: (el) => (this.seasonInterruptionCoreRef = el), "checkout-id": this.checkoutId, getQuote: this.getQuote, toggleCoverage: this.toggleCoverage, "primary-identity-first-name": this.primaryIdentityFirstName, "primary-identity-last-name": this.primaryIdentityLastName, "primary-identity-state": this.primaryIdentityState, "primary-identity-postal-code": this.primaryIdentityPostalCode, "primary-identity-country": this.primaryIdentityCountry, "primary-identity-email-address": this.primaryIdentityEmailAddress, "policy-attributes-insurable-amount": this.policyAttributesInsurableAmount, "policy-attributes-start-date": this.policyAttributesStartDate, "policy-attributes-end-date": this.policyAttributesEndDate, "covered-identity-first-name": this.coveredIdentityFirstName, "covered-identity-last-name": this.coveredIdentityLastName }));
|
|
59
59
|
}
|
|
60
60
|
static get is() { return "justifi-season-interruption-insurance"; }
|
|
61
61
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,6 @@ import { checkPkgVersion } from "../../utils/check-pkg-version";
|
|
|
4
4
|
import JustifiAnalytics from "../../api/Analytics";
|
|
5
5
|
import { ComponentErrorCodes, ComponentErrorSeverity } from "../../api/ComponentError";
|
|
6
6
|
import { BusinessService } from "../../api/services/business.service";
|
|
7
|
-
import { ErrorState } from "../../ui-components/details/utils";
|
|
8
7
|
import { Business } from "../../api/Business";
|
|
9
8
|
import { makeGetBusiness } from "../../actions/business/get-business";
|
|
10
9
|
import { OrderTerminalsLoading } from "./order-terminals-loading";
|
|
@@ -20,6 +19,7 @@ export class OrderTerminals {
|
|
|
20
19
|
this.authToken = undefined;
|
|
21
20
|
this.accountId = undefined;
|
|
22
21
|
this.shipping = false;
|
|
22
|
+
this.apiOrigin = PROXY_API_ORIGIN;
|
|
23
23
|
this.loading = {
|
|
24
24
|
business: true,
|
|
25
25
|
terminals: true,
|
|
@@ -59,6 +59,7 @@ export class OrderTerminals {
|
|
|
59
59
|
id: this.businessId,
|
|
60
60
|
authToken: this.authToken,
|
|
61
61
|
service: new BusinessService(),
|
|
62
|
+
apiOrigin: this.apiOrigin,
|
|
62
63
|
})({
|
|
63
64
|
onSuccess: ({ business }) => {
|
|
64
65
|
this.business = new Business(business);
|
|
@@ -75,6 +76,7 @@ export class OrderTerminals {
|
|
|
75
76
|
id: this.accountId,
|
|
76
77
|
authToken: this.authToken,
|
|
77
78
|
service: new TerminalService(),
|
|
79
|
+
apiOrigin: this.apiOrigin,
|
|
78
80
|
})({
|
|
79
81
|
onSuccess: ({ terminals, orderLimit }) => {
|
|
80
82
|
this.terminalModels = terminals;
|
|
@@ -91,6 +93,7 @@ export class OrderTerminals {
|
|
|
91
93
|
const orderTerminals = makeOrderTerminals({
|
|
92
94
|
authToken: this.authToken,
|
|
93
95
|
service: new TerminalService(),
|
|
96
|
+
apiOrigin: this.apiOrigin,
|
|
94
97
|
});
|
|
95
98
|
this.submitting = true;
|
|
96
99
|
orderTerminals({
|
|
@@ -112,11 +115,6 @@ export class OrderTerminals {
|
|
|
112
115
|
renderLoading() {
|
|
113
116
|
return (h("div", null, this.loading.business && h(OrderTerminalsLoading, null), this.loading.terminals && (h("div", { class: "mt-5" }, h(TerminalSelectorLoading, null), h(TerminalSelectorLoading, null), h(TerminalSelectorLoading, null)))));
|
|
114
117
|
}
|
|
115
|
-
renderError() {
|
|
116
|
-
if (!this.loading.business && this.error) {
|
|
117
|
-
return ErrorState(this.error.message);
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
118
|
renderBusinessDetails() {
|
|
121
119
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
122
120
|
if (!this.loading.business && this.business) {
|
|
@@ -132,7 +130,7 @@ export class OrderTerminals {
|
|
|
132
130
|
return (h("div", { class: "mt-3" }, h("div", { class: "text-end" }, "Order limit: ", this.orderLimit), h("div", { class: "d-flex justify-content-end mt-3" }, h("button", { class: "btn btn-primary submit-btn", onClick: this.submitOrder.bind(this), disabled: this.order.totalQuantity === 0 || this.submitting, part: buttonPrimary }, this.submitting ? 'Submitting...' : 'Submit Order'))));
|
|
133
131
|
}
|
|
134
132
|
render() {
|
|
135
|
-
return (h(StyledHost, { key: '
|
|
133
|
+
return (h(StyledHost, { key: 'c4f4ddf88c273123e746caa442ede71465643ec2' }, h("div", { key: 'e2535a1317272a7e9b3b5923963694a67c1d8dd6', part: text }, this.renderLoading(), this.renderBusinessDetails(), this.renderTerminals(), this.renderOrderSection())));
|
|
136
134
|
}
|
|
137
135
|
static get is() { return "justifi-order-terminals"; }
|
|
138
136
|
static get encapsulation() { return "shadow"; }
|
|
@@ -206,6 +204,24 @@ export class OrderTerminals {
|
|
|
206
204
|
"attribute": "shipping",
|
|
207
205
|
"reflect": false,
|
|
208
206
|
"defaultValue": "false"
|
|
207
|
+
},
|
|
208
|
+
"apiOrigin": {
|
|
209
|
+
"type": "string",
|
|
210
|
+
"mutable": false,
|
|
211
|
+
"complexType": {
|
|
212
|
+
"original": "string",
|
|
213
|
+
"resolved": "string",
|
|
214
|
+
"references": {}
|
|
215
|
+
},
|
|
216
|
+
"required": false,
|
|
217
|
+
"optional": true,
|
|
218
|
+
"docs": {
|
|
219
|
+
"tags": [],
|
|
220
|
+
"text": ""
|
|
221
|
+
},
|
|
222
|
+
"attribute": "api-origin",
|
|
223
|
+
"reflect": false,
|
|
224
|
+
"defaultValue": "PROXY_API_ORIGIN"
|
|
209
225
|
}
|
|
210
226
|
};
|
|
211
227
|
}
|
|
@@ -22,7 +22,7 @@ export class TerminalQuantitySelector {
|
|
|
22
22
|
this.selectedQuantity = 0;
|
|
23
23
|
}
|
|
24
24
|
render() {
|
|
25
|
-
return (h("div", { key: '
|
|
25
|
+
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 }, "+")))))));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "terminal-quantity-selector"; }
|
|
28
28
|
static get properties() {
|