@justifi/webcomponents 4.21.0 → 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-880f5152.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/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 +1 -1
- 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-54f7dfda.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_5.cjs.entry.js → custom-popper_4.cjs.entry.js} +4 -19
- 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 +11 -11
- 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-help-text_2.cjs.entry.js → form-control-monetary.cjs.entry.js} +1 -16
- 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-a82b2c1c.js → get-payout-csv-12dc9540.js} +3 -2
- 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 +10 -9
- 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 +1678 -13
- package/dist/cjs/justifi-business-details.cjs.entry.js +6 -6
- package/dist/cjs/justifi-business-form.cjs.entry.js +11 -10
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
- package/dist/cjs/justifi-card-form.cjs.entry.js +3 -3
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +3 -8
- package/dist/cjs/justifi-checkout.cjs.entry.js +10 -25
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +119 -0
- package/dist/cjs/justifi-details.cjs.entry.js +2 -2
- 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} +18 -1
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payment-details.cjs.entry.js +8 -7
- package/dist/cjs/justifi-payment-form.cjs.entry.js +10 -9
- package/dist/cjs/justifi-payment-method-selector.cjs.entry.js +3 -2
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +5 -5
- package/dist/cjs/justifi-payments-list.cjs.entry.js +10 -11
- package/dist/cjs/justifi-payout-details.cjs.entry.js +9 -8
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +11 -13
- package/dist/cjs/justifi-refund-form.cjs.entry.js +5 -4
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +3 -3
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +7 -6
- 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-cb1b1015.js → package-41c8f38c.js} +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +10 -9
- package/dist/cjs/{payment.service-6f79aad2.js → payment.service-83da752a.js} +3 -2
- package/dist/cjs/payments-list-core.cjs.entry.js +7 -7
- 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 +4 -3
- package/dist/cjs/payouts-list-core.cjs.entry.js +7 -23
- 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/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-52fb7fa1.js → utils-3d84442d.js} +0 -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/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 -15
- 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 +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +3 -3
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +3 -3
- 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 +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +3 -3
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +2 -2
- package/dist/collection/components/checkout/checkout-core.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 +5 -5
- 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 +2 -2
- 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/{components → ui-components}/form/form-control-date.js +21 -2
- 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/ui-components/form/form-control-radio.js +209 -0
- 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/index.js +1 -0
- package/dist/collection/utils/table.js +16 -0
- package/dist/collection/utils/utils.js +0 -42
- package/dist/docs.json +9587 -6724
- package/dist/esm/{Analytics-3dde5a98.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/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 +1 -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-4d144b72.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_5.entry.js → custom-popper_4.entry.js} +5 -19
- 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 +11 -11
- 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-help-text_2.entry.js → form-control-monetary.entry.js} +3 -17
- 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-d29146ee.js → get-payout-csv-70974763.js} +3 -2
- 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 +10 -9
- 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 +1679 -14
- package/dist/esm/justifi-business-details.entry.js +6 -6
- package/dist/esm/justifi-business-form.entry.js +11 -10
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
- package/dist/esm/justifi-card-form.entry.js +3 -3
- package/dist/esm/justifi-checkout-core.entry.js +2 -7
- package/dist/esm/justifi-checkout.entry.js +8 -23
- package/dist/esm/justifi-checkouts-list.entry.js +115 -0
- package/dist/esm/justifi-details.entry.js +2 -2
- 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} +18 -2
- package/dist/esm/justifi-owner-form_3.entry.js +7 -7
- package/dist/esm/justifi-payment-details.entry.js +8 -7
- package/dist/esm/justifi-payment-form.entry.js +10 -9
- package/dist/esm/justifi-payment-method-selector.entry.js +3 -2
- package/dist/esm/justifi-payment-provisioning.entry.js +5 -5
- package/dist/esm/justifi-payments-list.entry.js +10 -11
- package/dist/esm/justifi-payout-details.entry.js +8 -7
- package/dist/esm/justifi-payouts-list.entry.js +11 -13
- package/dist/esm/justifi-refund-form.entry.js +5 -4
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +3 -3
- package/dist/esm/justifi-season-interruption-insurance.entry.js +7 -6
- 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-4ab64620.js → package-5144835c.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +10 -9
- package/dist/esm/{payment.service-f9c3e9d7.js → payment.service-2f67410b.js} +3 -2
- package/dist/esm/payments-list-core.entry.js +6 -6
- 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 +4 -3
- package/dist/esm/payouts-list-core.entry.js +7 -23
- 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/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-620f2d78.js → utils-3daada24.js} +1 -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/SubAccount.js +102 -0
- package/dist/module/additional-statement.js +63 -0
- package/dist/module/billing-form.js +1 -1
- package/dist/module/business-additional-questions-form-step-core.js +1 -1
- package/dist/module/business-bank-account-form-step.js +3 -2
- package/dist/module/business-core-info-form-step-core.js +1 -1
- package/dist/module/business-core-info.js +1 -1
- package/dist/module/business-document-upload-form-step.js +1 -1
- package/dist/module/business-document-upload-input-group.js +1 -1
- package/dist/module/business-documents-on-file.js +1 -1
- package/dist/module/business-representative-form-inputs.js +1 -1
- package/dist/module/business-representative-form-step-core.js +1 -1
- package/dist/module/business-terms-conditions-form-step.js +3 -2
- package/dist/module/cancellation-policy.js +63 -0
- package/dist/module/checkout-core.js +2 -7
- 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 +5 -3
- package/dist/module/form-control-file2.js +1 -1
- package/dist/module/form-control-monetary2.js +1 -1
- package/dist/module/form-control-number-masked2.js +1 -1
- 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 +1 -1
- package/dist/module/form-control-text2.js +1 -1
- 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/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 +1 -1
- 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 +3 -2
- package/dist/module/justifi-cancellation-policy.d.ts +11 -0
- package/dist/module/justifi-cancellation-policy.js +6 -0
- package/dist/module/justifi-checkout.js +1 -22
- 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 +5 -4
- package/dist/module/justifi-payments-list.js +5 -6
- package/dist/module/justifi-payout-details.js +2 -1
- package/dist/module/justifi-payouts-list.js +5 -7
- 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 +3 -2
- 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 +1 -1
- package/dist/module/legal-address-form.js +1 -1
- package/dist/module/lodash.js +17204 -0
- package/dist/module/owner-form-core2.js +1 -1
- package/dist/module/owner-form-inputs2.js +1 -1
- 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-selector.js +3 -2
- package/dist/module/payment.service.js +2 -1
- package/dist/module/payments-list-core2.js +7 -6
- package/dist/module/payments-list-filters2.js +2 -17204
- package/dist/module/payments-status.js +24 -0
- package/dist/module/payout-details-core2.js +3 -2
- package/dist/module/payouts-list-core2.js +8 -23
- 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/saved-payment-method.js +1 -1
- package/dist/module/season-interruption-insurance-core.js +3 -3
- package/dist/module/sezzle-payment-method.js +1 -1
- package/dist/module/shipping-details.js +79 -0
- 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 +1 -43
- package/dist/types/api/Api.d.ts +1 -1
- package/dist/types/api/Checkout.d.ts +74 -2
- 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 +1 -1
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +1 -1
- package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +1 -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 +1 -1
- package/dist/types/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.d.ts +1 -1
- package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +1 -1
- package/dist/types/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.d.ts +1 -1
- 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 +740 -12
- package/dist/types/{components → ui-components}/form/form-control-date.d.ts +2 -1
- 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/index.d.ts +1 -0
- package/dist/types/utils/table.d.ts +13 -0
- package/dist/types/utils/utils.d.ts +0 -2
- package/dist/webcomponents/p-037e3545.entry.js +1 -0
- package/dist/webcomponents/{p-08d88fd2.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-a3265844.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-1e178dd1.entry.js → p-286a4e72.entry.js} +2 -2
- package/dist/webcomponents/p-2c2b57b3.js +1 -0
- package/dist/webcomponents/{p-61514f78.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-bc9ae56f.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-122c2a11.entry.js → p-69ea7334.entry.js} +1 -1
- 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-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-ca8e126f.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-6d4b585d.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-5df26e65.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-a1d037cb.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-8f447993.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-799ee8c3.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-1eb60948.entry.js → p-eeb70281.entry.js} +1 -1
- package/dist/webcomponents/{p-cd74be05.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-1d29488a.entry.js → p-f7077f93.entry.js} +1 -1
- package/dist/webcomponents/p-fc4de0d2.js +1 -0
- 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 -175
- package/dist/cjs/justifi-payment-method-form.cjs.entry.js +0 -1688
- package/dist/esm/Payout-dfe15b00.js +0 -43
- package/dist/esm/form-control-date_3.entry.js +0 -169
- package/dist/esm/justifi-payment-method-form.entry.js +0 -1684
- package/dist/module/Payout.js +0 -43
- package/dist/webcomponents/p-0c2d91a2.entry.js +0 -1
- package/dist/webcomponents/p-11f01df5.entry.js +0 -1
- package/dist/webcomponents/p-23f95a19.entry.js +0 -1
- package/dist/webcomponents/p-2874d4b2.entry.js +0 -10
- package/dist/webcomponents/p-43dfda70.entry.js +0 -1
- package/dist/webcomponents/p-55182a59.js +0 -1
- package/dist/webcomponents/p-55fe2cf2.entry.js +0 -1
- package/dist/webcomponents/p-5e5e8a85.js +0 -1
- package/dist/webcomponents/p-605614f2.entry.js +0 -1
- package/dist/webcomponents/p-6962044f.entry.js +0 -1
- package/dist/webcomponents/p-6a9e908b.entry.js +0 -1
- package/dist/webcomponents/p-6ba660f2.entry.js +0 -1
- package/dist/webcomponents/p-6e258b5f.entry.js +0 -1
- package/dist/webcomponents/p-770f60f9.entry.js +0 -1
- package/dist/webcomponents/p-7cb3854c.entry.js +0 -1
- package/dist/webcomponents/p-80730b71.entry.js +0 -1
- package/dist/webcomponents/p-8f04747b.entry.js +0 -1
- package/dist/webcomponents/p-9a37eee5.entry.js +0 -1
- package/dist/webcomponents/p-a680c982.entry.js +0 -1
- package/dist/webcomponents/p-a765230f.entry.js +0 -1
- package/dist/webcomponents/p-b7b18954.entry.js +0 -1
- package/dist/webcomponents/p-c241cc62.entry.js +0 -1
- package/dist/webcomponents/p-d0ffb01c.entry.js +0 -1
- package/dist/webcomponents/p-da316a74.entry.js +0 -1
- package/dist/webcomponents/p-db3d1d7d.entry.js +0 -1
- package/dist/webcomponents/p-dee2a3f8.entry.js +0 -1
- package/dist/webcomponents/p-e3fab0e2.js +0 -1
- package/dist/webcomponents/p-e56ade55.js +0 -1
- package/dist/webcomponents/p-e927fd5c.entry.js +0 -1
- package/dist/webcomponents/p-f3e00572.entry.js +0 -1
- package/dist/webcomponents/p-f71a5975.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-helpers/form-control-tooltip/form-control-tooltip.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-helpers/form-control-tooltip/form-control-tooltip.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
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, createEvent, h
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { t as tableExportedParts } from './exported-parts.js';
|
|
3
3
|
import { m as makeGetPayoutCSV, P as PayoutService } from './get-payout-csv.js';
|
|
4
|
+
import './Checkout.js';
|
|
4
5
|
import './Pagination.js';
|
|
5
6
|
import './Payment.js';
|
|
6
|
-
import { P as Payout } from './
|
|
7
|
+
import { P as Payout } from './SubAccount.js';
|
|
7
8
|
import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './ComponentError.js';
|
|
8
9
|
import { g as getErrorMessage, a as getErrorCode } from './utils3.js';
|
|
9
|
-
import { E as ErrorState } from './utils.js';
|
|
10
10
|
import { J as JustifiAnalytics } from './Analytics.js';
|
|
11
11
|
import { c as checkPkgVersion } from './check-pkg-version.js';
|
|
12
|
+
import { S as StyledHost } from './styled-host.js';
|
|
12
13
|
import { d as defineCustomElement$7 } from './custom-popper2.js';
|
|
13
14
|
import { d as defineCustomElement$6 } from './form-control-date2.js';
|
|
14
15
|
import { d as defineCustomElement$5 } from './form-control-error-text2.js';
|
|
@@ -92,10 +93,7 @@ const PayoutsList = /*@__PURE__*/ proxyCustomElement(class PayoutsList extends H
|
|
|
92
93
|
}
|
|
93
94
|
}
|
|
94
95
|
render() {
|
|
95
|
-
|
|
96
|
-
return ErrorState(this.errorMessage);
|
|
97
|
-
}
|
|
98
|
-
return (h(Host, { exportedparts: tableExportedParts }, h("payouts-list-core", { getPayouts: this.getPayouts, getPayoutCSV: this.getPayoutCSV, "onError-event": this.handleOnError })));
|
|
96
|
+
return (h(StyledHost, { key: '8d72aa16705df76ed49a13a59e88a40a75c23488', exportedparts: tableExportedParts }, h("payouts-list-core", { key: '94428c879981bbc036e1d4f6c59c1e1c1146c824', getPayouts: this.getPayouts, getPayoutCSV: this.getPayoutCSV, "onError-event": this.handleOnError })));
|
|
99
97
|
}
|
|
100
98
|
static get watchers() { return {
|
|
101
99
|
"accountId": ["propChanged"],
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface JustifiProductOrService extends Components.JustifiProductOrService, HTMLElement {}
|
|
4
|
+
export const JustifiProductOrService: {
|
|
5
|
+
prototype: JustifiProductOrService;
|
|
6
|
+
new (): JustifiProductOrService;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as create$3, e as create$5, F as FormController } from './form.js';
|
|
3
3
|
import { A as Api } from './Api.js';
|
|
4
|
+
import './Checkout.js';
|
|
4
5
|
import './Pagination.js';
|
|
5
6
|
import './Payment.js';
|
|
6
|
-
import './
|
|
7
|
+
import './SubAccount.js';
|
|
7
8
|
import { c as config } from './config.js';
|
|
8
9
|
import { C as CURRENCY_MASK } from './form-input-masks.js';
|
|
9
10
|
import { S as StyledHost } from './styled-host.js';
|
|
@@ -102,7 +103,7 @@ const RefundForm = /*@__PURE__*/ proxyCustomElement(class RefundForm extends HTM
|
|
|
102
103
|
}
|
|
103
104
|
render() {
|
|
104
105
|
var _a;
|
|
105
|
-
return (h(StyledHost, { key: '
|
|
106
|
+
return (h(StyledHost, { key: '05a417edd28ecdb609c9ca6abaa60004fe782beb' }, h("h1", { key: '05450dad6321a3cb94461d020a64dde7abfcb287' }, "Refund"), this.refundInfoText && (h("div", { key: '4874c1bbbbcb0caac057e7d29eb5d62f998e7f70', class: "d-flex align-items-center flex-row gap-4 border-top border-bottom my-4 p-3", role: "alert" }, h("img", { key: 'cb64bc85188e882e6c863bb2e56411f31f9675d3', src: "/info-icon.svg", alt: "Information", height: "30", width: "30" }), h("p", { key: 'd1497287435d3b87f77bf37d4bd1473cf1ddc4f3', class: "m-0", innerHTML: this.refundInfoText }))), h("form", { key: '4936209e143d8c5d6ef6a32ddc49d63b92711351', onSubmit: e => this.handleSubmit(e), class: "d-grid gap-4" }, h("div", { key: 'fc6e616809550f22b949d1f256b4ddc922e1fab9', class: "form-group" }, h("form-control-monetary", { key: '220c36b30960e85b30999267b7daa933062e4ca0', name: "amount", label: "Refund Amount", defaultValue: ((_a = this.amount) === null || _a === void 0 ? void 0 : _a.toString()) || '', maskOptions: CURRENCY_MASK.DECIMAL, inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.amount })), h("div", { key: 'd40556a67819325134ff1389a8e8018b024ce0da', class: "form-group" }, h("form-control-text", { key: '1c1cb5a345118902830bad6ec852bfb0641a983c', name: "notes", label: "Additional Notes", inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.notes })), this.withButton && (h("div", { key: 'bb167956ce0a4bef63fbdee79681348a963f55be', class: "form-group d-flex flex-row-reverse" }, h("button", { key: 'd6767bf536e4416f4071271cc2028be69686a59e', type: "submit", disabled: !!this.isSubmitting, class: "btn btn-primary ml-auto" }, this.submitButtonText))))));
|
|
106
107
|
}
|
|
107
108
|
static get style() { return JustifiRefundFormStyle0; }
|
|
108
109
|
}, [1, "justifi-refund-form", {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface JustifiRefundPolicy extends Components.JustifiRefundPolicy, HTMLElement {}
|
|
4
|
+
export const JustifiRefundPolicy: {
|
|
5
|
+
prototype: JustifiRefundPolicy;
|
|
6
|
+
new (): JustifiRefundPolicy;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { A as Api } from './Api.js';
|
|
3
|
+
import './Checkout.js';
|
|
3
4
|
import './Pagination.js';
|
|
4
5
|
import './Payment.js';
|
|
5
|
-
import './
|
|
6
|
+
import './SubAccount.js';
|
|
6
7
|
import { c as config } from './config.js';
|
|
7
8
|
import { g as getErrorMessage, a as getErrorCode } from './utils3.js';
|
|
8
9
|
import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './ComponentError.js';
|
|
@@ -129,7 +130,7 @@ const SeasonInterruptionInsurance = /*@__PURE__*/ proxyCustomElement(class Seaso
|
|
|
129
130
|
});
|
|
130
131
|
}
|
|
131
132
|
render() {
|
|
132
|
-
return (h("justifi-season-interruption-insurance-core", { key: '
|
|
133
|
+
return (h("justifi-season-interruption-insurance-core", { key: '205515d248ac43b9de8e7c8f9fec41b93f6e1237', 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 }));
|
|
133
134
|
}
|
|
134
135
|
}, [1, "justifi-season-interruption-insurance", {
|
|
135
136
|
"authToken": [1, "auth-token"],
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface JustifiShippingDetails extends Components.JustifiShippingDetails, HTMLElement {}
|
|
4
|
+
export const JustifiShippingDetails: {
|
|
5
|
+
prototype: JustifiShippingDetails;
|
|
6
|
+
new (): JustifiShippingDetails;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface JustifiTerminalsList extends Components.JustifiTerminalsList, HTMLElement {}
|
|
4
|
+
export const JustifiTerminalsList: {
|
|
5
|
+
prototype: JustifiTerminalsList;
|
|
6
|
+
new (): JustifiTerminalsList;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './ComponentError.js';
|
|
3
|
+
import { J as JustifiAnalytics } from './Analytics.js';
|
|
4
|
+
import { c as checkPkgVersion } from './check-pkg-version.js';
|
|
5
|
+
import { c as config } from './config.js';
|
|
6
|
+
import { A as Api } from './Api.js';
|
|
7
|
+
import './Checkout.js';
|
|
8
|
+
import './Pagination.js';
|
|
9
|
+
import './Payment.js';
|
|
10
|
+
import { T as Terminal } from './SubAccount.js';
|
|
11
|
+
import { g as getErrorMessage, a as getErrorCode } from './utils3.js';
|
|
12
|
+
import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts.js';
|
|
13
|
+
import { S as StyledHost } from './styled-host.js';
|
|
14
|
+
import { t as tableExportedParts } from './exported-parts.js';
|
|
15
|
+
import { d as defineCustomElement$a } from './custom-popper2.js';
|
|
16
|
+
import { d as defineCustomElement$9 } from './form-control-error-text2.js';
|
|
17
|
+
import { d as defineCustomElement$8 } from './form-control-select2.js';
|
|
18
|
+
import { d as defineCustomElement$7 } from './form-control-text2.js';
|
|
19
|
+
import { d as defineCustomElement$6 } from './form-control-tooltip2.js';
|
|
20
|
+
import { d as defineCustomElement$5 } from './pagination-menu2.js';
|
|
21
|
+
import { d as defineCustomElement$4 } from './table-filters-menu2.js';
|
|
22
|
+
import { d as defineCustomElement$3 } from './terminals-list-core2.js';
|
|
23
|
+
import { d as defineCustomElement$2 } from './terminals-list-filters2.js';
|
|
24
|
+
|
|
25
|
+
class TerminalService {
|
|
26
|
+
async fetchTerminals(accountId, authToken, params, apiOrigin) {
|
|
27
|
+
if (!apiOrigin) {
|
|
28
|
+
apiOrigin = config.proxyApiOrigin;
|
|
29
|
+
}
|
|
30
|
+
const headers = { Account: accountId };
|
|
31
|
+
const api = Api({ authToken, apiOrigin: apiOrigin });
|
|
32
|
+
const endpoint = 'terminals';
|
|
33
|
+
return api.get(endpoint, params, null, headers);
|
|
34
|
+
}
|
|
35
|
+
async fetchTerminal(terminalId, authToken, apiOrigin) {
|
|
36
|
+
if (!apiOrigin) {
|
|
37
|
+
apiOrigin = config.proxyApiOrigin;
|
|
38
|
+
}
|
|
39
|
+
const endpoint = `terminals/${terminalId}`;
|
|
40
|
+
return Api({ authToken, apiOrigin: apiOrigin }).get(endpoint);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
const makeGetTerminals = ({ id, authToken, service, apiOrigin }) => async ({ params, onSuccess, onError }) => {
|
|
45
|
+
var _a, _b;
|
|
46
|
+
try {
|
|
47
|
+
const response = await service.fetchTerminals(id, authToken, params, apiOrigin);
|
|
48
|
+
if (!response.error) {
|
|
49
|
+
const pagingInfo = Object.assign({}, response.page_info);
|
|
50
|
+
const terminals = ((_a = response.data) === null || _a === void 0 ? void 0 : _a.map((dataItem) => new Terminal(dataItem))) || [];
|
|
51
|
+
onSuccess({ terminals, pagingInfo });
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
const responseError = getErrorMessage(response.error);
|
|
55
|
+
const code = getErrorCode((_b = response.error) === null || _b === void 0 ? void 0 : _b.code);
|
|
56
|
+
return onError({
|
|
57
|
+
error: responseError,
|
|
58
|
+
code,
|
|
59
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
catch (error) {
|
|
64
|
+
const code = getErrorCode(error === null || error === void 0 ? void 0 : error.code);
|
|
65
|
+
return onError({
|
|
66
|
+
error: error.message || error,
|
|
67
|
+
code,
|
|
68
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
const TerminalsList = /*@__PURE__*/ proxyCustomElement(class TerminalsList extends HTMLElement {
|
|
74
|
+
constructor() {
|
|
75
|
+
super();
|
|
76
|
+
this.__registerHost();
|
|
77
|
+
this.__attachShadow();
|
|
78
|
+
this.errorEvent = createEvent(this, "error-event", 7);
|
|
79
|
+
this.handleErrorEvent = (event) => {
|
|
80
|
+
this.errorMessage = event.detail.message;
|
|
81
|
+
this.errorEvent.emit(event.detail);
|
|
82
|
+
};
|
|
83
|
+
this.getTerminals = undefined;
|
|
84
|
+
this.getSubAccounts = undefined;
|
|
85
|
+
this.errorMessage = null;
|
|
86
|
+
this.accountId = undefined;
|
|
87
|
+
this.authToken = undefined;
|
|
88
|
+
this.apiOrigin = config.proxyApiOrigin;
|
|
89
|
+
this.columns = undefined;
|
|
90
|
+
}
|
|
91
|
+
componentWillLoad() {
|
|
92
|
+
checkPkgVersion();
|
|
93
|
+
this.analytics = new JustifiAnalytics(this);
|
|
94
|
+
this.initializeGetData();
|
|
95
|
+
}
|
|
96
|
+
disconnectedCallback() {
|
|
97
|
+
this.analytics.cleanup();
|
|
98
|
+
}
|
|
99
|
+
propChanged() {
|
|
100
|
+
this.initializeGetData();
|
|
101
|
+
}
|
|
102
|
+
initializeGetData() {
|
|
103
|
+
this.initializeGetTerminals();
|
|
104
|
+
this.initializeGetSubAccounts();
|
|
105
|
+
}
|
|
106
|
+
initializeGetTerminals() {
|
|
107
|
+
if (this.accountId && this.authToken) {
|
|
108
|
+
this.getTerminals = makeGetTerminals({
|
|
109
|
+
id: this.accountId,
|
|
110
|
+
authToken: this.authToken,
|
|
111
|
+
service: new TerminalService(),
|
|
112
|
+
apiOrigin: this.apiOrigin
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
else {
|
|
116
|
+
this.errorMessage = 'Account ID and Auth Token are required';
|
|
117
|
+
this.errorEvent.emit({
|
|
118
|
+
errorCode: ComponentErrorCodes.MISSING_PROPS,
|
|
119
|
+
message: this.errorMessage,
|
|
120
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
initializeGetSubAccounts() {
|
|
125
|
+
if (this.accountId && this.authToken) {
|
|
126
|
+
this.getSubAccounts = makeGetSubAccounts({
|
|
127
|
+
accountId: this.accountId,
|
|
128
|
+
authToken: this.authToken,
|
|
129
|
+
service: new SubAccountService(),
|
|
130
|
+
apiOrigin: this.apiOrigin
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
render() {
|
|
135
|
+
return (h(StyledHost, { key: 'b150133d9e787d0a4f32d92d9fb26df50391e632', exportparts: tableExportedParts }, h("terminals-list-core", { key: '59302d93d0a308c34aacabf7e5a006099eaff2d6', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
136
|
+
}
|
|
137
|
+
static get watchers() { return {
|
|
138
|
+
"accountId": ["propChanged"],
|
|
139
|
+
"authToken": ["propChanged"]
|
|
140
|
+
}; }
|
|
141
|
+
}, [1, "justifi-terminals-list", {
|
|
142
|
+
"accountId": [1, "account-id"],
|
|
143
|
+
"authToken": [1, "auth-token"],
|
|
144
|
+
"apiOrigin": [1, "api-origin"],
|
|
145
|
+
"columns": [1],
|
|
146
|
+
"getTerminals": [32],
|
|
147
|
+
"getSubAccounts": [32],
|
|
148
|
+
"errorMessage": [32]
|
|
149
|
+
}, undefined, {
|
|
150
|
+
"accountId": ["propChanged"],
|
|
151
|
+
"authToken": ["propChanged"]
|
|
152
|
+
}]);
|
|
153
|
+
function defineCustomElement$1() {
|
|
154
|
+
if (typeof customElements === "undefined") {
|
|
155
|
+
return;
|
|
156
|
+
}
|
|
157
|
+
const components = ["justifi-terminals-list", "custom-popper", "form-control-error-text", "form-control-select", "form-control-text", "form-control-tooltip", "pagination-menu", "table-filters-menu", "terminals-list-core", "terminals-list-filters"];
|
|
158
|
+
components.forEach(tagName => { switch (tagName) {
|
|
159
|
+
case "justifi-terminals-list":
|
|
160
|
+
if (!customElements.get(tagName)) {
|
|
161
|
+
customElements.define(tagName, TerminalsList);
|
|
162
|
+
}
|
|
163
|
+
break;
|
|
164
|
+
case "custom-popper":
|
|
165
|
+
if (!customElements.get(tagName)) {
|
|
166
|
+
defineCustomElement$a();
|
|
167
|
+
}
|
|
168
|
+
break;
|
|
169
|
+
case "form-control-error-text":
|
|
170
|
+
if (!customElements.get(tagName)) {
|
|
171
|
+
defineCustomElement$9();
|
|
172
|
+
}
|
|
173
|
+
break;
|
|
174
|
+
case "form-control-select":
|
|
175
|
+
if (!customElements.get(tagName)) {
|
|
176
|
+
defineCustomElement$8();
|
|
177
|
+
}
|
|
178
|
+
break;
|
|
179
|
+
case "form-control-text":
|
|
180
|
+
if (!customElements.get(tagName)) {
|
|
181
|
+
defineCustomElement$7();
|
|
182
|
+
}
|
|
183
|
+
break;
|
|
184
|
+
case "form-control-tooltip":
|
|
185
|
+
if (!customElements.get(tagName)) {
|
|
186
|
+
defineCustomElement$6();
|
|
187
|
+
}
|
|
188
|
+
break;
|
|
189
|
+
case "pagination-menu":
|
|
190
|
+
if (!customElements.get(tagName)) {
|
|
191
|
+
defineCustomElement$5();
|
|
192
|
+
}
|
|
193
|
+
break;
|
|
194
|
+
case "table-filters-menu":
|
|
195
|
+
if (!customElements.get(tagName)) {
|
|
196
|
+
defineCustomElement$4();
|
|
197
|
+
}
|
|
198
|
+
break;
|
|
199
|
+
case "terminals-list-core":
|
|
200
|
+
if (!customElements.get(tagName)) {
|
|
201
|
+
defineCustomElement$3();
|
|
202
|
+
}
|
|
203
|
+
break;
|
|
204
|
+
case "terminals-list-filters":
|
|
205
|
+
if (!customElements.get(tagName)) {
|
|
206
|
+
defineCustomElement$2();
|
|
207
|
+
}
|
|
208
|
+
break;
|
|
209
|
+
} });
|
|
210
|
+
}
|
|
211
|
+
defineCustomElement$1();
|
|
212
|
+
|
|
213
|
+
const JustifiTerminalsList = TerminalsList;
|
|
214
|
+
const defineCustomElement = defineCustomElement$1;
|
|
215
|
+
|
|
216
|
+
export { JustifiTerminalsList, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface JustifiTokenizePaymentMethod extends Components.JustifiTokenizePaymentMethod, HTMLElement {}
|
|
4
|
+
export const JustifiTokenizePaymentMethod: {
|
|
5
|
+
prototype: JustifiTokenizePaymentMethod;
|
|
6
|
+
new (): JustifiTokenizePaymentMethod;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { B as Button } from './button.js';
|
|
3
|
+
import { S as StyledHost } from './styled-host.js';
|
|
4
|
+
import { a as ComponentErrorSeverity } from './ComponentError.js';
|
|
5
|
+
import { c as checkPkgVersion } from './check-pkg-version.js';
|
|
6
|
+
import { J as JustifiAnalytics } from './Analytics.js';
|
|
7
|
+
import { d as defineCustomElement$d } from './custom-popper2.js';
|
|
8
|
+
import { d as defineCustomElement$c } from './form-control-error-text2.js';
|
|
9
|
+
import { d as defineCustomElement$b } from './form-control-select2.js';
|
|
10
|
+
import { d as defineCustomElement$a } from './form-control-text2.js';
|
|
11
|
+
import { d as defineCustomElement$9 } from './form-control-tooltip2.js';
|
|
12
|
+
import { d as defineCustomElement$8 } from './billing-form.js';
|
|
13
|
+
import { d as defineCustomElement$7 } from './new-payment-method.js';
|
|
14
|
+
import { d as defineCustomElement$6 } from './payment-method-form.js';
|
|
15
|
+
import { d as defineCustomElement$5 } from './payment-method-options.js';
|
|
16
|
+
import { d as defineCustomElement$4 } from './save-new-payment-method.js';
|
|
17
|
+
import { d as defineCustomElement$3 } from './saved-payment-method.js';
|
|
18
|
+
import { d as defineCustomElement$2 } from './sezzle-payment-method.js';
|
|
19
|
+
|
|
20
|
+
const tokenizePaymentMethodCss = ":host{display:block}justifi-payment-method-form{display:block;margin-left:calc(var(--jfi-layout-padding) * -1);margin-right:calc(var(--jfi-layout-padding) * -1)}";
|
|
21
|
+
const JustifiTokenizePaymentMethodStyle0 = tokenizePaymentMethodCss;
|
|
22
|
+
|
|
23
|
+
const TokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class TokenizePaymentMethod extends HTMLElement {
|
|
24
|
+
constructor() {
|
|
25
|
+
super();
|
|
26
|
+
this.__registerHost();
|
|
27
|
+
this.__attachShadow();
|
|
28
|
+
this.submitted = createEvent(this, "submitted", 7);
|
|
29
|
+
this.errorEvent = createEvent(this, "error-event", 7);
|
|
30
|
+
this.authToken = undefined;
|
|
31
|
+
this.accountId = undefined;
|
|
32
|
+
this.paymentMethodGroupId = undefined;
|
|
33
|
+
this.isLoading = true;
|
|
34
|
+
this.submitButtonText = undefined;
|
|
35
|
+
this.disableCreditCard = undefined;
|
|
36
|
+
this.disableBankAccount = undefined;
|
|
37
|
+
}
|
|
38
|
+
componentWillLoad() {
|
|
39
|
+
checkPkgVersion();
|
|
40
|
+
this.analytics = new JustifiAnalytics(this);
|
|
41
|
+
this.isLoading = false;
|
|
42
|
+
}
|
|
43
|
+
async tokenizePaymentMethod(event) {
|
|
44
|
+
event && event.preventDefault();
|
|
45
|
+
const tokenizeResponse = await this.paymentMethodOptionsRef.resolvePaymentMethod({ isValid: true });
|
|
46
|
+
if (tokenizeResponse.error) {
|
|
47
|
+
this.errorEvent.emit({
|
|
48
|
+
errorCode: tokenizeResponse.error.code,
|
|
49
|
+
message: tokenizeResponse.error.message,
|
|
50
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
else if (tokenizeResponse.token) {
|
|
54
|
+
this.submitted.emit({ token: tokenizeResponse.token });
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
async fillBillingForm(fields) {
|
|
58
|
+
this.paymentMethodOptionsRef.fillBillingForm(fields);
|
|
59
|
+
}
|
|
60
|
+
render() {
|
|
61
|
+
return (h(StyledHost, { key: 'd6b961d57ad40a36a55db9f4a338f2e4659737b8' }, h("form", { key: '478202bc0e742f132df696e317a5d87b583a65c3' }, h("fieldset", { key: '565295af010636d9746c5a3466ce6b3bf4fe5ba2' }, h("div", { key: '95736fa3b125f6c389e80505842749d40eb50318', class: "row gy-3" }, h("div", { key: '086f7078ab5301c59ea3a1003162ebf82907b594', class: "col-12" }, h("justifi-payment-method-options", { key: '13d99aee101cd0dc9cdf52abf3e510a8ee490e82', ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": false, paymentMethodGroupId: this.paymentMethodGroupId, "show-saved-payment-methods": false, authToken: this.authToken, "account-id": this.accountId })), h("div", { key: '348afe48dbcb996b268bf9e6416f25540f9b2930', class: "col-12" }, h(Button, { key: '00baa2bd2b99a9a8329b9abaace0afac36ae094a', variant: "primary", type: "submit", onClick: event => this.tokenizePaymentMethod(event), isLoading: this.isLoading, "data-testid": "submit-button" }, this.submitButtonText || 'Submit')))))));
|
|
62
|
+
}
|
|
63
|
+
static get style() { return JustifiTokenizePaymentMethodStyle0; }
|
|
64
|
+
}, [1, "justifi-tokenize-payment-method", {
|
|
65
|
+
"authToken": [1, "auth-token"],
|
|
66
|
+
"accountId": [1, "account-id"],
|
|
67
|
+
"paymentMethodGroupId": [1, "payment-method-group-id"],
|
|
68
|
+
"isLoading": [4, "is-loading"],
|
|
69
|
+
"submitButtonText": [1, "submit-button-text"],
|
|
70
|
+
"disableCreditCard": [4, "disable-credit-card"],
|
|
71
|
+
"disableBankAccount": [4, "disable-bank-account"],
|
|
72
|
+
"tokenizePaymentMethod": [64],
|
|
73
|
+
"fillBillingForm": [64]
|
|
74
|
+
}]);
|
|
75
|
+
function defineCustomElement$1() {
|
|
76
|
+
if (typeof customElements === "undefined") {
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
const components = ["justifi-tokenize-payment-method", "custom-popper", "form-control-error-text", "form-control-select", "form-control-text", "form-control-tooltip", "justifi-billing-form", "justifi-new-payment-method", "justifi-payment-method-form", "justifi-payment-method-options", "justifi-save-new-payment-method", "justifi-saved-payment-method", "justifi-sezzle-payment-method"];
|
|
80
|
+
components.forEach(tagName => { switch (tagName) {
|
|
81
|
+
case "justifi-tokenize-payment-method":
|
|
82
|
+
if (!customElements.get(tagName)) {
|
|
83
|
+
customElements.define(tagName, TokenizePaymentMethod);
|
|
84
|
+
}
|
|
85
|
+
break;
|
|
86
|
+
case "custom-popper":
|
|
87
|
+
if (!customElements.get(tagName)) {
|
|
88
|
+
defineCustomElement$d();
|
|
89
|
+
}
|
|
90
|
+
break;
|
|
91
|
+
case "form-control-error-text":
|
|
92
|
+
if (!customElements.get(tagName)) {
|
|
93
|
+
defineCustomElement$c();
|
|
94
|
+
}
|
|
95
|
+
break;
|
|
96
|
+
case "form-control-select":
|
|
97
|
+
if (!customElements.get(tagName)) {
|
|
98
|
+
defineCustomElement$b();
|
|
99
|
+
}
|
|
100
|
+
break;
|
|
101
|
+
case "form-control-text":
|
|
102
|
+
if (!customElements.get(tagName)) {
|
|
103
|
+
defineCustomElement$a();
|
|
104
|
+
}
|
|
105
|
+
break;
|
|
106
|
+
case "form-control-tooltip":
|
|
107
|
+
if (!customElements.get(tagName)) {
|
|
108
|
+
defineCustomElement$9();
|
|
109
|
+
}
|
|
110
|
+
break;
|
|
111
|
+
case "justifi-billing-form":
|
|
112
|
+
if (!customElements.get(tagName)) {
|
|
113
|
+
defineCustomElement$8();
|
|
114
|
+
}
|
|
115
|
+
break;
|
|
116
|
+
case "justifi-new-payment-method":
|
|
117
|
+
if (!customElements.get(tagName)) {
|
|
118
|
+
defineCustomElement$7();
|
|
119
|
+
}
|
|
120
|
+
break;
|
|
121
|
+
case "justifi-payment-method-form":
|
|
122
|
+
if (!customElements.get(tagName)) {
|
|
123
|
+
defineCustomElement$6();
|
|
124
|
+
}
|
|
125
|
+
break;
|
|
126
|
+
case "justifi-payment-method-options":
|
|
127
|
+
if (!customElements.get(tagName)) {
|
|
128
|
+
defineCustomElement$5();
|
|
129
|
+
}
|
|
130
|
+
break;
|
|
131
|
+
case "justifi-save-new-payment-method":
|
|
132
|
+
if (!customElements.get(tagName)) {
|
|
133
|
+
defineCustomElement$4();
|
|
134
|
+
}
|
|
135
|
+
break;
|
|
136
|
+
case "justifi-saved-payment-method":
|
|
137
|
+
if (!customElements.get(tagName)) {
|
|
138
|
+
defineCustomElement$3();
|
|
139
|
+
}
|
|
140
|
+
break;
|
|
141
|
+
case "justifi-sezzle-payment-method":
|
|
142
|
+
if (!customElements.get(tagName)) {
|
|
143
|
+
defineCustomElement$2();
|
|
144
|
+
}
|
|
145
|
+
break;
|
|
146
|
+
} });
|
|
147
|
+
}
|
|
148
|
+
defineCustomElement$1();
|
|
149
|
+
|
|
150
|
+
const JustifiTokenizePaymentMethod = TokenizePaymentMethod;
|
|
151
|
+
const defineCustomElement = defineCustomElement$1;
|
|
152
|
+
|
|
153
|
+
export { JustifiTokenizePaymentMethod, defineCustomElement };
|
|
@@ -90,7 +90,7 @@ const LegalAddressFormStepCore = /*@__PURE__*/ proxyCustomElement(class LegalAdd
|
|
|
90
90
|
render() {
|
|
91
91
|
var _a, _b, _c, _d, _e, _f;
|
|
92
92
|
const legalAddressDefaultValue = this.formController.getInitialValues();
|
|
93
|
-
return (h("form", { key: '
|
|
93
|
+
return (h("form", { key: 'cc749f565087adf5a0806a179ebc4682783763bd' }, h("fieldset", { key: '98fecaf00779da20c4f023dd4081be6f616e59ae' }, h("div", { key: '854d921b4b140738cb2cf2f48b51a207eb58c329', class: "d-flex align-items-center gap-2" }, h("legend", { key: 'ae741c143648c14145eac2066fa40799726682e5', class: "mb-0" }, "Legal Address of your Business"), h("form-control-tooltip", { key: 'd30c4a70183f7afc9a809d399b775c5610ef952c', helpText: "No PO Boxes." })), h("hr", { key: '78f7c51df66d265ff1a9f62b38aedfba014ed7cb', class: "mt-2" }), h("div", { key: 'b32031b925e908dc4a9459f0e082312f72fc64f9', class: "row gy-3" }, h("div", { key: '1564426893f46dc7ace7192ce264a10d879bc5c2', class: "col-12" }, h("form-control-text", { key: '9c70add04a610ce6280f7047ad56d260bb0adcf1', name: "line1", label: "Legal Address", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line1, errorText: (_a = this.errors) === null || _a === void 0 ? void 0 : _a.line1 })), h("div", { key: 'bba886684830ab3dd7f3470e13bcf8ce970f357f', class: "col-12" }, h("form-control-text", { key: '43c507918eb72b586c43b4839c40499196c41625', name: "line2", label: "Address Line 2 (optional)", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line2, errorText: (_b = this.errors) === null || _b === void 0 ? void 0 : _b.line2 })), h("div", { key: 'e9ff6df356c8c4f1ddef5318936d39c4b92a58e9', class: "col-12" }, h("form-control-text", { key: 'ff17e63977ba52fea319f1dfb2936b0836fa1f5f', name: "city", label: "City", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.city, errorText: (_c = this.errors) === null || _c === void 0 ? void 0 : _c.city })), h("div", { key: 'd0da7fbd59236105cb1f7725eb4fddc0fe0e028b', class: "col-12" }, h("form-control-select", { key: '666abe057f3a06705b42e8bfb3aae4e15b50f8dc', name: "state", label: "State", options: StateOptions, inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.state, errorText: (_d = this.errors) === null || _d === void 0 ? void 0 : _d.state })), h("div", { key: 'c9c2ea66adc0e15f07a9070ca46f685042b41042', class: "col-12" }, h("form-control-text", { key: '614c03164e755b945610b91f8ec7757980956261', name: "postal_code", label: "Postal Code", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.postal_code, errorText: (_e = this.errors) === null || _e === void 0 ? void 0 : _e.postal_code, maxLength: 5, keyDownHandler: numberOnlyHandler })), h("div", { key: 'cfab73c10bf56bf001a246f0ad8c56fd8c36fbeb', class: "col-12" }, h("form-control-select", { key: 'd42b86c2d2de13504f2934fa63a3e83f998134ac', name: "country", label: "Country", options: [{ label: "United States", value: "USA" }], inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.country, errorText: (_f = this.errors) === null || _f === void 0 ? void 0 : _f.country,
|
|
94
94
|
// just for now so we skip handling country specificities
|
|
95
95
|
disabled: true }))))));
|
|
96
96
|
}
|
|
@@ -26,7 +26,7 @@ const LegalAddressForm = /*@__PURE__*/ proxyCustomElement(class LegalAddressForm
|
|
|
26
26
|
render() {
|
|
27
27
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
28
28
|
const legalAddressDefaultValue = this.formController.getInitialValues().legal_address;
|
|
29
|
-
return (h(Host, { key: '
|
|
29
|
+
return (h(Host, { key: 'c882f02585a8b78ddd35e0d28a71252324631634', exportparts: "label,input,input-invalid" }, h("fieldset", { key: '7b41893d22bc032020060200e63f80707385585c' }, h("legend", { key: 'ddd67063e34b95920080bd649c0e3cfd1f4f1c0b' }, "Business Legal Address"), h("hr", { key: '7a74e634115497c445437543120bc8d9ff2d16ef' }), h("div", { key: 'acd00ea38decc4f4605ba058e2580626a86397a4', class: "row gy-3" }, h("div", { key: 'ca5a109b181dceab7d71bf3b7aa4cbaadc70ad6f', class: "col-12" }, h("form-control-text", { key: '67271661212a45157e37fe136a4a778552a9bfc9', name: "line1", label: "Legal Address", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line1, errorText: (_b = (_a = this.errors) === null || _a === void 0 ? void 0 : _a.legal_address) === null || _b === void 0 ? void 0 : _b.line1 })), h("div", { key: '1d2ed08d41694bf530c92c1cd6f7092c46f93b40', class: "col-12" }, h("form-control-text", { key: '66dcae505b16fe4a5cb43e541f197d7de45f374e', name: "line2", label: "Address Line 2", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line2, errorText: (_d = (_c = this.errors) === null || _c === void 0 ? void 0 : _c.legal_address) === null || _d === void 0 ? void 0 : _d.line2 })), h("div", { key: 'ad5bd6ecb8fd5afec958d44fe6fb265b8cfac358', class: "col-12" }, h("form-control-text", { key: '33053662779ae34f6117fec9d2c8f2b3ae57ab53', name: "city", label: "City", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.city, errorText: (_f = (_e = this.errors) === null || _e === void 0 ? void 0 : _e.legal_address) === null || _f === void 0 ? void 0 : _f.city })), h("div", { key: 'fa19d830d677b2e183dff7ee8532c23e77d2d162', class: "col-12" }, h("form-control-select", { key: '481324e4af2b4af52cd9955331b402a30ca0bc45', name: "state", label: "State", options: StateOptions, inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.state, errorText: (_h = (_g = this.errors) === null || _g === void 0 ? void 0 : _g.legal_address) === null || _h === void 0 ? void 0 : _h.state })), h("div", { key: '76642ac99c59d4a4a75b2d8b03cffe807d96d62b', class: "col-12" }, h("form-control-text", { key: '0d46bb841e259ff86da5aff4e1e8ac9b000db331', name: "postal_code", label: "Postal Code", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.postal_code, errorText: (_k = (_j = this.errors) === null || _j === void 0 ? void 0 : _j.legal_address) === null || _k === void 0 ? void 0 : _k.postal_code, maxLength: 5, keyDownHandler: numberOnlyHandler })), h("div", { key: '947782f5fa17fa0df3e431fe587d1efefbecdc27', class: "col-12" }, h("form-control-select", { key: 'd8848595610231ad5bf86f21eaad4bbb45617b01', name: "country", label: "Country", options: [{ label: 'United States', value: 'USA' }], inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.country, errorText: (_m = (_l = this.errors) === null || _l === void 0 ? void 0 : _l.legal_address) === null || _m === void 0 ? void 0 : _m.country,
|
|
30
30
|
// just for now so we skip handling country specificities
|
|
31
31
|
disabled: true }))))));
|
|
32
32
|
}
|