@justifi/webcomponents 5.7.0 → 5.7.2
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/{ApiNew-C8nf_gS9.js → Api-Dp4CW5K6.js} +1 -1
- package/dist/cjs/{Business-DyiDiIuO.js → Business-DCRzZf0w.js} +3 -1
- package/dist/cjs/{Checkout-RAGvjVPj.js → Checkout-TZnRz3-3.js} +1 -1
- package/dist/cjs/{Payment-CQCmj3Ck.js → Document-Qt0qiXeh.js} +58 -1
- package/dist/cjs/{Refund-CpurRc4w.js → Refund-BDFOEJv_.js} +2 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +12 -13
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +11 -10
- package/dist/cjs/bank-account-form_9.cjs.entry.js +35 -25
- package/dist/cjs/{business-additional-questions-schema-gVepoR4V.js → business-additional-questions-schema-JlysTRE3.js} +1 -1
- package/dist/cjs/business-details-core.cjs.entry.js +1 -2
- package/dist/cjs/{business-form-options-BCj0efiD.js → business-form-options-CMII7nIK.js} +1 -1
- package/dist/cjs/{business-identity-schema-dt0zCW0R.js → business-identity-schema-BksYFWls.js} +1 -1
- package/dist/cjs/{business.service-yVtplFhh.js → business.service-DMIMZpx4.js} +9 -2
- package/dist/cjs/{check-pkg-version-BYKcQDik.js → check-pkg-version-hqYwYpQq.js} +13 -3
- package/dist/cjs/{checkout.service-Dd2AbBn2.js → checkout.service-DKH8NODe.js} +9 -2
- package/dist/cjs/checkouts-list-core.cjs.entry.js +11 -8
- package/dist/cjs/{checkouts-table-_T5eblyc.js → checkouts-table-Cj2iSB_P.js} +1 -1
- package/dist/cjs/custom-popper_4.cjs.entry.js +4 -4
- package/dist/cjs/{dispute.service-C0J-Wh-Y.js → dispute.service-8j6tLV4i.js} +9 -2
- package/dist/cjs/form-alert_5.cjs.entry.js +2 -2
- package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/form-control-date.cjs.entry.js +2 -2
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
- package/dist/cjs/form-control-monetary.cjs.entry.js +3 -3
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +2 -2
- package/dist/cjs/form-control-number.cjs.entry.js +2 -2
- package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
- package/dist/cjs/{get-business-DHg5rpse.js → get-business-BJrtsomz.js} +1 -1
- package/dist/cjs/{get-payment-details-DqvDYbnK.js → get-payment-details-MM1u5jMc.js} +8 -6
- package/dist/cjs/{get-subaccounts-CquZS5kP.js → get-subaccounts-CkjWYxIU.js} +9 -7
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
- package/dist/cjs/iframe-input.cjs.entry.js +4 -4
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +12 -11
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +13 -15
- package/dist/cjs/justifi-business-details.cjs.entry.js +22 -10
- package/dist/cjs/justifi-business-form.cjs.entry.js +19 -18
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout.cjs.entry.js +18 -8
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +10 -7
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +20 -16
- package/dist/cjs/justifi-details.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +15 -7
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +17 -7
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +19 -10
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +20 -16
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +12 -8
- package/dist/cjs/justifi-payment-details.cjs.entry.js +14 -11
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +18 -8
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +18 -14
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payments-list.cjs.entry.js +19 -15
- package/dist/cjs/justifi-payout-details.cjs.entry.js +16 -12
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +18 -14
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +19 -15
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +16 -14
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +4 -2
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +20 -23
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +11 -8
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +21 -14
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +10 -7
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +19 -15
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +19 -13
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-CX6Njc5t.js → package-BCOEGxFC.js} +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +10 -10
- package/dist/cjs/{payment.service-BvTU2Orj.js → payment.service-CCxGhTwZ.js} +9 -2
- package/dist/cjs/payments-list-core.cjs.entry.js +12 -9
- package/dist/cjs/{payments-table-BkRhDePE.js → payments-table-BR97ybd6.js} +1 -1
- package/dist/cjs/payout-details-core.cjs.entry.js +5 -5
- package/dist/cjs/{payout.service-C99pgxvg.js → payout.service-CtphIhUK.js} +9 -2
- package/dist/cjs/payouts-list-core.cjs.entry.js +12 -9
- package/dist/cjs/{payouts-table-DJMz3bVh.js → payouts-table-DMcQiC1g.js} +1 -1
- package/dist/cjs/{schema-validations-p4OCdblz.js → schema-validations-BUor-ySb.js} +6 -7
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +12 -9
- package/dist/cjs/{terminal-orders-table-BeeUTKtj.js → terminal-orders-table-D-CLcZws.js} +7 -5
- package/dist/cjs/{terminal.service-DEGcoaCb.js → terminal.service-Dv_WJkue.js} +9 -2
- package/dist/cjs/terminals-list-core.cjs.entry.js +12 -9
- package/dist/cjs/{terminals-table-D2XUsf_J.js → terminals-table-BEJ6sF7w.js} +1 -1
- package/dist/cjs/{utils-DmZ8Dia3.js → utils-qOon0GWm.js} +3 -0
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/Analytics.js +3 -0
- package/dist/collection/api/Api.js +23 -12
- package/dist/collection/api/Business.js +3 -1
- package/dist/collection/api/Payment.js +1 -0
- package/dist/collection/api/Payout.js +1 -0
- package/dist/collection/api/index.js +5 -1
- package/dist/collection/api/services/analytics.service.js +1 -1
- package/dist/collection/api/services/business.service.js +1 -1
- package/dist/collection/api/services/checkout.service.js +1 -1
- package/dist/collection/api/services/dispute.service.js +1 -1
- package/dist/collection/api/services/insurance.service.js +5 -8
- package/dist/collection/api/services/payment.service.js +1 -1
- package/dist/collection/api/services/payout.service.js +1 -1
- package/dist/collection/api/services/provision.service.js +1 -1
- package/dist/collection/api/services/refund.service.js +1 -1
- package/dist/collection/api/services/reports.service.js +3 -3
- package/dist/collection/api/services/subaccounts.service.js +1 -1
- package/dist/collection/api/services/terminal.service.js +1 -1
- package/dist/collection/api/services/terminal_orders.service.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +3 -4
- package/dist/collection/components/business-details/business-details-core.js +1 -2
- package/dist/collection/components/business-details/business-details.js +13 -4
- package/dist/collection/components/business-details/core-info-details/core-info-details.js +41 -0
- package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +3 -3
- package/dist/collection/components/business-details/representative-details/representative-details.js +3 -3
- package/dist/collection/components/business-forms/business-form/business-form.js +3 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +4 -2
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +4 -4
- package/dist/collection/components/business-forms/schemas/schema-validations.js +6 -7
- package/dist/collection/components/checkout/billing-form/billing-form.js +6 -5
- package/dist/collection/components/checkout/checkout.js +5 -3
- package/dist/collection/components/checkout/new-payment-method.js +17 -6
- package/dist/collection/components/checkout/payment-method-options.js +4 -5
- package/dist/collection/components/checkouts-list/checkouts-list.js +4 -2
- package/dist/collection/components/dispute-management/dispute-management.js +3 -2
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +4 -2
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +3 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +4 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +3 -4
- package/dist/collection/components/order-terminals/order-terminals.js +6 -1
- package/dist/collection/components/payment-details/payment-details-core.js +9 -8
- package/dist/collection/components/payment-details/payment-details.js +2 -1
- package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +4 -2
- package/dist/collection/components/payments-list/payments-list-core.js +1 -1
- package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
- package/dist/collection/components/payments-list/payments-list.js +4 -2
- package/dist/collection/components/payout-details/payout-details-core.js +4 -3
- package/dist/collection/components/payout-details/payout-details.js +3 -1
- package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +4 -2
- package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
- package/dist/collection/components/payouts-list/payouts-list.js +4 -2
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
- package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +6 -1
- package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list.js +4 -2
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +9 -5
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/details/details.js +2 -2
- package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
- package/dist/collection/ui-components/form/form-control-date.js +2 -2
- package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
- package/dist/collection/ui-components/form/form-control-file.js +2 -2
- package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
- package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
- package/dist/collection/ui-components/form/form-control-number.js +2 -2
- package/dist/collection/ui-components/form/form-control-radio.js +2 -2
- package/dist/collection/ui-components/form/form-control-text.js +2 -2
- package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +3 -3
- package/dist/collection/utils/utils.js +3 -0
- package/dist/docs.json +85 -78
- package/dist/esm/{ApiNew-KYhsw8Nv.js → Api-cgKcLG0y.js} +1 -1
- package/dist/esm/{Business-D6XNzizo.js → Business-BCoP0TAV.js} +3 -1
- package/dist/esm/{Checkout-Dfpql997.js → Checkout-B9LrTq63.js} +1 -1
- package/dist/esm/{Dispute-7MWRbTXI.js → Dispute-BH0Xfn-F.js} +1 -1
- package/dist/esm/{Payment-BADkZFaz.js → Document-DvWsQBM6.js} +58 -3
- package/dist/esm/{Refund-DOvd7RJp.js → Refund-zZewCvey.js} +2 -1
- package/dist/esm/additional-questions-details_5.entry.js +12 -13
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +11 -10
- package/dist/esm/bank-account-form_9.entry.js +28 -18
- package/dist/esm/{business-additional-questions-schema-DWnZs60Z.js → business-additional-questions-schema-CBUm3D7O.js} +1 -1
- package/dist/esm/business-details-core.entry.js +1 -2
- package/dist/esm/{business-form-options-Bn05PRR4.js → business-form-options-CgssATyg.js} +1 -1
- package/dist/esm/{business-identity-schema-lqdJS3MT.js → business-identity-schema-CntGz8jo.js} +1 -1
- package/dist/esm/{business.service-_645Z23O.js → business.service-BWivPbyO.js} +8 -1
- package/dist/esm/{check-pkg-version-Dh7UNmHL.js → check-pkg-version-BykGn7tx.js} +12 -2
- package/dist/esm/{checkout.service-7FGjq0rO.js → checkout.service-Bh-Q24Cr.js} +8 -1
- package/dist/esm/checkouts-list-core.entry.js +11 -8
- package/dist/esm/{checkouts-table-DKd0QLys.js → checkouts-table-DcVkD83l.js} +1 -1
- package/dist/esm/custom-popper_4.entry.js +4 -4
- package/dist/esm/{dispute.service-lJlAFuE6.js → dispute.service-1AYcALSg.js} +8 -1
- package/dist/esm/form-alert_5.entry.js +2 -2
- package/dist/esm/form-control-checkbox.entry.js +2 -2
- package/dist/esm/form-control-date.entry.js +2 -2
- package/dist/esm/form-control-file-v2_2.entry.js +3 -3
- package/dist/esm/form-control-monetary.entry.js +3 -3
- package/dist/esm/form-control-number-masked_2.entry.js +2 -2
- package/dist/esm/form-control-number.entry.js +2 -2
- package/dist/esm/form-control-radio.entry.js +2 -2
- package/dist/esm/{get-business-CIKToQur.js → get-business-GEPTefIj.js} +1 -1
- package/dist/esm/{get-payment-details-CXiGG9cO.js → get-payment-details-DXhXxFPr.js} +7 -5
- package/dist/esm/{get-subaccounts-DIJtLFsb.js → get-subaccounts-CtHj1UM6.js} +8 -6
- package/dist/esm/gross-payment-chart-core.entry.js +1 -1
- package/dist/esm/iframe-input.entry.js +4 -4
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +12 -11
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +13 -15
- package/dist/esm/justifi-business-details.entry.js +23 -11
- package/dist/esm/justifi-business-form.entry.js +19 -18
- package/dist/esm/justifi-checkout-core.entry.js +2 -2
- package/dist/esm/justifi-checkout.entry.js +18 -8
- package/dist/esm/justifi-checkouts-list-filters.entry.js +10 -7
- package/dist/esm/justifi-checkouts-list.entry.js +20 -16
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
- package/dist/esm/justifi-dispute-management.entry.js +16 -8
- package/dist/esm/justifi-dispute-notification_3.entry.js +17 -7
- package/dist/esm/justifi-gross-payment-chart.entry.js +19 -10
- package/dist/esm/justifi-order-terminals.entry.js +20 -16
- package/dist/esm/justifi-owner-form_3.entry.js +12 -8
- package/dist/esm/justifi-payment-details.entry.js +15 -12
- package/dist/esm/justifi-payment-provisioning.entry.js +17 -7
- package/dist/esm/justifi-payment-transactions-list.entry.js +18 -14
- package/dist/esm/justifi-payments-list-filters.entry.js +3 -3
- package/dist/esm/justifi-payments-list.entry.js +18 -14
- package/dist/esm/justifi-payout-details.entry.js +16 -12
- package/dist/esm/justifi-payout-transactions-list.entry.js +18 -14
- package/dist/esm/justifi-payouts-list-filters.entry.js +3 -3
- package/dist/esm/justifi-payouts-list.entry.js +19 -15
- package/dist/esm/justifi-refund-payment.entry.js +15 -13
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +4 -2
- package/dist/esm/justifi-season-interruption-insurance.entry.js +20 -23
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +11 -8
- package/dist/esm/justifi-terminal-orders-list.entry.js +20 -13
- package/dist/esm/justifi-terminals-list-filters.entry.js +10 -7
- package/dist/esm/justifi-terminals-list.entry.js +19 -15
- package/dist/esm/justifi-tokenize-payment-method.entry.js +19 -13
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-DLLK41AX.js → package-BjMTOtI1.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +10 -10
- package/dist/esm/{payment.service-DdCJ1Dc7.js → payment.service-2afJc31y.js} +8 -1
- package/dist/esm/payments-list-core.entry.js +12 -9
- package/dist/esm/{payments-table-BBf5fV74.js → payments-table-B8316Kqz.js} +1 -1
- package/dist/esm/payout-details-core.entry.js +5 -5
- package/dist/esm/{payout.service-G1Isezyi.js → payout.service-Bd8Tc7-Q.js} +8 -1
- package/dist/esm/payouts-list-core.entry.js +12 -9
- package/dist/esm/{payouts-table-DhZEXhGH.js → payouts-table-Ip10eH4Q.js} +1 -1
- package/dist/esm/{schema-validations-BsbYeDDR.js → schema-validations-C7D5tPzq.js} +6 -7
- package/dist/esm/terminal-orders-list-core.entry.js +12 -9
- package/dist/esm/{terminal-orders-table-BlT9YrFD.js → terminal-orders-table-CCJT7oq4.js} +7 -5
- package/dist/esm/{terminal.service-aFe-O3PC.js → terminal.service-8kwGru35.js} +8 -1
- package/dist/esm/terminals-list-core.entry.js +12 -9
- package/dist/esm/{terminals-table-CkWr-6tD.js → terminals-table-cMkKUVff.js} +1 -1
- package/dist/esm/{utils-BWcTxbSg.js → utils-DB5fh6Iv.js} +3 -0
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Api.js +23 -11
- package/dist/module/Business.js +3 -1
- package/dist/module/Checkout.js +22 -2
- package/dist/module/Payment.js +59 -3
- package/dist/module/Refund.js +2 -1
- package/dist/module/additional-questions-details2.js +3 -4
- package/dist/module/bank-account-document-inputs.js +2 -1
- package/dist/module/billing-form.js +4 -3
- package/dist/module/business-additional-questions-form-step.js +1 -1
- package/dist/module/business-bank-account-form-step-core.js +2 -2
- package/dist/module/business-bank-account-form-step.js +3 -2
- package/dist/module/business-core-info-form-step.js +1 -1
- package/dist/module/business-details-core2.js +11 -7
- package/dist/module/business-documents-on-file2.js +1 -1
- package/dist/module/business-owners-form-step.js +1 -1
- package/dist/module/business-representative-form-step.js +1 -1
- package/dist/module/business-terms-conditions-form-step.js +6 -7
- package/dist/module/business.service.js +7 -1
- package/dist/module/check-pkg-version.js +10 -1
- package/dist/module/checkout-core.js +2 -3
- package/dist/module/checkout.service.js +7 -1
- package/dist/module/checkouts-list-core2.js +3 -2
- package/dist/module/{generic-info-details.d.ts → core-info-details.d.ts} +4 -4
- package/dist/module/core-info-details.js +6 -0
- package/dist/module/core-info-details2.js +34 -0
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/details.js +2 -2
- package/dist/module/dispute-management-core.js +1 -1
- package/dist/module/dispute-notification.js +1 -1
- package/dist/module/dispute-response-actions.js +7 -2
- package/dist/module/dispute-response.js +5 -3
- package/dist/module/form-control-checkbox2.js +2 -2
- package/dist/module/form-control-date2.js +2 -2
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +2 -2
- package/dist/module/form-control-monetary2.js +3 -3
- package/dist/module/form-control-number-masked2.js +2 -2
- package/dist/module/form-control-number.js +2 -2
- package/dist/module/form-control-radio2.js +2 -2
- package/dist/module/form-control-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +2 -2
- package/dist/module/get-business.js +1 -1
- package/dist/module/get-payment-details.js +4 -3
- package/dist/module/get-payout-csv.js +1 -1
- package/dist/module/get-subaccounts.js +5 -4
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/justifi-business-details.js +24 -11
- package/dist/module/justifi-business-form.js +5 -3
- package/dist/module/justifi-checkout.js +6 -4
- package/dist/module/justifi-checkouts-list-filters.js +3 -2
- package/dist/module/justifi-checkouts-list.js +7 -4
- package/dist/module/justifi-dispute-management.js +5 -4
- package/dist/module/justifi-gross-payment-chart.js +11 -4
- package/dist/module/justifi-order-terminals.js +8 -3
- package/dist/module/justifi-payment-details.js +3 -2
- package/dist/module/justifi-payment-provisioning.js +11 -4
- package/dist/module/justifi-payment-transactions-list.js +7 -4
- package/dist/module/justifi-payments-list-filters.js +2 -2
- package/dist/module/justifi-payments-list.js +8 -5
- package/dist/module/justifi-payout-details.js +6 -3
- package/dist/module/justifi-payout-transactions-list.js +7 -5
- package/dist/module/justifi-payouts-list-filters.js +2 -2
- package/dist/module/justifi-payouts-list.js +7 -4
- package/dist/module/justifi-refund-payment.js +5 -4
- package/dist/module/justifi-season-interruption-insurance.js +10 -14
- package/dist/module/justifi-terminal-orders-list-filters.js +4 -3
- package/dist/module/justifi-terminal-orders-list.js +10 -4
- package/dist/module/justifi-terminals-list-filters.js +3 -2
- package/dist/module/justifi-terminals-list.js +7 -4
- package/dist/module/justifi-tokenize-payment-method.js +10 -5
- package/dist/module/legal-address-details2.js +3 -3
- package/dist/module/legal-address-form-step.js +1 -1
- package/dist/module/new-payment-method.js +15 -4
- package/dist/module/owner-details2.js +1 -1
- package/dist/module/package.js +1 -1
- package/dist/module/payment-details-core2.js +10 -9
- package/dist/module/payment-method-options.js +2 -3
- package/dist/module/payment-provisioning-actions.js +1 -1
- package/dist/module/payment-provisioning-core.js +1 -1
- package/dist/module/payment.service.js +7 -1
- package/dist/module/payments-list-core2.js +3 -2
- package/dist/module/payout-details-core2.js +5 -4
- package/dist/module/payout.service.js +7 -1
- package/dist/module/payouts-list-core2.js +4 -3
- package/dist/module/representative-details2.js +4 -4
- package/dist/module/schema-validations.js +4 -5
- package/dist/module/season-interruption-insurance-core.js +6 -3
- package/dist/module/sezzle-payment-method.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +3 -2
- package/dist/module/terminal.service.js +7 -1
- package/dist/module/terminals-list-core2.js +3 -2
- package/dist/module/utils2.js +4 -1
- package/dist/module/utils4.js +1 -1
- package/dist/types/api/Api.d.ts +41 -35
- package/dist/types/api/Payment.d.ts +2 -0
- package/dist/types/api/Payout.d.ts +2 -0
- package/dist/types/api/index.d.ts +5 -1
- package/dist/types/api/services/business.service.d.ts +1 -5
- package/dist/types/api/services/dispute.service.d.ts +1 -2
- package/dist/types/api/services/payout.service.d.ts +1 -2
- package/dist/types/api/services/provision.service.d.ts +1 -1
- package/dist/types/api/services/reports.service.d.ts +1 -2
- package/dist/types/api/services/subaccounts.service.d.ts +1 -2
- package/dist/types/components/business-details/business-details.d.ts +1 -0
- package/dist/types/components/business-details/core-info-details/core-info-details.d.ts +5 -0
- package/dist/types/components/business-forms/utils/helpers.d.ts +1 -1
- package/dist/types/components/checkout/billing-form/billing-form.d.ts +1 -0
- package/dist/types/components/checkout/new-payment-method.d.ts +4 -1
- package/dist/types/components/checkout/payment-method-options.d.ts +1 -0
- package/dist/types/components/order-terminals/order-terminals.d.ts +1 -0
- package/dist/types/components/terminal-orders-list/terminal-orders-list.d.ts +1 -0
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +2 -0
- package/dist/types/components.d.ts +21 -21
- package/dist/types/utils/utils.d.ts +1 -1
- package/dist/webcomponents/p-10d41e17.entry.js +1 -0
- package/dist/webcomponents/{p-b2192f8b.entry.js → p-1678e9e3.entry.js} +1 -1
- package/dist/webcomponents/p-16d29d0b.entry.js +1 -0
- package/dist/webcomponents/{p-8224e3c2.entry.js → p-19b9c96a.entry.js} +1 -1
- package/dist/webcomponents/p-22a0b397.entry.js +1 -0
- package/dist/webcomponents/p-292da2d4.entry.js +1 -0
- package/dist/webcomponents/p-2c7ae3ac.entry.js +1 -0
- package/dist/webcomponents/p-2c8d7aa9.entry.js +1 -0
- package/dist/webcomponents/p-3368d3d5.entry.js +1 -0
- package/dist/webcomponents/p-33b23638.entry.js +1 -0
- package/dist/webcomponents/{p-12674a89.entry.js → p-3a979295.entry.js} +1 -1
- package/dist/webcomponents/p-40f7e3af.entry.js +1 -0
- package/dist/webcomponents/p-4680f931.entry.js +1 -0
- package/dist/webcomponents/p-4a070b7a.entry.js +1 -0
- package/dist/webcomponents/p-4b51a896.entry.js +1 -0
- package/dist/webcomponents/p-4f8b9b99.entry.js +1 -0
- package/dist/webcomponents/p-57c89023.entry.js +1 -0
- package/dist/webcomponents/p-57fc593a.entry.js +1 -0
- package/dist/webcomponents/{p-9c1a79c5.entry.js → p-59abf1de.entry.js} +1 -1
- package/dist/webcomponents/p-5d81f36e.entry.js +1 -0
- package/dist/webcomponents/p-5df5aa41.entry.js +1 -0
- package/dist/webcomponents/p-70c498d4.entry.js +1 -0
- package/dist/webcomponents/p-722c5e42.entry.js +1 -0
- package/dist/webcomponents/{p-d2dc6f22.entry.js → p-758ce5e5.entry.js} +4 -4
- package/dist/webcomponents/p-77896e7b.entry.js +1 -0
- package/dist/webcomponents/p-77ac321c.entry.js +1 -0
- package/dist/webcomponents/p-7d3cf734.entry.js +1 -0
- package/dist/webcomponents/p-8183c2d1.entry.js +1 -0
- package/dist/webcomponents/p-8ad67f87.entry.js +1 -0
- package/dist/webcomponents/p-8c107267.entry.js +1 -0
- package/dist/webcomponents/{p-32345016.entry.js → p-935bbc62.entry.js} +1 -1
- package/dist/webcomponents/p-93df56e1.entry.js +1 -0
- package/dist/webcomponents/p-99b080d9.entry.js +1 -0
- package/dist/webcomponents/{p-7MWRbTXI.js → p-BH0Xfn-F.js} +1 -1
- package/dist/webcomponents/p-BR7flk4G.js +1 -0
- package/dist/webcomponents/p-BjMTOtI1.js +1 -0
- package/dist/webcomponents/p-Bk4gk-f7.js +1 -0
- package/dist/webcomponents/{p-BrvbVMVq.js → p-BlJnA265.js} +1 -1
- package/dist/webcomponents/{p-CpTwq2jw.js → p-BnE7qgLh.js} +1 -1
- package/dist/webcomponents/{p-d-_oUZor.js → p-C1sOJl-_.js} +1 -1
- package/dist/webcomponents/p-COcul8pX.js +1 -0
- package/dist/webcomponents/p-CaGOSFHG.js +1 -0
- package/dist/webcomponents/p-Cm_0sqXz.js +1 -0
- package/dist/webcomponents/p-Cs0cIpIm.js +1 -0
- package/dist/webcomponents/p-Cx60eQXT.js +1 -0
- package/dist/webcomponents/{p-OSmuQKbK.js → p-D2ZiLcDE.js} +1 -1
- package/dist/webcomponents/p-DClC2nMO.js +1 -0
- package/dist/webcomponents/p-DR89sFne.js +1 -0
- package/dist/webcomponents/{p-ByRPlUBS.js → p-DnB1x5JE.js} +1 -1
- package/dist/webcomponents/p-DvhDilDP.js +1 -0
- package/dist/webcomponents/{p-BjB_yKBJ.js → p-DzFysjCc.js} +1 -1
- package/dist/webcomponents/{p-DvHZ2jYI.js → p-HBDBB6lL.js} +1 -1
- package/dist/webcomponents/p-_pH3Hg4P.js +1 -0
- package/dist/webcomponents/p-a0662195.entry.js +1 -0
- package/dist/webcomponents/{p-82515f70.entry.js → p-a136ff22.entry.js} +1 -1
- package/dist/webcomponents/p-a33cfcfe.entry.js +1 -0
- package/dist/webcomponents/p-a6722f44.entry.js +1 -0
- package/dist/webcomponents/{p-9dae8152.entry.js → p-a8119fda.entry.js} +1 -1
- package/dist/webcomponents/p-a94952f6.entry.js +1 -0
- package/dist/webcomponents/p-abdae97a.entry.js +1 -0
- package/dist/webcomponents/p-af09b6ee.entry.js +1 -0
- package/dist/webcomponents/p-b0d3aab7.entry.js +1 -0
- package/dist/webcomponents/p-b1586aa2.entry.js +1 -0
- package/dist/webcomponents/p-c01544c3.entry.js +1 -0
- package/dist/webcomponents/p-c3c7be24.entry.js +1 -0
- package/dist/webcomponents/p-c5628e09.entry.js +1 -0
- package/dist/webcomponents/p-c5b6b76f.entry.js +1 -0
- package/dist/webcomponents/p-c6490254.entry.js +1 -0
- package/dist/webcomponents/p-ceefc483.entry.js +1 -0
- package/dist/webcomponents/p-clwP6zk3.js +1 -0
- package/dist/webcomponents/{p-774eee26.entry.js → p-d8b8b17c.entry.js} +1 -1
- package/dist/webcomponents/p-e2bfdba5.entry.js +1 -0
- package/dist/webcomponents/p-e73fe424.entry.js +1 -0
- package/dist/webcomponents/{p-CegkOiUz.js → p-eHhqPyVW.js} +1 -1
- package/dist/webcomponents/p-f23d4fdb.entry.js +1 -0
- package/dist/webcomponents/p-ffd197c2.entry.js +1 -0
- package/dist/webcomponents/p-gZGxqQgQ.js +1 -0
- package/dist/webcomponents/p-l3uWWMRW.js +1 -0
- package/dist/webcomponents/p-r__elyG4.js +1 -0
- package/dist/webcomponents/{p-82kiZkHt.js → p-uSM1EMk-.js} +1 -1
- package/dist/webcomponents/{p-IA90llLO.js → p-yH3TC3ZQ.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/Api-KMweahmp.js +0 -74
- package/dist/cjs/Document-rXGBUaOh.js +0 -58
- package/dist/collection/api/ApiNew.js +0 -82
- package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +0 -40
- package/dist/esm/Api-C9CDE-UM.js +0 -72
- package/dist/esm/Document-Ct-uNz2r.js +0 -55
- package/dist/module/ApiNew.js +0 -84
- package/dist/module/ComponentError.js +0 -21
- package/dist/module/Dispute.js +0 -57
- package/dist/module/generic-info-details.js +0 -6
- package/dist/module/generic-info-details2.js +0 -34
- package/dist/types/api/ApiNew.d.ts +0 -61
- package/dist/types/components/business-details/generic-info-details/generic-info-details.d.ts +0 -5
- package/dist/webcomponents/p-05138b5d.entry.js +0 -1
- package/dist/webcomponents/p-0661622e.entry.js +0 -1
- package/dist/webcomponents/p-0a4abfba.entry.js +0 -1
- package/dist/webcomponents/p-0d73af88.entry.js +0 -1
- package/dist/webcomponents/p-107fdd99.entry.js +0 -1
- package/dist/webcomponents/p-12ea3a21.entry.js +0 -1
- package/dist/webcomponents/p-13a56c04.entry.js +0 -1
- package/dist/webcomponents/p-22e9ff07.entry.js +0 -1
- package/dist/webcomponents/p-2ce8e7ac.entry.js +0 -1
- package/dist/webcomponents/p-357e1077.entry.js +0 -1
- package/dist/webcomponents/p-3a691b9a.entry.js +0 -1
- package/dist/webcomponents/p-3adEM48l.js +0 -1
- package/dist/webcomponents/p-3bb94f41.entry.js +0 -1
- package/dist/webcomponents/p-460eae73.entry.js +0 -1
- package/dist/webcomponents/p-48d84a6f.entry.js +0 -1
- package/dist/webcomponents/p-4a3ee65c.entry.js +0 -1
- package/dist/webcomponents/p-58f415f4.entry.js +0 -1
- package/dist/webcomponents/p-5ff7f253.entry.js +0 -1
- package/dist/webcomponents/p-6334c2bc.entry.js +0 -1
- package/dist/webcomponents/p-6780e07e.entry.js +0 -1
- package/dist/webcomponents/p-6a3a8a7a.entry.js +0 -1
- package/dist/webcomponents/p-76d1a604.entry.js +0 -1
- package/dist/webcomponents/p-7c62b59d.entry.js +0 -1
- package/dist/webcomponents/p-833576ca.entry.js +0 -1
- package/dist/webcomponents/p-83d4ac72.entry.js +0 -1
- package/dist/webcomponents/p-AVaenhw9.js +0 -1
- package/dist/webcomponents/p-B1ubyLhU.js +0 -1
- package/dist/webcomponents/p-BBsCnePk.js +0 -1
- package/dist/webcomponents/p-BHbsXXRt.js +0 -1
- package/dist/webcomponents/p-Bxs6fi7a.js +0 -1
- package/dist/webcomponents/p-C0piBrye.js +0 -1
- package/dist/webcomponents/p-CkrVt-dj.js +0 -1
- package/dist/webcomponents/p-Ct-uNz2r.js +0 -1
- package/dist/webcomponents/p-Cy4aIACq.js +0 -1
- package/dist/webcomponents/p-D5Sh88BE.js +0 -1
- package/dist/webcomponents/p-DLLK41AX.js +0 -1
- package/dist/webcomponents/p-Da_GeglS.js +0 -1
- package/dist/webcomponents/p-Dgxn_B6C.js +0 -1
- package/dist/webcomponents/p-DmIOVniD.js +0 -1
- package/dist/webcomponents/p-DqOTECuf.js +0 -1
- package/dist/webcomponents/p-Dz-Ft5b1.js +0 -1
- package/dist/webcomponents/p-a5af8397.entry.js +0 -1
- package/dist/webcomponents/p-a61f9b3c.entry.js +0 -1
- package/dist/webcomponents/p-a6fb7730.entry.js +0 -1
- package/dist/webcomponents/p-aTcDcUMZ.js +0 -1
- package/dist/webcomponents/p-aa954ce9.entry.js +0 -1
- package/dist/webcomponents/p-ac4ac963.entry.js +0 -1
- package/dist/webcomponents/p-ae7c6b81.entry.js +0 -1
- package/dist/webcomponents/p-ae8c3dab.entry.js +0 -1
- package/dist/webcomponents/p-afa54e39.entry.js +0 -1
- package/dist/webcomponents/p-b061c21c.entry.js +0 -1
- package/dist/webcomponents/p-b4d857b2.entry.js +0 -1
- package/dist/webcomponents/p-bb45705e.entry.js +0 -1
- package/dist/webcomponents/p-c2f3d7da.entry.js +0 -1
- package/dist/webcomponents/p-c7227fc1.entry.js +0 -1
- package/dist/webcomponents/p-c8f70818.entry.js +0 -1
- package/dist/webcomponents/p-c9288f47.entry.js +0 -1
- package/dist/webcomponents/p-d1a440e3.entry.js +0 -1
- package/dist/webcomponents/p-dd89c516.entry.js +0 -1
- package/dist/webcomponents/p-e39b5ffd.entry.js +0 -1
- package/dist/webcomponents/p-e5d35016.entry.js +0 -1
- package/dist/webcomponents/p-ebd7753d.entry.js +0 -1
- package/dist/webcomponents/p-ec47b7c8.entry.js +0 -1
|
@@ -179,7 +179,9 @@ class CoreBusinessInfo {
|
|
|
179
179
|
}
|
|
180
180
|
class Business {
|
|
181
181
|
constructor(business) {
|
|
182
|
-
this.additional_questions =
|
|
182
|
+
this.additional_questions = business.additional_questions
|
|
183
|
+
? new AdditionalQuestions(business.additional_questions)
|
|
184
|
+
: null;
|
|
183
185
|
this.associated_accounts = business.associated_accounts;
|
|
184
186
|
this.classification = business.classification;
|
|
185
187
|
this.bank_accounts = business.bank_accounts;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var utils = require('./utils-
|
|
3
|
+
var utils = require('./utils-qOon0GWm.js');
|
|
4
4
|
var Dispute = require('./Dispute-CruQTF6_.js');
|
|
5
5
|
|
|
6
6
|
var CaptureStrategy;
|
|
@@ -103,6 +103,7 @@ class Payment {
|
|
|
103
103
|
this.disputes = payment.disputes;
|
|
104
104
|
this.error_code = payment.error_code;
|
|
105
105
|
this.error_description = payment.error_description;
|
|
106
|
+
this.expedited = payment.expedited;
|
|
106
107
|
this.fee_amount = payment.fee_amount;
|
|
107
108
|
this.is_test = payment.is_test;
|
|
108
109
|
this.metadata = payment.metadata;
|
|
@@ -147,4 +148,60 @@ class Payment {
|
|
|
147
148
|
}
|
|
148
149
|
}
|
|
149
150
|
|
|
151
|
+
exports.EntityDocumentType = void 0;
|
|
152
|
+
(function (EntityDocumentType) {
|
|
153
|
+
EntityDocumentType["voidedCheck"] = "voided_check";
|
|
154
|
+
EntityDocumentType["balanceSheet"] = "balance_sheet";
|
|
155
|
+
EntityDocumentType["bankStatement"] = "bank_statement";
|
|
156
|
+
EntityDocumentType["governmentId"] = "government_id";
|
|
157
|
+
EntityDocumentType["profitAndLossStatement"] = "profit_and_loss_statement";
|
|
158
|
+
EntityDocumentType["taxReturn"] = "tax_return";
|
|
159
|
+
EntityDocumentType["other"] = "other";
|
|
160
|
+
})(exports.EntityDocumentType || (exports.EntityDocumentType = {}));
|
|
161
|
+
var EntityDocumentStatus;
|
|
162
|
+
(function (EntityDocumentStatus) {
|
|
163
|
+
EntityDocumentStatus["pending"] = "pending";
|
|
164
|
+
EntityDocumentStatus["uploaded"] = "uploaded";
|
|
165
|
+
EntityDocumentStatus["canceled"] = "canceled";
|
|
166
|
+
EntityDocumentStatus["needed"] = "needed";
|
|
167
|
+
})(EntityDocumentStatus || (EntityDocumentStatus = {}));
|
|
168
|
+
class EntityDocumentStorage {
|
|
169
|
+
constructor() {
|
|
170
|
+
this.voided_check = [];
|
|
171
|
+
this.balance_sheet = [];
|
|
172
|
+
this.bank_statement = [];
|
|
173
|
+
this.government_id = [];
|
|
174
|
+
this.profit_and_loss_statement = [];
|
|
175
|
+
this.tax_return = [];
|
|
176
|
+
this.other = [];
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
class EntityDocument {
|
|
180
|
+
constructor(fileData, business_id) {
|
|
181
|
+
this.file = fileData.file;
|
|
182
|
+
this.fileString = this.getFileString();
|
|
183
|
+
this.document_type = fileData.document_type;
|
|
184
|
+
this.presigned_url = null;
|
|
185
|
+
this.record_data = {
|
|
186
|
+
business_id: business_id,
|
|
187
|
+
document_type: this.document_type,
|
|
188
|
+
file_name: this.file.name,
|
|
189
|
+
file_type: this.file.type,
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
getFileString() {
|
|
193
|
+
let reader = new FileReader();
|
|
194
|
+
reader.onload = (e) => {
|
|
195
|
+
this.fileString = e.target.result;
|
|
196
|
+
};
|
|
197
|
+
reader.readAsDataURL(this.file);
|
|
198
|
+
return this.fileString;
|
|
199
|
+
}
|
|
200
|
+
setPresignedUrl(url) {
|
|
201
|
+
this.presigned_url = url;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
exports.EntityDocument = EntityDocument;
|
|
206
|
+
exports.EntityDocumentStorage = EntityDocumentStorage;
|
|
150
207
|
exports.Payment = Payment;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var utils = require('./utils-
|
|
3
|
+
var utils = require('./utils-qOon0GWm.js');
|
|
4
4
|
|
|
5
5
|
var PaymentBalanceTxnType;
|
|
6
6
|
(function (PaymentBalanceTxnType) {
|
|
@@ -84,6 +84,7 @@ class Payout {
|
|
|
84
84
|
this.metadata = payout.metadata;
|
|
85
85
|
this.created_at = payout.created_at;
|
|
86
86
|
this.updated_at = payout.updated_at;
|
|
87
|
+
this.settlement_priority = payout.settlement_priority || 'standard';
|
|
87
88
|
}
|
|
88
89
|
formattedPaymentAmount(amount) {
|
|
89
90
|
return utils.formatCurrency(amount, this.currency);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-BYd8IvAa.js');
|
|
4
4
|
var utils$1 = require('./utils-5lco6NzU.js');
|
|
5
|
-
var utils = require('./utils-
|
|
5
|
+
var utils = require('./utils-qOon0GWm.js');
|
|
6
6
|
require('./parts-9jMf1erK.js');
|
|
7
7
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
8
8
|
|
|
@@ -11,22 +11,21 @@ const AdditionalQuestionsDetails = class {
|
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
|
|
15
|
-
if (utils.isEmptyObject(this.additionalQuestions))
|
|
14
|
+
if (!this.additionalQuestions || utils.isEmptyObject(this.additionalQuestions))
|
|
16
15
|
return null;
|
|
17
|
-
return (index.h(
|
|
16
|
+
return (index.h("div", null, index.h(utils$1.DetailSectionTitle, { sectionTitle: "Additional Questions" }), index.h("div", { class: "d-table gap-2 w-100 mt-3" }, index.h("div", { class: "row gy-3" }, index.h("div", { class: "col-12 col-md-6" }, index.h(utils$1.DetailItem, { title: "Business Revenue", value: this.additionalQuestions.business_revenue }), index.h(utils$1.DetailItem, { title: "Business Payment Volume", value: this.additionalQuestions.business_payment_volume }))))));
|
|
18
17
|
}
|
|
19
18
|
};
|
|
20
19
|
|
|
21
|
-
const
|
|
20
|
+
const CoreInfoDetails = class {
|
|
22
21
|
constructor(hostRef) {
|
|
23
22
|
index.registerInstance(this, hostRef);
|
|
24
23
|
}
|
|
25
24
|
render() {
|
|
26
|
-
|
|
27
|
-
if (!this.business)
|
|
25
|
+
if (!this.business) {
|
|
28
26
|
return null;
|
|
29
|
-
|
|
27
|
+
}
|
|
28
|
+
return (index.h("div", null, index.h(utils$1.DetailSectionTitle, { sectionTitle: "Business Core Info Details" }), index.h("div", { class: "d-table gap-2 w-100 mt-3" }, index.h("div", { class: "row gy-3" }, index.h("div", { class: "col-12 col-md-6" }, index.h(utils$1.DetailItem, { title: "Legal Name", value: this.business.legal_name }), index.h(utils$1.DetailItem, { title: "Doing Business As (DBA)", value: this.business.doing_business_as }), index.h(utils$1.DetailItem, { title: "Business Classification", value: utils.snakeCaseToHumanReadable(this.business.classification) }), index.h(utils$1.DetailItem, { title: "Industry", value: this.business.industry })), index.h("div", { class: "col-12 col-md-6" }, index.h(utils$1.DetailItem, { title: "Tax ID", value: this.business.tax_id }), index.h(utils$1.DetailItem, { title: "Website URL", value: this.business.website_url }), index.h(utils$1.DetailItem, { title: "Email Address", value: this.business.email }), index.h(utils$1.DetailItem, { title: "Phone Number", value: this.business.phone }))))));
|
|
30
29
|
}
|
|
31
30
|
};
|
|
32
31
|
|
|
@@ -36,9 +35,9 @@ const LegalAddressDetails = class {
|
|
|
36
35
|
}
|
|
37
36
|
render() {
|
|
38
37
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
39
|
-
if (utils.isEmptyObject(this.legalAddress))
|
|
38
|
+
if (!this.legalAddress || utils.isEmptyObject(this.legalAddress))
|
|
40
39
|
return null;
|
|
41
|
-
return (index.h(
|
|
40
|
+
return (index.h("div", null, index.h(utils$1.DetailSectionTitle, { sectionTitle: "Business Legal Address Details" }), index.h("div", { class: "d-table gap-2 w-100 mt-3" }, index.h("div", { class: "row gy-3" }, index.h("div", { class: "col-12 col-md-6" }, index.h(utils$1.DetailItem, { title: "Country", value: (_a = this.legalAddress) === null || _a === void 0 ? void 0 : _a.country }), index.h(utils$1.DetailItem, { title: "Legal Address", value: (_b = this.legalAddress) === null || _b === void 0 ? void 0 : _b.line1 }), index.h(utils$1.DetailItem, { title: "Address Line 2", value: (_c = this.legalAddress) === null || _c === void 0 ? void 0 : _c.line2 })), index.h("div", { class: "col-12 col-md-6" }, index.h(utils$1.DetailItem, { title: "City", value: (_d = this.legalAddress) === null || _d === void 0 ? void 0 : _d.city }), index.h(utils$1.DetailItem, { title: "State", value: (_e = this.legalAddress) === null || _e === void 0 ? void 0 : _e.state }), index.h(utils$1.DetailItem, { title: "Postal Code", value: (_g = (_f = this.legalAddress) === null || _f === void 0 ? void 0 : _f.postal_code) === null || _g === void 0 ? void 0 : _g.toString() }))))));
|
|
42
41
|
}
|
|
43
42
|
};
|
|
44
43
|
|
|
@@ -66,14 +65,14 @@ const JustifiRepresentativeDetails = class {
|
|
|
66
65
|
}
|
|
67
66
|
render() {
|
|
68
67
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
69
|
-
if (utils.isEmptyObject(this.representative))
|
|
68
|
+
if (!this.representative || utils.isEmptyObject(this.representative))
|
|
70
69
|
return null;
|
|
71
|
-
return (index.h(
|
|
70
|
+
return (index.h("div", null, index.h(utils$1.DetailSectionTitle, { sectionTitle: "Representative Details" }), index.h("div", { class: "d-table gap-2 w-100 mt-3" }, index.h("div", { class: "row gy-3" }, index.h("div", { class: "col-12 col-md-6" }, index.h(utils$1.DetailItem, { title: "Name", value: (_a = this.representative) === null || _a === void 0 ? void 0 : _a.name }), index.h(utils$1.DetailItem, { title: "ID", value: (_b = this.representative) === null || _b === void 0 ? void 0 : _b.id }), index.h(utils$1.DetailItem, { title: "Address", value: (_d = (_c = this.representative) === null || _c === void 0 ? void 0 : _c.address) === null || _d === void 0 ? void 0 : _d.line1 }), index.h(utils$1.DetailItem, { title: "Created At", value: ((_e = this.representative) === null || _e === void 0 ? void 0 : _e.created_at) && utils.formatMediumDate((_f = this.representative) === null || _f === void 0 ? void 0 : _f.created_at) })), index.h("div", { class: "col-12 col-md-6" }, index.h(utils$1.DetailItem, { title: "Title", value: (_g = this.representative) === null || _g === void 0 ? void 0 : _g.title }), index.h(utils$1.DetailItem, { title: "Is Owner?", value: (_h = this.representative) === null || _h === void 0 ? void 0 : _h.is_owner.toString() }), index.h(utils$1.DetailItem, { title: "Date Of Birth", value: this.representative && utils.formatMediumDate(new Date(Number((_j = this.representative) === null || _j === void 0 ? void 0 : _j.dob_year), Number((_k = this.representative) === null || _k === void 0 ? void 0 : _k.dob_month) - 1, Number((_l = this.representative) === null || _l === void 0 ? void 0 : _l.dob_day))) }), index.h(utils$1.DetailItem, { title: "Email", value: (_m = this.representative) === null || _m === void 0 ? void 0 : _m.email }), index.h(utils$1.DetailItem, { title: "Phone", value: (_o = this.representative) === null || _o === void 0 ? void 0 : _o.phone }), index.h(utils$1.DetailItem, { title: "Updated At", value: this.representative && utils.formatMediumDate((_p = this.representative) === null || _p === void 0 ? void 0 : _p.updated_at) }))))));
|
|
72
71
|
}
|
|
73
72
|
};
|
|
74
73
|
|
|
75
74
|
exports.additional_questions_details = AdditionalQuestionsDetails;
|
|
76
|
-
exports.
|
|
75
|
+
exports.core_info_details = CoreInfoDetails;
|
|
77
76
|
exports.legal_address_details = LegalAddressDetails;
|
|
78
77
|
exports.owner_details = OwnerDetails;
|
|
79
78
|
exports.representative_details = JustifiRepresentativeDetails;
|
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-BYd8IvAa.js');
|
|
4
|
-
|
|
4
|
+
require('./config-state-D7p-XunE.js');
|
|
5
|
+
var utils$1 = require('./utils-qOon0GWm.js');
|
|
5
6
|
require('./ComponentError-C4MdBBMe.js');
|
|
6
|
-
require('./Checkout-
|
|
7
|
+
require('./Checkout-TZnRz3-3.js');
|
|
7
8
|
require('./Pagination-Dediz133.js');
|
|
8
|
-
require('./
|
|
9
|
-
require('./Refund-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
var Document = require('./Document-Qt0qiXeh.js');
|
|
10
|
+
require('./Refund-BDFOEJv_.js');
|
|
11
|
+
require('./Business-DCRzZf0w.js');
|
|
12
|
+
require('./Dispute-CruQTF6_.js');
|
|
13
|
+
var businessFormOptions = require('./business-form-options-CMII7nIK.js');
|
|
12
14
|
require('./event-types-DNOUef41.js');
|
|
13
15
|
var utils = require('./utils-DAyWinG2.js');
|
|
14
16
|
var parts = require('./parts-9jMf1erK.js');
|
|
15
17
|
var skeleton = require('./skeleton-aMh0RMHq.js');
|
|
16
18
|
require('./event-types-YOY5TKUN.js');
|
|
17
19
|
var formControlErrorText = require('./form-control-error-text-D9XDyFoW.js');
|
|
20
|
+
require('./index-B8ljHEN1.js');
|
|
18
21
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
19
|
-
require('./Dispute-CruQTF6_.js');
|
|
20
|
-
require('./Business-DyiDiIuO.js');
|
|
21
22
|
require('./helpers-B5OCqlIM.js');
|
|
22
23
|
require('./state-options-CIT9xdTz.js');
|
|
23
24
|
|
|
@@ -99,10 +100,10 @@ const FileInput = class {
|
|
|
99
100
|
return part;
|
|
100
101
|
}
|
|
101
102
|
render() {
|
|
102
|
-
return (index.h(index.Host, { key: '
|
|
103
|
+
return (index.h(index.Host, { key: 'c34cbf8874c33d945d81a93646372ac9dc687362' }, index.h("div", { key: 'cacf5f210a0adb6f408ac05efe4279d9eb1ae3b8', class: "form-group d-flex flex-column" }, index.h("div", { key: '936cb5268fa2c63f9931895f7a0b46ed5b4776ec', class: "d-flex align-items-start gap-2" }, index.h("label", { key: '6dc1dd3be36337cc3c4bb72a4e4d42c6e7c2a239', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: '4c4a2c965882e7e96d36b16e6448fa4efd003950', helpText: this.helpText })), index.h("input", { key: '469cf033fae879306ecbfdcdb9e6d74fdb4b4265', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
103
104
|
this.isFocused = false;
|
|
104
105
|
this.formControlBlur.emit();
|
|
105
|
-
} }), index.h(formControlErrorText.FormControlErrorText, { key: '
|
|
106
|
+
} }), index.h(formControlErrorText.FormControlErrorText, { key: '7359b6f39ac038230ce1d2d60454a4d4e69c6bb9', errorText: this.errorText, name: this.name }))));
|
|
106
107
|
}
|
|
107
108
|
get el() { return index.getElement(this); }
|
|
108
109
|
};
|
|
@@ -6,19 +6,18 @@ var configState = require('./config-state-D7p-XunE.js');
|
|
|
6
6
|
var iframeInputStylesState = require('./iframe-input-styles-state-D9vhHzZQ.js');
|
|
7
7
|
var parts = require('./parts-9jMf1erK.js');
|
|
8
8
|
var index_esm = require('./index.esm-CVuJLXJZ.js');
|
|
9
|
-
var schemaValidations = require('./schema-validations-
|
|
9
|
+
var schemaValidations = require('./schema-validations-BUor-ySb.js');
|
|
10
10
|
var header3 = require('./header-3-B-bXHCpC.js');
|
|
11
11
|
require('./event-types-YOY5TKUN.js');
|
|
12
12
|
var utils = require('./utils-DAyWinG2.js');
|
|
13
13
|
var stateOptions = require('./state-options-CIT9xdTz.js');
|
|
14
|
-
var
|
|
15
|
-
var utils$1 = require('./utils-
|
|
14
|
+
var Document = require('./Document-Qt0qiXeh.js');
|
|
15
|
+
var utils$1 = require('./utils-qOon0GWm.js');
|
|
16
16
|
require('./index-B8ljHEN1.js');
|
|
17
17
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
18
|
-
require('./business-form-options-
|
|
19
|
-
require('./Business-
|
|
18
|
+
require('./business-form-options-CMII7nIK.js');
|
|
19
|
+
require('./Business-DCRzZf0w.js');
|
|
20
20
|
require('./helpers-B5OCqlIM.js');
|
|
21
|
-
require('./Document-rXGBUaOh.js');
|
|
22
21
|
require('./Dispute-CruQTF6_.js');
|
|
23
22
|
|
|
24
23
|
const BankAccountFormSkeleton = (props) => {
|
|
@@ -210,7 +209,7 @@ const HiddenInput = class {
|
|
|
210
209
|
return parts.input;
|
|
211
210
|
}
|
|
212
211
|
render() {
|
|
213
|
-
return (index.h(index.Host, { key: '
|
|
212
|
+
return (index.h(index.Host, { key: '32b302de9983db3ced26f1780bf116e63091b9ad' }, index.h("input", { key: 'c8fbe6dc11c8b743d307557aab107852403441ae', ref: el => this.hiddenInput = el, type: "text", class: this.errorText ? "form-control is-invalid" : "form-control", onFocus: () => this.isFocused = true, onBlur: () => this.isFocused = false, part: this.part, tabindex: "-1", style: { height: '0', opacity: '0', pointerEvents: 'none', animation: 'none' } })));
|
|
214
213
|
}
|
|
215
214
|
};
|
|
216
215
|
|
|
@@ -265,13 +264,14 @@ const BillingForm = class {
|
|
|
265
264
|
this.formController.setInitialValues(fields);
|
|
266
265
|
}
|
|
267
266
|
async validate() {
|
|
268
|
-
|
|
269
|
-
|
|
267
|
+
const isValid = await this.formController.validate();
|
|
268
|
+
const errors = this.formController.errors.getValue();
|
|
269
|
+
return { isValid, errors };
|
|
270
270
|
}
|
|
271
271
|
render() {
|
|
272
272
|
const billingFormDefaultValue = this.formController.getInitialValues();
|
|
273
273
|
const showHeader = !this.isPostalOnlyMode && !this.hideAllBillingFields;
|
|
274
|
-
return (index.h(index.Host, { key: '
|
|
274
|
+
return (index.h(index.Host, { key: 'df86239c476aadde3af18742bbf643d61825c051' }, index.h("div", { key: '186f3ef6c2295223da888b7645a0af7aa8df4535', part: parts.billingForm, class: "mt-4", hidden: this.hideAllBillingFields }, showHeader && index.h(header3.Header3, { key: '72284e3fcea18cbdfe879989fb7f1b007e2a37df', text: "Billing address", class: "fs-6 fw-bold lh-lg mb-4" }), index.h("form", { key: '9479d696a0486e63edfad4bd0dbe374a21cb7b8c' }, index.h("fieldset", { key: 'b780abf09a714f2e9588670ad149c3ca999cbc87' }, this.legend && index.h("legend", { key: 'f102dc51722fe2f050c951e7b56117c9577f3b83' }, this.legend), index.h("div", { key: '00d6c7e35d768f3357cc17836c916e2bf24e3a7e', class: "row gy-3" }, index.h("div", { key: 'cb2b29aa769c97ccab246dc74e463d389497edbd', class: "col-12", hidden: this.isPostalOnlyMode }, index.h("form-control-text", { key: '3cb8ca5e3ecd0817f8e16aafbb5d3ca5ee7824ed', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), index.h("div", { key: '781338b1c79fd815d2ab2dbc15e7b56b534a2278', class: "col-12", hidden: this.isPostalOnlyMode }, index.h("form-control-text", { key: '682a37c6b417fbc0edf76b89122b5bf618603360', name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), index.h("div", { key: '50d657891e492c8568bf179d752b9aadf10f2387', class: "col-12", hidden: this.isPostalOnlyMode }, index.h("form-control-text", { key: 'ce1f04bfc3307af7a025390bcbcce6a6b3da6fab', name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), index.h("div", { key: 'ddb45c1cbdc6aa5d27c6a0c4b6f29366ed0e8eba', class: "col-12", hidden: this.isPostalOnlyMode }, index.h("form-control-text", { key: '410efdbcd5381bdf61d9c752f292f794d8e12670', name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), index.h("div", { key: 'a65811acc25443a07cdb1401231ce1e703096fd4', class: "col-12", hidden: this.isPostalOnlyMode }, index.h("form-control-select", { key: 'bed28d564c9e5a2ebfc10b6ab47e43e2b17bd6e6', name: 'address_state', label: 'State', options: stateOptions.StateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), index.h("div", { key: '8aca307d318e87b17e09122fa91e817c0a59c8d5', class: "col-12", hidden: this.hideAllBillingFields }, index.h("form-control-text", { key: '4dd06dc9ae01fc2953780e52f9e9c918a38a7bbd', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: utils.numberOnlyHandler }))))))));
|
|
275
275
|
}
|
|
276
276
|
};
|
|
277
277
|
|
|
@@ -300,9 +300,18 @@ const NewPaymentMethod = class {
|
|
|
300
300
|
if (!this.paymentMethodFormRef || !this.billingFormRef)
|
|
301
301
|
return;
|
|
302
302
|
try {
|
|
303
|
-
const isValid = await this.validate();
|
|
303
|
+
const { isValid, errors } = await this.validate();
|
|
304
304
|
if (!isValid || !insuranceValidation.isValid) {
|
|
305
|
-
|
|
305
|
+
// get propety value from first property in errors object
|
|
306
|
+
const message = `${Object.values(errors)[0] || 'Validation error'}`;
|
|
307
|
+
return {
|
|
308
|
+
validationError: true,
|
|
309
|
+
error: {
|
|
310
|
+
code: 'validation_error',
|
|
311
|
+
message,
|
|
312
|
+
decline_code: undefined
|
|
313
|
+
}
|
|
314
|
+
};
|
|
306
315
|
}
|
|
307
316
|
const tokenizeResponse = await this.tokenize();
|
|
308
317
|
if (tokenizeResponse.error) {
|
|
@@ -323,7 +332,9 @@ const NewPaymentMethod = class {
|
|
|
323
332
|
async validate() {
|
|
324
333
|
const billingFormValidation = await this.billingFormRef.validate();
|
|
325
334
|
const paymentMethodFormValidation = await this.paymentMethodFormRef.validate();
|
|
326
|
-
|
|
335
|
+
const isValid = billingFormValidation.isValid && paymentMethodFormValidation.isValid;
|
|
336
|
+
const errors = Object.assign(Object.assign({}, billingFormValidation.errors), paymentMethodFormValidation.errors);
|
|
337
|
+
return { isValid, errors };
|
|
327
338
|
}
|
|
328
339
|
async tokenize() {
|
|
329
340
|
try {
|
|
@@ -353,7 +364,7 @@ const NewPaymentMethod = class {
|
|
|
353
364
|
}
|
|
354
365
|
render() {
|
|
355
366
|
var _a, _b;
|
|
356
|
-
return (index.h(index.Host, { key: '
|
|
367
|
+
return (index.h(index.Host, { key: '137378e62a729bd2287b1bdf89cb85c702cd4e12', class: "payment-method" }, index.h("div", { key: 'dabfcf5c56169708a8968a16aeaafefb43ca3ab8', class: "radio-list-item p-3", part: parts.radioListItem, onClick: this.onPaymentMethodOptionClick, hidden: this.hiddenRadioInput }, index.h("form-control-radio", { key: 'd098e2b8f6e1230fc16fdc2cbfd616559bcf2b89', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: PaymentMethodTypeLabels[(_b = this.paymentMethodOption) === null || _b === void 0 ? void 0 : _b.id] })), this.isSelected ? this.showNewPaymentMethodForm() : null));
|
|
357
368
|
}
|
|
358
369
|
};
|
|
359
370
|
|
|
@@ -398,17 +409,17 @@ const PaymentMethodOptions = class {
|
|
|
398
409
|
.map((paymentMethod) => new PaymentMethodOption(paymentMethod))
|
|
399
410
|
.filter((paymentMethod) => {
|
|
400
411
|
// Don't saved card or bank account if they are disabled
|
|
401
|
-
return ((this.showCard || paymentMethod.type !==
|
|
402
|
-
(this.showAch || paymentMethod.type !==
|
|
412
|
+
return ((this.showCard || paymentMethod.type !== Document.PaymentMethodTypes.card) &&
|
|
413
|
+
(this.showAch || paymentMethod.type !== Document.PaymentMethodTypes.bankAccount));
|
|
403
414
|
});
|
|
404
415
|
if (this.showBnpl && ((_a = this.bnpl) === null || _a === void 0 ? void 0 : _a.provider) === 'sezzle' && !this.insuranceToggled) {
|
|
405
|
-
this.paymentMethodOptions.push(new PaymentMethodOption({ id:
|
|
416
|
+
this.paymentMethodOptions.push(new PaymentMethodOption({ id: Document.PaymentMethodTypes.sezzle }));
|
|
406
417
|
}
|
|
407
418
|
if (this.showCard) {
|
|
408
|
-
this.paymentMethodOptions.push(new PaymentMethodOption({ id:
|
|
419
|
+
this.paymentMethodOptions.push(new PaymentMethodOption({ id: Document.PaymentMethodTypes.card }));
|
|
409
420
|
}
|
|
410
421
|
if (this.showAch) {
|
|
411
|
-
this.paymentMethodOptions.push(new PaymentMethodOption({ id:
|
|
422
|
+
this.paymentMethodOptions.push(new PaymentMethodOption({ id: Document.PaymentMethodTypes.bankAccount }));
|
|
412
423
|
}
|
|
413
424
|
if (!this.selectedPaymentMethodId) {
|
|
414
425
|
this.selectedPaymentMethodId = (_b = this.paymentMethodOptions[0]) === null || _b === void 0 ? void 0 : _b.id;
|
|
@@ -423,16 +434,15 @@ const PaymentMethodOptions = class {
|
|
|
423
434
|
}
|
|
424
435
|
async validate() {
|
|
425
436
|
const newPaymentMethodElement = this.selectedPaymentMethodOptionRef;
|
|
426
|
-
|
|
427
|
-
return { isValid: isValid };
|
|
437
|
+
return newPaymentMethodElement.validate();
|
|
428
438
|
}
|
|
429
439
|
render() {
|
|
430
440
|
var _a;
|
|
431
|
-
return (index.h(index.Host, { key: '
|
|
432
|
-
const newCard = paymentMethodOption.id ===
|
|
433
|
-
const newBankAccount = paymentMethodOption.id ===
|
|
441
|
+
return (index.h(index.Host, { key: 'c61e82c72aaa25e87ded723799a1eb0961c05444' }, (_a = this.paymentMethodOptions) === null || _a === void 0 ? void 0 : _a.map((paymentMethodOption) => {
|
|
442
|
+
const newCard = paymentMethodOption.id === Document.PaymentMethodTypes.card;
|
|
443
|
+
const newBankAccount = paymentMethodOption.id === Document.PaymentMethodTypes.bankAccount;
|
|
434
444
|
const isSelected = this.selectedPaymentMethodId === paymentMethodOption.id;
|
|
435
|
-
const sezzle = paymentMethodOption.id ===
|
|
445
|
+
const sezzle = paymentMethodOption.id === Document.PaymentMethodTypes.sezzle;
|
|
436
446
|
if (newCard || newBankAccount) {
|
|
437
447
|
return (index.h("justifi-new-payment-method", { paymentMethodOption: paymentMethodOption, authToken: this.authToken, "account-id": this.accountId, "is-selected": isSelected, "show-card": this.showCard, "show-ach": this.showAch, paymentMethodGroupId: this.paymentMethodGroupId, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, ref: (el) => {
|
|
438
448
|
if (isSelected) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index_esm = require('./index.esm-CVuJLXJZ.js');
|
|
4
|
-
var schemaValidations = require('./schema-validations-
|
|
4
|
+
var schemaValidations = require('./schema-validations-BUor-ySb.js');
|
|
5
5
|
|
|
6
6
|
const businessCoreInfoSchema = (allowOptionalFields) => {
|
|
7
7
|
const schema = index_esm.create$3({
|
|
@@ -38,7 +38,6 @@ const BusinessDetailsCore = class {
|
|
|
38
38
|
index.registerInstance(this, hostRef);
|
|
39
39
|
this.errorEvent = index.createEvent(this, "error-event");
|
|
40
40
|
this.renderState = RENDER_STATES.LOADING;
|
|
41
|
-
this.errorMessage = 'An error ocurred.';
|
|
42
41
|
}
|
|
43
42
|
async componentWillLoad() {
|
|
44
43
|
if (this.getBusiness) {
|
|
@@ -70,7 +69,7 @@ const BusinessDetailsCore = class {
|
|
|
70
69
|
if (this.renderState === RENDER_STATES.ERROR) {
|
|
71
70
|
return index.h(styledHost.StyledHost, null, utils.ErrorState(this.errorMessage));
|
|
72
71
|
}
|
|
73
|
-
return (index.h(styledHost.StyledHost, null, index.h("
|
|
72
|
+
return (index.h(styledHost.StyledHost, null, index.h("justifi-details", { "error-message": this.errorMessage }, index.h("div", { slot: 'detail-sections' }, index.h("core-info-details", { business: this.business }), index.h("legal-address-details", { legalAddress: this.business.legal_address }), index.h("representative-details", { representative: this.business.representative }), index.h("owner-details", { owners: this.business.owners }), index.h("additional-questions-details", { additionalQuestions: this.business.additional_questions })))));
|
|
74
73
|
}
|
|
75
74
|
};
|
|
76
75
|
|
package/dist/cjs/{business-identity-schema-dt0zCW0R.js → business-identity-schema-BksYFWls.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index_esm = require('./index.esm-CVuJLXJZ.js');
|
|
4
|
-
var schemaValidations = require('./schema-validations-
|
|
4
|
+
var schemaValidations = require('./schema-validations-BUor-ySb.js');
|
|
5
5
|
|
|
6
6
|
const addressSchema = (allowOptionalFields) => {
|
|
7
7
|
const schema = index_esm.create$3({
|
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var Api = require('./Api-Dp4CW5K6.js');
|
|
4
|
+
require('./ComponentError-C4MdBBMe.js');
|
|
5
|
+
require('./Checkout-TZnRz3-3.js');
|
|
6
|
+
require('./Pagination-Dediz133.js');
|
|
7
|
+
require('./Document-Qt0qiXeh.js');
|
|
8
|
+
require('./Refund-BDFOEJv_.js');
|
|
9
|
+
require('./Business-DCRzZf0w.js');
|
|
10
|
+
require('./Dispute-CruQTF6_.js');
|
|
4
11
|
|
|
5
|
-
const api =
|
|
12
|
+
const api = Api.Api();
|
|
6
13
|
class BusinessService {
|
|
7
14
|
async fetchBusiness(businessId, authToken) {
|
|
8
15
|
const endpoint = `entities/business/${businessId}`;
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var _package = require('./package-
|
|
4
|
-
var
|
|
3
|
+
var _package = require('./package-BCOEGxFC.js');
|
|
4
|
+
var Api = require('./Api-Dp4CW5K6.js');
|
|
5
|
+
require('./ComponentError-C4MdBBMe.js');
|
|
6
|
+
require('./Checkout-TZnRz3-3.js');
|
|
7
|
+
require('./Pagination-Dediz133.js');
|
|
8
|
+
require('./Document-Qt0qiXeh.js');
|
|
9
|
+
require('./Refund-BDFOEJv_.js');
|
|
10
|
+
require('./Business-DCRzZf0w.js');
|
|
11
|
+
require('./Dispute-CruQTF6_.js');
|
|
5
12
|
|
|
6
|
-
const api =
|
|
13
|
+
const api = Api.Api();
|
|
7
14
|
class AnalyticsService {
|
|
8
15
|
async record(body) {
|
|
9
16
|
const endpoint = 'analytics';
|
|
@@ -76,6 +83,9 @@ class JustifiAnalytics {
|
|
|
76
83
|
}
|
|
77
84
|
cleanup() {
|
|
78
85
|
// Remove event listeners
|
|
86
|
+
if (!this.eventEmitters) {
|
|
87
|
+
return;
|
|
88
|
+
}
|
|
79
89
|
this.eventEmitters.forEach((event) => {
|
|
80
90
|
this.componentInstance.removeEventListener(event, this.handleCustomEvent);
|
|
81
91
|
});
|
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var Api = require('./Api-Dp4CW5K6.js');
|
|
4
|
+
require('./ComponentError-C4MdBBMe.js');
|
|
5
|
+
require('./Checkout-TZnRz3-3.js');
|
|
6
|
+
require('./Pagination-Dediz133.js');
|
|
7
|
+
require('./Document-Qt0qiXeh.js');
|
|
8
|
+
require('./Refund-BDFOEJv_.js');
|
|
9
|
+
require('./Business-DCRzZf0w.js');
|
|
10
|
+
require('./Dispute-CruQTF6_.js');
|
|
4
11
|
|
|
5
|
-
const api =
|
|
12
|
+
const api = Api.Api();
|
|
6
13
|
class CheckoutService {
|
|
7
14
|
async fetchCheckout(authToken, checkoutId) {
|
|
8
15
|
const endpoint = `checkouts/${checkoutId}`;
|
|
@@ -1,23 +1,26 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-BYd8IvAa.js');
|
|
4
|
-
require('./
|
|
4
|
+
require('./config-state-D7p-XunE.js');
|
|
5
|
+
require('./utils-qOon0GWm.js');
|
|
5
6
|
require('./ComponentError-C4MdBBMe.js');
|
|
6
|
-
require('./Checkout-
|
|
7
|
+
require('./Checkout-TZnRz3-3.js');
|
|
7
8
|
var Pagination = require('./Pagination-Dediz133.js');
|
|
8
|
-
require('./
|
|
9
|
-
require('./Refund-
|
|
10
|
-
require('./
|
|
9
|
+
require('./Document-Qt0qiXeh.js');
|
|
10
|
+
require('./Refund-BDFOEJv_.js');
|
|
11
|
+
require('./Business-DCRzZf0w.js');
|
|
12
|
+
require('./Dispute-CruQTF6_.js');
|
|
11
13
|
var table = require('./table-DKVauFHc.js');
|
|
12
14
|
var eventTypes = require('./event-types-YOY5TKUN.js');
|
|
13
|
-
var checkoutsTable = require('./checkouts-table-
|
|
15
|
+
var checkoutsTable = require('./checkouts-table-Cj2iSB_P.js');
|
|
14
16
|
var checkoutsListParamsState = require('./checkouts-list-params-state-BvG5Ysrg.js');
|
|
17
|
+
require('./index-B8ljHEN1.js');
|
|
15
18
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
16
|
-
require('./
|
|
19
|
+
require('./helpers-B5OCqlIM.js');
|
|
20
|
+
require('./state-options-CIT9xdTz.js');
|
|
17
21
|
require('./parts-9jMf1erK.js');
|
|
18
22
|
require('./spinner-BTyIjlMM.js');
|
|
19
23
|
require('./badge-BxoJOyTJ.js');
|
|
20
|
-
require('./index-B8ljHEN1.js');
|
|
21
24
|
|
|
22
25
|
const CheckoutsListCore = class {
|
|
23
26
|
constructor(hostRef) {
|
|
@@ -1877,7 +1877,7 @@ const CustomPopper = class {
|
|
|
1877
1877
|
this.hideEvent.emit();
|
|
1878
1878
|
}
|
|
1879
1879
|
render() {
|
|
1880
|
-
return (index.h("div", { key: '
|
|
1880
|
+
return (index.h("div", { key: '7ef56b941bf884c5a1416b373372748374bb204a' }, index.h("style", { key: 'ac2a710bea0939dd7f279968cfd33d789eba3a08' }, `
|
|
1881
1881
|
.popper-content {
|
|
1882
1882
|
display: none;
|
|
1883
1883
|
}
|
|
@@ -1885,7 +1885,7 @@ const CustomPopper = class {
|
|
|
1885
1885
|
display: block;
|
|
1886
1886
|
z-index: 1030;
|
|
1887
1887
|
}
|
|
1888
|
-
`), index.h("div", { key: '
|
|
1888
|
+
`), index.h("div", { key: 'f34a15bd8122833ed8b188cd0519588f2da78bb9', class: "popper-content", ref: (el) => this.popperContentRef = el }, index.h("slot", { key: '54d97c9be7fe9c33584156569c927e2108cab331' }))));
|
|
1889
1889
|
}
|
|
1890
1890
|
};
|
|
1891
1891
|
|
|
@@ -1974,10 +1974,10 @@ const TextInput = class {
|
|
|
1974
1974
|
return parts.input;
|
|
1975
1975
|
}
|
|
1976
1976
|
render() {
|
|
1977
|
-
return (index.h(index.Host, { key: '
|
|
1977
|
+
return (index.h(index.Host, { key: '9ceda4ac9f8bd1ab572652b1818672948ad7d66f' }, index.h("div", { key: 'da631a05be3b84ca86a91a360eb7f6a3a3468b78', class: "form-group d-flex flex-column" }, index.h("div", { key: 'd5c5b7fe29e611806c63e43aa99c9831d4e8ba35', class: "d-flex align-items-start gap-2" }, index.h("label", { key: '327ca9d8520ba4814104667da7cd8275489431ee', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: '32678aefb28b06734c80e1f37b5c4b546ad0770b', helpText: this.helpText })), index.h("input", { key: '85152fdebfa1081e84e2c8adf760e4f7f6a94ea0', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
1978
1978
|
this.isFocused = false;
|
|
1979
1979
|
this.formControlBlur.emit();
|
|
1980
|
-
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled }), index.h(formControlErrorText.FormControlErrorText, { key: '
|
|
1980
|
+
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled }), index.h(formControlErrorText.FormControlErrorText, { key: 'd0d8bd801df53a377010b89167d30ded49bc2cdc', errorText: this.errorText, name: this.name }))));
|
|
1981
1981
|
}
|
|
1982
1982
|
get el() { return index.getElement(this); }
|
|
1983
1983
|
static get watchers() { return {
|
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var Api = require('./Api-Dp4CW5K6.js');
|
|
4
|
+
require('./ComponentError-C4MdBBMe.js');
|
|
5
|
+
require('./Checkout-TZnRz3-3.js');
|
|
6
|
+
require('./Pagination-Dediz133.js');
|
|
7
|
+
require('./Document-Qt0qiXeh.js');
|
|
8
|
+
require('./Refund-BDFOEJv_.js');
|
|
9
|
+
require('./Business-DCRzZf0w.js');
|
|
10
|
+
require('./Dispute-CruQTF6_.js');
|
|
4
11
|
|
|
5
|
-
const api =
|
|
12
|
+
const api = Api.Api();
|
|
6
13
|
class DisputeService {
|
|
7
14
|
async fetchDispute(disputeId, authToken) {
|
|
8
15
|
const endpoint = `disputes/${disputeId}`;
|