@justifi/webcomponents 6.1.0-rc.3 → 6.1.1-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{Api-DqzbA2qk.js → Api-CjtvTD2_.js} +2 -2
- package/dist/cjs/{Business-DWHy_-z9.js → Business-DCRzZf0w.js} +9 -299
- package/dist/cjs/{Refund-BPSBtjQC.js → Refund-BnhHNKLz.js} +4 -3
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +14 -13
- package/dist/cjs/{badge-BJVdpSU-.js → badge-CE3ss_OU.js} +2 -2
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +112 -0
- package/dist/cjs/bank-account-form.cjs.entry.js +8 -8
- package/dist/cjs/{business-additional-questions-schema-CetDMUp7.js → business-additional-questions-schema-b8P-0T0O.js} +4 -26
- package/dist/cjs/business-details-core.cjs.entry.js +5 -5
- package/dist/cjs/{business-form-options-e9UFw4P-.js → business-form-options-CMII7nIK.js} +1 -1
- package/dist/cjs/business-identity-schema-aFUle0C9.js +51 -0
- package/dist/cjs/{business.service-Bv9o99Ll.js → business.service-Cj_NUZsr.js} +3 -3
- package/dist/cjs/{button-_YJuE8cy.js → button-gPNZ9XRn.js} +2 -2
- package/dist/cjs/card-form.cjs.entry.js +8 -8
- package/dist/cjs/{check-pkg-version-CadxBsjl.js → check-pkg-version-iW3HGQFY.js} +4 -4
- package/dist/cjs/{checkout.service-dLB93w3Z.js → checkout.service-Bc8L9ixO.js} +3 -3
- package/dist/cjs/{checkout.store-DC4yVxDj.js → checkout.store-Bswr7kNY.js} +5 -1
- package/dist/cjs/checkouts-list-core.cjs.entry.js +15 -13
- package/dist/cjs/{terminal-orders-list-params-state-ARjo40Y9.js → checkouts-list-params-state-BYpq-c6X.js} +1 -1
- package/dist/cjs/{checkouts-table-C102WCfy.js → checkouts-table-C5AHeIr0.js} +4 -4
- package/dist/cjs/{config-state-BeZM7X7J.js → config-state-C7babhLh.js} +1 -1
- package/dist/cjs/{custom-popper.cjs.entry.js → custom-popper_2.cjs.entry.js} +23 -3
- package/dist/cjs/{dispute.service-BmAAnNky.js → dispute.service-DhO_tuDc.js} +3 -3
- package/dist/cjs/form-alert_5.cjs.entry.js +16 -26
- package/dist/cjs/form-control-checkbox.cjs.entry.js +6 -6
- package/dist/cjs/form-control-date.cjs.entry.js +5 -5
- package/dist/cjs/{form-control-error-text-DJzNQrEz.js → form-control-error-text-BnMWn8U_.js} +2 -2
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +6 -6
- package/dist/cjs/{form-control-help-text-DII6UDeq.js → form-control-help-text-DEi5vSjN.js} +2 -2
- package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +7 -7
- package/dist/cjs/form-control-monetary.cjs.entry.js +7 -7
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +107 -0
- package/dist/cjs/form-control-number.cjs.entry.js +6 -6
- package/dist/cjs/form-control-radio.cjs.entry.js +4 -4
- package/dist/cjs/{form-control-select_3.cjs.entry.js → form-control-select_2.cjs.entry.js} +7 -26
- package/dist/cjs/{form-input-masks-BnNFJ3IJ.js → form-input-masks-DgXd0f4V.js} +4 -9
- package/dist/cjs/{get-business-D9ZHyPem.js → get-business-o5jPq_ME.js} +1 -1
- package/dist/cjs/{get-payment-details-BHPHzSkH.js → get-payment-details-BinT-ZEP.js} +3 -3
- package/dist/cjs/{get-subaccounts-Bw76aYu0.js → get-subaccounts-BoTVdl7v.js} +4 -4
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +26 -17
- package/dist/cjs/{header-1-Da7oKhXY.js → header-1-D3r87SC6.js} +2 -2
- package/dist/cjs/{header-3-uBM_CzcP.js → header-3-BFQJJgBb.js} +2 -2
- package/dist/cjs/helpers-B5OCqlIM.js +35 -0
- package/dist/cjs/hidden-input_2.cjs.entry.js +9 -9
- package/dist/cjs/{index-CaAefsWD.js → index-Bhtk1qkX.js} +5 -2
- package/dist/cjs/{index-D-CfIyoF.js → index-CWM5ions.js} +1 -1
- package/dist/cjs/{input-handlers-D6QMwPTB.js → input-handlers-DYl_0IwC.js} +2 -2
- package/dist/cjs/{insurance-state-KJzYGtVr.js → insurance-state-JbqYvJN3.js} +3 -3
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +72 -129
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +26 -25
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +10 -10
- package/dist/cjs/{justifi-checkout-summary_7.cjs.entry.js → justifi-apple-pay_8.cjs.entry.js} +824 -25
- package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +31 -30
- package/dist/cjs/justifi-business-details.cjs.entry.js +15 -13
- package/dist/cjs/justifi-business-form.cjs.entry.js +23 -27
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +8 -16
- package/dist/cjs/justifi-checkout.cjs.entry.js +16 -14
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +12 -10
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +18 -16
- package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
- package/dist/cjs/justifi-details.cjs.entry.js +3 -3
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +13 -11
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +19 -17
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +13 -11
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +18 -16
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +21 -30
- package/dist/cjs/justifi-payment-details.cjs.entry.js +23 -14
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +25 -40
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +13 -11
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +17 -15
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payments-list.cjs.entry.js +18 -16
- package/dist/cjs/justifi-payout-details.cjs.entry.js +16 -13
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +17 -15
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +19 -17
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +17 -15
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +3 -3
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +16 -14
- package/dist/cjs/justifi-skeleton.cjs.entry.js +5 -5
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +13 -11
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +16 -14
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +14 -11
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +18 -16
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{package-CVxkAS_m.js → package-CwcyK2nz.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +5 -5
- package/dist/cjs/{parts-9jMf1erK.js → parts-Pb06tUMp.js} +2 -0
- package/dist/cjs/payment-details-core.cjs.entry.js +34 -16
- package/dist/cjs/payment-method-option.cjs.entry.js +4 -4
- package/dist/cjs/{payment.service-DODmonNs.js → payment.service-C9thkR4g.js} +3 -3
- package/dist/cjs/payments-list-core.cjs.entry.js +16 -14
- package/dist/cjs/{payments-list-params-state-ARjo40Y9.js → payments-list-params-state-BYpq-c6X.js} +1 -1
- package/dist/cjs/{payments-status-5IzqwLep.js → payments-status-CnNXcRLO.js} +21 -3
- package/dist/cjs/{payments-table-BcZ6U6p8.js → payments-table-BGuCOPTJ.js} +4 -4
- package/dist/cjs/payout-details-core.cjs.entry.js +25 -12
- package/dist/cjs/{payout.service-Do8DxBxe.js → payout.service-CGZxpQMq.js} +3 -3
- package/dist/cjs/payouts-list-core.cjs.entry.js +16 -14
- package/dist/cjs/{checkouts-list-params-state-ARjo40Y9.js → payouts-list-params-state-BYpq-c6X.js} +1 -1
- package/dist/cjs/{payouts-status-D38A6UrI.js → payouts-status-2na6MMgV.js} +2 -2
- package/dist/cjs/{payouts-table-Cn_cCCOY.js → payouts-table-DXekpbYc.js} +4 -4
- package/dist/cjs/{schema-validations-0mjPveQ0.js → schema-validations-Bj7eYNO8.js} +6 -45
- package/dist/cjs/{skeleton-DlPP4i_w.js → skeleton-BvdAh448.js} +2 -2
- package/dist/cjs/{spinner-BNWG01hP.js → spinner-Rt52JMa2.js} +2 -2
- package/dist/cjs/state-options-CIT9xdTz.js +246 -0
- package/dist/cjs/{styled-host-DSpt9LtB.js → styled-host-BSooSIhA.js} +1 -1
- package/dist/cjs/{table-CAWBqvW5.js → table-Ccg4k90C.js} +3 -3
- package/dist/cjs/table-filters-menu.cjs.entry.js +4 -4
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +15 -13
- package/dist/cjs/{payouts-list-params-state-ARjo40Y9.js → terminal-orders-list-params-state-BYpq-c6X.js} +1 -1
- package/dist/cjs/{terminal-orders-table-BUA4LcEc.js → terminal-orders-table-7ew1vCKk.js} +7 -7
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +3 -3
- package/dist/cjs/{terminal.service-bxQnc1JY.js → terminal.service-BkKxH-k4.js} +3 -3
- package/dist/cjs/terminals-list-core.cjs.entry.js +15 -13
- package/dist/cjs/terminals-list-params-state-BYpq-c6X.js +22 -0
- package/dist/cjs/{terminals-table-C2_M7SWl.js → terminals-table-ByYs-pH7.js} +9 -4
- package/dist/cjs/{utils-ChCUZgUy.js → utils-Bab-tddY.js} +4 -0
- package/dist/cjs/{utils-C6mfHWv-.js → utils-CUcA4G_O.js} +5 -5
- package/dist/cjs/webcomponents.cjs.js +3 -3
- package/dist/collection/api/BankAccount.js +0 -4
- package/dist/collection/api/Business.js +1 -16
- package/dist/collection/api/Terminal.js +1 -0
- package/dist/collection/api/services/apple-pay.service.js +5 -42
- package/dist/collection/collection-manifest.json +2 -5
- package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +1 -1
- package/dist/collection/components/business-details/owner-details/owner-details.js +9 -8
- package/dist/collection/components/business-details/representative-details/representative-details.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +4 -36
- package/dist/collection/components/business-forms/business-form/business-form.js +2 -6
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +5 -41
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +6 -27
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +6 -26
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +3 -29
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +2 -43
- package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -26
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.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.js +1 -2
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +5 -36
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +1 -26
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +7 -47
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -26
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +1 -26
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -26
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +4 -43
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +4 -33
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -26
- package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +10 -35
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -26
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +20 -39
- 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 +6 -34
- 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-address-schema.js +19 -41
- package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +39 -74
- package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +4 -27
- package/dist/collection/components/business-forms/schemas/business-form-schema.js +4 -7
- package/dist/collection/components/business-forms/schemas/business-identity-schema.js +24 -53
- package/dist/collection/components/business-forms/schemas/schema-validations.js +4 -41
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
- package/dist/collection/components/checkout/billing-form/billing-form.js +3 -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 +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management.js +1 -1
- package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
- package/dist/collection/components/filters/table-filters-menu.js +1 -1
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
- package/dist/collection/components/modular-checkout/modular-checkout.js +7 -6
- package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +48 -35
- package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
- package/dist/collection/components/order-terminals/order-terminals.js +1 -1
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
- package/dist/collection/components/payment-details/payment-details-core.js +19 -9
- package/dist/collection/components/payment-details/payment-details.js +28 -1
- package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
- 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 +1 -1
- package/dist/collection/components/payments-list/payments-status.js +19 -1
- package/dist/collection/components/payout-details/payout-details-core.js +57 -4
- package/dist/collection/components/payout-details/payout-details.js +22 -1
- package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-filters.js +4 -3
- package/dist/collection/components/terminals-list/terminals-list.js +1 -1
- package/dist/collection/components/terminals-list/terminals-status.js +5 -0
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +1 -1
- package/dist/collection/store/checkout.store.js +4 -0
- package/dist/collection/styles/parts.js +1 -1
- package/dist/collection/ui-components/apple-pay-button.js +6 -8
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/details/utils.js +4 -4
- 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-select.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/ui-components/pagination-menu/pagination-menu.js +3 -3
- package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
- package/dist/collection/utils/form-input-masks.js +0 -8
- package/dist/collection/utils/utils.js +4 -0
- package/dist/docs.json +248 -1133
- package/dist/esm/{Api-DLf3ihCB.js → Api-DhiA2e_P.js} +2 -2
- package/dist/esm/{Business-B5rtFhtR.js → Business-BCoP0TAV.js} +3 -290
- package/dist/esm/{Refund-BeI1WGfx.js → Refund-B-iOTRxz.js} +3 -2
- package/dist/esm/additional-questions-details_5.entry.js +14 -13
- package/dist/esm/{badge-CkfrkCoy.js → badge-CtdO-tEY.js} +2 -2
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +107 -0
- package/dist/esm/bank-account-form.entry.js +8 -8
- package/dist/esm/{business-additional-questions-schema-DSvdNuI1.js → business-additional-questions-schema-9FAJSx_D.js} +5 -26
- package/dist/esm/business-details-core.entry.js +5 -5
- package/dist/esm/{business-form-options-D6s5H4RI.js → business-form-options-CgssATyg.js} +2 -2
- package/dist/esm/business-identity-schema-CDJzknbg.js +48 -0
- package/dist/esm/{business.service-BIALik8Z.js → business.service-D55OVyco.js} +3 -3
- package/dist/esm/{button-CuZAKl_x.js → button-DtTaQHMK.js} +2 -2
- package/dist/esm/card-form.entry.js +8 -8
- package/dist/esm/{check-pkg-version-Bk5bgulF.js → check-pkg-version-XGo_oqEC.js} +4 -4
- package/dist/esm/{checkout.service-DZDZBIGQ.js → checkout.service-fwbqSq8g.js} +3 -3
- package/dist/esm/{checkout.store-DwJGKabu.js → checkout.store-4nUf2OuT.js} +5 -1
- package/dist/esm/checkouts-list-core.entry.js +15 -13
- package/dist/esm/{checkouts-list-params-state-BY5996_y.js → checkouts-list-params-state-C_fug9R3.js} +1 -1
- package/dist/esm/{checkouts-table-59DpP7zM.js → checkouts-table-B6gGDtOr.js} +4 -4
- package/dist/esm/{config-state-C83RkI9h.js → config-state-DiHV-4QK.js} +1 -1
- package/dist/esm/{custom-popper.entry.js → custom-popper_2.entry.js} +23 -4
- package/dist/esm/{dispute.service-ByJy64X7.js → dispute.service-Cdq3_yRo.js} +3 -3
- package/dist/esm/form-alert_5.entry.js +15 -25
- package/dist/esm/form-control-checkbox.entry.js +6 -6
- package/dist/esm/form-control-date.entry.js +5 -5
- package/dist/esm/{form-control-error-text-CjrxZorl.js → form-control-error-text-bprS-t9d.js} +2 -2
- package/dist/esm/form-control-file-v2_2.entry.js +6 -6
- package/dist/esm/{form-control-help-text-CMUgRhUf.js → form-control-help-text-Bvnp-IAG.js} +2 -2
- package/dist/esm/form-control-help-text.entry.js +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +7 -7
- package/dist/esm/form-control-monetary.entry.js +7 -7
- package/dist/esm/form-control-number-masked_2.entry.js +104 -0
- package/dist/esm/form-control-number.entry.js +6 -6
- package/dist/esm/form-control-radio.entry.js +4 -4
- package/dist/esm/{form-control-select_3.entry.js → form-control-select_2.entry.js} +8 -26
- package/dist/esm/{form-input-masks-CVaOFfrI.js → form-input-masks-B-iV5cYd.js} +3 -9
- package/dist/esm/{get-business-Xt7B5dSo.js → get-business-Crb6P-iI.js} +1 -1
- package/dist/esm/{get-payment-details-B00HoaFm.js → get-payment-details-sGoWyAat.js} +3 -3
- package/dist/esm/{get-subaccounts-C_yzcZq_.js → get-subaccounts-BsJSlShO.js} +4 -4
- package/dist/esm/gross-payment-chart-core.entry.js +26 -17
- package/dist/esm/{header-1-BukynbFR.js → header-1-C1Hnxki8.js} +2 -2
- package/dist/esm/{header-3-D87MAyMK.js → header-3-Bq8fpjm-.js} +2 -2
- package/dist/esm/helpers-Mu7LQT-w.js +29 -0
- package/dist/esm/hidden-input_2.entry.js +9 -9
- package/dist/esm/{index-NOsb-hYl.js → index-DJ9G-4S-.js} +1 -1
- package/dist/esm/{index-_b8l4IX7.js → index-DOjVAAtq.js} +5 -2
- package/dist/esm/{input-handlers-D3y0TzH9.js → input-handlers-CX6mSvOM.js} +1 -1
- package/dist/esm/{insurance-state-BjY1QRXI.js → insurance-state-CVme82j7.js} +3 -3
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +73 -130
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +26 -25
- package/dist/esm/justifi-additional-statement_8.entry.js +10 -10
- package/dist/esm/{justifi-checkout-summary_7.entry.js → justifi-apple-pay_8.entry.js} +824 -26
- package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +30 -29
- package/dist/esm/justifi-business-details.entry.js +15 -13
- package/dist/esm/justifi-business-form.entry.js +23 -27
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +8 -16
- package/dist/esm/justifi-checkout.entry.js +16 -14
- package/dist/esm/justifi-checkouts-list-filters.entry.js +12 -10
- package/dist/esm/justifi-checkouts-list.entry.js +18 -16
- package/dist/esm/justifi-config-provider.entry.js +3 -3
- package/dist/esm/justifi-details.entry.js +3 -3
- package/dist/esm/justifi-dispute-management-core.entry.js +2 -2
- package/dist/esm/justifi-dispute-management.entry.js +13 -11
- package/dist/esm/justifi-dispute-notification_3.entry.js +19 -17
- package/dist/esm/justifi-gross-payment-chart.entry.js +13 -11
- package/dist/esm/justifi-order-terminals.entry.js +18 -16
- package/dist/esm/justifi-owner-form_3.entry.js +21 -30
- package/dist/esm/justifi-payment-details.entry.js +23 -14
- package/dist/esm/justifi-payment-provisioning-core.entry.js +25 -40
- package/dist/esm/justifi-payment-provisioning.entry.js +13 -11
- package/dist/esm/justifi-payment-transactions-list.entry.js +17 -15
- package/dist/esm/justifi-payments-list-filters.entry.js +8 -8
- package/dist/esm/justifi-payments-list.entry.js +18 -16
- package/dist/esm/justifi-payout-details.entry.js +16 -13
- package/dist/esm/justifi-payout-transactions-list.entry.js +17 -15
- package/dist/esm/justifi-payouts-list-filters.entry.js +8 -8
- package/dist/esm/justifi-payouts-list.entry.js +19 -17
- package/dist/esm/justifi-refund-payment.entry.js +17 -15
- package/dist/esm/justifi-saved-payment-method.entry.js +3 -3
- package/dist/esm/justifi-season-interruption-insurance.entry.js +16 -14
- package/dist/esm/justifi-skeleton.entry.js +5 -5
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +13 -11
- package/dist/esm/justifi-terminal-orders-list.entry.js +16 -14
- package/dist/esm/justifi-terminals-list-filters.entry.js +14 -11
- package/dist/esm/justifi-terminals-list.entry.js +18 -16
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{package-BRhnhmpB.js → package-YyotqiSL.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +5 -5
- package/dist/esm/{parts-CA_TyBed.js → parts-xDbRW9xn.js} +2 -1
- package/dist/esm/payment-details-core.entry.js +34 -16
- package/dist/esm/payment-method-option.entry.js +4 -4
- package/dist/esm/{payment.service-B_NytmNz.js → payment.service-BoQ1MW1k.js} +3 -3
- package/dist/esm/payments-list-core.entry.js +16 -14
- package/dist/esm/{payments-list-params-state-BY5996_y.js → payments-list-params-state-C_fug9R3.js} +1 -1
- package/dist/esm/{payments-status-BWv1l1-e.js → payments-status-cvtVmtY5.js} +22 -4
- package/dist/esm/{payments-table-BSk36N1O.js → payments-table-D_BlyU1F.js} +4 -4
- package/dist/esm/payout-details-core.entry.js +25 -12
- package/dist/esm/{payout.service-BJQVlc_Z.js → payout.service-xcBdom3q.js} +3 -3
- package/dist/esm/payouts-list-core.entry.js +16 -14
- package/dist/esm/{payouts-list-params-state-BY5996_y.js → payouts-list-params-state-C_fug9R3.js} +1 -1
- package/dist/esm/{payouts-status-BujJlH_r.js → payouts-status-D-vjrqBb.js} +2 -2
- package/dist/esm/{payouts-table-5N7OylTW.js → payouts-table-Clj8YGLV.js} +4 -4
- package/dist/esm/{schema-validations-BFoU1cR8.js → schema-validations-B9dmY7ME.js} +6 -41
- package/dist/esm/{skeleton-C161KeYG.js → skeleton-B8EUwt4b.js} +2 -2
- package/dist/esm/{spinner-UiInIFXW.js → spinner-CYXkn1fh.js} +2 -2
- package/dist/esm/state-options-BX8GieXu.js +244 -0
- package/dist/esm/{styled-host-hSGxxyFZ.js → styled-host-OalOsPBp.js} +1 -1
- package/dist/esm/{table-9ewYPAZH.js → table-Bj20uWfu.js} +3 -3
- package/dist/esm/table-filters-menu.entry.js +4 -4
- package/dist/esm/terminal-orders-list-core.entry.js +15 -13
- package/dist/esm/{terminal-orders-list-params-state-BY5996_y.js → terminal-orders-list-params-state-C_fug9R3.js} +1 -1
- package/dist/esm/{terminal-orders-table-BcziGGSF.js → terminal-orders-table-DzBpIW8i.js} +7 -7
- package/dist/esm/terminal-quantity-selector.entry.js +3 -3
- package/dist/esm/{terminal.service-B9MOFa2c.js → terminal.service-l6zTIPZ3.js} +3 -3
- package/dist/esm/terminals-list-core.entry.js +15 -13
- package/dist/esm/terminals-list-params-state-C_fug9R3.js +16 -0
- package/dist/esm/{terminals-table-BoFlvdHS.js → terminals-table-BMS5tazC.js} +9 -4
- package/dist/esm/{utils-DeZftIgK.js → utils-BOijEGPV.js} +4 -1
- package/dist/esm/{utils-fntGABrK.js → utils-DRwofES0.js} +5 -5
- package/dist/esm/webcomponents.js +4 -4
- package/dist/module/Business.js +3 -290
- package/dist/module/Refund.js +2 -1
- package/dist/module/additional-questions-details2.js +1 -1
- package/dist/module/additional-statement.js +1 -1
- package/dist/{esm/justifi-apple-pay.entry.js → module/apple-pay.js} +74 -106
- package/dist/module/badge.js +1 -1
- package/dist/module/bank-account-billing-form-simple.js +2 -2
- package/dist/module/bank-account-document-inputs.js +1 -1
- package/dist/module/bank-account-form-inputs2.js +2 -9
- package/dist/module/bank-account-form.js +3 -3
- package/dist/module/bank-account.js +2 -2
- package/dist/module/billing-form-full.js +2 -2
- package/dist/module/billing-form.js +3 -2
- package/dist/module/business-additional-questions-form-step.js +1 -1
- package/dist/module/business-address-schema.js +20 -40
- package/dist/module/business-bank-account-form-step-core.js +49 -102
- package/dist/module/business-bank-account-form-step.js +5 -18
- package/dist/module/business-core-info-form-step-core.js +7 -22
- package/dist/module/business-core-info-form-step.js +1 -2
- package/dist/module/business-core-info-schema.js +5 -26
- package/dist/module/business-core-info.js +4 -12
- package/dist/module/business-documents-on-file2.js +1 -1
- package/dist/module/business-identity-schema.js +25 -52
- package/dist/module/business-owners-form-step-core.js +13 -20
- package/dist/module/business-owners-form-step.js +15 -22
- package/dist/module/business-representative-form-inputs.js +17 -34
- package/dist/module/business-representative-form-step-core.js +18 -29
- package/dist/module/business-representative-form-step.js +17 -24
- package/dist/module/business-representative.js +18 -36
- package/dist/module/business-terms-conditions-form-step.js +1 -1
- package/dist/module/button.js +1 -1
- package/dist/module/cancellation-policy.js +1 -1
- package/dist/module/card-billing-form-simple.js +2 -2
- package/dist/module/card-form.js +3 -3
- package/dist/module/card-form2.js +2 -2
- package/dist/module/checkout.store.js +4 -0
- package/dist/module/checkouts-list-core2.js +2 -2
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +1 -1
- package/dist/module/dispute-management-core.js +1 -1
- package/dist/module/dispute-notification.js +1 -1
- package/dist/module/dispute-response-core.js +1 -1
- package/dist/module/dispute-response.js +1 -1
- package/dist/module/duplicate-charge.js +1 -1
- package/dist/module/electronic-evidence.js +1 -1
- package/dist/module/form-alert2.js +1 -1
- package/dist/module/form-control-checkbox2.js +3 -3
- package/dist/module/form-control-date2.js +3 -3
- package/dist/module/form-control-error-text.js +1 -1
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +3 -3
- package/dist/module/form-control-monetary-provisioning2.js +3 -3
- package/dist/module/form-control-monetary2.js +3 -3
- package/dist/module/form-control-number-masked2.js +3 -3
- package/dist/module/form-control-number.js +3 -3
- package/dist/module/form-control-radio2.js +3 -3
- package/dist/module/form-control-select2.js +3 -3
- package/dist/module/form-control-text2.js +3 -3
- package/dist/module/form-control-textarea2.js +3 -3
- package/dist/module/form-control-tooltip2.js +1 -1
- package/dist/module/form-input-masks.js +3 -9
- package/dist/module/get-business.js +1 -1
- package/dist/module/gross-payment-chart-core2.js +22 -13
- package/dist/module/header-3.js +1 -1
- package/dist/module/helpers.js +29 -0
- package/dist/module/hidden-input2.js +2 -2
- package/dist/module/identity-address-form.js +14 -16
- package/dist/module/iframe-input2.js +4 -4
- package/dist/module/input-handlers.js +1 -1
- package/dist/module/justifi-apple-pay.js +1 -904
- package/dist/module/justifi-business-form.js +29 -41
- package/dist/module/justifi-button2.js +1 -1
- package/dist/module/justifi-checkout.js +27 -21
- package/dist/module/justifi-checkouts-list-filters.js +2 -2
- package/dist/module/justifi-checkouts-list.js +2 -2
- package/dist/module/justifi-dispute-management.js +1 -1
- package/dist/module/justifi-header2.js +1 -1
- package/dist/module/justifi-order-terminals.js +5 -5
- package/dist/module/justifi-payment-details.js +8 -1
- package/dist/module/justifi-payment-provisioning.js +49 -67
- package/dist/module/justifi-payment-transactions-list.js +3 -3
- package/dist/module/justifi-payments-list-filters.js +3 -3
- package/dist/module/justifi-payments-list.js +1 -1
- package/dist/module/justifi-payout-details.js +4 -2
- package/dist/module/justifi-payout-transactions-list.js +3 -3
- package/dist/module/justifi-payouts-list-filters.js +3 -3
- package/dist/module/justifi-payouts-list.js +2 -2
- package/dist/module/justifi-refund-payment.js +1 -1
- package/dist/module/justifi-saved-payment-method.js +1 -1
- package/dist/module/justifi-season-interruption-insurance.js +2 -2
- package/dist/module/justifi-skeleton.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +4 -4
- package/dist/module/justifi-terminal-orders-list.js +2 -2
- package/dist/module/justifi-terminals-list-filters.js +5 -4
- package/dist/module/justifi-terminals-list.js +2 -2
- package/dist/module/legal-address-form-step-core.js +19 -26
- package/dist/module/legal-address-form-step.js +9 -16
- package/dist/module/legal-address-form.js +14 -17
- package/dist/module/modular-checkout.js +7 -6
- package/dist/module/owner-details2.js +8 -7
- package/dist/module/owner-form-core2.js +16 -24
- package/dist/module/owner-form-inputs2.js +15 -34
- package/dist/module/owner-form.js +13 -20
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +4 -4
- package/dist/module/parts.js +2 -1
- package/dist/module/payment-details-core2.js +22 -9
- package/dist/module/payment-method-option.js +1 -1
- package/dist/module/payment-provisioning-core.js +69 -104
- package/dist/module/payment-provisioning-form-buttons.js +1 -1
- package/dist/module/payment-provisioning-form-steps.js +54 -75
- package/dist/module/payments-list-core2.js +2 -2
- package/dist/module/payments-status.js +20 -2
- package/dist/module/payout-details-core2.js +18 -4
- package/dist/module/payouts-list-core2.js +2 -2
- package/dist/module/product-or-service.js +1 -1
- package/dist/module/refund-policy.js +1 -1
- package/dist/module/representative-details2.js +1 -1
- package/dist/module/save-new-payment-method.js +1 -1
- package/dist/module/schema-validations.js +6 -41
- package/dist/module/shipping-details.js +1 -1
- package/dist/module/spinner.js +1 -1
- package/dist/module/state-options.js +244 -0
- package/dist/module/summary.js +1 -1
- package/dist/module/table-filters-menu2.js +2 -2
- package/dist/module/table.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +3 -3
- package/dist/module/terminal-quantity-selector2.js +2 -2
- package/dist/module/terminals-list-core2.js +8 -3
- package/dist/module/tokenize-payment-method.js +1 -1
- package/dist/module/utils.js +4 -4
- package/dist/module/utils2.js +4 -1
- package/dist/types/api/BankAccount.d.ts +0 -6
- package/dist/types/api/Business.d.ts +0 -9
- package/dist/types/api/Checkout.d.ts +2 -0
- package/dist/types/api/ComponentEvents.d.ts +4 -0
- package/dist/types/api/Terminal.d.ts +2 -1
- package/dist/types/components/business-details/owner-details/owner-details.d.ts +1 -1
- package/dist/types/components/business-forms/business-form/business-core-info/business-core-info.d.ts +0 -3
- package/dist/types/components/business-forms/business-form/business-form.d.ts +0 -2
- package/dist/types/components/business-forms/business-form/business-representative/business-representative.d.ts +1 -4
- package/dist/types/components/business-forms/business-form/legal-address-form/legal-address-form.d.ts +0 -2
- package/dist/types/components/business-forms/owner-form/identity-address/identity-address-form.d.ts +0 -2
- package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +0 -2
- package/dist/types/components/business-forms/owner-form/owner-form-inputs.d.ts +0 -3
- package/dist/types/components/business-forms/owner-form/owner-form.d.ts +0 -2
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.d.ts +0 -5
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +0 -2
- package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +0 -3
- package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.d.ts +0 -2
- package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +0 -2
- package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.d.ts +0 -2
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.d.ts +0 -3
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +0 -2
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.d.ts +0 -2
- package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +0 -2
- package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.d.ts +0 -2
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +2 -4
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-form-steps.d.ts +0 -2
- package/dist/types/components/business-forms/schemas/business-address-schema.d.ts +2 -54
- package/dist/types/components/business-forms/schemas/business-bank-account-schema.d.ts +16 -14
- package/dist/types/components/business-forms/schemas/business-core-info-schema.d.ts +3 -67
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +6 -164
- package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +2 -122
- package/dist/types/components/business-forms/schemas/schema-validations.d.ts +0 -5
- package/dist/types/components/modular-checkout/sub-components/apple-pay.d.ts +2 -0
- package/dist/types/components/payment-details/payment-details-core.d.ts +3 -1
- package/dist/types/components/payment-details/payment-details.d.ts +3 -1
- package/dist/types/components/payments-list/payments-status.d.ts +12 -0
- package/dist/types/components/payout-details/payout-details-core.d.ts +5 -1
- package/dist/types/components/payout-details/payout-details.d.ts +1 -0
- package/dist/types/components.d.ts +38 -113
- package/dist/types/stencil-public-runtime.d.ts +20 -10
- package/dist/types/store/checkout.store.d.ts +1 -0
- package/dist/types/styles/parts.d.ts +1 -1
- package/dist/types/ui-components/details/utils.d.ts +3 -2
- package/dist/types/utils/form-input-masks.d.ts +0 -1
- package/dist/types/utils/utils.d.ts +1 -0
- package/dist/webcomponents/p-0217783c.entry.js +20 -0
- package/dist/webcomponents/p-02fdd7f5.entry.js +1 -0
- package/dist/webcomponents/p-0af5269e.entry.js +1 -0
- package/dist/webcomponents/p-0cac8468.entry.js +1 -0
- package/dist/webcomponents/{p-b59221a9.entry.js → p-0cf71cbd.entry.js} +1 -1
- package/dist/webcomponents/p-0eb69f41.entry.js +1 -0
- package/dist/webcomponents/p-0fgTPVV0.js +1 -0
- package/dist/webcomponents/{p-c1f10a84.entry.js → p-13df20c1.entry.js} +1 -1
- package/dist/webcomponents/{p-C77ElQ41.js → p-1ydcg9ti.js} +1 -1
- package/dist/webcomponents/p-28625e07.entry.js +1 -0
- package/dist/webcomponents/p-2d300faa.entry.js +1 -0
- package/dist/webcomponents/{p-6ea75d39.entry.js → p-2f40f708.entry.js} +1 -1
- package/dist/webcomponents/p-328117e4.entry.js +1 -0
- package/dist/webcomponents/p-32978110.entry.js +1 -0
- package/dist/webcomponents/{p-c7390115.entry.js → p-37a93597.entry.js} +1 -1
- package/dist/webcomponents/p-3dd950bf.entry.js +1 -0
- package/dist/webcomponents/p-447b55c0.entry.js +1 -0
- package/dist/webcomponents/p-47997bc2.entry.js +1 -0
- package/dist/webcomponents/p-4bf52215.entry.js +1 -0
- package/dist/webcomponents/p-50701f16.entry.js +1 -0
- package/dist/webcomponents/p-526b7442.entry.js +1 -0
- package/dist/webcomponents/p-5aae36f3.entry.js +1 -0
- package/dist/webcomponents/p-5bd3d86e.entry.js +1 -0
- package/dist/webcomponents/p-63ad8ebd.entry.js +1 -0
- package/dist/webcomponents/p-63fb5e82.entry.js +1 -0
- package/dist/webcomponents/p-6472b6db.entry.js +1 -0
- package/dist/webcomponents/p-6e9cd0dd.entry.js +1 -0
- package/dist/webcomponents/p-6f27030e.entry.js +1 -0
- package/dist/webcomponents/p-705dba52.entry.js +1 -0
- package/dist/webcomponents/p-7680c57b.entry.js +1 -0
- package/dist/webcomponents/p-7686ef15.entry.js +1 -0
- package/dist/webcomponents/p-773d6dd3.entry.js +1 -0
- package/dist/webcomponents/p-78cb62a8.entry.js +1 -0
- package/dist/webcomponents/p-7b55e1c1.entry.js +1 -0
- package/dist/webcomponents/p-7b5ad3a7.entry.js +1 -0
- package/dist/webcomponents/p-80b2cdec.entry.js +1 -0
- package/dist/webcomponents/p-8S_ROmnq.js +1 -0
- package/dist/webcomponents/p-8ca21fab.entry.js +1 -0
- package/dist/webcomponents/p-9ad7d724.entry.js +1 -0
- package/dist/webcomponents/p-9ed7b13f.entry.js +1 -0
- package/dist/webcomponents/p-B-iV5cYd.js +1 -0
- package/dist/webcomponents/p-B6IWa9Ph.js +1 -0
- package/dist/webcomponents/{p-BdREtifE.js → p-BBx_EQqR.js} +1 -1
- package/dist/webcomponents/p-BX8GieXu.js +1 -0
- package/dist/webcomponents/{p-xWrhxNNk.js → p-Bgnhf5c9.js} +1 -1
- package/dist/webcomponents/{p-DTwFW2k_.js → p-BhCH9S0e.js} +1 -1
- package/dist/webcomponents/p-BjNuRWXK.js +1 -0
- package/dist/webcomponents/p-BlJnA265.js +1 -0
- package/dist/webcomponents/p-BoQ6_4Ks.js +1 -0
- package/dist/webcomponents/{p-DWGKeoot.js → p-C0wTyoTh.js} +1 -1
- package/dist/webcomponents/p-C2JJBtMc.js +1 -0
- package/dist/webcomponents/{p-g2ubqhtv.js → p-C8k7a6D-.js} +1 -1
- package/dist/webcomponents/{p-BPDMo6us.js → p-C98BC5W5.js} +1 -1
- package/dist/webcomponents/p-C9EQ459H.js +1 -0
- package/dist/webcomponents/p-C9iide2W.js +1 -0
- package/dist/webcomponents/p-CCLgieAN.js +1 -0
- package/dist/webcomponents/p-CCmDcLao.js +1 -0
- package/dist/webcomponents/{p-qUCDGWNE.js → p-CEk3bv0x.js} +1 -1
- package/dist/webcomponents/p-CH8Y3GSr.js +1 -0
- package/dist/webcomponents/{p-BaM0JBLn.js → p-CdEseavG.js} +1 -1
- package/dist/webcomponents/{p-D2hzOOMf.js → p-ClvhB3WW.js} +1 -1
- package/dist/webcomponents/{p-JSXyHheQ.js → p-CmBCj61h.js} +1 -1
- package/dist/webcomponents/p-D0Peuz-m.js +1 -0
- package/dist/webcomponents/p-D6BImiVi.js +1 -0
- package/dist/webcomponents/p-DGsXKF67.js +1 -0
- package/dist/webcomponents/p-DH8F0bsw.js +1 -0
- package/dist/webcomponents/{p-_b8l4IX7.js → p-DOjVAAtq.js} +2 -2
- package/dist/webcomponents/p-DQZ5VHTZ.js +1 -0
- package/dist/webcomponents/p-DWn9BiNn.js +1 -0
- package/dist/webcomponents/{p-hj8k0lRi.js → p-DdMxswn1.js} +1 -1
- package/dist/webcomponents/{p-M5r2kSbf.js → p-DdZLLkQ5.js} +1 -1
- package/dist/webcomponents/p-DfV3dFDB.js +1 -0
- package/dist/webcomponents/p-Dieke6TH.js +1 -0
- package/dist/webcomponents/p-Dt-vy9Le.js +1 -0
- package/dist/webcomponents/p-NAjz1Xfo.js +1 -0
- package/dist/webcomponents/p-NwmOm8Pg.js +1 -0
- package/dist/webcomponents/p-PSJOKMWp.js +1 -0
- package/dist/webcomponents/p-RQzxYnz_.js +1 -0
- package/dist/webcomponents/p-T2yENPvU.js +1 -0
- package/dist/webcomponents/p-YyotqiSL.js +1 -0
- package/dist/webcomponents/{p-931003fc.entry.js → p-a09695c4.entry.js} +1 -1
- package/dist/webcomponents/{p-b46fe458.entry.js → p-a4846316.entry.js} +1 -1
- package/dist/webcomponents/p-a6tcNl_T.js +1 -0
- package/dist/webcomponents/p-adc1d0be.entry.js +1 -0
- package/dist/webcomponents/p-ae8ae5bb.entry.js +1 -0
- package/dist/webcomponents/p-aeb22aa2.entry.js +1 -0
- package/dist/webcomponents/{p-fVyCeQNq.js → p-au49QgoI.js} +1 -1
- package/dist/webcomponents/p-b149a2fc.entry.js +1 -0
- package/dist/webcomponents/p-b4aa9298.entry.js +1 -0
- package/dist/webcomponents/{p-b17cb15d.entry.js → p-b608add9.entry.js} +1 -1
- package/dist/webcomponents/p-bb53e2e9.entry.js +1 -0
- package/dist/webcomponents/p-bc099dd0.entry.js +1 -0
- package/dist/webcomponents/p-c12d0453.entry.js +1 -0
- package/dist/webcomponents/p-c2569b4c.entry.js +1 -0
- package/dist/webcomponents/p-c644a9f1.entry.js +1 -0
- package/dist/webcomponents/p-cb782215.entry.js +1 -0
- package/dist/webcomponents/p-d0a2035f.entry.js +1 -0
- package/dist/webcomponents/p-d1bceac6.entry.js +1 -0
- package/dist/webcomponents/p-d4476052.entry.js +1 -0
- package/dist/webcomponents/p-d5452069.entry.js +1 -0
- package/dist/webcomponents/p-d88d7418.entry.js +1 -0
- package/dist/webcomponents/p-de95bf57.entry.js +1 -0
- package/dist/webcomponents/p-e365b251.entry.js +1 -0
- package/dist/webcomponents/p-e6be4e19.entry.js +1 -0
- package/dist/webcomponents/p-e6fe9b7d.entry.js +1 -0
- package/dist/webcomponents/p-e9f6a621.entry.js +1 -0
- package/dist/webcomponents/p-ec9514f8.entry.js +1 -0
- package/dist/webcomponents/p-edfeb034.entry.js +1 -0
- package/dist/webcomponents/p-f378af59.entry.js +1 -0
- package/dist/webcomponents/p-f705fc49.entry.js +1 -0
- package/dist/webcomponents/p-fbc5fc6d.entry.js +1 -0
- package/dist/webcomponents/p-ffefa09c.entry.js +1 -0
- package/dist/webcomponents/p-h5pyZngT.js +1 -0
- package/dist/webcomponents/p-hbWSMN3O.js +1 -0
- package/dist/webcomponents/p-lKnUT24T.js +1 -0
- package/dist/webcomponents/p-tYuXMkCd.js +1 -0
- package/dist/webcomponents/p-wQgEEOq_.js +1 -0
- package/dist/webcomponents/p-xDbRW9xn.js +1 -0
- package/dist/webcomponents/{p-CPpUGsw5.js → p-yH3TC3ZQ.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/bank-account-document-form-inputs_6.cjs.entry.js +0 -132
- package/dist/cjs/business-identity-schema-Cd0tvfJr.js +0 -101
- package/dist/cjs/country-config-MCOhn8o3.js +0 -68
- package/dist/cjs/form-control-number-masked_3.cjs.entry.js +0 -119
- package/dist/cjs/justifi-apple-pay.cjs.entry.js +0 -876
- package/dist/cjs/terminals-list-params-state-ARjo40Y9.js +0 -22
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.js +0 -88
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.js +0 -50
- package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +0 -101
- package/dist/collection/components/business-forms/payment-provisioning/test/mockBusiness.js +0 -52
- package/dist/collection/components/business-forms/utils/country-config.js +0 -47
- package/dist/collection/utils/country-codes.js +0 -5
- package/dist/collection/utils/province-options.js +0 -20
- package/dist/esm/bank-account-document-form-inputs_6.entry.js +0 -125
- package/dist/esm/business-identity-schema-mN4VhA1v.js +0 -94
- package/dist/esm/country-config-BQ4D46Lb.js +0 -64
- package/dist/esm/form-control-number-masked_3.entry.js +0 -115
- package/dist/esm/terminals-list-params-state-BY5996_y.js +0 -16
- package/dist/module/bank-account-form-inputs-canada.d.ts +0 -11
- package/dist/module/bank-account-form-inputs-canada.js +0 -6
- package/dist/module/bank-account-form-inputs-canada2.js +0 -68
- package/dist/module/bank-account-read-only-value.d.ts +0 -11
- package/dist/module/bank-account-read-only-value.js +0 -6
- package/dist/module/bank-account-read-only-value2.js +0 -33
- package/dist/module/country-config.js +0 -64
- package/dist/module/form-address-fields.js +0 -65
- package/dist/module/justifi-form-address-fields.d.ts +0 -11
- package/dist/module/justifi-form-address-fields.js +0 -6
- package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.d.ts +0 -7
- package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.d.ts +0 -5
- package/dist/types/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.d.ts +0 -8
- package/dist/types/components/business-forms/payment-provisioning/test/mockBusiness.d.ts +0 -12
- package/dist/types/utils/country-codes.d.ts +0 -4
- package/dist/types/utils/province-options.d.ts +0 -5
- package/dist/webcomponents/p-0254c06c.entry.js +0 -1
- package/dist/webcomponents/p-047fe97f.entry.js +0 -1
- package/dist/webcomponents/p-04ca6ff0.entry.js +0 -1
- package/dist/webcomponents/p-09d53b03.entry.js +0 -1
- package/dist/webcomponents/p-0c5e2fed.entry.js +0 -1
- package/dist/webcomponents/p-0ea48603.entry.js +0 -1
- package/dist/webcomponents/p-17e9d5c0.entry.js +0 -1
- package/dist/webcomponents/p-1ab4d6aa.entry.js +0 -1
- package/dist/webcomponents/p-1cf42bc9.entry.js +0 -1
- package/dist/webcomponents/p-1e7f4b4f.entry.js +0 -1
- package/dist/webcomponents/p-22defde6.entry.js +0 -20
- package/dist/webcomponents/p-242208d9.entry.js +0 -1
- package/dist/webcomponents/p-31ac0c3d.entry.js +0 -1
- package/dist/webcomponents/p-36e21b78.entry.js +0 -1
- package/dist/webcomponents/p-3a77a97c.entry.js +0 -1
- package/dist/webcomponents/p-40938820.entry.js +0 -1
- package/dist/webcomponents/p-40dc0c3c.entry.js +0 -1
- package/dist/webcomponents/p-42763479.entry.js +0 -1
- package/dist/webcomponents/p-430203b0.entry.js +0 -1
- package/dist/webcomponents/p-46d2d042.entry.js +0 -1
- package/dist/webcomponents/p-485516a1.entry.js +0 -1
- package/dist/webcomponents/p-4fb58ee6.entry.js +0 -1
- package/dist/webcomponents/p-54995a3d.entry.js +0 -1
- package/dist/webcomponents/p-56617fdd.entry.js +0 -1
- package/dist/webcomponents/p-592a45f6.entry.js +0 -1
- package/dist/webcomponents/p-5a044ca5.entry.js +0 -1
- package/dist/webcomponents/p-5ec18584.entry.js +0 -1
- package/dist/webcomponents/p-6122dc79.entry.js +0 -1
- package/dist/webcomponents/p-62858ba5.entry.js +0 -1
- package/dist/webcomponents/p-62b5e6cf.entry.js +0 -1
- package/dist/webcomponents/p-67dab4d9.entry.js +0 -1
- package/dist/webcomponents/p-6b791b1d.entry.js +0 -1
- package/dist/webcomponents/p-6ebf8f11.entry.js +0 -1
- package/dist/webcomponents/p-6fdac295.entry.js +0 -1
- package/dist/webcomponents/p-724cf90f.entry.js +0 -1
- package/dist/webcomponents/p-7ecca5fe.entry.js +0 -1
- package/dist/webcomponents/p-7ecf9bd0.entry.js +0 -1
- package/dist/webcomponents/p-850dd606.entry.js +0 -1
- package/dist/webcomponents/p-85af9d78.entry.js +0 -1
- package/dist/webcomponents/p-9367e7e6.entry.js +0 -1
- package/dist/webcomponents/p-9c114674.entry.js +0 -1
- package/dist/webcomponents/p-9c267692.entry.js +0 -1
- package/dist/webcomponents/p-B5rtFhtR.js +0 -1
- package/dist/webcomponents/p-BRhnhmpB.js +0 -1
- package/dist/webcomponents/p-BgFM_jvF.js +0 -1
- package/dist/webcomponents/p-BqbXuOZP.js +0 -1
- package/dist/webcomponents/p-BwpdCtUc.js +0 -1
- package/dist/webcomponents/p-C6g4MbnB.js +0 -1
- package/dist/webcomponents/p-CA_TyBed.js +0 -1
- package/dist/webcomponents/p-CE-MNrID.js +0 -1
- package/dist/webcomponents/p-CMpATPXy.js +0 -1
- package/dist/webcomponents/p-CQUZeo9r.js +0 -1
- package/dist/webcomponents/p-CSeo7WDO.js +0 -1
- package/dist/webcomponents/p-CTJ3moi4.js +0 -1
- package/dist/webcomponents/p-CVaOFfrI.js +0 -1
- package/dist/webcomponents/p-CYNcSTQA.js +0 -1
- package/dist/webcomponents/p-CevVA9qy.js +0 -1
- package/dist/webcomponents/p-CkiX8OGy.js +0 -1
- package/dist/webcomponents/p-CtWnJFtW.js +0 -1
- package/dist/webcomponents/p-CycBoHSW.js +0 -1
- package/dist/webcomponents/p-D-RVXHwG.js +0 -1
- package/dist/webcomponents/p-D1Na2I0C.js +0 -1
- package/dist/webcomponents/p-D5lmImiz.js +0 -1
- package/dist/webcomponents/p-DMf85Fkr.js +0 -1
- package/dist/webcomponents/p-DNPS-Ypi.js +0 -1
- package/dist/webcomponents/p-DQ5V5-Jy.js +0 -1
- package/dist/webcomponents/p-DapORSs4.js +0 -1
- package/dist/webcomponents/p-DcPNd9_D.js +0 -1
- package/dist/webcomponents/p-DfKxeSrC.js +0 -1
- package/dist/webcomponents/p-Dkujm7_O.js +0 -1
- package/dist/webcomponents/p-Dv1Fyrn3.js +0 -1
- package/dist/webcomponents/p-DxVCqvBt.js +0 -1
- package/dist/webcomponents/p-DzWLLt4t.js +0 -1
- package/dist/webcomponents/p-LO0pl3n2.js +0 -1
- package/dist/webcomponents/p-PdQT2QcR.js +0 -1
- package/dist/webcomponents/p-a2817869.entry.js +0 -1
- package/dist/webcomponents/p-a291a90c.entry.js +0 -1
- package/dist/webcomponents/p-b0bc03e6.entry.js +0 -1
- package/dist/webcomponents/p-c2cb70c8.entry.js +0 -1
- package/dist/webcomponents/p-c540fe9d.entry.js +0 -1
- package/dist/webcomponents/p-c6093716.entry.js +0 -1
- package/dist/webcomponents/p-c6e43493.entry.js +0 -1
- package/dist/webcomponents/p-c780cc91.entry.js +0 -1
- package/dist/webcomponents/p-c9598246.entry.js +0 -1
- package/dist/webcomponents/p-c972a599.entry.js +0 -1
- package/dist/webcomponents/p-cc1d8649.entry.js +0 -1
- package/dist/webcomponents/p-ce4895ca.entry.js +0 -1
- package/dist/webcomponents/p-ce67282b.entry.js +0 -1
- package/dist/webcomponents/p-cef5c6e9.entry.js +0 -1
- package/dist/webcomponents/p-d21fa0c9.entry.js +0 -1
- package/dist/webcomponents/p-d236f152.entry.js +0 -1
- package/dist/webcomponents/p-d6ac11fc.entry.js +0 -1
- package/dist/webcomponents/p-e55ce6ad.entry.js +0 -1
- package/dist/webcomponents/p-f02bd076.entry.js +0 -1
- package/dist/webcomponents/p-lPeK9y_X.js +0 -1
- package/dist/webcomponents/p-sCHf--Vc.js +0 -1
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { a as addressSchema } from './business-address-schema.js';
|
|
3
3
|
import { F as FormController } from './form.js';
|
|
4
|
-
import {
|
|
4
|
+
import { b as Address } from './Business.js';
|
|
5
|
+
import { S as StateOptions } from './state-options.js';
|
|
6
|
+
import { n as numberOnlyHandler } from './utils3.js';
|
|
5
7
|
import { h as heading2 } from './parts.js';
|
|
6
8
|
import { P as PaymentProvisioningLoading } from './payment-provisioning-loading.js';
|
|
7
9
|
import { B as BusinessFormStep } from './event-types2.js';
|
|
8
|
-
import { d as defineCustomElement$
|
|
9
|
-
import { d as defineCustomElement$
|
|
10
|
-
import { d as defineCustomElement$
|
|
11
|
-
import { d as defineCustomElement$
|
|
12
|
-
import { d as defineCustomElement$1 } from './form-address-fields.js';
|
|
10
|
+
import { d as defineCustomElement$4 } from './custom-popper2.js';
|
|
11
|
+
import { d as defineCustomElement$3 } from './form-control-select2.js';
|
|
12
|
+
import { d as defineCustomElement$2 } from './form-control-text2.js';
|
|
13
|
+
import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
|
|
13
14
|
|
|
14
15
|
const LegalAddressFormStepCore = /*@__PURE__*/ proxyCustomElement(class LegalAddressFormStepCore extends HTMLElement {
|
|
15
16
|
constructor(registerHost) {
|
|
@@ -24,15 +25,11 @@ const LegalAddressFormStepCore = /*@__PURE__*/ proxyCustomElement(class LegalAdd
|
|
|
24
25
|
this.legal_address = {};
|
|
25
26
|
this.isLoading = false;
|
|
26
27
|
this.getData = () => {
|
|
27
|
-
if (!this.getBusiness)
|
|
28
|
-
return;
|
|
29
28
|
this.formLoading.emit(true);
|
|
30
29
|
this.isLoading = true;
|
|
31
30
|
this.getBusiness({
|
|
32
31
|
onSuccess: (response) => {
|
|
33
|
-
|
|
34
|
-
const address = new Address(business.legal_address || {});
|
|
35
|
-
this.legal_address = Object.assign(Object.assign({}, address), { country: this.country });
|
|
32
|
+
this.legal_address = new Address(response.data.legal_address || {});
|
|
36
33
|
this.formController.setInitialValues(Object.assign({}, this.legal_address));
|
|
37
34
|
},
|
|
38
35
|
onError: ({ error, code, severity }) => {
|
|
@@ -84,9 +81,8 @@ const LegalAddressFormStepCore = /*@__PURE__*/ proxyCustomElement(class LegalAdd
|
|
|
84
81
|
return { legal_address: formValues };
|
|
85
82
|
}
|
|
86
83
|
componentWillLoad() {
|
|
87
|
-
|
|
88
|
-
this.formController = new FormController(
|
|
89
|
-
this.getData();
|
|
84
|
+
this.getBusiness && this.getData();
|
|
85
|
+
this.formController = new FormController(addressSchema(this.allowOptionalFields));
|
|
90
86
|
}
|
|
91
87
|
componentDidLoad() {
|
|
92
88
|
this.formController.errors.subscribe(errors => {
|
|
@@ -94,17 +90,19 @@ const LegalAddressFormStepCore = /*@__PURE__*/ proxyCustomElement(class LegalAdd
|
|
|
94
90
|
});
|
|
95
91
|
}
|
|
96
92
|
render() {
|
|
93
|
+
var _a, _b, _c, _d, _e, _f;
|
|
97
94
|
const legalAddressDefaultValue = this.formController.getInitialValues();
|
|
98
95
|
if (this.isLoading) {
|
|
99
96
|
return h(PaymentProvisioningLoading, null);
|
|
100
97
|
}
|
|
101
|
-
return (h("form", null, h("fieldset", null, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Legal Address of your Business"), h("form-control-tooltip", { helpText: "No PO Boxes." })), h("hr", { class: "mt-2" }), h("
|
|
98
|
+
return (h("form", null, h("fieldset", null, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Legal Address of your Business"), h("form-control-tooltip", { helpText: "No PO Boxes." })), h("hr", { class: "mt-2" }), h("div", { class: "row gy-3" }, h("div", { class: "col-12" }, h("form-control-text", { name: "line1", label: "Legal Address", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line1, errorText: (_a = this.errors) === null || _a === void 0 ? void 0 : _a.line1 })), h("div", { class: "col-12" }, h("form-control-text", { name: "line2", label: "Address Line 2 (optional)", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line2, errorText: (_b = this.errors) === null || _b === void 0 ? void 0 : _b.line2 })), h("div", { class: "col-12" }, h("form-control-text", { name: "city", label: "City", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.city, errorText: (_c = this.errors) === null || _c === void 0 ? void 0 : _c.city })), h("div", { class: "col-12" }, h("form-control-select", { name: "state", label: "State", options: StateOptions, inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.state, errorText: (_d = this.errors) === null || _d === void 0 ? void 0 : _d.state })), h("div", { class: "col-12" }, h("form-control-text", { name: "postal_code", label: "Postal Code", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.postal_code, errorText: (_e = this.errors) === null || _e === void 0 ? void 0 : _e.postal_code, maxLength: 5, keyDownHandler: numberOnlyHandler })), h("div", { class: "col-12" }, h("form-control-select", { name: "country", label: "Country", options: [{ label: "United States", value: "USA" }], inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.country, errorText: (_f = this.errors) === null || _f === void 0 ? void 0 : _f.country,
|
|
99
|
+
// just for now so we skip handling country specificities
|
|
100
|
+
disabled: true }))))));
|
|
102
101
|
}
|
|
103
102
|
}, [256, "justifi-legal-address-form-step-core", {
|
|
104
103
|
"getBusiness": [16],
|
|
105
104
|
"patchBusiness": [16],
|
|
106
105
|
"allowOptionalFields": [4, "allow-optional-fields"],
|
|
107
|
-
"country": [1],
|
|
108
106
|
"formController": [32],
|
|
109
107
|
"errors": [32],
|
|
110
108
|
"legal_address": [32],
|
|
@@ -115,7 +113,7 @@ function defineCustomElement() {
|
|
|
115
113
|
if (typeof customElements === "undefined") {
|
|
116
114
|
return;
|
|
117
115
|
}
|
|
118
|
-
const components = ["justifi-legal-address-form-step-core", "custom-popper", "form-control-select", "form-control-text", "form-control-tooltip"
|
|
116
|
+
const components = ["justifi-legal-address-form-step-core", "custom-popper", "form-control-select", "form-control-text", "form-control-tooltip"];
|
|
119
117
|
components.forEach(tagName => { switch (tagName) {
|
|
120
118
|
case "justifi-legal-address-form-step-core":
|
|
121
119
|
if (!customElements.get(tagName)) {
|
|
@@ -123,26 +121,21 @@ function defineCustomElement() {
|
|
|
123
121
|
}
|
|
124
122
|
break;
|
|
125
123
|
case "custom-popper":
|
|
126
|
-
if (!customElements.get(tagName)) {
|
|
127
|
-
defineCustomElement$5();
|
|
128
|
-
}
|
|
129
|
-
break;
|
|
130
|
-
case "form-control-select":
|
|
131
124
|
if (!customElements.get(tagName)) {
|
|
132
125
|
defineCustomElement$4();
|
|
133
126
|
}
|
|
134
127
|
break;
|
|
135
|
-
case "form-control-
|
|
128
|
+
case "form-control-select":
|
|
136
129
|
if (!customElements.get(tagName)) {
|
|
137
130
|
defineCustomElement$3();
|
|
138
131
|
}
|
|
139
132
|
break;
|
|
140
|
-
case "form-control-
|
|
133
|
+
case "form-control-text":
|
|
141
134
|
if (!customElements.get(tagName)) {
|
|
142
135
|
defineCustomElement$2();
|
|
143
136
|
}
|
|
144
137
|
break;
|
|
145
|
-
case "
|
|
138
|
+
case "form-control-tooltip":
|
|
146
139
|
if (!customElements.get(tagName)) {
|
|
147
140
|
defineCustomElement$1();
|
|
148
141
|
}
|
|
@@ -2,11 +2,10 @@ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/i
|
|
|
2
2
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Refund.js';
|
|
3
3
|
import { m as makeGetBusiness, a as makePatchBusiness } from './payment-provisioning-actions.js';
|
|
4
4
|
import { B as BusinessService } from './business.service.js';
|
|
5
|
-
import { d as defineCustomElement$
|
|
6
|
-
import { d as defineCustomElement$
|
|
7
|
-
import { d as defineCustomElement$
|
|
8
|
-
import { d as defineCustomElement$
|
|
9
|
-
import { d as defineCustomElement$2 } from './form-address-fields.js';
|
|
5
|
+
import { d as defineCustomElement$5 } from './custom-popper2.js';
|
|
6
|
+
import { d as defineCustomElement$4 } from './form-control-select2.js';
|
|
7
|
+
import { d as defineCustomElement$3 } from './form-control-text2.js';
|
|
8
|
+
import { d as defineCustomElement$2 } from './form-control-tooltip2.js';
|
|
10
9
|
import { d as defineCustomElement$1 } from './legal-address-form-step-core.js';
|
|
11
10
|
|
|
12
11
|
const LegalAddressFormStep = /*@__PURE__*/ proxyCustomElement(class LegalAddressFormStep extends HTMLElement {
|
|
@@ -48,7 +47,7 @@ const LegalAddressFormStep = /*@__PURE__*/ proxyCustomElement(class LegalAddress
|
|
|
48
47
|
}
|
|
49
48
|
}
|
|
50
49
|
render() {
|
|
51
|
-
return (h("justifi-legal-address-form-step-core", { key: '
|
|
50
|
+
return (h("justifi-legal-address-form-step-core", { key: 'fb07306fe9d60ca061e9291565ea4dd11db6d93f', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
|
|
52
51
|
}
|
|
53
52
|
static get watchers() { return {
|
|
54
53
|
"authToken": ["propChanged"],
|
|
@@ -58,7 +57,6 @@ const LegalAddressFormStep = /*@__PURE__*/ proxyCustomElement(class LegalAddress
|
|
|
58
57
|
"authToken": [1, "auth-token"],
|
|
59
58
|
"businessId": [1, "business-id"],
|
|
60
59
|
"allowOptionalFields": [4, "allow-optional-fields"],
|
|
61
|
-
"country": [1],
|
|
62
60
|
"getBusiness": [32],
|
|
63
61
|
"patchBusiness": [32],
|
|
64
62
|
"validateAndSubmit": [64]
|
|
@@ -70,7 +68,7 @@ function defineCustomElement() {
|
|
|
70
68
|
if (typeof customElements === "undefined") {
|
|
71
69
|
return;
|
|
72
70
|
}
|
|
73
|
-
const components = ["justifi-legal-address-form-step", "custom-popper", "form-control-select", "form-control-text", "form-control-tooltip", "justifi-
|
|
71
|
+
const components = ["justifi-legal-address-form-step", "custom-popper", "form-control-select", "form-control-text", "form-control-tooltip", "justifi-legal-address-form-step-core"];
|
|
74
72
|
components.forEach(tagName => { switch (tagName) {
|
|
75
73
|
case "justifi-legal-address-form-step":
|
|
76
74
|
if (!customElements.get(tagName)) {
|
|
@@ -78,26 +76,21 @@ function defineCustomElement() {
|
|
|
78
76
|
}
|
|
79
77
|
break;
|
|
80
78
|
case "custom-popper":
|
|
81
|
-
if (!customElements.get(tagName)) {
|
|
82
|
-
defineCustomElement$6();
|
|
83
|
-
}
|
|
84
|
-
break;
|
|
85
|
-
case "form-control-select":
|
|
86
79
|
if (!customElements.get(tagName)) {
|
|
87
80
|
defineCustomElement$5();
|
|
88
81
|
}
|
|
89
82
|
break;
|
|
90
|
-
case "form-control-
|
|
83
|
+
case "form-control-select":
|
|
91
84
|
if (!customElements.get(tagName)) {
|
|
92
85
|
defineCustomElement$4();
|
|
93
86
|
}
|
|
94
87
|
break;
|
|
95
|
-
case "form-control-
|
|
88
|
+
case "form-control-text":
|
|
96
89
|
if (!customElements.get(tagName)) {
|
|
97
90
|
defineCustomElement$3();
|
|
98
91
|
}
|
|
99
92
|
break;
|
|
100
|
-
case "
|
|
93
|
+
case "form-control-tooltip":
|
|
101
94
|
if (!customElements.get(tagName)) {
|
|
102
95
|
defineCustomElement$2();
|
|
103
96
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { S as StateOptions } from './state-options.js';
|
|
3
|
+
import { n as numberOnlyHandler } from './utils3.js';
|
|
2
4
|
import { h as heading2 } from './parts.js';
|
|
3
|
-
import { d as defineCustomElement$
|
|
4
|
-
import { d as defineCustomElement$
|
|
5
|
-
import { d as defineCustomElement$
|
|
6
|
-
import { d as defineCustomElement$
|
|
7
|
-
import { d as defineCustomElement$1 } from './form-address-fields.js';
|
|
5
|
+
import { d as defineCustomElement$4 } from './custom-popper2.js';
|
|
6
|
+
import { d as defineCustomElement$3 } from './form-control-select2.js';
|
|
7
|
+
import { d as defineCustomElement$2 } from './form-control-text2.js';
|
|
8
|
+
import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
|
|
8
9
|
|
|
9
10
|
const LegalAddressForm = /*@__PURE__*/ proxyCustomElement(class LegalAddressForm extends HTMLElement {
|
|
10
11
|
constructor(registerHost) {
|
|
@@ -23,13 +24,14 @@ const LegalAddressForm = /*@__PURE__*/ proxyCustomElement(class LegalAddressForm
|
|
|
23
24
|
this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { legal_address: Object.assign(Object.assign({}, this.formController.values.getValue().legal_address), { [name]: value }) }));
|
|
24
25
|
}
|
|
25
26
|
render() {
|
|
26
|
-
var _a;
|
|
27
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
27
28
|
const legalAddressDefaultValue = this.formController.getInitialValues().legal_address;
|
|
28
|
-
return (h(Host, { key: '
|
|
29
|
+
return (h(Host, { key: '3b391bb2404c911e1663835acf0d13e7aab73735' }, h("fieldset", { key: 'f5db5dd65ba422e05728b38e562d1140777f4208' }, h("legend", { key: 'a1e464501561d649b6b514de45967d84d5f69f2a', part: heading2 }, "Business Legal Address"), h("div", { key: 'f64e06197c22f9d0cddb7b78d181aec203070612', class: "row gy-3" }, h("div", { key: '0c5ed4640de17b420021beedf69fbf6fedc16b5e', class: "col-12" }, h("form-control-text", { key: '449f633ae6ff84855258898a90f9adfc028b9685', name: "line1", label: "Legal Address", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line1, errorText: (_b = (_a = this.errors) === null || _a === void 0 ? void 0 : _a.legal_address) === null || _b === void 0 ? void 0 : _b.line1 })), h("div", { key: '6cdc7bd96fbcdccf3d2da67ce2c0c110be6f215f', class: "col-12" }, h("form-control-text", { key: '5d179741b7462cd569f43aaa16ea78a89dd2f7dd', name: "line2", label: "Address Line 2", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line2, errorText: (_d = (_c = this.errors) === null || _c === void 0 ? void 0 : _c.legal_address) === null || _d === void 0 ? void 0 : _d.line2 })), h("div", { key: '55df7defd5dff8f7b56d639319c4067b53ce8fb8', class: "col-12" }, h("form-control-text", { key: 'dfb822432d69a8e53424faa4e5ffb00d25601836', name: "city", label: "City", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.city, errorText: (_f = (_e = this.errors) === null || _e === void 0 ? void 0 : _e.legal_address) === null || _f === void 0 ? void 0 : _f.city })), h("div", { key: '533670b7a9b60d45bf05684b48c2034f99d4b484', class: "col-12" }, h("form-control-select", { key: 'f10ed112c00c798c1b482f8893ef04737deb1dc5', name: "state", label: "State", options: StateOptions, inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.state, errorText: (_h = (_g = this.errors) === null || _g === void 0 ? void 0 : _g.legal_address) === null || _h === void 0 ? void 0 : _h.state })), h("div", { key: '7d67e97ebbb48402ede6aed07fe72154cf3424fa', class: "col-12" }, h("form-control-text", { key: '5bccb6167aac8b9f64254dc93376f51b6489c0c9', name: "postal_code", label: "Postal Code", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.postal_code, errorText: (_k = (_j = this.errors) === null || _j === void 0 ? void 0 : _j.legal_address) === null || _k === void 0 ? void 0 : _k.postal_code, maxLength: 5, keyDownHandler: numberOnlyHandler })), h("div", { key: '8a03c711d712e013590d5489d3bffa5145ac0a7a', class: "col-12" }, h("form-control-select", { key: 'e58697ad7a448ab860a8f72a053dbaf030faabbd', name: "country", label: "Country", options: [{ label: 'United States', value: 'USA' }], inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.country, errorText: (_m = (_l = this.errors) === null || _l === void 0 ? void 0 : _l.legal_address) === null || _m === void 0 ? void 0 : _m.country,
|
|
30
|
+
// just for now so we skip handling country specificities
|
|
31
|
+
disabled: true }))))));
|
|
29
32
|
}
|
|
30
33
|
}, [256, "justifi-legal-address-form", {
|
|
31
34
|
"formController": [8, "form-controller"],
|
|
32
|
-
"country": [1],
|
|
33
35
|
"errors": [32],
|
|
34
36
|
"legal_address": [32]
|
|
35
37
|
}]);
|
|
@@ -37,7 +39,7 @@ function defineCustomElement() {
|
|
|
37
39
|
if (typeof customElements === "undefined") {
|
|
38
40
|
return;
|
|
39
41
|
}
|
|
40
|
-
const components = ["justifi-legal-address-form", "custom-popper", "form-control-select", "form-control-text", "form-control-tooltip"
|
|
42
|
+
const components = ["justifi-legal-address-form", "custom-popper", "form-control-select", "form-control-text", "form-control-tooltip"];
|
|
41
43
|
components.forEach(tagName => { switch (tagName) {
|
|
42
44
|
case "justifi-legal-address-form":
|
|
43
45
|
if (!customElements.get(tagName)) {
|
|
@@ -45,26 +47,21 @@ function defineCustomElement() {
|
|
|
45
47
|
}
|
|
46
48
|
break;
|
|
47
49
|
case "custom-popper":
|
|
48
|
-
if (!customElements.get(tagName)) {
|
|
49
|
-
defineCustomElement$5();
|
|
50
|
-
}
|
|
51
|
-
break;
|
|
52
|
-
case "form-control-select":
|
|
53
50
|
if (!customElements.get(tagName)) {
|
|
54
51
|
defineCustomElement$4();
|
|
55
52
|
}
|
|
56
53
|
break;
|
|
57
|
-
case "form-control-
|
|
54
|
+
case "form-control-select":
|
|
58
55
|
if (!customElements.get(tagName)) {
|
|
59
56
|
defineCustomElement$3();
|
|
60
57
|
}
|
|
61
58
|
break;
|
|
62
|
-
case "form-control-
|
|
59
|
+
case "form-control-text":
|
|
63
60
|
if (!customElements.get(tagName)) {
|
|
64
61
|
defineCustomElement$2();
|
|
65
62
|
}
|
|
66
63
|
break;
|
|
67
|
-
case "
|
|
64
|
+
case "form-control-tooltip":
|
|
68
65
|
if (!customElements.get(tagName)) {
|
|
69
66
|
defineCustomElement$1();
|
|
70
67
|
}
|
|
@@ -193,7 +193,7 @@ const ModularCheckout = /*@__PURE__*/ proxyCustomElement(class ModularCheckout e
|
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
195
|
updateStore(checkout) {
|
|
196
|
-
var _a, _b, _c, _d, _e;
|
|
196
|
+
var _a, _b, _c, _d, _e, _f;
|
|
197
197
|
checkoutStore.accountId = checkout.account_id;
|
|
198
198
|
checkoutStore.checkoutLoaded = true;
|
|
199
199
|
checkoutStore.paymentMethods = checkout.payment_methods.map((paymentMethod) => new PaymentMethod(paymentMethod));
|
|
@@ -204,11 +204,12 @@ const ModularCheckout = /*@__PURE__*/ proxyCustomElement(class ModularCheckout e
|
|
|
204
204
|
checkoutStore.bnplEnabled = checkout.payment_settings.bnpl_payments;
|
|
205
205
|
checkoutStore.insuranceEnabled = checkout.payment_settings.insurance_payments;
|
|
206
206
|
checkoutStore.bankAccountVerification = (_a = checkout.payment_settings) === null || _a === void 0 ? void 0 : _a.bank_account_verification;
|
|
207
|
-
checkoutStore.
|
|
208
|
-
checkoutStore.
|
|
209
|
-
checkoutStore.
|
|
207
|
+
checkoutStore.applePayEnabled = (_b = checkout.payment_settings) === null || _b === void 0 ? void 0 : _b.apple_payments;
|
|
208
|
+
checkoutStore.bnplProviderClientId = (_c = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _c === void 0 ? void 0 : _c.provider_client_id;
|
|
209
|
+
checkoutStore.bnplProviderMode = (_d = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _d === void 0 ? void 0 : _d.provider_mode;
|
|
210
|
+
checkoutStore.bnplProviderApiVersion = (_e = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _e === void 0 ? void 0 : _e.provider_api_version;
|
|
210
211
|
checkoutStore.bnplProviderCheckoutUrl =
|
|
211
|
-
(
|
|
212
|
+
(_f = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _f === void 0 ? void 0 : _f.provider_checkout_url;
|
|
212
213
|
}
|
|
213
214
|
emitCheckoutChanged() {
|
|
214
215
|
const detail = {
|
|
@@ -419,7 +420,7 @@ const ModularCheckout = /*@__PURE__*/ proxyCustomElement(class ModularCheckout e
|
|
|
419
420
|
});
|
|
420
421
|
}
|
|
421
422
|
render() {
|
|
422
|
-
return h(Host, { key: '
|
|
423
|
+
return h(Host, { key: 'a3619798ffe1de168262d61d7855209b46b01ab5' });
|
|
423
424
|
}
|
|
424
425
|
get hostEl() { return this; }
|
|
425
426
|
}, [256, "justifi-modular-checkout", {
|
|
@@ -13,13 +13,14 @@ const OwnerDetails = /*@__PURE__*/ proxyCustomElement(class OwnerDetails extends
|
|
|
13
13
|
var _a;
|
|
14
14
|
if (!((_a = this === null || this === void 0 ? void 0 : this.owners) === null || _a === void 0 ? void 0 : _a.length))
|
|
15
15
|
return null;
|
|
16
|
-
return (h(Host, null, !!(this === null || this === void 0 ? void 0 : this.owners.length) &&
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
16
|
+
return (h(Host, null, !!(this === null || this === void 0 ? void 0 : this.owners.length) &&
|
|
17
|
+
this.owners.map((owner) => {
|
|
18
|
+
var _a, _b, _c, _d, _e;
|
|
19
|
+
return [
|
|
20
|
+
h(DetailSectionTitle, { sectionTitle: `Owner ${owner === null || owner === void 0 ? void 0 : owner.name}'s Details` }),
|
|
21
|
+
h("div", { class: "d-flex flex-column gap-2 w-100 mt-3" }, h("div", { class: "col-md-6" }, h(DetailItem, { title: "Name", value: owner === null || owner === void 0 ? void 0 : owner.name }), h(DetailItem, { title: "Title", value: owner === null || owner === void 0 ? void 0 : owner.title }), h(DetailItem, { title: "Email", value: owner === null || owner === void 0 ? void 0 : owner.email }), h(DetailItem, { title: "Phone", value: owner === null || owner === void 0 ? void 0 : owner.phone }), h(DetailItem, { title: "Date of Birth", value: formatMediumDate(new Date(Number(owner === null || owner === void 0 ? void 0 : owner.dob_day), Number(owner === null || owner === void 0 ? void 0 : owner.dob_month), Number(owner === null || owner === void 0 ? void 0 : owner.dob_year))) }), h(DetailItem, { title: "Identification Number", value: `********${owner === null || owner === void 0 ? void 0 : owner.ssn_last4}` }), h(DetailItem, { title: "Line 1", value: (_a = owner === null || owner === void 0 ? void 0 : owner.address) === null || _a === void 0 ? void 0 : _a.line1 }), h(DetailItem, { title: "Line 2", value: (_b = owner === null || owner === void 0 ? void 0 : owner.address) === null || _b === void 0 ? void 0 : _b.line2 }), h(DetailItem, { title: "City", value: (_c = owner === null || owner === void 0 ? void 0 : owner.address) === null || _c === void 0 ? void 0 : _c.city }), h(DetailItem, { title: "State", value: (_d = owner === null || owner === void 0 ? void 0 : owner.address) === null || _d === void 0 ? void 0 : _d.state }), h(DetailItem, { title: "Zip", value: (_e = owner === null || owner === void 0 ? void 0 : owner.address) === null || _e === void 0 ? void 0 : _e.postal_code }))),
|
|
22
|
+
];
|
|
23
|
+
})));
|
|
23
24
|
}
|
|
24
25
|
}, [256, "owner-details", {
|
|
25
26
|
"owners": [16]
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { F as FormController } from './form.js';
|
|
3
3
|
import { O as Owner } from './Business.js';
|
|
4
|
-
import { i as
|
|
4
|
+
import { i as identitySchema } from './business-identity-schema.js';
|
|
5
5
|
import { B as Button } from './button.js';
|
|
6
|
-
import {
|
|
6
|
+
import { X as heading3 } from './parts.js';
|
|
7
7
|
import './details.js';
|
|
8
8
|
import './event-types.js';
|
|
9
9
|
import './justifi-radio-list-item2.js';
|
|
10
10
|
import { a as BusinessFormClickActions } from './event-types2.js';
|
|
11
|
-
import { d as defineCustomElement$
|
|
12
|
-
import { d as defineCustomElement$
|
|
13
|
-
import { d as defineCustomElement$
|
|
14
|
-
import { d as defineCustomElement$
|
|
15
|
-
import { d as defineCustomElement$
|
|
16
|
-
import { d as defineCustomElement$
|
|
17
|
-
import { d as defineCustomElement$3 } from './form-address-fields.js';
|
|
11
|
+
import { d as defineCustomElement$8 } from './custom-popper2.js';
|
|
12
|
+
import { d as defineCustomElement$7 } from './form-control-date2.js';
|
|
13
|
+
import { d as defineCustomElement$6 } from './form-control-number-masked2.js';
|
|
14
|
+
import { d as defineCustomElement$5 } from './form-control-select2.js';
|
|
15
|
+
import { d as defineCustomElement$4 } from './form-control-text2.js';
|
|
16
|
+
import { d as defineCustomElement$3 } from './form-control-tooltip2.js';
|
|
18
17
|
import { d as defineCustomElement$2 } from './identity-address-form.js';
|
|
19
18
|
import { d as defineCustomElement$1 } from './owner-form-inputs2.js';
|
|
20
19
|
|
|
@@ -158,15 +157,14 @@ const BusinessOwnerFormCore = /*@__PURE__*/ proxyCustomElement(class BusinessOwn
|
|
|
158
157
|
}
|
|
159
158
|
}
|
|
160
159
|
componentWillLoad() {
|
|
161
|
-
|
|
162
|
-
this.formController = new FormController(schemaFactory('owner', this.allowOptionalFields));
|
|
160
|
+
this.formController = new FormController(identitySchema('owner', this.allowOptionalFields));
|
|
163
161
|
this.ownerId ? this.getData() : this.instantiateOwner({});
|
|
164
162
|
}
|
|
165
163
|
componentDidLoad() {
|
|
166
164
|
this.formController.errors.subscribe(errors => (this.errors = Object.assign({}, errors)));
|
|
167
165
|
}
|
|
168
166
|
render() {
|
|
169
|
-
return (h("form", { key: '
|
|
167
|
+
return (h("form", { key: '08673bb0eb61a77b3ed37702606808f28caf507b', onSubmit: this.validateAndSubmit }, h("fieldset", { key: '73e9707a99d56c7eca7737fc02b77a9d69931ef6' }, h("legend", { key: '3d85ec901c9051e30472623c740194e48cc60790', class: "fw-semibold fs-5", part: heading3 }, this.formTitle), h("br", { key: 'a7256d1bfa79edd90c70eab491d533d2bcd07a94' }), h("div", { key: 'b74744930ecd1ac1ef08d8e356d5eeb7f5417c39', class: "row gy-3" }, h("owner-form-inputs", { key: 'a9fdfe906615eb494f74001396b41a433fb5366b', ownerDefaultValue: this.formController.getInitialValues(), errors: this.errors, formController: this.formController }), h("div", { key: '32fe5564d5feb8056f2401a6dd219dae0d0d10b0', class: "d-flex gap-2 justify-content-start" }, h(Button, { key: '9e2c1d664b382260fb82c735454dbbf478e99fdd', variant: "secondary", type: "button", onClick: this.handleRemoveOwner, hidden: !this.showRemoveButton }, "Remove"), h(Button, { key: 'db94849f699044848b46e87b285bd0ee30d66b92', variant: "primary", type: "submit", onClick: this.handleAddOwner, disabled: this.isLoading }, this.submitButtonText))), h("hr", { key: '9e62fbf6cb1b1d5fa8fc4b676a72cf4350058937' }))));
|
|
170
168
|
}
|
|
171
169
|
static get watchers() { return {
|
|
172
170
|
"isLoading": ["loadingWatcher"]
|
|
@@ -181,7 +179,6 @@ const BusinessOwnerFormCore = /*@__PURE__*/ proxyCustomElement(class BusinessOwn
|
|
|
181
179
|
"removeOwner": [16],
|
|
182
180
|
"newFormOpen": [4, "new-form-open"],
|
|
183
181
|
"ownersLength": [2, "owners-length"],
|
|
184
|
-
"country": [1],
|
|
185
182
|
"isLoading": [32],
|
|
186
183
|
"formController": [32],
|
|
187
184
|
"errors": [32],
|
|
@@ -197,7 +194,7 @@ function defineCustomElement() {
|
|
|
197
194
|
if (typeof customElements === "undefined") {
|
|
198
195
|
return;
|
|
199
196
|
}
|
|
200
|
-
const components = ["owner-form-core", "custom-popper", "form-control-date", "form-control-number-masked", "form-control-select", "form-control-text", "form-control-tooltip", "justifi-
|
|
197
|
+
const components = ["owner-form-core", "custom-popper", "form-control-date", "form-control-number-masked", "form-control-select", "form-control-text", "form-control-tooltip", "justifi-identity-address-form", "owner-form-inputs"];
|
|
201
198
|
components.forEach(tagName => { switch (tagName) {
|
|
202
199
|
case "owner-form-core":
|
|
203
200
|
if (!customElements.get(tagName)) {
|
|
@@ -205,36 +202,31 @@ function defineCustomElement() {
|
|
|
205
202
|
}
|
|
206
203
|
break;
|
|
207
204
|
case "custom-popper":
|
|
208
|
-
if (!customElements.get(tagName)) {
|
|
209
|
-
defineCustomElement$9();
|
|
210
|
-
}
|
|
211
|
-
break;
|
|
212
|
-
case "form-control-date":
|
|
213
205
|
if (!customElements.get(tagName)) {
|
|
214
206
|
defineCustomElement$8();
|
|
215
207
|
}
|
|
216
208
|
break;
|
|
217
|
-
case "form-control-
|
|
209
|
+
case "form-control-date":
|
|
218
210
|
if (!customElements.get(tagName)) {
|
|
219
211
|
defineCustomElement$7();
|
|
220
212
|
}
|
|
221
213
|
break;
|
|
222
|
-
case "form-control-
|
|
214
|
+
case "form-control-number-masked":
|
|
223
215
|
if (!customElements.get(tagName)) {
|
|
224
216
|
defineCustomElement$6();
|
|
225
217
|
}
|
|
226
218
|
break;
|
|
227
|
-
case "form-control-
|
|
219
|
+
case "form-control-select":
|
|
228
220
|
if (!customElements.get(tagName)) {
|
|
229
221
|
defineCustomElement$5();
|
|
230
222
|
}
|
|
231
223
|
break;
|
|
232
|
-
case "form-control-
|
|
224
|
+
case "form-control-text":
|
|
233
225
|
if (!customElements.get(tagName)) {
|
|
234
226
|
defineCustomElement$4();
|
|
235
227
|
}
|
|
236
228
|
break;
|
|
237
|
-
case "
|
|
229
|
+
case "form-control-tooltip":
|
|
238
230
|
if (!customElements.get(tagName)) {
|
|
239
231
|
defineCustomElement$3();
|
|
240
232
|
}
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
-
import { P as PHONE_MASKS,
|
|
2
|
+
import { P as PHONE_MASKS, S as SSN_MASK } from './form-input-masks.js';
|
|
3
3
|
import { u as updateFormValues, a as updateAddressFormValues, b as updateDateOfBirthFormValues } from './input-handlers.js';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { d as defineCustomElement$
|
|
7
|
-
import { d as defineCustomElement$
|
|
8
|
-
import { d as defineCustomElement$
|
|
9
|
-
import { d as defineCustomElement$
|
|
10
|
-
import { d as defineCustomElement$4 } from './form-control-text2.js';
|
|
11
|
-
import { d as defineCustomElement$3 } from './form-control-tooltip2.js';
|
|
12
|
-
import { d as defineCustomElement$2 } from './form-address-fields.js';
|
|
4
|
+
import { d as defineCustomElement$7 } from './custom-popper2.js';
|
|
5
|
+
import { d as defineCustomElement$6 } from './form-control-date2.js';
|
|
6
|
+
import { d as defineCustomElement$5 } from './form-control-number-masked2.js';
|
|
7
|
+
import { d as defineCustomElement$4 } from './form-control-select2.js';
|
|
8
|
+
import { d as defineCustomElement$3 } from './form-control-text2.js';
|
|
9
|
+
import { d as defineCustomElement$2 } from './form-control-tooltip2.js';
|
|
13
10
|
import { d as defineCustomElement$1 } from './identity-address-form.js';
|
|
14
11
|
|
|
15
12
|
const BusinessOwnerFormInputs = /*@__PURE__*/ proxyCustomElement(class BusinessOwnerFormInputs extends HTMLElement {
|
|
@@ -18,7 +15,6 @@ const BusinessOwnerFormInputs = /*@__PURE__*/ proxyCustomElement(class BusinessO
|
|
|
18
15
|
if (registerHost !== false) {
|
|
19
16
|
this.__registerHost();
|
|
20
17
|
}
|
|
21
|
-
this.isEditingIdentification = false;
|
|
22
18
|
this.inputHandler = (name, value) => {
|
|
23
19
|
updateFormValues(this.formController, { [name]: value });
|
|
24
20
|
};
|
|
@@ -27,29 +23,19 @@ const BusinessOwnerFormInputs = /*@__PURE__*/ proxyCustomElement(class BusinessO
|
|
|
27
23
|
};
|
|
28
24
|
}
|
|
29
25
|
render() {
|
|
30
|
-
|
|
31
|
-
return (h("div", { key: '81c659f924f51a559e3e958b5d608f7c68022093', class: "row gy-3" }, h("div", { key: '9c89bc8e39cb584bf81852784a335599308681ff', class: "col-12 col-md-8" }, h("form-control-text", { key: 'a02d86ccbbcda1219a2e4e2885d0ffb54bcc3942', name: "name", label: "Full Name", defaultValue: this.ownerDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '7281855c61b30b689809aa9fd3d4fce3927fcb8f', class: "col-12 col-md-4" }, h("form-control-text", { key: 'c91163386bd23653e3eaca4cf66c9690c28ed6f7', 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: 'c998576d6f8442f255685a31a4bb0463175163f5', class: "col-12 col-md-6" }, h("form-control-text", { key: '345003706db0198c9de5e4234f3fe3efbacc51c7', name: "email", label: "Email Address", defaultValue: this.ownerDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '8bccc4ebd45c92924e921f7fffa7f5214406c9e2', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'adaf6251217a5396c36ee7e9c0963cf2c948d9cd', name: "phone", label: "Phone Number", defaultValue: this.ownerDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: 'd87f294ba9bf27df562f3e9b0ea4e286c1c6a725', class: "col-12 col-md-4" }, h("form-control-date", { key: '0681a51f830eb1b358c525deb46baa06f7bc9977', 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: '090785d6d86ec3122c3884ec8ba46df43f71d08e', class: "col-12 col-md-8" }, (!((_a = this.ownerDefaultValue) === null || _a === void 0 ? void 0 : _a.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: `****${(_b = this.ownerDefaultValue) === null || _b === void 0 ? void 0 : _b.ssn_last4}`, disabled: true }), h("button", { class: "btn btn-secondary", type: "button", part: buttonSecondary, onClick: () => {
|
|
32
|
-
this.isEditingIdentification = true;
|
|
33
|
-
// Clear last4 and current value to force validation
|
|
34
|
-
updateFormValues(this.formController, {
|
|
35
|
-
ssn_last4: null,
|
|
36
|
-
identification_number: ''
|
|
37
|
-
});
|
|
38
|
-
} }, "Change"))))), h("div", { key: '3d5eabefcd198d1a27bfe158c92e3c18a0a14e69', class: "col-12" }, h("justifi-identity-address-form", { key: '10158bd6a40fa0ca00d7e9feb04d7c22e51d5829', errors: this.errors.address, defaultValues: this.ownerDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))));
|
|
26
|
+
return (h("div", { key: '2f3679b3d4fb45dd55ada0d3752017c9ba94be9e', class: "row gy-3" }, h("div", { key: '4ae3a6fbad22e94321940a46ea79bcc82049ba40', class: "col-12 col-md-8" }, h("form-control-text", { key: 'bad30c901a7341aabe09a20b9b075212092ed475', name: "name", label: "Full Name", defaultValue: this.ownerDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '025366d57d5ceb0932b105410f8948cc092d84f3', class: "col-12 col-md-4" }, h("form-control-text", { key: '7c746f5b8fe06c71e800123b46ea40e701c675ef', 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: '97808fe13be4a772d820f92003320e1b2d6dff5c', class: "col-12 col-md-6" }, h("form-control-text", { key: '264e975df8cd9ca53cb05b60824055028839d3ca', name: "email", label: "Email Address", defaultValue: this.ownerDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '3a045af74578f3bec4c66848cec5460a1588800d', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '17627d6bfc876106ec40e63dcb6a3fb1b7b7f009', name: "phone", label: "Phone Number", defaultValue: this.ownerDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '394b0454272509ff5d99cd63e2f3d1f2f1d0dff1', class: "col-12 col-md-4" }, h("form-control-date", { key: 'b079e3422551e8be640d34461adbbbeb86f659b4', 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: 'fdaf32d03ac0d562ecc6c14f552a891f7ab0e31f', class: "col-12 col-md-8" }, h("form-control-number-masked", { key: '18c3a9019fb9d0abc8654d59b504bfba27ca9661', name: "identification_number", label: "SSN", defaultValue: this.ownerDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: SSN_MASK, helpText: "Enter your full Social Security Number. It is required for Federal OFAC check." })), h("div", { key: '5f5f2815471a5b4a7b18db1aba58597e429b425b', class: "col-12" }, h("justifi-identity-address-form", { key: '663d4185f2a96a260b118e0e4a9437dbff3d1906', errors: this.errors.address, defaultValues: this.ownerDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate }))));
|
|
39
27
|
}
|
|
40
28
|
;
|
|
41
29
|
}, [256, "owner-form-inputs", {
|
|
42
30
|
"ownerDefaultValue": [8, "owner-default-value"],
|
|
43
31
|
"errors": [8],
|
|
44
|
-
"formController": [8, "form-controller"]
|
|
45
|
-
"country": [1],
|
|
46
|
-
"isEditingIdentification": [32]
|
|
32
|
+
"formController": [8, "form-controller"]
|
|
47
33
|
}]);
|
|
48
34
|
function defineCustomElement() {
|
|
49
35
|
if (typeof customElements === "undefined") {
|
|
50
36
|
return;
|
|
51
37
|
}
|
|
52
|
-
const components = ["owner-form-inputs", "custom-popper", "form-control-date", "form-control-number-masked", "form-control-select", "form-control-text", "form-control-tooltip", "justifi-
|
|
38
|
+
const components = ["owner-form-inputs", "custom-popper", "form-control-date", "form-control-number-masked", "form-control-select", "form-control-text", "form-control-tooltip", "justifi-identity-address-form"];
|
|
53
39
|
components.forEach(tagName => { switch (tagName) {
|
|
54
40
|
case "owner-form-inputs":
|
|
55
41
|
if (!customElements.get(tagName)) {
|
|
@@ -57,36 +43,31 @@ function defineCustomElement() {
|
|
|
57
43
|
}
|
|
58
44
|
break;
|
|
59
45
|
case "custom-popper":
|
|
60
|
-
if (!customElements.get(tagName)) {
|
|
61
|
-
defineCustomElement$8();
|
|
62
|
-
}
|
|
63
|
-
break;
|
|
64
|
-
case "form-control-date":
|
|
65
46
|
if (!customElements.get(tagName)) {
|
|
66
47
|
defineCustomElement$7();
|
|
67
48
|
}
|
|
68
49
|
break;
|
|
69
|
-
case "form-control-
|
|
50
|
+
case "form-control-date":
|
|
70
51
|
if (!customElements.get(tagName)) {
|
|
71
52
|
defineCustomElement$6();
|
|
72
53
|
}
|
|
73
54
|
break;
|
|
74
|
-
case "form-control-
|
|
55
|
+
case "form-control-number-masked":
|
|
75
56
|
if (!customElements.get(tagName)) {
|
|
76
57
|
defineCustomElement$5();
|
|
77
58
|
}
|
|
78
59
|
break;
|
|
79
|
-
case "form-control-
|
|
60
|
+
case "form-control-select":
|
|
80
61
|
if (!customElements.get(tagName)) {
|
|
81
62
|
defineCustomElement$4();
|
|
82
63
|
}
|
|
83
64
|
break;
|
|
84
|
-
case "form-control-
|
|
65
|
+
case "form-control-text":
|
|
85
66
|
if (!customElements.get(tagName)) {
|
|
86
67
|
defineCustomElement$3();
|
|
87
68
|
}
|
|
88
69
|
break;
|
|
89
|
-
case "
|
|
70
|
+
case "form-control-tooltip":
|
|
90
71
|
if (!customElements.get(tagName)) {
|
|
91
72
|
defineCustomElement$2();
|
|
92
73
|
}
|