@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
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"justifi-business-form-stepped.js","mappings":";;;;;;;;;;;;;;;;;;;;AAAA,MAAM,sBAAsB,GAAG,094HAA094H;;ACOz/4H,MAAM,oBAAoB,GAAG;EAC3B,CAAC,EAAE,CAAC,cAAc,KAAK,qCAA+B,cAAc,EAAE,cAAc,GAAI;EACxF,CAAC,EAAE,CAAC,cAAc,KAAK,kCAA4B,cAAc,EAAE,cAAc,GAAI;EACrF,CAAC,EAAE,CAAC,cAAc,KAAK,oCAA8B,cAAc,EAAE,cAAc,GAAI;EACvF,CAAC,EAAE,CAAC,cAAc,KAAK,uCAAiC,cAAc,EAAE,cAAc,GAAI;EAC1F,CAAC,EAAE,CAAC,cAAc,KAAK,+BAAyB,cAAc,EAAE,cAAc,GAAI;CACnF,CAAC;MAYW,mBAAmB;EAY9B;;;;;;qBAR8B,KAAK;uBACJ,CAAC;sBACF,CAAC;;IAO7B,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACzC,IAAI,CAAC,SAAS,GAAG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AAC,SAAS,eAEjB,CACV,EACA,IAAI,CAAC,kBAAkB,EAAE,KACxB,cACE,IAAI,EAAC,QAAQ,EACb,KAAK,EAAC,iBAAiB,EACvB,OAAO,EAAE,MAAM,IAAI,CAAC,qBAAqB,EAAE,EAC3C,QAAQ,EAAE,IAAI,CAAC,SAAS,WAEjB,CACV,EACA,IAAI,CAAC,gBAAgB,EAAE,KACtB,cACE,IAAI,EAAC,QAAQ,EACb,KAAK,EAAC,iBAAiB,EACvB,OAAO,EAAE,MAAM,IAAI,CAAC,qBAAqB,EAAE,EAC3C,QAAQ,EAAE,IAAI,CAAC,SAAS,aAEjB,CACV,CACG,CACF,CACD,CACF,EACP;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/business-form/business-form-stepped.scss?tag=justifi-business-form-stepped","src/components/business-form/business-form-stepped.tsx"],"sourcesContent":["@import 'reboot';\n@import 'alert';\n@import 'grid';\n@import 'buttons';\n@import 'progress';\n@import 'bootstrap-utilities';\n\n:host {\n @include host-base-styles;\n display: block;\n}\n\n*::part(label) {\n color: var(--jfi-form-label-color);\n font-family: var(--jfi-form-label-font-family);\n font-weight: var(--jfi-form-label-font-weight);\n font-size: var(--jfi-form-label-font-size);\n margin: var(--jfi-form-label-margin);\n}\n\n*::part(input) {\n font-family: var(--jfi-layout-font-family);\n background-color: var(--jfi-form-control-background-color);\n border-color: var(--jfi-form-control-border-color);\n border-width: var(--jfi-form-control-border-width);\n border-bottom-width: var(--jfi-form-control-border-bottom-width);\n border-left-width: var(--jfi-form-control-border-left-width);\n border-right-width: var(--jfi-form-control-border-right-width);\n border-top-width: var(--jfi-form-control-border-top-width);\n border-radius: var(--jfi-form-control-border-radius);\n border-style: var(--jfi-form-control-border-style);\n box-shadow: var(--jfi-form-control-box-shadow);\n color: var(--jfi-form-control-color);\n font-size: var(--jfi-form-control-font-size);\n font-weight: var(--jfi-form-control-font-weight);\n line-height: var(--jfi-form-control-line-height);\n margin: var(--jfi-form-control-margin);\n padding: var(--jfi-form-control-padding);\n\n &:focus {\n color: var(--jfi-form-control-color-focus);\n border-color: var(--jfi-form-control-border-color-focus);\n box-shadow: var(--jfi-form-control-box-shadow-focus);\n }\n}\n\n*::part(input-invalid) {\n border-color: var(--jfi-form-control-border-color-error);\n box-shadow: var(--jfi-form-control-box-shadow-error);\n\n &:focus {\n border-color: var(--jfi-form-control-border-color-error);\n box-shadow: var(--jfi-form-control-box-shadow-error-focus);\n }\n}","import { Component, Host, h, Prop, State } from '@stencil/core';\nimport { FormController } from '../form/form';\nimport businessFormSchema from './business-form-schema';\nimport { Api } from '../../api';\nimport { parseForPatching } from './helpers';\nimport { config } from '../../../config';\n\nconst componentStepMapping = {\n 0: (formController) => <justifi-business-generic-info formController={formController} />,\n 1: (formController) => <justifi-legal-address-form formController={formController} />,\n 2: (formController) => <justifi-additional-questions formController={formController} />,\n 3: (formController) => <justifi-business-representative formController={formController} />,\n 4: (formController) => <justifi-business-owners formController={formController} />\n};\n\n\n/**\n * @exportedPart label: Label for inputs\n * @exportedPart input: The input fields\n * @exportedPart input-invalid: Invalid state for inputfs\n */\n@Component({\n tag: 'justifi-business-form-stepped',\n styleUrl: 'business-form-stepped.scss',\n})\nexport class BusinessFormStepped {\n @Prop() authToken: string;\n @Prop() accountId: string;\n @Prop() businessId?: string;\n @State() isLoading: boolean = false;\n @State() currentStep: number = 0;\n @State() totalSteps: number = 4;\n @State() serverError: string;\n\n private formController: FormController;\n private api: any;\n\n constructor() {\n this.sendData = this.sendData.bind(this);\n this.fetchData = this.fetchData.bind(this);\n }\n\n componentWillLoad() {\n if (!this.authToken) {\n console.warn(\n 'Warning: Missing auth-token. The form will not be functional without it.',\n );\n }\n\n this.formController = new FormController(businessFormSchema);\n this.api = Api(this.authToken, config.proxyApiOrigin);\n this.totalSteps = Object.keys(componentStepMapping).length - 1;\n\n if (this.businessId) {\n this.fetchData(this.businessId);\n } else {\n this.formController.setInitialValues({\n legal_address: {\n country: 'US',\n },\n });\n }\n }\n\n handleResponse(response, onSuccess) {\n if (response.error) {\n this.serverError = response.error.message;\n } else {\n this.serverError = '';\n this.businessId = response.data.id;\n this.formController.setInitialValues(response.data);\n onSuccess();\n }\n }\n\n private async sendData(onSuccess?: () => void) {\n this.isLoading = true;\n\n try {\n const data = this.formController.values.getValue();\n // Conditionally making either POST or PATCH request\n if (this.businessId) {\n const payload = parseForPatching(data);\n const response = await this.api.patch(\n `entities/business/${this.businessId}`,\n JSON.stringify(payload),\n { account_id: this.accountId }\n );\n this.handleResponse(response, onSuccess);\n } else {\n const response = await this.api.post(\n 'entities/business',\n JSON.stringify(data),\n { account_id: this.accountId }\n );\n this.handleResponse(response, onSuccess);\n }\n } catch (error) {\n console.error('Error sending data:', error);\n } finally {\n this.isLoading = false;\n }\n }\n\n private async fetchData(businessId) {\n this.isLoading = true;\n try {\n const response = await this.api.get(`entities/business/${businessId}`);\n this.formController.setInitialValues(response.data);\n } catch (error) {\n console.error('Error fetching data:', error);\n } finally {\n this.isLoading = false;\n }\n }\n\n private validateAndSubmit(event: any) {\n event.preventDefault();\n this.formController.validateAndSubmit(this.sendData);\n }\n\n showPreviousStepButton() {\n return this.currentStep > 0;\n }\n\n previousStepButtonOnClick() {\n this.sendData(() => this.currentStep--);\n }\n\n showNextStepButton() {\n return this.currentStep < this.totalSteps;\n }\n\n nextStepButtonOnClick() {\n this.sendData(() => this.currentStep++);\n }\n\n showSubmitButton() {\n return this.currentStep === this.totalSteps;\n }\n\n currentStepComponent() {\n return componentStepMapping[this.currentStep](this.formController);\n }\n\n render() {\n return (\n <Host exportparts=\"label,input,input-invalid\">\n <h1>Business Information</h1>\n\n {this.serverError && (\n <div class=\"alert alert-danger\" role=\"alert\">\n {this.serverError}\n </div>\n )}\n\n <form onSubmit={this.validateAndSubmit}>\n <div class=\"my-4\">\n {this.currentStepComponent()}\n </div>\n <div class=\"d-flex justify-content-between align-items-center\">\n <div class=\"d-flex align-items-center\">\n Step {this.currentStep + 1} of {this.totalSteps + 1}\n </div>\n <div class=\"d-flex gap-2\">\n {this.showPreviousStepButton() && (\n <button\n type=\"button\"\n class=\"btn btn-secondary\"\n onClick={() => this.previousStepButtonOnClick()}\n disabled={this.isLoading}>\n Previous\n </button>\n )}\n {this.showNextStepButton() && (\n <button\n type=\"button\"\n class=\"btn btn-primary\"\n onClick={() => this.nextStepButtonOnClick()}\n disabled={this.isLoading}>\n Next\n </button>\n )}\n {this.showSubmitButton() && (\n <button\n type=\"submit\"\n class=\"btn btn-primary\"\n onClick={() => this.nextStepButtonOnClick()}\n disabled={this.isLoading}>\n Submit\n </button>\n )}\n </div>\n </div>\n </form>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"justifi-business-form.js","mappings":";;;;;;;;;;;;;;;;;;;;AAAA,MAAM,eAAe,GAAG,knxHAAknxH;;MCiB7nxH,YAAY;EAQvB;;;;;qBAL8B,KAAK;IAMjC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACzC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;GAC5C;EAED,iBAAiB;IACf,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE;MACnB,OAAO,CAAC,IAAI,CACV,0EAA0E,CAC3E,CAAC;KACH;IAED,IAAI,CAAC,cAAc,GAAG,IAAI,cAAc,CAAC,kBAAkB,CAAC,CAAC;IAE7D,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,cAAc,CAAC,CAAC;IAEtD,IAAI,IAAI,CAAC,UAAU,EAAE;MACnB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;KACjC;SAAM;MACL,IAAI,CA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/business-form/business-form.scss?tag=justifi-business-form","src/components/business-form/business-form.tsx"],"sourcesContent":["@import 'reboot';\n@import 'grid';\n@import 'buttons';\n@import 'bootstrap-utilities';\n\n:host {\n @include host-base-styles;\n display: block;\n}\n\n*::part(label) {\n color: var(--jfi-form-label-color);\n font-family: var(--jfi-form-label-font-family);\n font-weight: var(--jfi-form-label-font-weight);\n font-size: var(--jfi-form-label-font-size);\n margin: var(--jfi-form-label-margin);\n}\n\n*::part(input) {\n font-family: var(--jfi-layout-font-family);\n background-color: var(--jfi-form-control-background-color);\n border-color: var(--jfi-form-control-border-color);\n border-width: var(--jfi-form-control-border-width);\n border-bottom-width: var(--jfi-form-control-border-bottom-width);\n border-left-width: var(--jfi-form-control-border-left-width);\n border-right-width: var(--jfi-form-control-border-right-width);\n border-top-width: var(--jfi-form-control-border-top-width);\n border-radius: var(--jfi-form-control-border-radius);\n border-style: var(--jfi-form-control-border-style);\n box-shadow: var(--jfi-form-control-box-shadow);\n color: var(--jfi-form-control-color);\n font-size: var(--jfi-form-control-font-size);\n font-weight: var(--jfi-form-control-font-weight);\n line-height: var(--jfi-form-control-line-height);\n margin: var(--jfi-form-control-margin);\n padding: var(--jfi-form-control-padding);\n\n &:focus {\n color: var(--jfi-form-control-color-focus);\n border-color: var(--jfi-form-control-border-color-focus);\n box-shadow: var(--jfi-form-control-box-shadow-focus);\n }\n}\n\n*::part(input-invalid) {\n border-color: var(--jfi-form-control-border-color-error);\n box-shadow: var(--jfi-form-control-box-shadow-error);\n\n &:focus {\n border-color: var(--jfi-form-control-border-color-error);\n box-shadow: var(--jfi-form-control-box-shadow-error-focus);\n }\n}","import { Component, Host, h, Prop, State } from '@stencil/core';\nimport { FormController } from '../form/form';\nimport businessFormSchema from './business-form-schema';\nimport { Api } from '../../api';\nimport { parseForPatching } from './helpers';\nimport { config } from '../../../config';\n\n\n/**\n * @exportedPart label: Label for inputs\n * @exportedPart input: The input fields\n * @exportedPart input-invalid: Invalid state for inputfs\n */\n@Component({\n tag: 'justifi-business-form',\n styleUrl: 'business-form.scss',\n})\nexport class BusinessForm {\n @Prop() authToken: string;\n @Prop() businessId?: string;\n @State() isLoading: boolean = false;\n\n private formController: FormController;\n private api: any;\n\n constructor() {\n this.sendData = this.sendData.bind(this);\n this.fetchData = this.fetchData.bind(this);\n }\n\n componentWillLoad() {\n if (!this.authToken) {\n console.warn(\n 'Warning: Missing auth-token. The form will not be functional without it.',\n );\n }\n\n this.formController = new FormController(businessFormSchema);\n\n this.api = Api(this.authToken, config.proxyApiOrigin);\n\n if (this.businessId) {\n this.fetchData(this.businessId);\n } else {\n this.formController.setInitialValues({\n legal_address: {\n country: 'US',\n },\n });\n }\n }\n\n private async sendData() {\n this.isLoading = true;\n try {\n const data = this.formController.values.getValue();\n\n // Conditionally making either POST or PATCH request\n if (this.businessId) {\n const payload = parseForPatching(data);\n const response = await this.api.patch(\n `entities/business/${this.businessId}`,\n JSON.stringify(payload),\n );\n console.log('Server response from PATCH:', response);\n } else {\n const response = await this.api.post(\n 'entities/business',\n JSON.stringify(data),\n );\n console.log('Server response from POST:', response);\n }\n } catch (error) {\n console.error('Error sending data:', error);\n } finally {\n this.isLoading = false;\n }\n }\n\n private async fetchData(businessId) {\n this.isLoading = true;\n try {\n const response = await this.api.get(`entities/business/${businessId}`);\n this.formController.setInitialValues(response.data);\n } catch (error) {\n console.error('Error fetching data:', error);\n } finally {\n this.isLoading = false;\n }\n }\n\n private validateAndSubmit(event: any) {\n event.preventDefault();\n this.formController.validateAndSubmit(this.sendData);\n }\n\n render() {\n return (\n <Host exportparts=\"label,input,input-invalid\">\n <form onSubmit={event => this.validateAndSubmit(event)}>\n <div class=\"row gap-3\">\n <div class=\"col-12 mb-4\">\n <h1>Business Information</h1>\n </div>\n <div class=\"col-12 mb-4\">\n <justifi-business-generic-info formController={this.formController} />\n </div>\n <div class=\"col-12 mb-4\">\n <justifi-legal-address-form formController={this.formController} />\n </div>\n <div class=\"col-12 mb-4\">\n <justifi-additional-questions formController={this.formController} />\n </div>\n <div class=\"col-12 mb-4\">\n <justifi-business-representative formController={this.formController} />\n </div>\n <div class=\"col-12 mb-4\">\n <justifi-business-owners isEditing={!!this.businessId} formController={this.formController} />\n </div>\n <div class=\"col-12 d-flex flex-row-reverse\">\n <button\n type=\"submit\"\n class=\"btn btn-primary jfi-submit-button\"\n disabled={!this.authToken || this.isLoading}\n >\n {this.isLoading ? 'Loading...' : 'Submit'}\n </button>\n </div>\n </div>\n </form>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"justifi-business-generic-info.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"justifi-business-list.js","mappings":";;;;;;;;;AAEA,IAAY,iBAcX;AAdD,WAAY,iBAAiB;EAC3B,gEAA2C,CAAA;EAC3C,8CAAyB,CAAA;EACzB,4CAAuB,CAAA;EACvB,gEAA2C,CAAA;EAC3C,gEAA2C,CAAA;EAC3C,8EAAyD,CAAA;EACzD,8DAAyC,CAAA;EACzC,8DAAyC,CAAA;EACzC,kDAA6B,CAAA;EAC7B,sDAAiC,CAAA;EACjC,wDAAmC,CAAA;EACnC,8EAAyD,CAAA;EACzD,oGAA+E,CAAA;AACjF,CAAC,EAdW,iBAAiB,KAAjB,iBAAiB,QAc5B;AAED,IAAY,YAKX;AALD,WAAY,YAAY;EACtB,yCAAyB,CAAA;EACzB,yCAAyB,CAAA;EACzB,yCAAyB,CAAA;EACzB,uDAAuC,CAAA;AACzC,CAAC,EALW,YAAY,KAAZ,YAAY,QAKvB;MAwFY,QAAQ;EAuBnB,YAAY,QAAmB;IAC7B,IAAI,CAAC,kBAAkB,GAAG,QAAQ,CAAC,kBAAkB,CAAC;IACtD,IAAI,CAAC,aAAa,GAAG,QAAQ,CAAC,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BAAuB,CACvD,QAAQ,CAAC,kBAAkB,CAAC,OAAO,CACpC;;mBAEI;SACN;QACD,UAAU,CAAC,QAAQ,CAAC,UAAU,CAAC;OAChC,CAAC,EACF,OAAO,EAAE,IAAI,CAAC,OAAO,mBACN,IAAI,CAAC,YAAY,EAChC,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,MAAM,kCACD,IAAI,CAAC,MAAM,KACd,eAAe,EAAE,IAAI,CAAC,eAAe,EACrC,mBAAmB,EAAE,IAAI,CAAC,mBAAmB,MAE/C,CACG,EACP;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/api/Business.ts","src/components/business-list/business-list.scss?tag=justifi-business-list&encapsulation=shadow","src/components/business-list/business-list.tsx"],"sourcesContent":["import { BankAccount } from './shared';\n\nexport enum BusinessStructure {\n sole_proprietorship = 'sole_proprietorship',\n single_llc = 'single_llc',\n multi_llc = 'multi_llc',\n private_partnership = 'private_partnership',\n private_corporation = 'private_corporation',\n unincorporated_association = 'unincorporated_association',\n public_partnership = 'public_partnership',\n public_corporation = 'public_corporation',\n incorporated = 'incorporated',\n unincorporated = 'unincorporated',\n government_unit = 'government_unit',\n government_instrumentality = 'government_instrumentality',\n tax_exempt_government_instrumentality = 'tax_exempt_government_instrumentality',\n}\n\nexport enum BusinessType {\n individual = 'individual',\n for_profit = 'for_profit',\n non_profit = 'non_profit',\n government_entity = 'government_entity',\n}\n\nexport interface Address {\n id: string;\n platform_account_id: string;\n line1: string;\n line2: string;\n postal_code: string;\n city: string;\n state: string;\n country: string;\n created_at: string;\n updated_at: string;\n}\n\nexport interface Document {\n business_id: string;\n created_at: string;\n description: string | null;\n document_type: string;\n file_name: string;\n file_type: string;\n id: string;\n identity_id: string;\n metadata: any;\n platform_account_id: string;\n presigned_url: string | null;\n status: string;\n updated_at: string;\n}\n\nexport interface Identity {\n address: Address;\n created_at: string;\n dob_day: string;\n dob_month: string;\n dob_year: string;\n documents: Document[];\n email: string;\n id: string;\n is_owner: boolean;\n metadata: any;\n name: string;\n phone: string;\n platform_account_id: string;\n ssn_last4: string;\n title: string;\n updated_at: string;\n}\n\nexport interface ProductCategories {\n credit: boolean;\n insurance: boolean;\n lending: boolean;\n payment: boolean;\n}\n\nexport interface AdditionalQuestions {\n business_revenue: string;\n business_payment_volume: string;\n business_dispute_volume: string;\n business_receivable_volume: string;\n}\n\nexport interface IBusiness {\n business_structure: BusinessStructure;\n business_type: BusinessType;\n bank_accounts: BankAccount[];\n created_at: string;\n documents: Document[];\n doing_business_as: string;\n email: string;\n id: string;\n industry: string;\n legal_address: Address;\n legal_name: string;\n metadata: any;\n owners: Identity[];\n phone: string;\n platform_account_id: string;\n representative: Identity | null;\n tax_id: string;\n updated_at: string;\n website_url: string;\n product_categories: ProductCategories;\n additional_questions: AdditionalQuestions;\n}\n\nexport class Business implements IBusiness {\n public business_structure: BusinessStructure;\n public business_type: BusinessType;\n public bank_accounts: BankAccount[];\n public created_at: string;\n public documents: Document[];\n public doing_business_as: string;\n public email: string;\n public id: string;\n public industry: string;\n public legal_address: Address;\n public legal_name: string;\n public metadata: any;\n public owners: Identity[];\n public phone: string;\n public platform_account_id: string;\n public representative: Identity | null;\n public tax_id: string;\n public updated_at: string;\n public website_url: string;\n public product_categories: ProductCategories;\n public additional_questions: AdditionalQuestions;\n\n constructor(business: IBusiness) {\n this.business_structure = business.business_structure;\n this.business_type = business.business_type;\n this.bank_accounts = business.bank_accounts;\n this.created_at = business.created_at;\n this.documents = business.documents;\n this.doing_business_as = business.doing_business_as;\n this.email = business.email;\n this.id = business.id;\n this.industry = business.industry;\n this.legal_address = business.legal_address;\n this.legal_name = business.legal_name;\n this.metadata = business.metadata;\n this.owners = business.owners;\n this.phone = business.phone;\n this.platform_account_id = business.platform_account_id;\n this.representative = business.representative;\n this.tax_id = business.tax_id;\n this.updated_at = business.updated_at;\n this.website_url = business.website_url;\n this.product_categories = business.product_categories;\n }\n}\n\nexport interface IProductReadiness {\n business_id: string;\n created_at: string;\n id: string;\n last_verified_at: string;\n missing_optional_fields: string[];\n missing_required_fields: string[];\n percentage_complete: number;\n percentage_ready: number;\n platform_account_id: string;\n product_category: string;\n product_name: string;\n required_ready: boolean;\n updated_at: string;\n}\n",":host {\n @include host-base-styles;\n}\n","import { Component, Host, h, Prop, State, Watch } from '@stencil/core';\nimport { Api, IApiResponseCollection, PagingInfo, pagingDefaults } from '../../api';\nimport { Business, IBusiness } from '../../api/Business';\nimport { formatDate, snakeCaseToHumanReadable } from '../../utils/utils';\nimport { config } from '../../../config';\n\n\n/**\n * @exportedPart table-head: Table head\n * @exportedPart table-head-row: Head row\n * @exportedPart table-head-cell: Individual head cell\n * @exportedPart table-body: Body of the table\n * @exportedPart table-row: Row of the table\n * @exportedPart table-cell: Individual cell of the table\n * @exportedPart loading-state-cell: Row for loading state\n * @exportedPart loading-state-spinner: Spinner element for loading state\n * @exportedPart error-state: Row for Error state\n * @exportedPart empty-state: Row for Emtpy state\n * @exportedPart pagination-bar: Pagination bar\n * @exportedPart arrow: Both paging buttons\n * @exportedPart arrow-left: Previous page button\n * @exportedPart arrow-right: Next page button\n * @exportedPart arrow-disabled: Disabled state for paging buttons\n */\n@Component({\n tag: 'justifi-business-list',\n styleUrl: 'business-list.scss',\n shadow: true,\n})\nexport class BusinessList {\n /**\n * The Account ID to fetch payments.\n * This is required to fetch any data.\n * @required\n * @type {string}\n * @memberof PaymentsList\n */\n @Prop() accountId: string;\n /**\n * The Auth Token to fetch payments.\n * This is required to fetch any data.\n * @required\n * @type {string}\n */\n @Prop() authToken: string;\n @State() businesses: Business[] = [];\n @State() loading: boolean = true;\n @State() errorMessage: string;\n @State() paging: PagingInfo = pagingDefaults;\n @State() params: any\n\n @Watch('accountId')\n @Watch('authToken')\n @Watch('params')\n updateOnPropChange() {\n this.fetchData();\n }\n\n connectedCallback() {\n this.fetchData();\n }\n\n mapProductStatusToBadge = (status: boolean) => {\n return (status && 'bg-success') || 'bg-secondary';\n };\n\n handleClickPrevious = (beforeCursor: string) => {\n const newParams: any = { ...this.params };\n delete newParams.after_cursor;\n this.params = ({ ...newParams, before_cursor: beforeCursor });\n };\n\n handleClickNext = (afterCursor: string) => {\n const newParams: any = { ...this.params };\n delete newParams.before_cursor;\n this.params = ({ ...newParams, after_cursor: afterCursor });\n };\n\n async fetchData(): Promise<void> {\n if (!this.accountId || !this.authToken) {\n this.errorMessage =\n 'Can not fetch any data without an AccountID and an AuthToken';\n this.loading = false;\n return;\n }\n this.loading = true;\n const endpoint = `entities/business`;\n let accountIDParam = { account_id: this.accountId };\n\n const response: IApiResponseCollection<Business[]> = await Api(this.authToken, config.proxyApiOrigin,)\n .get(endpoint, { ...accountIDParam, ...this.params });\n\n if (!response.error) {\n this.paging = {\n ...this.paging,\n ...response.page_info,\n };\n\n const data = response?.data?.map(dataItem => new Business(dataItem));\n this.businesses = data;\n } else {\n this.errorMessage =\n typeof response.error === 'string'\n ? response.error\n : response.error.message;\n }\n\n this.loading = false;\n }\n\n render() {\n return (\n <Host>\n <justifi-table\n columnData={[\n ['Legal Name', 'The name associated with this Business'],\n ['Business Type', 'The business type'],\n ['Business Structure', 'The business structure'],\n ['Tax ID', 'The tax ID associated with this business'],\n ['Industry', 'The industry this business participates in'],\n [\n 'Product Ready',\n 'List of our products that are used by this business',\n ],\n ['Created at', 'Date this business was created'],\n ]}\n rowData={this.businesses.map((business: IBusiness) => [\n business.legal_name,\n snakeCaseToHumanReadable(business.business_type),\n snakeCaseToHumanReadable(business.business_structure),\n business.tax_id,\n business.industry,\n {\n type: 'inner',\n value: `\n <div class=\"d-flex flex-nowrap gap-1\">\n <span class=\"badge ${this.mapProductStatusToBadge(\n business.product_categories.credit,\n )}\">Credit</span>\n <span class=\"badge ${this.mapProductStatusToBadge(\n business.product_categories.insurance,\n )}\">Insurance</span>\n <span class=\"badge ${this.mapProductStatusToBadge(\n business.product_categories.lending,\n )}\">Lending</span>\n <span class=\"badge ${this.mapProductStatusToBadge(\n business.product_categories.payment,\n )}\">Payment</span>\n </div>\n `,\n },\n formatDate(business.created_at),\n ])}\n loading={this.loading}\n error-message={this.errorMessage}\n params={this.params}\n paging={{\n ...this.paging,\n handleClickNext: this.handleClickNext,\n handleClickPrevious: this.handleClickPrevious\n }}\n />\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"justifi-business-owners.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"justifi-business-representative.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"justifi-card-form.js","mappings":";;;MAQa,QAAQ;;;;;;;;;;sBAcW,KAAK;;;EA+BnC,YAAY,CAAC,KAAkB;IAC7B,OAAO,CAAC,IAAI,CAAC,kGAAkG,CAAC,CAAC;IACjH,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC/B,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;GACxB;EAGD,eAAe,CAAC,KAAoB;IAClC,OAAO,CAAC,IAAI,CACV,wMAAwM,CACzM,CAAC;IACF,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;GACnC;EAGD,eAAe,CAAC,KAAoB;IAClC,OAAO,CAAC,IAAI,CACV,wMAAwM,CACzM,CAAC;IACF,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;GACnC;;;;EAQD,MAAM,QAAQ,CAAC,GAAG,IAAiE;IACjF,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;MAClB,MAAM,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAC;KACzC;IACD,OAAO,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC;GACxC;;;;EAMD,MAAM,QAAQ;IACZ,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;MAClB,MAAM,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAC;KACzC;IACD,OAAO,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC;GACjC;;;;;EAOD,MAAM,MAAM;IACV,OAAO,CAAC,IAAI,CACV,wKAAwK,CACzK,CAAC;IACF,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;MAClB,MAAM,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAC;KACzC;IACD,OAAO,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;GAC/B;EAED,MAAM;IACJ,QACE,mCACE,GAAG,EAAE,EAAE;QACL,IAAI,EAAE,EAAE;UACN,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;SACpB;OACF,mBACc,IAAI,CAAC,YAAY,8BACP,MAAM,iBAClB,IAAI,CAAC,UAAU,+BACD,IAAI,CAAC,aAAa,kCACf,IAAI,CAAC,gBAAgB,yCACd,IAAI,CAAC,cAAc,IAAI,UAAU,GACtE,EACF;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/card-form/card-form.tsx"],"sourcesContent":["import { Component, Event, Prop, h, EventEmitter, Method, Listen, State } from '@stencil/core';\nimport { CreatePaymentMethodResponse } from '../payment-method-form/payment-method-responses';\nimport { Theme } from '../payment-method-form/theme';\n\n@Component({\n tag: 'justifi-card-form',\n shadow: false,\n})\nexport class CardForm {\n /**\n * When to trigger validation of the form.\n */\n @Prop({ mutable: true }) validationMode: 'onChange' | 'onBlur' | 'onSubmit' | 'onTouched' | 'all';\n\n /**\n * URL for the rendered iFrame. End-users need not use this.\n */\n @Prop({ mutable: true }) iframeOrigin?: string;\n\n /**\n * Boolean indicating if the Card Form should render in a single line\n */\n @Prop() singleLine: boolean = false;\n\n @State() internalStyleOverrides: Theme;\n\n /**\n * Triggered when iframe has loaded\n * @event justifi-card-form#cardFormReady\n */\n\n @Event() cardFormReady: EventEmitter;\n\n /**\n * Triggered when iframe has loaded\n * @event justifi-card-form#ready\n */\n\n @Event() ready: EventEmitter;\n\n /**\n * Triggered when the tokenize method is called on the component\n * @event justifi-card-form#cardFormTokenize\n */\n @Event() cardFormTokenize: EventEmitter<{ data: any }>;\n\n /**\n * Triggered when the validate method is called on the component\n * @event justifi-card-form#cardFormTokenize\n */\n @Event() cardFormValidate: EventEmitter<{ data: { isValid: boolean } }>;\n\n @Listen('paymentMethodFormReady')\n readyHandler(event: CustomEvent) {\n console.warn(`The 'cardFormReady' event is deprecated in the next major release and will be renamed to 'ready'`);\n this.cardFormReady.emit(event);\n this.ready.emit(event);\n }\n\n @Listen('paymentMethodFormTokenize')\n tokenizeHandler(event: { data: any }) {\n console.warn(\n `The 'cardFormTokenize' event is deprecated in the next major release. Please refer to the documentation for the migration process and alternative approach. This method will be removed in the future.`,\n );\n this.cardFormTokenize.emit(event);\n }\n\n @Listen('paymentMethodFormValidate')\n validateHandler(event: { data: any }) {\n console.warn(\n `The 'cardFormValidate' event is deprecated in the next major release. Please refer to the documentation for the migration process and alternative approach. This method will be removed in the future.`,\n );\n this.cardFormValidate.emit(event);\n }\n\n private childRef?: HTMLJustifiPaymentMethodFormElement;\n\n /**\n * Makes a tokenization request to the iframe\n */\n @Method()\n async tokenize(...args: Parameters<HTMLJustifiPaymentMethodFormElement['tokenize']>): Promise<CreatePaymentMethodResponse> {\n if (!this.childRef) {\n throw new Error('Cannot call tokenize');\n }\n return this.childRef.tokenize(...args);\n }\n\n /**\n * Runs a validation on the form and shows errors if any\n */\n @Method()\n async validate(): Promise<{ isValid: boolean }> {\n if (!this.childRef) {\n throw new Error('Cannot call validate');\n }\n return this.childRef.validate();\n }\n\n /**\n * Manually resizes the iframe to fit the contents of the iframe\n * @deprecated This method will be removed in future releases.\n */\n @Method()\n async resize(): Promise<void> {\n console.warn(\n `The 'resize' method is deprecated and will be removed in the next major release. Please refer to the documentation for the migration process and alternative approach.`,\n );\n if (!this.childRef) {\n throw new Error('Cannot call validate');\n }\n return this.childRef.resize();\n }\n\n render() {\n return (\n <justifi-payment-method-form\n ref={el => {\n if (el) {\n this.childRef = el;\n }\n }}\n iframe-origin={this.iframeOrigin}\n payment-method-form-type=\"card\"\n single-line={this.singleLine}\n payment-method-form-ready={this.cardFormReady}\n payment-method-form-tokenize={this.cardFormTokenize}\n payment-method-form-validation-mode={this.validationMode || 'onSubmit'}\n />\n );\n }\n}\n"],"version":3}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"justifi-details.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|