@justifi/webcomponents 4.7.1-rc.0 → 4.7.2-rc.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/Api-548eaa62.js +0 -2
- package/dist/cjs/Pagination-cae1dcbd.js +0 -2
- package/dist/cjs/{Payout-68a99ee3.js → Payout-f8240e9c.js} +49 -3
- package/dist/cjs/SubAccount-f47c8522.js +0 -2
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -4
- package/dist/cjs/business-form-schema-fe831c30.js +0 -2
- package/dist/cjs/config-a156df17.js +0 -2
- package/dist/cjs/form-1e732a9d.js +0 -2
- package/dist/cjs/form-control-datepart_2.cjs.entry.js +1 -3
- package/dist/cjs/form-control-monetary.cjs.entry.js +0 -2
- package/dist/cjs/form-control-number_3.cjs.entry.js +0 -2
- package/dist/cjs/helpers-c505d861.js +0 -2
- package/dist/cjs/index-5a880722.js +0 -2
- package/dist/cjs/index-c5ace247.js +0 -2
- package/dist/cjs/index.cjs.js +0 -2
- package/dist/cjs/index.esm-91ec051e.js +0 -2
- package/dist/cjs/justifi-additional-questions_6.cjs.entry.js +0 -2
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +0 -2
- package/dist/cjs/justifi-billing-form_2.cjs.entry.js +0 -2
- package/dist/cjs/justifi-business-details.cjs.entry.js +16 -14
- package/dist/cjs/justifi-business-form-stepped.cjs.entry.js +7 -3
- package/dist/cjs/justifi-business-form.cjs.entry.js +1 -3
- package/dist/cjs/justifi-business-list.cjs.entry.js +1 -3
- package/dist/cjs/justifi-card-form.cjs.entry.js +0 -2
- package/dist/cjs/justifi-details.cjs.entry.js +0 -2
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +22 -12
- package/dist/cjs/justifi-payment-balance-transactions.cjs.entry.js +1 -3
- package/dist/cjs/justifi-payment-details.cjs.entry.js +20 -13
- package/dist/cjs/justifi-payment-form.cjs.entry.js +16 -8
- package/dist/cjs/justifi-payment-method-form.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payments-list.cjs.entry.js +22 -25
- package/dist/cjs/justifi-payout-details.cjs.entry.js +19 -13
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +21 -13
- package/dist/cjs/justifi-proceeds-list.cjs.entry.js +1 -3
- package/dist/cjs/justifi-refund-form.cjs.entry.js +1 -3
- package/dist/cjs/justifi-subaccount-details.cjs.entry.js +3 -7
- package/dist/cjs/justifi-subaccounts-list.cjs.entry.js +1 -3
- package/dist/cjs/justifi-table_2.cjs.entry.js +4 -6
- package/dist/cjs/loader.cjs.js +1 -3
- package/dist/cjs/select-input_2.cjs.entry.js +0 -2
- package/dist/cjs/state-options-83b52cd1.js +0 -2
- package/dist/cjs/subaccount-account-details_4.cjs.entry.js +0 -2
- package/dist/cjs/subaccount-bank-details.cjs.entry.js +0 -2
- package/dist/cjs/subaccount-terms-details.cjs.entry.js +0 -2
- package/dist/cjs/utils-13d069be.js +0 -2
- package/dist/cjs/utils-4622829d.js +0 -2
- package/dist/cjs/webcomponents.cjs.js +1 -3
- package/dist/collection/api/Api.js +0 -1
- package/dist/collection/api/Business.js +0 -1
- package/dist/collection/api/GrossVolume.js +0 -1
- package/dist/collection/api/Pagination.js +0 -1
- package/dist/collection/api/Payment.js +49 -2
- package/dist/collection/api/Payout.js +0 -1
- package/dist/collection/api/Proceed.js +0 -1
- package/dist/collection/api/SubAccount.js +0 -1
- package/dist/collection/api/index.js +0 -1
- package/dist/collection/api/mockData/MockOnboardingData.js +0 -1
- package/dist/collection/api/mockData/MockPayments.js +21 -22
- package/dist/collection/api/mockData/MockSubAccount.js +0 -1
- package/dist/collection/api/mockData/mockGrossVolumeReport.js +0 -1
- package/dist/collection/api/shared.js +0 -1
- package/dist/collection/components/bank-account-form/bank-account-form.js +0 -1
- package/dist/collection/components/bank-account-form/bank-account-form.stories.js +8 -1
- package/dist/collection/components/bank-account-form/test/bank-account-form.e2e.js +0 -1
- package/dist/collection/components/bank-account-form/test/bank-account-form.spec.js +0 -1
- package/dist/collection/components/billing-form/billing-form-schema.js +0 -1
- package/dist/collection/components/billing-form/billing-form.js +0 -1
- package/dist/collection/components/billing-form/billing-form.stories.js +0 -1
- package/dist/collection/components/billing-form/state-options.js +0 -1
- package/dist/collection/components/billing-form/test/billing-form.spec.js +0 -1
- package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +0 -1
- package/dist/collection/components/business-details/business-details.js +16 -13
- package/dist/collection/components/business-details/business-details.stories.js +0 -1
- package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +0 -1
- package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +0 -1
- package/dist/collection/components/business-details/owner-details/owner-details.js +0 -1
- package/dist/collection/components/business-details/representative-details/representative-details.js +2 -3
- package/dist/collection/components/business-form/additional-questions/additional-questions.js +0 -1
- package/dist/collection/components/business-form/business-address/business-address-form-schema.js +0 -1
- package/dist/collection/components/business-form/business-address/business-address-form.js +0 -1
- package/dist/collection/components/business-form/business-address/test/business-address.e2e.js +0 -1
- package/dist/collection/components/business-form/business-address/test/business-address.spec.js +0 -1
- package/dist/collection/components/business-form/business-form-example.js +12 -0
- package/dist/collection/components/business-form/business-form-schema.js +0 -1
- package/dist/collection/components/business-form/business-form-stepped-example.js +12 -0
- package/dist/collection/components/business-form/business-form-stepped.js +24 -1
- package/dist/collection/components/business-form/business-form-stepped.stories.js +1 -1
- package/dist/collection/components/business-form/business-form.js +0 -1
- package/dist/collection/components/business-form/business-form.stories.js +0 -1
- package/dist/collection/components/business-form/business-generic-info/business-generic-info.js +0 -1
- package/dist/collection/components/business-form/business-owners/business-owners.js +0 -1
- package/dist/collection/components/business-form/business-representative/business-representative-schema.js +0 -1
- package/dist/collection/components/business-form/business-representative/business-representative.js +0 -1
- package/dist/collection/components/business-form/helpers.js +0 -1
- package/dist/collection/components/business-form/legal-address-form/legal-address-form-schema.js +0 -1
- package/dist/collection/components/business-form/legal-address-form/legal-address-form.js +0 -1
- package/dist/collection/components/business-form/test/business-form.spec.js +0 -1
- package/dist/collection/components/business-list/business-list.js +0 -1
- package/dist/collection/components/business-list/business-list.stories.js +0 -1
- package/dist/collection/components/card-form/card-form.js +0 -1
- package/dist/collection/components/card-form/card-form.stories.js +8 -1
- package/dist/collection/components/card-form/test/card-form.e2e.js +0 -1
- package/dist/collection/components/card-form/test/card-form.spec.js +0 -1
- package/dist/collection/components/details/details.js +0 -1
- package/dist/collection/components/details/utils.js +0 -1
- package/dist/collection/components/form/form-control-datepart.js +1 -2
- package/dist/collection/components/form/form-control-monetary.js +0 -1
- package/dist/collection/components/form/form-control-number-masked.js +0 -1
- package/dist/collection/components/form/form-control-number.js +0 -1
- package/dist/collection/components/form/form-control-select.js +0 -1
- package/dist/collection/components/form/form-control-text.js +0 -1
- package/dist/collection/components/form/form.js +0 -1
- package/dist/collection/components/gross-payment-chart/chart-utils.js +0 -1
- package/dist/collection/components/gross-payment-chart/example.js +12 -0
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +20 -9
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.stories.js +1 -2
- package/dist/collection/components/gross-payment-chart/test/gross-payment-chart.spec.js +0 -1
- package/dist/collection/components/pagination-menu/pagination-menu.js +0 -1
- package/dist/collection/components/payment-balance-transactions/payment-balance-transactions.js +0 -1
- package/dist/collection/components/payment-balance-transactions/payment-balance-transactions.stories.js +0 -1
- package/dist/collection/components/payment-details/payment-details.js +21 -13
- package/dist/collection/components/payment-details/payment-details.stories.js +0 -1
- package/dist/collection/components/payment-form/payment-form.js +16 -7
- package/dist/collection/components/payment-form/payment-form.stories.js +0 -1
- package/dist/collection/components/payment-form/payment-method-selector.js +0 -1
- package/dist/collection/components/payment-form/test/payment-form.e2e.js +0 -1
- package/dist/collection/components/payment-form/test/payment-form.spec.js +0 -1
- package/dist/collection/components/payment-form/tokenize.js +0 -1
- package/dist/collection/components/payment-method-form/get-computed-theme.js +0 -1
- package/dist/collection/components/payment-method-form/message-event-types.js +0 -1
- package/dist/collection/components/payment-method-form/payment-method-form.js +0 -1
- package/dist/collection/components/payment-method-form/payment-method-responses.js +0 -1
- package/dist/collection/components/payment-method-form/test/payment-method-form.e2e.js +0 -1
- package/dist/collection/components/payment-method-form/test/payment-method-form.spec.js +0 -1
- package/dist/collection/components/payment-method-form/theme.js +0 -1
- package/dist/collection/components/payments-list/payments-list.js +21 -23
- package/dist/collection/components/payments-list/payments-list.stories.js +0 -1
- package/dist/collection/components/payments-list/test/payments-list.spec.js +0 -1
- package/dist/collection/components/payout-details/payout-details.js +19 -12
- package/dist/collection/components/payout-details/payout-details.stories.js +0 -1
- package/dist/collection/components/payouts-list/payouts-list.js +20 -11
- package/dist/collection/components/payouts-list/payouts-list.stories.js +0 -1
- package/dist/collection/components/proceeds-list/proceeds-list.js +0 -1
- package/dist/collection/components/proceeds-list/proceeds-list.stories.js +0 -1
- package/dist/collection/components/refund-form/refund-form-schema.js +0 -1
- package/dist/collection/components/refund-form/refund-form.js +0 -1
- package/dist/collection/components/refund-form/refund-form.stories.js +0 -1
- package/dist/collection/components/select-input/select-input.js +0 -1
- package/dist/collection/components/select-input/test/select-input.spec.js +0 -1
- package/dist/collection/components/subaccount-details/subaccount-account-details/subaccount-account-details.js +0 -1
- package/dist/collection/components/subaccount-details/subaccount-bank-details/subaccount-bank-details.js +0 -1
- package/dist/collection/components/subaccount-details/subaccount-details.js +2 -5
- package/dist/collection/components/subaccount-details/subaccount-details.stories.js +0 -1
- package/dist/collection/components/subaccount-details/subaccount-merchant-details/subaccount-merchant-details.js +0 -1
- package/dist/collection/components/subaccount-details/subaccount-owners-details/subaccount-owners-details.js +0 -1
- package/dist/collection/components/subaccount-details/subaccount-representative-details/subaccount-representative-details.js +0 -1
- package/dist/collection/components/subaccount-details/subaccount-terms-details/subaccount-terms-details.js +0 -1
- package/dist/collection/components/subaccount-details/test/subaccount-details.spec.js +0 -1
- package/dist/collection/components/subaccounts-list/subaccounts-list.js +0 -1
- package/dist/collection/components/subaccounts-list/subaccounts-list.stories.js +0 -1
- package/dist/collection/components/subaccounts-list/test/subaccounts-list.e2e.js +0 -1
- package/dist/collection/components/subaccounts-list/test/subaccounts-list.spec.js +0 -1
- package/dist/collection/components/table/table.css +5 -0
- package/dist/collection/components/table/table.js +2 -3
- package/dist/collection/components/table/test/table.spec.js +0 -1
- package/dist/collection/components/text-input/test/text-input.spec.js +0 -1
- package/dist/collection/components/text-input/text-input.js +0 -1
- package/dist/collection/index.js +0 -1
- package/dist/collection/utils/country-options.js +0 -1
- package/dist/collection/utils/phone-masks.js +0 -1
- package/dist/collection/utils/utils.js +0 -1
- package/dist/components/Api.js +0 -2
- package/dist/components/Pagination.js +0 -2
- package/dist/components/Payout.js +50 -4
- package/dist/components/SubAccount.js +0 -2
- package/dist/components/additional-questions-details.js +0 -2
- package/dist/components/additional-questions-details2.js +0 -2
- package/dist/components/additional-questions.js +0 -2
- package/dist/components/billing-form.js +0 -2
- package/dist/components/business-address-form.js +0 -2
- package/dist/components/business-generic-info.js +0 -2
- package/dist/components/business-owners.js +0 -2
- package/dist/components/business-representative.js +0 -2
- package/dist/components/config.js +0 -2
- package/dist/components/details.js +0 -2
- package/dist/components/form-control-datepart.js +0 -2
- package/dist/components/form-control-datepart2.js +1 -3
- package/dist/components/form-control-monetary.js +0 -2
- package/dist/components/form-control-monetary2.js +0 -2
- package/dist/components/form-control-number-masked.js +0 -2
- package/dist/components/form-control-number-masked2.js +0 -2
- package/dist/components/form-control-number.js +0 -2
- package/dist/components/form-control-number2.js +0 -2
- package/dist/components/form-control-select.js +0 -2
- package/dist/components/form-control-select2.js +0 -2
- package/dist/components/form-control-text.js +0 -2
- package/dist/components/form-control-text2.js +0 -2
- package/dist/components/form.js +0 -2
- package/dist/components/generic-info-details.js +0 -2
- package/dist/components/generic-info-details2.js +0 -2
- package/dist/components/helpers.js +0 -2
- package/dist/components/index.esm.js +0 -2
- package/dist/components/index.js +0 -2
- package/dist/components/index2.js +0 -2
- package/dist/components/justifi-additional-questions.js +0 -2
- package/dist/components/justifi-bank-account-form.js +0 -2
- package/dist/components/justifi-billing-form.js +0 -2
- package/dist/components/justifi-business-address-form.js +0 -2
- package/dist/components/justifi-business-details.js +15 -13
- package/dist/components/justifi-business-form-stepped.js +7 -2
- package/dist/components/justifi-business-form.js +0 -2
- package/dist/components/justifi-business-generic-info.js +0 -2
- package/dist/components/justifi-business-list.js +0 -2
- package/dist/components/justifi-business-owners.js +0 -2
- package/dist/components/justifi-business-representative.js +0 -2
- package/dist/components/justifi-card-form.js +0 -2
- package/dist/components/justifi-details.js +0 -2
- package/dist/components/justifi-gross-payment-chart.js +21 -11
- package/dist/components/justifi-legal-address-form.js +0 -2
- package/dist/components/justifi-payment-balance-transactions.js +0 -2
- package/dist/components/justifi-payment-details.js +21 -14
- package/dist/components/justifi-payment-form.js +16 -8
- package/dist/components/justifi-payment-method-form.js +0 -2
- package/dist/components/justifi-payment-method-selector.js +0 -2
- package/dist/components/justifi-payments-list.js +22 -25
- package/dist/components/justifi-payout-details.js +19 -13
- package/dist/components/justifi-payouts-list.js +21 -13
- package/dist/components/justifi-proceeds-list.js +0 -2
- package/dist/components/justifi-refund-form.js +0 -2
- package/dist/components/justifi-subaccount-details.js +2 -6
- package/dist/components/justifi-subaccounts-list.js +0 -2
- package/dist/components/justifi-table.js +0 -2
- package/dist/components/legal-address-details.js +0 -2
- package/dist/components/legal-address-details2.js +0 -2
- package/dist/components/legal-address-form.js +0 -2
- package/dist/components/owner-details.js +0 -2
- package/dist/components/owner-details2.js +0 -2
- package/dist/components/pagination-menu.js +0 -2
- package/dist/components/pagination-menu2.js +1 -3
- package/dist/components/payment-method-form.js +4 -4
- package/dist/components/payment-method-selector.js +0 -2
- package/dist/components/phone-masks.js +0 -2
- package/dist/components/representative-details.js +0 -2
- package/dist/components/representative-details2.js +2 -4
- package/dist/components/select-input.js +0 -2
- package/dist/components/select-input2.js +0 -2
- package/dist/components/state-options.js +0 -2
- package/dist/components/subaccount-account-details.js +0 -2
- package/dist/components/subaccount-account-details2.js +0 -2
- package/dist/components/subaccount-bank-details.js +0 -2
- package/dist/components/subaccount-merchant-details.js +0 -2
- package/dist/components/subaccount-merchant-details2.js +0 -2
- package/dist/components/subaccount-owners-details.js +0 -2
- package/dist/components/subaccount-owners-details2.js +0 -2
- package/dist/components/subaccount-representative-details.js +0 -2
- package/dist/components/subaccount-representative-details2.js +0 -2
- package/dist/components/subaccount-terms-details.js +0 -2
- package/dist/components/table.js +3 -5
- package/dist/components/text-input.js +0 -2
- package/dist/components/text-input2.js +0 -2
- package/dist/components/utils.js +0 -2
- package/dist/components/utils2.js +0 -2
- package/dist/config.js +0 -1
- package/dist/esm/Api-c65d3ed8.js +0 -2
- package/dist/esm/Pagination-31f770d6.js +0 -2
- package/dist/esm/{Payout-fcf16887.js → Payout-586f06a3.js} +50 -4
- package/dist/esm/SubAccount-128190e9.js +0 -2
- package/dist/esm/additional-questions-details_5.entry.js +2 -4
- package/dist/esm/business-form-schema-30a3eadd.js +0 -2
- package/dist/esm/config-ceb0f902.js +0 -2
- package/dist/esm/form-32cf3d1e.js +0 -2
- package/dist/esm/form-control-datepart_2.entry.js +1 -3
- package/dist/esm/form-control-monetary.entry.js +0 -2
- package/dist/esm/form-control-number_3.entry.js +0 -2
- package/dist/esm/helpers-1d5ecdc8.js +0 -2
- package/dist/esm/index-5ed53c20.js +0 -2
- package/dist/esm/index-7471ed60.js +0 -2
- package/dist/esm/index.esm-9397ffa0.js +0 -2
- package/dist/esm/index.js +0 -2
- package/dist/esm/justifi-additional-questions_6.entry.js +0 -2
- package/dist/esm/justifi-bank-account-form.entry.js +0 -2
- package/dist/esm/justifi-billing-form_2.entry.js +0 -2
- package/dist/esm/justifi-business-details.entry.js +17 -15
- package/dist/esm/justifi-business-form-stepped.entry.js +7 -3
- package/dist/esm/justifi-business-form.entry.js +1 -3
- package/dist/esm/justifi-business-list.entry.js +1 -3
- package/dist/esm/justifi-card-form.entry.js +0 -2
- package/dist/esm/justifi-details.entry.js +0 -2
- package/dist/esm/justifi-gross-payment-chart.entry.js +22 -12
- package/dist/esm/justifi-payment-balance-transactions.entry.js +1 -3
- package/dist/esm/justifi-payment-details.entry.js +21 -14
- package/dist/esm/justifi-payment-form.entry.js +16 -8
- package/dist/esm/justifi-payment-method-form.entry.js +4 -4
- package/dist/esm/justifi-payments-list.entry.js +22 -25
- package/dist/esm/justifi-payout-details.entry.js +20 -14
- package/dist/esm/justifi-payouts-list.entry.js +21 -13
- package/dist/esm/justifi-proceeds-list.entry.js +1 -3
- package/dist/esm/justifi-refund-form.entry.js +1 -3
- package/dist/esm/justifi-subaccount-details.entry.js +4 -8
- package/dist/esm/justifi-subaccounts-list.entry.js +1 -3
- package/dist/esm/justifi-table_2.entry.js +4 -6
- package/dist/esm/loader.js +1 -3
- package/dist/esm/select-input_2.entry.js +0 -2
- package/dist/esm/state-options-ece00aa2.js +0 -2
- package/dist/esm/subaccount-account-details_4.entry.js +0 -2
- package/dist/esm/subaccount-bank-details.entry.js +0 -2
- package/dist/esm/subaccount-terms-details.entry.js +0 -2
- package/dist/esm/utils-40b7002c.js +0 -2
- package/dist/esm/utils-6352c002.js +0 -2
- package/dist/esm/webcomponents.js +1 -3
- package/dist/types/api/Payment.d.ts +32 -5
- package/dist/types/api/Payout.d.ts +2 -2
- package/dist/types/components/bank-account-form/bank-account-form.stories.d.ts +1 -0
- package/dist/types/components/business-details/business-details.d.ts +0 -1
- package/dist/types/components/business-form/business-form-stepped.d.ts +1 -0
- package/dist/types/components/card-form/card-form.stories.d.ts +1 -0
- package/dist/types/components/payment-method-form/payment-method-responses.d.ts +7 -1
- package/dist/types/components/payments-list/payments-list.d.ts +1 -3
- package/dist/types/components.d.ts +2 -0
- package/dist/webcomponents/index.esm.js +0 -2
- package/dist/webcomponents/p-0ce6fba2.entry.js +1 -0
- package/dist/webcomponents/p-0d5d02d7.js +1 -2
- package/dist/webcomponents/p-14f7229e.entry.js +1 -0
- package/dist/webcomponents/{p-3d82c8a3.entry.js → p-2140e9ba.entry.js} +1 -2
- package/dist/webcomponents/p-2c2cde2d.js +1 -2
- package/dist/webcomponents/p-311250e2.entry.js +1 -0
- package/dist/webcomponents/p-3501b0e8.entry.js +1 -0
- package/dist/webcomponents/p-3ee831ac.entry.js +1 -0
- package/dist/webcomponents/p-3fd6ff27.entry.js +1 -0
- package/dist/webcomponents/p-4214dbb8.entry.js +1 -0
- package/dist/webcomponents/p-46d5f717.entry.js +1 -0
- package/dist/webcomponents/p-47bc59b5.js +1 -2
- package/dist/webcomponents/p-4fb653a8.entry.js +1 -0
- package/dist/webcomponents/p-526cb161.js +1 -2
- package/dist/webcomponents/p-586c8a4f.entry.js +1 -0
- package/dist/webcomponents/p-59860ac8.js +1 -2
- package/dist/webcomponents/p-5df52341.entry.js +1 -0
- package/dist/webcomponents/p-6444d443.entry.js +1 -0
- package/dist/webcomponents/p-6a648652.entry.js +1 -0
- package/dist/webcomponents/p-742188d9.entry.js +1 -0
- package/dist/webcomponents/p-76dffeec.js +1 -2
- package/dist/webcomponents/p-77a8bcea.entry.js +1 -0
- package/dist/webcomponents/p-7d58db66.js +1 -2
- package/dist/webcomponents/p-8f37e3ee.js +1 -2
- package/dist/webcomponents/p-984ff1aa.entry.js +1 -0
- package/dist/webcomponents/p-988191bf.js +1 -2
- package/dist/webcomponents/p-9b6dcac5.js +1 -2
- package/dist/webcomponents/p-9d46e7f1.entry.js +1 -0
- package/dist/webcomponents/p-a1ef6b4c.entry.js +1 -0
- package/dist/webcomponents/p-ac8ee442.entry.js +1 -0
- package/dist/webcomponents/p-af771964.entry.js +1 -0
- package/dist/webcomponents/p-b157f6ae.js +1 -2
- package/dist/webcomponents/p-bab3fd56.entry.js +1 -0
- package/dist/webcomponents/p-bb70152e.entry.js +1 -0
- package/dist/webcomponents/p-bc91044c.entry.js +1 -0
- package/dist/webcomponents/p-c29c587f.entry.js +1 -0
- package/dist/webcomponents/p-cbb60191.js +2 -3
- package/dist/webcomponents/p-d0e4eca5.entry.js +1 -0
- package/dist/webcomponents/p-d4b66d74.entry.js +1 -0
- package/dist/webcomponents/p-d6347f27.entry.js +19 -0
- package/dist/webcomponents/p-d6b5793d.js +1 -2
- package/dist/webcomponents/{p-b12691c3.entry.js → p-d8d1f417.entry.js} +1 -2
- package/dist/webcomponents/p-e12ab547.js +1 -0
- package/dist/webcomponents/p-ed8c9b88.entry.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -2
- package/package.json +4 -3
- package/readme.md +40 -7
- package/dist/cjs/Api-548eaa62.js.map +0 -1
- package/dist/cjs/Pagination-cae1dcbd.js.map +0 -1
- package/dist/cjs/Payout-68a99ee3.js.map +0 -1
- package/dist/cjs/SubAccount-f47c8522.js.map +0 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js.map +0 -1
- package/dist/cjs/business-form-schema-fe831c30.js.map +0 -1
- package/dist/cjs/config-a156df17.js.map +0 -1
- package/dist/cjs/form-1e732a9d.js.map +0 -1
- package/dist/cjs/form-control-datepart_2.cjs.entry.js.map +0 -1
- package/dist/cjs/form-control-monetary.cjs.entry.js.map +0 -1
- package/dist/cjs/form-control-number_3.cjs.entry.js.map +0 -1
- package/dist/cjs/helpers-c505d861.js.map +0 -1
- package/dist/cjs/index-5a880722.js.map +0 -1
- package/dist/cjs/index-c5ace247.js.map +0 -1
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/index.esm-91ec051e.js.map +0 -1
- package/dist/cjs/justifi-additional-questions_6.cjs.entry.js.map +0 -1
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js.map +0 -1
- package/dist/cjs/justifi-billing-form_2.cjs.entry.js.map +0 -1
- package/dist/cjs/justifi-business-details.cjs.entry.js.map +0 -1
- package/dist/cjs/justifi-business-form-stepped.cjs.entry.js.map +0 -1
- package/dist/cjs/justifi-business-form.cjs.entry.js.map +0 -1
- package/dist/cjs/justifi-business-list.cjs.entry.js.map +0 -1
- package/dist/cjs/justifi-card-form.cjs.entry.js.map +0 -1
- package/dist/cjs/justifi-details.cjs.entry.js.map +0 -1
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js.map +0 -1
- package/dist/cjs/justifi-payment-balance-transactions.cjs.entry.js.map +0 -1
- package/dist/cjs/justifi-payment-details.cjs.entry.js.map +0 -1
- package/dist/cjs/justifi-payment-form.cjs.entry.js.map +0 -1
- package/dist/cjs/justifi-payment-method-form.cjs.entry.js.map +0 -1
- package/dist/cjs/justifi-payments-list.cjs.entry.js.map +0 -1
- package/dist/cjs/justifi-payout-details.cjs.entry.js.map +0 -1
- package/dist/cjs/justifi-payouts-list.cjs.entry.js.map +0 -1
- package/dist/cjs/justifi-proceeds-list.cjs.entry.js.map +0 -1
- package/dist/cjs/justifi-refund-form.cjs.entry.js.map +0 -1
- package/dist/cjs/justifi-subaccount-details.cjs.entry.js.map +0 -1
- package/dist/cjs/justifi-subaccounts-list.cjs.entry.js.map +0 -1
- package/dist/cjs/justifi-table_2.cjs.entry.js.map +0 -1
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/cjs/select-input_2.cjs.entry.js.map +0 -1
- package/dist/cjs/state-options-83b52cd1.js.map +0 -1
- package/dist/cjs/subaccount-account-details_4.cjs.entry.js.map +0 -1
- package/dist/cjs/subaccount-bank-details.cjs.entry.js.map +0 -1
- package/dist/cjs/subaccount-terms-details.cjs.entry.js.map +0 -1
- package/dist/cjs/utils-13d069be.js.map +0 -1
- package/dist/cjs/utils-4622829d.js.map +0 -1
- package/dist/cjs/webcomponents.cjs.js.map +0 -1
- package/dist/collection/api/Api.js.map +0 -1
- package/dist/collection/api/Business.js.map +0 -1
- package/dist/collection/api/GrossVolume.js.map +0 -1
- package/dist/collection/api/Pagination.js.map +0 -1
- package/dist/collection/api/Payment.js.map +0 -1
- package/dist/collection/api/Payout.js.map +0 -1
- package/dist/collection/api/Proceed.js.map +0 -1
- package/dist/collection/api/SubAccount.js.map +0 -1
- package/dist/collection/api/index.js.map +0 -1
- package/dist/collection/api/mockData/MockOnboardingData.js.map +0 -1
- package/dist/collection/api/mockData/MockPayments.js.map +0 -1
- package/dist/collection/api/mockData/MockSubAccount.js.map +0 -1
- package/dist/collection/api/mockData/mockGrossVolumeReport.js.map +0 -1
- package/dist/collection/api/shared.js.map +0 -1
- package/dist/collection/components/bank-account-form/bank-account-form.js.map +0 -1
- package/dist/collection/components/bank-account-form/bank-account-form.stories.js.map +0 -1
- package/dist/collection/components/bank-account-form/test/bank-account-form.e2e.js.map +0 -1
- package/dist/collection/components/bank-account-form/test/bank-account-form.spec.js.map +0 -1
- package/dist/collection/components/billing-form/billing-form-schema.js.map +0 -1
- package/dist/collection/components/billing-form/billing-form.js.map +0 -1
- package/dist/collection/components/billing-form/billing-form.stories.js.map +0 -1
- package/dist/collection/components/billing-form/state-options.js.map +0 -1
- package/dist/collection/components/billing-form/test/billing-form.spec.js.map +0 -1
- package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js.map +0 -1
- package/dist/collection/components/business-details/business-details.js.map +0 -1
- package/dist/collection/components/business-details/business-details.stories.js.map +0 -1
- package/dist/collection/components/business-details/generic-info-details/generic-info-details.js.map +0 -1
- package/dist/collection/components/business-details/legal-address-details/legal-address-details.js.map +0 -1
- package/dist/collection/components/business-details/owner-details/owner-details.js.map +0 -1
- package/dist/collection/components/business-details/representative-details/representative-details.js.map +0 -1
- package/dist/collection/components/business-form/additional-questions/additional-questions.js.map +0 -1
- package/dist/collection/components/business-form/business-address/business-address-form-schema.js.map +0 -1
- package/dist/collection/components/business-form/business-address/business-address-form.js.map +0 -1
- package/dist/collection/components/business-form/business-address/test/business-address.e2e.js.map +0 -1
- package/dist/collection/components/business-form/business-address/test/business-address.spec.js.map +0 -1
- package/dist/collection/components/business-form/business-form-schema.js.map +0 -1
- package/dist/collection/components/business-form/business-form-stepped.js.map +0 -1
- package/dist/collection/components/business-form/business-form-stepped.stories.js.map +0 -1
- package/dist/collection/components/business-form/business-form.js.map +0 -1
- package/dist/collection/components/business-form/business-form.stories.js.map +0 -1
- package/dist/collection/components/business-form/business-generic-info/business-generic-info.js.map +0 -1
- package/dist/collection/components/business-form/business-owners/business-owners.js.map +0 -1
- package/dist/collection/components/business-form/business-representative/business-representative-schema.js.map +0 -1
- package/dist/collection/components/business-form/business-representative/business-representative.js.map +0 -1
- package/dist/collection/components/business-form/helpers.js.map +0 -1
- package/dist/collection/components/business-form/legal-address-form/legal-address-form-schema.js.map +0 -1
- package/dist/collection/components/business-form/legal-address-form/legal-address-form.js.map +0 -1
- package/dist/collection/components/business-form/test/business-form.spec.js.map +0 -1
- package/dist/collection/components/business-list/business-list.js.map +0 -1
- package/dist/collection/components/business-list/business-list.stories.js.map +0 -1
- package/dist/collection/components/card-form/card-form.js.map +0 -1
- package/dist/collection/components/card-form/card-form.stories.js.map +0 -1
- package/dist/collection/components/card-form/test/card-form.e2e.js.map +0 -1
- package/dist/collection/components/card-form/test/card-form.spec.js.map +0 -1
- package/dist/collection/components/details/details.js.map +0 -1
- package/dist/collection/components/details/utils.js.map +0 -1
- package/dist/collection/components/form/form-control-datepart.js.map +0 -1
- package/dist/collection/components/form/form-control-monetary.js.map +0 -1
- package/dist/collection/components/form/form-control-number-masked.js.map +0 -1
- package/dist/collection/components/form/form-control-number.js.map +0 -1
- package/dist/collection/components/form/form-control-select.js.map +0 -1
- package/dist/collection/components/form/form-control-text.js.map +0 -1
- package/dist/collection/components/form/form.js.map +0 -1
- package/dist/collection/components/gross-payment-chart/chart-utils.js.map +0 -1
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.js.map +0 -1
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.stories.js.map +0 -1
- package/dist/collection/components/gross-payment-chart/test/gross-payment-chart.spec.js.map +0 -1
- package/dist/collection/components/pagination-menu/pagination-menu.js.map +0 -1
- package/dist/collection/components/payment-balance-transactions/payment-balance-transactions.js.map +0 -1
- package/dist/collection/components/payment-balance-transactions/payment-balance-transactions.stories.js.map +0 -1
- package/dist/collection/components/payment-details/payment-details.js.map +0 -1
- package/dist/collection/components/payment-details/payment-details.stories.js.map +0 -1
- package/dist/collection/components/payment-form/payment-form.js.map +0 -1
- package/dist/collection/components/payment-form/payment-form.stories.js.map +0 -1
- package/dist/collection/components/payment-form/payment-method-selector.js.map +0 -1
- package/dist/collection/components/payment-form/test/payment-form.e2e.js.map +0 -1
- package/dist/collection/components/payment-form/test/payment-form.spec.js.map +0 -1
- package/dist/collection/components/payment-form/tokenize.js.map +0 -1
- package/dist/collection/components/payment-method-form/get-computed-theme.js.map +0 -1
- package/dist/collection/components/payment-method-form/message-event-types.js.map +0 -1
- package/dist/collection/components/payment-method-form/payment-method-form.js.map +0 -1
- package/dist/collection/components/payment-method-form/payment-method-responses.js.map +0 -1
- package/dist/collection/components/payment-method-form/test/payment-method-form.e2e.js.map +0 -1
- package/dist/collection/components/payment-method-form/test/payment-method-form.spec.js.map +0 -1
- package/dist/collection/components/payment-method-form/theme.js.map +0 -1
- package/dist/collection/components/payments-list/payments-list.js.map +0 -1
- package/dist/collection/components/payments-list/payments-list.stories.js.map +0 -1
- package/dist/collection/components/payments-list/test/payments-list.spec.js.map +0 -1
- package/dist/collection/components/payout-details/payout-details.js.map +0 -1
- package/dist/collection/components/payout-details/payout-details.stories.js.map +0 -1
- package/dist/collection/components/payouts-list/payouts-list.js.map +0 -1
- package/dist/collection/components/payouts-list/payouts-list.stories.js.map +0 -1
- package/dist/collection/components/proceeds-list/proceeds-list.js.map +0 -1
- package/dist/collection/components/proceeds-list/proceeds-list.stories.js.map +0 -1
- package/dist/collection/components/refund-form/refund-form-schema.js.map +0 -1
- package/dist/collection/components/refund-form/refund-form.js.map +0 -1
- package/dist/collection/components/refund-form/refund-form.stories.js.map +0 -1
- package/dist/collection/components/select-input/select-input.js.map +0 -1
- package/dist/collection/components/select-input/test/select-input.spec.js.map +0 -1
- package/dist/collection/components/subaccount-details/subaccount-account-details/subaccount-account-details.js.map +0 -1
- package/dist/collection/components/subaccount-details/subaccount-bank-details/subaccount-bank-details.js.map +0 -1
- package/dist/collection/components/subaccount-details/subaccount-details.js.map +0 -1
- package/dist/collection/components/subaccount-details/subaccount-details.stories.js.map +0 -1
- package/dist/collection/components/subaccount-details/subaccount-merchant-details/subaccount-merchant-details.js.map +0 -1
- package/dist/collection/components/subaccount-details/subaccount-owners-details/subaccount-owners-details.js.map +0 -1
- package/dist/collection/components/subaccount-details/subaccount-representative-details/subaccount-representative-details.js.map +0 -1
- package/dist/collection/components/subaccount-details/subaccount-terms-details/subaccount-terms-details.js.map +0 -1
- package/dist/collection/components/subaccount-details/test/subaccount-details.spec.js.map +0 -1
- package/dist/collection/components/subaccounts-list/subaccounts-list.js.map +0 -1
- package/dist/collection/components/subaccounts-list/subaccounts-list.stories.js.map +0 -1
- package/dist/collection/components/subaccounts-list/test/subaccounts-list.e2e.js.map +0 -1
- package/dist/collection/components/subaccounts-list/test/subaccounts-list.spec.js.map +0 -1
- package/dist/collection/components/table/table.js.map +0 -1
- package/dist/collection/components/table/test/table.spec.js.map +0 -1
- package/dist/collection/components/text-input/test/text-input.spec.js.map +0 -1
- package/dist/collection/components/text-input/text-input.js.map +0 -1
- package/dist/collection/index.js.map +0 -1
- package/dist/collection/utils/country-options.js.map +0 -1
- package/dist/collection/utils/phone-masks.js.map +0 -1
- package/dist/collection/utils/utils.js.map +0 -1
- package/dist/components/Api.js.map +0 -1
- package/dist/components/Pagination.js.map +0 -1
- package/dist/components/Payout.js.map +0 -1
- package/dist/components/SubAccount.js.map +0 -1
- package/dist/components/additional-questions-details.js.map +0 -1
- package/dist/components/additional-questions-details2.js.map +0 -1
- package/dist/components/additional-questions.js.map +0 -1
- package/dist/components/billing-form.js.map +0 -1
- package/dist/components/business-address-form.js.map +0 -1
- package/dist/components/business-generic-info.js.map +0 -1
- package/dist/components/business-owners.js.map +0 -1
- package/dist/components/business-representative.js.map +0 -1
- package/dist/components/config.js.map +0 -1
- package/dist/components/details.js.map +0 -1
- package/dist/components/form-control-datepart.js.map +0 -1
- package/dist/components/form-control-datepart2.js.map +0 -1
- package/dist/components/form-control-monetary.js.map +0 -1
- package/dist/components/form-control-monetary2.js.map +0 -1
- package/dist/components/form-control-number-masked.js.map +0 -1
- package/dist/components/form-control-number-masked2.js.map +0 -1
- package/dist/components/form-control-number.js.map +0 -1
- package/dist/components/form-control-number2.js.map +0 -1
- package/dist/components/form-control-select.js.map +0 -1
- package/dist/components/form-control-select2.js.map +0 -1
- package/dist/components/form-control-text.js.map +0 -1
- package/dist/components/form-control-text2.js.map +0 -1
- package/dist/components/form.js.map +0 -1
- package/dist/components/generic-info-details.js.map +0 -1
- package/dist/components/generic-info-details2.js.map +0 -1
- package/dist/components/helpers.js.map +0 -1
- package/dist/components/index.esm.js.map +0 -1
- package/dist/components/index.js.map +0 -1
- package/dist/components/index2.js.map +0 -1
- package/dist/components/justifi-additional-questions.js.map +0 -1
- package/dist/components/justifi-bank-account-form.js.map +0 -1
- package/dist/components/justifi-billing-form.js.map +0 -1
- package/dist/components/justifi-business-address-form.js.map +0 -1
- package/dist/components/justifi-business-details.js.map +0 -1
- package/dist/components/justifi-business-form-stepped.js.map +0 -1
- package/dist/components/justifi-business-form.js.map +0 -1
- package/dist/components/justifi-business-generic-info.js.map +0 -1
- package/dist/components/justifi-business-list.js.map +0 -1
- package/dist/components/justifi-business-owners.js.map +0 -1
- package/dist/components/justifi-business-representative.js.map +0 -1
- package/dist/components/justifi-card-form.js.map +0 -1
- package/dist/components/justifi-details.js.map +0 -1
- package/dist/components/justifi-gross-payment-chart.js.map +0 -1
- package/dist/components/justifi-legal-address-form.js.map +0 -1
- package/dist/components/justifi-payment-balance-transactions.js.map +0 -1
- package/dist/components/justifi-payment-details.js.map +0 -1
- package/dist/components/justifi-payment-form.js.map +0 -1
- package/dist/components/justifi-payment-method-form.js.map +0 -1
- package/dist/components/justifi-payment-method-selector.js.map +0 -1
- package/dist/components/justifi-payments-list.js.map +0 -1
- package/dist/components/justifi-payout-details.js.map +0 -1
- package/dist/components/justifi-payouts-list.js.map +0 -1
- package/dist/components/justifi-proceeds-list.js.map +0 -1
- package/dist/components/justifi-refund-form.js.map +0 -1
- package/dist/components/justifi-subaccount-details.js.map +0 -1
- package/dist/components/justifi-subaccounts-list.js.map +0 -1
- package/dist/components/justifi-table.js.map +0 -1
- package/dist/components/legal-address-details.js.map +0 -1
- package/dist/components/legal-address-details2.js.map +0 -1
- package/dist/components/legal-address-form.js.map +0 -1
- package/dist/components/owner-details.js.map +0 -1
- package/dist/components/owner-details2.js.map +0 -1
- package/dist/components/pagination-menu.js.map +0 -1
- package/dist/components/pagination-menu2.js.map +0 -1
- package/dist/components/payment-method-form.js.map +0 -1
- package/dist/components/payment-method-selector.js.map +0 -1
- package/dist/components/phone-masks.js.map +0 -1
- package/dist/components/representative-details.js.map +0 -1
- package/dist/components/representative-details2.js.map +0 -1
- package/dist/components/select-input.js.map +0 -1
- package/dist/components/select-input2.js.map +0 -1
- package/dist/components/state-options.js.map +0 -1
- package/dist/components/subaccount-account-details.js.map +0 -1
- package/dist/components/subaccount-account-details2.js.map +0 -1
- package/dist/components/subaccount-bank-details.js.map +0 -1
- package/dist/components/subaccount-merchant-details.js.map +0 -1
- package/dist/components/subaccount-merchant-details2.js.map +0 -1
- package/dist/components/subaccount-owners-details.js.map +0 -1
- package/dist/components/subaccount-owners-details2.js.map +0 -1
- package/dist/components/subaccount-representative-details.js.map +0 -1
- package/dist/components/subaccount-representative-details2.js.map +0 -1
- package/dist/components/subaccount-terms-details.js.map +0 -1
- package/dist/components/table.js.map +0 -1
- package/dist/components/text-input.js.map +0 -1
- package/dist/components/text-input2.js.map +0 -1
- package/dist/components/utils.js.map +0 -1
- package/dist/components/utils2.js.map +0 -1
- package/dist/config.js.map +0 -1
- package/dist/esm/Api-c65d3ed8.js.map +0 -1
- package/dist/esm/Pagination-31f770d6.js.map +0 -1
- package/dist/esm/Payout-fcf16887.js.map +0 -1
- package/dist/esm/SubAccount-128190e9.js.map +0 -1
- package/dist/esm/additional-questions-details_5.entry.js.map +0 -1
- package/dist/esm/business-form-schema-30a3eadd.js.map +0 -1
- package/dist/esm/config-ceb0f902.js.map +0 -1
- package/dist/esm/form-32cf3d1e.js.map +0 -1
- package/dist/esm/form-control-datepart_2.entry.js.map +0 -1
- package/dist/esm/form-control-monetary.entry.js.map +0 -1
- package/dist/esm/form-control-number_3.entry.js.map +0 -1
- package/dist/esm/helpers-1d5ecdc8.js.map +0 -1
- package/dist/esm/index-5ed53c20.js.map +0 -1
- package/dist/esm/index-7471ed60.js.map +0 -1
- package/dist/esm/index.esm-9397ffa0.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/justifi-additional-questions_6.entry.js.map +0 -1
- package/dist/esm/justifi-bank-account-form.entry.js.map +0 -1
- package/dist/esm/justifi-billing-form_2.entry.js.map +0 -1
- package/dist/esm/justifi-business-details.entry.js.map +0 -1
- package/dist/esm/justifi-business-form-stepped.entry.js.map +0 -1
- package/dist/esm/justifi-business-form.entry.js.map +0 -1
- package/dist/esm/justifi-business-list.entry.js.map +0 -1
- package/dist/esm/justifi-card-form.entry.js.map +0 -1
- package/dist/esm/justifi-details.entry.js.map +0 -1
- package/dist/esm/justifi-gross-payment-chart.entry.js.map +0 -1
- package/dist/esm/justifi-payment-balance-transactions.entry.js.map +0 -1
- package/dist/esm/justifi-payment-details.entry.js.map +0 -1
- package/dist/esm/justifi-payment-form.entry.js.map +0 -1
- package/dist/esm/justifi-payment-method-form.entry.js.map +0 -1
- package/dist/esm/justifi-payments-list.entry.js.map +0 -1
- package/dist/esm/justifi-payout-details.entry.js.map +0 -1
- package/dist/esm/justifi-payouts-list.entry.js.map +0 -1
- package/dist/esm/justifi-proceeds-list.entry.js.map +0 -1
- package/dist/esm/justifi-refund-form.entry.js.map +0 -1
- package/dist/esm/justifi-subaccount-details.entry.js.map +0 -1
- package/dist/esm/justifi-subaccounts-list.entry.js.map +0 -1
- package/dist/esm/justifi-table_2.entry.js.map +0 -1
- package/dist/esm/loader.js.map +0 -1
- package/dist/esm/select-input_2.entry.js.map +0 -1
- package/dist/esm/state-options-ece00aa2.js.map +0 -1
- package/dist/esm/subaccount-account-details_4.entry.js.map +0 -1
- package/dist/esm/subaccount-bank-details.entry.js.map +0 -1
- package/dist/esm/subaccount-terms-details.entry.js.map +0 -1
- package/dist/esm/utils-40b7002c.js.map +0 -1
- package/dist/esm/utils-6352c002.js.map +0 -1
- package/dist/esm/webcomponents.js.map +0 -1
- package/dist/webcomponents/index.esm.js.map +0 -1
- package/dist/webcomponents/p-0d5d02d7.js.map +0 -1
- package/dist/webcomponents/p-160c9fbb.entry.js +0 -2
- package/dist/webcomponents/p-160c9fbb.entry.js.map +0 -1
- package/dist/webcomponents/p-215b4c87.entry.js +0 -2
- package/dist/webcomponents/p-215b4c87.entry.js.map +0 -1
- package/dist/webcomponents/p-26245f01.entry.js +0 -20
- package/dist/webcomponents/p-26245f01.entry.js.map +0 -1
- package/dist/webcomponents/p-26dfa274.entry.js +0 -2
- package/dist/webcomponents/p-26dfa274.entry.js.map +0 -1
- package/dist/webcomponents/p-285a50a6.entry.js +0 -2
- package/dist/webcomponents/p-285a50a6.entry.js.map +0 -1
- package/dist/webcomponents/p-2c2cde2d.js.map +0 -1
- package/dist/webcomponents/p-2cd29187.entry.js +0 -2
- package/dist/webcomponents/p-2cd29187.entry.js.map +0 -1
- package/dist/webcomponents/p-355eabff.entry.js +0 -2
- package/dist/webcomponents/p-355eabff.entry.js.map +0 -1
- package/dist/webcomponents/p-356cf20d.entry.js +0 -2
- package/dist/webcomponents/p-356cf20d.entry.js.map +0 -1
- package/dist/webcomponents/p-378e163d.entry.js +0 -2
- package/dist/webcomponents/p-378e163d.entry.js.map +0 -1
- package/dist/webcomponents/p-397e0d5a.entry.js +0 -2
- package/dist/webcomponents/p-397e0d5a.entry.js.map +0 -1
- package/dist/webcomponents/p-3d82c8a3.entry.js.map +0 -1
- package/dist/webcomponents/p-47bc59b5.js.map +0 -1
- package/dist/webcomponents/p-526cb161.js.map +0 -1
- package/dist/webcomponents/p-59860ac8.js.map +0 -1
- package/dist/webcomponents/p-5b8f004d.entry.js +0 -2
- package/dist/webcomponents/p-5b8f004d.entry.js.map +0 -1
- package/dist/webcomponents/p-62872b87.entry.js +0 -2
- package/dist/webcomponents/p-62872b87.entry.js.map +0 -1
- package/dist/webcomponents/p-635a3b3e.entry.js +0 -2
- package/dist/webcomponents/p-635a3b3e.entry.js.map +0 -1
- package/dist/webcomponents/p-64af0ae9.entry.js +0 -2
- package/dist/webcomponents/p-64af0ae9.entry.js.map +0 -1
- package/dist/webcomponents/p-76983a7e.js +0 -2
- package/dist/webcomponents/p-76983a7e.js.map +0 -1
- package/dist/webcomponents/p-76dffeec.js.map +0 -1
- package/dist/webcomponents/p-77e732b2.entry.js +0 -2
- package/dist/webcomponents/p-77e732b2.entry.js.map +0 -1
- package/dist/webcomponents/p-7d58db66.js.map +0 -1
- package/dist/webcomponents/p-88fa33c1.entry.js +0 -2
- package/dist/webcomponents/p-88fa33c1.entry.js.map +0 -1
- package/dist/webcomponents/p-8f37e3ee.js.map +0 -1
- package/dist/webcomponents/p-931989e6.entry.js +0 -2
- package/dist/webcomponents/p-931989e6.entry.js.map +0 -1
- package/dist/webcomponents/p-96eecdff.entry.js +0 -2
- package/dist/webcomponents/p-96eecdff.entry.js.map +0 -1
- package/dist/webcomponents/p-988191bf.js.map +0 -1
- package/dist/webcomponents/p-9b6dcac5.js.map +0 -1
- package/dist/webcomponents/p-9ce9561a.entry.js +0 -2
- package/dist/webcomponents/p-9ce9561a.entry.js.map +0 -1
- package/dist/webcomponents/p-abc05a34.entry.js +0 -2
- package/dist/webcomponents/p-abc05a34.entry.js.map +0 -1
- package/dist/webcomponents/p-b12691c3.entry.js.map +0 -1
- package/dist/webcomponents/p-b157f6ae.js.map +0 -1
- package/dist/webcomponents/p-b98a3f94.entry.js +0 -2
- package/dist/webcomponents/p-b98a3f94.entry.js.map +0 -1
- package/dist/webcomponents/p-c1ae571b.entry.js +0 -2
- package/dist/webcomponents/p-c1ae571b.entry.js.map +0 -1
- package/dist/webcomponents/p-c4289027.entry.js +0 -2
- package/dist/webcomponents/p-c4289027.entry.js.map +0 -1
- package/dist/webcomponents/p-c43e9572.entry.js +0 -2
- package/dist/webcomponents/p-c43e9572.entry.js.map +0 -1
- package/dist/webcomponents/p-c4c8fb44.entry.js +0 -2
- package/dist/webcomponents/p-c4c8fb44.entry.js.map +0 -1
- package/dist/webcomponents/p-cbb60191.js.map +0 -1
- package/dist/webcomponents/p-d6b5793d.js.map +0 -1
- package/dist/webcomponents/p-dbbd2611.entry.js +0 -2
- package/dist/webcomponents/p-dbbd2611.entry.js.map +0 -1
- package/dist/webcomponents/p-ec1890fc.entry.js +0 -2
- package/dist/webcomponents/p-ec1890fc.entry.js.map +0 -1
- package/dist/webcomponents/p-f0897468.entry.js +0 -2
- package/dist/webcomponents/p-f0897468.entry.js.map +0 -1
- package/dist/webcomponents/webcomponents.esm.js.map +0 -1
package/dist/components/form.js
CHANGED
package/dist/components/index.js
CHANGED
|
@@ -29,15 +29,16 @@ const BusinessDetails = /*@__PURE__*/ proxyCustomElement(class BusinessDetails e
|
|
|
29
29
|
this.renderState = RENDER_STATES.LOADING;
|
|
30
30
|
this.errorMessage = 'An error ocurred.';
|
|
31
31
|
this.fetchBusiness = this.fetchBusiness.bind(this);
|
|
32
|
-
this.setError = this.setError.bind(this);
|
|
33
32
|
}
|
|
34
33
|
async componentWillLoad() {
|
|
35
34
|
if (!this.authToken) {
|
|
36
|
-
this.
|
|
35
|
+
this.errorMessage = 'Missing auth-token. The form will not be functional without it.';
|
|
36
|
+
console.error(this.errorMessage);
|
|
37
37
|
return;
|
|
38
38
|
}
|
|
39
39
|
if (!this.businessId) {
|
|
40
|
-
this.
|
|
40
|
+
this.errorMessage = 'Missing business-id. The form will not be functional without it.';
|
|
41
|
+
console.error(this.errorMessage);
|
|
41
42
|
return;
|
|
42
43
|
}
|
|
43
44
|
this.api = Api(this.authToken, config.proxyApiOrigin);
|
|
@@ -48,27 +49,30 @@ const BusinessDetails = /*@__PURE__*/ proxyCustomElement(class BusinessDetails e
|
|
|
48
49
|
try {
|
|
49
50
|
const response = await this.api.get(`entities/business/${businessId}`);
|
|
50
51
|
if (response.error) {
|
|
51
|
-
this.
|
|
52
|
+
this.errorMessage = `${this.errorMessage}: ${response.error}`;
|
|
53
|
+
console.error(this.errorMessage);
|
|
54
|
+
this.renderState = RENDER_STATES.ERROR;
|
|
52
55
|
return;
|
|
53
56
|
}
|
|
54
57
|
this.business = response.data;
|
|
55
58
|
this.renderState = RENDER_STATES.READY;
|
|
56
59
|
}
|
|
57
60
|
catch (error) {
|
|
58
|
-
this.
|
|
61
|
+
this.errorMessage = `${this.errorMessage}: ${error}`;
|
|
62
|
+
console.error(this.errorMessage);
|
|
63
|
+
this.renderState = RENDER_STATES.ERROR;
|
|
64
|
+
}
|
|
65
|
+
finally {
|
|
66
|
+
this.renderState = RENDER_STATES.READY;
|
|
59
67
|
}
|
|
60
|
-
}
|
|
61
|
-
setError(error) {
|
|
62
|
-
this.errorMessage = error || this.errorMessage;
|
|
63
|
-
this.renderState = RENDER_STATES.ERROR;
|
|
64
68
|
}
|
|
65
69
|
render() {
|
|
66
70
|
var _a, _b, _c;
|
|
67
71
|
if (this.renderState === RENDER_STATES.LOADING) {
|
|
68
|
-
return LoadingState;
|
|
72
|
+
return h(Host, null, LoadingState);
|
|
69
73
|
}
|
|
70
74
|
if (this.renderState === RENDER_STATES.ERROR) {
|
|
71
|
-
return ErrorState(this.errorMessage);
|
|
75
|
+
return h(Host, null, ErrorState(this.errorMessage));
|
|
72
76
|
}
|
|
73
77
|
return (h(Host, null, h("generic-info-details", { business: this.business }), h("legal-address-details", { legalAddress: (_a = this.business) === null || _a === void 0 ? void 0 : _a.legal_address }), h("representative-details", { representative: (_b = this.business) === null || _b === void 0 ? void 0 : _b.representative }), h("owner-details", { owners: (_c = this.business) === null || _c === void 0 ? void 0 : _c.owners }), h("additional-questions-details", { business: this.business })));
|
|
74
78
|
}
|
|
@@ -123,5 +127,3 @@ const JustifiBusinessDetails = BusinessDetails;
|
|
|
123
127
|
const defineCustomElement = defineCustomElement$1;
|
|
124
128
|
|
|
125
129
|
export { JustifiBusinessDetails, defineCustomElement };
|
|
126
|
-
|
|
127
|
-
//# sourceMappingURL=justifi-business-details.js.map
|
|
@@ -34,6 +34,7 @@ const BusinessFormStepped = /*@__PURE__*/ proxyCustomElement(class BusinessFormS
|
|
|
34
34
|
this.authToken = undefined;
|
|
35
35
|
this.accountId = undefined;
|
|
36
36
|
this.businessId = undefined;
|
|
37
|
+
this.testMode = false;
|
|
37
38
|
this.isLoading = false;
|
|
38
39
|
this.currentStep = 0;
|
|
39
40
|
this.totalSteps = 4;
|
|
@@ -71,6 +72,11 @@ const BusinessFormStepped = /*@__PURE__*/ proxyCustomElement(class BusinessFormS
|
|
|
71
72
|
}
|
|
72
73
|
}
|
|
73
74
|
async sendData(onSuccess) {
|
|
75
|
+
// Stopgap solution to prevent sending data in storybook examples.
|
|
76
|
+
if (this.testMode) {
|
|
77
|
+
onSuccess();
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
74
80
|
this.isLoading = true;
|
|
75
81
|
try {
|
|
76
82
|
const data = this.formController.values.getValue();
|
|
@@ -135,6 +141,7 @@ const BusinessFormStepped = /*@__PURE__*/ proxyCustomElement(class BusinessFormS
|
|
|
135
141
|
"authToken": [1, "auth-token"],
|
|
136
142
|
"accountId": [1, "account-id"],
|
|
137
143
|
"businessId": [1, "business-id"],
|
|
144
|
+
"testMode": [4, "test-mode"],
|
|
138
145
|
"isLoading": [32],
|
|
139
146
|
"currentStep": [32],
|
|
140
147
|
"totalSteps": [32],
|
|
@@ -218,5 +225,3 @@ const JustifiBusinessFormStepped = BusinessFormStepped;
|
|
|
218
225
|
const defineCustomElement = defineCustomElement$1;
|
|
219
226
|
|
|
220
227
|
export { JustifiBusinessFormStepped, defineCustomElement };
|
|
221
|
-
|
|
222
|
-
//# sourceMappingURL=justifi-business-form-stepped.js.map
|
|
@@ -10992,15 +10992,27 @@ const GrossPaymentChart = /*@__PURE__*/ proxyCustomElement(class GrossPaymentCha
|
|
|
10992
10992
|
return;
|
|
10993
10993
|
}
|
|
10994
10994
|
this.loading = true;
|
|
10995
|
-
|
|
10996
|
-
|
|
10997
|
-
|
|
10998
|
-
|
|
10999
|
-
|
|
11000
|
-
|
|
11001
|
-
|
|
11002
|
-
|
|
11003
|
-
|
|
10995
|
+
try {
|
|
10996
|
+
const api = Api(this.authToken, config.proxyApiOrigin);
|
|
10997
|
+
const endpoint = `account/${this.accountId}/reports/gross_volume`;
|
|
10998
|
+
const response = await api.get(endpoint);
|
|
10999
|
+
if (!response.error) {
|
|
11000
|
+
this.total = response === null || response === void 0 ? void 0 : response.data.total;
|
|
11001
|
+
this.dates = response === null || response === void 0 ? void 0 : response.data.dates.reverse();
|
|
11002
|
+
this.endDate = this.dates[this.dates.length - 1].date;
|
|
11003
|
+
}
|
|
11004
|
+
else {
|
|
11005
|
+
this.errorMessage = `Error trying to fetch data : ${response.error}`;
|
|
11006
|
+
console.error(this.errorMessage);
|
|
11007
|
+
}
|
|
11008
|
+
}
|
|
11009
|
+
catch (error) {
|
|
11010
|
+
this.errorMessage = `Error trying to fetch data : ${error}`;
|
|
11011
|
+
console.error(this.errorMessage);
|
|
11012
|
+
}
|
|
11013
|
+
finally {
|
|
11014
|
+
this.loading = false;
|
|
11015
|
+
}
|
|
11004
11016
|
}
|
|
11005
11017
|
renderChart() {
|
|
11006
11018
|
if (this.chart) {
|
|
@@ -11049,5 +11061,3 @@ const JustifiGrossPaymentChart = GrossPaymentChart;
|
|
|
11049
11061
|
const defineCustomElement = defineCustomElement$1;
|
|
11050
11062
|
|
|
11051
11063
|
export { JustifiGrossPaymentChart, defineCustomElement };
|
|
11052
|
-
|
|
11053
|
-
//# sourceMappingURL=justifi-gross-payment-chart.js.map
|
|
@@ -120,5 +120,3 @@ const JustifiPaymentBalanceTransactions = PaymentBalanceTransactions;
|
|
|
120
120
|
const defineCustomElement = defineCustomElement$1;
|
|
121
121
|
|
|
122
122
|
export { JustifiPaymentBalanceTransactions, defineCustomElement };
|
|
123
|
-
|
|
124
|
-
//# sourceMappingURL=justifi-payment-balance-transactions.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { A as Api } from './Api.js';
|
|
3
3
|
import './Pagination.js';
|
|
4
|
-
import './Payout.js';
|
|
5
|
-
import { M as MapPaymentStatusToBadge, b as formatCurrency, a as formatDate, d as formatTime } from './utils2.js';
|
|
4
|
+
import { a as Payment } from './Payout.js';
|
|
5
|
+
import { M as MapPaymentStatusToBadge, b as formatCurrency, a as formatDate, d as formatTime, s as snakeCaseToHumanReadable } from './utils2.js';
|
|
6
6
|
import { L as LoadingState, E as ErrorState, b as EntityHeadInfo, c as EntityHeadInfoItem, D as DetailSection, a as DetailItem, C as CodeBlock } from './utils.js';
|
|
7
7
|
import { c as config } from './config.js';
|
|
8
8
|
import { d as defineCustomElement$2 } from './details.js';
|
|
@@ -27,26 +27,35 @@ const PaymentDetails = /*@__PURE__*/ proxyCustomElement(class PaymentDetails ext
|
|
|
27
27
|
this.fetchData();
|
|
28
28
|
}
|
|
29
29
|
async fetchData() {
|
|
30
|
-
this.errorMessage = '';
|
|
31
30
|
if (!this.paymentId || !this.authToken) {
|
|
32
31
|
this.errorMessage = "Can not fetch any data without a PaymentID and an AuthToken";
|
|
33
32
|
this.loading = false;
|
|
34
33
|
return;
|
|
35
34
|
}
|
|
36
35
|
this.loading = true;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
36
|
+
try {
|
|
37
|
+
const endpoint = `payments/${this.paymentId}`;
|
|
38
|
+
const response = await Api(this.authToken, config.proxyApiOrigin).get(endpoint);
|
|
39
|
+
if (!response.error) {
|
|
40
|
+
this.payment = new Payment(response.data);
|
|
41
|
+
}
|
|
42
|
+
else {
|
|
43
|
+
const responseError = typeof response.error === 'string' ? response.error : response.error.message;
|
|
44
|
+
this.errorMessage = `Error trying to fetch data : ${responseError}`;
|
|
45
|
+
console.error(this.errorMessage);
|
|
46
|
+
}
|
|
41
47
|
}
|
|
42
|
-
|
|
43
|
-
this.errorMessage =
|
|
48
|
+
catch (error) {
|
|
49
|
+
this.errorMessage = `Error trying to fetch data : ${error}`;
|
|
50
|
+
console.error(this.errorMessage);
|
|
51
|
+
}
|
|
52
|
+
finally {
|
|
53
|
+
this.loading = false;
|
|
44
54
|
}
|
|
45
|
-
this.loading = false;
|
|
46
55
|
}
|
|
47
56
|
render() {
|
|
48
|
-
|
|
49
|
-
|
|
57
|
+
return (h(Host, null, this.loading && LoadingState, !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
|
|
58
|
+
this.payment && (h("justifi-details", { "error-message": this.errorMessage }, h(EntityHeadInfo, { slot: "head-info", badge: h("span", { slot: 'badge', innerHTML: MapPaymentStatusToBadge(this.payment.status) }), title: `${formatCurrency(this.payment.amount)} ${this.payment.currency.toUpperCase()}` }, h(EntityHeadInfoItem, { classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { title: "ID", value: this.payment.id })), h("div", { slot: 'detail-sections' }, h(DetailSection, { sectionTitle: "Details" }, h(DetailItem, { title: "Amount", value: formatCurrency(this.payment.amount) }), h(DetailItem, { title: "Fees", value: formatCurrency(this.payment.fee_amount) }), h(DetailItem, { title: "Refunded", value: formatCurrency(this.payment.amount_refunded) }), h(DetailItem, { title: "Net", value: formatCurrency(this.payment.balance) }), h(DetailItem, { title: "Status", value: MapPaymentStatusToBadge(this.payment.status) }), h(DetailItem, { title: "Payment ID", value: this.payment.id }), h(DetailItem, { title: "Processing Fees", value: formatCurrency(this.payment.fee_amount) }), h(DetailItem, { title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { title: "Description", value: this.payment.description })), this.payment.payment_method.card && (h(DetailSection, { sectionTitle: "Payment Method" }, h(DetailItem, { title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { title: "Payment Type", value: "Card" }), h(DetailItem, { title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { title: "Cardholder", value: this.payment.payment_method.payersName }))), this.payment.payment_method.bank_account && (h(DetailSection, { sectionTitle: "Payment Method" }, h(DetailItem, { title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { title: "Account Owner", value: this.payment.payment_method.payersName }))), h(DetailSection, { sectionTitle: 'Metadata' }, h(CodeBlock, { metadata: this.payment.metadata })))))));
|
|
50
59
|
}
|
|
51
60
|
static get watchers() { return {
|
|
52
61
|
"paymentId": ["updateOnPropChange"],
|
|
@@ -83,5 +92,3 @@ const JustifiPaymentDetails = PaymentDetails;
|
|
|
83
92
|
const defineCustomElement = defineCustomElement$1;
|
|
84
93
|
|
|
85
94
|
export { JustifiPaymentDetails, defineCustomElement };
|
|
86
|
-
|
|
87
|
-
//# sourceMappingURL=justifi-payment-details.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import './Pagination.js';
|
|
3
|
-
import {
|
|
3
|
+
import { b as PaymentMethodTypes } from './Payout.js';
|
|
4
4
|
import { e as extractComputedFontsToLoad } from './utils2.js';
|
|
5
5
|
import { d as defineCustomElement$6 } from './billing-form.js';
|
|
6
6
|
import { d as defineCustomElement$5 } from './payment-method-form.js';
|
|
@@ -76,11 +76,21 @@ const PaymentForm = /*@__PURE__*/ proxyCustomElement(class PaymentForm extends H
|
|
|
76
76
|
if (!billingFormValidation.isValid || !paymentMethodFormValidation.isValid)
|
|
77
77
|
return;
|
|
78
78
|
this.isLoading = true;
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
79
|
+
try {
|
|
80
|
+
const billingFormFieldValues = await this.billingFormRef.getValues();
|
|
81
|
+
const paymentMethodData = Object.assign({ email: this.email }, billingFormFieldValues);
|
|
82
|
+
const tokenizeResponse = await this.paymentMethodFormRef.tokenize(this.clientId, paymentMethodData, this.accountId);
|
|
83
|
+
if (tokenizeResponse.error) {
|
|
84
|
+
console.error(`An error occured submitting the form: ${tokenizeResponse.error.message}`);
|
|
85
|
+
}
|
|
86
|
+
this.submitted.emit(tokenizeResponse);
|
|
87
|
+
}
|
|
88
|
+
catch (error) {
|
|
89
|
+
console.error(`An error occured submitting the form: ${error}`);
|
|
90
|
+
}
|
|
91
|
+
finally {
|
|
92
|
+
this.isLoading = false;
|
|
93
|
+
}
|
|
84
94
|
}
|
|
85
95
|
render() {
|
|
86
96
|
return (h(Host, null, h("form", { class: "row gy-3" }, this.allowedPaymentMethodTypes.length > 1 && (h("div", { class: "col-12" }, h("justifi-payment-method-selector", { paymentMethodTypes: this.allowedPaymentMethodTypes, selectedPaymentMethodType: this.selectedPaymentMethodType }))), h("div", { class: "col-12" }, h("justifi-payment-method-form", { "payment-method-form-type": this.selectedPaymentMethodType, "iframe-origin": this.iframeOrigin, ref: el => {
|
|
@@ -156,5 +166,3 @@ const JustifiPaymentForm = PaymentForm;
|
|
|
156
166
|
const defineCustomElement = defineCustomElement$1;
|
|
157
167
|
|
|
158
168
|
export { JustifiPaymentForm, defineCustomElement };
|
|
159
|
-
|
|
160
|
-
//# sourceMappingURL=justifi-payment-form.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { A as Api } from './Api.js';
|
|
3
3
|
import { p as pagingDefaults } from './Pagination.js';
|
|
4
|
-
import {
|
|
4
|
+
import { a as Payment } from './Payout.js';
|
|
5
5
|
import { a as formatDate, d as formatTime, b as formatCurrency, M as MapPaymentStatusToBadge } from './utils2.js';
|
|
6
6
|
import { c as config } from './config.js';
|
|
7
7
|
import { d as defineCustomElement$3 } from './table.js';
|
|
@@ -47,28 +47,27 @@ const PaymentsList = /*@__PURE__*/ proxyCustomElement(class PaymentsList extends
|
|
|
47
47
|
return;
|
|
48
48
|
}
|
|
49
49
|
this.loading = true;
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
50
|
+
try {
|
|
51
|
+
const api = Api(this.authToken, config.proxyApiOrigin);
|
|
52
|
+
const endpoint = `account/${this.accountId}/payments`;
|
|
53
|
+
const response = await api.get(endpoint, this.params);
|
|
54
|
+
if (!response.error) {
|
|
55
|
+
this.paging = Object.assign(Object.assign({}, this.paging), response.page_info);
|
|
56
|
+
const data = (_a = response === null || response === void 0 ? void 0 : response.data) === null || _a === void 0 ? void 0 : _a.map(dataItem => new Payment(dataItem));
|
|
57
|
+
this.payments = data;
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
const responseError = typeof response.error === 'string' ? response.error : response.error.message;
|
|
61
|
+
console.error(`Error fetching payments: ${responseError}`);
|
|
62
|
+
this.errorMessage = 'No results';
|
|
63
|
+
}
|
|
57
64
|
}
|
|
58
|
-
|
|
59
|
-
|
|
65
|
+
catch (error) {
|
|
66
|
+
console.error(`Error fetching payments: ${error.message}`);
|
|
67
|
+
this.errorMessage = 'No results';
|
|
60
68
|
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
getPaymentMethod(paymentMethod) {
|
|
64
|
-
return paymentMethod.card || paymentMethod.bank_account;
|
|
65
|
-
}
|
|
66
|
-
getPaymentMethodName(paymentMethod) {
|
|
67
|
-
if (paymentMethod.card) {
|
|
68
|
-
return paymentMethod.card.name;
|
|
69
|
-
}
|
|
70
|
-
else {
|
|
71
|
-
return paymentMethod.bank_account.account_owner_name;
|
|
69
|
+
finally {
|
|
70
|
+
this.loading = false;
|
|
72
71
|
}
|
|
73
72
|
}
|
|
74
73
|
render() {
|
|
@@ -96,8 +95,8 @@ const PaymentsList = /*@__PURE__*/ proxyCustomElement(class PaymentsList extends
|
|
|
96
95
|
},
|
|
97
96
|
formatCurrency(payment.amount),
|
|
98
97
|
payment.description,
|
|
99
|
-
|
|
100
|
-
|
|
98
|
+
payment.payment_method.payersName,
|
|
99
|
+
payment.payment_method.lastFourDigits,
|
|
101
100
|
{
|
|
102
101
|
type: 'inner',
|
|
103
102
|
value: MapPaymentStatusToBadge(payment.status)
|
|
@@ -148,5 +147,3 @@ const JustifiPaymentsList = PaymentsList;
|
|
|
148
147
|
const defineCustomElement = defineCustomElement$1;
|
|
149
148
|
|
|
150
149
|
export { JustifiPaymentsList, defineCustomElement };
|
|
151
|
-
|
|
152
|
-
//# sourceMappingURL=justifi-payments-list.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { A as Api } from './Api.js';
|
|
3
3
|
import './Pagination.js';
|
|
4
|
-
import './Payout.js';
|
|
4
|
+
import { c as Payout } from './Payout.js';
|
|
5
5
|
import { g as MapPayoutStatusToBadge, b as formatCurrency, a as formatDate, d as formatTime } from './utils2.js';
|
|
6
6
|
import { L as LoadingState, E as ErrorState, b as EntityHeadInfo, c as EntityHeadInfoItem, D as DetailSection, a as DetailItem, C as CodeBlock } from './utils.js';
|
|
7
7
|
import { c as config } from './config.js';
|
|
@@ -34,21 +34,29 @@ const PaymentDetails = /*@__PURE__*/ proxyCustomElement(class PaymentDetails ext
|
|
|
34
34
|
return;
|
|
35
35
|
}
|
|
36
36
|
this.loading = true;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
try {
|
|
38
|
+
const endpoint = `payouts/${this.payoutId}`;
|
|
39
|
+
const response = await Api(this.authToken, config.proxyApiOrigin).get(endpoint);
|
|
40
|
+
if (!response.error) {
|
|
41
|
+
this.payout = new Payout(response.data);
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
const responseError = typeof response.error === 'string' ? response.error : response.error.message;
|
|
45
|
+
this.errorMessage = `Error fetching payout details: ${responseError}`;
|
|
46
|
+
console.error(this.errorMessage);
|
|
47
|
+
}
|
|
41
48
|
}
|
|
42
|
-
|
|
43
|
-
this.errorMessage =
|
|
49
|
+
catch (error) {
|
|
50
|
+
this.errorMessage = `Error fetching payout details: ${error}`;
|
|
51
|
+
console.error(this.errorMessage);
|
|
52
|
+
}
|
|
53
|
+
finally {
|
|
54
|
+
this.loading = false;
|
|
44
55
|
}
|
|
45
|
-
this.loading = false;
|
|
46
56
|
}
|
|
47
57
|
render() {
|
|
48
58
|
var _a;
|
|
49
|
-
return (h(Host, null, this.loading
|
|
50
|
-
!this.payout ? ErrorState(this.errorMessage) :
|
|
51
|
-
h("justifi-details", { "error-message": this.errorMessage }, h(EntityHeadInfo, { slot: "head-info", badge: h("span", { slot: 'badge', innerHTML: MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status) }), title: `${formatCurrency(this.payout.amount)} ${this.payout.currency.toUpperCase()}` }, h(EntityHeadInfoItem, { classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { title: "ID", value: this.payout.id })), h("div", { slot: 'detail-sections' }, h(DetailSection, { sectionTitle: "Details" }, h(DetailItem, { title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { title: "Statement Description", value: this.payout.description }), h(DetailItem, { title: "Payout Method", value: this.payout.delivery_method }), h(DetailItem, { title: "Amount", value: formatCurrency(this.payout.amount) }), h(DetailItem, { title: "Fee", value: formatCurrency(this.payout.fees_total) })), h(DetailSection, { sectionTitle: "Account" }, h(DetailItem, { title: "ID", value: this.payout.account_id }), h(DetailItem, { title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { title: "Account Number", value: this.payout.bank_account.account_number_last4 })), h(DetailSection, { sectionTitle: 'Metadata' }, h(CodeBlock, { metadata: this.payout.metadata }))))));
|
|
59
|
+
return (h(Host, null, this.loading && LoadingState, !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { "error-message": this.errorMessage }, h(EntityHeadInfo, { slot: "head-info", badge: h("span", { slot: 'badge', innerHTML: MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status) }), title: `${formatCurrency(this.payout.amount)} ${this.payout.currency.toUpperCase()}` }, h(EntityHeadInfoItem, { classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { title: "ID", value: this.payout.id })), h("div", { slot: 'detail-sections' }, h(DetailSection, { sectionTitle: "Details" }, h(DetailItem, { title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { title: "Statement Description", value: this.payout.description }), h(DetailItem, { title: "Payout Method", value: this.payout.delivery_method }), h(DetailItem, { title: "Amount", value: formatCurrency(this.payout.amount) }), h(DetailItem, { title: "Fee", value: formatCurrency(this.payout.fees_total) })), h(DetailSection, { sectionTitle: "Account" }, h(DetailItem, { title: "ID", value: this.payout.account_id }), h(DetailItem, { title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { title: "Account Number", value: this.payout.bank_account.account_number_last4 })), h(DetailSection, { sectionTitle: 'Metadata' }, h(CodeBlock, { metadata: this.payout.metadata })))))));
|
|
52
60
|
}
|
|
53
61
|
static get watchers() { return {
|
|
54
62
|
"payoutId": ["updateOnPropChange"],
|
|
@@ -85,5 +93,3 @@ const JustifiPayoutDetails = PaymentDetails;
|
|
|
85
93
|
const defineCustomElement = defineCustomElement$1;
|
|
86
94
|
|
|
87
95
|
export { JustifiPayoutDetails, defineCustomElement };
|
|
88
|
-
|
|
89
|
-
//# sourceMappingURL=justifi-payout-details.js.map
|