@justifi/webcomponents 6.9.1-rc.1 → 6.10.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/LICENSE +21 -0
- package/dist/cjs/{Api-Bp3jtSK2.js → Api-Bukk55YZ.js} +1 -1
- package/dist/cjs/{Plaid-DB_gUhoy.js → Plaid-B_UkFjIV.js} +1 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +1 -1
- package/dist/cjs/bank-account-document-form-inputs_9.cjs.entry.js +13 -13
- package/dist/cjs/bank-account-form.cjs.entry.js +3 -3
- package/dist/cjs/{business-additional-questions-schema-DSMQTU1W.js → business-additional-questions-schema-CI80eZLJ.js} +3 -3
- package/dist/cjs/{business-identity-schema-Ds1cJOr9.js → business-identity-schema-DWWtSiUF.js} +2 -2
- package/dist/cjs/{business.service-Cz5Mw8or.js → business.service-Kplx8w_D.js} +2 -2
- package/dist/cjs/card-form.cjs.entry.js +3 -3
- package/dist/cjs/{check-pkg-version-CjIXCBRy.js → check-pkg-version-PX_ogtrH.js} +20 -3
- package/dist/cjs/{checkout.service-BhUfe1za.js → checkout.service-B2toaeKY.js} +2 -2
- package/dist/cjs/checkouts-list-core.cjs.entry.js +4 -4
- package/dist/cjs/{checkouts-table-BY52AnEw.js → checkouts-table-CXgizBib.js} +1 -1
- package/dist/cjs/{dispute.service-C4UxnT-i.js → dispute.service-C4n1SOsu.js} +2 -2
- package/dist/cjs/form-alert_5.cjs.entry.js +6 -6
- package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +2 -2
- package/dist/cjs/form-control-monetary.cjs.entry.js +1 -1
- package/dist/cjs/form-control-number-masked_3.cjs.entry.js +2 -2
- package/dist/cjs/form-control-number_3.cjs.entry.js +6 -6
- package/dist/cjs/{get-payment-details-r0afJz4u.js → get-payment-details-Atcodhcd.js} +1 -1
- package/dist/cjs/{get-subaccounts-D0vg5CC5.js → get-subaccounts-BUyf9EhG.js} +2 -2
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +1 -1
- package/dist/cjs/{index.esm-ByC0D4sJ.js → index.esm-C1ZPG85l.js} +18 -0
- package/dist/cjs/internal-tokenize-payment-method_7.cjs.entry.js +7 -7
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +28 -13
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +1 -1
- package/dist/cjs/justifi-apple-pay_8.cjs.entry.js +7 -8
- package/dist/cjs/justifi-bank-account-billing-form-simple_3.cjs.entry.js +4 -4
- package/dist/cjs/justifi-business-details.cjs.entry.js +6 -6
- package/dist/cjs/justifi-business-form.cjs.entry.js +11 -11
- package/dist/cjs/justifi-checkout.cjs.entry.js +7 -7
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +9 -9
- package/dist/cjs/justifi-details.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +6 -6
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +6 -6
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -5
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payment-details.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +20 -0
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +6 -6
- 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 +6 -6
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +8 -8
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +8 -8
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +5 -5
- 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-CjrDwZ1_.js → package-uJFBawLq.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +3 -3
- package/dist/cjs/payment-details-core.cjs.entry.js +2 -2
- package/dist/cjs/{payment-provisioning-actions-CZVlnRA0.js → payment-provisioning-actions-J6TGZZb9.js} +2 -0
- package/dist/cjs/{payment.service-Caa1AMvr.js → payment.service-CxSGTv_O.js} +2 -2
- package/dist/cjs/payments-list-core.cjs.entry.js +3 -3
- package/dist/cjs/{payments-table-C4EdksTV.js → payments-table-D5Hw3JDe.js} +1 -1
- package/dist/cjs/payout-details-core.cjs.entry.js +1 -1
- package/dist/cjs/{payout.service-sSIuVYJ3.js → payout.service-CO2wDM6M.js} +2 -2
- package/dist/cjs/payouts-list-core.cjs.entry.js +3 -3
- package/dist/cjs/{payouts-table-BJNUv0WA.js → payouts-table-DmVthJLU.js} +1 -1
- package/dist/cjs/{plaid-icon-JDI0tO2m.js → plaid-icon-DiZrP1DM.js} +2 -2
- package/dist/cjs/{schema-validations-CDAKixyQ.js → schema-validations-_yWWnnaG.js} +1 -1
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +3 -3
- package/dist/cjs/{terminal-orders-table-B-79Vr6S.js → terminal-orders-table-DPHz95-0.js} +2 -2
- package/dist/cjs/{terminal.service-jNz6aX1i.js → terminal.service-CUVwCH-a.js} +2 -2
- package/dist/cjs/terminals-list-core.cjs.entry.js +3 -3
- package/dist/cjs/{terminals-table-BF0epngC.js → terminals-table-C6rm50Mk.js} +1 -1
- package/dist/cjs/{utils-Xm42fjFZ.js → utils-BHi4j5rB.js} +14 -92
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +6 -7
- 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 +7 -8
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +6 -7
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +7 -8
- package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +10 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +6 -0
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-actions.js +2 -0
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-already-provisioned.js +6 -0
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +15 -0
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-submission-complete.js +6 -0
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
- package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +1 -1
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/checkout.js +2 -2
- package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout/saved-payment-method.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +2 -2
- package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
- package/dist/collection/components/modular-checkout/modular-checkout.js +3 -2
- package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/google-pay.js +0 -20
- package/dist/collection/components/tokenize-payment-method/internal-tokenize-payment-method.js +3 -2
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +9 -4
- package/dist/collection/ui-components/details/details.js +1 -1
- package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
- package/dist/collection/ui-components/form/form.js +18 -0
- package/dist/collection/ui-components/pagination-menu/pagination-menu.js +3 -3
- package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +1 -1
- package/dist/collection/utils/check-pkg-version.js +17 -0
- package/dist/collection/utils/utils.js +14 -1
- package/dist/docs.json +55 -56
- package/dist/esm/{Api-DTLHOAbP.js → Api-CLZVsXZg.js} +1 -1
- package/dist/esm/{Plaid-4KgZeVz6.js → Plaid-Cmyilr-q.js} +1 -1
- package/dist/esm/additional-questions-details_5.entry.js +1 -1
- package/dist/esm/bank-account-document-form-inputs_9.entry.js +13 -13
- package/dist/esm/bank-account-form.entry.js +3 -3
- package/dist/esm/{business-additional-questions-schema-BOmaLaX-.js → business-additional-questions-schema-DKudYaoE.js} +3 -3
- package/dist/esm/{business-identity-schema-M_EirLHo.js → business-identity-schema-CFhSc0cA.js} +2 -2
- package/dist/esm/{business.service-BUqlnFDc.js → business.service-CS-wQJoN.js} +2 -2
- package/dist/esm/card-form.entry.js +3 -3
- package/dist/esm/{check-pkg-version-CZI1PwGp.js → check-pkg-version-Dun0W_E2.js} +20 -3
- package/dist/esm/{checkout.service-Biz7SQlj.js → checkout.service-BcQ_onZq.js} +2 -2
- package/dist/esm/checkouts-list-core.entry.js +4 -4
- package/dist/esm/{checkouts-table-CJHeGiIb.js → checkouts-table-C5aYyqpX.js} +1 -1
- package/dist/esm/{dispute.service-vbHc3EuA.js → dispute.service-B_oe0uFV.js} +2 -2
- package/dist/esm/form-alert_5.entry.js +6 -6
- package/dist/esm/form-control-checkbox.entry.js +2 -2
- package/dist/esm/form-control-monetary-provisioning.entry.js +2 -2
- package/dist/esm/form-control-monetary.entry.js +1 -1
- package/dist/esm/form-control-number-masked_3.entry.js +2 -2
- package/dist/esm/form-control-number_3.entry.js +6 -6
- package/dist/esm/{get-payment-details-vuAQFTzs.js → get-payment-details-BdewJSTH.js} +1 -1
- package/dist/esm/{get-subaccounts-DD38mpGM.js → get-subaccounts-BFALCYFr.js} +2 -2
- package/dist/esm/gross-payment-chart-core.entry.js +1 -1
- package/dist/esm/hidden-input_2.entry.js +1 -1
- package/dist/esm/{index.esm-IWS0494Y.js → index.esm-BHdVU4hV.js} +18 -0
- package/dist/esm/internal-tokenize-payment-method_7.entry.js +7 -7
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +28 -13
- package/dist/esm/justifi-additional-statement_8.entry.js +1 -1
- package/dist/esm/justifi-apple-pay_8.entry.js +7 -8
- package/dist/esm/justifi-bank-account-billing-form-simple_3.entry.js +4 -4
- package/dist/esm/justifi-business-details.entry.js +6 -6
- package/dist/esm/justifi-business-form.entry.js +11 -11
- package/dist/esm/justifi-checkout.entry.js +7 -7
- package/dist/esm/justifi-checkouts-list-filters.entry.js +4 -4
- package/dist/esm/justifi-checkouts-list.entry.js +9 -9
- package/dist/esm/justifi-details.entry.js +1 -1
- package/dist/esm/justifi-dispute-management.entry.js +6 -6
- package/dist/esm/justifi-dispute-notification_3.entry.js +6 -6
- package/dist/esm/justifi-gross-payment-chart.entry.js +5 -5
- package/dist/esm/justifi-order-terminals.entry.js +7 -7
- package/dist/esm/justifi-payment-details.entry.js +7 -7
- package/dist/esm/justifi-payment-provisioning-core.entry.js +21 -1
- package/dist/esm/justifi-payment-provisioning.entry.js +8 -8
- package/dist/esm/justifi-payment-transactions-list.entry.js +6 -6
- 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 +6 -6
- package/dist/esm/justifi-payout-transactions-list.entry.js +6 -6
- package/dist/esm/justifi-payouts-list-filters.entry.js +2 -2
- package/dist/esm/justifi-payouts-list.entry.js +8 -8
- package/dist/esm/justifi-refund-payment.entry.js +8 -8
- package/dist/esm/justifi-saved-payment-method.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +5 -5
- 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-CbOhX1R1.js → package-CfQ5vkQ3.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +3 -3
- package/dist/esm/payment-details-core.entry.js +2 -2
- package/dist/esm/{payment-provisioning-actions-ONP8lDnV.js → payment-provisioning-actions-CBvplwPf.js} +2 -0
- package/dist/esm/{payment.service-DH_pKHdp.js → payment.service-Nvz1TYZB.js} +2 -2
- package/dist/esm/payments-list-core.entry.js +3 -3
- package/dist/esm/{payments-table-CeWcDUam.js → payments-table-BDaiD836.js} +1 -1
- package/dist/esm/payout-details-core.entry.js +1 -1
- package/dist/esm/{payout.service-rnQOd5Tm.js → payout.service-tTxsxoqF.js} +2 -2
- package/dist/esm/payouts-list-core.entry.js +3 -3
- package/dist/esm/{payouts-table-DeAdGsCH.js → payouts-table-B4nuJlpC.js} +1 -1
- package/dist/esm/{plaid-icon-HuYeMyv2.js → plaid-icon-B7a1QC7F.js} +2 -2
- package/dist/esm/{schema-validations-aBXPWENt.js → schema-validations-v6WGlZkq.js} +1 -1
- package/dist/esm/terminal-orders-list-core.entry.js +3 -3
- package/dist/esm/{terminal-orders-table-DNLwQbfo.js → terminal-orders-table-B-xs6ocO.js} +2 -2
- package/dist/esm/{terminal.service-CeWqP59G.js → terminal.service-Dv1-CZ4Y.js} +2 -2
- package/dist/esm/terminals-list-core.entry.js +3 -3
- package/dist/esm/{terminals-table-Ct1DZaR0.js → terminals-table-CnKH-UOw.js} +1 -1
- package/dist/esm/{utils-D08l50KN.js → utils-7bp92NC7.js} +14 -92
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Analytics.js +17 -0
- package/dist/module/additional-questions.js +2 -2
- package/dist/module/bank-account-billing-form-simple.js +1 -1
- package/dist/module/bank-account-document-inputs.js +1 -1
- package/dist/module/bank-account-form-inputs-canada2.js +1 -1
- package/dist/module/bank-account-form-inputs2.js +1 -1
- package/dist/module/bank-account-form.js +2 -2
- package/dist/module/bank-account-read-only-value2.js +1 -1
- package/dist/module/business-core-info-form-step.js +10 -1
- package/dist/module/business-core-info-schema.js +1 -1
- package/dist/module/business-core-info.js +2 -2
- package/dist/module/business-owners-form-step.js +6 -0
- package/dist/module/business-representative-form-inputs.js +2 -2
- package/dist/module/business-representative.js +3 -3
- package/dist/module/business-terms-conditions-form-step.js +1 -1
- package/dist/module/card-billing-form-simple.js +1 -1
- package/dist/module/card-form.js +2 -2
- package/dist/module/checkouts-list-core2.js +1 -1
- package/dist/module/details.js +1 -1
- package/dist/module/form-address-fields.js +1 -1
- package/dist/module/form-control-checkbox2.js +2 -2
- package/dist/module/form-control-monetary-provisioning2.js +2 -2
- package/dist/module/form.js +18 -0
- package/dist/module/google-pay.js +0 -2
- package/dist/module/identity-address-form.js +1 -1
- package/dist/module/justifi-checkout.js +2 -2
- package/dist/module/justifi-checkouts-list-filters.js +2 -2
- package/dist/module/justifi-checkouts-list.js +1 -1
- package/dist/module/justifi-payment-provisioning.js +1 -1
- package/dist/module/justifi-radio-list-item2.js +1 -1
- package/dist/module/justifi-saved-payment-method.js +1 -1
- package/dist/module/legal-address-form.js +2 -2
- package/dist/module/owner-form-core2.js +1 -1
- package/dist/module/owner-form-inputs2.js +3 -3
- package/dist/module/owner-form.js +1 -1
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +3 -3
- package/dist/module/payment-provisioning-actions.js +2 -0
- package/dist/module/payment-provisioning-core.js +22 -1
- package/dist/module/payment-provisioning-form-buttons.js +1 -1
- package/dist/module/payment-provisioning-form-steps.js +1 -1
- package/dist/module/save-new-payment-method.js +1 -1
- package/dist/module/utils2.js +14 -92
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-already-provisioned.d.ts +1 -0
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +1 -0
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-submission-complete.d.ts +1 -0
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +3 -3
- package/dist/types/components/modular-checkout/sub-components/google-pay.d.ts +0 -1
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +1 -1
- package/dist/types/components.d.ts +22 -22
- package/dist/types/ui-components/form/form.d.ts +2 -0
- package/dist/webcomponents/{p-cf32d418.entry.js → p-092653b6.entry.js} +1 -1
- package/dist/webcomponents/p-0f1c100d.entry.js +1 -0
- package/dist/webcomponents/{p-676bbeb5.entry.js → p-11402020.entry.js} +1 -1
- package/dist/webcomponents/p-12665340.entry.js +1 -0
- package/dist/webcomponents/{p-95dd1412.entry.js → p-154efb83.entry.js} +1 -1
- package/dist/webcomponents/p-18658148.entry.js +1 -0
- package/dist/webcomponents/p-19f1e643.entry.js +1 -0
- package/dist/webcomponents/{p-463ba2e5.entry.js → p-32a8b10f.entry.js} +1 -1
- package/dist/webcomponents/p-334beb48.entry.js +1 -0
- package/dist/webcomponents/{p-dcd7d550.entry.js → p-3798d389.entry.js} +1 -1
- package/dist/webcomponents/{p-90f807e7.entry.js → p-3bbacc8e.entry.js} +1 -1
- package/dist/webcomponents/{p-d1e435e7.entry.js → p-3c647db5.entry.js} +1 -1
- package/dist/webcomponents/{p-a5bb5dd8.entry.js → p-3caa3604.entry.js} +1 -1
- package/dist/webcomponents/p-402ba9aa.entry.js +1 -0
- package/dist/webcomponents/{p-ad742a9f.entry.js → p-4116808e.entry.js} +1 -1
- package/dist/webcomponents/p-5206cd09.entry.js +1 -0
- package/dist/webcomponents/p-52dc271f.entry.js +1 -0
- package/dist/webcomponents/{p-d1ca9e14.entry.js → p-540e2ef2.entry.js} +1 -1
- package/dist/webcomponents/{p-BlyTcLL_.js → p-55QcjheA.js} +1 -1
- package/dist/webcomponents/{p-eea11396.entry.js → p-5862236f.entry.js} +1 -1
- package/dist/webcomponents/{p-98bf0cfb.entry.js → p-5f402409.entry.js} +1 -1
- package/dist/webcomponents/{p-86c74415.entry.js → p-62f9c008.entry.js} +1 -1
- package/dist/webcomponents/p-660a04c0.entry.js +1 -0
- package/dist/webcomponents/{p-B2dyhwDq.js → p-6V4e6Fb_.js} +1 -1
- package/dist/webcomponents/{p-10f840fc.entry.js → p-6c503a00.entry.js} +1 -1
- package/dist/webcomponents/p-6d565cd6.entry.js +1 -0
- package/dist/webcomponents/{p-6e84725b.entry.js → p-7f3dcd42.entry.js} +1 -1
- package/dist/webcomponents/{p-af42af18.entry.js → p-88c6713a.entry.js} +1 -1
- package/dist/webcomponents/p-8Wa_-5QM.js +1 -0
- package/dist/webcomponents/{p-be6ec1b5.entry.js → p-8a42d4fe.entry.js} +1 -1
- package/dist/webcomponents/{p-d885366e.entry.js → p-8c55dac0.entry.js} +1 -1
- package/dist/webcomponents/p-8e631781.entry.js +1 -0
- package/dist/webcomponents/{p-28334844.entry.js → p-917daf31.entry.js} +1 -1
- package/dist/webcomponents/p-98158303.entry.js +1 -0
- package/dist/webcomponents/p-990d3709.entry.js +1 -0
- package/dist/webcomponents/{p-e14ce95f.entry.js → p-9a11f17b.entry.js} +1 -1
- package/dist/webcomponents/{p-64bb17f7.entry.js → p-9d69ae9f.entry.js} +3 -3
- package/dist/webcomponents/p-BHA4oSi3.js +1 -0
- package/dist/webcomponents/p-B_KHnbK8.js +1 -0
- package/dist/webcomponents/{p-ABUL3rRn.js → p-BiNakvsa.js} +1 -1
- package/dist/webcomponents/p-BovgIz83.js +1 -0
- package/dist/webcomponents/{p-DZCi07iw.js → p-CGJ_mnry.js} +1 -1
- package/dist/webcomponents/{p-BlXjEymw.js → p-CIh-k9yP.js} +1 -1
- package/dist/webcomponents/p-CJZ09QNH.js +1 -0
- package/dist/webcomponents/{p-DiJD6Iqx.js → p-CKiAlBsU.js} +1 -1
- package/dist/webcomponents/{p-DVkAKcyF.js → p-CemnnRdZ.js} +1 -1
- package/dist/webcomponents/p-CfQ5vkQ3.js +1 -0
- package/dist/webcomponents/p-CkX7qWsc.js +1 -0
- package/dist/webcomponents/{p--wa_2SG9.js → p-D8EGHc_m.js} +1 -1
- package/dist/webcomponents/{p-ChplphEP.js → p-DYEXDs2k.js} +1 -1
- package/dist/webcomponents/{p-6EQtYg98.js → p-DqtDbB8E.js} +1 -1
- package/dist/webcomponents/{p-C6GGU0xz.js → p-DyJ1zSHJ.js} +1 -1
- package/dist/webcomponents/{p-CCqnAJz7.js → p-HT_4DkD0.js} +1 -1
- package/dist/webcomponents/{p-n8CiFsbh.js → p-Jz9qdPhR.js} +1 -1
- package/dist/webcomponents/{p-CE85O0Lk.js → p-MeSAYDNh.js} +1 -1
- package/dist/webcomponents/p-R0FDNhyd.js +1 -0
- package/dist/webcomponents/{p-a980af27.entry.js → p-a141c90b.entry.js} +1 -1
- package/dist/webcomponents/p-a713a90d.entry.js +1 -0
- package/dist/webcomponents/{p-6a0c47c7.entry.js → p-a87a7fad.entry.js} +1 -1
- package/dist/webcomponents/{p-303c2b00.entry.js → p-ab365375.entry.js} +1 -1
- package/dist/webcomponents/{p-52988183.entry.js → p-ad962b59.entry.js} +1 -1
- package/dist/webcomponents/{p-960c2c6f.entry.js → p-b6ffa313.entry.js} +1 -1
- package/dist/webcomponents/{p-ffbd244c.entry.js → p-bcba5950.entry.js} +1 -1
- package/dist/webcomponents/{p-73df3099.entry.js → p-c0592f5f.entry.js} +1 -1
- package/dist/webcomponents/{p-d66d23e6.entry.js → p-c6aee723.entry.js} +1 -1
- package/dist/webcomponents/p-c72c5b99.entry.js +1 -0
- package/dist/webcomponents/{p-38dcc482.entry.js → p-c7930f9a.entry.js} +1 -1
- package/dist/webcomponents/p-cb9abd2c.entry.js +1 -0
- package/dist/webcomponents/p-d5516a10.entry.js +1 -0
- package/dist/webcomponents/{p-8a8a2e10.entry.js → p-d9118b1e.entry.js} +1 -1
- package/dist/webcomponents/{p-234233bd.entry.js → p-e8eeb4f1.entry.js} +1 -1
- package/dist/webcomponents/p-eEJMJXTG.js +1 -0
- package/dist/webcomponents/{p-DPe-NMaf.js → p-eEJvKFFX.js} +1 -1
- package/dist/webcomponents/{p-d75b2d8e.entry.js → p-f5362ed9.entry.js} +1 -1
- package/dist/webcomponents/p-fbfe6211.entry.js +1 -0
- package/dist/webcomponents/{p-cccaf5d8.entry.js → p-ff4d485f.entry.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +14 -14
- package/dist/webcomponents/p-031a3b85.entry.js +0 -1
- package/dist/webcomponents/p-05bf6f64.entry.js +0 -1
- package/dist/webcomponents/p-0ce755a3.entry.js +0 -1
- package/dist/webcomponents/p-108fc8fc.entry.js +0 -1
- package/dist/webcomponents/p-1ecce619.entry.js +0 -1
- package/dist/webcomponents/p-382f7f5e.entry.js +0 -1
- package/dist/webcomponents/p-40be2abf.entry.js +0 -1
- package/dist/webcomponents/p-5120da66.entry.js +0 -1
- package/dist/webcomponents/p-5aA7gjr5.js +0 -1
- package/dist/webcomponents/p-5c7a4c5d.entry.js +0 -1
- package/dist/webcomponents/p-708cb37d.entry.js +0 -1
- package/dist/webcomponents/p-8fdf5660.entry.js +0 -1
- package/dist/webcomponents/p-95b42970.entry.js +0 -1
- package/dist/webcomponents/p-CNqhJq0U.js +0 -1
- package/dist/webcomponents/p-CbOhX1R1.js +0 -1
- package/dist/webcomponents/p-D3sBnuT0.js +0 -1
- package/dist/webcomponents/p-D8LR-wfI.js +0 -1
- package/dist/webcomponents/p-DK2dYSfn.js +0 -1
- package/dist/webcomponents/p-DLuCaZKz.js +0 -1
- package/dist/webcomponents/p-DelrHXqf.js +0 -1
- package/dist/webcomponents/p-afa2ebd9.entry.js +0 -1
- package/dist/webcomponents/p-b0c03283.entry.js +0 -1
- package/dist/webcomponents/p-b711510b.entry.js +0 -1
- package/dist/webcomponents/p-bb52e8d5.entry.js +0 -1
- package/dist/webcomponents/p-e9ac9556.entry.js +0 -1
- package/dist/webcomponents/p-f6ea2000.entry.js +0 -1
- package/dist/webcomponents/p-iRcGYAKD.js +0 -1
|
@@ -44,7 +44,7 @@ const CardBillingFormSimple = /*@__PURE__*/ proxyCustomElement(class CardBilling
|
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
46
|
const billingFormDefaultValue = this.formController.getInitialValues();
|
|
47
|
-
return (h(StyledHost, { key: '
|
|
47
|
+
return (h(StyledHost, { key: '5d685e6a8e7b22780431b4f2315a95c43766242e' }, h("div", { key: 'c71d5e6b49162ff2c21cd7b9ee0e9951c264034e', part: billingForm }, h("form", { key: 'a935f2ee1999afe079c13bd3b0e3b2b5225c12d2' }, h("fieldset", { key: '1808d8afc17a22d4156534dc7e54af8350d406b4' }, this.legend && (h("legend", { key: 'c73a35b4311515cf57d6ed5193056a9197cddaa9' }, this.legend)), h("div", { key: 'a36b221db49c567f6fc5e20af2a60fd30eeb4568', class: "row gy-3" }, h("div", { key: '907f29bec68ac9d43fd66f28226b87f2003efbaa', class: "col-12" }, h("form-control-text", { key: '93024133c94fc8eb2f1a34073ea7945d873420c4', name: 'address_postal_code', label: "Postal Code", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 7 }))))))));
|
|
48
48
|
}
|
|
49
49
|
}, [257, "justifi-card-billing-form-simple", {
|
|
50
50
|
"legend": [1025],
|
package/dist/module/card-form.js
CHANGED
|
@@ -51,10 +51,10 @@ const CardForm$1 = /*@__PURE__*/ proxyCustomElement(class CardForm extends HTMLE
|
|
|
51
51
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: 'fd58409622904cfdbe1df9e7aa893cec0b469472' }, h(CardFormSkeleton, { key: '7bd4dbc17afc1641eafa5cc6c12349901a05b862', isReady: this.isReady }), h("div", { key: '1eb88b3443cb12f592a247335d5a6de2597bf10d', class: "container-fluid p-0", style: {
|
|
55
55
|
opacity: this.isReady ? '1' : '0',
|
|
56
56
|
height: this.isReady ? 'auto' : '0',
|
|
57
|
-
} }, h("div", { key: '
|
|
57
|
+
} }, h("div", { key: '4b50883a1094343e1f039c8bafed2ecfb42be0e8', class: "mb-3" }, h("iframe-input", { key: '83930c6af6b6a7eb82bf66565fa2e9d16b3bfa59', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber?tabId=${this.tabId}` })), h("div", { key: '33c8a34d012abc533d5b69baa3fddfcb3714be61', class: "d-flex align-items-start" }, h("div", { key: 'b37fedaab03b543789fb2909d0daa91d28d9b772', class: "flex-fill me-3" }, h("iframe-input", { key: 'd5fa7b25f4726e6896ee8fcf0a2ab882b1df5260', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Exp. Month", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth?tabId=${this.tabId}` })), h("div", { key: '38798bb90f5457d3e5c3659c716fe38a79a2f2a0', class: "flex-fill me-3" }, h("iframe-input", { key: '44d57ddbe4221e1d0000a9db7a19d8878211cb50', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "Exp. Year", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear?tabId=${this.tabId}` })), h("div", { key: '233f99090baecc6097f2226d93a14d428571b03f', class: "flex-fill" }, h("iframe-input", { key: '0d353a3bc4c1ece3a5ff3aecc9aabf349d59bc90', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV?tabId=${this.tabId}` }))))));
|
|
58
58
|
}
|
|
59
59
|
}, [256, "card-form", {
|
|
60
60
|
"isReady": [32],
|
|
@@ -179,7 +179,7 @@ const CheckoutsListCore = /*@__PURE__*/ proxyCustomElement(class CheckoutsListCo
|
|
|
179
179
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
180
180
|
}
|
|
181
181
|
render() {
|
|
182
|
-
return (h(TableWrapper, { key: '
|
|
182
|
+
return (h(TableWrapper, { key: '54239d9ac3afe4d4594d523f9b84b5bf852190b7' }, h(TableComponent, { key: '0c466e435625f08326fc521690c055648a0d3a6e' }, h(TableHead, { key: '6ac0b1a9bf3d42eb5bac5910f341c84a75d15eaa' }, h(TableHeadRow, { key: '171cc43a933be88dcfe2385414d6368755a66a00' }, this.checkoutsTable.columnData.map((column) => column))), h(TableBody, { key: '238b814cfb2e27fa0ae0aee319da04fb7a9da477' }, h(TableLoadingState, { key: '3e73b173a14edea582ee06caa248dd31bf7e8971', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'cd2ec244aa3663f4255f245727790c30c28438f7', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: 'e2f458e70836a01cca79aa6e43c7d8a89bfa593d', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '97d1c34429fba943a752e9ece7348dd19d742c68' }, h(TableFootRow, { key: '252e8f76070a8a6a531c710cf36117a04625271a' }, h(TableFootCell, { key: 'a3fcfa5e6a90cac15348a387f65fa5b7ed2517f8', colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: 'e4fa2774647748fd12c3742b3dd078aee8fdf483', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
183
183
|
}
|
|
184
184
|
static get watchers() { return {
|
|
185
185
|
"pagingParams": ["updateOnPropChange"],
|
package/dist/module/details.js
CHANGED
|
@@ -9,7 +9,7 @@ const Details = /*@__PURE__*/ proxyCustomElement(class Details extends HTMLEleme
|
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h("div", { key: '
|
|
12
|
+
return (h("div", { key: '77d9c172a85e392d3c21d7d789dd2c264858f571' }, this.errorMessage ?
|
|
13
13
|
ErrorState(this.errorMessage)
|
|
14
14
|
:
|
|
15
15
|
h("main", { class: "p-2" }, h("slot", { name: "head-info" }), h("slot", { name: 'detail-sections' }))));
|
|
@@ -19,7 +19,7 @@ const FormAddressFields = /*@__PURE__*/ proxyCustomElement(class FormAddressFiel
|
|
|
19
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
20
20
|
const labels = countryLabels[this.country];
|
|
21
21
|
const options = countryOptions[this.country];
|
|
22
|
-
return (h(Host, { key: '
|
|
22
|
+
return (h(Host, { key: '8dabbee93e0f319db333ada6c20af49ed6131b8d' }, h("div", { key: '4b308ca9fa92321e5f60f3e4d9ab1c4e60cbd703', class: "row gy-3" }, h("div", { key: '9c25eec2effd7caed70a3f02f6a780513fae930c', class: "col-12" }, h("form-control-text", { key: '6c2ae178c2122d1f6085906690adadf98cb0774b', name: "line1", label: "Street Address", inputHandler: this.inputHandler, defaultValue: (_a = this.defaultValues) === null || _a === void 0 ? void 0 : _a.line1, errorText: (_b = this.errors) === null || _b === void 0 ? void 0 : _b.line1, helpText: "No PO Boxes." })), h("div", { key: 'eba53a69fc4c869014ef8b7bf6ff9b1d8f5be566', class: "col-12" }, h("form-control-text", { key: '11c743ce2388173c41cb16f1865fe58b2015d6bb', name: "line2", label: "Address Line 2 (optional)", inputHandler: this.inputHandler, defaultValue: (_c = this.defaultValues) === null || _c === void 0 ? void 0 : _c.line2, errorText: (_d = this.errors) === null || _d === void 0 ? void 0 : _d.line2 })), h("div", { key: '2025c9bb15286f5c3e4693b596372a7dff730ce8', class: "col-12" }, h("form-control-text", { key: '5e0e40fd028d12b88cb15a38906738320e30aeca', name: "city", label: "City", inputHandler: this.inputHandler, defaultValue: (_e = this.defaultValues) === null || _e === void 0 ? void 0 : _e.city, errorText: (_f = this.errors) === null || _f === void 0 ? void 0 : _f.city })), h("div", { key: '5ec53f357907749c9abdcf568c027b71faad19fa', class: "col-12" }, h("form-control-select", { key: 'b9eef22eb507ffbd58c26bffa41b5b225925297c', name: "state", label: labels.stateLabel, options: options.stateOptions, inputHandler: this.inputHandler, defaultValue: (_g = this.defaultValues) === null || _g === void 0 ? void 0 : _g.state, errorText: (_h = this.errors) === null || _h === void 0 ? void 0 : _h.state })), h("div", { key: '7456cd4f6b62b59bc9289ca3721440083e9aa4f3', class: "col-12" }, h("form-control-text", { key: 'c483c93d0f09d5ded3c11145216273ba75822009', name: "postal_code", label: labels.postalLabel, inputHandler: this.inputHandler, defaultValue: (_j = this.defaultValues) === null || _j === void 0 ? void 0 : _j.postal_code, errorText: (_k = this.errors) === null || _k === void 0 ? void 0 : _k.postal_code, maxLength: this.country === CountryCode.USA ? 5 : 7, keyDownHandler: this.country === CountryCode.USA ? numberOnlyHandler : undefined })))));
|
|
23
23
|
}
|
|
24
24
|
}, [256, "justifi-form-address-fields", {
|
|
25
25
|
"country": [1],
|
|
@@ -45,10 +45,10 @@ const CheckboxInput = /*@__PURE__*/ proxyCustomElement(class CheckboxInput exten
|
|
|
45
45
|
return inputCheckbox;
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
|
-
return (h(Host, { key: '
|
|
48
|
+
return (h(Host, { key: '56962751d91674cfeb2716ba90bb9e9751ea4f66' }, h("div", { key: 'e3bb3cac2bf8ae03fc72558b3c00ef32ee56f61d', class: 'form-group d-flex flex-column' }, h("div", { key: '7be82e8be1da073c8f0e5ca7d609ce1d29c82c5e', class: "form-check" }, h("input", { key: 'f6b5f0ed365937feeb6ee0d885c55a27f21eaec0', ref: el => (this.checkboxElement = el), type: "checkbox", id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
49
49
|
this.isFocused = false;
|
|
50
50
|
this.formControlBlur.emit();
|
|
51
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), h("label", { key: '
|
|
51
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), h("label", { key: 'dda8703d86506cdd5a3b3549f3c54296830ff20f', class: "form-check-label", htmlFor: this.name, part: label }, this.label)), h(FormControlHelpText, { key: 'a4260e0cc463ad937128d46a3eb251191319473d', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: 'de41ad6865a3d0414fa850ee5439cc11abf31f4f', errorText: this.errorText, name: this.name }))));
|
|
52
52
|
}
|
|
53
53
|
}, [256, "form-control-checkbox", {
|
|
54
54
|
"label": [1],
|
|
@@ -71,10 +71,10 @@ const MonetaryInputProvisioning = /*@__PURE__*/ proxyCustomElement(class Monetar
|
|
|
71
71
|
return part;
|
|
72
72
|
}
|
|
73
73
|
render() {
|
|
74
|
-
return (h(Host, { key: '
|
|
74
|
+
return (h(Host, { key: '7a72954c74f3cb31f92d565835de4aceb874a1b5' }, h("div", { key: 'e05612ec4b1b195a24f5a2d2a00ca5b284b4c2f7', class: "form-group d-flex flex-column" }, h("label", { key: 'ffabdebea58878f550cad78430783bcb8372f2c1', part: label, class: "form-label", htmlFor: this.name }, this.label), h("div", { key: '3593ef8b4adda873a7d6b1789253bc6e1748dcfc', class: "input-group" }, h("span", { key: 'b42f4a51f38451ee36fff437b3a60bd1292d6307', class: "input-group-text", part: inputAdornment }, "$"), h("input", { key: 'd49072c9c3653540fc8edca8a8dd86ad34bef902', ref: el => (this.textInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
75
75
|
this.isFocused = false;
|
|
76
76
|
this.formControlBlur.emit();
|
|
77
|
-
}, onInput: this.handleFormControlInput, part: this.inputPart, class: this.errorText ? 'form-control monetary is-invalid' : 'form-control monetary', type: "text", disabled: this.disabled })), h(FormControlHelpText, { key: '
|
|
77
|
+
}, onInput: this.handleFormControlInput, part: this.inputPart, class: this.errorText ? 'form-control monetary is-invalid' : 'form-control monetary', type: "text", disabled: this.disabled })), h(FormControlHelpText, { key: 'd714b88d923f5f38f1b66620c5513ce7c82a7ef0', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: '47b9d96f588785bb2597b16a685c18889e1945c1', errorText: this.errorText, name: this.name }))));
|
|
78
78
|
}
|
|
79
79
|
static get watchers() { return {
|
|
80
80
|
"defaultValue": ["handleDefaultValueChange"]
|
package/dist/module/form.js
CHANGED
|
@@ -11921,6 +11921,24 @@ class FormController {
|
|
|
11921
11921
|
getInitialValues() {
|
|
11922
11922
|
return this._initialValues;
|
|
11923
11923
|
}
|
|
11924
|
+
setFieldError(path, message) {
|
|
11925
|
+
this.setError(this._errors, path, message);
|
|
11926
|
+
this.errors.next(this._errors);
|
|
11927
|
+
}
|
|
11928
|
+
clearFieldError(path) {
|
|
11929
|
+
const properties = path.split('.');
|
|
11930
|
+
let obj = this._errors;
|
|
11931
|
+
for (let i = 0; i < properties.length - 1; i++) {
|
|
11932
|
+
if (!obj[properties[i]])
|
|
11933
|
+
return;
|
|
11934
|
+
obj = obj[properties[i]];
|
|
11935
|
+
}
|
|
11936
|
+
const lastProp = properties[properties.length - 1];
|
|
11937
|
+
if (obj[lastProp]) {
|
|
11938
|
+
delete obj[lastProp];
|
|
11939
|
+
this.errors.next(this._errors);
|
|
11940
|
+
}
|
|
11941
|
+
}
|
|
11924
11942
|
}
|
|
11925
11943
|
|
|
11926
11944
|
export { FormController as F, create$6 as a, create$7 as b, create$3 as c, create$8 as d };
|
|
@@ -100,7 +100,6 @@ const GooglePay = /*@__PURE__*/ proxyCustomElement(class GooglePay extends HTMLE
|
|
|
100
100
|
const config = {
|
|
101
101
|
environment: this.environment,
|
|
102
102
|
gatewayMerchantId: checkoutStore.accountId,
|
|
103
|
-
merchantId: this.merchantId,
|
|
104
103
|
merchantName: this.merchantName,
|
|
105
104
|
authToken: checkoutStore.authToken,
|
|
106
105
|
accountId: checkoutStore.accountId,
|
|
@@ -138,7 +137,6 @@ const GooglePay = /*@__PURE__*/ proxyCustomElement(class GooglePay extends HTMLE
|
|
|
138
137
|
}
|
|
139
138
|
}, [257, "justifi-google-pay", {
|
|
140
139
|
"environment": [1],
|
|
141
|
-
"merchantId": [1, "merchant-id"],
|
|
142
140
|
"merchantName": [1, "merchant-name"],
|
|
143
141
|
"iframeOrigin": [32],
|
|
144
142
|
"iframeReady": [32],
|
|
@@ -21,7 +21,7 @@ const IdentityAddressForm = /*@__PURE__*/ proxyCustomElement(class IdentityAddre
|
|
|
21
21
|
this.handleFormUpdate(newValues);
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
|
-
return (h(Host, { key: '
|
|
24
|
+
return (h(Host, { key: '1b644425472c68880a9be150d52029a64d75ea26' }, h("justifi-form-address-fields", { key: 'd5e95bc81c654d00a0fcac4760705bd21b3b8c8d', country: this.country, errors: this.errors, defaultValues: this.defaultValues, inputHandler: this.inputHandler })));
|
|
25
25
|
}
|
|
26
26
|
static get watchers() { return {
|
|
27
27
|
"address": ["handleAddressChange"]
|
|
@@ -112,9 +112,9 @@ const Checkout = /*@__PURE__*/ proxyCustomElement(class Checkout extends HTMLEle
|
|
|
112
112
|
}
|
|
113
113
|
render() {
|
|
114
114
|
var _a, _b;
|
|
115
|
-
return (h(StyledHost, { key: '
|
|
115
|
+
return (h(StyledHost, { key: '6bbc4c4997d14ac9040b8f88075a7e9b53208d4c' }, h("justifi-modular-checkout", { key: '9b11e7df277e5e9f70cd8928f865a2e62cfc8293', ref: (el) => {
|
|
116
116
|
this.modularCheckoutRef = el;
|
|
117
|
-
}, authToken: this.authToken, checkoutId: this.checkoutId, preCompleteHook: this.preCompleteHook }, h("div", { key: '
|
|
117
|
+
}, authToken: this.authToken, checkoutId: this.checkoutId, preCompleteHook: this.preCompleteHook }, h("div", { key: 'c64981c31fd2d022f886b0613bd47bd0b0fe5f2a', class: "row gy-3 jfi-checkout-core" }, h("div", { key: '8f01af25b281a19f7fc83451a44f63836efadc20', class: "col-12", part: checkoutSummary }, h("justifi-header", { key: 'd729ed0b26c94e74d8ce824fcf97bd3002e3a9d0', text: "Summary", level: "h2", class: "fs-5 fw-bold pb-3" }), h("section", { key: '9cc9863b1dd2531bda52e609bba5c7c8f9883cb1' }, h("justifi-checkout-summary", { key: '00f36de593e245982bfe03c8867881fedfb7d43f' }))), h("div", { key: '3fe5390d7b8b2fbcdbfff4b71d4b7c43ddae9ff6', class: "col-12 mt-4" }, h("slot", { key: '84fa5a7e7772124d7fa61a9317499618850eb0bb', name: "insurance" })), h("div", { key: 'c8d1553c6041c0e000eab9dc953a23aa089a3f90', class: "col-12 mt-4" }, h("justifi-header", { key: 'a08fc163ba437f767ab88d78ac55ae003b09a567', text: "Payment", level: "h2", class: "fs-5 fw-bold pb-3" }), this.showPaymentTypeHeader && (h("justifi-header", { key: 'bff5fc2986d37bbe49a5253d43db55663ee7be74', text: "Select payment type", level: "h3", class: "fs-6 fw-bold lh-lg" })), h("div", { key: 'f5ca969400444639b09e423b154e47abf89c731f', class: "d-flex flex-column" }, h("section", { key: 'b70209321ebefd161ae3113293c62fe953913f2e' }, h("div", { key: '4df7539a9b8d6b52d47ad32974a59ab2d366b4b2' }, this.availablePaymentMethods.includes(PAYMENT_METHODS.APPLE_PAY) && (h("div", { key: '023deb9a1d025e36cc2b07c3ea8144e0068ea470', class: "mb-3" }, h("justifi-apple-pay", { key: '4e52440f329bae25194e71fa30190218f5c1cecb' }))), this.availablePaymentMethods.includes(PAYMENT_METHODS.GOOGLE_PAY) && (h("div", { key: '83e12debb25e0ef095ca40d87054411396238754', class: "mb-3" }, h("justifi-google-pay", { key: 'ed6312e39ff4a98c819cf1853f416c6fbf845323', ref: (el) => (this.googlePayRef = el) }))), h("justifi-saved-payment-methods", { key: 'e059fda26ec54c4f908754663fa23f26c3df8f0c' }), this.availablePaymentMethods.includes(PAYMENT_METHODS.SEZZLE) && (h("justifi-radio-list-item", { key: '3d836539d5850abfd956b39bede6efad5954bdad', name: "paymentMethodType", value: PAYMENT_METHODS.SEZZLE, checked: ((_a = checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.selectedPaymentMethod) === null || _a === void 0 ? void 0 : _a.type) === PAYMENT_METHODS.SEZZLE, label: h("justifi-sezzle-payment-method", { ref: (el) => (this.sezzlePaymentMethodRef = el) }), "onRadio-click": () => { var _a; (_a = this.sezzlePaymentMethodRef) === null || _a === void 0 ? void 0 : _a.handleSelectionClick(); } })), this.availablePaymentMethods.includes(PAYMENT_METHODS.PLAID) && !this.disableBnpl && (h("justifi-radio-list-item", { key: 'ac0ac64e9f7586764e3f5671c74794c80ffcff54', name: "paymentMethodType", value: PAYMENT_METHODS.PLAID, checked: ((_b = checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.selectedPaymentMethod) === null || _b === void 0 ? void 0 : _b.type) === PAYMENT_METHODS.PLAID, label: h("justifi-plaid-payment-method", { ref: (el) => (this.plaidPaymentMethodRef = el) }), "onRadio-click": () => { var _a; (_a = this.plaidPaymentMethodRef) === null || _a === void 0 ? void 0 : _a.handleSelectionClick(); } })), h("internal-tokenize-payment-method", { key: '894e7a5bfef2eefa5d045928bb6fab3b1f39bd5e', ref: (el) => (this.tokenizePaymentMethodRef = el), authToken: this.authToken, accountId: checkoutStore.accountId, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, hideSubmitButton: true, paymentMethodGroupId: checkoutStore.paymentMethodGroupId }))))), h("div", { key: '2121952545d38693f11426ef8146b39956d4f427', class: "mt-4" }, h("justifi-button", { key: '5e7cf3c699048943df68c0506a34617d0b14bf07', text: "Pay", type: "submit", variant: "primary", clickHandler: (e) => this.submit(e), disabled: this.isSubmitting, isLoading: this.isSubmitting, customStyle: { width: '100%', textAlign: "center" } }))))));
|
|
118
118
|
}
|
|
119
119
|
static get watchers() { return {
|
|
120
120
|
"authToken": ["propChanged"],
|
|
@@ -69,8 +69,8 @@ const CheckoutsListFilters = /*@__PURE__*/ proxyCustomElement(class CheckoutsLis
|
|
|
69
69
|
}
|
|
70
70
|
render() {
|
|
71
71
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
72
|
-
return (h(StyledHost, { key: '
|
|
73
|
-
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterCheckoutsListFilterParam })), h("div", { key: '
|
|
72
|
+
return (h(StyledHost, { key: '026d871e88f893ee2d565b13c72bdafaeedc1f9c' }, h("table-filters-menu", { key: 'a64b6212c54729cf08d0211720b815837187018b', params: filterMenuParams, clearParams: clearParams, part: checkoutsListFilterMenu }, h("div", { key: '11897ce900abc322fa0107516d350f53a857aa1c', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '9f926a008dc275e53aa1d82c09410e4f65b4221e', class: "p-2" }, h("form-control-text", { key: '57020a2320f442a0ee0a6ffa443f88dea855b651', name: "checkout_id", label: "Checkout ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.checkoutId || filterParams.checkout_id, disabled: !!this.checkoutId, part: checkoutIdCheckoutsListFilterParam })), h("div", { key: '40c6e5e2e342573fcb6e1f34309e324ca2a9ee2c', class: "p-2" }, h("form-control-select", { key: '7c70d0d6bdc322fc9682b3c64393778642fe8ad4', name: "status", label: "Status", options: this.checkoutStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.checkoutStatus || filterParams.status || '', disabled: !!this.checkoutStatus, part: statusCheckoutsListFilterParam })), h("div", { key: '51eb0d4cf8d3f9643af1f5fb8ef2e0908ebb18d3', class: "p-2" }, h("form-control-select", { key: '47352ceaa0f989533c366d68228cc2752ef12fec', name: "payment_mode", label: "Payment Mode", options: this.checkoutPaymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentMode || filterParams.payment_mode || '', disabled: !!this.paymentMode, part: paymentModeCheckoutsListFilterParam })), h("div", { key: 'cee7d5487e1b4f6dd6c25230c012d69b97326392', class: "p-2" }, h("form-control-date", { key: '0b6e3821eda78c9dca9797d965020636ab31c9b9', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
|
|
73
|
+
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterCheckoutsListFilterParam })), h("div", { key: 'd4b38febbc6763c828761bb5eab3594bd3c29f9d', class: "p-2" }, h("form-control-date", { key: '3729809c6ec729c2c2887d722e16e29a9f405b09', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
|
|
74
74
|
convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: createdBeforeCheckoutsListFilterParam }))))));
|
|
75
75
|
}
|
|
76
76
|
}, [257, "justifi-checkouts-list-filters", {
|
|
@@ -105,7 +105,7 @@ const CheckoutsList = /*@__PURE__*/ proxyCustomElement(class CheckoutsList exten
|
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
render() {
|
|
108
|
-
return (h(StyledHost, { key: '
|
|
108
|
+
return (h(StyledHost, { key: '08345e8bbe637cea344a232da2302bd0298a5ac9' }, h("checkouts-list-core", { key: '7aa34a0537810197cf6962d1a89e12e9ad9d8eea', getCheckouts: this.getCheckouts, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
109
109
|
}
|
|
110
110
|
static get watchers() { return {
|
|
111
111
|
"accountId": ["propChanged"],
|
|
@@ -107,7 +107,7 @@ const PaymentProvisioning = /*@__PURE__*/ proxyCustomElement(class PaymentProvis
|
|
|
107
107
|
});
|
|
108
108
|
}
|
|
109
109
|
render() {
|
|
110
|
-
return (h("justifi-payment-provisioning-core", { key: '
|
|
110
|
+
return (h("justifi-payment-provisioning-core", { key: '8df2a722a6c7150950cbc0a2d923bb1a107170ee', businessId: this.businessId, authToken: this.authToken, allowOptionalFields: this.allowOptionalFields, formTitle: this.formTitle, getBusiness: this.getBusiness, postProvisioning: this.postProvisioning }));
|
|
111
111
|
}
|
|
112
112
|
static get watchers() { return {
|
|
113
113
|
"authToken": ["propChanged"],
|
|
@@ -19,7 +19,7 @@ const JustifiRadioListItem = /*@__PURE__*/ proxyCustomElement(class JustifiRadio
|
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (h(StyledHost, { key: '
|
|
22
|
+
return (h(StyledHost, { key: '1ae40f787970160e38b72f917bda96f480d2a890' }, h("div", { key: '2130596c8294cc38365e6126806735da0f93ef4a', class: `radio-list-item p-3 ${this.class || ''}`, part: radioListItem, onClick: this.handleClick, hidden: this.hidden }, h("form-control-radio", { key: '7d5524f518430f2bfd1c9863f354318929353cfb', name: this.name, value: this.value, checked: this.checked, label: this.label, inputHandler: () => null }))));
|
|
23
23
|
}
|
|
24
24
|
}, [257, "justifi-radio-list-item", {
|
|
25
25
|
"name": [1],
|
|
@@ -26,7 +26,7 @@ const SavedPaymentMethod = /*@__PURE__*/ proxyCustomElement(class SavedPaymentMe
|
|
|
26
26
|
;
|
|
27
27
|
render() {
|
|
28
28
|
var _a, _b, _c;
|
|
29
|
-
return (h(Host, { key: '
|
|
29
|
+
return (h(Host, { key: 'c69143079680d44157ee7df3b344de8a841ac51d', class: "payment-method" }, h("div", { key: '16bb3b07ed7fa23efde64b92302b5f7f51958fc4', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { key: 'aa4b30d36088b1c1c71710e05c3746c03254629b', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: `${CardBrandLabels[(_b = this.paymentMethodOption) === null || _b === void 0 ? void 0 : _b.brand] || ''} *${(_c = this.paymentMethodOption) === null || _c === void 0 ? void 0 : _c.acct_last_four}` }))));
|
|
30
30
|
}
|
|
31
31
|
}, [256, "justifi-saved-payment-method", {
|
|
32
32
|
"paymentMethodOption": [16],
|
|
@@ -25,10 +25,10 @@ const LegalAddressForm = /*@__PURE__*/ proxyCustomElement(class LegalAddressForm
|
|
|
25
25
|
render() {
|
|
26
26
|
var _a;
|
|
27
27
|
const legalAddressDefaultValue = this.formController.getInitialValues().legal_address;
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: '11d54eb58574e9afdeed03b357f4c5b89752b48b' }, h("fieldset", { key: '3608fc95fb7d60fcd5485394fc1a8210f91d13a8' }, h("legend", { key: 'ffe6b8794039b1df22e0bd1775cf497edac543d7', part: heading2 }, "Business Legal Address"), h("justifi-form-address-fields", { key: '34adccfea54d0603d3e8899df048f3aab1b8b64c', country: this.country, errors: (_a = this.errors) === null || _a === void 0 ? void 0 : _a.legal_address, defaultValues: legalAddressDefaultValue, inputHandler: this.inputHandler }))));
|
|
29
29
|
}
|
|
30
30
|
}, [256, "justifi-legal-address-form", {
|
|
31
|
-
"formController": [
|
|
31
|
+
"formController": [16],
|
|
32
32
|
"country": [1],
|
|
33
33
|
"errors": [32],
|
|
34
34
|
"legal_address": [32]
|
|
@@ -167,7 +167,7 @@ const BusinessOwnerFormCore = /*@__PURE__*/ proxyCustomElement(class BusinessOwn
|
|
|
167
167
|
this.formController.errors.subscribe(errors => (this.errors = Object.assign({}, errors)));
|
|
168
168
|
}
|
|
169
169
|
render() {
|
|
170
|
-
return (h("form", { key: '
|
|
170
|
+
return (h("form", { key: '5079338a3b1720972aeb4f691bbe71f4bdbd5265', onSubmit: this.validateAndSubmit }, h("fieldset", { key: 'ef3529f5a5f20887ebf76e1bdbcfc0d600d2194c' }, h("legend", { key: '98e22b398e183b24764847f29f080c28d6f384cd', class: "fw-semibold fs-5", part: heading3 }, this.formTitle), h("br", { key: 'ff96fb21b19e16bba1a305049532925d5bafc6c8' }), h("div", { key: '9bf142327aef21bf90947b78574dcd5ded66a1eb', class: "row gy-3" }, h("owner-form-inputs", { key: '7f221b6ebf61c7c383d1d5eb74d8c3a676b12b4d', ownerDefaultValue: this.formController.getInitialValues(), errors: this.errors, formController: this.formController, country: this.country }), h("div", { key: '48235d4d36e92cfa969843c133c93e28fb09c756', class: "d-flex gap-2 justify-content-start" }, h(Button, { key: '6f281255b5d358fc4e4322d0de9954a010850dda', variant: "secondary", type: "button", onClick: this.handleRemoveOwner, hidden: !this.showRemoveButton }, "Remove"), h(Button, { key: 'f99d77f92cbab79eccbceef884cd6c17c20abeec', variant: "primary", type: "submit", onClick: this.handleAddOwner, disabled: this.isLoading }, this.submitButtonText))), h("hr", { key: 'fabafc136209bb82a72da8de183897358faca256' }))));
|
|
171
171
|
}
|
|
172
172
|
static get watchers() { return {
|
|
173
173
|
"isLoading": ["loadingWatcher"]
|
|
@@ -29,20 +29,20 @@ const BusinessOwnerFormInputs = /*@__PURE__*/ proxyCustomElement(class BusinessO
|
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
31
|
var _a, _b, _c;
|
|
32
|
-
return (h("div", { key: '
|
|
32
|
+
return (h("div", { key: 'f41ae773bd80ec556fe7e1614aa590af09e90a05', class: "row gy-3" }, h("div", { key: 'ceeeefb13ae8eda332287e18b20b8eb1706f21fd', class: "col-12 col-md-8" }, h("form-control-text", { key: '43dc7b751bd879f3e07572df0e02a46ad1e3a2f7', name: "name", label: "Full Name", defaultValue: this.ownerDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '648a5e78c5d98d69d5331cf70e322b69ad1d2533', class: "col-12 col-md-4" }, h("form-control-text", { key: '26ecf926fb49ab4caf192b6c7b9f3da8a13f13a1', name: "title", label: "Title", defaultValue: this.ownerDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), h("div", { key: '056a8fa4b4e226efaa64f7eb05dea86ef2d941b2', class: "col-12 col-md-6" }, h("form-control-text", { key: 'ea2dfc1520ad5cf58a7c3a0df591f9b8ed354da5', name: "email", label: "Email Address", defaultValue: this.ownerDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: 'afd1ec4c08af88870d5e732c5b2117c123b7f51e', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '97a51652ea2dfd3372ae9f3300c18da6e901ab88', name: "phone", label: "Phone Number", defaultValue: this.ownerDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '3da7a2c8e404873a3092f2d563d687d142b32b10', class: "col-12 col-md-3" }, h("form-control-date", { key: '3d5bf80638e42d85b34e286e6ffcfee87a9bd047', name: "dob_full", label: "Birth Date", defaultValue: this.ownerDefaultValue.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), h("div", { key: '91b4e9ad10a8b7a5527c6593309cf4c6967efdc8', class: "col-12 col-md-3" }, h("form-control-number", { key: '5b98ffbc9d24dbe13c0303ddbaa3c94c7a166f95', name: "ownership_percentage", label: "% of Ownership", defaultValue: (_a = this.ownerDefaultValue) === null || _a === void 0 ? void 0 : _a.ownership_percentage, errorText: this.errors.ownership_percentage, inputHandler: this.inputHandler })), h("div", { key: 'fdf8ebe63498e9be394e251f3b44d6ef93dce5b8', class: "col-12 col-md-6" }, (!((_b = this.ownerDefaultValue) === null || _b === void 0 ? void 0 : _b.ssn_last4) || this.isEditingIdentification) ? (h("form-control-number-masked", { name: "identification_number", label: countryLabels[this.country].idNumberLabel, defaultValue: this.isEditingIdentification ? '' : this.ownerDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: IDENTITY_MASKS[this.country], helpText: countryLabels[this.country].identityHelpText })) : (h("div", null, h("label", { class: "form-label", part: label }, countryLabels[this.country].idNumberLabel), h("div", { class: "input-group mb-3" }, h("input", { type: "text", class: "form-control", part: inputDisabled, value: `****${(_c = this.ownerDefaultValue) === null || _c === void 0 ? void 0 : _c.ssn_last4}`, disabled: true }), h("button", { class: "btn btn-secondary", type: "button", part: buttonSecondary, onClick: () => {
|
|
33
33
|
this.isEditingIdentification = true;
|
|
34
34
|
// Clear last4 and current value to force validation
|
|
35
35
|
updateFormValues(this.formController, {
|
|
36
36
|
ssn_last4: null,
|
|
37
37
|
identification_number: ''
|
|
38
38
|
});
|
|
39
|
-
} }, "Change"))))), h("div", { key: '
|
|
39
|
+
} }, "Change"))))), h("div", { key: 'a6f1e2810777e1a7d01ce48ce45b88cec6937c3f', class: "col-12" }, h("justifi-identity-address-form", { key: '0e17fdedad9e82953681c254e5c30217bdf3b022', errors: this.errors.address, defaultValues: this.ownerDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))));
|
|
40
40
|
}
|
|
41
41
|
;
|
|
42
42
|
}, [256, "owner-form-inputs", {
|
|
43
43
|
"ownerDefaultValue": [8, "owner-default-value"],
|
|
44
44
|
"errors": [8],
|
|
45
|
-
"formController": [
|
|
45
|
+
"formController": [16],
|
|
46
46
|
"country": [1],
|
|
47
47
|
"isEditingIdentification": [32]
|
|
48
48
|
}]);
|
|
@@ -53,7 +53,7 @@ const BusinessOwnerForm = /*@__PURE__*/ proxyCustomElement(class BusinessOwnerFo
|
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
|
-
return (h("owner-form-core", { key: '
|
|
56
|
+
return (h("owner-form-core", { key: '47c36dfc76ac8a108950e17770d1a0fb06fe4e42', ownerId: this.ownerId, businessId: this.businessId, getOwner: this.getOwner, patchOwner: this.patchOwner, postOwner: this.postOwner, allowOptionalFields: this.allowOptionalFields, removeOwner: this.removeOwner, newFormOpen: this.newFormOpen, ownersLength: this.ownersLength, country: this.country, ref: ref => this.coreComponent = ref }));
|
|
57
57
|
}
|
|
58
58
|
}, [256, "justifi-owner-form", {
|
|
59
59
|
"authToken": [1, "auth-token"],
|
package/dist/module/package.js
CHANGED
|
@@ -12,13 +12,13 @@ const PaginationMenu = /*@__PURE__*/ proxyCustomElement(class PaginationMenu ext
|
|
|
12
12
|
this.params = {};
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: '7b821154b627026ef8624af6e4759e2176004676' }, h("nav", { key: '7990aee285d0cc3e6f83cb59bb216439e5364df5', "aria-label": "Table pagination", class: "d-flex justify-content-end gap-3" }, h("ul", { key: '02c68163934ce1aabf4abd607cc28e549e20ebe1', class: "pagination m-0" }, h("li", { key: 'aab661ae85fc61eecd230d058f135483796769c0', class: `page-item ${this.paging.has_previous ? '' : ' disabled'}` }, h("button", { key: 'ef42a41831a9890186c333418b161877761674e1', class: "page-link", onClick: (e) => {
|
|
16
16
|
e.preventDefault();
|
|
17
17
|
this.paging.handleClickPrevious(this.paging.start_cursor);
|
|
18
|
-
}, part: this.paging.has_previous ? paginationButton : paginationButtonDisabled }, h("span", { key: '
|
|
18
|
+
}, part: this.paging.has_previous ? paginationButton : paginationButtonDisabled }, h("span", { key: 'a898a92687e4a5fec37d9dab4208430260a9f274', class: "me-1", part: paginationButtonIconPrevious }, "\u00AB"), h("span", { key: 'ecc2eeedc064d405ad178b9a98ed088e12f1b2fb', part: paginationButtonText }, "Previous"))), h("li", { key: '56569cd9f9803ead8b1180e2f982a98d7009be1f', class: `page-item ${this.paging.has_next ? '' : ' disabled'}` }, h("button", { key: 'c39d389ab89609e8ce11b3dd81eb5c4a50d3521f', class: "page-link", onClick: (e) => {
|
|
19
19
|
e.preventDefault();
|
|
20
20
|
this.paging.handleClickNext(this.paging.end_cursor);
|
|
21
|
-
}, part: this.paging.has_next ? paginationButton : paginationButtonDisabled }, h("span", { key: '
|
|
21
|
+
}, part: this.paging.has_next ? paginationButton : paginationButtonDisabled }, h("span", { key: '6a01458a048a524931b03df6a964fa4a0ac403ac', part: paginationButtonText }, "Next"), h("span", { key: 'f4cb3d084647c00dff30b99f751180564463443f', class: "ms-1", part: paginationButtonIconNext }, "\u00BB")))))));
|
|
22
22
|
}
|
|
23
23
|
}, [256, "pagination-menu", {
|
|
24
24
|
"paging": [16],
|
|
@@ -45,6 +45,7 @@ const makePatchBusiness = ({ authToken, businessId, service }) => async ({ paylo
|
|
|
45
45
|
error: responseError,
|
|
46
46
|
code,
|
|
47
47
|
severity: ComponentErrorSeverity.ERROR,
|
|
48
|
+
rawError: response.error,
|
|
48
49
|
});
|
|
49
50
|
}
|
|
50
51
|
}
|
|
@@ -54,6 +55,7 @@ const makePatchBusiness = ({ authToken, businessId, service }) => async ({ paylo
|
|
|
54
55
|
error: error.message || error,
|
|
55
56
|
code,
|
|
56
57
|
severity: ComponentErrorSeverity.ERROR,
|
|
58
|
+
rawError: error,
|
|
57
59
|
});
|
|
58
60
|
}
|
|
59
61
|
finally {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, createEvent
|
|
1
|
+
import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
|
|
2
2
|
import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './Plaid.js';
|
|
3
3
|
import { a as CountryCode, b as Business, e as checkProvisioningStatus } from './Business.js';
|
|
4
4
|
import { t as text } from './parts.js';
|
|
@@ -41,6 +41,14 @@ import { d as defineCustomElement$3 } from './owner-form-core2.js';
|
|
|
41
41
|
import { d as defineCustomElement$2 } from './owner-form-inputs2.js';
|
|
42
42
|
import { d as defineCustomElement$1 } from './plaid-verification2.js';
|
|
43
43
|
|
|
44
|
+
const PaymentProvisioningAlreadyProvisioned = () => {
|
|
45
|
+
return (h("div", { class: "row gap-3 p-5" }, h("div", { class: "col-12" }, h(Header1, { text: "Business Already Provisioned" })), h("div", { class: "col-12", part: text }, h("p", null, "We have already received the onboarding information for this business."))));
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
const PaymentProvisioningSubmissionComplete = () => {
|
|
49
|
+
return (h("div", { class: "row gap-3 p5" }, h("div", { class: "col-12" }, h(Header1, { text: "You're all set for now" })), h("div", { class: "col-12", part: text }, h("p", null, "We're reviewing your information and working on your approval. We'll be in touch to let you know once you've been approved (or if we find anything that needs fixing). Have a good one!"))));
|
|
50
|
+
};
|
|
51
|
+
|
|
44
52
|
const PaymentProvisioningCore = /*@__PURE__*/ proxyCustomElement(class PaymentProvisioningCore extends HTMLElement {
|
|
45
53
|
constructor(registerHost) {
|
|
46
54
|
super();
|
|
@@ -53,6 +61,7 @@ const PaymentProvisioningCore = /*@__PURE__*/ proxyCustomElement(class PaymentPr
|
|
|
53
61
|
this.loading = false;
|
|
54
62
|
this.businessLoading = true;
|
|
55
63
|
this.businessProvisioned = false;
|
|
64
|
+
this.formSubmitted = false;
|
|
56
65
|
this.currentStep = 0;
|
|
57
66
|
this.country = CountryCode.USA;
|
|
58
67
|
this.allowOptionalFields = false;
|
|
@@ -88,6 +97,7 @@ const PaymentProvisioningCore = /*@__PURE__*/ proxyCustomElement(class PaymentPr
|
|
|
88
97
|
this.postProvisioningData = () => {
|
|
89
98
|
this.postProvisioning({
|
|
90
99
|
onSuccess: (response) => {
|
|
100
|
+
this.formSubmitted = true;
|
|
91
101
|
this.submitEvent.emit({ response: response });
|
|
92
102
|
},
|
|
93
103
|
onError: ({ error, code, severity }) => {
|
|
@@ -154,9 +164,19 @@ const PaymentProvisioningCore = /*@__PURE__*/ proxyCustomElement(class PaymentPr
|
|
|
154
164
|
this.loading = event.detail;
|
|
155
165
|
}
|
|
156
166
|
render() {
|
|
167
|
+
// State 1: Loading
|
|
157
168
|
if (this.businessLoading) {
|
|
158
169
|
return (h(StyledHost, null, h(PaymentProvisioningLoading, null)));
|
|
159
170
|
}
|
|
171
|
+
// State 2: Already Provisioned
|
|
172
|
+
if (this.businessProvisioned) {
|
|
173
|
+
return (h(StyledHost, null, h(PaymentProvisioningAlreadyProvisioned, null)));
|
|
174
|
+
}
|
|
175
|
+
// State 3: Submission Complete
|
|
176
|
+
if (this.formSubmitted) {
|
|
177
|
+
return (h(StyledHost, null, h(PaymentProvisioningSubmissionComplete, null)));
|
|
178
|
+
}
|
|
179
|
+
// State 4: Form Steps (default)
|
|
160
180
|
return (h(StyledHost, null, h("div", { class: 'row gap-3' }, h(Header1, { text: this.formTitle }), h("justifi-payment-provisioning-form-steps", { businessId: this.businessId, authToken: this.authToken, refs: this.refs, currentStep: this.currentStep, allowOptionalFields: this.allowOptionalFields, country: this.country, handleFormLoading: this.handleFormLoading }), h("div", { class: 'd-flex justify-content-between align-items-center' }, h("div", { class: 'd-flex align-items-center', part: text }, this.stepCounter), h("justifi-payment-provisioning-form-buttons", { currentStep: this.currentStep, totalSteps: this.totalSteps, formLoading: this.loading, formDisabled: this.formDisabled, previousStepButtonOnClick: this.previousStepButtonOnClick, nextStepButtonOnClick: this.nextStepButtonOnClick })))));
|
|
161
181
|
}
|
|
162
182
|
}, [256, "justifi-payment-provisioning-core", {
|
|
@@ -169,6 +189,7 @@ const PaymentProvisioningCore = /*@__PURE__*/ proxyCustomElement(class PaymentPr
|
|
|
169
189
|
"loading": [32],
|
|
170
190
|
"businessLoading": [32],
|
|
171
191
|
"businessProvisioned": [32],
|
|
192
|
+
"formSubmitted": [32],
|
|
172
193
|
"currentStep": [32],
|
|
173
194
|
"errorMessage": [32],
|
|
174
195
|
"country": [32]
|
|
@@ -23,7 +23,7 @@ const PaymentProvisioningFormButtons = /*@__PURE__*/ proxyCustomElement(class Pa
|
|
|
23
23
|
return this.currentStep === this.totalSteps;
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
|
-
return (h("div", { key: '
|
|
26
|
+
return (h("div", { key: '53ba6c809e1968712b333f4bcf2798dbca186ddb', class: 'd-flex gap-2' }, h(Button, { key: 'b45c60083ccf6589cae0c63ce6b66c18da340dc7', variant: "secondary", type: "button", onClick: () => this.previousStepButtonOnClick(), disabled: this.formDisabled, hidden: !this.showPreviousStepButton }, "Previous"), h(Button, { key: '27372798da0276de44d1563a4688486e7cc91d64', variant: "primary", type: "button", onClick: (e) => this.nextStepButtonOnClick(e, BusinessFormClickActions.nextStep), disabled: this.formDisabled, isLoading: this.formLoading, hidden: !this.showNextStepButton }, "Next"), h(Button, { key: '8bc14ca8fe951caf276f8ed03e502486e11acbe2', variant: "primary", type: "submit", onClick: (e) => this.nextStepButtonOnClick(e, BusinessFormClickActions.submit), disabled: this.formDisabled, isLoading: this.formLoading, hidden: !this.showSubmitButton }, "Submit")));
|
|
27
27
|
}
|
|
28
28
|
}, [256, "justifi-payment-provisioning-form-buttons", {
|
|
29
29
|
"currentStep": [2, "current-step"],
|
|
@@ -52,7 +52,7 @@ const PaymentProvisioningFormSteps = /*@__PURE__*/ proxyCustomElement(class Paym
|
|
|
52
52
|
return this.componentStepMapping[this.currentStep]();
|
|
53
53
|
}
|
|
54
54
|
render() {
|
|
55
|
-
return (h("div", { key: '
|
|
55
|
+
return (h("div", { key: 'ff7c9e688009383fdbe18c9824fa578d2338900c', class: 'col-12 mb-4' }, this.currentStepComponent));
|
|
56
56
|
}
|
|
57
57
|
}, [256, "justifi-payment-provisioning-form-steps", {
|
|
58
58
|
"businessId": [1, "business-id"],
|
|
@@ -23,7 +23,7 @@ const SaveNewPaymentMethod = /*@__PURE__*/ proxyCustomElement(class SaveNewPayme
|
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
|
-
return (h(StyledHost, { key: '
|
|
26
|
+
return (h(StyledHost, { key: '981f6a84fc14a7b687e1b6567b30fb9f861b0aa2' }, h("form-control-checkbox", { key: '566f6261d19f96b87b9382b26a86b71461a29d08', label: this.label || 'Save New Payment Method', name: "saveNewPaymentMethod", checked: this.isChecked, inputHandler: this.handleCheckboxChange })));
|
|
27
27
|
}
|
|
28
28
|
}, [257, "justifi-save-new-payment-method", {
|
|
29
29
|
"label": [1],
|