@justifi/webcomponents 4.16.0 → 4.18.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-423b2bb5.js → Analytics-d4aa8c07.js} +1 -1
- package/dist/cjs/{SubAccount-4f4fac22.js → SubAccount-135ff8c8.js} +1 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +13 -13
- package/dist/cjs/{business-additional-questions-schema-606d1292.js → business-additional-questions-schema-cf545610.js} +2 -2
- package/dist/cjs/business-details-core.cjs.entry.js +6 -9
- package/dist/cjs/form-alert_5.cjs.entry.js +3 -3
- package/dist/cjs/form-control-checkbox_5.cjs.entry.js +10 -13
- package/dist/cjs/form-control-date.cjs.entry.js +43 -0
- package/dist/cjs/form-control-error-text_2.cjs.entry.js +36 -0
- package/dist/cjs/form-control-file.cjs.entry.js +2 -2
- package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
- package/dist/cjs/{form-control-date_3.cjs.entry.js → form-control-number-masked_2.cjs.entry.js} +3 -40
- package/dist/cjs/form-control-number.cjs.entry.js +2 -2
- package/dist/cjs/{form-control-error-text_4.cjs.entry.js → form-control-select_2.cjs.entry.js} +3 -33
- package/dist/cjs/get-payout-csv-e4e4771a.js +48 -0
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -5
- package/dist/cjs/{index-b4498996.js → index-fb499e95.js} +15 -3
- package/dist/cjs/{insurance-state-3f044af7.js → insurance-state-80e24caf.js} +1 -1
- package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +9 -12
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +3 -3
- package/dist/cjs/justifi-billing-form_2.cjs.entry.js +16 -1680
- package/dist/cjs/justifi-business-details.cjs.entry.js +4 -4
- package/dist/cjs/justifi-business-form.cjs.entry.js +9 -8
- package/dist/cjs/justifi-business-list.cjs.entry.js +4 -7
- package/dist/cjs/justifi-card-form.cjs.entry.js +3 -3
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +21 -9
- package/dist/cjs/justifi-checkout.cjs.entry.js +12 -4
- package/dist/cjs/justifi-details.cjs.entry.js +4 -7
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +4 -4
- package/dist/cjs/justifi-new-payment-method_4.cjs.entry.js +73 -28
- package/dist/cjs/justifi-payment-balance-transactions.cjs.entry.js +4 -7
- package/dist/cjs/justifi-payment-details.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payment-form.cjs.entry.js +9 -8
- package/dist/cjs/justifi-payment-method-form.cjs.entry.js +1688 -0
- package/dist/cjs/justifi-payment-method-selector.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +7 -2
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +4 -8
- package/dist/cjs/justifi-payments-list.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payout-details.cjs.entry.js +15 -10
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +15 -12
- package/dist/cjs/justifi-proceeds-list.cjs.entry.js +4 -7
- package/dist/cjs/justifi-refund-form.cjs.entry.js +4 -3
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +14 -9
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +2 -3
- package/dist/cjs/justifi-skeleton.cjs.entry.js +3 -3
- package/dist/cjs/justifi-subaccount-details.cjs.entry.js +6 -9
- package/dist/cjs/justifi-subaccounts-list.cjs.entry.js +4 -4
- package/dist/cjs/justifi-table_2.cjs.entry.js +8 -12
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{package-b40227dd.js → package-5fee1ffb.js} +1 -1
- package/dist/cjs/{payload-parsers-6e4cf5d7.js → payload-parsers-1cbc3b57.js} +3 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +11 -14
- package/dist/cjs/payments-list-core.cjs.entry.js +7 -7
- package/dist/cjs/payout-details-core.cjs.entry.js +19 -8
- package/dist/cjs/payouts-list-core.cjs.entry.js +29 -8
- package/dist/cjs/{schema-validations-9668fd79.js → schema-validations-2733de42.js} +3 -4
- package/dist/cjs/styled-host-b8bed12a.js +14 -0
- package/dist/cjs/subaccount-account-details_4.cjs.entry.js +7 -23
- package/dist/cjs/subaccount-bank-details.cjs.entry.js +3 -7
- package/dist/cjs/subaccount-terms-details.cjs.entry.js +3 -7
- package/dist/cjs/{utils-17869710.js → utils-80191fbe.js} +6 -0
- package/dist/cjs/{utils-fd644316.js → utils-8c3bf659.js} +13 -4
- package/dist/cjs/{utils-0c3168ef.js → utils-c1d2e426.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +2 -2
- package/dist/collection/api/Checkout.js +0 -1
- package/dist/collection/api/services/payout.service.js +5 -0
- package/dist/collection/assets/download-icon.js +2 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/billing-form/billing-form.css +2 -8162
- package/dist/collection/components/billing-form/billing-form.js +5 -4
- package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +2 -3
- package/dist/collection/components/business-details/business-details-core.js +5 -14
- package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +2 -3
- package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +2 -3
- package/dist/collection/components/business-details/owner-details/owner-details.js +2 -3
- package/dist/collection/components/business-details/representative-details/representative-details.js +2 -3
- package/dist/collection/components/business-details/shared-business-details.css +3 -0
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-form.css +5 -8768
- package/dist/collection/components/business-forms/business-form/business-form.js +4 -3
- package/dist/collection/components/business-forms/owner-form/owner-form.js +2 -5
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +3 -2
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -4
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +14 -2
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.css +4 -9155
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -12
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.css +5 -763
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.js +2 -2
- package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +1 -1
- package/dist/collection/components/business-forms/schemas/schema-helpers.js +0 -1
- package/dist/collection/components/business-forms/schemas/schema-validations.js +4 -4
- package/dist/collection/components/business-forms/utils/payload-parsers.js +2 -0
- package/dist/collection/components/business-list/business-list.js +3 -12
- package/dist/collection/components/checkout/checkout-core.css +3 -8147
- package/dist/collection/components/checkout/checkout-core.js +68 -8
- package/dist/collection/components/checkout/checkout.js +59 -1
- package/dist/collection/components/checkout/form-check-input.css +20 -0
- package/dist/collection/components/checkout/header.css +4 -0
- package/dist/collection/components/checkout/new-payment-method.js +95 -15
- package/dist/collection/components/checkout/payment-method-option-utils.js +2 -0
- package/dist/collection/components/checkout/payment-method-options.css +1 -7080
- package/dist/collection/components/checkout/payment-method-options.js +101 -17
- package/dist/collection/components/checkout/save-new-payment-method.js +38 -0
- package/dist/collection/components/checkout/saved-payment-method.js +12 -5
- package/dist/collection/components/checkout/sezzle-payment-method.js +12 -5
- package/dist/collection/components/details/details.js +3 -12
- package/dist/collection/components/form/form-control-checkbox.js +1 -1
- package/dist/collection/components/form/form-control-date.js +1 -1
- package/dist/collection/components/form/form-control-file.js +1 -1
- package/dist/collection/components/form/form-control-monetary.js +1 -1
- package/dist/collection/components/form/form-control-number-masked.js +1 -1
- package/dist/collection/components/form/form-control-number.js +1 -1
- package/dist/collection/components/form/form-control-select.js +1 -1
- package/dist/collection/components/form/form-control-text.js +1 -1
- package/dist/collection/components/form/utils.js +12 -3
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +2 -2
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.css +1 -573
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.css +6 -8183
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +6 -7
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -2
- package/dist/collection/components/pagination-menu/pagination-menu.js +3 -14
- package/dist/collection/components/payment-balance-transactions/payment-balance-transactions.js +3 -13
- package/dist/collection/components/payment-details/payment-details-core.js +9 -18
- package/dist/collection/components/payment-form/payment-form.css +3 -2513
- package/dist/collection/components/payment-form/payment-form.js +6 -5
- package/dist/collection/components/payment-form/payment-method-selector.css +5 -1881
- package/dist/collection/components/payment-form/payment-method-selector.js +2 -3
- package/dist/collection/components/payments-list/payments-list-core.js +6 -12
- package/dist/collection/components/payments-list/payments-list.js +3 -0
- package/dist/collection/components/payout-details/get-payout-csv.js +19 -0
- package/dist/collection/components/payout-details/payout-details-core.js +37 -12
- package/dist/collection/components/payout-details/payout-details.js +11 -4
- package/dist/collection/components/payouts-list/payouts-list-core.js +45 -14
- package/dist/collection/components/payouts-list/payouts-list.js +14 -6
- package/dist/collection/components/proceeds-list/proceeds-list.js +3 -12
- package/dist/collection/components/refund-form/refund-form.css +1 -7737
- package/dist/collection/components/refund-form/refund-form.js +4 -3
- package/dist/collection/components/skeleton/skeleton.css +1 -573
- package/dist/collection/components/skeleton/skeleton.js +2 -2
- package/dist/collection/components/subaccount-details/subaccount-account-details/subaccount-account-details.js +1 -12
- package/dist/collection/components/subaccount-details/subaccount-bank-details/subaccount-bank-details.js +1 -12
- package/dist/collection/components/subaccount-details/subaccount-details.js +3 -12
- package/dist/collection/components/subaccount-details/subaccount-merchant-details/subaccount-merchant-details.js +1 -12
- package/dist/collection/components/subaccount-details/subaccount-owners-details/subaccount-owners-details.js +1 -12
- package/dist/collection/components/subaccount-details/subaccount-representative-details/subaccount-representative-details.js +1 -12
- package/dist/collection/components/subaccount-details/subaccount-terms-details/subaccount-terms-details.js +1 -12
- package/dist/collection/components/subaccounts-list/subaccounts-list.js +1 -1
- package/dist/collection/components/table/table.css +0 -8085
- package/dist/collection/components/table/table.js +3 -4
- package/dist/collection/utils/styled-host/styled-host.js +6 -0
- package/dist/collection/utils/utils.js +5 -0
- package/dist/docs.json +546 -64
- package/dist/esm/{Analytics-17c33e9e.js → Analytics-29fac206.js} +1 -1
- package/dist/esm/{SubAccount-8bf9cb0c.js → SubAccount-7fcb1450.js} +1 -1
- package/dist/esm/additional-questions-details_5.entry.js +13 -13
- package/dist/esm/{business-additional-questions-schema-b00a73ba.js → business-additional-questions-schema-956e3caf.js} +2 -2
- package/dist/esm/business-details-core.entry.js +6 -9
- package/dist/esm/form-alert_5.entry.js +3 -3
- package/dist/esm/form-control-checkbox_5.entry.js +10 -13
- package/dist/esm/form-control-date.entry.js +39 -0
- package/dist/esm/form-control-error-text_2.entry.js +31 -0
- package/dist/esm/form-control-file.entry.js +2 -2
- package/dist/esm/form-control-monetary.entry.js +2 -2
- package/dist/esm/{form-control-date_3.entry.js → form-control-number-masked_2.entry.js} +4 -40
- package/dist/esm/form-control-number.entry.js +2 -2
- package/dist/esm/{form-control-error-text_4.entry.js → form-control-select_2.entry.js} +4 -32
- package/dist/esm/get-payout-csv-9b4aaada.js +45 -0
- package/dist/esm/gross-payment-chart-core.entry.js +5 -5
- package/dist/esm/{index-4bd1eae9.js → index-57431c24.js} +15 -3
- package/dist/esm/{insurance-state-09754ab9.js → insurance-state-8ce01e59.js} +1 -1
- package/dist/esm/justifi-additional-questions-form-step_10.entry.js +10 -13
- package/dist/esm/justifi-bank-account-form.entry.js +3 -3
- package/dist/esm/justifi-billing-form_2.entry.js +16 -1680
- package/dist/esm/justifi-business-details.entry.js +4 -4
- package/dist/esm/justifi-business-form.entry.js +9 -8
- package/dist/esm/justifi-business-list.entry.js +4 -7
- package/dist/esm/justifi-card-form.entry.js +3 -3
- package/dist/esm/justifi-checkout-core.entry.js +21 -9
- package/dist/esm/justifi-checkout.entry.js +12 -4
- package/dist/esm/justifi-details.entry.js +4 -7
- package/dist/esm/justifi-gross-payment-chart.entry.js +4 -4
- package/dist/esm/justifi-new-payment-method_4.entry.js +73 -28
- package/dist/esm/justifi-payment-balance-transactions.entry.js +4 -7
- package/dist/esm/justifi-payment-details.entry.js +4 -4
- package/dist/esm/justifi-payment-form.entry.js +9 -8
- package/dist/esm/justifi-payment-method-form.entry.js +1684 -0
- package/dist/esm/justifi-payment-method-selector.entry.js +3 -3
- package/dist/esm/justifi-payment-provisioning-core.entry.js +7 -2
- package/dist/esm/justifi-payment-provisioning.entry.js +4 -8
- package/dist/esm/justifi-payments-list.entry.js +4 -4
- package/dist/esm/justifi-payout-details.entry.js +14 -9
- package/dist/esm/justifi-payouts-list.entry.js +14 -11
- package/dist/esm/justifi-proceeds-list.entry.js +4 -7
- package/dist/esm/justifi-refund-form.entry.js +4 -3
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +14 -9
- package/dist/esm/justifi-season-interruption-insurance.entry.js +2 -3
- package/dist/esm/justifi-skeleton.entry.js +3 -3
- package/dist/esm/justifi-subaccount-details.entry.js +6 -9
- package/dist/esm/justifi-subaccounts-list.entry.js +4 -4
- package/dist/esm/justifi-table_2.entry.js +8 -12
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{package-02a6e473.js → package-1123f528.js} +1 -1
- package/dist/esm/{payload-parsers-a9e8f8cc.js → payload-parsers-acb719d1.js} +3 -1
- package/dist/esm/payment-details-core.entry.js +11 -14
- package/dist/esm/payments-list-core.entry.js +7 -7
- package/dist/esm/payout-details-core.entry.js +19 -8
- package/dist/esm/payouts-list-core.entry.js +29 -8
- package/dist/esm/{schema-validations-770bdf3e.js → schema-validations-a83ff220.js} +3 -4
- package/dist/esm/styled-host-57aae7fa.js +12 -0
- package/dist/esm/subaccount-account-details_4.entry.js +7 -23
- package/dist/esm/subaccount-bank-details.entry.js +3 -7
- package/dist/esm/subaccount-terms-details.entry.js +3 -7
- package/dist/esm/{utils-1e583166.js → utils-56719d07.js} +1 -1
- package/dist/esm/{utils-61a21dea.js → utils-5f4c4faa.js} +6 -1
- package/dist/esm/{utils-8de964da.js → utils-f4c4ba7d.js} +13 -4
- package/dist/esm/webcomponents.js +3 -3
- package/dist/module/SubAccount.js +1 -1
- package/dist/module/additional-questions-details2.js +3 -4
- package/dist/module/additional-questions.js +1 -1
- package/dist/module/billing-form.js +5 -4
- package/dist/module/business-additional-questions-form-step.js +1 -1
- package/dist/module/business-core-info-form-step.js +3 -2
- package/dist/module/business-core-info-schema.js +1 -1
- package/dist/module/business-details-core2.js +5 -8
- package/dist/module/business-representative-form-step.js +1 -4
- package/dist/module/business-terms-conditions-text.js +2 -2
- package/dist/module/checkout-core.js +44 -24
- package/dist/module/details.js +3 -6
- package/dist/module/form-control-checkbox2.js +1 -1
- package/dist/module/form-control-date2.js +1 -1
- 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-select2.js +1 -1
- package/dist/module/form-control-text2.js +1 -1
- package/dist/module/generic-info-details2.js +3 -4
- package/dist/module/get-payout-csv.js +45 -0
- package/dist/module/gross-payment-chart-core2.js +2 -2
- package/dist/module/justifi-business-form.js +4 -3
- package/dist/module/justifi-business-list.js +3 -6
- package/dist/module/justifi-checkout.js +35 -20
- package/dist/module/justifi-payment-balance-transactions.js +5 -9
- package/dist/module/justifi-payment-form.js +6 -5
- package/dist/module/justifi-payment-provisioning.js +2 -7
- package/dist/module/justifi-payments-list.js +19 -1
- package/dist/module/justifi-payout-details.js +11 -5
- package/dist/module/justifi-payouts-list.js +30 -8
- package/dist/module/justifi-proceeds-list.js +3 -6
- package/dist/module/justifi-refund-form.js +4 -3
- package/dist/module/justifi-save-new-payment-method.d.ts +11 -0
- package/dist/module/justifi-save-new-payment-method.js +6 -0
- package/dist/module/justifi-season-interruption-insurance.js +1 -2
- package/dist/module/justifi-subaccount-details.js +4 -7
- package/dist/module/justifi-subaccounts-list.js +2 -2
- package/dist/module/legal-address-details2.js +3 -4
- package/dist/module/new-payment-method.js +52 -24
- package/dist/module/owner-details2.js +3 -4
- package/dist/module/owner-form.js +2 -5
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +4 -9
- package/dist/module/payload-parsers.js +2 -0
- package/dist/module/payment-details-core2.js +10 -13
- package/dist/module/payment-method-options.js +56 -28
- package/dist/module/payment-method-selector.js +3 -4
- package/dist/module/payment-provisioning-core.js +9 -3
- package/dist/module/payments-list-core2.js +26 -8
- package/dist/module/payout-details-core2.js +19 -7
- package/dist/module/payouts-list-core2.js +49 -9
- package/dist/module/representative-details2.js +3 -4
- package/dist/module/save-new-payment-method.js +36 -0
- package/dist/module/saved-payment-method.js +7 -2
- package/dist/module/schema-validations.js +3 -4
- package/dist/module/season-interruption-insurance-core.js +12 -7
- package/dist/module/sezzle-payment-method.js +5 -2
- package/dist/module/skeleton.js +2 -2
- package/dist/module/styled-host.js +12 -0
- package/dist/module/subaccount-account-details2.js +2 -7
- package/dist/module/subaccount-bank-details.js +2 -7
- package/dist/module/subaccount-merchant-details2.js +3 -8
- package/dist/module/subaccount-owners-details2.js +2 -7
- package/dist/module/subaccount-representative-details2.js +2 -7
- package/dist/module/subaccount-terms-details.js +2 -7
- package/dist/module/table.js +4 -5
- package/dist/module/utils2.js +6 -1
- package/dist/module/utils3.js +12 -3
- package/dist/types/api/Checkout.d.ts +6 -0
- package/dist/types/api/services/payout.service.d.ts +2 -0
- package/dist/types/assets/download-icon.d.ts +1 -0
- package/dist/types/components/business-forms/owner-form/owner-form.d.ts +0 -1
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.d.ts +0 -1
- package/dist/types/components/business-forms/schemas/schema-helpers.d.ts +0 -1
- package/dist/types/components/checkout/checkout-core.d.ts +5 -1
- package/dist/types/components/checkout/checkout.d.ts +5 -0
- package/dist/types/components/checkout/new-payment-method.d.ts +8 -2
- package/dist/types/components/checkout/payment-method-option-utils.d.ts +1 -0
- package/dist/types/components/checkout/payment-method-options.d.ts +6 -2
- package/dist/types/components/checkout/payment-method-payload.d.ts +1 -0
- package/dist/types/components/checkout/save-new-payment-method.d.ts +7 -0
- package/dist/types/components/checkout/saved-payment-method.d.ts +1 -1
- package/dist/types/components/checkout/sezzle-payment-method.d.ts +1 -1
- package/dist/types/components/form/utils.d.ts +1 -1
- package/dist/types/components/payment-method-form/payment-method-responses.d.ts +6 -4
- package/dist/types/components/payments-list/payments-list-core.d.ts +1 -0
- package/dist/types/components/payments-list/payments-list.d.ts +3 -0
- package/dist/types/components/payout-details/get-payout-csv.d.ts +7 -0
- package/dist/types/components/payout-details/payout-details-core.d.ts +2 -0
- package/dist/types/components/payout-details/payout-details.d.ts +2 -1
- package/dist/types/components/payouts-list/payouts-list-core.d.ts +3 -0
- package/dist/types/components/payouts-list/payouts-list.d.ts +5 -1
- package/dist/types/components.d.ts +83 -12
- package/dist/types/utils/styled-host/styled-host.d.ts +3 -0
- package/dist/types/utils/utils.d.ts +1 -0
- package/dist/webcomponents/{p-851e57f4.js → p-092e080c.js} +1 -1
- package/dist/webcomponents/p-09affce4.entry.js +1 -0
- package/dist/webcomponents/p-0a4a9ccd.entry.js +1 -0
- package/dist/webcomponents/{p-7c28a80d.entry.js → p-0dca0770.entry.js} +1 -1
- package/dist/webcomponents/p-0e4a54c8.entry.js +1 -0
- package/dist/webcomponents/p-0ed3c1d2.entry.js +1 -0
- package/dist/webcomponents/p-10b57ac6.entry.js +1 -0
- package/dist/webcomponents/p-1737f6bf.entry.js +1 -0
- package/dist/webcomponents/{p-ebce7b2f.entry.js → p-2244e679.entry.js} +1 -1
- package/dist/webcomponents/p-2306d44d.entry.js +1 -0
- package/dist/webcomponents/{p-f7b6dcc4.js → p-2338affa.js} +1 -1
- package/dist/webcomponents/p-2af3672b.entry.js +1 -0
- package/dist/webcomponents/p-3294856b.entry.js +1 -0
- package/dist/webcomponents/p-3514b616.entry.js +1 -0
- package/dist/webcomponents/p-390157c9.entry.js +1 -0
- package/dist/webcomponents/p-3fd13ca3.js +1 -0
- package/dist/webcomponents/p-412c7a22.entry.js +1 -0
- package/dist/webcomponents/p-464e4dfe.entry.js +1 -0
- package/dist/webcomponents/p-49b8e112.js +1 -0
- package/dist/webcomponents/{p-808c8988.entry.js → p-4b9587ec.entry.js} +1 -1
- package/dist/webcomponents/p-531d873a.entry.js +1 -0
- package/dist/webcomponents/p-54287db6.entry.js +1 -0
- package/dist/webcomponents/p-547a2cd0.entry.js +1 -0
- package/dist/webcomponents/p-571d7f1a.entry.js +1 -0
- package/dist/webcomponents/p-5963bcdc.entry.js +1 -0
- package/dist/webcomponents/p-5b1451e7.entry.js +1 -0
- package/dist/webcomponents/p-66758365.entry.js +1 -0
- package/dist/webcomponents/{p-3394ff6c.js → p-667a5aa8.js} +1 -1
- package/dist/webcomponents/p-67e497aa.entry.js +1 -0
- package/dist/webcomponents/p-68fd8283.js +1 -0
- package/dist/webcomponents/p-6bcf621a.entry.js +1 -0
- package/dist/webcomponents/p-6bd5d569.entry.js +1 -0
- package/dist/webcomponents/p-76180bb4.entry.js +1 -0
- package/dist/webcomponents/p-77dc159c.entry.js +1 -0
- package/dist/webcomponents/{p-3a7e0753.entry.js → p-7a346c0b.entry.js} +1 -1
- package/dist/webcomponents/p-7d6aba64.entry.js +1 -0
- package/dist/webcomponents/p-81d3eda6.entry.js +1 -0
- package/dist/webcomponents/p-85fc69e5.js +1 -0
- package/dist/webcomponents/p-87932e16.js +1 -0
- package/dist/webcomponents/p-88c7ef46.entry.js +1 -0
- package/dist/webcomponents/p-89887332.js +1 -0
- package/dist/webcomponents/p-8cc7a418.entry.js +1 -0
- package/dist/webcomponents/p-8dd22c8d.entry.js +1 -0
- package/dist/webcomponents/p-959b478a.entry.js +19 -0
- package/dist/webcomponents/{p-3f06ce2f.entry.js → p-9631b768.entry.js} +1 -1
- package/dist/webcomponents/p-9e7c3231.entry.js +1 -0
- package/dist/webcomponents/{p-9601cf9d.entry.js → p-bb32b91c.entry.js} +1 -1
- package/dist/webcomponents/p-bbc18b9f.entry.js +1 -0
- package/dist/webcomponents/{p-4b4fc43d.js → p-c4264aaf.js} +1 -1
- package/dist/webcomponents/p-cb9ee476.entry.js +1 -0
- package/dist/webcomponents/p-d083a342.entry.js +1 -0
- package/dist/webcomponents/{p-288c95b3.entry.js → p-d5612f35.entry.js} +1 -1
- package/dist/webcomponents/p-debeefbb.entry.js +1 -0
- package/dist/webcomponents/{p-e3a31451.entry.js → p-df38dd21.entry.js} +1 -1
- package/dist/webcomponents/p-e0bcfdb5.entry.js +1 -0
- package/dist/webcomponents/{p-cb68e8fa.js → p-e1651130.js} +1 -1
- package/dist/webcomponents/p-e46929a1.entry.js +1 -0
- package/dist/webcomponents/{p-fee616cf.entry.js → p-e85ef4af.entry.js} +1 -1
- package/dist/webcomponents/{p-fb53112b.js → p-e8c651b8.js} +1 -1
- package/dist/webcomponents/p-ea7c77a3.entry.js +1 -0
- package/dist/webcomponents/{p-2451611d.entry.js → p-f3555f0b.entry.js} +1 -1
- package/dist/webcomponents/p-fad19d75.js +2 -0
- package/dist/webcomponents/webcomponents.css +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/payout.service-eec372aa.js +0 -22
- package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.css +0 -7348
- package/dist/collection/components/business-details/business-details.css +0 -6446
- package/dist/collection/components/business-details/generic-info-details/generic-info-details.css +0 -7348
- package/dist/collection/components/business-details/legal-address-details/legal-address-details.css +0 -7348
- package/dist/collection/components/business-details/owner-details/owner-details.css +0 -7348
- package/dist/collection/components/business-details/representative-details/representative-details.css +0 -7348
- package/dist/collection/components/business-list/business-list.css +0 -579
- package/dist/collection/components/details/details.css +0 -7993
- package/dist/collection/components/payment-balance-transactions/payment-balance-transactions.css +0 -0
- package/dist/collection/components/payment-details/payment-details.css +0 -7993
- package/dist/collection/components/payments-list/payments-list.css +0 -579
- package/dist/collection/components/payout-details/payout-details.css +0 -7993
- package/dist/collection/components/payouts-list/payouts-list.css +0 -579
- package/dist/collection/components/proceeds-list/proceeds-list.css +0 -579
- package/dist/collection/components/subaccount-details/subaccount-account-details/subaccount-account-details.css +0 -7352
- package/dist/collection/components/subaccount-details/subaccount-bank-details/subaccount-bank-details.css +0 -7352
- package/dist/collection/components/subaccount-details/subaccount-details.css +0 -7993
- package/dist/collection/components/subaccount-details/subaccount-merchant-details/subaccount-merchant-details.css +0 -7352
- package/dist/collection/components/subaccount-details/subaccount-owners-details/subaccount-owners-details.css +0 -7352
- package/dist/collection/components/subaccount-details/subaccount-representative-details/subaccount-representative-details.css +0 -7352
- package/dist/collection/components/subaccount-details/subaccount-terms-details/subaccount-terms-details.css +0 -7352
- package/dist/esm/payout.service-28b9594f.js +0 -20
- package/dist/module/payout.service.js +0 -20
- package/dist/webcomponents/p-023fe908.entry.js +0 -1
- package/dist/webcomponents/p-038fb958.entry.js +0 -1
- package/dist/webcomponents/p-06baf263.entry.js +0 -1
- package/dist/webcomponents/p-0f10316f.entry.js +0 -1
- package/dist/webcomponents/p-144e4bda.js +0 -1
- package/dist/webcomponents/p-1e53021d.entry.js +0 -1
- package/dist/webcomponents/p-1feebf9c.entry.js +0 -1
- package/dist/webcomponents/p-26779944.entry.js +0 -1
- package/dist/webcomponents/p-306aea52.entry.js +0 -1
- package/dist/webcomponents/p-31031d15.entry.js +0 -1
- package/dist/webcomponents/p-4791c1f2.entry.js +0 -1
- package/dist/webcomponents/p-4b260a52.entry.js +0 -1
- package/dist/webcomponents/p-56275f64.entry.js +0 -1
- package/dist/webcomponents/p-64d1aeb8.entry.js +0 -1
- package/dist/webcomponents/p-65969627.entry.js +0 -19
- package/dist/webcomponents/p-68f3a7b0.entry.js +0 -1
- package/dist/webcomponents/p-6b05f357.entry.js +0 -1
- package/dist/webcomponents/p-6ce586e0.entry.js +0 -1
- package/dist/webcomponents/p-71800e4c.js +0 -1
- package/dist/webcomponents/p-7ae2d26f.entry.js +0 -1
- package/dist/webcomponents/p-88d68804.entry.js +0 -1
- package/dist/webcomponents/p-8a6049ed.js +0 -1
- package/dist/webcomponents/p-8e8f5033.entry.js +0 -1
- package/dist/webcomponents/p-9228912b.entry.js +0 -1
- package/dist/webcomponents/p-923c37a2.entry.js +0 -1
- package/dist/webcomponents/p-9b1e7f5e.entry.js +0 -1
- package/dist/webcomponents/p-9c00adf1.entry.js +0 -1
- package/dist/webcomponents/p-9e5d765c.js +0 -1
- package/dist/webcomponents/p-a33c3e1c.entry.js +0 -1
- package/dist/webcomponents/p-a63a6fb9.js +0 -2
- package/dist/webcomponents/p-b01c0120.entry.js +0 -1
- package/dist/webcomponents/p-b94bf537.entry.js +0 -1
- package/dist/webcomponents/p-bacd9d6e.entry.js +0 -1
- package/dist/webcomponents/p-c85fb952.entry.js +0 -1
- package/dist/webcomponents/p-ca39c89f.js +0 -1
- package/dist/webcomponents/p-d42e284d.entry.js +0 -1
- package/dist/webcomponents/p-e673e681.entry.js +0 -1
- package/dist/webcomponents/p-eefe2f29.entry.js +0 -1
- package/dist/webcomponents/p-f14db665.entry.js +0 -1
- package/dist/webcomponents/p-f18e63c3.entry.js +0 -1
- package/dist/webcomponents/p-f3ae3cb6.entry.js +0 -1
- package/dist/webcomponents/p-fa9773c0.entry.js +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const LoadingSpinner: () => any;
|
|
2
|
-
export declare const numberOnlyHandler: (e: KeyboardEvent) => void;
|
|
2
|
+
export declare const numberOnlyHandler: (e: KeyboardEvent | ClipboardEvent) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
interface PaymentMethodCreateResponseWrapper {
|
|
2
2
|
id: string;
|
|
3
|
-
type:
|
|
3
|
+
type: 'payment_method';
|
|
4
4
|
error?: {
|
|
5
5
|
code: string;
|
|
6
6
|
message: string;
|
|
@@ -13,6 +13,7 @@ export interface CardCreateResponse extends PaymentMethodCreateResponseWrapper {
|
|
|
13
13
|
signature: string;
|
|
14
14
|
customer_id: string;
|
|
15
15
|
account_id: string;
|
|
16
|
+
invalid_reason: string;
|
|
16
17
|
card: {
|
|
17
18
|
id: string;
|
|
18
19
|
name: string;
|
|
@@ -25,12 +26,12 @@ export interface CardCreateResponse extends PaymentMethodCreateResponseWrapper {
|
|
|
25
26
|
address_line1_check: string;
|
|
26
27
|
address_postal_code_check: string;
|
|
27
28
|
bin_details?: {
|
|
28
|
-
type:
|
|
29
|
+
type: 'Credit' | 'Debit' | 'Prepaid' | 'Unknown';
|
|
29
30
|
card_brand: string;
|
|
30
31
|
card_class: string;
|
|
31
32
|
country: string;
|
|
32
33
|
issuer: string;
|
|
33
|
-
funding_source:
|
|
34
|
+
funding_source: 'Charge' | 'Credit' | 'Debit' | 'Deferred Debit (Visa Only)' | 'Network Only' | 'Prepaid';
|
|
34
35
|
};
|
|
35
36
|
};
|
|
36
37
|
};
|
|
@@ -40,10 +41,11 @@ export interface BankAccountCreateResponse extends PaymentMethodCreateResponseWr
|
|
|
40
41
|
signature: string;
|
|
41
42
|
customer_id: string;
|
|
42
43
|
account_id: string;
|
|
44
|
+
invalid_reason: string;
|
|
43
45
|
bank_account: {
|
|
44
46
|
id: string;
|
|
45
47
|
account_owner_name: string;
|
|
46
|
-
account_type:
|
|
48
|
+
account_type: 'checking' | 'savings';
|
|
47
49
|
bank_name: string;
|
|
48
50
|
acct_last_four: number;
|
|
49
51
|
token: string;
|
|
@@ -2,6 +2,9 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
2
2
|
import { ComponentError } from '../../api/ComponentError';
|
|
3
3
|
import JustifiAnalytics from '../../api/Analytics';
|
|
4
4
|
/**
|
|
5
|
+
* @exportedPart label: Label for inputs
|
|
6
|
+
* @exportedPart input: The input fields
|
|
7
|
+
* @exportedPart input-invalid: Invalid state for inputs
|
|
5
8
|
* @exportedPart table-head: Table head
|
|
6
9
|
* @exportedPart table-head-row: Head row
|
|
7
10
|
* @exportedPart table-head-cell: Individual head cell
|
|
@@ -3,6 +3,7 @@ import { Payout } from '../../api';
|
|
|
3
3
|
import { ComponentError } from '../../api/ComponentError';
|
|
4
4
|
export declare class PayoutDetailsCore {
|
|
5
5
|
getPayout: Function;
|
|
6
|
+
getPayoutCSV: Function;
|
|
6
7
|
payout: Payout;
|
|
7
8
|
loading: boolean;
|
|
8
9
|
errorMessage: string;
|
|
@@ -10,5 +11,6 @@ export declare class PayoutDetailsCore {
|
|
|
10
11
|
componentWillLoad(): void;
|
|
11
12
|
getPayoutWatcher(): void;
|
|
12
13
|
fetchData(): void;
|
|
14
|
+
downloadCSV: () => void;
|
|
13
15
|
render(): any;
|
|
14
16
|
}
|
|
@@ -5,13 +5,14 @@ export declare class PayoutDetails {
|
|
|
5
5
|
payoutId: string;
|
|
6
6
|
authToken: string;
|
|
7
7
|
getPayout: Function;
|
|
8
|
+
getPayoutCSV: Function;
|
|
8
9
|
errorMessage: string;
|
|
9
10
|
errorEvent: EventEmitter<ComponentError>;
|
|
10
11
|
analytics: JustifiAnalytics;
|
|
11
12
|
componentWillLoad(): void;
|
|
12
13
|
disconnectedCallback(): void;
|
|
13
14
|
propChanged(): void;
|
|
14
|
-
|
|
15
|
+
initializeServices(): void;
|
|
15
16
|
handleErrorEvent: (event: CustomEvent<ComponentError>) => void;
|
|
16
17
|
render(): any;
|
|
17
18
|
}
|
|
@@ -3,6 +3,7 @@ import { PagingInfo, Payout, PayoutStatuses } from '../../api';
|
|
|
3
3
|
import { ComponentError } from '../../api/ComponentError';
|
|
4
4
|
export declare class PayoutsListCore {
|
|
5
5
|
getPayouts: Function;
|
|
6
|
+
getPayoutCSV: Function;
|
|
6
7
|
payouts: Payout[];
|
|
7
8
|
loading: boolean;
|
|
8
9
|
errorMessage: string;
|
|
@@ -16,5 +17,7 @@ export declare class PayoutsListCore {
|
|
|
16
17
|
handleClickPrevious: (beforeCursor: string) => void;
|
|
17
18
|
handleClickNext: (afterCursor: string) => void;
|
|
18
19
|
fetchData(): void;
|
|
20
|
+
downloadCSV: (payoutId: string) => void;
|
|
21
|
+
handleDateChange: (name: string, value: string) => void;
|
|
19
22
|
render(): any;
|
|
20
23
|
}
|
|
@@ -2,6 +2,9 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
2
2
|
import { ComponentError } from '../../api/ComponentError';
|
|
3
3
|
import JustifiAnalytics from '../../api/Analytics';
|
|
4
4
|
/**
|
|
5
|
+
* @exportedPart label: Label for inputs
|
|
6
|
+
* @exportedPart input: The input fields
|
|
7
|
+
* @exportedPart input-invalid: Invalid state for inputs
|
|
5
8
|
* @exportedPart table-head: Table head
|
|
6
9
|
* @exportedPart table-head-row: Head row
|
|
7
10
|
* @exportedPart table-head-cell: Individual head cell
|
|
@@ -24,13 +27,14 @@ export declare class PayoutsList {
|
|
|
24
27
|
accountId: string;
|
|
25
28
|
authToken: string;
|
|
26
29
|
getPayouts: Function;
|
|
30
|
+
getPayoutCSV: Function;
|
|
27
31
|
errorMessage: string;
|
|
28
32
|
errorEvent: EventEmitter<ComponentError>;
|
|
29
33
|
analytics: JustifiAnalytics;
|
|
30
34
|
componentWillLoad(): void;
|
|
31
35
|
disconnectedCallback(): void;
|
|
32
36
|
propChanged(): void;
|
|
33
|
-
private
|
|
37
|
+
private initializeServices;
|
|
34
38
|
handleOnError: (event: any) => void;
|
|
35
39
|
render(): any;
|
|
36
40
|
}
|
|
@@ -12,10 +12,10 @@ import { FormController } from "./components/form/form";
|
|
|
12
12
|
import { BusinessFormClickEvent, BusinessFormSubmitEvent, OwnerFormClickEvent, OwnerFormSubmitEvent } from "./components/business-forms/utils/business-form-types";
|
|
13
13
|
import { CreatePaymentMethodResponse } from "./components/payment-method-form/payment-method-responses";
|
|
14
14
|
import { BillingFormFields } from "./components/billing-form/billing-form-schema";
|
|
15
|
-
import {
|
|
15
|
+
import { IBnpl, ILoadedEventResponse, Payment, PaymentMethodTypes, Payout } from "./api";
|
|
16
|
+
import { ICheckoutCompleteResponse, ILoadedEventResponse as ILoadedEventResponse1 } from "./api/Checkout";
|
|
16
17
|
import { PaymentMethodOption } from "./components/checkout/payment-method-option-utils";
|
|
17
18
|
import { PaymentMethodPayload } from "./components/checkout/payment-method-payload";
|
|
18
|
-
import { IBnpl, Payment, PaymentMethodTypes, Payout } from "./api";
|
|
19
19
|
import { Proceed } from "./api/Proceed";
|
|
20
20
|
import { RefundFormFields } from "./components/refund-form/refund-form-schema";
|
|
21
21
|
import { IOnboardingData, SubAccount, SubaccountBankAccount, SubAccountIdentity as SubAccountIdentity1, Terms } from "./api/SubAccount";
|
|
@@ -30,10 +30,10 @@ export { FormController } from "./components/form/form";
|
|
|
30
30
|
export { BusinessFormClickEvent, BusinessFormSubmitEvent, OwnerFormClickEvent, OwnerFormSubmitEvent } from "./components/business-forms/utils/business-form-types";
|
|
31
31
|
export { CreatePaymentMethodResponse } from "./components/payment-method-form/payment-method-responses";
|
|
32
32
|
export { BillingFormFields } from "./components/billing-form/billing-form-schema";
|
|
33
|
-
export {
|
|
33
|
+
export { IBnpl, ILoadedEventResponse, Payment, PaymentMethodTypes, Payout } from "./api";
|
|
34
|
+
export { ICheckoutCompleteResponse, ILoadedEventResponse as ILoadedEventResponse1 } from "./api/Checkout";
|
|
34
35
|
export { PaymentMethodOption } from "./components/checkout/payment-method-option-utils";
|
|
35
36
|
export { PaymentMethodPayload } from "./components/checkout/payment-method-payload";
|
|
36
|
-
export { IBnpl, Payment, PaymentMethodTypes, Payout } from "./api";
|
|
37
37
|
export { Proceed } from "./api/Proceed";
|
|
38
38
|
export { RefundFormFields } from "./components/refund-form/refund-form-schema";
|
|
39
39
|
export { IOnboardingData, SubAccount, SubaccountBankAccount, SubAccountIdentity as SubAccountIdentity1, Terms } from "./api/SubAccount";
|
|
@@ -378,6 +378,7 @@ export namespace Components {
|
|
|
378
378
|
"disableBnpl"?: boolean;
|
|
379
379
|
"disableCreditCard"?: boolean;
|
|
380
380
|
"disablePaymentMethodGroup"?: boolean;
|
|
381
|
+
"fillBillingForm": (fields: BillingFormFields) => Promise<void>;
|
|
381
382
|
"iframeOrigin"?: string;
|
|
382
383
|
}
|
|
383
384
|
interface JustifiCheckoutCore {
|
|
@@ -388,6 +389,7 @@ export namespace Components {
|
|
|
388
389
|
"disableBnpl"?: boolean;
|
|
389
390
|
"disableCreditCard"?: boolean;
|
|
390
391
|
"disablePaymentMethodGroup"?: boolean;
|
|
392
|
+
"fillBillingForm": (fields: BillingFormFields) => Promise<void>;
|
|
391
393
|
"getCheckout": Function;
|
|
392
394
|
/**
|
|
393
395
|
* URL for the rendered iFrame. End-users need not use this.
|
|
@@ -427,11 +429,13 @@ export namespace Components {
|
|
|
427
429
|
}
|
|
428
430
|
interface JustifiNewPaymentMethod {
|
|
429
431
|
"accountId": string;
|
|
430
|
-
"
|
|
432
|
+
"authToken": string;
|
|
433
|
+
"fillBillingForm": (fields: BillingFormFields) => Promise<void>;
|
|
431
434
|
"iframeOrigin"?: string;
|
|
432
435
|
"isSelected": boolean;
|
|
436
|
+
"paymentMethodGroupId"?: string;
|
|
433
437
|
"paymentMethodOption": PaymentMethodOption;
|
|
434
|
-
"resolvePaymentMethod": () => Promise<PaymentMethodPayload>;
|
|
438
|
+
"resolvePaymentMethod": (insuranceValidation: any) => Promise<PaymentMethodPayload>;
|
|
435
439
|
}
|
|
436
440
|
interface JustifiOwnerForm {
|
|
437
441
|
"allowOptionalFields"?: boolean;
|
|
@@ -503,11 +507,14 @@ export namespace Components {
|
|
|
503
507
|
}
|
|
504
508
|
interface JustifiPaymentMethodOptions {
|
|
505
509
|
"accountId": string;
|
|
510
|
+
"authToken": string;
|
|
506
511
|
"bnpl": IBnpl;
|
|
507
|
-
"
|
|
512
|
+
"fillBillingForm": (fields: BillingFormFields) => Promise<void>;
|
|
508
513
|
"iframeOrigin"?: string;
|
|
514
|
+
"insuranceToggled": boolean;
|
|
509
515
|
"paymentAmount": number;
|
|
510
|
-
"
|
|
516
|
+
"paymentMethodGroupId"?: string;
|
|
517
|
+
"resolvePaymentMethod": (insuranceValidation: any) => Promise<PaymentMethodPayload>;
|
|
511
518
|
"savedPaymentMethods": any[];
|
|
512
519
|
"showAch": boolean;
|
|
513
520
|
"showBnpl": boolean;
|
|
@@ -553,6 +560,9 @@ export namespace Components {
|
|
|
553
560
|
"refs": any[];
|
|
554
561
|
}
|
|
555
562
|
/**
|
|
563
|
+
* @exportedPart label: Label for inputs
|
|
564
|
+
* @exportedPart input: The input fields
|
|
565
|
+
* @exportedPart input-invalid: Invalid state for inputs
|
|
556
566
|
* @exportedPart table-head: Table head
|
|
557
567
|
* @exportedPart table-head-row: Head row
|
|
558
568
|
* @exportedPart table-head-cell: Individual head cell
|
|
@@ -580,6 +590,9 @@ export namespace Components {
|
|
|
580
590
|
"payoutId": string;
|
|
581
591
|
}
|
|
582
592
|
/**
|
|
593
|
+
* @exportedPart label: Label for inputs
|
|
594
|
+
* @exportedPart input: The input fields
|
|
595
|
+
* @exportedPart input-invalid: Invalid state for inputs
|
|
583
596
|
* @exportedPart table-head: Table head
|
|
584
597
|
* @exportedPart table-head-row: Head row
|
|
585
598
|
* @exportedPart table-head-cell: Individual head cell
|
|
@@ -651,11 +664,13 @@ export namespace Components {
|
|
|
651
664
|
*/
|
|
652
665
|
"withButton"?: boolean;
|
|
653
666
|
}
|
|
667
|
+
interface JustifiSaveNewPaymentMethod {
|
|
668
|
+
}
|
|
654
669
|
interface JustifiSavedPaymentMethod {
|
|
655
670
|
"iframeOrigin"?: string;
|
|
656
671
|
"isSelected": boolean;
|
|
657
672
|
"paymentMethodOption": PaymentMethodOption;
|
|
658
|
-
"resolvePaymentMethod": () => Promise<PaymentMethodPayload>;
|
|
673
|
+
"resolvePaymentMethod": (insuranceValidation: any) => Promise<PaymentMethodPayload>;
|
|
659
674
|
}
|
|
660
675
|
interface JustifiSeasonInterruptionInsurance {
|
|
661
676
|
"authToken": string;
|
|
@@ -698,7 +713,7 @@ export namespace Components {
|
|
|
698
713
|
"isSelected": boolean;
|
|
699
714
|
"paymentAmount": number;
|
|
700
715
|
"paymentMethodOption": PaymentMethodOption;
|
|
701
|
-
"resolvePaymentMethod": () => Promise<PaymentMethodPayload>;
|
|
716
|
+
"resolvePaymentMethod": (insuranceValidation: any) => Promise<PaymentMethodPayload>;
|
|
702
717
|
}
|
|
703
718
|
interface JustifiSkeleton {
|
|
704
719
|
"component": string;
|
|
@@ -745,8 +760,10 @@ export namespace Components {
|
|
|
745
760
|
}
|
|
746
761
|
interface PayoutDetailsCore {
|
|
747
762
|
"getPayout": Function;
|
|
763
|
+
"getPayoutCSV": Function;
|
|
748
764
|
}
|
|
749
765
|
interface PayoutsListCore {
|
|
766
|
+
"getPayoutCSV": Function;
|
|
750
767
|
"getPayouts": Function;
|
|
751
768
|
}
|
|
752
769
|
/**
|
|
@@ -939,6 +956,10 @@ export interface JustifiRefundFormCustomEvent<T> extends CustomEvent<T> {
|
|
|
939
956
|
detail: T;
|
|
940
957
|
target: HTMLJustifiRefundFormElement;
|
|
941
958
|
}
|
|
959
|
+
export interface JustifiSaveNewPaymentMethodCustomEvent<T> extends CustomEvent<T> {
|
|
960
|
+
detail: T;
|
|
961
|
+
target: HTMLJustifiSaveNewPaymentMethodElement;
|
|
962
|
+
}
|
|
942
963
|
export interface JustifiSavedPaymentMethodCustomEvent<T> extends CustomEvent<T> {
|
|
943
964
|
detail: T;
|
|
944
965
|
target: HTMLJustifiSavedPaymentMethodElement;
|
|
@@ -1525,6 +1546,7 @@ declare global {
|
|
|
1525
1546
|
};
|
|
1526
1547
|
interface HTMLJustifiCheckoutElementEventMap {
|
|
1527
1548
|
"error-event": ComponentError;
|
|
1549
|
+
"loaded": ILoadedEventResponse;
|
|
1528
1550
|
}
|
|
1529
1551
|
interface HTMLJustifiCheckoutElement extends Components.JustifiCheckout, HTMLStencilElement {
|
|
1530
1552
|
addEventListener<K extends keyof HTMLJustifiCheckoutElementEventMap>(type: K, listener: (this: HTMLJustifiCheckoutElement, ev: JustifiCheckoutCustomEvent<HTMLJustifiCheckoutElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -1543,6 +1565,7 @@ declare global {
|
|
|
1543
1565
|
interface HTMLJustifiCheckoutCoreElementEventMap {
|
|
1544
1566
|
"submitted": ICheckoutCompleteResponse;
|
|
1545
1567
|
"error-event": ComponentError;
|
|
1568
|
+
"loaded": ILoadedEventResponse1;
|
|
1546
1569
|
}
|
|
1547
1570
|
interface HTMLJustifiCheckoutCoreElement extends Components.JustifiCheckoutCore, HTMLStencilElement {
|
|
1548
1571
|
addEventListener<K extends keyof HTMLJustifiCheckoutCoreElementEventMap>(type: K, listener: (this: HTMLJustifiCheckoutCoreElement, ev: JustifiCheckoutCoreCustomEvent<HTMLJustifiCheckoutCoreElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -1844,6 +1867,9 @@ declare global {
|
|
|
1844
1867
|
"error-event": ComponentError;
|
|
1845
1868
|
}
|
|
1846
1869
|
/**
|
|
1870
|
+
* @exportedPart label: Label for inputs
|
|
1871
|
+
* @exportedPart input: The input fields
|
|
1872
|
+
* @exportedPart input-invalid: Invalid state for inputs
|
|
1847
1873
|
* @exportedPart table-head: Table head
|
|
1848
1874
|
* @exportedPart table-head-row: Head row
|
|
1849
1875
|
* @exportedPart table-head-cell: Individual head cell
|
|
@@ -1897,6 +1923,9 @@ declare global {
|
|
|
1897
1923
|
"error-event": ComponentError;
|
|
1898
1924
|
}
|
|
1899
1925
|
/**
|
|
1926
|
+
* @exportedPart label: Label for inputs
|
|
1927
|
+
* @exportedPart input: The input fields
|
|
1928
|
+
* @exportedPart input-invalid: Invalid state for inputs
|
|
1900
1929
|
* @exportedPart table-head: Table head
|
|
1901
1930
|
* @exportedPart table-head-row: Head row
|
|
1902
1931
|
* @exportedPart table-head-cell: Individual head cell
|
|
@@ -1982,6 +2011,23 @@ declare global {
|
|
|
1982
2011
|
prototype: HTMLJustifiRefundFormElement;
|
|
1983
2012
|
new (): HTMLJustifiRefundFormElement;
|
|
1984
2013
|
};
|
|
2014
|
+
interface HTMLJustifiSaveNewPaymentMethodElementEventMap {
|
|
2015
|
+
"checkboxChanged": boolean;
|
|
2016
|
+
}
|
|
2017
|
+
interface HTMLJustifiSaveNewPaymentMethodElement extends Components.JustifiSaveNewPaymentMethod, HTMLStencilElement {
|
|
2018
|
+
addEventListener<K extends keyof HTMLJustifiSaveNewPaymentMethodElementEventMap>(type: K, listener: (this: HTMLJustifiSaveNewPaymentMethodElement, ev: JustifiSaveNewPaymentMethodCustomEvent<HTMLJustifiSaveNewPaymentMethodElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2019
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2020
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2021
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2022
|
+
removeEventListener<K extends keyof HTMLJustifiSaveNewPaymentMethodElementEventMap>(type: K, listener: (this: HTMLJustifiSaveNewPaymentMethodElement, ev: JustifiSaveNewPaymentMethodCustomEvent<HTMLJustifiSaveNewPaymentMethodElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2023
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2024
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2025
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2026
|
+
}
|
|
2027
|
+
var HTMLJustifiSaveNewPaymentMethodElement: {
|
|
2028
|
+
prototype: HTMLJustifiSaveNewPaymentMethodElement;
|
|
2029
|
+
new (): HTMLJustifiSaveNewPaymentMethodElement;
|
|
2030
|
+
};
|
|
1985
2031
|
interface HTMLJustifiSavedPaymentMethodElementEventMap {
|
|
1986
2032
|
"paymentMethodOptionSelected": any;
|
|
1987
2033
|
}
|
|
@@ -2282,6 +2328,7 @@ declare global {
|
|
|
2282
2328
|
"justifi-payouts-list": HTMLJustifiPayoutsListElement;
|
|
2283
2329
|
"justifi-proceeds-list": HTMLJustifiProceedsListElement;
|
|
2284
2330
|
"justifi-refund-form": HTMLJustifiRefundFormElement;
|
|
2331
|
+
"justifi-save-new-payment-method": HTMLJustifiSaveNewPaymentMethodElement;
|
|
2285
2332
|
"justifi-saved-payment-method": HTMLJustifiSavedPaymentMethodElement;
|
|
2286
2333
|
"justifi-season-interruption-insurance": HTMLJustifiSeasonInterruptionInsuranceElement;
|
|
2287
2334
|
"justifi-season-interruption-insurance-core": HTMLJustifiSeasonInterruptionInsuranceCoreElement;
|
|
@@ -2694,6 +2741,7 @@ declare namespace LocalJSX {
|
|
|
2694
2741
|
"disablePaymentMethodGroup"?: boolean;
|
|
2695
2742
|
"iframeOrigin"?: string;
|
|
2696
2743
|
"onError-event"?: (event: JustifiCheckoutCustomEvent<ComponentError>) => void;
|
|
2744
|
+
"onLoaded"?: (event: JustifiCheckoutCustomEvent<ILoadedEventResponse>) => void;
|
|
2697
2745
|
}
|
|
2698
2746
|
interface JustifiCheckoutCore {
|
|
2699
2747
|
"authToken"?: string;
|
|
@@ -2709,6 +2757,7 @@ declare namespace LocalJSX {
|
|
|
2709
2757
|
*/
|
|
2710
2758
|
"iframeOrigin"?: string;
|
|
2711
2759
|
"onError-event"?: (event: JustifiCheckoutCoreCustomEvent<ComponentError>) => void;
|
|
2760
|
+
"onLoaded"?: (event: JustifiCheckoutCoreCustomEvent<ILoadedEventResponse1>) => void;
|
|
2712
2761
|
"onSubmitted"?: (event: JustifiCheckoutCoreCustomEvent<ICheckoutCompleteResponse>) => void;
|
|
2713
2762
|
}
|
|
2714
2763
|
interface JustifiDetails {
|
|
@@ -2747,10 +2796,11 @@ declare namespace LocalJSX {
|
|
|
2747
2796
|
}
|
|
2748
2797
|
interface JustifiNewPaymentMethod {
|
|
2749
2798
|
"accountId"?: string;
|
|
2750
|
-
"
|
|
2799
|
+
"authToken"?: string;
|
|
2751
2800
|
"iframeOrigin"?: string;
|
|
2752
2801
|
"isSelected"?: boolean;
|
|
2753
2802
|
"onPaymentMethodOptionSelected"?: (event: JustifiNewPaymentMethodCustomEvent<any>) => void;
|
|
2803
|
+
"paymentMethodGroupId"?: string;
|
|
2754
2804
|
"paymentMethodOption"?: PaymentMethodOption;
|
|
2755
2805
|
}
|
|
2756
2806
|
interface JustifiOwnerForm {
|
|
@@ -2825,11 +2875,13 @@ declare namespace LocalJSX {
|
|
|
2825
2875
|
}
|
|
2826
2876
|
interface JustifiPaymentMethodOptions {
|
|
2827
2877
|
"accountId"?: string;
|
|
2878
|
+
"authToken"?: string;
|
|
2828
2879
|
"bnpl"?: IBnpl;
|
|
2829
|
-
"clientId"?: string;
|
|
2830
2880
|
"iframeOrigin"?: string;
|
|
2881
|
+
"insuranceToggled"?: boolean;
|
|
2831
2882
|
"onToggleCreatingNewPaymentMethod"?: (event: JustifiPaymentMethodOptionsCustomEvent<any>) => void;
|
|
2832
2883
|
"paymentAmount"?: number;
|
|
2884
|
+
"paymentMethodGroupId"?: string;
|
|
2833
2885
|
"savedPaymentMethods"?: any[];
|
|
2834
2886
|
"showAch"?: boolean;
|
|
2835
2887
|
"showBnpl"?: boolean;
|
|
@@ -2881,6 +2933,9 @@ declare namespace LocalJSX {
|
|
|
2881
2933
|
"refs"?: any[];
|
|
2882
2934
|
}
|
|
2883
2935
|
/**
|
|
2936
|
+
* @exportedPart label: Label for inputs
|
|
2937
|
+
* @exportedPart input: The input fields
|
|
2938
|
+
* @exportedPart input-invalid: Invalid state for inputs
|
|
2884
2939
|
* @exportedPart table-head: Table head
|
|
2885
2940
|
* @exportedPart table-head-row: Head row
|
|
2886
2941
|
* @exportedPart table-head-cell: Individual head cell
|
|
@@ -2910,6 +2965,9 @@ declare namespace LocalJSX {
|
|
|
2910
2965
|
"payoutId"?: string;
|
|
2911
2966
|
}
|
|
2912
2967
|
/**
|
|
2968
|
+
* @exportedPart label: Label for inputs
|
|
2969
|
+
* @exportedPart input: The input fields
|
|
2970
|
+
* @exportedPart input-invalid: Invalid state for inputs
|
|
2913
2971
|
* @exportedPart table-head: Table head
|
|
2914
2972
|
* @exportedPart table-head-row: Head row
|
|
2915
2973
|
* @exportedPart table-head-cell: Individual head cell
|
|
@@ -2987,6 +3045,9 @@ declare namespace LocalJSX {
|
|
|
2987
3045
|
*/
|
|
2988
3046
|
"withButton"?: boolean;
|
|
2989
3047
|
}
|
|
3048
|
+
interface JustifiSaveNewPaymentMethod {
|
|
3049
|
+
"onCheckboxChanged"?: (event: JustifiSaveNewPaymentMethodCustomEvent<boolean>) => void;
|
|
3050
|
+
}
|
|
2990
3051
|
interface JustifiSavedPaymentMethod {
|
|
2991
3052
|
"iframeOrigin"?: string;
|
|
2992
3053
|
"isSelected"?: boolean;
|
|
@@ -3086,9 +3147,11 @@ declare namespace LocalJSX {
|
|
|
3086
3147
|
}
|
|
3087
3148
|
interface PayoutDetailsCore {
|
|
3088
3149
|
"getPayout"?: Function;
|
|
3150
|
+
"getPayoutCSV"?: Function;
|
|
3089
3151
|
"onError-event"?: (event: PayoutDetailsCoreCustomEvent<ComponentError>) => void;
|
|
3090
3152
|
}
|
|
3091
3153
|
interface PayoutsListCore {
|
|
3154
|
+
"getPayoutCSV"?: Function;
|
|
3092
3155
|
"getPayouts"?: Function;
|
|
3093
3156
|
"onError-event"?: (event: PayoutsListCoreCustomEvent<ComponentError>) => void;
|
|
3094
3157
|
"onPayout-row-clicked"?: (event: PayoutsListCoreCustomEvent<Payout>) => void;
|
|
@@ -3181,6 +3244,7 @@ declare namespace LocalJSX {
|
|
|
3181
3244
|
"justifi-payouts-list": JustifiPayoutsList;
|
|
3182
3245
|
"justifi-proceeds-list": JustifiProceedsList;
|
|
3183
3246
|
"justifi-refund-form": JustifiRefundForm;
|
|
3247
|
+
"justifi-save-new-payment-method": JustifiSaveNewPaymentMethod;
|
|
3184
3248
|
"justifi-saved-payment-method": JustifiSavedPaymentMethod;
|
|
3185
3249
|
"justifi-season-interruption-insurance": JustifiSeasonInterruptionInsurance;
|
|
3186
3250
|
"justifi-season-interruption-insurance-core": JustifiSeasonInterruptionInsuranceCore;
|
|
@@ -3381,6 +3445,9 @@ declare module "@stencil/core" {
|
|
|
3381
3445
|
"justifi-payment-provisioning-form-buttons": LocalJSX.JustifiPaymentProvisioningFormButtons & JSXBase.HTMLAttributes<HTMLJustifiPaymentProvisioningFormButtonsElement>;
|
|
3382
3446
|
"justifi-payment-provisioning-form-steps": LocalJSX.JustifiPaymentProvisioningFormSteps & JSXBase.HTMLAttributes<HTMLJustifiPaymentProvisioningFormStepsElement>;
|
|
3383
3447
|
/**
|
|
3448
|
+
* @exportedPart label: Label for inputs
|
|
3449
|
+
* @exportedPart input: The input fields
|
|
3450
|
+
* @exportedPart input-invalid: Invalid state for inputs
|
|
3384
3451
|
* @exportedPart table-head: Table head
|
|
3385
3452
|
* @exportedPart table-head-row: Head row
|
|
3386
3453
|
* @exportedPart table-head-cell: Individual head cell
|
|
@@ -3402,6 +3469,9 @@ declare module "@stencil/core" {
|
|
|
3402
3469
|
"justifi-payments-list": LocalJSX.JustifiPaymentsList & JSXBase.HTMLAttributes<HTMLJustifiPaymentsListElement>;
|
|
3403
3470
|
"justifi-payout-details": LocalJSX.JustifiPayoutDetails & JSXBase.HTMLAttributes<HTMLJustifiPayoutDetailsElement>;
|
|
3404
3471
|
/**
|
|
3472
|
+
* @exportedPart label: Label for inputs
|
|
3473
|
+
* @exportedPart input: The input fields
|
|
3474
|
+
* @exportedPart input-invalid: Invalid state for inputs
|
|
3405
3475
|
* @exportedPart table-head: Table head
|
|
3406
3476
|
* @exportedPart table-head-row: Head row
|
|
3407
3477
|
* @exportedPart table-head-cell: Individual head cell
|
|
@@ -3442,6 +3512,7 @@ declare module "@stencil/core" {
|
|
|
3442
3512
|
*/
|
|
3443
3513
|
"justifi-proceeds-list": LocalJSX.JustifiProceedsList & JSXBase.HTMLAttributes<HTMLJustifiProceedsListElement>;
|
|
3444
3514
|
"justifi-refund-form": LocalJSX.JustifiRefundForm & JSXBase.HTMLAttributes<HTMLJustifiRefundFormElement>;
|
|
3515
|
+
"justifi-save-new-payment-method": LocalJSX.JustifiSaveNewPaymentMethod & JSXBase.HTMLAttributes<HTMLJustifiSaveNewPaymentMethodElement>;
|
|
3445
3516
|
"justifi-saved-payment-method": LocalJSX.JustifiSavedPaymentMethod & JSXBase.HTMLAttributes<HTMLJustifiSavedPaymentMethodElement>;
|
|
3446
3517
|
"justifi-season-interruption-insurance": LocalJSX.JustifiSeasonInterruptionInsurance & JSXBase.HTMLAttributes<HTMLJustifiSeasonInterruptionInsuranceElement>;
|
|
3447
3518
|
"justifi-season-interruption-insurance-core": LocalJSX.JustifiSeasonInterruptionInsuranceCore & JSXBase.HTMLAttributes<HTMLJustifiSeasonInterruptionInsuranceCoreElement>;
|
|
@@ -26,6 +26,7 @@ export declare const MapSubAccountStatusToBadge: (status: string) => "<span clas
|
|
|
26
26
|
*/
|
|
27
27
|
export declare function snakeCaseToHumanReadable(snakeCaseStr: string): string;
|
|
28
28
|
export declare function camelToKebab(str: string): string;
|
|
29
|
+
export declare function snakeToCamel(str: string): string;
|
|
29
30
|
export declare function flattenNestedObject(obj: any): {};
|
|
30
31
|
export declare function composeQueryParams(values: string[]): string;
|
|
31
32
|
export declare function loadFontsOnParent(): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t}from"./p-
|
|
1
|
+
import{p as t}from"./p-667a5aa8.js";import{c as i}from"./p-ae263544.js";import{A as s}from"./p-29c0b182.js";class e{async record(t){return s({apiOrigin:i.proxyApiOrigin}).post("analytics",JSON.stringify(t))}}class r{constructor(t){this.handleCustomEvent=async t=>{await this.service.record(t)},this.service=new e,this.componentInstance=t,this.setUpBasicData(),this.setupLifecycleTracking(),this.trackCustomEvents()}get resourceId(){return this.componentInstance.accountId||this.componentInstance.businessId||this.componentInstance.paymentId||this.componentInstance.payoutId||this.componentInstance.checkoutId}setUpBasicData(){this.basicData={component_name:this.componentInstance.tagName,component_version:t.version,client_user_agent:navigator.userAgent,client_platform:navigator.userAgent,client_origin:window.location.origin,resource_id:this.resourceId}}trackCustomEvents(){this.eventEmitters=["submitted","error-event"],this.eventEmitters.forEach((t=>{"function"==typeof this.componentInstance.addEventListener&&this.componentInstance.addEventListener(t,(i=>this.handleCustomEvent({event_type:t,data:Object.assign(Object.assign({},this.basicData),{error:i.detail})})))}))}setupLifecycleTracking(){const t=this.componentInstance.componentDidLoad;this.componentInstance.componentDidLoad=()=>{if(this.service.record({event_type:"init",data:this.basicData}),t)return t.apply(this.componentInstance)}}cleanup(){this.eventEmitters.forEach((t=>{this.componentInstance.removeEventListener(t,this.handleCustomEvent)}))}}export{r as J}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as e}from"./p-fad19d75.js";import{E as a}from"./p-e1651130.js";import{S as i}from"./p-87932e16.js";const s=class{constructor(e){t(this,e),this.errorMessage=void 0}render(){return e(i,{key:"636b56646441cc0588b3eb1ae44a371a36274d5c",exportParts:"detail-empty-state, detail-metadata-title, detail-metadata, detail-section, detail-section-title, \n detail-section-item-title, detail-section-item-data, detail-head, detail-title, detail-head-info"},this.errorMessage?a(this.errorMessage):e("main",{class:"p-2"},e("slot",{name:"head-info"}),e("slot",{name:"detail-sections"})))}};export{s as justifi_details}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as e,r as t,c as a}from"./p-fad19d75.js";import{p as s}from"./p-56f6ce4c.js";import"./p-e8706cc4.js";import{a as o,b as r}from"./p-e3fab0e2.js";import{f as i,a as c,b as n}from"./p-e8c651b8.js";import{t as d}from"./p-2b6c9c4f.js";import{a as h,C as p}from"./p-14c91ffd.js";import{S as u}from"./p-87932e16.js";const l=t=>e("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},t),e("path",{d:"M12 15.5l-5-5 1.41-1.41L12 12.67l3.59-3.58L17 10.5l-5 5z"}),e("path",{d:"M11 4h2v9h-2z"}),e("path",{d:"M5 18h14v2H5z"})),f=class{constructor(e){t(this,e),this.rowClicked=a(this,"payout-row-clicked",7),this.errorEvent=a(this,"error-event",7),this.mapStatusToBadge=e=>{switch(e){case o.scheduled:return`<span class="badge bg-primary" title='Batched and scheduled to be transferred'>${r[e]}</span>`;case o.in_transit:return`<span class="badge bg-primary" title='Transfer to your bank account has been initiated'>${r[e]}</span>`;case o.failed:case o.canceled:return`<span class="badge bg-danger" title='Transfer to your bank account failed'>${r[e]}</span>`;case o.forwarded:return`<span class="badge bg-secondary" title='This payout initially failed; the funds have been forwarded to your next successful payout'>${r[e]}</span>`;case o.paid:return`<span class="badge bg-success" title='Successfully deposited into your bank account'>${r[e]}</span>`}},this.handleClickPrevious=e=>{const t=Object.assign({},this.params);delete t.after_cursor,this.params=Object.assign(Object.assign({},t),{before_cursor:e})},this.handleClickNext=e=>{const t=Object.assign({},this.params);delete t.before_cursor,this.params=Object.assign(Object.assign({},t),{after_cursor:e})},this.downloadCSV=e=>{this.getPayoutCSV({payoutId:e,onError:()=>{this.errorEvent.emit({errorCode:h.FETCH_ERROR,message:"Failed to download CSV",severity:p.ERROR})}})},this.handleDateChange=(e,t)=>{this.params=Object.assign(Object.assign({},this.params),{[e]:t})},this.getPayouts=void 0,this.getPayoutCSV=void 0,this.payouts=[],this.loading=!0,this.errorMessage=void 0,this.paging=s,this.params=void 0}componentWillLoad(){this.getPayouts&&this.fetchData()}updateOnPropChange(){this.fetchData()}fetchData(){this.loading=!0,this.getPayouts({params:this.params,onSuccess:({payouts:e,pagingInfo:t})=>{this.payouts=e,this.paging=t,this.loading=!1},onError:({error:e,code:t,severity:a})=>{this.errorMessage=e,this.errorEvent.emit({errorCode:t,message:e,severity:a}),this.loading=!1}})}render(){return e(u,{key:"469e4d0a5fcb7370d0d076e9f27cf5102235324e",exportedparts:d},e("div",{key:"883f193b2da3cdd3da3f31422def69d206ead983",class:"row gy-3 mb-4"},e("div",{key:"585684441aeded4619f9a0f03151b5e8dd2219d8",class:"col-2"},e("form-control-date",{key:"bc69d932f1d32074b3f0fdd2c9dba6f9601db891",name:"created_after",label:"Date from:",inputHandler:this.handleDateChange})),e("div",{key:"d026150a6a09ad49f549ea2b5174a1ed311987dc",class:"col-2"},e("form-control-date",{key:"2621b14359b8159270d67e53f9ad2f6464cbb467",name:"created_before",label:"Date to:",inputHandler:this.handleDateChange}))),e("justifi-table",{key:"757c9bbee39356ee23819f0e7e4d3b096bdf38f6",rowClickHandler:e=>{const t=e.target.closest("tr").dataset.rowEntityId;t&&this.rowClicked.emit(this.payouts.find((e=>e.id===t)))},columnData:[["Paid Out On","The date each transaction occurred"],["Type","The type of each transaction"],["Account","The ID of the account associated with each payout"],["Paid Out To","The bank account to which each payout was transferred"],["Payments","Sum of payments in each payout"],["Refunds","Sum of refunds in each payout"],["Fees","Sum of fees in each payout"],["Other","Sum of less common transactions in each payout (disputes, ACH returns, fee refunds, and forwarded balances due to failed payouts)"],["Payout Amount","The net sum of all transactions in each payout. This is the amount you'll see reflected on your bank statement"],["Status","The real-time status of each payout"],["Actions",""]],entityId:this.payouts.map((e=>e.id)),rowData:this.payouts.map((t=>[{type:"head",value:`\n <div class='fw-bold'>${i(t.created_at)}</div>\n <div class='fw-bold'>${c(t.created_at)}</div>\n `},t.payout_type,t.account_id,`${t.bank_account.full_name} ${t.bank_account.account_number_last4}`,n(t.payments_total),n(t.refunds_total),n(t.fees_total),n(t.other_total),n(t.amount),{type:"inner",value:this.mapStatusToBadge(t.status)},e(l,{title:"Export CSV",onClick:()=>this.downloadCSV(t.id),style:{height:"24px",width:"24px",cursor:"pointer"}})])),loading:this.loading,"error-message":this.errorMessage,params:this.params,paging:Object.assign(Object.assign({},this.paging),{handleClickNext:this.handleClickNext,handleClickPrevious:this.handleClickPrevious})}))}static get watchers(){return{params:["updateOnPropChange"],getPayouts:["updateOnPropChange"]}}};export{f as payouts_list_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,c as i,h as t,H as r}from"./p-
|
|
1
|
+
import{r as s,c as i,h as t,H as r}from"./p-fad19d75.js";import{E as e}from"./p-e1651130.js";import{B as o}from"./p-ed844504.js";import{B as a}from"./p-af244664.js";import{C as n,a as h}from"./p-14c91ffd.js";import{g as p,a as d}from"./p-8115b2f4.js";import{J as c}from"./p-092e080c.js";import"./p-ae263544.js";import"./p-29c0b182.js";import"./p-1ff8810b.js";import"./p-6078a370.js";import"./p-667a5aa8.js";const m=class{constructor(t){s(this,t),this.errorEvent=i(this,"error-event",7),this.businessId=void 0,this.authToken=void 0,this.errorMessage=void 0,this.getBusiness=void 0}componentWillLoad(){this.analytics=new c(this),this.initializeGetBusiness()}disconnectedCallback(){this.analytics.cleanup()}initializeGetBusiness(){if(!this.businessId||!this.authToken)return this.errorMessage="Invalid business id or auth token",void this.errorEvent.emit({errorCode:h.MISSING_PROPS,message:this.errorMessage,severity:n.ERROR});this.getBusiness=(({id:s,authToken:i,service:t})=>async({onSuccess:r,onError:e})=>{var o;try{const h=await t.fetchBusiness(s,i);if(h.error)return e({error:p(h.error),code:d(null===(o=h.error)||void 0===o?void 0:o.code),severity:n.ERROR});r({business:new a(h.data)})}catch(s){const i=d(null==s?void 0:s.code);return e({error:s.message||s,code:i,severity:n.ERROR})}})({id:this.businessId,authToken:this.authToken,service:new o})}render(){return t(r,null,this.errorMessage?e(this.errorMessage):t("business-details-core",{getBusiness:this.getBusiness}))}};export{m as justifi_business_details}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,c as n,h as o,H as i}from"./p-fad19d75.js";import{p as t}from"./p-667a5aa8.js";import{p as r}from"./p-e8c651b8.js";var a,s={exports:{}};a=s,console.info("\nIFRAME-RESIZER\n\nIframe-Resizer 5 is now available via the following two packages:\n\n * @iframe-resizer/parent\n * @iframe-resizer/child\n\nAdditionally their are also new versions of iframe-resizer for React, Vue, and jQuery.\n\nVersion 5 of iframe-resizer has been extensively rewritten to use modern browser APIs, which has enabled significantly better performance and greater accuracy in the detection of content resizing events.\n\nPlease see https://iframe-resizer.com/upgrade for more details.\n"),function(e){if("undefined"!=typeof window){var n,o,i=0,t=!1,r=!1,s=7,c="[iFrameSizer]",d=c.length,f=null,u=window.requestAnimationFrame,l=Object.freeze({max:1,scroll:1,bodyScroll:1,documentElementScroll:1}),m={},h=null,w=Object.freeze({autoResize:!0,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!1,enablePublicMethods:!0,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,license:"1jqr0si6pnt",log:!1,maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,mouseEvents:!0,resizeFrom:"parent",scrolling:!1,sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,widthCalculationMethod:"scroll",onClose:function(){return!0},onClosed:function(){},onInit:function(){},onMessage:function(){z("onMessage function not defined")},onMouseEnter:function(){},onMouseLeave:function(){},onResized:function(){},onScroll:function(){return!0}}),b={};window.jQuery!==e&&((o=window.jQuery).fn?o.fn.iFrameResize||(o.fn.iFrameResize=function(e){return this.filter("iframe").each((function(n,o){H(o,e)})).end()}):k("","Unable to bind to jQuery, it is not fully loaded.")),"function"==typeof e&&e.amd?e([],q):a.exports=q(),window.iFrameResize=window.iFrameResize||q()}function g(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function p(e,n,o){e.addEventListener(n,o,!1)}function y(e,n,o){e.removeEventListener(n,o,!1)}function v(e){return m[e]?m[e].log:t}function j(e,n){x("log",e,n,v(e))}function k(e,n){x("info",e,n,v(e))}function z(e,n){x("warn",e,n,!0)}function x(e,n,o,i){!0===i&&"object"==typeof window.console&&console[e](function(e){return c+"["+function(e){var n="Host page: "+e;return window.top!==window.self&&(n=window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+e:"Nested host page: "+e),n}(e)+"]"}(n),o)}function F(e){function n(){o("Height"),o("Width"),E((function(){W(L),R(V),h("onResized",L)}),L,"init")}function o(e){var n=Number(m[V]["max"+e]),o=Number(m[V]["min"+e]),i=e.toLowerCase(),t=Number(L[i]);j(V,"Checking "+i+" is in range "+o+"-"+n),t<o&&(t=o,j(V,"Set "+i+" to min value")),t>n&&(t=n,j(V,"Set "+i+" to max value")),L[i]=""+t}function i(e){return H.slice(H.indexOf(":")+s+e)}function t(e,n){var o,i;o=function(){var o,i;N("Send Page Info","pageInfo:"+(o=document.body.getBoundingClientRect(),i=L.iframe.getBoundingClientRect(),JSON.stringify({iframeHeight:i.height,iframeWidth:i.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(i.top-o.top,10),offsetLeft:parseInt(i.left-o.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,documentHeight:document.documentElement.clientHeight,documentWidth:document.documentElement.clientWidth,windowHeight:window.innerHeight,windowWidth:window.innerWidth})),e,n)},b[i=n]||(b[i]=setTimeout((function(){b[i]=null,o()}),32))}function r(e){var n=e.getBoundingClientRect();return O(V),{x:Math.floor(Number(n.left)+Number(f.x)),y:Math.floor(Number(n.top)+Number(f.y))}}function a(e){var n=e?r(L.iframe):{x:0,y:0},o={x:Number(L.width)+n.x,y:Number(L.height)+n.y};j(V,"Reposition requested from iFrame (offset x:"+n.x+" y:"+n.y+")"),window.top===window.self?(f=o,u(),j(V,"--")):window.parentIFrame?window.parentIFrame["scrollTo"+(e?"Offset":"")](o.x,o.y):z(V,"Unable to scroll to requested position, window.parentIFrame not found")}function u(){!1===h("onScroll",f)?T():R(V)}function l(e){var n={};if(0===Number(L.width)&&0===Number(L.height)){var o=i(9).split(":");n={x:o[1],y:o[0]}}else n={x:L.width,y:L.height};h(e,{iframe:L.iframe,screenX:Number(n.x),screenY:Number(n.y),type:L.type})}function h(e,n){return M(V,e,n)}var w,g,v,x,F,I,H=e.data,L={},V=null;"[iFrameResizerChild]Ready"===H?function(){for(var e in m)N("iFrame requested init",A(e),m[e].iframe,e)}():c===(""+H).slice(0,d)&&H.slice(d).split(":")[0]in m?(x=(v=H.slice(d).split(":"))[1]?parseInt(v[1],10):0,F=m[v[0]]&&m[v[0]].iframe,I=getComputedStyle(F),L={iframe:F,id:v[0],height:x+function(e){return"border-box"!==e.boxSizing?0:(e.paddingTop?parseInt(e.paddingTop,10):0)+(e.paddingBottom?parseInt(e.paddingBottom,10):0)}(I)+function(e){return"border-box"!==e.boxSizing?0:(e.borderTopWidth?parseInt(e.borderTopWidth,10):0)+(e.borderBottomWidth?parseInt(e.borderBottomWidth,10):0)}(I),width:v[2],type:v[3]},m[V=L.id]&&(m[V].loaded=!0),(g=L.type in{true:1,false:1,undefined:1})&&j(V,"Ignoring init message from meta parent page"),!g&&function(e){var n=!0;return m[e]||(n=!1,z(L.type+" No settings for "+e+". Message was: "+H)),n}(V)&&(j(V,"Received: "+H),w=!0,null===L.iframe&&(z(V,"IFrame ("+L.id+") not found"),w=!1),w&&function(){var n,o=e.origin,i=m[V]&&m[V].checkOrigin;if(i&&""+o!="null"&&!(i.constructor===Array?function(){var e=0,n=!1;for(j(V,"Checking connection is from allowed list of origins: "+i);e<i.length;e++)if(i[e]===o){n=!0;break}return n}():(j(V,"Checking connection is from: "+(n=m[V]&&m[V].remoteHost)),o===n)))throw new Error("Unexpected message received from: "+o+" for "+L.iframe.id+". Message was: "+e.data+". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.");return!0}()&&function(){switch(m[V]&&m[V].firstRun&&m[V]&&(m[V].firstRun=!1),L.type){case"close":S(L.iframe);break;case"message":d=i(6),j(V,"onMessage passed: {iframe: "+L.iframe.id+", message: "+d+"}"),h("onMessage",{iframe:L.iframe,message:JSON.parse(d)}),j(V,"--");break;case"mouseenter":l("onMouseEnter");break;case"mouseleave":l("onMouseLeave");break;case"autoResize":m[V].autoResize=JSON.parse(i(9));break;case"scrollTo":a(!1);break;case"scrollToOffset":a(!0);break;case"pageInfo":t(m[V]&&m[V].iframe,V),function(){function e(e,i){function r(){m[o]?t(m[o].iframe,o):n()}["scroll","resize"].forEach((function(n){j(o,e+n+" listener for sendPageInfo"),i(window,n,r)}))}function n(){e("Remove ",y)}var o=V;e("Add ",p),m[o]&&(m[o].stopPageInfo=n)}();break;case"pageInfoStop":m[V]&&m[V].stopPageInfo&&(m[V].stopPageInfo(),delete m[V].stopPageInfo);break;case"inPageLink":o=i(9).split("#")[1]||"",s=decodeURIComponent(o),(c=document.getElementById(s)||document.getElementsByName(s)[0])?(e=r(c),j(V,"Moving to in page link (#"+o+") at x: "+e.x+" y: "+e.y),f={x:e.x,y:e.y},u(),j(V,"--")):window.top===window.self?j(V,"In page link #"+o+" not found"):window.parentIFrame?window.parentIFrame.moveToAnchor(o):j(V,"In page link #"+o+" not found and window.parentIFrame not found");break;case"reset":C(L);break;case"init":n(),h("onInit",L.iframe);break;default:0===Number(L.width)&&0===Number(L.height)?z("Unsupported message received ("+L.type+"), this is likely due to the iframe containing a later version of iframe-resizer than the parent page"):n()}var e,o,s,c,d}())):k(V,"Ignored: "+H)}function M(e,n,o){var i=null,t=null;if(m[e]){if("function"!=typeof(i=m[e][n]))throw new TypeError(n+" on iFrame["+e+"] is not a function");t=i(o)}return t}function I(e){delete m[e.id]}function S(e){var o=e.id;if(!1!==M(o,"onClose",o)){j(o,"Removing iFrame: "+o);try{e.parentNode&&e.parentNode.removeChild(e)}catch(e){z(e)}M(o,"onClosed",o),j(o,"--"),I(e),n&&(n.disconnect(),n=null)}else j(o,"Close iframe cancelled by onClose event")}function O(n){null===f&&j(n,"Get page position: "+(f={x:window.pageXOffset===e?document.documentElement.scrollLeft:window.pageXOffset,y:window.pageYOffset===e?document.documentElement.scrollTop:window.pageYOffset}).x+","+f.y)}function R(e){null!==f&&(window.scrollTo(f.x,f.y),j(e,"Set page position: "+f.x+","+f.y),T())}function T(){f=null}function C(e){j(e.id,"Size reset requested by "+("init"===e.type?"host page":"iFrame")),O(e.id),E((function(){W(e),N("reset","reset",e.iframe,e.id)}),e,"reset")}function W(e){function n(n){r||"0"!==e[n]||(r=!0,j(i,"Hidden iFrame detected, creating visibility listener"),function(){function e(){Object.keys(m).forEach((function(e){!function(e){function n(n){return"0px"===(m[e]&&m[e].iframe.style[n])}m[e]&&null!==m[e].iframe.offsetParent&&(n("height")||n("width"))&&N("Visibility change","resize",m[e].iframe,e)}(e)}))}function n(n){j("window","Mutation observed: "+n[0].target+" "+n[0].type),L(e,16)}var o,i=g();i&&(o=document.querySelector("body"),new i(n).observe(o,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0}))}())}function o(o){!function(n){e.id?(e.iframe.style[n]=e[n]+"px",j(e.id,"IFrame ("+i+") "+n+" set to "+e[n]+"px")):j("undefined","messageData id not set")}(o),n(o)}var i=e.iframe.id;m[i]&&(m[i].sizeHeight&&o("height"),m[i].sizeWidth&&o("width"))}function E(e,n,o){o!==n.type&&u&&!window.jasmine?(j(n.id,"Requesting animation frame"),u(e)):e()}function N(e,n,o,i,t){var r,a=!1;m[i=i||o.id]&&(o&&"contentWindow"in o&&null!==o.contentWindow?(j(i,"["+e+"] Sending msg to iframe["+i+"] ("+n+") targetOrigin: "+(r=m[i]&&m[i].targetOrigin)),o.contentWindow.postMessage(c+n,r)):z(i,"["+e+"] IFrame("+i+") not found"),t&&m[i]&&m[i].warningTimeout&&(m[i].msgTimeout=setTimeout((function(){!m[i]||m[i].loaded||a||(a=!0,z(i,"IFrame has not responded within "+m[i].warningTimeout/1e3+" seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ignored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning."))}),m[i].warningTimeout)))}function A(e){return e+":"+m[e].bodyMarginV1+":"+m[e].sizeWidth+":"+m[e].log+":"+m[e].interval+":"+m[e].enablePublicMethods+":"+m[e].autoResize+":"+m[e].bodyMargin+":"+m[e].heightCalculationMethod+":"+m[e].bodyBackground+":"+m[e].bodyPadding+":"+m[e].tolerance+":"+m[e].inPageLinks+":"+m[e].resizeFrom+":"+m[e].widthCalculationMethod+":"+m[e].mouseEvents}function H(o,r){function a(e){var n=e.split("Callback");if(2===n.length){var o="on"+n[0].charAt(0).toUpperCase()+n[0].slice(1);this[o]=this[e],delete this[e],z(d,"Deprecated: '"+e+"' has been renamed '"+o+"'. The old method will be removed in the next major version.")}}var s,c,d=function(e){if("string"!=typeof e)throw new TypeError("Invaild id for iFrame. Expected String");var n;return""===e&&(o.id=(n=r&&r.id||w.id+i++,null!==document.getElementById(n)&&(n+=i++),e=n),t=(r||{}).log,j(e,"Added missing iframe ID: "+e+" ("+o.src+")")),e}(o.id);d in m&&"iFrameResizer"in o?z(d,"Ignored iFrame, already setup."):(function(e){var n;e=e||{},m[d]=Object.create(null),m[d].iframe=o,m[d].firstRun=!0,m[d].remoteHost=o.src&&o.src.split("/").slice(0,3).join("/"),function(e){if("object"!=typeof e)throw new TypeError("Options is not an object")}(e),Object.keys(e).forEach(a,e),function(e){for(var n in w)Object.prototype.hasOwnProperty.call(w,n)&&(m[d][n]=Object.prototype.hasOwnProperty.call(e,n)?e[n]:w[n])}(e),m[d]&&(m[d].targetOrigin=!0===m[d].checkOrigin?""===(n=m[d].remoteHost)||null!==n.match(/^(about:blank|javascript:|file:\/\/)/)?"*":n:"*")}(r),function(){switch(j(d,"IFrame scrolling "+(m[d]&&m[d].scrolling?"enabled":"disabled")+" for "+d),o.style.overflow=!1===(m[d]&&m[d].scrolling)?"hidden":"auto",m[d]&&m[d].scrolling){case"omit":break;case!0:o.scrolling="yes";break;case!1:o.scrolling="no";break;default:o.scrolling=m[d]?m[d].scrolling:"no"}}(),function(){function e(e){var n=m[d][e];1/0!==n&&0!==n&&(o.style[e]="number"==typeof n?n+"px":n,j(d,"Set "+e+" = "+o.style[e]))}function n(e){if(m[d]["min"+e]>m[d]["max"+e])throw new Error("Value for min"+e+" can not be greater than max"+e)}n("Height"),n("Width"),e("maxHeight"),e("minHeight"),e("maxWidth"),e("minWidth")}(),"number"!=typeof(m[d]&&m[d].bodyMargin)&&"0"!==(m[d]&&m[d].bodyMargin)||(m[d].bodyMarginV1=m[d].bodyMargin,m[d].bodyMargin=m[d].bodyMargin+"px"),s=A(d),(c=g())&&(n=function(e){if(!o.parentNode)return null;var n=new e((function(e){e.forEach((function(e){Array.prototype.slice.call(e.removedNodes).forEach((function(e){e===o&&S(o)}))}))}));return n.observe(o.parentNode,{childList:!0}),n}(c)),p(o,"load",(function(){N("iFrame.onload",s,o,e,!0),(!m[d]||!m[d].firstRun)&&m[d]&&m[d].heightCalculationMethod in l&&C({iframe:o,height:0,width:0,type:"init"})})),N("init",s,o,e,!0),m[d]&&(m[d].iframe.iFrameResizer={close:S.bind(null,m[d].iframe),removeListeners:I.bind(null,m[d].iframe),resize:N.bind(null,"Window resize","resize",m[d].iframe),moveToAnchor:function(e){N("Move to anchor","moveToAnchor:"+e,m[d].iframe,d)},sendMessage:function(e){N("Send Message","message:"+(e=JSON.stringify(e)),m[d].iframe,d)}}))}function L(e,n){null===h&&(h=setTimeout((function(){h=null,e()}),n))}function V(){"hidden"!==document.visibilityState&&(j("document","Trigger event: Visibility change"),L((function(){P("Tab Visible","resize")}),16))}function P(e,n){Object.keys(m).forEach((function(o){(function(e){return m[e]&&"parent"===m[e].resizeFrom&&m[e].autoResize&&!m[e].firstRun})(o)&&N(e,n,m[o].iframe,o)}))}function q(){function n(e,n){n&&(function(){if(!n.tagName)throw new TypeError("Object is not a valid DOM element");if("IFRAME"!==n.tagName.toUpperCase())throw new TypeError("Expected <IFRAME> tag, found <"+n.tagName+">")}(),H(n,e),o.push(n))}var o;return function(){var e,n=["moz","webkit","o","ms"];for(e=0;e<n.length&&!u;e+=1)u=window[n[e]+"RequestAnimationFrame"];u?u=u.bind(window):j("setup","RequestAnimationFrame not supported")}(),p(window,"message",F),p(window,"resize",(function(){j("window","Trigger event: resize"),L((function(){P("Window resize","resize")}),16)})),p(document,"visibilitychange",V),p(document,"-webkit-visibilitychange",V),function(i,t){switch(o=[],function(e){e&&e.enablePublicMethods&&z("enablePublicMethods option has been removed, public methods are now always available in the iFrame")}(i),typeof t){case"undefined":case"string":Array.prototype.forEach.call(document.querySelectorAll(t||"iframe"),n.bind(e,i));break;case"object":n(i,t);break;default:throw new TypeError("Unexpected data type ("+typeof t+")")}return o}}}();const c=s.exports,d={card:{ready:"justifi.card.ready",tokenize:"justifi.card.tokenize",validate:"justifi.card.validate",resize:"justifi.card.resize",styleOverrides:"justifi.card.styleOverrides"},bankAccount:{ready:"justifi.bankAccount.ready",tokenize:"justifi.bankAccount.tokenize",validate:"justifi.bankAccount.validate",resize:"justifi.bankAccount.resize",styleOverrides:"justifi.bankAccount.styleOverrides"}};class f{constructor(e,n){this.iframe=e,this.iframeOrigin=n}postMessage(e,n){const o=Object.assign({eventType:e},n);this.iframe.contentWindow.postMessage(o,this.iframeOrigin)}addMessageListener(e){window.addEventListener("message",e)}removeMessageListener(e){window.removeEventListener("message",e)}postMessageWithResponseListener(e,n){return new Promise((o=>{const i=n=>{n.data.eventType===e&&(window.removeEventListener("message",i),o(n.data.data))};window.addEventListener("message",i),this.postMessage(e,n)}))}}const u=class{constructor(o){e(this,o),this.paymentMethodFormReady=n(this,"paymentMethodFormReady",7),this.paymentMethodFormValidated=n(this,"paymentMethodFormValidated",7),this.paymentMethodFormTokenized=n(this,"paymentMethodFormTokenized",7),this.computedTheme=(()=>{const e=getComputedStyle(document.body);return{loadGoogleFont:e.getPropertyValue("--jfi-load-google-font"),layout:{fontFamily:e.getPropertyValue("--jfi-layout-font-family"),padding:e.getPropertyValue("--jfi-layout-padding"),formControlSpacingHorizontal:e.getPropertyValue("--jfi-layout-form-control-spacing-x"),formControlSpacingVertical:e.getPropertyValue("--jfi-layout-form-control-spacing-y")},formControl:{backgroundColor:e.getPropertyValue("--jfi-form-control-background-color"),borderColor:e.getPropertyValue("--jfi-form-control-border-color"),borderColorFocus:e.getPropertyValue("--jfi-form-control-border-color-focus"),borderColorError:e.getPropertyValue("--jfi-form-control-border-color-error"),borderWidth:e.getPropertyValue("--jfi-form-control-border-width"),borderBottomWidth:e.getPropertyValue("--jfi-form-control-border-bottom-width"),borderLeftWidth:e.getPropertyValue("--jfi-form-control-border-left-width"),borderRightWidth:e.getPropertyValue("--jfi-form-control-border-right-width"),borderTopWidth:e.getPropertyValue("--jfi-form-control-border-top-width"),borderRadius:e.getPropertyValue("--jfi-form-control-border-radius"),borderStyle:e.getPropertyValue("--jfi-form-control-border-style"),boxShadow:e.getPropertyValue("--jfi-form-control-box-shadow"),boxShadowError:e.getPropertyValue("--jfi-form-control-box-shadow-error"),boxShadowErrorFocus:e.getPropertyValue("--jfi-form-control-box-shadow-error-focus"),boxShadowFocus:e.getPropertyValue("--jfi-form-control-box-shadow-focus"),color:e.getPropertyValue("--jfi-form-control-color"),colorFocus:e.getPropertyValue("--jfi-form-control-color-focus"),fontSize:e.getPropertyValue("--jfi-form-control-font-size"),fontWeight:e.getPropertyValue("--jfi-form-control-font-weight"),lineHeight:e.getPropertyValue("--jfi-form-control-line-height"),margin:e.getPropertyValue("--jfi-form-control-margin"),padding:e.getPropertyValue("--jfi-form-control-padding")},formLabel:{color:e.getPropertyValue("--jfi-form-label-color"),fontFamily:e.getPropertyValue("--jfi-form-label-font-family"),fontSize:e.getPropertyValue("--jfi-form-label-font-size"),fontWeight:e.getPropertyValue("--jfi-form-label-font-weight"),margin:e.getPropertyValue("--jfi-form-label-margin")},errorMessage:{color:e.getPropertyValue("--jfi-error-message-color"),margin:e.getPropertyValue("--jfi-error-message-margin"),fontSize:e.getPropertyValue("--jfi-error-message-font-size")}}})(),this.dispatchMessageEvent=e=>{const{eventType:n,data:o}=e.data,i=d[this.paymentMethodFormType];n===i.ready?this.paymentMethodFormReady.emit(o):n===i.tokenize?this.paymentMethodFormTokenized.emit(o):n===i.validate&&this.paymentMethodFormValidated.emit(o)},this.postMessage=(e,n)=>{this.frameService.postMessage(e,n)},this.paymentMethodFormType=void 0,this.paymentMethodFormValidationMode=void 0,this.iframeOrigin=void 0,this.singleLine=void 0}disconnectedCallback(){this.frameService.removeMessageListener(this.dispatchMessageEvent)}async resize(){this.postMessage(d[this.paymentMethodFormType].resize)}async tokenize(e,n,o){return this.frameService.postMessageWithResponseListener(d[this.paymentMethodFormType].tokenize,{clientId:e,paymentMethodMetadata:n,account:o,componentVersion:t.version})}async validate(){return this.frameService.postMessageWithResponseListener(d[this.paymentMethodFormType].validate)}sendStyleOverrides(){this.computedTheme&&this.postMessage(d[this.paymentMethodFormType].styleOverrides,{styleOverrides:this.computedTheme})}getIframeSrc(){let e=[];return this.paymentMethodFormValidationMode&&e.push(`validationMode=${this.paymentMethodFormValidationMode}`),this.singleLine&&e.push(`singleLine=${this.singleLine}`),`${this.iframeOrigin}/${this.paymentMethodFormType}${r(e)}`}initializeFrameCommunicationService(){var e;this.frameService=new f(this.iframeElement,this.iframeOrigin),null===(e=this.frameService)||void 0===e||e.addMessageListener(this.dispatchMessageEvent)}render(){return o(i,{key:"91a69ce3f918c98248d6bb5df6dc5ec0dffe3c26"},o("iframe",{key:"99c06be5a78a3849e687f7f95f8fe3382cc2c4cd",id:`justifi-payment-method-form-${this.paymentMethodFormType}`,src:this.getIframeSrc(),ref:e=>{this.iframeElement=e,this.initializeFrameCommunicationService()},onLoad:()=>{c({scrollbars:!1},this.iframeElement),this.sendStyleOverrides()}}))}};u.style=":host{display:block}justifi-payment-method-form iframe{border:none;width:100%}iframe{width:1px;min-width:100%}";export{u as justifi_payment_method_form}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as a,r as t,H as e}from"./p-fad19d75.js";import{E as s}from"./p-56f6ce4c.js";import{t as d}from"./p-2b6c9c4f.js";const r=class{constructor(a){t(this,a),this.loading=!0,this.errorMessage="",this.rowData=[],this.columnData=void 0,this.paging=s,this.params={},this.entityId=void 0,this.rowClickHandler=void 0}get showEmptyState(){return!this.loading&&!this.errorMessage&&this.rowData.length<1}get showErrorState(){return!this.loading&&!!this.errorMessage}get showRowData(){return!this.showEmptyState&&!this.showErrorState}render(){var t,s;return a(e,{key:"330ca720893ef70db96d4229c45a42f859567fd2",exportparts:d},a("div",{key:"6a4aa680881ca619e88a1e505e9367f598633184",class:"table-wrapper"},a("table",{key:"56129dafeccdda2e443f52d31efc7b68181988f7",class:"table table-hover"},a("thead",{key:"c3d407a15d350918df135f9e6f9f94d8ac751f65",class:"table-head sticky-top",part:"table-head"},a("tr",{key:"a1a8b3e9141ee6ecf1312b5d6d50f4b1a0488d9f",class:"table-light text-nowrap",part:"table-head-row"},null===(t=this.columnData)||void 0===t?void 0:t.map((t=>a("th",{part:"table-head-cell",scope:"col",title:Array.isArray(t)?t[1]:""},Array.isArray(t)?t[0]:t))))),a("tbody",{key:"232e450d33c1ea1088aab9a06ecb9a00d49788fd",class:"table-body",part:"table-body"},this.loading&&a("tr",null,a("td",{class:"loading-state",part:"loading-state-cell",colSpan:this.columnData.length,style:{textAlign:"center"}},a("div",{part:"loading-state-spinner",class:"spinner-border",role:"status"},a("span",{class:"visually-hidden"},"Loading...")))),this.showEmptyState&&(()=>a("tr",null,a("td",{class:"empty-state",part:"empty-state",colSpan:this.columnData.length,style:{textAlign:"center"}},"No results")))(),this.showErrorState&&(()=>a("tr",null,a("td",{class:"error-state",part:"error-state",colSpan:this.columnData.length,"data-test-id":"table-error-state",style:{textAlign:"center"}},"An unexpected error occurred: ",this.errorMessage)))(),this.showRowData&&this.rowData.map(((t,e)=>a("tr",{"data-test-id":"table-row","data-row-entity-id":this.entityId[e],onClick:a=>this.rowClickHandler?this.rowClickHandler(a):null,part:"table-row "+(e%2?"table-row-even":"table-row-odd")},t.map((t=>(null==t?void 0:t.type)?a("td",{part:"table-cell",innerHTML:t.value}):a("td",{part:"table-cell"},t))))))),this.paging&&a("tfoot",{key:"35f0a88e934a2483df8b62b037d54c2408011c9d",class:"sticky-bottom"},a("tr",{key:"708dba5501439a728596f6985cd4f02f7cad2eb4",class:"table-light align-middle"},a("td",{key:"14ac6f8ec26a436c7c68391ab1c53ebdf9322d26",part:"pagination-bar",colSpan:null===(s=this.columnData)||void 0===s?void 0:s.length},a("pagination-menu",{key:"e52783c0e2a3b650f77a0bca0cc462b2f1942caf",paging:this.paging,params:this.params})))))))}};r.style=":host{table-layout:fixed}.table-wrapper{overflow-x:scroll}";const i=class{constructor(a){t(this,a),this.paging=s,this.params={}}render(){return a(e,{key:"e0211a01fc44ec29eec8085f31055c060f77f56f",exportparts:"page-arrow,page-button,page-button-disabled,page-button-text"},a("nav",{key:"191b1603b6cc559d3ef0cf45a37074e41513ea5a","aria-label":"Table pagination",class:"d-flex justify-content-end gap-3"},a("ul",{key:"775613b2ce03a1bc6a8abf5c918d099e13ac06d2",class:"pagination m-0"},a("li",{key:"cf7fef25e80e446688f31f13236c3e71a1378aef",class:"page-item "+(this.paging.has_previous?"":" disabled")},a("a",{key:"bb671bda6ab5f6921d34c7fdf5b33a62bc076154",href:"#",class:"page-link",onClick:a=>{a.preventDefault(),this.paging.handleClickPrevious(this.paging.start_cursor)},part:"page-button"+(this.paging.has_previous?"":" page-button-disabled")},a("span",{key:"da88de236d134f950a48d9a1d2ebf70742e80788",class:"me-1",part:"page-arrow"},"«"),a("span",{key:"9ae148f746d5d04fcaf4981b0f1aa3d7fc1b509d",part:"page-button-text"},"Previous"))),a("li",{key:"7340b9d89574c9c95b15fd50f3444aacdbb4c496",class:"page-item "+(this.paging.has_next?"":" disabled")},a("a",{key:"827e68669eeb7b83a28185312108adde796a331e",href:"#",class:"page-link",onClick:a=>{a.preventDefault(),this.paging.handleClickNext(this.paging.end_cursor)},part:"page-button"+(this.paging.has_next?"":" page-button-disabled")},a("span",{key:"29ce5f0e9ae4b19d3116ac6bd883c52168c5fbb8",part:"page-button-text"},"Next"),a("span",{key:"2d58cffc46031c9db1ad7c4b061730bc083dded8",class:"ms-1",part:"page-arrow"},"»"))))))}};export{r as justifi_table,i as pagination_menu}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,c as i,h as t}from"./p-fad19d75.js";import{J as e}from"./p-092e080c.js";import{C as r,a as o}from"./p-14c91ffd.js";import{g as n,a}from"./p-8115b2f4.js";import{B as c}from"./p-ed844504.js";import{c as d}from"./p-ae263544.js";import{A as h}from"./p-29c0b182.js";import"./p-667a5aa8.js";class p{async postProvisioning(s,i,t){const e={business_id:i,product_category:t};return h({authToken:s,apiOrigin:d.proxyApiOrigin}).post("entities/provisioning",JSON.stringify(e))}}const u=class{constructor(t){s(this,t),this.errorEvent=i(this,"error-event",7),this.postProvisioning=void 0,this.getBusiness=void 0,this.businessId=void 0,this.authToken=void 0,this.allowOptionalFields=!1,this.formTitle="Business Information"}propChanged(){this.initializeApi()}componentWillLoad(){this.analytics=new e(this),this.initializeApi()}disconnectedCallback(){this.analytics.cleanup()}initializeApi(){this.authToken&&this.businessId?(this.getBusiness=(({authToken:s,businessId:i,service:t})=>async({onSuccess:e,onError:o})=>{var c;try{const d=await t.fetchBusiness(i,s);if(d.error)return o({error:n(d.error),code:a(null===(c=d.error)||void 0===c?void 0:c.code),severity:r.ERROR});e(d)}catch(s){const i=a(null==s?void 0:s.code);return o({error:s.message||s,code:i,severity:r.ERROR})}})({authToken:this.authToken,businessId:this.businessId,service:new c}),this.postProvisioning=(({authToken:s,businessId:i,product:t,service:e})=>async({onSuccess:o,onError:c})=>{var d;try{const h=await e.postProvisioning(s,i,t);if(h.error)return c({error:n(h.error),code:a(null===(d=h.error)||void 0===d?void 0:d.code),severity:r.ERROR});o(h)}catch(s){const i=a(null==s?void 0:s.code);return c({error:s.message||s,code:i,severity:r.ERROR})}})({authToken:this.authToken,businessId:this.businessId,product:"payment",service:new p})):this.errorEvent.emit({message:"auth-token and business-id are required",errorCode:o.MISSING_PROPS,severity:r.ERROR})}render(){return t("justifi-payment-provisioning-core",{key:"3f20d0d8dcf04ff5e258d9465fdf53ccb68b5bc5",businessId:this.businessId,authToken:this.authToken,allowOptionalFields:this.allowOptionalFields,formTitle:this.formTitle,getBusiness:this.getBusiness,postProvisioning:this.postProvisioning})}static get watchers(){return{authToken:["propChanged"],businessId:["propChanged"]}}};export{u as justifi_payment_provisioning}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as r}from"./p-fad19d75.js";const s=class{constructor(r){t(this,r),this.errorText=void 0,this.name=void 0}render(){return this.errorText?r("small",{class:"form-text text-danger",id:`form-error-text-${this.name}`},this.errorText):null}},o=class{constructor(r){t(this,r),this.helpText=void 0,this.name=void 0}render(){return this.helpText?r("small",{class:"form-text text-muted",id:`form-help-text-${this.name}`},this.helpText):null}};export{s as form_control_error_text,o as form_control_help_text}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as e,H as s,g as o}from"./p-
|
|
1
|
+
import{r as t,c as i,h as e,H as s,g as o}from"./p-fad19d75.js";const h=class{constructor(e){t(this,e),this.formControlInput=i(this,"formControlInput",7),this.formControlBlur=i(this,"formControlBlur",7),this.fileSelected=i(this,"fileSelected",7),this.handleFormControlInput=t=>{const i=t.target,e=i.getAttribute("name");this.inputHandler(e,i.value),this.formControlInput.emit({name:e,value:i.value})},this.changeHandler=()=>{const t=this.fileInput.files;t&&this.fileSelected.emit({fileList:t,document_type:this.documentType})},this.files=void 0,this.fileString=void 0,this.label=void 0,this.name=void 0,this.helpText=void 0,this.errorText=void 0,this.multiple=void 0,this.documentType=void 0,this.inputHandler=void 0,this.disabled=void 0}componentDidLoad(){this.fileInput=this.el.querySelector("input")}render(){return e(s,{key:"2219dfef80cb3ef71148fbc4d2d29df6583d6779",exportparts:"label,input,input-invalid"},e("div",{key:"18d059b17b226815a97cf1be429857bd93e43115",class:"form-group d-flex flex-column"},e("label",{key:"91adf40d0dd7559888b7c37eeee40f363628bada",part:"label",class:"form-label",htmlFor:this.name},this.label),e("input",{key:"6aa37be009cce396e2f1268429c94b812d48167e",ref:t=>this.fileInput=t,type:"file",name:this.name,part:`input ${this.errorText?"input-invalid ":""}${this.disabled?" input-disabled":""}`,class:this.errorText?"form-control is-invalid":"form-control",multiple:this.multiple,disabled:this.disabled,onChange:this.changeHandler,onInput:this.handleFormControlInput,onBlur:()=>this.formControlBlur.emit()}),e("form-control-help-text",{key:"d4241aceb5a40b2dfedebc9658b128231d43fcc0",helpText:this.helpText,name:this.name}),e("form-control-error-text",{key:"af7dd8c90ea83f2f99f24100e97c9147f787aadf",errorText:this.errorText,name:this.name})))}get el(){return o(this)}};export{h as form_control_file}
|