@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,43 +0,0 @@
|
|
|
1
|
-
var PayoutStatuses;
|
|
2
|
-
(function (PayoutStatuses) {
|
|
3
|
-
PayoutStatuses["paid"] = "paid";
|
|
4
|
-
PayoutStatuses["failed"] = "failed";
|
|
5
|
-
PayoutStatuses["forwarded"] = "forwarded";
|
|
6
|
-
PayoutStatuses["scheduled"] = "scheduled";
|
|
7
|
-
PayoutStatuses["in_transit"] = "in_transit";
|
|
8
|
-
PayoutStatuses["canceled"] = "canceled";
|
|
9
|
-
})(PayoutStatuses || (PayoutStatuses = {}));
|
|
10
|
-
var PayoutStatusesSafeNames;
|
|
11
|
-
(function (PayoutStatusesSafeNames) {
|
|
12
|
-
PayoutStatusesSafeNames["paid"] = "Paid";
|
|
13
|
-
PayoutStatusesSafeNames["failed"] = "Failed";
|
|
14
|
-
PayoutStatusesSafeNames["forwarded"] = "Forwarded";
|
|
15
|
-
PayoutStatusesSafeNames["scheduled"] = "Scheduled";
|
|
16
|
-
PayoutStatusesSafeNames["in_transit"] = "In Transit";
|
|
17
|
-
PayoutStatusesSafeNames["canceled"] = "Canceled";
|
|
18
|
-
})(PayoutStatusesSafeNames || (PayoutStatusesSafeNames = {}));
|
|
19
|
-
class Payout {
|
|
20
|
-
constructor(payout) {
|
|
21
|
-
this.id = payout.id;
|
|
22
|
-
this.account_id = payout.account_id;
|
|
23
|
-
this.amount = payout.amount;
|
|
24
|
-
this.bank_account = payout.bank_account;
|
|
25
|
-
this.currency = payout.currency;
|
|
26
|
-
this.delivery_method = payout.delivery_method || 'standard';
|
|
27
|
-
this.description = payout.description;
|
|
28
|
-
this.deposits_at = payout.deposits_at;
|
|
29
|
-
this.fees_total = payout.fees_total;
|
|
30
|
-
this.refunds_count = payout.refunds_count;
|
|
31
|
-
this.refunds_total = payout.refunds_total;
|
|
32
|
-
this.payments_count = payout.payments_count;
|
|
33
|
-
this.payments_total = payout.payments_total;
|
|
34
|
-
this.payout_type = payout.payout_type;
|
|
35
|
-
this.other_total = payout.other_total;
|
|
36
|
-
this.status = payout.status;
|
|
37
|
-
this.metadata = payout.metadata;
|
|
38
|
-
this.created_at = payout.created_at;
|
|
39
|
-
this.updated_at = payout.updated_at;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export { Payout as P, PayoutStatuses as a, PayoutStatusesSafeNames as b };
|
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-57431c24.js';
|
|
2
|
-
import { I as IMask } from './index-d9a73ce3.js';
|
|
3
|
-
import { S as StateOptions } from './state-options-a356fb11.js';
|
|
4
|
-
import { n as numberOnlyHandler } from './utils-3bb6347a.js';
|
|
5
|
-
|
|
6
|
-
const DateInput = class {
|
|
7
|
-
constructor(hostRef) {
|
|
8
|
-
registerInstance(this, hostRef);
|
|
9
|
-
this.formControlInput = createEvent(this, "formControlInput", 7);
|
|
10
|
-
this.formControlBlur = createEvent(this, "formControlBlur", 7);
|
|
11
|
-
this.handleFormControlInput = (event) => {
|
|
12
|
-
const target = event.target;
|
|
13
|
-
const localValue = target.value;
|
|
14
|
-
if (this.filterTimeZone) {
|
|
15
|
-
const utcDate = this.convertToUTC(localValue);
|
|
16
|
-
this.inputHandler(this.name, utcDate);
|
|
17
|
-
this.formControlInput.emit({ name: this.name, value: utcDate });
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
this.inputHandler(this.name, localValue);
|
|
21
|
-
this.formControlInput.emit({ name: this.name, value: localValue });
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
this.name = undefined;
|
|
25
|
-
this.label = undefined;
|
|
26
|
-
this.inputHandler = undefined;
|
|
27
|
-
this.defaultValue = undefined;
|
|
28
|
-
this.helpText = undefined;
|
|
29
|
-
this.errorText = undefined;
|
|
30
|
-
this.disabled = undefined;
|
|
31
|
-
this.filterTimeZone = false;
|
|
32
|
-
this.showTime = undefined;
|
|
33
|
-
}
|
|
34
|
-
handleDefaultValueChange(newValue) {
|
|
35
|
-
if (this.filterTimeZone) {
|
|
36
|
-
this.updateInput(this.convertToLocal(newValue));
|
|
37
|
-
}
|
|
38
|
-
else {
|
|
39
|
-
this.updateInput(newValue);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
get maxDate() {
|
|
43
|
-
if (!this.showTime) {
|
|
44
|
-
return new Date().toISOString().split('T')[0];
|
|
45
|
-
}
|
|
46
|
-
else {
|
|
47
|
-
return new Date().toISOString().slice(0, 16);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
componentDidLoad() {
|
|
51
|
-
if (this.filterTimeZone) {
|
|
52
|
-
this.updateInput(this.convertToLocal(this.defaultValue));
|
|
53
|
-
}
|
|
54
|
-
else {
|
|
55
|
-
this.updateInput(this.defaultValue);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
updateInput(value) {
|
|
59
|
-
this.dateInput.value = value;
|
|
60
|
-
}
|
|
61
|
-
convertToUTC(value) {
|
|
62
|
-
const dateObj = new Date(value);
|
|
63
|
-
return new Date(dateObj.toUTCString()).toISOString();
|
|
64
|
-
}
|
|
65
|
-
convertToLocal(value) {
|
|
66
|
-
if (!value)
|
|
67
|
-
return value;
|
|
68
|
-
const date = new Date(value);
|
|
69
|
-
// Adjust the date to the local timezone
|
|
70
|
-
const localDate = new Date(date.getTime() - date.getTimezoneOffset() * 60000);
|
|
71
|
-
return this.showTime ? localDate.toISOString().slice(0, 16) : localDate.toISOString().split('T')[0];
|
|
72
|
-
}
|
|
73
|
-
render() {
|
|
74
|
-
return (h(Host, { key: '2ee850cab24ab7d32cbd638299f59827b5b7e117', exportparts: "label,input,input-invalid" }, h("div", { key: 'cc898cb56cb32f86e9a9f2a8fb626c38394cf36f', class: "form-group d-flex flex-column" }, h("div", { key: 'de4f8f4da4d650eeced126625ddcad480714dc50', class: "d-flex gap-2" }, h("label", { key: '99a74827cb24033d33ce5e9b978c4ec7161590f4', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'c9b2278afb165b5fc37dea2546f41912edb21567', helpText: this.helpText })), h("input", { key: 'af22c6198cb66961a3b4acf8486fdf034d65108c', type: this.showTime ? 'datetime-local' : 'date', ref: el => (this.dateInput = el), id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input ${this.errorText && 'input-invalid'}`, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h("form-control-error-text", { key: 'cdb69d99d1736c8ba976170bb2baf28246939cfd', errorText: this.errorText, name: this.name }))));
|
|
75
|
-
}
|
|
76
|
-
static get watchers() { return {
|
|
77
|
-
"defaultValue": ["handleDefaultValueChange"]
|
|
78
|
-
}; }
|
|
79
|
-
};
|
|
80
|
-
|
|
81
|
-
const NumberInputMasked = class {
|
|
82
|
-
constructor(hostRef) {
|
|
83
|
-
registerInstance(this, hostRef);
|
|
84
|
-
this.formControlInput = createEvent(this, "formControlInput", 7);
|
|
85
|
-
this.formControlBlur = createEvent(this, "formControlBlur", 7);
|
|
86
|
-
this.imask = null;
|
|
87
|
-
this.initializeIMask = () => {
|
|
88
|
-
if (!this.textInput)
|
|
89
|
-
return;
|
|
90
|
-
this.imask = IMask(this.textInput, {
|
|
91
|
-
mask: this.mask,
|
|
92
|
-
});
|
|
93
|
-
this.imask.on('accept', () => {
|
|
94
|
-
var _a;
|
|
95
|
-
const rawValue = (_a = this.imask) === null || _a === void 0 ? void 0 : _a.unmaskedValue;
|
|
96
|
-
if (rawValue !== undefined) {
|
|
97
|
-
this.inputHandler(this.name, rawValue);
|
|
98
|
-
}
|
|
99
|
-
});
|
|
100
|
-
this.textInput.addEventListener('blur', () => this.formControlBlur.emit());
|
|
101
|
-
};
|
|
102
|
-
this.handleFormControlInput = (event) => {
|
|
103
|
-
const target = event.target;
|
|
104
|
-
const name = target.getAttribute('name');
|
|
105
|
-
this.formControlInput.emit({ name: name, value: target.value });
|
|
106
|
-
};
|
|
107
|
-
this.updateInput = (newValue) => {
|
|
108
|
-
if (this.imask && newValue) {
|
|
109
|
-
this.imask.value = String(newValue);
|
|
110
|
-
}
|
|
111
|
-
};
|
|
112
|
-
this.label = undefined;
|
|
113
|
-
this.name = undefined;
|
|
114
|
-
this.helpText = undefined;
|
|
115
|
-
this.errorText = undefined;
|
|
116
|
-
this.defaultValue = undefined;
|
|
117
|
-
this.inputHandler = undefined;
|
|
118
|
-
this.mask = undefined;
|
|
119
|
-
this.disabled = undefined;
|
|
120
|
-
}
|
|
121
|
-
handleDefaultValueChange(newValue) {
|
|
122
|
-
this.initializeIMask();
|
|
123
|
-
this.updateInput(newValue);
|
|
124
|
-
}
|
|
125
|
-
disconnectedCallback() {
|
|
126
|
-
var _a;
|
|
127
|
-
(_a = this.imask) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
128
|
-
}
|
|
129
|
-
componentDidLoad() {
|
|
130
|
-
if (this.textInput) {
|
|
131
|
-
this.initializeIMask();
|
|
132
|
-
this.updateInput(this.defaultValue);
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
render() {
|
|
136
|
-
return (h(Host, { key: 'ec5637a437fc6925f12ed0ff9653de16cebec6c8', exportparts: "label,input,input-invalid" }, h("div", { key: 'fa43aed393941aaa2c9aadf550e2528aca661c90', class: "form-group d-flex flex-column" }, h("div", { key: 'f97bc1662798dd0ac7a01050771f7e2d8b94d3c8', class: "d-flex align-items-start gap-2" }, h("label", { key: '75b17b73150c1c1ef3ca0489aa1dac45b86583b8', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'd1c35542ebf2c49de0abb0488dff23aad8238eaf', helpText: this.helpText })), h("input", { key: '3573366640ca5525b12cf086c92c000a25bfaf8b', ref: el => (this.textInput = el), id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input ${this.errorText && 'input-invalid'}`, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "text", disabled: this.disabled }), h("form-control-error-text", { key: 'db11bee11d3f1f33ac03e8ed0f8687f0b9fff9cf', errorText: this.errorText, name: this.name }))));
|
|
137
|
-
}
|
|
138
|
-
static get watchers() { return {
|
|
139
|
-
"defaultValue": ["handleDefaultValueChange"]
|
|
140
|
-
}; }
|
|
141
|
-
};
|
|
142
|
-
|
|
143
|
-
const IdentityAddressForm = class {
|
|
144
|
-
constructor(hostRef) {
|
|
145
|
-
registerInstance(this, hostRef);
|
|
146
|
-
this.inputHandler = (name, value) => {
|
|
147
|
-
this.address[name] = value;
|
|
148
|
-
this.address = Object.assign({}, this.address);
|
|
149
|
-
};
|
|
150
|
-
this.handleFormUpdate = undefined;
|
|
151
|
-
this.errors = undefined;
|
|
152
|
-
this.defaultValues = undefined;
|
|
153
|
-
this.address = {};
|
|
154
|
-
}
|
|
155
|
-
handleAddressChange(newValues) {
|
|
156
|
-
this.handleFormUpdate(newValues);
|
|
157
|
-
}
|
|
158
|
-
render() {
|
|
159
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
160
|
-
return (h(Host, { key: 'd090676d3bb1d9de9ae947ff25d94b5985ace914', exportparts: "label,input,input-invalid" }, h("div", { key: '64ddec6db508d27b709ad551f60fe58494631fe3', class: "row gy-3" }, h("div", { key: '7e0f89b7b8d5a466b89efad75498c5d1f2cac8ea', class: "col-12 col-md-8" }, h("form-control-text", { key: '0fdbbf48001fe60c5bf5e7a07d7b43186ca2f0eb', name: "line1", label: "Street Address", defaultValue: (_a = this.defaultValues) === null || _a === void 0 ? void 0 : _a.line1, errorText: (_b = this.errors) === null || _b === void 0 ? void 0 : _b.line1, inputHandler: this.inputHandler, helpText: "\u200B\u200BEnter your address exactly as stated on your driver's license. No PO Boxes." })), h("div", { key: '2b17a0fcd80dbea0703ac0291d5e509b0c14d9c8', class: "col-12 col-md-4" }, h("form-control-text", { key: 'ae29fceaf3af789789c86f545dab6a9d0e4c8429', name: "line2", label: "Apartment, Suite, etc. (optional)", defaultValue: (_c = this.defaultValues) === null || _c === void 0 ? void 0 : _c.line2, errorText: (_d = this.errors) === null || _d === void 0 ? void 0 : _d.line2, inputHandler: this.inputHandler })), h("div", { key: '55ccf8053ec8e3c1f4534c47d8d23eeac3383d13', class: "col-12" }, h("form-control-text", { key: '3a3ca85cbf0514da6828e3f5a0bf0fd4b9e983c8', name: "city", label: "City", defaultValue: (_e = this.defaultValues) === null || _e === void 0 ? void 0 : _e.city, errorText: (_f = this.errors) === null || _f === void 0 ? void 0 : _f.city, inputHandler: this.inputHandler })), h("div", { key: 'daf6e6031b8dfab6a3e0170f96cc2f0649ded7ce', class: "col-12 col-md-6" }, h("form-control-select", { key: '08791966d72817826f23c3d55ffe3cbaad0ac3bd', name: "state", label: "State", defaultValue: (_g = this.defaultValues) === null || _g === void 0 ? void 0 : _g.state, options: StateOptions, errorText: (_h = this.errors) === null || _h === void 0 ? void 0 : _h.state, inputHandler: this.inputHandler })), h("div", { key: 'c97882ae4c598f762ec32e9ff54b819077ba7193', class: "col-12 col-md-6" }, h("form-control-text", { key: '562ffc8ad8de252d009a284b7b61f978084034dd', name: "postal_code", label: "Postal Code", defaultValue: (_j = this.defaultValues) === null || _j === void 0 ? void 0 : _j.postal_code, errorText: (_k = this.errors) === null || _k === void 0 ? void 0 : _k.postal_code, maxLength: 5, keyDownHandler: numberOnlyHandler, inputHandler: this.inputHandler })), h("div", { key: '6fda38b6ab0618bd9c47ae51417f3b7e10148f53', class: "col-12" }, h("form-control-select", { key: 'df9ec4209e2c82ba05af0160cb74849c20110bae', name: "country", label: "Country", options: [{ label: 'United States', value: 'USA' }], inputHandler: this.inputHandler, defaultValue: (_l = this.defaultValues) === null || _l === void 0 ? void 0 : _l.country, errorText: (_m = this.errors) === null || _m === void 0 ? void 0 : _m.country,
|
|
161
|
-
// just for now so we skip handling country specificities
|
|
162
|
-
disabled: true })))));
|
|
163
|
-
}
|
|
164
|
-
static get watchers() { return {
|
|
165
|
-
"address": ["handleAddressChange"]
|
|
166
|
-
}; }
|
|
167
|
-
};
|
|
168
|
-
|
|
169
|
-
export { DateInput as form_control_date, NumberInputMasked as form_control_number_masked, IdentityAddressForm as justifi_identity_address_form };
|