@justifi/webcomponents 6.12.6 → 6.12.7-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{Analytics-CuYtRPw5.js → Analytics-GZGMuFW6.js} +2 -2
- package/dist/cjs/{Plaid-BRSyOOuw.js → Plaid-KasiL5mp.js} +14 -19
- package/dist/cjs/{additional-questions-form-step_14.cjs.entry.js → additional-questions-form-step_15.cjs.entry.js} +378 -169
- package/dist/cjs/additional-questions_5.cjs.entry.js +7 -7
- package/dist/cjs/additional-statement_8.cjs.entry.js +1 -1
- package/dist/cjs/bank-account-billing-form-simple_4.cjs.entry.js +4 -4
- package/dist/cjs/bank-account-document-form-inputs.cjs.entry.js +21 -0
- package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
- package/dist/cjs/{business-form-options-D_nM7NDk.js → business-form-options-CnlrfbQ6.js} +51 -0
- package/dist/cjs/{business-identity-schema-DuFGX6_i.js → business-identity-schema-CC1wOwXd.js} +11 -7
- package/dist/cjs/{business.service-Z9OACEQL.js → business.service-BBovho58.js} +1 -1
- package/dist/cjs/card-form.cjs.entry.js +2 -2
- package/dist/cjs/{check-pkg-version-CPWLIT6P.js → check-pkg-version-FPtenLmp.js} +1 -1
- package/dist/cjs/{checkout.service-BZOyqXgW.js → checkout.service-C0M9hmsL.js} +1 -1
- package/dist/cjs/{country-config-aJp8ScEs.js → country-config-Ck-eEeZZ.js} +2 -0
- package/dist/cjs/dispute-notification_2.cjs.entry.js +6 -6
- package/dist/cjs/{event-types-AU1B76Vm.js → event-types-DDNVjmfR.js} +1 -1
- package/dist/cjs/form-address-fields_3.cjs.entry.js +1 -1
- package/dist/cjs/form-control-number_2.cjs.entry.js +5 -4
- package/dist/cjs/{get-business-aR-C83KX.js → get-business-Ggw-UjXj.js} +2 -2
- package/dist/cjs/{get-payment-details-dwhA02Zl.js → get-payment-details-BVKRwME1.js} +2 -2
- package/dist/cjs/{get-subaccounts-B1jmSa2d.js → get-subaccounts-RRmcS9xU.js} +2 -2
- package/dist/cjs/hidden-input_2.cjs.entry.js +1 -1
- package/dist/cjs/{index.esm-C1ZPG85l.js → index.esm-BNETBIV_.js} +0 -18
- package/dist/cjs/justifi-apple-pay_11.cjs.entry.js +8 -8
- package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +5 -5
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +5 -5
- package/dist/cjs/justifi-billing-form-full.cjs.entry.js +1 -1
- package/dist/cjs/justifi-billing-form.cjs.entry.js +1 -1
- package/dist/cjs/justifi-business-details.cjs.entry.js +8 -8
- package/dist/cjs/justifi-business-form.cjs.entry.js +13 -13
- package/dist/cjs/justifi-card-billing-form-simple.cjs.entry.js +1 -1
- package/dist/cjs/justifi-card-form.cjs.entry.js +5 -5
- package/dist/cjs/justifi-checkout.cjs.entry.js +5 -5
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +8 -8
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +7 -7
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +6 -6
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payment-details.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-payments-list.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payout-details.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +9 -9
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +9 -9
- package/dist/cjs/justifi-save-new-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +6 -6
- package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +6 -6
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +8 -8
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-Dxjq_cJI.js → package-C7Z9XAuc.js} +1 -1
- package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
- package/dist/cjs/{payment-provisioning-actions-BiSpysjW.js → payment-provisioning-actions-Cn8bgHKu.js} +2 -2
- package/dist/cjs/payment-provisioning-form-buttons_2.cjs.entry.js +3 -2
- package/dist/cjs/{payment.service-ByrgA_QZ.js → payment.service-CbIxt30x.js} +1 -1
- package/dist/cjs/{payout.service-CnQm_BpU.js → payout.service-DVMvsdAf.js} +1 -1
- package/dist/cjs/{payouts-status-AuS3Mp0V.js → payouts-status-CzS2CLGW.js} +2 -2
- package/dist/cjs/{plaid.service-Dlb8EUR8.js → plaid.service-DNT_DX6z.js} +1 -1
- package/dist/cjs/{schema-validations-DNPcvDh5.js → schema-validations-DackMxv7.js} +11 -8
- package/dist/cjs/styled-host-Ch0-dxF-.js +11 -0
- package/dist/cjs/{terminal.service-BdwHQ3Vv.js → terminal.service-BBHixg-d.js} +1 -1
- package/dist/cjs/{utils-FVGp6se3.js → utils-kDsk4nqH.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/Document.js +14 -7
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +2 -2
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +5 -3
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +4 -2
- package/dist/collection/components/business-forms/owner-form/owner-form.js +46 -1
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/additional-questions-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +6 -114
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +8 -0
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +4 -2
- package/dist/collection/components/business-forms/payment-provisioning/document-upload/document-upload-form-step.js +435 -0
- package/dist/collection/components/business-forms/payment-provisioning/document-upload/document-upload-list.js +52 -0
- package/dist/collection/components/business-forms/payment-provisioning/document-upload/document-upload-options.js +72 -0
- package/dist/collection/components/business-forms/payment-provisioning/justifi-payment-provisioning.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +3 -2
- package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +10 -38
- package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +1 -1
- package/dist/collection/components/business-forms/schemas/business-identity-schema.js +7 -3
- package/dist/collection/components/business-forms/schemas/schema-validations.js +8 -5
- package/dist/collection/components/business-forms/utils/business-form-options.js +50 -0
- package/dist/collection/components/business-forms/utils/country-config.js +2 -0
- package/dist/collection/ui-components/form/form-control-file.js +1 -1
- package/dist/docs.json +496 -64
- package/dist/esm/{Analytics-CwckfiSK.js → Analytics-D-apOWeY.js} +2 -2
- package/dist/esm/{Plaid-l6nNIjab.js → Plaid-BM3JUIG5.js} +15 -19
- package/dist/esm/{additional-questions-form-step_14.entry.js → additional-questions-form-step_15.entry.js} +377 -169
- package/dist/esm/additional-questions_5.entry.js +8 -8
- package/dist/esm/additional-statement_8.entry.js +1 -1
- package/dist/esm/bank-account-billing-form-simple_4.entry.js +4 -4
- package/dist/esm/bank-account-document-form-inputs.entry.js +19 -0
- package/dist/esm/bank-account-form.entry.js +2 -2
- package/dist/esm/{business-form-options-DRalxlqN.js → business-form-options-DXjZp4Rl.js} +51 -1
- package/dist/esm/{business-identity-schema-0Q3kck3C.js → business-identity-schema-D8L_UfWl.js} +11 -7
- package/dist/esm/{business.service-C31wbMVs.js → business.service-C4BD3pf7.js} +1 -1
- package/dist/esm/card-form.entry.js +2 -2
- package/dist/esm/{check-pkg-version-Dy2NK3Nn.js → check-pkg-version-Bn8HCDRp.js} +1 -1
- package/dist/esm/{checkout.service-cVdOGDuI.js → checkout.service-DmWeKNQs.js} +1 -1
- package/dist/esm/{country-config-CdvhLcnT.js → country-config-BW2dUoTJ.js} +2 -0
- package/dist/esm/dispute-notification_2.entry.js +6 -6
- package/dist/esm/{event-types-DalU_6SB.js → event-types-eIqsrwmW.js} +1 -1
- package/dist/esm/form-address-fields_3.entry.js +1 -1
- package/dist/esm/form-control-number_2.entry.js +5 -4
- package/dist/esm/{get-business-Gg6qn5on.js → get-business-DtFHdc37.js} +2 -2
- package/dist/esm/{get-payment-details-BiWgSJau.js → get-payment-details-26GxiYgv.js} +2 -2
- package/dist/esm/{get-subaccounts-CkjZeR9U.js → get-subaccounts-xkGMPstt.js} +2 -2
- package/dist/esm/hidden-input_2.entry.js +1 -1
- package/dist/esm/{index.esm-BHdVU4hV.js → index.esm-KCSohgHx.js} +1 -18
- package/dist/esm/justifi-apple-pay_11.entry.js +8 -8
- package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +5 -5
- package/dist/esm/justifi-bank-account-form.entry.js +5 -5
- package/dist/esm/justifi-billing-form-full.entry.js +1 -1
- package/dist/esm/justifi-billing-form.entry.js +1 -1
- package/dist/esm/justifi-business-details.entry.js +8 -8
- package/dist/esm/justifi-business-form.entry.js +13 -13
- package/dist/esm/justifi-card-billing-form-simple.entry.js +1 -1
- package/dist/esm/justifi-card-form.entry.js +5 -5
- package/dist/esm/justifi-checkout.entry.js +5 -5
- package/dist/esm/justifi-checkouts-list-filters.entry.js +2 -2
- package/dist/esm/justifi-checkouts-list.entry.js +8 -8
- package/dist/esm/justifi-dispute-management.entry.js +7 -7
- package/dist/esm/justifi-gross-payment-chart.entry.js +6 -6
- package/dist/esm/justifi-order-terminals.entry.js +9 -9
- package/dist/esm/justifi-payment-details.entry.js +8 -8
- package/dist/esm/justifi-payment-provisioning.entry.js +9 -9
- package/dist/esm/justifi-payment-transactions-list.entry.js +7 -7
- package/dist/esm/justifi-payments-list-filters.entry.js +1 -1
- package/dist/esm/justifi-payments-list.entry.js +7 -7
- package/dist/esm/justifi-payout-details.entry.js +8 -8
- package/dist/esm/justifi-payout-transactions-list.entry.js +7 -7
- package/dist/esm/justifi-payouts-list-filters.entry.js +2 -2
- package/dist/esm/justifi-payouts-list.entry.js +9 -9
- package/dist/esm/justifi-refund-payment.entry.js +9 -9
- package/dist/esm/justifi-save-new-payment-method.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +6 -6
- package/dist/esm/justifi-skeleton.entry.js +1 -1
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +2 -2
- package/dist/esm/justifi-terminal-orders-list.entry.js +6 -6
- package/dist/esm/justifi-terminals-list-filters.entry.js +2 -2
- package/dist/esm/justifi-terminals-list.entry.js +8 -8
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-DAZd_gFd.js → package-D6Pw5qJ5.js} +1 -1
- package/dist/esm/payment-method-option.entry.js +1 -1
- package/dist/esm/{payment-provisioning-actions-cl5xIYnF.js → payment-provisioning-actions-fWdNDUdq.js} +2 -2
- package/dist/esm/payment-provisioning-form-buttons_2.entry.js +3 -2
- package/dist/esm/{payment.service-5_u-UzTY.js → payment.service-CWR7jF-K.js} +1 -1
- package/dist/esm/{payout.service-D2zS5y8N.js → payout.service-CFU362cH.js} +1 -1
- package/dist/esm/{payouts-status-DCjCGTaa.js → payouts-status-D2G7FKu1.js} +2 -2
- package/dist/esm/{plaid.service-BiJ65YG8.js → plaid.service-0hd1i5Ga.js} +1 -1
- package/dist/esm/{schema-validations-A1o1biOB.js → schema-validations-CjqWFLKt.js} +11 -8
- package/dist/esm/styled-host-D84RBv1W.js +9 -0
- package/dist/esm/{terminal.service-CIxDfM7V.js → terminal.service-Dr6dERcJ.js} +1 -1
- package/dist/esm/{utils-C1B2hVAB.js → utils-q7KOrlSX.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Plaid.js +15 -19
- package/dist/module/additional-questions-form-step2.js +11 -5
- package/dist/module/bank-account-document-form-inputs.js +55 -1
- package/dist/module/business-bank-account-form-step2.js +24 -177
- package/dist/module/business-core-info-form-step2.js +2 -2
- package/dist/module/business-core-info-schema.js +1 -1
- package/dist/module/business-core-info2.js +3 -3
- package/dist/module/business-documents-on-file2.js +1 -1
- package/dist/module/business-form-options.js +51 -1
- package/dist/module/business-identity-schema.js +7 -3
- package/dist/module/business-owners-form-step2.js +8 -0
- package/dist/module/business-representative-form-inputs2.js +5 -3
- package/dist/module/business-representative2.js +6 -5
- package/dist/module/button.js +1 -1
- package/dist/module/country-config.js +2 -0
- package/dist/module/document-upload-form-step.d.ts +11 -0
- package/dist/module/document-upload-form-step.js +6 -0
- package/dist/module/document-upload-form-step2.js +397 -0
- package/dist/module/document-upload-list.d.ts +11 -0
- package/dist/module/document-upload-list.js +6 -0
- package/dist/module/document-upload-list2.js +46 -0
- package/dist/module/form-control-number2.js +1 -1
- package/dist/module/form-control-textarea2.js +1 -1
- package/dist/module/form.js +1 -18
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/iframe-input2.js +1 -1
- package/dist/module/justifi-checkouts-list-filters.js +1 -1
- package/dist/module/justifi-checkouts-list.js +2 -2
- package/dist/module/justifi-dispute-management.js +1 -1
- package/dist/module/justifi-modular-checkout2.js +1 -1
- package/dist/module/justifi-order-terminals.js +2 -2
- package/dist/module/justifi-payment-details.js +1 -1
- package/dist/module/justifi-payment-provisioning.js +33 -27
- package/dist/module/justifi-payment-transactions-list.js +2 -2
- package/dist/module/justifi-payments-list.js +1 -1
- package/dist/module/justifi-payout-details.js +1 -1
- package/dist/module/justifi-payout-transactions-list.js +2 -2
- package/dist/module/justifi-payouts-list-filters.js +1 -1
- package/dist/module/justifi-payouts-list.js +2 -2
- package/dist/module/justifi-refund-payment.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +1 -1
- package/dist/module/justifi-terminal-orders-list.js +2 -2
- package/dist/module/justifi-terminals-list-filters.js +1 -1
- package/dist/module/justifi-terminals-list.js +2 -2
- package/dist/module/owner-form-inputs2.js +5 -3
- package/dist/module/owner-form2.js +10 -1
- package/dist/module/package.js +1 -1
- package/dist/module/parts.js +1 -1
- package/dist/module/payment-provisioning-actions.js +1 -1
- package/dist/module/payment-provisioning-form-steps2.js +35 -28
- package/dist/module/plaid-verification2.js +1 -1
- package/dist/module/schema-validations.js +8 -5
- package/dist/module/skeleton.js +1 -1
- package/dist/module/styled-host.js +1 -1
- package/dist/module/table.js +1 -1
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/types/api/Document.d.ts +15 -2
- package/dist/types/components/business-forms/owner-form/owner-form.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +1 -12
- package/dist/types/components/business-forms/payment-provisioning/document-upload/document-upload-form-step.d.ts +44 -0
- package/dist/types/components/business-forms/payment-provisioning/document-upload/document-upload-list.d.ts +6 -0
- package/dist/types/components/business-forms/payment-provisioning/document-upload/document-upload-options.d.ts +44 -0
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-form-steps.d.ts +1 -0
- package/dist/types/components/business-forms/schemas/business-bank-account-schema.d.ts +4 -4
- package/dist/types/components/business-forms/utils/business-form-options.d.ts +1 -0
- package/dist/types/components.d.ts +67 -0
- package/dist/webcomponents/{p-oTtn8xDw.js → p--RbNhyet.js} +1 -1
- package/dist/webcomponents/{p-4b39a470.entry.js → p-01ed8fb5.entry.js} +1 -1
- package/dist/webcomponents/{p-07eaee91.entry.js → p-0290ca0f.entry.js} +1 -1
- package/dist/webcomponents/{p-e02d7751.entry.js → p-0a2be2e2.entry.js} +4 -4
- package/dist/webcomponents/{p-ca87c609.entry.js → p-0a4fcb15.entry.js} +1 -1
- package/dist/webcomponents/{p-b0b6083f.entry.js → p-0b169fac.entry.js} +1 -1
- package/dist/webcomponents/{p-f1b9cbf0.entry.js → p-0e4cda77.entry.js} +1 -1
- package/dist/webcomponents/{p-9d676f54.entry.js → p-1006ab39.entry.js} +1 -1
- package/dist/webcomponents/{p-d5edbea3.entry.js → p-164a4e64.entry.js} +1 -1
- package/dist/webcomponents/{p-bc2dddf3.entry.js → p-1841ee76.entry.js} +1 -1
- package/dist/webcomponents/{p-d01a1076.entry.js → p-188a7ebd.entry.js} +1 -1
- package/dist/webcomponents/{p-b62ff001.entry.js → p-1e34c488.entry.js} +1 -1
- package/dist/webcomponents/{p-a56e43a1.entry.js → p-1e5c96f3.entry.js} +1 -1
- package/dist/webcomponents/{p-b21010cb.entry.js → p-233fef57.entry.js} +1 -1
- package/dist/webcomponents/p-2e5ec91e.entry.js +1 -0
- package/dist/webcomponents/{p-41637e4a.entry.js → p-374ce853.entry.js} +1 -1
- package/dist/webcomponents/p-37676092.entry.js +1 -0
- package/dist/webcomponents/{p-78c4668b.entry.js → p-3c3fbcca.entry.js} +1 -1
- package/dist/webcomponents/{p-c4767c7b.entry.js → p-3e10a0de.entry.js} +1 -1
- package/dist/webcomponents/{p-e07506b7.entry.js → p-4673d7d3.entry.js} +1 -1
- package/dist/webcomponents/{p-3cefb032.entry.js → p-4b14b7e7.entry.js} +1 -1
- package/dist/webcomponents/p-54ee2a30.entry.js +1 -0
- package/dist/webcomponents/{p-38209a25.entry.js → p-5ceeaa73.entry.js} +1 -1
- package/dist/webcomponents/{p-a9e82502.entry.js → p-6089f91c.entry.js} +1 -1
- package/dist/webcomponents/{p-b8351983.entry.js → p-60a0bf1e.entry.js} +1 -1
- package/dist/webcomponents/{p-cf3e3394.entry.js → p-63a35210.entry.js} +1 -1
- package/dist/webcomponents/{p-08ab97ce.entry.js → p-641c9bdb.entry.js} +1 -1
- package/dist/webcomponents/{p-8e56430a.entry.js → p-74aeb76a.entry.js} +1 -1
- package/dist/webcomponents/{p-1f34b2f7.entry.js → p-80fdd013.entry.js} +1 -1
- package/dist/webcomponents/{p-3ef07f42.entry.js → p-84aaf298.entry.js} +1 -1
- package/dist/webcomponents/{p-4ee55e7d.entry.js → p-8a5f0d71.entry.js} +1 -1
- package/dist/webcomponents/{p-9153c121.entry.js → p-947950cc.entry.js} +1 -1
- package/dist/webcomponents/p-98476956.entry.js +1 -0
- package/dist/webcomponents/{p-a2c25cc4.entry.js → p-99792da6.entry.js} +1 -1
- package/dist/webcomponents/p-B1yVkh15.js +1 -0
- package/dist/webcomponents/{p-Bt4GjEWL.js → p-BBSnDYJw.js} +1 -1
- package/dist/webcomponents/{p-av6jyzyC.js → p-BSyTbuZy.js} +1 -1
- package/dist/webcomponents/{p-APOabprT.js → p-BrFax4_P.js} +1 -1
- package/dist/webcomponents/p-BzXQDB0t.js +1 -0
- package/dist/webcomponents/{p-BxKbnILQ.js → p-C-zuQNNP.js} +1 -1
- package/dist/webcomponents/{p-Cm9f5fyh.js → p-CDu7TeCZ.js} +1 -1
- package/dist/webcomponents/{p-BJu1-9kE.js → p-CL8LyqRI.js} +1 -1
- package/dist/webcomponents/{p-fE5A37L5.js → p-Cz0yhyYu.js} +1 -1
- package/dist/webcomponents/p-D6Pw5qJ5.js +1 -0
- package/dist/webcomponents/p-D9ZHVy-j.js +1 -0
- package/dist/webcomponents/{p-BdpSLMs7.js → p-D9rCHoO4.js} +1 -1
- package/dist/webcomponents/{p-CKiAlBsU.js → p-D9sqTVmd.js} +1 -1
- package/dist/webcomponents/p-DV4n8kZd.js +1 -0
- package/dist/webcomponents/{p-Dk26hk5T.js → p-DdeBubpX.js} +1 -1
- package/dist/webcomponents/p-DzEdYT8R.js +1 -0
- package/dist/webcomponents/{p-NZS8uCtH.js → p-Dzv0P2Ly.js} +1 -1
- package/dist/webcomponents/{p-Axa3cgnH.js → p-H0ILKMD2.js} +1 -1
- package/dist/webcomponents/{p-a7a1b168.entry.js → p-a3b48ba3.entry.js} +1 -1
- package/dist/webcomponents/{p-ebb7b693.entry.js → p-a3fe126f.entry.js} +1 -1
- package/dist/webcomponents/p-a9976353.entry.js +1 -0
- package/dist/webcomponents/{p-7377f7d1.entry.js → p-ab89cb46.entry.js} +1 -1
- package/dist/webcomponents/{p-d79c5ee4.entry.js → p-b17ce21d.entry.js} +1 -1
- package/dist/webcomponents/{p-2a5ee558.entry.js → p-b5aa3937.entry.js} +1 -1
- package/dist/webcomponents/p-cab840bd.entry.js +1 -0
- package/dist/webcomponents/{p-e17b92ec.entry.js → p-cc558e25.entry.js} +1 -1
- package/dist/webcomponents/{p-BXyADlAH.js → p-czJ2qSU1.js} +1 -1
- package/dist/webcomponents/p-d7ec0b54.entry.js +1 -0
- package/dist/webcomponents/{p-6904c62c.entry.js → p-e737077f.entry.js} +1 -1
- package/dist/webcomponents/p-eb1b4ead.entry.js +1 -0
- package/dist/webcomponents/{p-279c17ac.entry.js → p-f6be288f.entry.js} +1 -1
- package/dist/webcomponents/p-n_pmf4AT.js +1 -0
- package/dist/webcomponents/p-vUN_uvAi.js +1 -0
- package/dist/webcomponents/{p-Ba8jdOkX.js → p-xWuaNtJy.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +14 -14
- package/LICENSE +0 -21
- package/dist/cjs/styled-host-DAi5SuFa.js +0 -11
- package/dist/esm/styled-host-D6byRazK.js +0 -9
- package/dist/module/bank-account-document-form-inputs2.js +0 -57
- package/dist/webcomponents/p-034fa691.entry.js +0 -1
- package/dist/webcomponents/p-2aac2ab6.entry.js +0 -1
- package/dist/webcomponents/p-37254105.entry.js +0 -1
- package/dist/webcomponents/p-5G1OMxZz.js +0 -1
- package/dist/webcomponents/p-9b5ca32c.entry.js +0 -1
- package/dist/webcomponents/p-Aacb4jqT.js +0 -1
- package/dist/webcomponents/p-BqNNwq6C.js +0 -1
- package/dist/webcomponents/p-D8ytux5N.js +0 -1
- package/dist/webcomponents/p-DAZd_gFd.js +0 -1
- package/dist/webcomponents/p-DrMJliVY.js +0 -1
- package/dist/webcomponents/p-XIWgia4J.js +0 -1
- package/dist/webcomponents/p-c8bc235f.entry.js +0 -1
- package/dist/webcomponents/p-ea254f14.entry.js +0 -1
- package/dist/webcomponents/p-ff8cf16c.entry.js +0 -1
- package/dist/webcomponents/p-nb_LhbJq.js +0 -1
package/dist/module/table.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { C as table, ai as tableHead, aj as tableHeadRow, ak as tableRow, al as tableFoot, am as tableFootRow, an as tableFootCell, ao as tableEmpty, ap as tableError, E as tableCell } from './parts.js';
|
|
3
3
|
import { S as Spinner } from './spinner.js';
|
|
4
4
|
|
|
5
5
|
const TableWrapper = (props, children) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { B as card, a0 as image, a1 as buttonLink } from './parts.js';
|
|
3
3
|
import { d as defineCustomElement$2 } from './custom-popper2.js';
|
|
4
4
|
import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
|
|
5
5
|
|
|
@@ -20,7 +20,19 @@ export declare enum EntityDocumentType {
|
|
|
20
20
|
governmentId = "government_id",
|
|
21
21
|
profitAndLossStatement = "profit_and_loss_statement",
|
|
22
22
|
taxReturn = "tax_return",
|
|
23
|
-
other = "other"
|
|
23
|
+
other = "other",
|
|
24
|
+
articlesOfIncorporation = "articles_of_incorporation",
|
|
25
|
+
businessRegistration = "business_registration",
|
|
26
|
+
passport = "passport",
|
|
27
|
+
driverLicense = "driver_license",
|
|
28
|
+
residentCard = "resident_card",
|
|
29
|
+
statusCard = "status_card",
|
|
30
|
+
nexusCard = "nexus_card",
|
|
31
|
+
citizenshipCard = "citizenship_card",
|
|
32
|
+
foreignPassport = "foreign_passport",
|
|
33
|
+
birthCertificate = "birth_certificate",
|
|
34
|
+
sinCard = "sin_card",
|
|
35
|
+
ssnCard = "ssn_card"
|
|
24
36
|
}
|
|
25
37
|
export declare enum EntityDocumentStatus {
|
|
26
38
|
pending = "pending",
|
|
@@ -37,6 +49,7 @@ export interface DocumentRecordData {
|
|
|
37
49
|
document_type: EntityDocumentType;
|
|
38
50
|
file_name: string;
|
|
39
51
|
file_type: string;
|
|
52
|
+
identity_id?: string;
|
|
40
53
|
}
|
|
41
54
|
export declare class EntityDocumentStorage {
|
|
42
55
|
voided_check: EntityDocument[];
|
|
@@ -58,7 +71,7 @@ export declare class EntityDocument {
|
|
|
58
71
|
document_type: EntityDocumentType;
|
|
59
72
|
presigned_url: string | null;
|
|
60
73
|
record_data: DocumentRecordData | null;
|
|
61
|
-
constructor(fileData: EntityFileData, business_id: string);
|
|
74
|
+
constructor(fileData: EntityFileData, business_id: string, identity_id?: string);
|
|
62
75
|
getFileData(): Promise<ArrayBuffer>;
|
|
63
76
|
setPresignedUrl(url: string): void;
|
|
64
77
|
}
|
|
@@ -26,6 +26,8 @@ export declare class OwnerForm {
|
|
|
26
26
|
ownerSubmitted: EventEmitter<any>;
|
|
27
27
|
constructor();
|
|
28
28
|
returnOwnerData(): Promise<string>;
|
|
29
|
+
getOwnershipPercentage(): Promise<string | null>;
|
|
30
|
+
setOwnershipPercentageError(message: string): Promise<void>;
|
|
29
31
|
validate(): Promise<boolean>;
|
|
30
32
|
submit(): Promise<boolean>;
|
|
31
33
|
validateAndSubmit(event: any): Promise<void>;
|
|
@@ -1,19 +1,15 @@
|
|
|
1
1
|
import { EventEmitter } from '../../../../stencil-public-runtime';
|
|
2
|
-
import { ComponentErrorEvent, ComponentFormStepCompleteEvent, IBankAccount
|
|
2
|
+
import { ComponentErrorEvent, ComponentFormStepCompleteEvent, IBankAccount } from '../../../../api';
|
|
3
3
|
import { CountryCode } from '../../../../utils/country-codes';
|
|
4
4
|
import { FormController } from '../../../../ui-components/form/form';
|
|
5
5
|
export declare class BusinessBankAccountFormStep {
|
|
6
6
|
formController: FormController;
|
|
7
7
|
errors: any;
|
|
8
8
|
bankAccount: IBankAccount;
|
|
9
|
-
existingDocuments: any;
|
|
10
|
-
documentData: EntityDocumentStorage;
|
|
11
9
|
isLoading: boolean;
|
|
12
10
|
viewMode: 'readonly' | 'plaid' | 'manual';
|
|
13
11
|
getBusiness: Function;
|
|
14
12
|
postBankAccount: Function;
|
|
15
|
-
postDocumentRecord: Function;
|
|
16
|
-
postDocument: Function;
|
|
17
13
|
bankAccountVerification: boolean;
|
|
18
14
|
platformAccountId: string | null;
|
|
19
15
|
authToken: string;
|
|
@@ -34,7 +30,6 @@ export declare class BusinessBankAccountFormStep {
|
|
|
34
30
|
private getSchema;
|
|
35
31
|
initializeFormController: () => void;
|
|
36
32
|
inputHandler: (name: string, value: string) => void;
|
|
37
|
-
storeFiles: (e: CustomEvent<FileSelectEvent>) => void;
|
|
38
33
|
get postPayload(): {
|
|
39
34
|
account_owner_name: string;
|
|
40
35
|
account_type: string;
|
|
@@ -60,15 +55,9 @@ export declare class BusinessBankAccountFormStep {
|
|
|
60
55
|
handleToggleToManualEntry: () => void;
|
|
61
56
|
handleToggleToPlaidVerification: () => void;
|
|
62
57
|
handleSaveBankAccount: () => Promise<void>;
|
|
63
|
-
private postBusinessDocuments;
|
|
64
|
-
private postDocumentRecordData;
|
|
65
|
-
handleDocRecordResponse: (docData: EntityDocument, response: any) => boolean;
|
|
66
|
-
uploadDocument: (docData: EntityDocument) => Promise<boolean>;
|
|
67
|
-
handleUploadResponse: (response: any) => boolean;
|
|
68
58
|
private renderBankAccountInputs;
|
|
69
59
|
private renderReadonlyView;
|
|
70
60
|
private renderPlaidView;
|
|
71
61
|
private renderManualEntryView;
|
|
72
|
-
private renderDocumentUploads;
|
|
73
62
|
render(): any;
|
|
74
63
|
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../../stencil-public-runtime';
|
|
2
|
+
import { ComponentErrorEvent, ComponentFormStepCompleteEvent, FileSelectEvent, IDocument, Identity } from '../../../../api';
|
|
3
|
+
import { CountryCode } from '../../../../utils/country-codes';
|
|
4
|
+
import { UploadedDocumentEntry } from './document-upload-options';
|
|
5
|
+
export declare class DocumentUploadFormStep {
|
|
6
|
+
authToken: string;
|
|
7
|
+
businessId: string;
|
|
8
|
+
allowOptionalFields?: boolean;
|
|
9
|
+
country: CountryCode;
|
|
10
|
+
owners: Identity[];
|
|
11
|
+
existingDocuments: IDocument[];
|
|
12
|
+
selectedCategory: string;
|
|
13
|
+
selectedDocType: string;
|
|
14
|
+
uploadQueue: UploadedDocumentEntry[];
|
|
15
|
+
isLoading: boolean;
|
|
16
|
+
errors: {
|
|
17
|
+
[key: string]: string;
|
|
18
|
+
};
|
|
19
|
+
fileInputKey: number;
|
|
20
|
+
getBusiness: Function;
|
|
21
|
+
postDocumentRecord: Function;
|
|
22
|
+
private categories;
|
|
23
|
+
propChanged(): void;
|
|
24
|
+
watchHandler(newValue: boolean): void;
|
|
25
|
+
errorEvent: EventEmitter<ComponentErrorEvent>;
|
|
26
|
+
stepCompleteEvent: EventEmitter<ComponentFormStepCompleteEvent>;
|
|
27
|
+
formLoading: EventEmitter<boolean>;
|
|
28
|
+
validateAndSubmit({ onSuccess }: {
|
|
29
|
+
onSuccess: any;
|
|
30
|
+
}): Promise<void>;
|
|
31
|
+
componentWillLoad(): void;
|
|
32
|
+
private initializeApi;
|
|
33
|
+
private getData;
|
|
34
|
+
private get categoryOptions();
|
|
35
|
+
private get docTypeOptions();
|
|
36
|
+
private validate;
|
|
37
|
+
handleCategoryChange: (_name: string, value: string) => void;
|
|
38
|
+
handleDocTypeChange: (_name: string, value: string) => void;
|
|
39
|
+
handleFileSelected: (e: CustomEvent<FileSelectEvent>) => Promise<void>;
|
|
40
|
+
private postDocumentRecordData;
|
|
41
|
+
private handleDocRecordResponse;
|
|
42
|
+
private uploadDocument;
|
|
43
|
+
render(): any;
|
|
44
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { Identity } from '../../../../api';
|
|
2
|
+
import { CountryCode } from '../../../../utils/country-codes';
|
|
3
|
+
export declare const businessDocumentOptions: {
|
|
4
|
+
label: string;
|
|
5
|
+
value: string;
|
|
6
|
+
}[];
|
|
7
|
+
export declare const financialDocumentOptions: {
|
|
8
|
+
label: string;
|
|
9
|
+
value: string;
|
|
10
|
+
}[];
|
|
11
|
+
export declare const personalDocGroup1Options: {
|
|
12
|
+
label: string;
|
|
13
|
+
value: string;
|
|
14
|
+
}[];
|
|
15
|
+
export declare const personalDocGroup2Options: {
|
|
16
|
+
label: string;
|
|
17
|
+
value: string;
|
|
18
|
+
}[];
|
|
19
|
+
export interface DocumentCategory {
|
|
20
|
+
label: string;
|
|
21
|
+
value: string;
|
|
22
|
+
identityId?: string;
|
|
23
|
+
docTypeOptions: {
|
|
24
|
+
label: string;
|
|
25
|
+
value: string;
|
|
26
|
+
}[];
|
|
27
|
+
}
|
|
28
|
+
export type DocumentUploadStatus = 'uploading' | 'uploaded' | 'error';
|
|
29
|
+
export interface UploadedDocumentEntry {
|
|
30
|
+
categoryLabel: string;
|
|
31
|
+
categoryValue: string;
|
|
32
|
+
docTypeLabel: string;
|
|
33
|
+
docTypeValue: string;
|
|
34
|
+
fileName: string;
|
|
35
|
+
file: File;
|
|
36
|
+
identityId?: string;
|
|
37
|
+
status: DocumentUploadStatus;
|
|
38
|
+
}
|
|
39
|
+
export declare const staticCategories: DocumentCategory[];
|
|
40
|
+
export declare function buildOwnerCategories(owners: Identity[]): DocumentCategory[];
|
|
41
|
+
export declare const financialOnlyCategories: DocumentCategory[];
|
|
42
|
+
export declare function buildAllCategories(owners: Identity[], country?: CountryCode): DocumentCategory[];
|
|
43
|
+
export declare const personalDocGroup1Types: Set<string>;
|
|
44
|
+
export declare const personalDocGroup2Types: Set<string>;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { CountryCode } from '../../../utils/country-codes';
|
|
2
|
-
export declare const businessBankAccountSchemaUSA: (
|
|
2
|
+
export declare const businessBankAccountSchemaUSA: (allowOptionalFields?: boolean) => import("yup").ObjectSchema<{
|
|
3
3
|
[x: string]: any;
|
|
4
4
|
}, import("yup").AnyObject, {
|
|
5
5
|
[x: string]: any;
|
|
6
6
|
}, "">;
|
|
7
|
-
export declare const businessBankAccountSchemaCAN: (
|
|
7
|
+
export declare const businessBankAccountSchemaCAN: (allowOptionalFields?: boolean) => import("yup").ObjectSchema<{
|
|
8
8
|
[x: string]: any;
|
|
9
9
|
}, import("yup").AnyObject, {
|
|
10
10
|
[x: string]: any;
|
|
11
11
|
}, "">;
|
|
12
|
-
export declare const businessBankAccountSchema: (
|
|
12
|
+
export declare const businessBankAccountSchema: (allowOptionalFields?: boolean) => import("yup").ObjectSchema<{
|
|
13
13
|
[x: string]: any;
|
|
14
14
|
}, import("yup").AnyObject, {
|
|
15
15
|
[x: string]: any;
|
|
16
16
|
}, "">;
|
|
17
|
-
export declare const bankAccountSchemaByCountry: Record<CountryCode, (allowOptionalFields?: boolean
|
|
17
|
+
export declare const bankAccountSchemaByCountry: Record<CountryCode, (allowOptionalFields?: boolean) => any>;
|
|
@@ -6,5 +6,6 @@ export declare const businessClassificationOptions: BusinessFormOption[];
|
|
|
6
6
|
export declare const businessServiceReceivedOptions: BusinessFormOption[];
|
|
7
7
|
export declare const recurringPaymentsOptions: BusinessFormOption[];
|
|
8
8
|
export declare const seasonalBusinessOptions: BusinessFormOption[];
|
|
9
|
+
export declare const businessTitleOptions: BusinessFormOption[];
|
|
9
10
|
export declare const bankAccountTypeOptions: BusinessFormOption[];
|
|
10
11
|
export {};
|
|
@@ -16,6 +16,7 @@ import { CountryCode } from "./utils/country-codes";
|
|
|
16
16
|
import { FormController as FormController1 } from "./ui-components/form/form";
|
|
17
17
|
import { Placement, PositioningStrategy } from "@popperjs/core";
|
|
18
18
|
import { Dispute } from "./api/Dispute";
|
|
19
|
+
import { UploadedDocumentEntry } from "./components/business-forms/payment-provisioning/document-upload/document-upload-options";
|
|
19
20
|
import { EntityDocumentType, FileSelectEvent as FileSelectEvent1 } from "./api/Document";
|
|
20
21
|
import { IPaymentMethodMetadata } from "./api/PaymentMethod";
|
|
21
22
|
import { ApplePayButtonStyle, ApplePayButtonType, IApplePayToken } from "./api/ApplePay";
|
|
@@ -37,6 +38,7 @@ export { CountryCode } from "./utils/country-codes";
|
|
|
37
38
|
export { FormController as FormController1 } from "./ui-components/form/form";
|
|
38
39
|
export { Placement, PositioningStrategy } from "@popperjs/core";
|
|
39
40
|
export { Dispute } from "./api/Dispute";
|
|
41
|
+
export { UploadedDocumentEntry } from "./components/business-forms/payment-provisioning/document-upload/document-upload-options";
|
|
40
42
|
export { EntityDocumentType, FileSelectEvent as FileSelectEvent1 } from "./api/Document";
|
|
41
43
|
export { IPaymentMethodMetadata } from "./api/PaymentMethod";
|
|
42
44
|
export { ApplePayButtonStyle, ApplePayButtonType, IApplePayToken } from "./api/ApplePay";
|
|
@@ -238,6 +240,19 @@ export namespace Components {
|
|
|
238
240
|
*/
|
|
239
241
|
"disputeResponse": ApiDisputeResponse | any;
|
|
240
242
|
}
|
|
243
|
+
interface DocumentUploadFormStep {
|
|
244
|
+
"allowOptionalFields"?: boolean;
|
|
245
|
+
"authToken": string;
|
|
246
|
+
"businessId": string;
|
|
247
|
+
"country": CountryCode;
|
|
248
|
+
"validateAndSubmit": ({ onSuccess }: { onSuccess: any; }) => Promise<void>;
|
|
249
|
+
}
|
|
250
|
+
interface DocumentUploadList {
|
|
251
|
+
/**
|
|
252
|
+
* @default []
|
|
253
|
+
*/
|
|
254
|
+
"documents": UploadedDocumentEntry[];
|
|
255
|
+
}
|
|
241
256
|
interface DuplicateCharge {
|
|
242
257
|
"disputeResponse": any;
|
|
243
258
|
/**
|
|
@@ -955,11 +970,13 @@ export namespace Components {
|
|
|
955
970
|
"authToken": string;
|
|
956
971
|
"businessId"?: string;
|
|
957
972
|
"country": CountryCode;
|
|
973
|
+
"getOwnershipPercentage": () => Promise<string | null>;
|
|
958
974
|
"newFormOpen"?: boolean;
|
|
959
975
|
"ownerId"?: string;
|
|
960
976
|
"ownersLength"?: number;
|
|
961
977
|
"removeOwner": (id: string) => void;
|
|
962
978
|
"returnOwnerData": () => Promise<string>;
|
|
979
|
+
"setOwnershipPercentageError": (message: string) => Promise<void>;
|
|
963
980
|
"submit": () => Promise<boolean>;
|
|
964
981
|
"validate": () => Promise<boolean>;
|
|
965
982
|
"validateAndSubmit": (event: any) => Promise<void>;
|
|
@@ -1114,6 +1131,10 @@ export interface DisputeResponseCustomEvent<T> extends CustomEvent<T> {
|
|
|
1114
1131
|
detail: T;
|
|
1115
1132
|
target: HTMLDisputeResponseElement;
|
|
1116
1133
|
}
|
|
1134
|
+
export interface DocumentUploadFormStepCustomEvent<T> extends CustomEvent<T> {
|
|
1135
|
+
detail: T;
|
|
1136
|
+
target: HTMLDocumentUploadFormStepElement;
|
|
1137
|
+
}
|
|
1117
1138
|
export interface FormControlCheckboxCustomEvent<T> extends CustomEvent<T> {
|
|
1118
1139
|
detail: T;
|
|
1119
1140
|
target: HTMLFormControlCheckboxElement;
|
|
@@ -1597,6 +1618,31 @@ declare global {
|
|
|
1597
1618
|
prototype: HTMLDisputeResponseElement;
|
|
1598
1619
|
new (): HTMLDisputeResponseElement;
|
|
1599
1620
|
};
|
|
1621
|
+
interface HTMLDocumentUploadFormStepElementEventMap {
|
|
1622
|
+
"error-event": ComponentErrorEvent1;
|
|
1623
|
+
"complete-form-step-event": ComponentFormStepCompleteEvent1;
|
|
1624
|
+
"formLoading": boolean;
|
|
1625
|
+
}
|
|
1626
|
+
interface HTMLDocumentUploadFormStepElement extends Components.DocumentUploadFormStep, HTMLStencilElement {
|
|
1627
|
+
addEventListener<K extends keyof HTMLDocumentUploadFormStepElementEventMap>(type: K, listener: (this: HTMLDocumentUploadFormStepElement, ev: DocumentUploadFormStepCustomEvent<HTMLDocumentUploadFormStepElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1628
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1629
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1630
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1631
|
+
removeEventListener<K extends keyof HTMLDocumentUploadFormStepElementEventMap>(type: K, listener: (this: HTMLDocumentUploadFormStepElement, ev: DocumentUploadFormStepCustomEvent<HTMLDocumentUploadFormStepElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1632
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1633
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1634
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1635
|
+
}
|
|
1636
|
+
var HTMLDocumentUploadFormStepElement: {
|
|
1637
|
+
prototype: HTMLDocumentUploadFormStepElement;
|
|
1638
|
+
new (): HTMLDocumentUploadFormStepElement;
|
|
1639
|
+
};
|
|
1640
|
+
interface HTMLDocumentUploadListElement extends Components.DocumentUploadList, HTMLStencilElement {
|
|
1641
|
+
}
|
|
1642
|
+
var HTMLDocumentUploadListElement: {
|
|
1643
|
+
prototype: HTMLDocumentUploadListElement;
|
|
1644
|
+
new (): HTMLDocumentUploadListElement;
|
|
1645
|
+
};
|
|
1600
1646
|
interface HTMLDuplicateChargeElement extends Components.DuplicateCharge, HTMLStencilElement {
|
|
1601
1647
|
}
|
|
1602
1648
|
var HTMLDuplicateChargeElement: {
|
|
@@ -2707,6 +2753,8 @@ declare global {
|
|
|
2707
2753
|
"customer-details": HTMLCustomerDetailsElement;
|
|
2708
2754
|
"dispute-notification": HTMLDisputeNotificationElement;
|
|
2709
2755
|
"dispute-response": HTMLDisputeResponseElement;
|
|
2756
|
+
"document-upload-form-step": HTMLDocumentUploadFormStepElement;
|
|
2757
|
+
"document-upload-list": HTMLDocumentUploadListElement;
|
|
2710
2758
|
"duplicate-charge": HTMLDuplicateChargeElement;
|
|
2711
2759
|
"electronic-evidence": HTMLElectronicEvidenceElement;
|
|
2712
2760
|
"form-address-fields": HTMLFormAddressFieldsElement;
|
|
@@ -2994,6 +3042,21 @@ declare namespace LocalJSX {
|
|
|
2994
3042
|
"onError-event"?: (event: DisputeResponseCustomEvent<ComponentErrorEvent>) => void;
|
|
2995
3043
|
"onSubmit-event"?: (event: DisputeResponseCustomEvent<ComponentSubmitEvent>) => void;
|
|
2996
3044
|
}
|
|
3045
|
+
interface DocumentUploadFormStep {
|
|
3046
|
+
"allowOptionalFields"?: boolean;
|
|
3047
|
+
"authToken": string;
|
|
3048
|
+
"businessId": string;
|
|
3049
|
+
"country": CountryCode;
|
|
3050
|
+
"onComplete-form-step-event"?: (event: DocumentUploadFormStepCustomEvent<ComponentFormStepCompleteEvent1>) => void;
|
|
3051
|
+
"onError-event"?: (event: DocumentUploadFormStepCustomEvent<ComponentErrorEvent1>) => void;
|
|
3052
|
+
"onFormLoading"?: (event: DocumentUploadFormStepCustomEvent<boolean>) => void;
|
|
3053
|
+
}
|
|
3054
|
+
interface DocumentUploadList {
|
|
3055
|
+
/**
|
|
3056
|
+
* @default []
|
|
3057
|
+
*/
|
|
3058
|
+
"documents"?: UploadedDocumentEntry[];
|
|
3059
|
+
}
|
|
2997
3060
|
interface DuplicateCharge {
|
|
2998
3061
|
"disputeResponse": any;
|
|
2999
3062
|
/**
|
|
@@ -3914,6 +3977,8 @@ declare namespace LocalJSX {
|
|
|
3914
3977
|
"customer-details": CustomerDetails;
|
|
3915
3978
|
"dispute-notification": DisputeNotification;
|
|
3916
3979
|
"dispute-response": DisputeResponse;
|
|
3980
|
+
"document-upload-form-step": DocumentUploadFormStep;
|
|
3981
|
+
"document-upload-list": DocumentUploadList;
|
|
3917
3982
|
"duplicate-charge": DuplicateCharge;
|
|
3918
3983
|
"electronic-evidence": ElectronicEvidence;
|
|
3919
3984
|
"form-address-fields": FormAddressFields;
|
|
@@ -4040,6 +4105,8 @@ declare module "@stencil/core" {
|
|
|
4040
4105
|
"customer-details": LocalJSX.CustomerDetails & JSXBase.HTMLAttributes<HTMLCustomerDetailsElement>;
|
|
4041
4106
|
"dispute-notification": LocalJSX.DisputeNotification & JSXBase.HTMLAttributes<HTMLDisputeNotificationElement>;
|
|
4042
4107
|
"dispute-response": LocalJSX.DisputeResponse & JSXBase.HTMLAttributes<HTMLDisputeResponseElement>;
|
|
4108
|
+
"document-upload-form-step": LocalJSX.DocumentUploadFormStep & JSXBase.HTMLAttributes<HTMLDocumentUploadFormStepElement>;
|
|
4109
|
+
"document-upload-list": LocalJSX.DocumentUploadList & JSXBase.HTMLAttributes<HTMLDocumentUploadListElement>;
|
|
4043
4110
|
"duplicate-charge": LocalJSX.DuplicateCharge & JSXBase.HTMLAttributes<HTMLDuplicateChargeElement>;
|
|
4044
4111
|
"electronic-evidence": LocalJSX.ElectronicEvidence & JSXBase.HTMLAttributes<HTMLElectronicEvidenceElement>;
|
|
4045
4112
|
"form-address-fields": LocalJSX.FormAddressFields & JSXBase.HTMLAttributes<HTMLFormAddressFieldsElement>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as e}from"./p-CYQvLgSs.js";import"./p-
|
|
1
|
+
import{A as e}from"./p-CYQvLgSs.js";import"./p-Dzv0P2Ly.js";import"./p-CLHwhyvu.js";import"./p-BcNb9bVO.js";const t=e();class s{async fetchDispute(e,s){return t.get({endpoint:`disputes/${e}`,authToken:s})}async updateDisputeResponse(e,s,n){return t.patch({endpoint:`disputes/${e}/response`,body:n,authToken:s})}async submitDisputeResponse(e,s,n){return t.post({endpoint:`disputes/${e}/response`,body:n,authToken:s})}async createDisputeEvidence(e,s,n){return t.put({endpoint:`disputes/${e}/evidence`,body:n,authToken:s})}}var n,i;!function(e){e.nextStep="nextStep",e.previousStep="previousStep",e.cancelDispute="cancelDispute",e.respondToDispute="respondToDispute",e.submit="submit"}(n||(n={})),function(e){e.disputeReason="dispute_reason",e.productOrService="product_or_service",e.customerDetails="customer_details",e.cancellationPolicy="cancellation_policy",e.refundPolicy="refund_policy",e.duplicateCharge="duplicate_charge",e.electronicEvidence="electronic_evidence",e.shippingDetails="shipping_details",e.additionalStatement="additional_statement"}(i||(i={}));export{n as D,s as a}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as e,r as t,c as a}from"./p-CV0Pyo1O.js";import{P as s}from"./p-
|
|
1
|
+
import{h as e,r as t,c as a}from"./p-CV0Pyo1O.js";import{P as s}from"./p-n_pmf4AT.js";import{m as i}from"./p-vUN_uvAi.js";import{C as d,e as c,g as f,f as l}from"./p-Dzv0P2Ly.js";import{J as r}from"./p-H0ILKMD2.js";import{c as h}from"./p-D9rCHoO4.js";import"./p-DVJaoI_m.js";import{b as o,d as b,s as p}from"./p-BRnBHsdq.js";import"./p-CLHwhyvu.js";import"./p-BcNb9bVO.js";import{P as n,M as m}from"./p-D1_eip6x.js";import{a as y,b as u,D as v,c as k,C as j,E as C}from"./p-Cu7hgXL1.js";import{S as g}from"./p-DzEdYT8R.js";import"./p-CZfYo5-1.js";import{S as D}from"./p-uZ5KAseb.js";import{a as w,B as P}from"./p-CHw7tICr.js";import"./p-CYQvLgSs.js";import"./p-HXpYMWUU.js";import"./p-CDu7TeCZ.js";import"./p-D6Pw5qJ5.js";import"./p-D8GTwl9v.js";import"./p-CPKMvyV_.js";const x=()=>e("div",{class:"row gap-3"},e("div",{class:"col-12"},e(D,{width:"35%",height:"30px"})),e("div",{class:"col-12"},e(D,{width:"70%"})),e("div",{class:"col-12"},e(D,{width:"40%"})),e("div",{class:"col-12"},e(D,{width:"40%"})),e("div",{class:"col-12"},e(D,{width:"100%"})),e("div",{class:"col-12"},e(D,{width:"80%"}))),T=class{constructor(e){t(this,e),this.errorEvent=a(this,"error-event",7),this.recordClickEvent=a(this,"record-click-event",7),this.loading=!0}componentWillLoad(){h(),this.analytics=new r(this),this.initializeGetPaymentDetails()}disconnectedCallback(){var e;null===(e=this.analytics)||void 0===e||e.cleanup()}propChanged(){this.initializeGetPaymentDetails()}initializeGetPaymentDetails(){this.paymentId&&this.authToken?(this.getPaymentDetails=i({id:this.paymentId,authToken:this.authToken,service:new s}),this.fetchData()):(this.errorMessage="Payment ID and Auth Token are required",this.errorEvent.emit({message:this.errorMessage,errorCode:c.MISSING_PROPS,severity:d.ERROR}))}updateOnPropChange(){this.getPaymentDetails&&this.fetchData()}fetchData(){this.loading=!0,this.getPaymentDetails({onSuccess:({payment:e})=>{this.payment=e,this.errorMessage=null},onError:({error:e,code:t,severity:a})=>{this.errorMessage=e,this.errorEvent.emit({errorCode:t,message:e,severity:a})},final:()=>{this.loading=!1}})}get PaymentStatus(){return this.payment.status===f.disputed&&this.payment.disputes.some((e=>e.status===l.lost))?n.DISPUTE_LOST:this.payment.status}render(){return e(g,{key:"f4952600aea69aae085ac57364e96397d1a20e51"},this.loading&&e(x,{key:"2f819c97a1a6ddb9df2a11e0cd6a5bc013ed19ae"}),!this.loading&&this.errorMessage&&C(this.errorMessage),!this.loading&&!this.errorMessage&&this.payment&&e("justifi-details",{key:"35a58e3917bdc3133f02374c0e031374be7c728c",errorMessage:this.errorMessage},e(y,{key:"dad5f79ea18ef718b92bf2c2abbbba34542d6caa",slot:"head-info",badge:e("div",{class:"d-flex gap-1"},m(this.PaymentStatus),this.payment.expedited?e(w,{variant:P.WARNING,title:"Expedited",text:"Expedited"}):null),title:this.payment.formattedPaymentAmount(this.payment.amount)},e(u,{key:"12e7cfb4f4f56a1af8403b935cb51db3751f1395",classes:"border-1 border-end",title:"Updated At",value:`${o(this.payment.updated_at)} ${b(this.payment.updated_at)}`}),e(u,{key:"023945353c0cbab340f4f510951164f110045ea5",classes:"border-1 border-end",title:"Created At",value:`${o(this.payment.created_at)} ${b(this.payment.created_at)}`}),e(u,{key:"dcb261f7c4faf53eb686cfd5c8e0ade39a72bdea",title:"ID",value:this.payment.id})),e("div",{key:"a7774df4ece900dc67494377cf648bf64f558490",slot:"detail-sections"},e(v,{key:"ef4a9197d4eb47d81c11c7f974f1e4058d5e3166",sectionTitle:"Details"}),e("div",{key:"17ef105d1b37ad34cce4bdd17cbf2e4023c0e2e5",class:"d-flex flex-column gap-2 w-100"},e(k,{key:"dbb764a1a6cbe949d2e281334e2f420f957b98fe",title:"Amount",value:this.payment.formattedPaymentAmount(this.payment.amount)}),e(k,{key:"7a3547ade7107456956618c72a95056a0771d219",title:"Fees",value:this.payment.formattedPaymentAmount(this.payment.fee_amount)}),e(k,{key:"94df0647f7286a4a7c9001f9e82b4277fe0f8457",title:"Refunded",value:this.payment.formattedPaymentAmount(this.payment.amount_refunded)}),e(k,{key:"59c13e257938124af50adfaa73571f152c402bd4",title:"Net",value:this.payment.formattedPaymentAmount(this.payment.balance)}),e(k,{key:"6abf719a072a3a1ea5878d999e517dafb7ba19d5",title:"Status",value:m(this.PaymentStatus)}),e(k,{key:"c494d2b4be8c9e13747f0299a618ea6c9ff723d7",title:"Payment ID",value:this.payment.id}),e(k,{key:"1024b282558896dcb2c4ab7718045d98a6f6853e",title:"Processing Fees",value:this.payment.formattedPaymentAmount(this.payment.fee_amount)}),e(k,{key:"6bf6fb7f648609fdeaa4e5a0b6f3d4c7bcd4af97",title:"Statement Descriptor",value:this.payment.statement_descriptor}),e(k,{key:"43da8b6ab1aa87b6b938f1d0fd95708399cb9cc0",title:"Description",value:this.payment.description}),e(k,{key:"e6180466f4341e2c438f09cc42feb518f59aded4",title:"Expedited",value:this.payment.expedited?"Yes":"No"})),this.payment.payment_method.card&&[e(v,{key:"289f80acfa3cd41f82637e8f9d9e63dac4c11b5b",sectionTitle:"Payment Method"}),e("div",{key:"616a2e7ae000581dd481725c57a644fc3e0a9b7c",class:"d-flex flex-column gap-2 w-100"},e(k,{key:"2c13ea8a771e2f155a9e3d5dbae78c7800f31adb",title:"ID",value:this.payment.payment_method.card.id}),e(k,{key:"62700836b3bd9656d07dc58d0d07d164c091cd74",title:"Payment Type",value:"Card"}),e(k,{key:"528ad4dddccaa7f5bc274b3b297557f659d46789",title:"Last 4 Numbers",value:this.payment.payment_method.lastFourDigits}),e(k,{key:"fdf2ad89e4e7ad253e16bff9038dc79da5a71b19",title:"Brand",value:p(this.payment.payment_method.card.brand)}),e(k,{key:"0b2c505e1fae49414414d5e839b1bdc849290c41",title:"Cardholder",value:this.payment.payment_method.payersName}))],this.payment.payment_method.bank_account&&[e(v,{key:"2a04be5ee508a547661e1ff947c2c9b40da2a192",sectionTitle:"Payment Method"}),e("div",{key:"1316f9c749960ca0ab4967ff03697583e690007d",class:"d-flex flex-column gap-2 w-100"},e(k,{key:"46fe5297825ef0b9e3f34fdee6f47f3dd3b9272d",title:"ID",value:this.payment.payment_method.bank_account.id}),e(k,{key:"44f1f47522b94ce5e403d766ee71645b4285d675",title:"Last 4 Numbers",value:this.payment.last_four_digits}),e(k,{key:"f03369474996dc0ae52c7d909ac1bba51e291668",title:"Bank Name",value:this.payment.payment_method.bank_account.brand}),e(k,{key:"d697a0e2a954f0e4efb4cec27dcae9c57fa0ce54",title:"Account Owner",value:this.payment.payment_method.payersName}))],this.payment.metadata&&[e(v,{key:"7cdd88cc59c7852574b05e1709f85afe3bf7367e",sectionTitle:"Metadata"}),e("div",{key:"bde3519c811862185b0757fd7c8a2a0a05117466",class:"d-table gap-2 w-100"},e(j,{key:"7675f134c9580381d495a1d7534e73b77583cb8b",metadata:this.payment.metadata}))])))}static get watchers(){return{paymentId:["propChanged"],authToken:["propChanged"],getPaymentDetails:["updateOnPropChange"]}}};export{T as justifi_payment_details}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as t,r as e,c as i}from"./p-CV0Pyo1O.js";import{l as s,C as a,e as r}from"./p-
|
|
1
|
+
import{h as t,r as e,c as i}from"./p-CV0Pyo1O.js";import{l as s,C as a,e as r}from"./p-Dzv0P2Ly.js";import{J as o}from"./p-H0ILKMD2.js";import{c as n}from"./p-D9rCHoO4.js";import{T as c}from"./p-xWuaNtJy.js";import"./p-DVJaoI_m.js";import"./p-HXpYMWUU.js";import{p as h}from"./p-CLHwhyvu.js";import"./p-BcNb9bVO.js";import{g as d,a as p}from"./p-CDu7TeCZ.js";import{m,S as u}from"./p-C-zuQNNP.js";import{S as l}from"./p-DzEdYT8R.js";import{T as b,a as f,b as v,c as g,d as y,e as k,f as j,g as C,h as w,i as T,j as _,k as D,l as S}from"./p-BICxxa69.js";import{T as P}from"./p-CZfYo5-1.js";import{B as O,a as I}from"./p-CHw7tICr.js";import{a6 as x,a7 as A}from"./p-CPKMvyV_.js";import{k as N}from"./p-BRnBHsdq.js";import{o as E,g as z}from"./p-Dw63wyhO.js";import"./p-D6Pw5qJ5.js";import"./p-CYQvLgSs.js";import"./p-D8GTwl9v.js";import"./p-CqiVXthx.js";const H={nickname:()=>t("th",{part:x,scope:"col",title:"The nickname associated with the terminal"},"Nickname"),model_name:()=>t("th",{part:x,scope:"col",title:"The model name of the terminal"},"Model Name"),id:()=>t("th",{part:x,scope:"col",title:"The ID of the terminal"},"ID"),provider:()=>t("th",{part:x,scope:"col",title:"The provider of the terminal"},"Provider"),provider_serial_number:()=>t("th",{part:x,scope:"col",title:"The serial number of the terminal"},"Serial Number"),device_id:()=>t("th",{part:x,scope:"col",title:"The device/provider ID of the terminal"},"Device ID"),sub_account_name:()=>t("th",{part:x,scope:"col",title:"The sub account associated with the terminal"},"Sub Account"),status:()=>t("th",{part:x,scope:"col",title:"The current status of each terminal"},"Status")},L={nickname:(e,i)=>t("td",{part:A(i)},e.nickname),model_name:(e,i)=>t("td",{part:A(i)},e.model_name),id:(e,i)=>t("td",{part:A(i)},e.id),provider:(e,i)=>t("td",{part:A(i)},N(e.provider)),provider_serial_number:(e,i)=>t("td",{part:A(i)},e.provider_serial_number),device_id:(e,i)=>t("td",{part:A(i)},e.provider_id),sub_account_name:(e,i)=>t("td",{part:A(i)},e.sub_account_name),status:(e,i)=>t("td",{part:A(i)},t(I,Object.assign({},{connected:{variant:O.SUCCESS,title:"This terminal is connected",text:"Connected"},disconnected:{variant:O.DANGER,title:"This terminal is disconnected",text:"Disconnected"},unknown:{variant:O.SECONDARY,title:"The status of this terminal is unknown",text:"Unknown"},pending_configuration:{variant:O.WARNING,title:"This terminal is pending configuration",text:"Pending configuration"},archived:{variant:O.SECONDARY,title:"This terminal is archived",text:"Archived"}}[e.status])))},B=class{constructor(t){e(this,t),this.clickEvent=i(this,"click-event",7),this.errorEvent=i(this,"error-event",7),this.terminals=[],this.subAccounts=[],this.loading=!0,this.paging=h,this.pagingParams={},this.columns="nickname,provider_serial_number,status",this.handleClickPrevious=t=>{this.pagingParams={before_cursor:t},this.clickEvent.emit({name:P.previous})},this.handleClickNext=t=>{this.pagingParams={after_cursor:t},this.clickEvent.emit({name:P.next})},this.rowClickHandler=t=>{const e=t.target.closest("tr").dataset.rowEntityId;if(!e)return;const i=this.terminals.find((t=>t.id===e));this.clickEvent.emit({name:P.row,data:i})}}componentWillLoad(){n(),this.analytics=new o(this),this.terminalsTable=new b(this.terminals,this.columns,H,L),this.initializeGetData(),this.getTerminals&&this.getSubAccounts&&this.fetchData(),E("set",(()=>{this.pagingParams={}})),E("reset",(()=>{this.pagingParams={},this.errorMessage=""}))}disconnectedCallback(){var t;null===(t=this.analytics)||void 0===t||t.cleanup()}propChanged(){this.initializeGetData()}updateOnPropChange(){this.fetchData()}initializeGetData(){this.initializeGetTerminals(),this.initializeGetSubAccounts()}initializeGetTerminals(){this.accountId&&this.authToken?this.getTerminals=(({id:t,authToken:e,service:i})=>async({params:r,onSuccess:o,onError:n})=>{var c,h;try{const m=await i.fetchTerminals(t,e,r);if(m.error)return n({error:p(m.error),code:d(null===(h=m.error)||void 0===h?void 0:h.code),severity:a.ERROR});{const t=Object.assign({},m.page_info);o({terminals:(null===(c=m.data)||void 0===c?void 0:c.map((t=>new s(t))))||[],pagingInfo:t})}}catch(t){const e=d(null==t?void 0:t.code);return n({error:t.message||t,code:e,severity:a.ERROR})}})({id:this.accountId,authToken:this.authToken,service:new c}):(this.errorMessage="Account ID and Auth Token are required",this.errorEvent.emit({errorCode:r.MISSING_PROPS,message:this.errorMessage,severity:a.ERROR}))}initializeGetSubAccounts(){this.accountId&&this.authToken&&(this.getSubAccounts=m({primaryAccountId:this.accountId,authToken:this.authToken,service:new u}))}fetchData(){this.loading=!0,this.getTerminals({params:this.terminalParams,onSuccess:async({terminals:t,pagingInfo:e})=>{this.terminals=t,this.paging=e,this.terminalsTable.collectionData=this.terminals,this.terminalsTable.columnKeys.includes("sub_account_name")?await this.fetchSubAccounts():this.loading=!1},onError:({error:t,code:e,severity:i})=>{this.errorMessage=t,this.errorEvent.emit({errorCode:e,message:t,severity:i}),this.loading=!1}})}async fetchSubAccounts(){this.getSubAccounts({params:this.subAccountParams,onSuccess:({subAccounts:t})=>{this.subAccounts=t,this.terminals=this.terminals.map((t=>{var e;return t.sub_account_name=null===(e=this.subAccounts.find((e=>e.id===t.account_id)))||void 0===e?void 0:e.name,t})),this.loading=!1},onError:({error:t,code:e,severity:i})=>{this.errorMessage=t,this.errorEvent.emit({errorCode:e,message:t,severity:i}),this.loading=!1}})}get terminalParams(){const t=z();return Object.assign(Object.assign({},t),this.pagingParams)}get subAccountParams(){let t=this.terminals.map((t=>t.account_id));return{sub_account_id:[...new Set(t)].join(",")}}get entityId(){return this.terminals.map((t=>t.id))}get showEmptyState(){return!this.loading&&!this.errorMessage&&this.terminalsTable.rowData.length<1}get showErrorState(){return!this.loading&&!!this.errorMessage}get showRowData(){return!this.showEmptyState&&!this.showErrorState&&!this.loading}render(){return t(l,{key:"6388e9b0b7c6dcedc9f3db534d3a30d0a748929c"},t(f,{key:"e11b994e16e657aaaa7c6f29197865d0d6bfd1ba"},t(v,{key:"340980f75fef37841907835378d9c0ced1992b5c"},t(g,{key:"fdd3d1569b6a3df9d5d31fb2cc602ab054529fc6"},t(y,{key:"440d602ac5746635f92445c6216c807b9b13517e"},this.terminalsTable.columnData.map((t=>t)))),t(k,{key:"ccef66a47be1cfca09f10d450fb7eeaf241a17e0"},t(j,{key:"aea6e2f33e07c717f50065c12211f9f2d9266bec",columnSpan:this.terminalsTable.columnKeys.length,isLoading:this.loading}),t(C,{key:"7c92ba6cd398bae23587a2e1771bba7b75dc680c",isEmpty:this.showEmptyState,columnSpan:this.terminalsTable.columnKeys.length}),t(w,{key:"3155cf655f5b8e4290e8cabdcdbd534159f22ddd",columnSpan:this.terminalsTable.columnKeys.length,errorMessage:this.errorMessage}),this.showRowData&&this.terminalsTable.rowData.map(((e,i)=>t(T,{"data-test-id":"table-row","data-row-entity-id":this.entityId[i],onClick:this.rowClickHandler},e)))),this.paging&&t(_,{key:"da9172d4bf4439456894b53a0cf13a82081909f0"},t(D,{key:"e6c0847dc330a0e32228f2020d22bbaf0e4ad439"},t(S,{key:"6761f623d70d13b13e92ec73c9b936d5bf85dd70",colSpan:this.terminalsTable.columnData.length},t("pagination-menu",{key:"4b490b5834be42664ebbc27b7c7a1b0c10bd433b",paging:Object.assign(Object.assign({},this.paging),{handleClickPrevious:this.handleClickPrevious,handleClickNext:this.handleClickNext})})))))))}static get watchers(){return{accountId:["propChanged"],authToken:["propChanged"],pagingParams:["updateOnPropChange"],getTerminals:["updateOnPropChange"],getSubAccounts:["updateOnPropChange"],columns:["updateOnPropChange"]}}};export{B as justifi_terminals_list}
|