@justifi/webcomponents 4.20.1 → 4.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{Analytics-3c89cfb4.js → Analytics-9db96975.js} +2 -2
- package/dist/cjs/{Api-b98b256f.js → Api-f5280a80.js} +6 -4
- package/dist/cjs/Checkout-a528241d.js +85 -0
- package/dist/cjs/{Payment-1a8a8ca6.js → Payment-04a842f4.js} +15 -0
- package/dist/cjs/SubAccount-cc95a4a0.js +106 -0
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
- package/dist/cjs/{business-additional-questions-schema-26b0eecb.js → business-additional-questions-schema-19f08938.js} +2 -2
- package/dist/cjs/business-details-core.cjs.entry.js +2 -2
- package/dist/cjs/{business-form-types-6e1fcda3.js → business-form-types-719b7f52.js} +11 -0
- package/dist/cjs/{business-identity-schema-503ecb77.js → business-identity-schema-a8bb2276.js} +2 -2
- package/dist/cjs/{business.service-031c0084.js → business.service-7faffa0b.js} +1 -1
- package/dist/cjs/{check-pkg-version-4fa0367d.js → check-pkg-version-23a1cabd.js} +1 -1
- package/dist/cjs/checkout.service-160f3a9c.js +36 -0
- package/dist/cjs/checkouts-list-core.cjs.entry.js +181 -0
- package/dist/cjs/checkouts-list-filters.cjs.entry.js +35 -0
- package/dist/cjs/{custom-popper.cjs.entry.js → custom-popper_4.cjs.entry.js} +106 -2
- package/dist/cjs/dispute-30c806f6.js +10 -0
- package/dist/cjs/form-alert_5.cjs.entry.js +3 -3
- package/dist/cjs/form-control-checkbox_9.cjs.entry.js +56 -33
- package/dist/cjs/form-control-date.cjs.entry.js +83 -0
- package/dist/cjs/form-control-error-text.cjs.entry.js +21 -0
- package/dist/cjs/form-control-file.cjs.entry.js +1 -1
- package/dist/cjs/form-control-help-text.cjs.entry.js +21 -0
- package/dist/cjs/form-control-monetary.cjs.entry.js +1 -1
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +99 -0
- package/dist/cjs/form-control-number.cjs.entry.js +1 -1
- package/dist/cjs/form-control-radio.cjs.entry.js +44 -0
- package/dist/cjs/form-control-textarea.cjs.entry.js +49 -0
- package/dist/cjs/{get-payout-csv-3a3260ec.js → get-payout-csv-12dc9540.js} +4 -3
- package/dist/cjs/get-subaccounts-8f7a930f.js +54 -0
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +3 -3
- package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +30 -17
- package/dist/cjs/justifi-additional-statement_11.cjs.entry.js +173 -0
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +3 -3
- package/dist/cjs/justifi-billing-form_2.cjs.entry.js +1679 -14
- package/dist/cjs/justifi-business-details.cjs.entry.js +6 -6
- package/dist/cjs/justifi-business-form.cjs.entry.js +14 -13
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
- package/dist/cjs/justifi-card-form.cjs.entry.js +4 -4
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +5 -10
- package/dist/cjs/justifi-checkout.cjs.entry.js +13 -28
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +119 -0
- package/dist/cjs/justifi-details.cjs.entry.js +3 -3
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +28 -0
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +16 -0
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -5
- package/dist/cjs/{justifi-new-payment-method_4.cjs.entry.js → justifi-new-payment-method_5.cjs.entry.js} +23 -6
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payment-details.cjs.entry.js +9 -8
- package/dist/cjs/justifi-payment-form.cjs.entry.js +12 -11
- package/dist/cjs/justifi-payment-method-selector.cjs.entry.js +4 -3
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +5 -5
- package/dist/cjs/justifi-payments-list.cjs.entry.js +11 -12
- package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -9
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +12 -14
- package/dist/cjs/justifi-refund-form.cjs.entry.js +7 -6
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +4 -4
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +8 -7
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +137 -0
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +59 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/{esm/payments-list-filters_2.entry.js → cjs/lodash-dbf6a6a4.js} +2 -57
- package/dist/cjs/{package-3a9ac89d.js → package-41c8f38c.js} +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +11 -10
- package/dist/cjs/{payment.service-47e2d84e.js → payment.service-83da752a.js} +4 -3
- package/dist/cjs/payments-list-core.cjs.entry.js +17 -17
- package/dist/cjs/payments-list-filters.cjs.entry.js +35 -0
- package/dist/cjs/payments-status-58e45b2e.js +26 -0
- package/dist/cjs/payout-details-core.cjs.entry.js +5 -4
- package/dist/cjs/payouts-list-core.cjs.entry.js +8 -24
- package/dist/cjs/payouts-status-2f7be07d.js +24 -0
- package/dist/cjs/{schema-validations-0a7e46a3.js → schema-validations-184a4356.js} +1 -1
- package/dist/cjs/styled-host-1adf46c3.js +14 -0
- package/dist/cjs/table-bb114e2f.js +20 -0
- package/dist/cjs/table-filters-menu.cjs.entry.js +35 -0
- package/dist/cjs/terminals-list-core.cjs.entry.js +166 -0
- package/dist/cjs/terminals-list-filters.cjs.entry.js +32 -0
- package/dist/cjs/{utils-af1b60a9.js → utils-3d84442d.js} +3 -44
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/Api.js +6 -4
- package/dist/collection/api/Checkout.js +77 -1
- package/dist/collection/api/Payment.js +15 -0
- package/dist/collection/api/SubAccount.js +33 -0
- package/dist/collection/api/Terminal.js +25 -0
- package/dist/collection/api/get-subaccounts.js +31 -0
- package/dist/collection/api/index.js +2 -0
- package/dist/collection/api/services/checkout.service.js +10 -1
- package/dist/collection/api/services/subaccounts.service.js +13 -0
- package/dist/collection/api/services/terminal.service.js +20 -0
- package/dist/collection/collection-manifest.json +37 -14
- package/dist/collection/components/billing-form/billing-form.js +3 -3
- package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +1 -1
- package/dist/collection/components/business-details/business-details-core.js +1 -1
- package/dist/collection/components/business-details/business-details.js +1 -1
- package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +1 -1
- package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +1 -1
- package/dist/collection/components/business-details/owner-details/owner-details.js +1 -1
- package/dist/collection/components/business-details/representative-details/representative-details.js +1 -1
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +2 -2
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +3 -3
- package/dist/collection/components/business-forms/business-form/business-form.js +2 -2
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +2 -2
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +4 -4
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +2 -2
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +2 -2
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +3 -3
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +43 -3
- 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/business-bank-account-form-step.js +33 -5
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +26 -3
- 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-core.js +25 -3
- 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 +3 -3
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +25 -2
- 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/document-uploads/business-document-upload-form-step.js +26 -3
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-input-group.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/input-configurations.js +17 -17
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +26 -3
- 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/terms-and-conditions/business-terms-conditions-form-step.js +25 -3
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.js +1 -1
- package/dist/collection/components/business-forms/utils/business-form-types.js +11 -0
- package/dist/collection/components/card-form/card-form.js +1 -1
- package/dist/collection/components/checkout/checkout-core.js +2 -2
- package/dist/collection/components/checkout/checkout.js +2 -2
- package/dist/collection/components/checkout/new-payment-method.js +1 -1
- package/dist/collection/components/checkout/payment-method-options.js +1 -1
- 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 +257 -0
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +84 -0
- package/dist/collection/components/checkouts-list/checkouts-list.js +208 -0
- package/dist/collection/components/checkouts-list/checkouts-status.js +13 -0
- package/dist/collection/components/checkouts-list/checkouts-table.js +20 -0
- package/dist/collection/components/checkouts-list/get-checkouts.js +31 -0
- package/dist/collection/components/dispute-management/counter-dispute/additional-statement.js +8 -0
- package/dist/collection/components/dispute-management/counter-dispute/cancellation-policy.js +8 -0
- package/dist/collection/components/dispute-management/counter-dispute/counter-dispute.js +90 -0
- package/dist/collection/components/dispute-management/counter-dispute/customer-details.js +8 -0
- package/dist/collection/components/dispute-management/counter-dispute/dispute-reason.js +8 -0
- package/dist/collection/components/dispute-management/counter-dispute/duplicate-charge.js +8 -0
- package/dist/collection/components/dispute-management/counter-dispute/electronic-evidence.js +8 -0
- package/dist/collection/components/dispute-management/counter-dispute/product-or-service.js +16 -0
- package/dist/collection/components/dispute-management/counter-dispute/refund-policy.js +8 -0
- package/dist/collection/components/dispute-management/counter-dispute/shipping-details.js +12 -0
- package/dist/collection/components/dispute-management/dispute-management-core.js +53 -0
- package/dist/collection/components/dispute-management/dispute-management.js +8 -0
- package/dist/collection/components/dispute-management/dispute-notification.js +48 -0
- package/dist/collection/components/dispute-management/dispute.js +8 -0
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +2 -2
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +1 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +2 -2
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -1
- package/dist/collection/components/payment-details/payment-details-core.js +10 -9
- package/dist/collection/components/payment-details/payment-details.js +1 -1
- package/dist/collection/components/payment-form/payment-form.js +3 -3
- package/dist/collection/components/payment-form/payment-method-selector.js +1 -1
- package/dist/collection/components/payments-list/payments-list-core.js +14 -14
- package/dist/collection/components/payments-list/payments-list-filters.js +1 -1
- package/dist/collection/components/payments-list/payments-list.js +3 -5
- package/dist/collection/components/payments-list/payments-status.js +23 -0
- package/dist/collection/components/payout-details/payout-details-core.js +4 -3
- package/dist/collection/components/payout-details/payout-details.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-core.js +6 -22
- package/dist/collection/components/payouts-list/payouts-list.js +4 -7
- package/dist/collection/components/payouts-list/payouts-status.js +21 -0
- package/dist/collection/components/refund-form/refund-form.js +2 -2
- package/dist/collection/components/terminals-list/get-terminal-detail.js +29 -0
- package/dist/collection/components/terminals-list/get-terminals.js +31 -0
- package/dist/collection/components/terminals-list/terminals-list-core.js +257 -0
- package/dist/collection/components/terminals-list/terminals-list-filters.js +81 -0
- package/dist/collection/components/terminals-list/terminals-list.js +209 -0
- package/dist/collection/components/terminals-list/terminals-status.js +11 -0
- package/dist/collection/components/terminals-list/terminals-table.js +15 -0
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.css +9 -0
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +276 -0
- package/dist/collection/ui-components/custom-popper/custom-popper.js +8 -4
- package/dist/collection/{components → ui-components}/details/details.js +1 -1
- package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
- package/dist/collection/{components → ui-components}/form/form-control-checkbox.js +1 -1
- package/dist/collection/ui-components/form/form-control-date.js +284 -0
- package/dist/collection/{components → ui-components}/form/form-control-file.js +1 -1
- package/dist/collection/{components → ui-components}/form/form-control-monetary.js +1 -1
- package/dist/collection/{components → ui-components}/form/form-control-number-masked.js +1 -1
- package/dist/collection/{components → ui-components}/form/form-control-number.js +1 -1
- package/dist/collection/{components/form/form-control-date.js → ui-components/form/form-control-radio.js} +54 -36
- package/dist/collection/{components → ui-components}/form/form-control-select.js +1 -1
- package/dist/collection/{components → ui-components}/form/form-control-text.js +1 -1
- package/dist/collection/ui-components/form/form-control-textarea.js +229 -0
- package/dist/collection/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.js +63 -0
- package/dist/collection/ui-components/index.js +1 -0
- package/dist/collection/utils/table.js +16 -0
- package/dist/collection/utils/utils.js +3 -42
- package/dist/docs.json +9561 -6219
- package/dist/esm/{Analytics-b0f6936a.js → Analytics-777962a4.js} +2 -2
- package/dist/esm/{Api-c8abc2e0.js → Api-391d00e2.js} +6 -4
- package/dist/esm/Checkout-0b4086f8.js +83 -0
- package/dist/esm/{Payment-6bf26fe2.js → Payment-30790721.js} +15 -0
- package/dist/esm/SubAccount-7f7e4c56.js +102 -0
- package/dist/esm/additional-questions-details_5.entry.js +2 -2
- package/dist/esm/{business-additional-questions-schema-a5583cf8.js → business-additional-questions-schema-97f52255.js} +2 -2
- package/dist/esm/business-details-core.entry.js +2 -2
- package/dist/esm/{business-form-types-1bc5fe08.js → business-form-types-8fd61b0e.js} +12 -1
- package/dist/esm/{business-identity-schema-9e3269fb.js → business-identity-schema-434e16bc.js} +2 -2
- package/dist/esm/{business.service-1f589b6e.js → business.service-97a3da69.js} +1 -1
- package/dist/esm/{check-pkg-version-10cadb08.js → check-pkg-version-bac8fac0.js} +1 -1
- package/dist/esm/checkout.service-ef1549c6.js +34 -0
- package/dist/esm/checkouts-list-core.entry.js +177 -0
- package/dist/esm/checkouts-list-filters.entry.js +31 -0
- package/dist/esm/{custom-popper.entry.js → custom-popper_4.entry.js} +105 -4
- package/dist/esm/dispute-4d2e0a04.js +10 -0
- package/dist/esm/form-alert_5.entry.js +3 -3
- package/dist/esm/form-control-checkbox_9.entry.js +56 -33
- package/dist/esm/form-control-date.entry.js +79 -0
- package/dist/esm/form-control-error-text.entry.js +17 -0
- package/dist/esm/form-control-file.entry.js +1 -1
- package/dist/esm/form-control-help-text.entry.js +17 -0
- package/dist/esm/form-control-monetary.entry.js +1 -1
- package/dist/esm/form-control-number-masked_2.entry.js +94 -0
- package/dist/esm/form-control-number.entry.js +1 -1
- package/dist/esm/form-control-radio.entry.js +40 -0
- package/dist/esm/form-control-textarea.entry.js +45 -0
- package/dist/esm/{get-payout-csv-93427146.js → get-payout-csv-70974763.js} +4 -3
- package/dist/esm/get-subaccounts-16c8ce40.js +51 -0
- package/dist/esm/gross-payment-chart-core.entry.js +3 -3
- package/dist/esm/justifi-additional-questions-form-step_10.entry.js +30 -17
- package/dist/esm/justifi-additional-statement_11.entry.js +159 -0
- package/dist/esm/justifi-bank-account-form.entry.js +3 -3
- package/dist/esm/justifi-billing-form_2.entry.js +1680 -15
- package/dist/esm/justifi-business-details.entry.js +6 -6
- package/dist/esm/justifi-business-form.entry.js +14 -13
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
- package/dist/esm/justifi-card-form.entry.js +4 -4
- package/dist/esm/justifi-checkout-core.entry.js +4 -9
- package/dist/esm/justifi-checkout.entry.js +11 -26
- package/dist/esm/justifi-checkouts-list.entry.js +115 -0
- package/dist/esm/justifi-details.entry.js +3 -3
- package/dist/esm/justifi-dispute-management-core.entry.js +24 -0
- package/dist/esm/justifi-dispute-management.entry.js +12 -0
- package/dist/esm/justifi-gross-payment-chart.entry.js +5 -5
- package/dist/esm/{justifi-new-payment-method_4.entry.js → justifi-new-payment-method_5.entry.js} +23 -7
- package/dist/esm/justifi-owner-form_3.entry.js +8 -8
- package/dist/esm/justifi-payment-details.entry.js +9 -8
- package/dist/esm/justifi-payment-form.entry.js +12 -11
- package/dist/esm/justifi-payment-method-selector.entry.js +4 -3
- package/dist/esm/justifi-payment-provisioning-core.entry.js +2 -2
- package/dist/esm/justifi-payment-provisioning.entry.js +5 -5
- package/dist/esm/justifi-payments-list.entry.js +11 -12
- package/dist/esm/justifi-payout-details.entry.js +9 -8
- package/dist/esm/justifi-payouts-list.entry.js +12 -14
- package/dist/esm/justifi-refund-form.entry.js +7 -6
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +4 -4
- package/dist/esm/justifi-season-interruption-insurance.entry.js +8 -7
- package/dist/esm/justifi-terminals-list.entry.js +133 -0
- package/dist/esm/justifi-tokenize-payment-method.entry.js +55 -0
- package/dist/esm/loader.js +1 -1
- package/dist/{cjs/payments-list-filters_2.cjs.entry.js → esm/lodash-faeb5a52.js} +1 -63
- package/dist/esm/{package-2ef16e2c.js → package-5144835c.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +11 -10
- package/dist/esm/{payment.service-21a3e2d3.js → payment.service-2f67410b.js} +4 -3
- package/dist/esm/payments-list-core.entry.js +16 -16
- package/dist/esm/payments-list-filters.entry.js +31 -0
- package/dist/esm/payments-status-4937a170.js +24 -0
- package/dist/esm/payout-details-core.entry.js +5 -4
- package/dist/esm/payouts-list-core.entry.js +8 -24
- package/dist/esm/payouts-status-cd58e525.js +22 -0
- package/dist/esm/{schema-validations-e725d701.js → schema-validations-c1728516.js} +1 -1
- package/dist/esm/styled-host-e0ddb759.js +12 -0
- package/dist/esm/table-75364107.js +18 -0
- package/dist/esm/table-filters-menu.entry.js +31 -0
- package/dist/esm/terminals-list-core.entry.js +162 -0
- package/dist/esm/terminals-list-filters.entry.js +28 -0
- package/dist/esm/{utils-e66d8bca.js → utils-3daada24.js} +4 -43
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Api.js +6 -4
- package/dist/module/Checkout.js +83 -0
- package/dist/module/Payment.js +15 -0
- package/dist/module/SubAccount.js +102 -0
- package/dist/module/additional-questions.js +22 -10
- package/dist/module/additional-statement.js +63 -0
- package/dist/module/billing-form.js +14 -8
- package/dist/module/business-additional-questions-form-step-core.js +42 -11
- package/dist/module/business-additional-questions-form-step.js +23 -11
- package/dist/module/business-bank-account-form-step.js +25 -11
- package/dist/module/business-core-info-form-step-core.js +19 -10
- package/dist/module/business-core-info-form-step.js +16 -10
- package/dist/module/business-core-info.js +16 -10
- package/dist/module/business-document-upload-form-step.js +14 -5
- package/dist/module/business-document-upload-input-group.js +28 -22
- package/dist/module/business-documents-on-file.js +1 -1
- package/dist/module/business-form-types.js +12 -1
- package/dist/module/business-owners-form-step-core.js +20 -12
- package/dist/module/business-owners-form-step.js +16 -10
- package/dist/module/business-representative-form-inputs.js +16 -10
- package/dist/module/business-representative-form-step-core.js +19 -10
- package/dist/module/business-representative-form-step.js +16 -10
- package/dist/module/business-representative.js +15 -9
- package/dist/module/business-terms-conditions-form-step.js +6 -3
- package/dist/module/business-terms-conditions-text.js +1 -1
- package/dist/module/cancellation-policy.js +63 -0
- package/dist/module/checkout-core.js +16 -15
- package/dist/module/checkout.service.js +34 -0
- package/dist/module/checkouts-list-core.d.ts +11 -0
- package/dist/module/checkouts-list-core.js +6 -0
- package/dist/module/checkouts-list-core2.js +249 -0
- package/dist/module/checkouts-list-filters.d.ts +11 -0
- package/dist/module/checkouts-list-filters.js +6 -0
- package/dist/module/checkouts-list-filters2.js +80 -0
- package/dist/module/counter-dispute.js +189 -0
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +69 -0
- package/dist/module/details.js +1 -1
- package/dist/module/dispute-management-core.js +160 -0
- package/dist/module/dispute-notification.js +36 -0
- package/dist/module/dispute-reason.js +45 -0
- package/dist/module/duplicate-charge.js +69 -0
- package/dist/module/electronic-evidence.js +63 -0
- package/dist/module/exported-parts.js +1 -34
- package/dist/module/form-control-checkbox2.js +1 -1
- package/dist/module/form-control-date2.js +59 -10
- package/dist/module/form-control-file2.js +10 -4
- package/dist/module/form-control-monetary2.js +1 -1
- package/dist/module/form-control-number-masked2.js +10 -4
- package/dist/module/form-control-number.js +1 -1
- package/dist/module/form-control-radio.d.ts +11 -0
- package/dist/module/form-control-radio.js +6 -0
- package/dist/module/form-control-radio2.js +78 -0
- package/dist/module/form-control-select2.js +10 -4
- package/dist/module/form-control-text2.js +10 -4
- package/dist/module/form-control-textarea.d.ts +11 -0
- package/dist/module/form-control-textarea.js +6 -0
- package/dist/module/form-control-textarea2.js +84 -0
- package/dist/module/form-control-tooltip.d.ts +11 -0
- package/dist/module/form-control-tooltip.js +6 -0
- package/dist/module/form-control-tooltip2.js +49 -0
- package/dist/module/get-payout-csv.js +2 -1
- package/dist/module/get-subaccounts.js +51 -0
- package/dist/module/gross-payment-chart-core2.js +2 -2
- package/dist/module/identity-address-form.js +14 -8
- package/dist/module/justifi-additional-statement.d.ts +11 -0
- package/dist/module/justifi-additional-statement.js +6 -0
- package/dist/module/justifi-business-form.js +32 -19
- package/dist/module/justifi-cancellation-policy.d.ts +11 -0
- package/dist/module/justifi-cancellation-policy.js +6 -0
- package/dist/module/justifi-card-form.js +1 -1
- package/dist/module/justifi-checkout.js +16 -31
- package/dist/module/justifi-checkouts-list.d.ts +11 -0
- package/dist/module/justifi-checkouts-list.js +191 -0
- package/dist/module/justifi-counter-dispute.d.ts +11 -0
- package/dist/module/justifi-counter-dispute.js +6 -0
- package/dist/module/justifi-customer-details.d.ts +11 -0
- package/dist/module/justifi-customer-details.js +6 -0
- package/dist/module/justifi-dispute-management-core.d.ts +11 -0
- package/dist/module/justifi-dispute-management-core.js +6 -0
- package/dist/module/justifi-dispute-management.d.ts +11 -0
- package/dist/module/justifi-dispute-management.js +157 -0
- package/dist/module/justifi-dispute-notification.d.ts +11 -0
- package/dist/module/justifi-dispute-notification.js +6 -0
- package/dist/module/justifi-dispute-reason.d.ts +11 -0
- package/dist/module/justifi-dispute-reason.js +6 -0
- package/dist/module/justifi-duplicate-charge.d.ts +11 -0
- package/dist/module/justifi-duplicate-charge.js +6 -0
- package/dist/module/justifi-electronic-evidence.d.ts +11 -0
- package/dist/module/justifi-electronic-evidence.js +6 -0
- package/dist/module/justifi-payment-details.js +2 -1
- package/dist/module/justifi-payment-form.js +18 -11
- package/dist/module/justifi-payment-provisioning.js +30 -18
- package/dist/module/justifi-payments-list.js +12 -13
- package/dist/module/justifi-payout-details.js +2 -1
- package/dist/module/justifi-payouts-list.js +14 -10
- package/dist/module/justifi-product-or-service.d.ts +11 -0
- package/dist/module/justifi-product-or-service.js +6 -0
- package/dist/module/justifi-refund-form.js +23 -10
- package/dist/module/justifi-refund-policy.d.ts +11 -0
- package/dist/module/justifi-refund-policy.js +6 -0
- package/dist/module/justifi-season-interruption-insurance.js +3 -2
- package/dist/module/justifi-shipping-details.d.ts +11 -0
- package/dist/module/justifi-shipping-details.js +6 -0
- package/dist/module/justifi-terminals-list.d.ts +11 -0
- package/dist/module/justifi-terminals-list.js +216 -0
- package/dist/module/justifi-tokenize-payment-method.d.ts +11 -0
- package/dist/module/justifi-tokenize-payment-method.js +153 -0
- package/dist/module/legal-address-form-step-core.js +17 -8
- package/dist/module/legal-address-form-step.js +14 -8
- package/dist/module/legal-address-form.js +14 -8
- package/dist/module/lodash.js +17204 -0
- package/dist/module/new-payment-method.js +14 -8
- package/dist/module/owner-form-core2.js +17 -11
- package/dist/module/owner-form-inputs2.js +16 -10
- package/dist/module/owner-form.js +15 -9
- package/dist/module/package.js +1 -1
- package/dist/module/payment-details-core2.js +9 -8
- package/dist/module/payment-method-form.js +1 -1
- package/dist/module/payment-method-options.js +14 -8
- package/dist/module/payment-method-selector.js +3 -2
- package/dist/module/payment-provisioning-core.js +31 -19
- package/dist/module/payment-provisioning-form-buttons.js +1 -1
- package/dist/module/payment-provisioning-form-steps.js +30 -18
- package/dist/module/payment.service.js +2 -1
- package/dist/module/payments-list-core2.js +23 -22
- package/dist/module/payments-list-filters2.js +9 -17211
- package/dist/module/payments-status.js +24 -0
- package/dist/module/payout-details-core2.js +3 -2
- package/dist/module/payouts-list-core2.js +17 -26
- package/dist/module/payouts-status.js +22 -0
- package/dist/module/product-or-service.js +60 -0
- package/dist/module/refund-policy.js +63 -0
- package/dist/module/save-new-payment-method.js +1 -1
- package/dist/module/saved-payment-method.js +2 -2
- package/dist/module/season-interruption-insurance-core.js +3 -3
- package/dist/module/sezzle-payment-method.js +2 -2
- package/dist/module/shipping-details.js +79 -0
- package/dist/module/styled-host.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/table-loading-state.js +34 -0
- package/dist/module/table.js +18 -0
- package/dist/module/terminals-list-core.d.ts +11 -0
- package/dist/module/terminals-list-core.js +6 -0
- package/dist/module/terminals-list-core2.js +240 -0
- package/dist/module/terminals-list-filters.d.ts +11 -0
- package/dist/module/terminals-list-filters.js +6 -0
- package/dist/module/terminals-list-filters2.js +83 -0
- package/dist/module/utils2.js +4 -43
- package/dist/types/api/Api.d.ts +1 -1
- package/dist/types/api/Checkout.d.ts +74 -2
- package/dist/types/api/Payment.d.ts +7 -0
- package/dist/types/api/SubAccount.d.ts +51 -0
- package/dist/types/api/Terminal.d.ts +48 -0
- package/dist/types/api/get-subaccounts.d.ts +10 -0
- package/dist/types/api/index.d.ts +2 -0
- package/dist/types/api/services/checkout.service.d.ts +3 -1
- package/dist/types/api/services/subaccounts.service.d.ts +7 -0
- package/dist/types/api/services/terminal.service.d.ts +9 -0
- package/dist/types/components/billing-form/billing-form.d.ts +1 -1
- package/dist/types/components/business-forms/business-form/additional-questions/additional-questions.d.ts +1 -1
- package/dist/types/components/business-forms/business-form/business-core-info/business-core-info.d.ts +1 -1
- package/dist/types/components/business-forms/business-form/business-representative/business-representative.d.ts +1 -1
- package/dist/types/components/business-forms/business-form/legal-address-form/legal-address-form.d.ts +1 -1
- package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +1 -1
- package/dist/types/components/business-forms/owner-form/owner-form-inputs.d.ts +1 -1
- package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.d.ts +5 -2
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +3 -2
- package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +3 -2
- package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +2 -1
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.d.ts +1 -1
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +3 -2
- package/dist/types/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.d.ts +3 -2
- package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +3 -2
- package/dist/types/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.d.ts +3 -2
- package/dist/types/components/business-forms/utils/business-form-types.d.ts +15 -0
- package/dist/types/components/business-forms/utils/input-handlers.d.ts +1 -1
- package/dist/types/components/checkouts-list/checkouts-list-core.d.ts +35 -0
- package/dist/types/components/checkouts-list/checkouts-list-filters.d.ts +15 -0
- package/dist/types/components/checkouts-list/checkouts-list.d.ts +44 -0
- package/dist/types/components/checkouts-list/checkouts-status.d.ts +1 -0
- package/dist/types/components/checkouts-list/checkouts-table.d.ts +17 -0
- package/dist/types/components/checkouts-list/get-checkouts.d.ts +10 -0
- package/dist/types/components/dispute-management/counter-dispute/additional-statement.d.ts +3 -0
- package/dist/types/components/dispute-management/counter-dispute/cancellation-policy.d.ts +3 -0
- package/dist/types/components/dispute-management/counter-dispute/counter-dispute.d.ts +14 -0
- package/dist/types/components/dispute-management/counter-dispute/customer-details.d.ts +3 -0
- package/dist/types/components/dispute-management/counter-dispute/dispute-reason.d.ts +3 -0
- package/dist/types/components/dispute-management/counter-dispute/duplicate-charge.d.ts +3 -0
- package/dist/types/components/dispute-management/counter-dispute/electronic-evidence.d.ts +3 -0
- package/dist/types/components/dispute-management/counter-dispute/product-or-service.d.ts +4 -0
- package/dist/types/components/dispute-management/counter-dispute/refund-policy.d.ts +3 -0
- package/dist/types/components/dispute-management/counter-dispute/shipping-details.d.ts +3 -0
- package/dist/types/components/dispute-management/dispute-management-core.d.ts +7 -0
- package/dist/types/components/dispute-management/dispute-management.d.ts +3 -0
- package/dist/types/components/dispute-management/dispute-notification.d.ts +8 -0
- package/dist/types/components/dispute-management/dispute.d.ts +7 -0
- package/dist/types/components/payments-list/payments-status.d.ts +1 -0
- package/dist/types/components/payouts-list/payouts-list-core.d.ts +1 -2
- package/dist/types/components/payouts-list/payouts-status.d.ts +1 -0
- package/dist/types/components/terminals-list/get-terminal-detail.d.ts +8 -0
- package/dist/types/components/terminals-list/get-terminals.d.ts +10 -0
- package/dist/types/components/terminals-list/terminals-list-core.d.ts +35 -0
- package/dist/types/components/terminals-list/terminals-list-filters.d.ts +13 -0
- package/dist/types/components/terminals-list/terminals-list.d.ts +44 -0
- package/dist/types/components/terminals-list/terminals-status.d.ts +1 -0
- package/dist/types/components/terminals-list/terminals-table.d.ts +13 -0
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +22 -0
- package/dist/types/components.d.ts +779 -16
- package/dist/types/ui-components/custom-popper/custom-popper.d.ts +1 -1
- package/dist/types/{components → ui-components}/form/form-control-date.d.ts +6 -0
- package/dist/types/ui-components/form/form-control-radio.d.ts +19 -0
- package/dist/types/ui-components/form/form-control-textarea.d.ts +20 -0
- package/dist/types/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.d.ts +8 -0
- package/dist/types/ui-components/index.d.ts +1 -0
- package/dist/types/utils/table.d.ts +13 -0
- package/dist/types/utils/utils.d.ts +1 -3
- package/dist/webcomponents/p-037e3545.entry.js +1 -0
- package/dist/webcomponents/{p-232016ba.entry.js → p-04d12939.entry.js} +1 -1
- package/dist/webcomponents/p-0ac35b39.entry.js +1 -0
- package/dist/webcomponents/p-0b686ada.entry.js +1 -0
- package/dist/webcomponents/p-0c79e368.entry.js +1 -0
- package/dist/webcomponents/p-0de9e97b.entry.js +1 -0
- package/dist/webcomponents/{p-7d3be485.js → p-0e180654.js} +1 -1
- package/dist/webcomponents/{p-056e75be.entry.js → p-11ff46df.entry.js} +1 -1
- package/dist/webcomponents/p-16d2932d.js +1 -0
- package/dist/webcomponents/p-206fde40.js +1 -0
- package/dist/webcomponents/p-24392a86.entry.js +1 -0
- package/dist/webcomponents/p-269ba6fe.entry.js +1 -0
- package/dist/webcomponents/{p-1eee25f3.entry.js → p-286a4e72.entry.js} +2 -2
- package/dist/webcomponents/p-2c2b57b3.js +1 -0
- package/dist/webcomponents/{p-d76002d5.entry.js → p-2c8c214f.entry.js} +1 -1
- package/dist/webcomponents/p-2de65000.entry.js +1 -0
- package/dist/webcomponents/{p-277aee05.js → p-3d3468a8.js} +1 -1
- package/dist/webcomponents/p-47dbe17d.js +1 -0
- package/dist/webcomponents/p-4b14abbf.entry.js +1 -0
- package/dist/webcomponents/p-4c0c88e4.entry.js +1 -0
- package/dist/webcomponents/p-52ca72cd.entry.js +1 -0
- package/dist/webcomponents/{p-707bdf68.js → p-56bda985.js} +1 -1
- package/dist/webcomponents/p-56d84fb3.entry.js +1 -0
- package/dist/webcomponents/p-638c6285.entry.js +1 -0
- package/dist/webcomponents/p-69ea7334.entry.js +1 -0
- package/dist/webcomponents/p-6caf6f09.entry.js +1 -0
- package/dist/webcomponents/{p-da1d174d.entry.js → p-72819173.entry.js} +1 -1
- package/dist/webcomponents/p-74da98da.js +1 -0
- package/dist/webcomponents/p-7fec2bcb.js +1 -0
- package/dist/webcomponents/p-8480e3ab.entry.js +1 -0
- package/dist/webcomponents/p-869ae0c7.entry.js +1 -0
- package/dist/webcomponents/p-8ec550d7.entry.js +1 -0
- package/dist/webcomponents/p-8f212554.entry.js +1 -0
- package/dist/webcomponents/p-907ba963.js +1 -0
- package/dist/webcomponents/p-919e6e67.entry.js +1 -0
- package/dist/webcomponents/p-927a147c.entry.js +1 -0
- package/dist/webcomponents/p-935188c8.entry.js +1 -0
- package/dist/webcomponents/p-9bd13e22.js +1 -0
- package/dist/webcomponents/p-9f56ad71.js +1 -0
- package/dist/webcomponents/p-a2be972d.entry.js +1 -0
- package/dist/webcomponents/p-a3143d62.entry.js +1 -0
- package/dist/webcomponents/p-a76ece26.js +1 -0
- package/dist/webcomponents/{p-5e2c9ec8.js → p-a8f22d4d.js} +1 -1
- package/dist/webcomponents/p-ad443df5.entry.js +1 -0
- package/dist/webcomponents/p-b0686897.entry.js +1 -0
- package/dist/webcomponents/p-b1aacd6b.entry.js +1 -0
- package/dist/webcomponents/p-b4a7307b.entry.js +1 -0
- package/dist/webcomponents/p-bfb990fc.entry.js +1 -0
- package/dist/webcomponents/p-c1bf9285.entry.js +1 -0
- package/dist/webcomponents/{p-35846553.js → p-c1cf7d5b.js} +1 -1
- package/dist/webcomponents/p-c30c8f39.entry.js +1 -0
- package/dist/webcomponents/p-c5c6e61d.js +1 -0
- package/dist/webcomponents/{p-d99a5f30.entry.js → p-c63825d8.entry.js} +1 -1
- package/dist/webcomponents/{p-5022f21c.js → p-c65b78cf.js} +1 -1
- package/dist/webcomponents/p-c6be72b0.js +10 -0
- package/dist/webcomponents/p-c717646f.entry.js +1 -0
- package/dist/webcomponents/{p-d9579cd6.entry.js → p-cb79f06c.entry.js} +1 -1
- package/dist/webcomponents/p-ccbff4fa.entry.js +1 -0
- package/dist/webcomponents/p-cd4eaeb7.js +1 -0
- package/dist/webcomponents/p-cd7e866c.entry.js +1 -0
- package/dist/webcomponents/p-d1248039.entry.js +1 -0
- package/dist/webcomponents/{p-c64ce69d.entry.js → p-d2eb61e6.entry.js} +1 -1
- package/dist/webcomponents/p-d516e700.js +1 -0
- package/dist/webcomponents/p-dae9b10e.entry.js +1 -0
- package/dist/webcomponents/p-e412a713.entry.js +1 -0
- package/dist/webcomponents/p-e69b2ff8.entry.js +1 -0
- package/dist/webcomponents/p-e6be8845.entry.js +1 -0
- package/dist/webcomponents/{p-b91bcbfc.js → p-e7d6609d.js} +1 -1
- package/dist/webcomponents/p-e8797be0.entry.js +1 -0
- package/dist/webcomponents/p-eb9ba917.entry.js +1 -0
- package/dist/webcomponents/p-ec7e69eb.entry.js +1 -0
- package/dist/webcomponents/p-eeb70281.entry.js +1 -0
- package/dist/webcomponents/{p-e31f0f3e.entry.js → p-efb56234.entry.js} +1 -1
- package/dist/webcomponents/p-f4a8215b.entry.js +1 -0
- package/dist/webcomponents/{p-401d6607.js → p-f6f8dabc.js} +1 -1
- package/dist/webcomponents/{p-1c04aacd.entry.js → p-f7077f93.entry.js} +1 -1
- package/dist/webcomponents/p-fc4de0d2.js +1 -0
- package/dist/webcomponents/{p-3c7fac29.entry.js → p-ffe27126.entry.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/Payout-a2dd7b01.js +0 -45
- package/dist/cjs/form-control-date_3.cjs.entry.js +0 -136
- package/dist/cjs/form-control-error-text_4.cjs.entry.js +0 -118
- package/dist/cjs/justifi-payment-method-form.cjs.entry.js +0 -1688
- package/dist/cjs/styled-host-9e0b67b3.js +0 -14
- package/dist/esm/Payout-dfe15b00.js +0 -43
- package/dist/esm/form-control-date_3.entry.js +0 -130
- package/dist/esm/form-control-error-text_4.entry.js +0 -111
- package/dist/esm/justifi-payment-method-form.entry.js +0 -1684
- package/dist/esm/styled-host-3171ae1f.js +0 -12
- package/dist/module/Payout.js +0 -43
- package/dist/webcomponents/p-034fc302.entry.js +0 -1
- package/dist/webcomponents/p-37888614.entry.js +0 -1
- package/dist/webcomponents/p-430f81c6.entry.js +0 -1
- package/dist/webcomponents/p-44055818.js +0 -1
- package/dist/webcomponents/p-538fd427.entry.js +0 -1
- package/dist/webcomponents/p-55182a59.js +0 -1
- package/dist/webcomponents/p-570a0f02.entry.js +0 -1
- package/dist/webcomponents/p-57d7534f.entry.js +0 -1
- package/dist/webcomponents/p-59cf5391.entry.js +0 -1
- package/dist/webcomponents/p-60d3571e.entry.js +0 -1
- package/dist/webcomponents/p-6ac806ff.entry.js +0 -1
- package/dist/webcomponents/p-75139399.entry.js +0 -1
- package/dist/webcomponents/p-7771f64b.entry.js +0 -1
- package/dist/webcomponents/p-7ddfce86.entry.js +0 -1
- package/dist/webcomponents/p-7ff329b1.js +0 -1
- package/dist/webcomponents/p-8a7112a0.entry.js +0 -1
- package/dist/webcomponents/p-9add7d3e.entry.js +0 -1
- package/dist/webcomponents/p-9b154d98.entry.js +0 -1
- package/dist/webcomponents/p-ab92abb1.entry.js +0 -1
- package/dist/webcomponents/p-ad47f37c.entry.js +0 -1
- package/dist/webcomponents/p-aedb421f.entry.js +0 -1
- package/dist/webcomponents/p-b14da2fd.entry.js +0 -1
- package/dist/webcomponents/p-bbed6107.entry.js +0 -1
- package/dist/webcomponents/p-bdc91c61.entry.js +0 -1
- package/dist/webcomponents/p-c1772671.entry.js +0 -1
- package/dist/webcomponents/p-c740b6ca.entry.js +0 -1
- package/dist/webcomponents/p-ce5fe369.entry.js +0 -10
- package/dist/webcomponents/p-d8355f91.entry.js +0 -1
- package/dist/webcomponents/p-d89bad72.js +0 -1
- package/dist/webcomponents/p-dc048c3c.entry.js +0 -1
- package/dist/webcomponents/p-df21aaad.js +0 -1
- package/dist/webcomponents/p-e2c88817.entry.js +0 -1
- package/dist/webcomponents/p-e3fab0e2.js +0 -1
- package/dist/webcomponents/p-f0866375.entry.js +0 -1
- package/dist/webcomponents/p-f2924369.js +0 -1
- package/dist/webcomponents/p-fb7f7a8c.entry.js +0 -1
- package/dist/webcomponents/p-ffddac99.entry.js +0 -1
- /package/dist/cjs/{exported-parts-b18c68c2.js → exported-parts-a994d693.js} +0 -0
- /package/dist/cjs/{index.esm-52757963.js → index.esm-97cf6825.js} +0 -0
- /package/dist/cjs/{utils-c1d2e426.js → utils-189dc30d.js} +0 -0
- /package/dist/cjs/{utils-ddacfc44.js → utils-bc03ca40.js} +0 -0
- /package/dist/collection/{components → ui-components}/details/utils.js +0 -0
- /package/dist/collection/{components → ui-components}/form/form-helpers/form-alert/form-alert.js +0 -0
- /package/dist/collection/{components → ui-components}/form/form-helpers/form-control-error-text/form-control-error-text.js +0 -0
- /package/dist/collection/{components → ui-components}/form/form-helpers/form-control-help-text/form-control-help-text.js +0 -0
- /package/dist/collection/{components → ui-components}/form/form.js +0 -0
- /package/dist/collection/{components → ui-components}/form/utils.js +0 -0
- /package/dist/collection/{components → ui-components}/table/exported-parts.js +0 -0
- /package/dist/esm/{exported-parts-abd4c027.js → exported-parts-70e7a12b.js} +0 -0
- /package/dist/esm/{index.esm-fc4f5c0c.js → index.esm-ed37201b.js} +0 -0
- /package/dist/esm/{utils-3bb6347a.js → utils-20cdf321.js} +0 -0
- /package/dist/esm/{utils-01413a95.js → utils-218275b7.js} +0 -0
- /package/dist/types/{components → ui-components}/details/details.d.ts +0 -0
- /package/dist/types/{components → ui-components}/details/utils.d.ts +0 -0
- /package/dist/types/{components → ui-components}/form/form-control-checkbox.d.ts +0 -0
- /package/dist/types/{components → ui-components}/form/form-control-file.d.ts +0 -0
- /package/dist/types/{components → ui-components}/form/form-control-monetary.d.ts +0 -0
- /package/dist/types/{components → ui-components}/form/form-control-number-masked.d.ts +0 -0
- /package/dist/types/{components → ui-components}/form/form-control-number.d.ts +0 -0
- /package/dist/types/{components → ui-components}/form/form-control-select.d.ts +0 -0
- /package/dist/types/{components → ui-components}/form/form-control-text.d.ts +0 -0
- /package/dist/types/{components → ui-components}/form/form-helpers/form-alert/form-alert.d.ts +0 -0
- /package/dist/types/{components → ui-components}/form/form-helpers/form-control-error-text/form-control-error-text.d.ts +0 -0
- /package/dist/types/{components → ui-components}/form/form-helpers/form-control-help-text/form-control-help-text.d.ts +0 -0
- /package/dist/types/{components → ui-components}/form/form.d.ts +0 -0
- /package/dist/types/{components → ui-components}/form/utils.d.ts +0 -0
- /package/dist/types/{components → ui-components}/table/exported-parts.d.ts +0 -0
- /package/dist/webcomponents/{p-2eab3c90.js → p-3c654c07.js} +0 -0
- /package/dist/webcomponents/{p-2b6c9c4f.js → p-6cc30da2.js} +0 -0
- /package/dist/webcomponents/{p-dce846bf.js → p-a8b4f429.js} +0 -0
- /package/dist/webcomponents/{p-8df7bde8.js → p-e3c22aa9.js} +0 -0
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
|
|
2
|
+
import './Checkout.js';
|
|
3
|
+
import { p as pagingDefaults } from './Pagination.js';
|
|
4
|
+
import './Payment.js';
|
|
5
|
+
import './SubAccount.js';
|
|
6
|
+
import { d as defineCustomElement$1, o as onFilterChange } from './table-filters-menu2.js';
|
|
7
|
+
import { T as TableLoadingState, a as TableEmptyState, b as TableErrorState } from './table-loading-state.js';
|
|
8
|
+
import { a as formatDate, b as formatTime, c as formatCurrency } from './utils2.js';
|
|
9
|
+
import { T as Table } from './table.js';
|
|
10
|
+
import { d as defineCustomElement$7 } from './checkouts-list-filters2.js';
|
|
11
|
+
import { d as defineCustomElement$6 } from './custom-popper2.js';
|
|
12
|
+
import { d as defineCustomElement$5 } from './form-control-error-text2.js';
|
|
13
|
+
import { d as defineCustomElement$4 } from './form-control-select2.js';
|
|
14
|
+
import { d as defineCustomElement$3 } from './form-control-tooltip2.js';
|
|
15
|
+
import { d as defineCustomElement$2 } from './pagination-menu2.js';
|
|
16
|
+
|
|
17
|
+
const MapCheckoutStatusToBadge = (status) => {
|
|
18
|
+
switch (status) {
|
|
19
|
+
case 'created':
|
|
20
|
+
return "<span class='badge bg-primary' title='The checkout has been created'>Created</span>";
|
|
21
|
+
case 'completed':
|
|
22
|
+
return "<span class='badge bg-success' title='The checkout has been completed'>Completed</span>";
|
|
23
|
+
case 'attempted':
|
|
24
|
+
return "<span class='badge bg-secondary' title='The checkout has been attempted'>Attempted</span>";
|
|
25
|
+
case 'expired':
|
|
26
|
+
return "<span class='badge bg-danger' title='The checkout has expired'>Expired</span>";
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
const defaultColumnsKeys = 'created_at,payment_amount,payment_description,payment_mode,status';
|
|
31
|
+
const checkoutTableColumns = {
|
|
32
|
+
created_at: () => (h("th", { part: "table-head-cell", scope: "col", title: "The date each checkout occurred" }, "Processed On")),
|
|
33
|
+
payment_amount: () => (h("th", { part: "table-head-cell", scope: "col", title: "The dollar amount of each checkout" }, "Payment Amount")),
|
|
34
|
+
payment_description: () => (h("th", { part: "table-head-cell", scope: "col", title: "The description of each checkout" }, "Payment Description")),
|
|
35
|
+
sub_account_name: () => (h("th", { part: "table-head-cell", scope: "col", title: "The sub account associated with the checkout" }, "Sub Account")),
|
|
36
|
+
payment_mode: () => (h("th", { part: "table-head-cell", scope: "col", title: "The payment mode of each checkout" }, "Payment Mode")),
|
|
37
|
+
status: () => (h("th", { part: "table-head-cell", scope: "col", title: "The current status of each checkout" }, "Status")),
|
|
38
|
+
};
|
|
39
|
+
const checkoutTableCells = {
|
|
40
|
+
created_at: (value) => (h("th", null,
|
|
41
|
+
h("div", { class: "fw-bold" },
|
|
42
|
+
formatDate(value),
|
|
43
|
+
" "),
|
|
44
|
+
h("div", { class: "fw-bold" },
|
|
45
|
+
formatTime(value),
|
|
46
|
+
" "))),
|
|
47
|
+
payment_amount: (value) => (h("td", null,
|
|
48
|
+
formatCurrency(value, true, true),
|
|
49
|
+
" ")),
|
|
50
|
+
payment_description: (value) => (h("td", null, value)),
|
|
51
|
+
sub_account_name: (value) => (h("td", null, value)),
|
|
52
|
+
payment_mode: (value) => (h("td", null, value)),
|
|
53
|
+
status: (value) => (h("td", { innerHTML: MapCheckoutStatusToBadge(value) })),
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
const CheckoutsListCore = /*@__PURE__*/ proxyCustomElement(class CheckoutsListCore extends HTMLElement {
|
|
57
|
+
constructor() {
|
|
58
|
+
super();
|
|
59
|
+
this.__registerHost();
|
|
60
|
+
this.rowClicked = createEvent(this, "checkout-row-clicked", 7);
|
|
61
|
+
this.errorEvent = createEvent(this, "error-event", 7);
|
|
62
|
+
this.handleClickPrevious = (beforeCursor) => {
|
|
63
|
+
const newParams = Object.assign({}, this.params);
|
|
64
|
+
delete newParams.after_cursor;
|
|
65
|
+
this.params = Object.assign(Object.assign({}, newParams), { before_cursor: beforeCursor });
|
|
66
|
+
};
|
|
67
|
+
this.handleClickNext = (afterCursor) => {
|
|
68
|
+
const newParams = Object.assign({}, this.params);
|
|
69
|
+
delete newParams.before_cursor;
|
|
70
|
+
this.params = Object.assign(Object.assign({}, newParams), { after_cursor: afterCursor });
|
|
71
|
+
};
|
|
72
|
+
this.rowClickHandler = (e) => {
|
|
73
|
+
const clickedCheckoutID = e.target.closest('tr').dataset.rowEntityId;
|
|
74
|
+
if (!clickedCheckoutID)
|
|
75
|
+
return;
|
|
76
|
+
this.rowClicked.emit(this.checkouts.find((checkout) => checkout.id === clickedCheckoutID));
|
|
77
|
+
};
|
|
78
|
+
this.setParamsOnChange = (name, value) => {
|
|
79
|
+
let newParams = { [name]: value };
|
|
80
|
+
this.params = onFilterChange(newParams, this.params);
|
|
81
|
+
};
|
|
82
|
+
this.clearParams = () => {
|
|
83
|
+
this.errorMessage = '';
|
|
84
|
+
this.params = {};
|
|
85
|
+
};
|
|
86
|
+
this.getCheckouts = undefined;
|
|
87
|
+
this.getSubAccounts = undefined;
|
|
88
|
+
this.columns = defaultColumnsKeys;
|
|
89
|
+
this.checkouts = [];
|
|
90
|
+
this.checkoutsTable = new Table([], this.columns, checkoutTableColumns, checkoutTableCells);
|
|
91
|
+
this.subAccounts = [];
|
|
92
|
+
this.loading = true;
|
|
93
|
+
this.errorMessage = undefined;
|
|
94
|
+
this.paging = pagingDefaults;
|
|
95
|
+
this.params = {};
|
|
96
|
+
}
|
|
97
|
+
updateOnPropChange() {
|
|
98
|
+
this.fetchCheckouts();
|
|
99
|
+
}
|
|
100
|
+
componentWillLoad() {
|
|
101
|
+
if (this.getCheckouts && this.getSubAccounts) {
|
|
102
|
+
this.fetchCheckouts();
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
fetchCheckouts() {
|
|
106
|
+
this.loading = true;
|
|
107
|
+
this.getCheckouts({
|
|
108
|
+
params: this.params,
|
|
109
|
+
onSuccess: async ({ checkouts, pagingInfo }) => {
|
|
110
|
+
this.checkouts = checkouts;
|
|
111
|
+
this.paging = pagingInfo;
|
|
112
|
+
this.checkoutsTable = new Table(this.checkouts, this.columns, checkoutTableColumns, checkoutTableCells);
|
|
113
|
+
const shouldFetchSubAccounts = this.checkoutsTable.columnKeys.includes('sub_account_name');
|
|
114
|
+
if (shouldFetchSubAccounts) {
|
|
115
|
+
await this.fetchSubAccounts();
|
|
116
|
+
}
|
|
117
|
+
else {
|
|
118
|
+
this.loading = false;
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
onError: ({ error, code, severity }) => {
|
|
122
|
+
this.errorMessage = error;
|
|
123
|
+
this.errorEvent.emit({
|
|
124
|
+
errorCode: code,
|
|
125
|
+
message: error,
|
|
126
|
+
severity,
|
|
127
|
+
});
|
|
128
|
+
this.loading = false;
|
|
129
|
+
},
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
async fetchSubAccounts() {
|
|
133
|
+
this.getSubAccounts({
|
|
134
|
+
params: this.subAccountParams,
|
|
135
|
+
onSuccess: ({ subAccounts }) => {
|
|
136
|
+
this.subAccounts = subAccounts;
|
|
137
|
+
this.checkouts = this.checkouts.map((checkout) => {
|
|
138
|
+
var _a;
|
|
139
|
+
checkout.sub_account_name = (_a = this.subAccounts.find((subAccount) => subAccount.id === checkout.account_id)) === null || _a === void 0 ? void 0 : _a.name;
|
|
140
|
+
return checkout;
|
|
141
|
+
});
|
|
142
|
+
this.loading = false;
|
|
143
|
+
},
|
|
144
|
+
onError: ({ error, code, severity }) => {
|
|
145
|
+
this.errorMessage = error;
|
|
146
|
+
this.errorEvent.emit({
|
|
147
|
+
errorCode: code,
|
|
148
|
+
message: error,
|
|
149
|
+
severity,
|
|
150
|
+
});
|
|
151
|
+
this.loading = false;
|
|
152
|
+
},
|
|
153
|
+
});
|
|
154
|
+
}
|
|
155
|
+
get subAccountParams() {
|
|
156
|
+
let accountIdNumbers = this.checkouts.map((checkout) => checkout.account_id);
|
|
157
|
+
let uniqueAccountIds = [...new Set(accountIdNumbers)];
|
|
158
|
+
let accountIdString = uniqueAccountIds.join(',');
|
|
159
|
+
return { sub_account_id: accountIdString };
|
|
160
|
+
}
|
|
161
|
+
get entityId() {
|
|
162
|
+
return this.checkouts.map((checkout) => checkout.id);
|
|
163
|
+
}
|
|
164
|
+
get showEmptyState() {
|
|
165
|
+
return !this.loading && !this.errorMessage && this.checkoutsTable.rowData.length < 1;
|
|
166
|
+
}
|
|
167
|
+
get showErrorState() {
|
|
168
|
+
return !this.loading && !!this.errorMessage;
|
|
169
|
+
}
|
|
170
|
+
get showRowData() {
|
|
171
|
+
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
172
|
+
}
|
|
173
|
+
render() {
|
|
174
|
+
return (h("div", { key: '2734f704620a60a5bedc46e3e41ab758af3fcb33' }, h("checkouts-list-filters", { key: '88ec654a9e15b976c47baee51ebed8c4bd8f11d7', params: this.params, setParamsOnChange: this.setParamsOnChange, clearParams: this.clearParams }), h("div", { key: '929ce2e4dbee2b6aad94705b90b33527ef88f324', class: "table-wrapper" }, h("table", { key: '734d75f3f6d0189ce21560a89e9bc28628188798', class: "table table-hover" }, h("thead", { key: '6b1bba45aaa29b741cf3422902bf1d63cb89fe9a', class: "table-head sticky-top", part: "table-head" }, h("tr", { key: '54f3e19d0d8b1414e9c0df4a6b9cd59516eb0e2e', class: "table-light text-nowrap", part: "table-head-row" }, this.checkoutsTable.columnData.map((column) => column))), h("tbody", { key: '7454d36c6595e8341c0405833a919c56cd09fa3d', class: "table-body", part: "table-body" }, h(TableLoadingState, { key: 'b6fc81a9293727005f0a13afbf518e57efeb8469', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'ce449e05b1c0643f8a2157f44f2f2af16ee08f8c', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: '89d0b6d1c4eb966fe0195cfe6e854a7cca10c7ed', 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, part: `table-row ${index % 2 ? "table-row-even" : "table-row-odd"}` }, data)))), this.paging && (h("tfoot", { key: 'ac6bb6d3cf02abc3f386a7d6bf92927f4a0ad244', class: "sticky-bottom" }, h("tr", { key: '352544ebda3e9a899fcb640b350fd60c55b97d17', class: "table-light align-middle" }, h("td", { key: '2dfc279e5e94bb1c0ea75670eb6584ff39a98f4a', part: "pagination-bar", colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: 'a8ba0fd21c0dd9be75662b62db78980a74d5fbc6', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }), params: this.params })))))))));
|
|
175
|
+
}
|
|
176
|
+
static get watchers() { return {
|
|
177
|
+
"params": ["updateOnPropChange"],
|
|
178
|
+
"getCheckouts": ["updateOnPropChange"],
|
|
179
|
+
"getSubAccounts": ["updateOnPropChange"],
|
|
180
|
+
"columns": ["updateOnPropChange"]
|
|
181
|
+
}; }
|
|
182
|
+
}, [0, "checkouts-list-core", {
|
|
183
|
+
"getCheckouts": [16],
|
|
184
|
+
"getSubAccounts": [16],
|
|
185
|
+
"columns": [1],
|
|
186
|
+
"checkouts": [32],
|
|
187
|
+
"checkoutsTable": [32],
|
|
188
|
+
"subAccounts": [32],
|
|
189
|
+
"loading": [32],
|
|
190
|
+
"errorMessage": [32],
|
|
191
|
+
"paging": [32],
|
|
192
|
+
"params": [32]
|
|
193
|
+
}, undefined, {
|
|
194
|
+
"params": ["updateOnPropChange"],
|
|
195
|
+
"getCheckouts": ["updateOnPropChange"],
|
|
196
|
+
"getSubAccounts": ["updateOnPropChange"],
|
|
197
|
+
"columns": ["updateOnPropChange"]
|
|
198
|
+
}]);
|
|
199
|
+
function defineCustomElement() {
|
|
200
|
+
if (typeof customElements === "undefined") {
|
|
201
|
+
return;
|
|
202
|
+
}
|
|
203
|
+
const components = ["checkouts-list-core", "checkouts-list-filters", "custom-popper", "form-control-error-text", "form-control-select", "form-control-tooltip", "pagination-menu", "table-filters-menu"];
|
|
204
|
+
components.forEach(tagName => { switch (tagName) {
|
|
205
|
+
case "checkouts-list-core":
|
|
206
|
+
if (!customElements.get(tagName)) {
|
|
207
|
+
customElements.define(tagName, CheckoutsListCore);
|
|
208
|
+
}
|
|
209
|
+
break;
|
|
210
|
+
case "checkouts-list-filters":
|
|
211
|
+
if (!customElements.get(tagName)) {
|
|
212
|
+
defineCustomElement$7();
|
|
213
|
+
}
|
|
214
|
+
break;
|
|
215
|
+
case "custom-popper":
|
|
216
|
+
if (!customElements.get(tagName)) {
|
|
217
|
+
defineCustomElement$6();
|
|
218
|
+
}
|
|
219
|
+
break;
|
|
220
|
+
case "form-control-error-text":
|
|
221
|
+
if (!customElements.get(tagName)) {
|
|
222
|
+
defineCustomElement$5();
|
|
223
|
+
}
|
|
224
|
+
break;
|
|
225
|
+
case "form-control-select":
|
|
226
|
+
if (!customElements.get(tagName)) {
|
|
227
|
+
defineCustomElement$4();
|
|
228
|
+
}
|
|
229
|
+
break;
|
|
230
|
+
case "form-control-tooltip":
|
|
231
|
+
if (!customElements.get(tagName)) {
|
|
232
|
+
defineCustomElement$3();
|
|
233
|
+
}
|
|
234
|
+
break;
|
|
235
|
+
case "pagination-menu":
|
|
236
|
+
if (!customElements.get(tagName)) {
|
|
237
|
+
defineCustomElement$2();
|
|
238
|
+
}
|
|
239
|
+
break;
|
|
240
|
+
case "table-filters-menu":
|
|
241
|
+
if (!customElements.get(tagName)) {
|
|
242
|
+
defineCustomElement$1();
|
|
243
|
+
}
|
|
244
|
+
break;
|
|
245
|
+
} });
|
|
246
|
+
}
|
|
247
|
+
defineCustomElement();
|
|
248
|
+
|
|
249
|
+
export { CheckoutsListCore as C, defineCustomElement as d };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface CheckoutsListFilters extends Components.CheckoutsListFilters, HTMLElement {}
|
|
4
|
+
export const CheckoutsListFilters: {
|
|
5
|
+
prototype: CheckoutsListFilters;
|
|
6
|
+
new (): CheckoutsListFilters;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { C as CheckoutsListFilters$1, d as defineCustomElement$1 } from './checkouts-list-filters2.js';
|
|
2
|
+
|
|
3
|
+
const CheckoutsListFilters = CheckoutsListFilters$1;
|
|
4
|
+
const defineCustomElement = defineCustomElement$1;
|
|
5
|
+
|
|
6
|
+
export { CheckoutsListFilters, defineCustomElement };
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { d as defineCustomElement$5 } from './custom-popper2.js';
|
|
3
|
+
import { d as defineCustomElement$4 } from './form-control-error-text2.js';
|
|
4
|
+
import { d as defineCustomElement$3 } from './form-control-select2.js';
|
|
5
|
+
import { d as defineCustomElement$2 } from './form-control-tooltip2.js';
|
|
6
|
+
import { d as defineCustomElement$1 } from './table-filters-menu2.js';
|
|
7
|
+
|
|
8
|
+
const CheckoutsListFilters = /*@__PURE__*/ proxyCustomElement(class CheckoutsListFilters extends HTMLElement {
|
|
9
|
+
constructor() {
|
|
10
|
+
super();
|
|
11
|
+
this.__registerHost();
|
|
12
|
+
this.params = {};
|
|
13
|
+
this.setParamsOnChange = undefined;
|
|
14
|
+
this.clearParams = undefined;
|
|
15
|
+
}
|
|
16
|
+
get checkoutStatusOptions() {
|
|
17
|
+
return [
|
|
18
|
+
{ label: 'All', value: '' },
|
|
19
|
+
{ label: 'Created', value: 'created' },
|
|
20
|
+
{ label: 'Completed', value: 'completed' },
|
|
21
|
+
{ label: 'Attempted', value: 'attempted' },
|
|
22
|
+
{ label: 'Expired', value: 'expired' },
|
|
23
|
+
];
|
|
24
|
+
}
|
|
25
|
+
get checkoutPaymentModeOptions() {
|
|
26
|
+
return [
|
|
27
|
+
{ label: 'All', value: '' },
|
|
28
|
+
{ label: 'E-commerce', value: 'ecom' },
|
|
29
|
+
{ label: 'BNPL', value: 'bnpl' },
|
|
30
|
+
];
|
|
31
|
+
}
|
|
32
|
+
render() {
|
|
33
|
+
return (h("table-filters-menu", { key: '9bbefced0a75175612e10d18a2399c2fba54a541', params: this.params, clearParams: this.clearParams }, h("div", { key: 'c9788ad56827b8a3d4452da28678d56b0b7db11c', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '4f4eefcdecb67f6fa58f7daa5044bae0e0df5f6c', class: "p-2" }, h("form-control-select", { key: 'cb3d3801b90102e330a96a0454074b5374f15326', name: "status", label: "Status", options: this.checkoutStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.params.status || '' })), h("div", { key: 'b43631eb9021c8d496551d359440696686a3a50b', class: "p-2" }, h("form-control-select", { key: '7f2a33df18fb3d48dba2ad726a96d9107cca2bf3', name: "payment_mode", label: "Payment Mode", options: this.checkoutPaymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.params.payment_mode || '' })))));
|
|
34
|
+
}
|
|
35
|
+
}, [0, "checkouts-list-filters", {
|
|
36
|
+
"params": [16],
|
|
37
|
+
"setParamsOnChange": [16],
|
|
38
|
+
"clearParams": [16]
|
|
39
|
+
}]);
|
|
40
|
+
function defineCustomElement() {
|
|
41
|
+
if (typeof customElements === "undefined") {
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
const components = ["checkouts-list-filters", "custom-popper", "form-control-error-text", "form-control-select", "form-control-tooltip", "table-filters-menu"];
|
|
45
|
+
components.forEach(tagName => { switch (tagName) {
|
|
46
|
+
case "checkouts-list-filters":
|
|
47
|
+
if (!customElements.get(tagName)) {
|
|
48
|
+
customElements.define(tagName, CheckoutsListFilters);
|
|
49
|
+
}
|
|
50
|
+
break;
|
|
51
|
+
case "custom-popper":
|
|
52
|
+
if (!customElements.get(tagName)) {
|
|
53
|
+
defineCustomElement$5();
|
|
54
|
+
}
|
|
55
|
+
break;
|
|
56
|
+
case "form-control-error-text":
|
|
57
|
+
if (!customElements.get(tagName)) {
|
|
58
|
+
defineCustomElement$4();
|
|
59
|
+
}
|
|
60
|
+
break;
|
|
61
|
+
case "form-control-select":
|
|
62
|
+
if (!customElements.get(tagName)) {
|
|
63
|
+
defineCustomElement$3();
|
|
64
|
+
}
|
|
65
|
+
break;
|
|
66
|
+
case "form-control-tooltip":
|
|
67
|
+
if (!customElements.get(tagName)) {
|
|
68
|
+
defineCustomElement$2();
|
|
69
|
+
}
|
|
70
|
+
break;
|
|
71
|
+
case "table-filters-menu":
|
|
72
|
+
if (!customElements.get(tagName)) {
|
|
73
|
+
defineCustomElement$1();
|
|
74
|
+
}
|
|
75
|
+
break;
|
|
76
|
+
} });
|
|
77
|
+
}
|
|
78
|
+
defineCustomElement();
|
|
79
|
+
|
|
80
|
+
export { CheckoutsListFilters as C, defineCustomElement as d };
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { d as defineCustomElement$i } from './custom-popper2.js';
|
|
3
|
+
import { d as defineCustomElement$h } from './form-control-date2.js';
|
|
4
|
+
import { d as defineCustomElement$g } from './form-control-error-text2.js';
|
|
5
|
+
import { d as defineCustomElement$f } from './form-control-file2.js';
|
|
6
|
+
import { d as defineCustomElement$e } from './form-control-help-text2.js';
|
|
7
|
+
import { d as defineCustomElement$d } from './form-control-radio2.js';
|
|
8
|
+
import { d as defineCustomElement$c } from './form-control-text2.js';
|
|
9
|
+
import { d as defineCustomElement$b } from './form-control-textarea2.js';
|
|
10
|
+
import { d as defineCustomElement$a } from './form-control-tooltip2.js';
|
|
11
|
+
import { d as defineCustomElement$9 } from './additional-statement.js';
|
|
12
|
+
import { d as defineCustomElement$8 } from './cancellation-policy.js';
|
|
13
|
+
import { d as defineCustomElement$7 } from './customer-details.js';
|
|
14
|
+
import { d as defineCustomElement$6 } from './dispute-reason.js';
|
|
15
|
+
import { d as defineCustomElement$5 } from './duplicate-charge.js';
|
|
16
|
+
import { d as defineCustomElement$4 } from './electronic-evidence.js';
|
|
17
|
+
import { d as defineCustomElement$3 } from './product-or-service.js';
|
|
18
|
+
import { d as defineCustomElement$2 } from './refund-policy.js';
|
|
19
|
+
import { d as defineCustomElement$1 } from './shipping-details.js';
|
|
20
|
+
|
|
21
|
+
var DisputeManagementClickEvents;
|
|
22
|
+
(function (DisputeManagementClickEvents) {
|
|
23
|
+
DisputeManagementClickEvents["nextStep"] = "nextStep";
|
|
24
|
+
DisputeManagementClickEvents["previousStep"] = "previousStep";
|
|
25
|
+
DisputeManagementClickEvents["cancelDispute"] = "cancelDispute";
|
|
26
|
+
DisputeManagementClickEvents["counterDispute"] = "counterDispute";
|
|
27
|
+
DisputeManagementClickEvents["submit"] = "submit";
|
|
28
|
+
})(DisputeManagementClickEvents || (DisputeManagementClickEvents = {}));
|
|
29
|
+
|
|
30
|
+
const CounterDispute = /*@__PURE__*/ proxyCustomElement(class CounterDispute extends HTMLElement {
|
|
31
|
+
constructor() {
|
|
32
|
+
super();
|
|
33
|
+
this.__registerHost();
|
|
34
|
+
this.submit = createEvent(this, "submit", 7);
|
|
35
|
+
this.clickEvent = createEvent(this, "clickEvent", 7);
|
|
36
|
+
this.componentStepMapping = [
|
|
37
|
+
() => h("justifi-dispute-reason", { ref: (el) => this.refs['disputeReason'] = el }),
|
|
38
|
+
() => h("justifi-product-or-service", { ref: (el) => this.refs['productOrService'] = el }),
|
|
39
|
+
() => h("justifi-customer-details", { ref: (el) => this.refs['customerDetails'] = el }),
|
|
40
|
+
() => h("justifi-cancellation-policy", { ref: (el) => this.refs['cancellationPolicy'] = el }),
|
|
41
|
+
() => h("justifi-refund-policy", { ref: (el) => this.refs['refundPolicy'] = el }),
|
|
42
|
+
() => h("justifi-duplicate-charge", { ref: (el) => this.refs['duplicateCharge'] = el }),
|
|
43
|
+
() => h("justifi-electronic-evidence", { ref: (el) => this.refs['electronicEvidence'] = el }),
|
|
44
|
+
() => h("justifi-shipping-details", { ref: (el) => this.refs['shippingDetails'] = el }),
|
|
45
|
+
() => h("justifi-additional-statement", { ref: (el) => this.refs['additionalStatement'] = el }),
|
|
46
|
+
];
|
|
47
|
+
this.currentStep = 0;
|
|
48
|
+
this.refs = [];
|
|
49
|
+
}
|
|
50
|
+
get currentStepComponent() {
|
|
51
|
+
return this.componentStepMapping[this.currentStep]();
|
|
52
|
+
}
|
|
53
|
+
get isLastStep() {
|
|
54
|
+
return this.currentStep === this.componentStepMapping.length - 1;
|
|
55
|
+
}
|
|
56
|
+
get isFirstStep() {
|
|
57
|
+
return this.currentStep === 0;
|
|
58
|
+
}
|
|
59
|
+
onNext() {
|
|
60
|
+
if (this.isLastStep) {
|
|
61
|
+
this.submit.emit();
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
64
|
+
this.currentStep++;
|
|
65
|
+
this.clickEvent.emit({ name: DisputeManagementClickEvents.nextStep });
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
onBack() {
|
|
69
|
+
if (this.isFirstStep) {
|
|
70
|
+
this.clickEvent.emit({ name: DisputeManagementClickEvents.cancelDispute });
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
this.currentStep--;
|
|
74
|
+
this.clickEvent.emit({ name: DisputeManagementClickEvents.previousStep });
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
render() {
|
|
78
|
+
return (h("div", { key: 'cd8ced72339631d8f2f9439ee26f1187b7b8ab21', class: "row gy-3" }, h("div", { key: '6ae94b1ce9d12b12044c4baa3c3eb9966b4b176e', class: "col-12" }, h("h1", { key: '6893f2dacb6e8932e67d67095076cd2d1bc12b38', class: "h4" }, "Counter dispute")), h("div", { key: '6d34423a06c634824a8b2f2ad5538e4c0b6fbf5c', class: "col-12" }, this.currentStepComponent), h("div", { key: 'fdfc725f0dacae3abb56dfe7300399f57300ffd5', class: "col-12" }, h("div", { key: 'b590b19dda4fbe8d8245dedbb66c421866b2b8f3', class: "d-flex gap-2 mt-4 justify-content-end" }, h("button", { key: '4d91e8db6f5c2ef26ac938c57f7dca33cf9a33ee', class: "btn btn-secondary", onClick: () => this.onBack() }, this.isFirstStep ? 'Cancel' : 'Back'), h("button", { key: 'f56fa57dd1aef4bd5b537d9e67c3aaaa784ccba2', class: "btn btn-primary", onClick: () => this.onNext() }, this.isLastStep ? 'Submit Counter Dispute' : 'Next')))));
|
|
79
|
+
}
|
|
80
|
+
}, [0, "justifi-counter-dispute", {
|
|
81
|
+
"currentStep": [32],
|
|
82
|
+
"refs": [32]
|
|
83
|
+
}]);
|
|
84
|
+
function defineCustomElement() {
|
|
85
|
+
if (typeof customElements === "undefined") {
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
const components = ["justifi-counter-dispute", "custom-popper", "form-control-date", "form-control-error-text", "form-control-file", "form-control-help-text", "form-control-radio", "form-control-text", "form-control-textarea", "form-control-tooltip", "justifi-additional-statement", "justifi-cancellation-policy", "justifi-customer-details", "justifi-dispute-reason", "justifi-duplicate-charge", "justifi-electronic-evidence", "justifi-product-or-service", "justifi-refund-policy", "justifi-shipping-details"];
|
|
89
|
+
components.forEach(tagName => { switch (tagName) {
|
|
90
|
+
case "justifi-counter-dispute":
|
|
91
|
+
if (!customElements.get(tagName)) {
|
|
92
|
+
customElements.define(tagName, CounterDispute);
|
|
93
|
+
}
|
|
94
|
+
break;
|
|
95
|
+
case "custom-popper":
|
|
96
|
+
if (!customElements.get(tagName)) {
|
|
97
|
+
defineCustomElement$i();
|
|
98
|
+
}
|
|
99
|
+
break;
|
|
100
|
+
case "form-control-date":
|
|
101
|
+
if (!customElements.get(tagName)) {
|
|
102
|
+
defineCustomElement$h();
|
|
103
|
+
}
|
|
104
|
+
break;
|
|
105
|
+
case "form-control-error-text":
|
|
106
|
+
if (!customElements.get(tagName)) {
|
|
107
|
+
defineCustomElement$g();
|
|
108
|
+
}
|
|
109
|
+
break;
|
|
110
|
+
case "form-control-file":
|
|
111
|
+
if (!customElements.get(tagName)) {
|
|
112
|
+
defineCustomElement$f();
|
|
113
|
+
}
|
|
114
|
+
break;
|
|
115
|
+
case "form-control-help-text":
|
|
116
|
+
if (!customElements.get(tagName)) {
|
|
117
|
+
defineCustomElement$e();
|
|
118
|
+
}
|
|
119
|
+
break;
|
|
120
|
+
case "form-control-radio":
|
|
121
|
+
if (!customElements.get(tagName)) {
|
|
122
|
+
defineCustomElement$d();
|
|
123
|
+
}
|
|
124
|
+
break;
|
|
125
|
+
case "form-control-text":
|
|
126
|
+
if (!customElements.get(tagName)) {
|
|
127
|
+
defineCustomElement$c();
|
|
128
|
+
}
|
|
129
|
+
break;
|
|
130
|
+
case "form-control-textarea":
|
|
131
|
+
if (!customElements.get(tagName)) {
|
|
132
|
+
defineCustomElement$b();
|
|
133
|
+
}
|
|
134
|
+
break;
|
|
135
|
+
case "form-control-tooltip":
|
|
136
|
+
if (!customElements.get(tagName)) {
|
|
137
|
+
defineCustomElement$a();
|
|
138
|
+
}
|
|
139
|
+
break;
|
|
140
|
+
case "justifi-additional-statement":
|
|
141
|
+
if (!customElements.get(tagName)) {
|
|
142
|
+
defineCustomElement$9();
|
|
143
|
+
}
|
|
144
|
+
break;
|
|
145
|
+
case "justifi-cancellation-policy":
|
|
146
|
+
if (!customElements.get(tagName)) {
|
|
147
|
+
defineCustomElement$8();
|
|
148
|
+
}
|
|
149
|
+
break;
|
|
150
|
+
case "justifi-customer-details":
|
|
151
|
+
if (!customElements.get(tagName)) {
|
|
152
|
+
defineCustomElement$7();
|
|
153
|
+
}
|
|
154
|
+
break;
|
|
155
|
+
case "justifi-dispute-reason":
|
|
156
|
+
if (!customElements.get(tagName)) {
|
|
157
|
+
defineCustomElement$6();
|
|
158
|
+
}
|
|
159
|
+
break;
|
|
160
|
+
case "justifi-duplicate-charge":
|
|
161
|
+
if (!customElements.get(tagName)) {
|
|
162
|
+
defineCustomElement$5();
|
|
163
|
+
}
|
|
164
|
+
break;
|
|
165
|
+
case "justifi-electronic-evidence":
|
|
166
|
+
if (!customElements.get(tagName)) {
|
|
167
|
+
defineCustomElement$4();
|
|
168
|
+
}
|
|
169
|
+
break;
|
|
170
|
+
case "justifi-product-or-service":
|
|
171
|
+
if (!customElements.get(tagName)) {
|
|
172
|
+
defineCustomElement$3();
|
|
173
|
+
}
|
|
174
|
+
break;
|
|
175
|
+
case "justifi-refund-policy":
|
|
176
|
+
if (!customElements.get(tagName)) {
|
|
177
|
+
defineCustomElement$2();
|
|
178
|
+
}
|
|
179
|
+
break;
|
|
180
|
+
case "justifi-shipping-details":
|
|
181
|
+
if (!customElements.get(tagName)) {
|
|
182
|
+
defineCustomElement$1();
|
|
183
|
+
}
|
|
184
|
+
break;
|
|
185
|
+
} });
|
|
186
|
+
}
|
|
187
|
+
defineCustomElement();
|
|
188
|
+
|
|
189
|
+
export { CounterDispute as C, DisputeManagementClickEvents as D, defineCustomElement as d };
|
|
@@ -1876,7 +1876,7 @@ const CustomPopper = /*@__PURE__*/ proxyCustomElement(class CustomPopper extends
|
|
|
1876
1876
|
this.hideEvent.emit();
|
|
1877
1877
|
}
|
|
1878
1878
|
render() {
|
|
1879
|
-
return (h("div", { key: '
|
|
1879
|
+
return (h("div", { key: '8a37af79ca05c760a65fde19686d0c2e796fbb0b' }, h("style", { key: '9a92807c0d688d1ddc86f05bcc39e34f1da2a939' }, `
|
|
1880
1880
|
.popper-content {
|
|
1881
1881
|
display: none;
|
|
1882
1882
|
}
|
|
@@ -1884,7 +1884,7 @@ const CustomPopper = /*@__PURE__*/ proxyCustomElement(class CustomPopper extends
|
|
|
1884
1884
|
display: block;
|
|
1885
1885
|
z-index: 1030;
|
|
1886
1886
|
}
|
|
1887
|
-
`), h("div", { key: '
|
|
1887
|
+
`), h("div", { key: 'fc9582fdc9d0b2e0ad115daad752796cd2bc4067', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: '79ecc806af9caa4450969cd4b84868b59aa3f55b' }))));
|
|
1888
1888
|
}
|
|
1889
1889
|
}, [4, "custom-popper", {
|
|
1890
1890
|
"placement": [1],
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { d as defineCustomElement$7 } from './custom-popper2.js';
|
|
3
|
+
import { d as defineCustomElement$6 } from './form-control-error-text2.js';
|
|
4
|
+
import { d as defineCustomElement$5 } from './form-control-file2.js';
|
|
5
|
+
import { d as defineCustomElement$4 } from './form-control-help-text2.js';
|
|
6
|
+
import { d as defineCustomElement$3 } from './form-control-text2.js';
|
|
7
|
+
import { d as defineCustomElement$2 } from './form-control-textarea2.js';
|
|
8
|
+
import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
|
|
9
|
+
|
|
10
|
+
const CustomerDetails = /*@__PURE__*/ proxyCustomElement(class CustomerDetails extends HTMLElement {
|
|
11
|
+
constructor() {
|
|
12
|
+
super();
|
|
13
|
+
this.__registerHost();
|
|
14
|
+
}
|
|
15
|
+
render() {
|
|
16
|
+
return (h("div", { key: '4511521cc0b5d152847fe47515a932bc25632b69' }, h("div", { key: 'ccc20447c74727d926159c4bbd78d7aa81f406fb', class: "row gy-3" }, h("div", { key: '09d693c977d9f55978df56fd94f37e65fcf42548', class: "col-12" }, h("h2", { key: 'ef47704c5d35b7b18e49603e050a1128728219b4', class: "h5" }, "Customer Details")), h("div", { key: '0f6ee829c192d15b22208d207ab34d7c433b1c8d', class: "col-12" }, h("form-control-text", { key: '8f64ca680c0dcd4b41d93523a62e0b3bbf1daf3e', label: "Full Name", name: "customer_name" })), h("div", { key: '8789d52f77c2cb673260fa12382c31725e2a7ffa', class: "col-12" }, h("form-control-text", { key: 'af48dedd7c9ce318a7d1009c1227cceda2d799b0', label: "Email", name: "customer_email_address" })), h("div", { key: '17fdeea69f9eab82e55d63cd55af079532696d57', class: "col-12" }, h("form-control-textarea", { key: '05d930b272e0162100412bc81a05df8cd2817e21', label: "Billing Address", name: "customer_billing_address" })), h("div", { key: 'abd6e1f661bfb2b5ac54460d97283b7a1092ac79', class: "col-12" }, h("form-control-file", { key: '4ee87cf74482c31a297bcd108ddd0ad69f3d7366', label: "Customer Signature", name: "customer_signature" })), h("div", { key: 'f33ec1c7c4791828d456e27ee1dcbc665220821d', class: "col-12" }, h("form-control-file", { key: 'c2bb6a3c58eb20652566d9cb1c524b4390bbab33', label: "Customer Communication", name: "customer_communication" })))));
|
|
17
|
+
}
|
|
18
|
+
}, [0, "justifi-customer-details"]);
|
|
19
|
+
function defineCustomElement() {
|
|
20
|
+
if (typeof customElements === "undefined") {
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
const components = ["justifi-customer-details", "custom-popper", "form-control-error-text", "form-control-file", "form-control-help-text", "form-control-text", "form-control-textarea", "form-control-tooltip"];
|
|
24
|
+
components.forEach(tagName => { switch (tagName) {
|
|
25
|
+
case "justifi-customer-details":
|
|
26
|
+
if (!customElements.get(tagName)) {
|
|
27
|
+
customElements.define(tagName, CustomerDetails);
|
|
28
|
+
}
|
|
29
|
+
break;
|
|
30
|
+
case "custom-popper":
|
|
31
|
+
if (!customElements.get(tagName)) {
|
|
32
|
+
defineCustomElement$7();
|
|
33
|
+
}
|
|
34
|
+
break;
|
|
35
|
+
case "form-control-error-text":
|
|
36
|
+
if (!customElements.get(tagName)) {
|
|
37
|
+
defineCustomElement$6();
|
|
38
|
+
}
|
|
39
|
+
break;
|
|
40
|
+
case "form-control-file":
|
|
41
|
+
if (!customElements.get(tagName)) {
|
|
42
|
+
defineCustomElement$5();
|
|
43
|
+
}
|
|
44
|
+
break;
|
|
45
|
+
case "form-control-help-text":
|
|
46
|
+
if (!customElements.get(tagName)) {
|
|
47
|
+
defineCustomElement$4();
|
|
48
|
+
}
|
|
49
|
+
break;
|
|
50
|
+
case "form-control-text":
|
|
51
|
+
if (!customElements.get(tagName)) {
|
|
52
|
+
defineCustomElement$3();
|
|
53
|
+
}
|
|
54
|
+
break;
|
|
55
|
+
case "form-control-textarea":
|
|
56
|
+
if (!customElements.get(tagName)) {
|
|
57
|
+
defineCustomElement$2();
|
|
58
|
+
}
|
|
59
|
+
break;
|
|
60
|
+
case "form-control-tooltip":
|
|
61
|
+
if (!customElements.get(tagName)) {
|
|
62
|
+
defineCustomElement$1();
|
|
63
|
+
}
|
|
64
|
+
break;
|
|
65
|
+
} });
|
|
66
|
+
}
|
|
67
|
+
defineCustomElement();
|
|
68
|
+
|
|
69
|
+
export { CustomerDetails as C, defineCustomElement as d };
|
package/dist/module/details.js
CHANGED
|
@@ -10,7 +10,7 @@ const Details = /*@__PURE__*/ proxyCustomElement(class Details extends HTMLEleme
|
|
|
10
10
|
this.errorMessage = undefined;
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h(StyledHost, { key: '
|
|
13
|
+
return (h(StyledHost, { key: 'c7c725936e4987ca76781b7edc73f1b67e00f21a', exportParts: 'detail-empty-state, detail-metadata-title, detail-metadata, detail-section, detail-section-title, \n detail-section-item-title, detail-section-item-data, detail-head, detail-title, detail-head-info' }, this.errorMessage ?
|
|
14
14
|
ErrorState(this.errorMessage)
|
|
15
15
|
:
|
|
16
16
|
h("main", { class: "p-2" }, h("slot", { name: "head-info" }), h("slot", { name: 'detail-sections' }))));
|