@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,12 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index_esm = require('./index.esm-ByC0D4sJ.js');
|
|
4
|
-
var schemaValidations = require('./schema-validations-
|
|
5
|
-
var Business = require('./Business-DWHy_-z9.js');
|
|
6
|
-
var countryConfig = require('./country-config-MCOhn8o3.js');
|
|
4
|
+
var schemaValidations = require('./schema-validations-Bj7eYNO8.js');
|
|
7
5
|
|
|
8
|
-
|
|
9
|
-
const baseBusinessCoreInfoSchema = (allowOptionalFields) => {
|
|
6
|
+
const businessCoreInfoSchema = (allowOptionalFields) => {
|
|
10
7
|
const schema = index_esm.create$3({
|
|
11
8
|
legal_name: schemaValidations.businessNameValidation.required('Enter legal name'),
|
|
12
9
|
website_url: schemaValidations.websiteUrlValidation.required('Enter business website url'),
|
|
@@ -15,6 +12,7 @@ const baseBusinessCoreInfoSchema = (allowOptionalFields) => {
|
|
|
15
12
|
doing_business_as: schemaValidations.doingBusinessAsValidation.nullable(),
|
|
16
13
|
classification: schemaValidations.businessClassificationValidation.required('Select business classification'),
|
|
17
14
|
industry: schemaValidations.industryValidation.required('Enter a business industry'),
|
|
15
|
+
tax_id: schemaValidations.taxIdValidation.required('Enter valid tax ID (SSN or EIN) without dashes'),
|
|
18
16
|
date_of_incorporation: schemaValidations.dateOfIncorporationValidation.required('Enter date of incorporation'),
|
|
19
17
|
});
|
|
20
18
|
const easySchema = index_esm.create$3({
|
|
@@ -30,25 +28,6 @@ const baseBusinessCoreInfoSchema = (allowOptionalFields) => {
|
|
|
30
28
|
});
|
|
31
29
|
return allowOptionalFields ? easySchema : schema;
|
|
32
30
|
};
|
|
33
|
-
// Country-specific schema convenience wrappers
|
|
34
|
-
const businessCoreInfoSchemaUSA = (allowOptionalFields) => baseBusinessCoreInfoSchema(allowOptionalFields).concat(index_esm.create$3({
|
|
35
|
-
classification: index_esm.create$6().required('Select business classification'),
|
|
36
|
-
tax_id: schemaValidations.makeTaxIdValidation(Business.CountryCode.USA)
|
|
37
|
-
.when('tax_id_last4', {
|
|
38
|
-
is: (val) => !val,
|
|
39
|
-
then: (schema) => schema.required(`Enter valid ${countryConfig.countryLabels.USA.taxIdLabel} without dashes`),
|
|
40
|
-
otherwise: (schema) => schema.nullable(),
|
|
41
|
-
}),
|
|
42
|
-
}));
|
|
43
|
-
const businessCoreInfoSchemaCAN = (allowOptionalFields) => baseBusinessCoreInfoSchema(allowOptionalFields).concat(index_esm.create$3({
|
|
44
|
-
classification: index_esm.create$6().required('Select business classification'),
|
|
45
|
-
tax_id: schemaValidations.makeTaxIdValidation(Business.CountryCode.CAN)
|
|
46
|
-
.when('tax_id_last4', {
|
|
47
|
-
is: (val) => !val,
|
|
48
|
-
then: (schema) => schema.required(`Enter valid ${countryConfig.countryLabels.CAN.taxIdLabel} without dashes`),
|
|
49
|
-
otherwise: (schema) => schema.nullable(),
|
|
50
|
-
}),
|
|
51
|
-
}));
|
|
52
31
|
|
|
53
32
|
const additionalQuestionsSchema = (allowOptionalFields) => {
|
|
54
33
|
const schema = index_esm.create$3({
|
|
@@ -73,5 +52,4 @@ const additionalQuestionsSchema = (allowOptionalFields) => {
|
|
|
73
52
|
};
|
|
74
53
|
|
|
75
54
|
exports.additionalQuestionsSchema = additionalQuestionsSchema;
|
|
76
|
-
exports.
|
|
77
|
-
exports.businessCoreInfoSchemaUSA = businessCoreInfoSchemaUSA;
|
|
55
|
+
exports.businessCoreInfoSchema = businessCoreInfoSchema;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var utils = require('./utils-
|
|
5
|
-
var styledHost = require('./styled-host-
|
|
3
|
+
var index = require('./index-Bhtk1qkX.js');
|
|
4
|
+
var utils = require('./utils-CUcA4G_O.js');
|
|
5
|
+
var styledHost = require('./styled-host-BSooSIhA.js');
|
|
6
6
|
require('./event-types-YOY5TKUN.js');
|
|
7
|
-
var skeleton = require('./skeleton-
|
|
8
|
-
require('./parts-
|
|
7
|
+
var skeleton = require('./skeleton-BvdAh448.js');
|
|
8
|
+
require('./parts-Pb06tUMp.js');
|
|
9
9
|
|
|
10
10
|
const BusinessDetailsLoading = () => {
|
|
11
11
|
const Block = () => (index.h("div", { class: "mt-5" }, index.h(skeleton.Skeleton, { width: "40%", height: "1.5rem" }), index.h("hr", null), index.h("div", { class: "row g-3" }, index.h("div", { class: "col-12 col-md-6" }, index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null)), index.h("div", { class: "col-12 col-md-6" }, index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null)))));
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index_esm = require('./index.esm-ByC0D4sJ.js');
|
|
4
|
+
var schemaValidations = require('./schema-validations-Bj7eYNO8.js');
|
|
5
|
+
|
|
6
|
+
const addressSchema = (allowOptionalFields) => {
|
|
7
|
+
const schema = index_esm.create$3({
|
|
8
|
+
line1: schemaValidations.lineOneValidation.required('Enter street address'),
|
|
9
|
+
line2: schemaValidations.lineTwoValidation.nullable(),
|
|
10
|
+
city: schemaValidations.cityValidation.required('Enter city'),
|
|
11
|
+
state: schemaValidations.stateValidation.required('Select state'),
|
|
12
|
+
postal_code: schemaValidations.postalValidation.required('Enter postal code'),
|
|
13
|
+
country: index_esm.create$6().required('Select country')
|
|
14
|
+
});
|
|
15
|
+
const easySchema = index_esm.create$3({
|
|
16
|
+
line1: schemaValidations.lineOneValidation.nullable(),
|
|
17
|
+
line2: schemaValidations.lineTwoValidation.nullable(),
|
|
18
|
+
city: schemaValidations.cityValidation.nullable(),
|
|
19
|
+
state: schemaValidations.stateValidation.nullable(),
|
|
20
|
+
postal_code: schemaValidations.postalValidation.nullable(),
|
|
21
|
+
country: index_esm.create$6().required('Select country')
|
|
22
|
+
});
|
|
23
|
+
return allowOptionalFields ? easySchema : schema;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
const identitySchema = (role, allowOptionalFields) => {
|
|
27
|
+
const schema = index_esm.create$3({
|
|
28
|
+
name: schemaValidations.identityNameValidation.required(`Enter ${role} name`),
|
|
29
|
+
title: schemaValidations.identityTitleValidation.required(`Enter ${role} title`),
|
|
30
|
+
email: schemaValidations.emailValidation.required(`Enter ${role} email`),
|
|
31
|
+
phone: schemaValidations.phoneValidation.required('Enter phone number'),
|
|
32
|
+
dob_full: schemaValidations.dobValidation(role).required('Enter date of birth'),
|
|
33
|
+
ssn_last4: index_esm.create$6().nullable(),
|
|
34
|
+
identification_number: schemaValidations.ssnValidation,
|
|
35
|
+
address: addressSchema(allowOptionalFields),
|
|
36
|
+
});
|
|
37
|
+
const easySchema = index_esm.create$3({
|
|
38
|
+
name: schemaValidations.identityNameValidation.required(`Enter ${role} name`),
|
|
39
|
+
title: schemaValidations.identityTitleValidation.nullable(),
|
|
40
|
+
email: schemaValidations.emailValidation.nullable(),
|
|
41
|
+
phone: schemaValidations.phoneValidation.nullable(),
|
|
42
|
+
dob_full: schemaValidations.dobValidation(role).nullable(),
|
|
43
|
+
ssn_last4: index_esm.create$6().nullable(),
|
|
44
|
+
identification_number: schemaValidations.ssnValidation.nullable(),
|
|
45
|
+
address: addressSchema(allowOptionalFields),
|
|
46
|
+
});
|
|
47
|
+
return allowOptionalFields ? easySchema : schema;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
exports.addressSchema = addressSchema;
|
|
51
|
+
exports.identitySchema = identitySchema;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Api = require('./Api-
|
|
3
|
+
var Api = require('./Api-CjtvTD2_.js');
|
|
4
4
|
require('./ComponentError-D4OLnOkg.js');
|
|
5
|
-
require('./Refund-
|
|
5
|
+
require('./Refund-BnhHNKLz.js');
|
|
6
6
|
require('./Pagination-Dediz133.js');
|
|
7
|
-
require('./Business-
|
|
7
|
+
require('./Business-DCRzZf0w.js');
|
|
8
8
|
require('./Dispute-CruQTF6_.js');
|
|
9
9
|
|
|
10
10
|
const api = Api.Api();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var parts = require('./parts-
|
|
3
|
+
var index = require('./index-Bhtk1qkX.js');
|
|
4
|
+
var parts = require('./parts-Pb06tUMp.js');
|
|
5
5
|
|
|
6
6
|
const ButtonSpinner = () => (index.h("div", { class: "spinner-border spinner-border-sm", role: "status", part: "button-spinner" }, index.h("span", { class: "visually-hidden" }, "Loading...")));
|
|
7
7
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var skeleton = require('./skeleton-
|
|
5
|
-
var configState = require('./config-state-
|
|
6
|
-
var utils = require('./utils-
|
|
7
|
-
require('./parts-
|
|
8
|
-
require('./index-
|
|
3
|
+
var index = require('./index-Bhtk1qkX.js');
|
|
4
|
+
var skeleton = require('./skeleton-BvdAh448.js');
|
|
5
|
+
var configState = require('./config-state-C7babhLh.js');
|
|
6
|
+
var utils = require('./utils-Bab-tddY.js');
|
|
7
|
+
require('./parts-Pb06tUMp.js');
|
|
8
|
+
require('./index-CWM5ions.js');
|
|
9
9
|
require('./dinero-BwNN_k7x.js');
|
|
10
10
|
|
|
11
11
|
const CardFormSkeleton = (props) => {
|
|
@@ -52,10 +52,10 @@ const CardForm = class {
|
|
|
52
52
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
53
53
|
}
|
|
54
54
|
render() {
|
|
55
|
-
return (index.h(index.Host, { key: '
|
|
55
|
+
return (index.h(index.Host, { key: '4867571cdff85823d48b139c1b6e591ff73ca426' }, index.h(CardFormSkeleton, { key: '37b584aa3865acc9266500f734c7a10e49fa139d', isReady: this.isReady }), index.h("div", { key: '09b5e58ed9df060922e2579880b68f022cff2940', class: "container-fluid p-0", style: {
|
|
56
56
|
opacity: this.isReady ? '1' : '0',
|
|
57
57
|
height: this.isReady ? 'auto' : '0',
|
|
58
|
-
} }, index.h("div", { key: '
|
|
58
|
+
} }, index.h("div", { key: 'bd2f777339e421523cd92c402c4fc066cbde7053', class: "mb-3" }, index.h("iframe-input", { key: '45b822e5878806ae47f88cf5aa54fe9ae5592eda', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber?tabId=${this.tabId}` })), index.h("div", { key: 'c9e4d2afd2eef4377356114bc33f1cc29fea46b3', class: "d-flex align-items-start" }, index.h("div", { key: 'e846e807f6524b9fd6a29a0a0bd2fff74c68f11f', class: "flex-fill me-3" }, index.h("iframe-input", { key: 'd48a6f05d3ca1341d8060987b53318bf29db4881', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Exp. Month", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth?tabId=${this.tabId}` })), index.h("div", { key: '9127d9dc4ff3386db9060126a8b0ce2e2125a5c9', class: "flex-fill me-3" }, index.h("iframe-input", { key: 'ced08ea4750b594b87e19fd6e9ae49b2cb6caa72', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "Exp. Year", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear?tabId=${this.tabId}` })), index.h("div", { key: '92e07ff8ee6004f64a1e062371fd749771cdb77d', class: "flex-fill" }, index.h("iframe-input", { key: '487187ddfb9cea24cebc377950f33feb9222b299', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV?tabId=${this.tabId}` }))))));
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
61
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var _package = require('./package-
|
|
4
|
-
var Api = require('./Api-
|
|
3
|
+
var _package = require('./package-CwcyK2nz.js');
|
|
4
|
+
var Api = require('./Api-CjtvTD2_.js');
|
|
5
5
|
require('./ComponentError-D4OLnOkg.js');
|
|
6
|
-
require('./Refund-
|
|
6
|
+
require('./Refund-BnhHNKLz.js');
|
|
7
7
|
require('./Pagination-Dediz133.js');
|
|
8
|
-
require('./Business-
|
|
8
|
+
require('./Business-DCRzZf0w.js');
|
|
9
9
|
require('./Dispute-CruQTF6_.js');
|
|
10
10
|
|
|
11
11
|
const api = Api.Api();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Api = require('./Api-
|
|
3
|
+
var Api = require('./Api-CjtvTD2_.js');
|
|
4
4
|
require('./ComponentError-D4OLnOkg.js');
|
|
5
|
-
require('./Refund-
|
|
5
|
+
require('./Refund-BnhHNKLz.js');
|
|
6
6
|
require('./Pagination-Dediz133.js');
|
|
7
|
-
require('./Business-
|
|
7
|
+
require('./Business-DCRzZf0w.js');
|
|
8
8
|
require('./Dispute-CruQTF6_.js');
|
|
9
9
|
|
|
10
10
|
const api = Api.Api();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-CWM5ions.js');
|
|
4
4
|
var index$1 = require('./index-C2ITzalN.js');
|
|
5
5
|
|
|
6
6
|
const initialState = {
|
|
@@ -10,6 +10,7 @@ const initialState = {
|
|
|
10
10
|
address_postal_code: '',
|
|
11
11
|
},
|
|
12
12
|
bnplEnabled: false,
|
|
13
|
+
applePayEnabled: false,
|
|
13
14
|
insuranceEnabled: false,
|
|
14
15
|
bnplProviderApiVersion: '',
|
|
15
16
|
bnplProviderCheckoutUrl: '',
|
|
@@ -64,6 +65,9 @@ function getAvailablePaymentMethodTypes() {
|
|
|
64
65
|
if (checkoutStore.bnplEnabled) {
|
|
65
66
|
methods.push(index$1.PAYMENT_METHODS.SEZZLE);
|
|
66
67
|
}
|
|
68
|
+
if (checkoutStore.applePayEnabled) {
|
|
69
|
+
methods.push(index$1.PAYMENT_METHODS.APPLE_PAY);
|
|
70
|
+
}
|
|
67
71
|
if (checkoutStore.bankAccountVerification === true &&
|
|
68
72
|
!checkoutStore.disableBankAccount) {
|
|
69
73
|
methods.push(index$1.PAYMENT_METHODS.PLAID);
|
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
require('./config-state-
|
|
3
|
+
var index = require('./index-Bhtk1qkX.js');
|
|
4
|
+
require('./config-state-C7babhLh.js');
|
|
5
5
|
require('./dinero-BwNN_k7x.js');
|
|
6
6
|
require('./ComponentError-D4OLnOkg.js');
|
|
7
|
-
require('./Refund-
|
|
7
|
+
require('./Refund-BnhHNKLz.js');
|
|
8
8
|
var Pagination = require('./Pagination-Dediz133.js');
|
|
9
|
-
require('./Business-
|
|
9
|
+
require('./Business-DCRzZf0w.js');
|
|
10
10
|
require('./Dispute-CruQTF6_.js');
|
|
11
|
-
var table = require('./table-
|
|
11
|
+
var table = require('./table-Ccg4k90C.js');
|
|
12
12
|
var eventTypes = require('./event-types-YOY5TKUN.js');
|
|
13
|
-
var checkoutsTable = require('./checkouts-table-
|
|
14
|
-
var checkoutsListParamsState = require('./checkouts-list-params-state-
|
|
15
|
-
require('./index-
|
|
16
|
-
require('./utils-
|
|
17
|
-
require('./
|
|
18
|
-
require('./
|
|
19
|
-
require('./
|
|
13
|
+
var checkoutsTable = require('./checkouts-table-C5AHeIr0.js');
|
|
14
|
+
var checkoutsListParamsState = require('./checkouts-list-params-state-BYpq-c6X.js');
|
|
15
|
+
require('./index-CWM5ions.js');
|
|
16
|
+
require('./utils-Bab-tddY.js');
|
|
17
|
+
require('./helpers-B5OCqlIM.js');
|
|
18
|
+
require('./state-options-CIT9xdTz.js');
|
|
19
|
+
require('./parts-Pb06tUMp.js');
|
|
20
|
+
require('./spinner-Rt52JMa2.js');
|
|
21
|
+
require('./badge-CE3ss_OU.js');
|
|
20
22
|
|
|
21
23
|
const CheckoutsListCore = class {
|
|
22
24
|
constructor(hostRef) {
|
|
@@ -134,7 +136,7 @@ const CheckoutsListCore = class {
|
|
|
134
136
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
135
137
|
}
|
|
136
138
|
render() {
|
|
137
|
-
return (index.h(table.TableWrapper, { key: '
|
|
139
|
+
return (index.h(table.TableWrapper, { key: 'a77ef0f8f5b4ddf7448815c9df38097e16a38794' }, index.h(table.TableComponent, { key: '6408f3ec06f268f2f5b516fb2fe5e03dcce84bfc' }, index.h(table.TableHead, { key: '310864630e702965e885568c513d1d2d8f3805ea' }, index.h(table.TableHeadRow, { key: 'bee990fd0a1f8fbf5f21f41ce44f3d57a6bbffa6' }, this.checkoutsTable.columnData.map((column) => column))), index.h(table.TableBody, { key: '1a5fd1a0b571205238ec365f0b9688d6abe95dc3' }, index.h(table.TableLoadingState, { key: 'df07de295c2a2b6674ed60ff55678a0f67665b15', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), index.h(table.TableEmptyState, { key: 'faecb3005baf02ec425b369dcceff2de06e501eb', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), index.h(table.TableErrorState, { key: '7d0e879b9e5595550a4cbd9c9948677106859e38', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index$1) => (index.h(table.TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index$1], onClick: this.rowClickHandler }, data)))), this.paging && (index.h(table.TableFoot, { key: '3fbdfe68348692e23333bae21fbaef261fe263d4' }, index.h(table.TableFootRow, { key: '4e39fd1f73d4b2f943f909fa8d640bf488fb5469' }, index.h(table.TableFootCell, { key: 'f245bc167021ff3e1c7f139e31fe151064651dad', colSpan: this.checkoutsTable.columnData.length }, index.h("pagination-menu", { key: 'c9129910b8ffeda06c90ffaa32832b8186687de4', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
138
140
|
}
|
|
139
141
|
static get watchers() { return {
|
|
140
142
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var utils = require('./utils-
|
|
5
|
-
var badge = require('./badge-
|
|
6
|
-
var parts = require('./parts-
|
|
3
|
+
var index = require('./index-Bhtk1qkX.js');
|
|
4
|
+
var utils = require('./utils-Bab-tddY.js');
|
|
5
|
+
var badge = require('./badge-CE3ss_OU.js');
|
|
6
|
+
var parts = require('./parts-Pb06tUMp.js');
|
|
7
7
|
|
|
8
8
|
const MapCheckoutStatusToBadge = (status) => {
|
|
9
9
|
const statusToBadgeProps = {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-Bhtk1qkX.js');
|
|
4
|
+
var parts = require('./parts-Pb06tUMp.js');
|
|
4
5
|
|
|
5
6
|
var top = 'top';
|
|
6
7
|
var bottom = 'bottom';
|
|
@@ -1874,7 +1875,7 @@ const CustomPopper = class {
|
|
|
1874
1875
|
this.hideEvent.emit();
|
|
1875
1876
|
}
|
|
1876
1877
|
render() {
|
|
1877
|
-
return (index.h("div", { key: '
|
|
1878
|
+
return (index.h("div", { key: '1cffb3170b4f1335737dcbb025250d69c20a94b0' }, index.h("style", { key: '9e325676460e77d3c887934f2f9c685690731eb5' }, `
|
|
1878
1879
|
.popper-content {
|
|
1879
1880
|
display: none;
|
|
1880
1881
|
}
|
|
@@ -1882,8 +1883,27 @@ const CustomPopper = class {
|
|
|
1882
1883
|
display: block;
|
|
1883
1884
|
z-index: 1030;
|
|
1884
1885
|
}
|
|
1885
|
-
`), index.h("div", { key: '
|
|
1886
|
+
`), index.h("div", { key: '4a519440ce0d71a71b99d64bae64be06d2ab9c2f', class: "popper-content", ref: (el) => this.popperContentRef = el }, index.h("slot", { key: '99aab485a231bd1f51ef0b5465e9e00e7c8178a6' }))));
|
|
1887
|
+
}
|
|
1888
|
+
};
|
|
1889
|
+
|
|
1890
|
+
const TooltipComponent = class {
|
|
1891
|
+
constructor(hostRef) {
|
|
1892
|
+
index.registerInstance(this, hostRef);
|
|
1893
|
+
}
|
|
1894
|
+
show() {
|
|
1895
|
+
this.tooltip.classList.add('show');
|
|
1896
|
+
}
|
|
1897
|
+
hide() {
|
|
1898
|
+
this.tooltip.classList.remove('show');
|
|
1899
|
+
}
|
|
1900
|
+
render() {
|
|
1901
|
+
if (!this.helpText) {
|
|
1902
|
+
return null;
|
|
1903
|
+
}
|
|
1904
|
+
return (index.h("div", { class: "tooltip-container" }, index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "currentColor", class: "bi bi-question-square tooltip-icon", viewBox: "0 0 16 16", ref: (el) => (this.anchorIcon = el), part: parts.tooltipIcon }, index.h("path", { d: "M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2z" }), index.h("path", { d: "M5.255 5.786a.237.237 0 0 0 .241.247h.825c.138 0 .248-.113.266-.25.09-.656.54-1.134 1.342-1.134.686 0 1.314.343 1.314 1.168 0 .635-.374.927-.965 1.371-.673.489-1.206 1.06-1.168 1.987l.003.217a.25.25 0 0 0 .25.246h.811a.25.25 0 0 0 .25-.25v-.105c0-.718.273-.927 1.01-1.486.609-.463 1.244-.977 1.244-2.056 0-1.511-1.276-2.241-2.673-2.241-1.267 0-2.655.59-2.75 2.286m1.557 5.763c0 .533.425.927 1.01.927.609 0 1.028-.394 1.028-.927 0-.552-.42-.94-1.029-.94-.584 0-1.009.388-1.009.94" })), index.h("custom-popper", { trigger: "hover", placement: "top", anchorRef: this.anchorIcon }, index.h("div", { class: "tooltip bs-tooltip-top", part: parts.tooltip, role: "tooltip", ref: (el) => (this.tooltip = el) }, index.h("div", { class: "tooltip-inner", part: parts.tooltipInner }, this.helpText)))));
|
|
1886
1905
|
}
|
|
1887
1906
|
};
|
|
1888
1907
|
|
|
1889
1908
|
exports.custom_popper = CustomPopper;
|
|
1909
|
+
exports.form_control_tooltip = TooltipComponent;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Api = require('./Api-
|
|
3
|
+
var Api = require('./Api-CjtvTD2_.js');
|
|
4
4
|
require('./ComponentError-D4OLnOkg.js');
|
|
5
|
-
require('./Refund-
|
|
5
|
+
require('./Refund-BnhHNKLz.js');
|
|
6
6
|
require('./Pagination-Dediz133.js');
|
|
7
|
-
require('./Business-
|
|
7
|
+
require('./Business-DCRzZf0w.js');
|
|
8
8
|
require('./Dispute-CruQTF6_.js');
|
|
9
9
|
|
|
10
10
|
const api = Api.Api();
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var parts = require('./parts-
|
|
5
|
-
var businessFormOptions = require('./business-form-options-
|
|
6
|
-
var formInputMasks = require('./form-input-masks-
|
|
7
|
-
var Business = require('./Business-
|
|
8
|
-
var
|
|
3
|
+
var index = require('./index-Bhtk1qkX.js');
|
|
4
|
+
var parts = require('./parts-Pb06tUMp.js');
|
|
5
|
+
var businessFormOptions = require('./business-form-options-CMII7nIK.js');
|
|
6
|
+
var formInputMasks = require('./form-input-masks-DgXd0f4V.js');
|
|
7
|
+
var Business = require('./Business-DCRzZf0w.js');
|
|
8
|
+
var helpers = require('./helpers-B5OCqlIM.js');
|
|
9
|
+
var stateOptions = require('./state-options-CIT9xdTz.js');
|
|
10
|
+
var utils = require('./utils-DAyWinG2.js');
|
|
9
11
|
|
|
10
12
|
const FormAlert = class {
|
|
11
13
|
constructor(hostRef) {
|
|
@@ -48,7 +50,6 @@ const BusinessCoreInfo = class {
|
|
|
48
50
|
index.registerInstance(this, hostRef);
|
|
49
51
|
this.errors = {};
|
|
50
52
|
this.coreInfo = {};
|
|
51
|
-
this.isEditingTaxId = false;
|
|
52
53
|
this.inputHandler = this.inputHandler.bind(this);
|
|
53
54
|
}
|
|
54
55
|
componentDidLoad() {
|
|
@@ -61,12 +62,8 @@ const BusinessCoreInfo = class {
|
|
|
61
62
|
this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
|
|
62
63
|
}
|
|
63
64
|
render() {
|
|
64
|
-
var _a, _b;
|
|
65
65
|
const coreInfoDefaultValue = this.formController.getInitialValues();
|
|
66
|
-
return (index.h(index.Host, { key: '
|
|
67
|
-
this.isEditingTaxId = true;
|
|
68
|
-
this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { tax_id: '' }));
|
|
69
|
-
} }, "Change"))))), index.h("div", { key: 'd0eb145c0afde23fd1dcf7837763971b259ff260', class: "col-12" }, index.h("form-control-text", { key: '7b2d6a1558b6be6adc87ff4109bca6e9238c2ecf', name: "website_url", label: "Website URL", defaultValue: coreInfoDefaultValue.website_url, errorText: this.errors.website_url, inputHandler: this.inputHandler })), index.h("div", { key: 'eb9637448b9f9a6e4a8b8a08ad9f7f48ff56ec4f', class: "col-12 col-md-6" }, index.h("form-control-text", { key: '1f2b0ce0c7dd02485635e8f666d59cd7ec792dbc', name: "email", label: "Email Address", defaultValue: coreInfoDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), index.h("div", { key: '46fa9ad350b8482296ce0a76db841b78efb9b83b', class: "col-12 col-md-6" }, index.h("form-control-number-masked", { key: '9d4376e2e1d4372470ba8483f8fe1c0992267e38', name: "phone", label: "Phone Number", defaultValue: coreInfoDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: formInputMasks.PHONE_MASKS.US }))))));
|
|
66
|
+
return (index.h(index.Host, { key: '0f01827de5a6ff9f6da4aabac4c219da9bb7f7bc' }, index.h("fieldset", { key: 'fb47f0c5e7d566fe3af06eb1f38af813ca1a5a98' }, index.h("legend", { key: '04b3a526d159f010da3960220c6738c23ab59ae9', part: parts.heading2 }, "General Info"), index.h("div", { key: 'cfa7ae60828f3b7525d6582effe31e11f4940ae1', class: "row gy-3" }, index.h("div", { key: '09f915e522f42ea60bde326b93c0acbf79914047', class: "col-12" }, index.h("form-control-text", { key: 'fcfb0a32d62173c0fd60e21410cbf8be1843855f', name: "legal_name", label: "Legal Name", defaultValue: coreInfoDefaultValue.legal_name, errorText: this.errors.legal_name, inputHandler: this.inputHandler })), index.h("div", { key: 'be83c79addceacb5621fb480cdc606a5393778ca', class: "col-12" }, index.h("form-control-text", { key: 'e78ff2fa54cd819b9117d03976d40e5aa49e33b5', name: "doing_business_as", label: "Doing Business As (DBA)", defaultValue: coreInfoDefaultValue.doing_business_as, errorText: this.errors.doing_business_as, inputHandler: this.inputHandler })), index.h("div", { key: '1a17daeaac46daa23ea4a2a028d08db238cc11d9', class: "col-12 col-md-8" }, index.h("form-control-select", { key: 'c8d76e0cdb665a43162d5605bda5361969933964', name: "classification", label: "Business Classification", options: businessFormOptions.businessClassificationOptions, defaultValue: coreInfoDefaultValue.classification, errorText: this.errors.classification, inputHandler: this.inputHandler })), index.h("div", { key: '1cfd904e9c039e834e086847b296ee4a6ee3f676', class: "col-12 col-md-4" }, index.h("form-control-date", { key: 'bdd8b4b01c9bd22b4c0188d7b37ebd6228a8af45', name: "date_of_incorporation", label: "Date of Incorporation", defaultValue: coreInfoDefaultValue.date_of_incorporation, errorText: this.errors.date_of_incorporation, inputHandler: this.inputHandler })), index.h("div", { key: 'bb1aceaf0a2ea01d4116fa66e7fc086824940619', class: "col-12 col-md-6" }, index.h("form-control-text", { key: '4fdcb1caae3cba88e8f6f9c14cb8b85c98e8a0f2', name: "industry", label: "Industry", defaultValue: coreInfoDefaultValue.industry, errorText: this.errors.industry, inputHandler: this.inputHandler })), index.h("div", { key: '238c8aae3f95286292b302efd2a490a0b7e9ce56', class: "col-12 col-md-6" }, index.h("form-control-number-masked", { key: '5a8e4040603858ff704da4c3c901d3903d0ed619', name: "tax_id", label: "Tax ID", defaultValue: coreInfoDefaultValue.tax_id, errorText: this.errors.tax_id, inputHandler: this.inputHandler, mask: formInputMasks.TAX_ID_MASKS.US })), index.h("div", { key: 'e3a9a7987837dbb026b3edb6c0659b8c45ddf3bc', class: "col-12" }, index.h("form-control-text", { key: 'fd826dbe012a25bfcaf456f3f2d3e300de3b81d8', name: "website_url", label: "Website URL", defaultValue: coreInfoDefaultValue.website_url, errorText: this.errors.website_url, inputHandler: this.inputHandler })), index.h("div", { key: '26cd8ff17604388d92f594193cde8a5005a727d1', class: "col-12 col-md-6" }, index.h("form-control-text", { key: 'cf5c1601d7d956656168d3819767cc912a35ea7c', name: "email", label: "Email Address", defaultValue: coreInfoDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), index.h("div", { key: 'f94b1fa7cc39f3800404ce2ea2d46af70bf43b08', class: "col-12 col-md-6" }, index.h("form-control-number-masked", { key: 'ea73e0093f103c7bc5913ca1dc7625fde1ff09f6', name: "phone", label: "Phone Number", defaultValue: coreInfoDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: formInputMasks.PHONE_MASKS.US }))))));
|
|
70
67
|
}
|
|
71
68
|
};
|
|
72
69
|
|
|
@@ -75,7 +72,6 @@ const BusinessRepresentative = class {
|
|
|
75
72
|
index.registerInstance(this, hostRef);
|
|
76
73
|
this.errors = {};
|
|
77
74
|
this.representative = {};
|
|
78
|
-
this.isEditingIdentification = false;
|
|
79
75
|
this.inputHandler = (name, value) => {
|
|
80
76
|
this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { representative: Object.assign(Object.assign({}, this.formController.values.getValue().representative), { [name]: value }) }));
|
|
81
77
|
};
|
|
@@ -83,28 +79,20 @@ const BusinessRepresentative = class {
|
|
|
83
79
|
this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { representative: Object.assign(Object.assign({}, this.formController.values.getValue().representative), { address: Object.assign(Object.assign({}, this.formController.values.getValue().representative.address), values) }) }));
|
|
84
80
|
};
|
|
85
81
|
this.onDateOfBirthUpdate = (event) => {
|
|
86
|
-
const dob_values =
|
|
82
|
+
const dob_values = helpers.deconstructDate(event.detail);
|
|
87
83
|
this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { representative: Object.assign(Object.assign({}, this.formController.values.getValue().representative), { dob_day: dob_values.dob_day, dob_month: dob_values.dob_month, dob_year: dob_values.dob_year }) }));
|
|
88
84
|
};
|
|
89
85
|
}
|
|
90
86
|
get identificationNumberLabel() {
|
|
91
|
-
|
|
92
|
-
const label = countryConfig.countryLabels[this.country].idNumberLabel;
|
|
93
|
-
const labelOptional = countryConfig.countryLabels[this.country].idNumberLabelOptional;
|
|
94
|
-
return ((_a = this.representative) === null || _a === void 0 ? void 0 : _a.ssn_last4) ? labelOptional : label;
|
|
87
|
+
return this.representative.ssn_last4 ? 'Update SSN (optional)' : 'SSN';
|
|
95
88
|
}
|
|
96
89
|
componentDidLoad() {
|
|
97
90
|
this.formController.errors.subscribe(errors => (this.errors = Object.assign({}, errors.representative)));
|
|
98
91
|
this.formController.values.subscribe(values => (this.representative = Object.assign({}, values.representative)));
|
|
99
92
|
}
|
|
100
93
|
render() {
|
|
101
|
-
var _a, _b;
|
|
102
94
|
const representativeDefaultValue = this.formController.getInitialValues().representative;
|
|
103
|
-
return (index.h(index.Host, { key: '
|
|
104
|
-
this.isEditingIdentification = true;
|
|
105
|
-
// Clear last4 and current value to force validation
|
|
106
|
-
this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { representative: Object.assign(Object.assign({}, this.formController.values.getValue().representative), { ssn_last4: null, identification_number: '' }) }));
|
|
107
|
-
} }, "Change"))))), index.h("div", { key: '54548bf9622fcc949ebd91db29cc8b877dd7652d', class: "col-12" }, index.h("justifi-identity-address-form", { key: '9925b7d70bceb8e3d1dafc9313673a5c8a0810a0', errors: this.errors.address, defaultValues: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))))));
|
|
95
|
+
return (index.h(index.Host, { key: '94097bf5ab94fc900918d44510ea8810f2a1984d' }, index.h("fieldset", { key: '95619d9fa81838e5a08e191845a7343f8b3609ce' }, index.h("legend", { key: '9ec4d2470dc31e3128c0d3351e3983dc07bca92e', part: parts.heading2 }, "Representative"), index.h("div", { key: 'a2b1d8ab98e3683c6ad57d6a6dfb259b27a8cd0f', class: "row gy-3" }, index.h("div", { key: 'ce36f02cde3b989b427418b7c09b92bcbc9638f1', class: "col-12 col-md-8" }, index.h("form-control-text", { key: '7912bcd5f4f4d5870a08529d09a21994911a7262', name: "name", label: "Full Name", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), index.h("div", { key: '57f138c87e53aa0b555dc5d7ebe699c6207e5825', class: "col-12 col-md-4" }, index.h("form-control-text", { key: 'd98d5cfcb5f4a7e1dd9eb0e55844bb8a210bd305', name: "title", label: "Title", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler })), index.h("div", { key: '08093caed32f9124c48fc73e05b2e5ec698fac5d', class: "col-12 col-md-6" }, index.h("form-control-text", { key: 'ef868e698b2369934bfeee522d8f4a7ff4924074', name: "email", label: "Email Address", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), index.h("div", { key: 'ffb1c8a6ccd2df1a198f679ad02d3921821939b9', class: "col-12 col-md-6" }, index.h("form-control-number-masked", { key: 'ce4cd6e4edacdc536f74b85341fe35dc4aae435e', name: "phone", label: "Phone Number", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: formInputMasks.PHONE_MASKS.US })), index.h("div", { key: '27d97a8149ba81e7576e850c8c273298c8394f51', class: "col-12 col-md-4" }, index.h("form-control-date", { key: '5cd76163b49822f9dcbd3339c89a0afffcc4247f', name: "dob_full", label: "Birth Date", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: this.onDateOfBirthUpdate })), index.h("div", { key: '62bd3c48ccc31d7f36a00bc27eafefc3369226e3', class: "col-12 col-md-8" }, index.h("form-control-number-masked", { key: '7d43730b2615e7b515ca6c66d90ceeb573e61d6a', name: "identification_number", label: this.identificationNumberLabel, defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: formInputMasks.SSN_MASK })), index.h("div", { key: 'ec6cb5f493f5335f6b0490894577eb401f1c150a', class: "col-12" }, index.h("justifi-identity-address-form", { key: '6ecffcd10914504148573e99a708cae6d6976cd2', errors: this.errors.address, defaultValues: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate }))))));
|
|
108
96
|
}
|
|
109
97
|
};
|
|
110
98
|
|
|
@@ -122,9 +110,11 @@ const LegalAddressForm = class {
|
|
|
122
110
|
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 }) }));
|
|
123
111
|
}
|
|
124
112
|
render() {
|
|
125
|
-
var _a;
|
|
113
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
126
114
|
const legalAddressDefaultValue = this.formController.getInitialValues().legal_address;
|
|
127
|
-
return (index.h(index.Host, { key: '
|
|
115
|
+
return (index.h(index.Host, { key: '3b391bb2404c911e1663835acf0d13e7aab73735' }, index.h("fieldset", { key: 'f5db5dd65ba422e05728b38e562d1140777f4208' }, index.h("legend", { key: 'a1e464501561d649b6b514de45967d84d5f69f2a', part: parts.heading2 }, "Business Legal Address"), index.h("div", { key: 'f64e06197c22f9d0cddb7b78d181aec203070612', class: "row gy-3" }, index.h("div", { key: '0c5ed4640de17b420021beedf69fbf6fedc16b5e', class: "col-12" }, index.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 })), index.h("div", { key: '6cdc7bd96fbcdccf3d2da67ce2c0c110be6f215f', class: "col-12" }, index.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 })), index.h("div", { key: '55df7defd5dff8f7b56d639319c4067b53ce8fb8', class: "col-12" }, index.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 })), index.h("div", { key: '533670b7a9b60d45bf05684b48c2034f99d4b484', class: "col-12" }, index.h("form-control-select", { key: 'f10ed112c00c798c1b482f8893ef04737deb1dc5', name: "state", label: "State", options: stateOptions.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 })), index.h("div", { key: '7d67e97ebbb48402ede6aed07fe72154cf3424fa', class: "col-12" }, index.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: utils.numberOnlyHandler })), index.h("div", { key: '8a03c711d712e013590d5489d3bffa5145ac0a7a', class: "col-12" }, index.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,
|
|
116
|
+
// just for now so we skip handling country specificities
|
|
117
|
+
disabled: true }))))));
|
|
128
118
|
}
|
|
129
119
|
};
|
|
130
120
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var parts = require('./parts-
|
|
5
|
-
var formControlHelpText = require('./form-control-help-text-
|
|
6
|
-
var formControlErrorText = require('./form-control-error-text-
|
|
3
|
+
var index = require('./index-Bhtk1qkX.js');
|
|
4
|
+
var parts = require('./parts-Pb06tUMp.js');
|
|
5
|
+
var formControlHelpText = require('./form-control-help-text-DEi5vSjN.js');
|
|
6
|
+
var formControlErrorText = require('./form-control-error-text-BnMWn8U_.js');
|
|
7
7
|
require('./event-types-YOY5TKUN.js');
|
|
8
8
|
|
|
9
9
|
const CheckboxInput = class {
|
|
@@ -39,10 +39,10 @@ const CheckboxInput = class {
|
|
|
39
39
|
return parts.inputCheckbox;
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
|
-
return (index.h(index.Host, { key: '
|
|
42
|
+
return (index.h(index.Host, { key: '7bd0d5b048cb249373ea51b77e4c9da0cd9334e2' }, index.h("div", { key: 'fc2503501d863e5d4735bedbaf343c63e51933de', class: 'form-group d-flex flex-column' }, index.h("div", { key: '1279143cac22a3c83c84a0b374d521ad4f8d6b2e', class: "form-check" }, index.h("input", { key: '05206a4ba4f07eac3015168569c0669aa467631e', ref: el => (this.checkboxElement = el), type: "checkbox", id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
43
43
|
this.isFocused = false;
|
|
44
44
|
this.formControlBlur.emit();
|
|
45
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), index.h("label", { key: '
|
|
45
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), index.h("label", { key: '890243508bccedbdcbec05cffc857aa5a5a15bc6', class: "form-check-label", htmlFor: this.name, part: parts.label }, this.label)), index.h(formControlHelpText.FormControlHelpText, { key: '3c7be6ef2d0d9dd02601fef9e58038d010ca8246', helpText: this.helpText, name: this.name }), index.h(formControlErrorText.FormControlErrorText, { key: '471b312488e84d3ab8ee2d4d13394b5887901366', errorText: this.errorText, name: this.name }))));
|
|
46
46
|
}
|
|
47
47
|
};
|
|
48
48
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var parts = require('./parts-
|
|
5
|
-
var formControlErrorText = require('./form-control-error-text-
|
|
3
|
+
var index = require('./index-Bhtk1qkX.js');
|
|
4
|
+
var parts = require('./parts-Pb06tUMp.js');
|
|
5
|
+
var formControlErrorText = require('./form-control-error-text-BnMWn8U_.js');
|
|
6
6
|
require('./event-types-YOY5TKUN.js');
|
|
7
7
|
|
|
8
8
|
const DateInput = class {
|
|
@@ -49,10 +49,10 @@ const DateInput = class {
|
|
|
49
49
|
return part;
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
|
-
return (index.h(index.Host, { key: '
|
|
52
|
+
return (index.h(index.Host, { key: '607129129bd143b24c20aa331484cd0d3d4f0655' }, index.h("div", { key: '9c4f1decc70e765b5a8e2e48521ca5fad3196368', class: "form-group d-flex flex-column" }, index.h("div", { key: 'f02ddd07ed0abd495b113fc3c558ec9266bbf9c0', class: "d-flex gap-2" }, index.h("label", { key: '13c995ca29975db2b8940cd044d1e0eb5a7639ae', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: '3dbe855de95b7ddeaab7a14f5e3bb914a6330056', helpText: this.helpText })), index.h("input", { key: 'defe89403181e6d2b3466582a03491a3e4a0dc96', type: this.showTime ? 'datetime-local' : 'date', ref: el => (this.dateInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
53
53
|
this.isFocused = false;
|
|
54
54
|
this.formControlBlur.emit();
|
|
55
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), index.h(formControlErrorText.FormControlErrorText, { key: '
|
|
55
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), index.h(formControlErrorText.FormControlErrorText, { key: '6f53bc00b94123fef03ad278a19bff43fc2e52e9', errorText: this.errorText, name: this.name }))));
|
|
56
56
|
}
|
|
57
57
|
static get watchers() { return {
|
|
58
58
|
"defaultValue": ["handleDefaultValueChange"]
|