@justifi/webcomponents 6.1.0 → 6.2.0-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/{Business-DCRzZf0w.js → Business-DWHy_-z9.js} +299 -9
- package/dist/cjs/bank-account-document-form-inputs_6.cjs.entry.js +132 -0
- package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
- package/dist/cjs/{business-additional-questions-schema-b8P-0T0O.js → business-additional-questions-schema-CetDMUp7.js} +26 -4
- package/dist/cjs/{business-form-options-CMII7nIK.js → business-form-options-e9UFw4P-.js} +1 -1
- package/dist/cjs/business-identity-schema-Cd0tvfJr.js +101 -0
- package/dist/cjs/{business.service-Cj_NUZsr.js → business.service-DRZurAMP.js} +1 -1
- package/dist/cjs/card-form.cjs.entry.js +2 -2
- package/dist/cjs/{check-pkg-version-C7b-OLb5.js → check-pkg-version-W_AFeiO6.js} +2 -2
- package/dist/cjs/{checkout.service-Bc8L9ixO.js → checkout.service-vZbSE3A3.js} +1 -1
- package/dist/cjs/checkouts-list-core.cjs.entry.js +2 -4
- package/dist/cjs/country-config-MCOhn8o3.js +68 -0
- package/dist/cjs/{custom-popper_2.cjs.entry.js → custom-popper.cjs.entry.js} +2 -22
- package/dist/cjs/{dispute.service-DhO_tuDc.js → dispute.service-DV9a61Tu.js} +1 -1
- package/dist/cjs/form-alert_5.cjs.entry.js +25 -15
- package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/form-control-date.cjs.entry.js +2 -2
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +3 -3
- package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
- package/dist/cjs/form-control-number-masked_3.cjs.entry.js +119 -0
- package/dist/cjs/form-control-number.cjs.entry.js +2 -2
- package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
- package/dist/cjs/{form-control-select_2.cjs.entry.js → form-control-select_3.cjs.entry.js} +23 -4
- package/dist/cjs/{form-input-masks-DgXd0f4V.js → form-input-masks-BnNFJ3IJ.js} +9 -4
- package/dist/cjs/{get-business-o5jPq_ME.js → get-business-D9ZHyPem.js} +1 -1
- package/dist/cjs/{get-payment-details-BinT-ZEP.js → get-payment-details-AYzxPu-X.js} +1 -1
- package/dist/cjs/{get-subaccounts-BoTVdl7v.js → get-subaccounts-C_KD197w.js} +1 -1
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +5 -5
- package/dist/cjs/{input-handlers-DYl_0IwC.js → input-handlers-D6QMwPTB.js} +2 -2
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +121 -64
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +17 -18
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +8 -8
- package/dist/cjs/justifi-apple-pay_8.cjs.entry.js +8 -10
- package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +16 -17
- package/dist/cjs/justifi-business-details.cjs.entry.js +5 -7
- package/dist/cjs/justifi-business-form.cjs.entry.js +16 -12
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +14 -6
- package/dist/cjs/justifi-checkout.cjs.entry.js +5 -7
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +2 -4
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +6 -8
- package/dist/cjs/justifi-details.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +5 -7
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +7 -9
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +3 -5
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +7 -9
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +22 -13
- package/dist/cjs/justifi-payment-details.cjs.entry.js +5 -7
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +36 -21
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +5 -7
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +5 -7
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +5 -7
- package/dist/cjs/justifi-payout-details.cjs.entry.js +4 -6
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +5 -7
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +6 -8
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +5 -7
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +3 -5
- package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +3 -5
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +5 -7
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +2 -4
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +6 -8
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-BHmdO9eK.js → package-BADgkv50.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +3 -3
- package/dist/cjs/payment-details-core.cjs.entry.js +9 -11
- package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
- package/dist/cjs/{payment.service-C9thkR4g.js → payment.service-1t60I69m.js} +1 -1
- package/dist/cjs/payments-list-core.cjs.entry.js +2 -4
- package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
- package/dist/cjs/{payout.service-CGZxpQMq.js → payout.service-CQEXfufW.js} +1 -1
- package/dist/cjs/payouts-list-core.cjs.entry.js +2 -4
- package/dist/cjs/{schema-validations-Bj7eYNO8.js → schema-validations-0mjPveQ0.js} +45 -6
- package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +3 -5
- package/dist/cjs/{terminal-orders-table-7ew1vCKk.js → terminal-orders-table-B4ZXHj3w.js} +1 -1
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/{terminal.service-BkKxH-k4.js → terminal.service-BlW-CJ67.js} +1 -1
- package/dist/cjs/terminals-list-core.cjs.entry.js +2 -4
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/BankAccount.js +4 -0
- package/dist/collection/api/Business.js +16 -1
- package/dist/collection/collection-manifest.json +4 -1
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +7 -6
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +36 -4
- package/dist/collection/components/business-forms/business-form/business-form.js +6 -2
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +46 -9
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +32 -10
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +26 -6
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +29 -3
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +48 -6
- package/dist/collection/components/business-forms/owner-form/owner-form.js +26 -1
- 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-canada.js +88 -0
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +2 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.js +50 -0
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +36 -5
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +26 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +47 -7
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +26 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +26 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +26 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +43 -4
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +33 -4
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +26 -1
- package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +101 -0
- 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 +35 -10
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +26 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +39 -20
- 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 +34 -6
- 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/payment-provisioning/test/mockBusiness.js +52 -0
- package/dist/collection/components/business-forms/schemas/business-address-schema.js +41 -19
- package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +74 -39
- package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +27 -4
- package/dist/collection/components/business-forms/schemas/business-form-schema.js +7 -4
- package/dist/collection/components/business-forms/schemas/business-identity-schema.js +53 -24
- package/dist/collection/components/business-forms/schemas/schema-validations.js +41 -4
- package/dist/collection/components/business-forms/utils/country-config.js +47 -0
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/checkout.js +2 -2
- package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout/saved-payment-method.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +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 +3 -4
- 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 +8 -8
- 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/payout-details/payout-details-core.js +3 -3
- 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 +1 -1
- package/dist/collection/components/terminals-list/terminals-list.js +1 -1
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +3 -4
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/details/details.js +1 -1
- package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
- package/dist/collection/ui-components/form/form-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-radio-list-item.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
- package/dist/collection/utils/country-codes.js +5 -0
- package/dist/collection/utils/form-input-masks.js +8 -0
- package/dist/collection/utils/province-options.js +20 -0
- package/dist/docs.json +1129 -147
- package/dist/esm/{Api-DhiA2e_P.js → Api-K9QH1Aki.js} +1 -1
- package/dist/esm/{Business-BCoP0TAV.js → Business-B5rtFhtR.js} +290 -3
- package/dist/esm/{Refund-B-iOTRxz.js → Refund-L_muwEAh.js} +1 -1
- package/dist/esm/additional-questions-details_5.entry.js +3 -3
- package/dist/esm/{badge-CtdO-tEY.js → badge-B8fF98jp.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_6.entry.js +125 -0
- package/dist/esm/bank-account-form.entry.js +5 -5
- package/dist/esm/{business-additional-questions-schema-9FAJSx_D.js → business-additional-questions-schema-DSvdNuI1.js} +26 -5
- package/dist/esm/business-details-core.entry.js +3 -3
- package/dist/esm/{business-form-options-CgssATyg.js → business-form-options-D6s5H4RI.js} +2 -2
- package/dist/esm/business-identity-schema-mN4VhA1v.js +94 -0
- package/dist/esm/{business.service-D55OVyco.js → business.service-BJcGEUDH.js} +3 -3
- package/dist/esm/{button-DtTaQHMK.js → button-DZoLTGMB.js} +1 -1
- package/dist/esm/card-form.entry.js +5 -5
- package/dist/esm/{check-pkg-version-xM0uWxbL.js → check-pkg-version-CG8qzhGl.js} +4 -4
- package/dist/esm/{checkout.service-fwbqSq8g.js → checkout.service-aymuZDC9.js} +3 -3
- package/dist/esm/checkouts-list-core.entry.js +9 -11
- package/dist/esm/{checkouts-table-B6gGDtOr.js → checkouts-table-B8k-Aylm.js} +3 -3
- package/dist/esm/country-config-BQ4D46Lb.js +64 -0
- package/dist/esm/{custom-popper_2.entry.js → custom-popper.entry.js} +3 -22
- package/dist/esm/{dispute.service-Cdq3_yRo.js → dispute.service-DiPbsswm.js} +3 -3
- package/dist/esm/form-alert_5.entry.js +25 -15
- package/dist/esm/form-control-checkbox.entry.js +5 -5
- package/dist/esm/form-control-date.entry.js +4 -4
- package/dist/esm/{form-control-error-text-bprS-t9d.js → form-control-error-text-BmD6bGbR.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +5 -5
- package/dist/esm/{form-control-help-text-Bvnp-IAG.js → form-control-help-text-DbIhIcc6.js} +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +6 -6
- package/dist/esm/form-control-monetary.entry.js +6 -6
- package/dist/esm/form-control-number-masked_3.entry.js +115 -0
- package/dist/esm/form-control-number.entry.js +5 -5
- package/dist/esm/form-control-radio.entry.js +3 -3
- package/dist/esm/{form-control-select_2.entry.js → form-control-select_3.entry.js} +25 -7
- package/dist/esm/{form-input-masks-B-iV5cYd.js → form-input-masks-CVaOFfrI.js} +9 -3
- package/dist/esm/{get-business-Crb6P-iI.js → get-business-Xt7B5dSo.js} +1 -1
- package/dist/esm/{get-payment-details-sGoWyAat.js → get-payment-details-DcC5v85s.js} +2 -2
- package/dist/esm/{get-subaccounts-BsJSlShO.js → get-subaccounts-CMJMDwSP.js} +3 -3
- package/dist/esm/gross-payment-chart-core.entry.js +5 -5
- package/dist/esm/{header-1-C1Hnxki8.js → header-1-umkpdspt.js} +1 -1
- package/dist/esm/{header-3-Bq8fpjm-.js → header-3-CD5K5vCa.js} +1 -1
- package/dist/esm/hidden-input_2.entry.js +7 -7
- package/dist/esm/{input-handlers-CX6mSvOM.js → input-handlers-D3y0TzH9.js} +1 -1
- package/dist/esm/{insurance-state-CVme82j7.js → insurance-state-sR5DrCdu.js} +1 -1
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +127 -70
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +22 -23
- package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
- package/dist/esm/justifi-apple-pay_8.entry.js +16 -18
- package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +22 -23
- package/dist/esm/justifi-business-details.entry.js +10 -12
- package/dist/esm/justifi-business-form.entry.js +23 -19
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +15 -7
- package/dist/esm/justifi-checkout.entry.js +9 -11
- package/dist/esm/justifi-checkouts-list-filters.entry.js +5 -7
- package/dist/esm/justifi-checkouts-list.entry.js +12 -14
- package/dist/esm/justifi-details.entry.js +3 -3
- package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
- package/dist/esm/justifi-dispute-management.entry.js +8 -10
- package/dist/esm/justifi-dispute-notification_3.entry.js +13 -15
- package/dist/esm/justifi-gross-payment-chart.entry.js +8 -10
- package/dist/esm/justifi-order-terminals.entry.js +12 -14
- package/dist/esm/justifi-owner-form_3.entry.js +27 -18
- package/dist/esm/justifi-payment-details.entry.js +10 -12
- package/dist/esm/justifi-payment-provisioning-core.entry.js +38 -23
- package/dist/esm/justifi-payment-provisioning.entry.js +8 -10
- package/dist/esm/justifi-payment-transactions-list.entry.js +11 -13
- package/dist/esm/justifi-payments-list-filters.entry.js +4 -4
- package/dist/esm/justifi-payments-list.entry.js +12 -14
- package/dist/esm/justifi-payout-details.entry.js +9 -11
- package/dist/esm/justifi-payout-transactions-list.entry.js +11 -13
- package/dist/esm/justifi-payouts-list-filters.entry.js +4 -4
- package/dist/esm/justifi-payouts-list.entry.js +13 -15
- package/dist/esm/justifi-refund-payment.entry.js +11 -13
- package/dist/esm/justifi-saved-payment-method.entry.js +2 -2
- package/dist/esm/justifi-season-interruption-insurance.entry.js +9 -11
- package/dist/esm/justifi-skeleton.entry.js +3 -3
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +6 -8
- package/dist/esm/justifi-terminal-orders-list.entry.js +10 -12
- package/dist/esm/justifi-terminals-list-filters.entry.js +5 -7
- package/dist/esm/justifi-terminals-list.entry.js +12 -14
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-DL-q4EcN.js → package-yiqa5abX.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +4 -4
- package/dist/esm/{parts-xDbRW9xn.js → parts-Dj_zevuD.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +16 -18
- package/dist/esm/payment-method-option.entry.js +2 -2
- package/dist/esm/{payment.service-BoQ1MW1k.js → payment.service-C0xnydJ8.js} +3 -3
- package/dist/esm/payments-list-core.entry.js +10 -12
- package/dist/esm/{payments-status-cvtVmtY5.js → payments-status-CzazNnFv.js} +1 -1
- package/dist/esm/{payments-table-D_BlyU1F.js → payments-table-BPKxBAJ0.js} +3 -3
- package/dist/esm/payout-details-core.entry.js +10 -10
- package/dist/esm/{payout.service-xcBdom3q.js → payout.service-Cl4yxnrx.js} +3 -3
- package/dist/esm/payouts-list-core.entry.js +10 -12
- package/dist/esm/{payouts-status-D-vjrqBb.js → payouts-status-rKlX41bK.js} +1 -1
- package/dist/esm/{payouts-table-Clj8YGLV.js → payouts-table-C6ZDcd_-.js} +3 -3
- package/dist/esm/{schema-validations-B9dmY7ME.js → schema-validations-BFoU1cR8.js} +41 -6
- package/dist/esm/{skeleton-B8EUwt4b.js → skeleton-BEoPu3My.js} +1 -1
- package/dist/esm/{spinner-CYXkn1fh.js → spinner-Ac-w5zWg.js} +1 -1
- package/dist/esm/{table-Bj20uWfu.js → table-BCwizIf9.js} +2 -2
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/terminal-orders-list-core.entry.js +9 -11
- package/dist/esm/{terminal-orders-table-DzBpIW8i.js → terminal-orders-table-BBQsoUh8.js} +5 -5
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/{terminal.service-l6zTIPZ3.js → terminal.service-mwaS-Mbj.js} +3 -3
- package/dist/esm/terminals-list-core.entry.js +9 -11
- package/dist/esm/{terminals-table-BMS5tazC.js → terminals-table-ByiFdTfy.js} +3 -3
- package/dist/esm/{utils-BOijEGPV.js → utils-CIaHqjQt.js} +1 -1
- package/dist/esm/{utils-DRwofES0.js → utils-KBIYAa0D.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Business.js +290 -3
- package/dist/module/additional-questions.js +2 -2
- package/dist/module/additional-statement.js +2 -2
- package/dist/module/bank-account-billing-form-simple.js +1 -1
- package/dist/module/bank-account-document-inputs.js +1 -1
- package/dist/module/bank-account-form-inputs-canada.d.ts +11 -0
- package/dist/module/bank-account-form-inputs-canada.js +6 -0
- package/dist/module/bank-account-form-inputs-canada2.js +68 -0
- package/dist/module/bank-account-form-inputs2.js +9 -2
- package/dist/module/bank-account-form.js +2 -2
- package/dist/module/bank-account-read-only-value.d.ts +11 -0
- package/dist/module/bank-account-read-only-value.js +6 -0
- package/dist/module/bank-account-read-only-value2.js +33 -0
- package/dist/module/bank-account.js +2 -2
- package/dist/module/billing-form-full.js +1 -1
- package/dist/module/business-additional-questions-form-step.js +1 -1
- package/dist/module/business-address-schema.js +40 -20
- package/dist/module/business-bank-account-form-step-core.js +101 -48
- package/dist/module/business-bank-account-form-step.js +18 -5
- package/dist/module/business-core-info-form-step-core.js +22 -7
- package/dist/module/business-core-info-form-step.js +2 -1
- package/dist/module/business-core-info-schema.js +26 -5
- package/dist/module/business-core-info.js +12 -4
- package/dist/module/business-identity-schema.js +52 -25
- package/dist/module/business-owners-form-step-core.js +20 -13
- package/dist/module/business-owners-form-step.js +22 -15
- package/dist/module/business-representative-form-inputs.js +34 -17
- package/dist/module/business-representative-form-step-core.js +29 -18
- package/dist/module/business-representative-form-step.js +24 -17
- package/dist/module/business-representative.js +37 -19
- package/dist/module/business-terms-conditions-form-step.js +1 -1
- package/dist/module/button.js +1 -1
- package/dist/module/cancellation-policy.js +2 -2
- package/dist/module/card-billing-form-simple.js +1 -1
- package/dist/module/card-form.js +2 -2
- package/dist/module/card-form2.js +2 -2
- package/dist/module/checkouts-list-core2.js +1 -1
- package/dist/module/country-config.js +64 -0
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +2 -2
- package/dist/module/details.js +1 -1
- package/dist/module/dispute-management-core.js +1 -1
- package/dist/module/dispute-notification.js +2 -2
- package/dist/module/dispute-response-core.js +2 -2
- package/dist/module/dispute-response.js +1 -1
- package/dist/module/duplicate-charge.js +2 -2
- package/dist/module/electronic-evidence.js +2 -2
- package/dist/module/form-address-fields.js +65 -0
- package/dist/module/form-control-checkbox2.js +2 -2
- package/dist/module/form-control-date2.js +2 -2
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +2 -2
- package/dist/module/form-control-monetary-provisioning2.js +2 -2
- package/dist/module/form-control-monetary2.js +2 -2
- package/dist/module/form-control-number-masked2.js +2 -2
- package/dist/module/form-control-number.js +2 -2
- package/dist/module/form-control-radio2.js +2 -2
- package/dist/module/form-control-select2.js +2 -2
- package/dist/module/form-control-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +2 -2
- package/dist/module/form-input-masks.js +9 -3
- package/dist/module/get-business.js +1 -1
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/identity-address-form.js +16 -14
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/input-handlers.js +1 -1
- package/dist/module/justifi-business-form.js +41 -29
- package/dist/module/justifi-button2.js +1 -1
- package/dist/module/justifi-checkout.js +2 -2
- package/dist/module/justifi-checkouts-list-filters.js +1 -1
- package/dist/module/justifi-checkouts-list.js +1 -1
- package/dist/module/justifi-dispute-management.js +1 -1
- package/dist/module/justifi-form-address-fields.d.ts +11 -0
- package/dist/module/justifi-form-address-fields.js +6 -0
- package/dist/module/justifi-header2.js +1 -1
- package/dist/module/justifi-order-terminals.js +3 -3
- package/dist/module/justifi-payment-provisioning.js +67 -49
- package/dist/module/justifi-payment-transactions-list.js +1 -1
- package/dist/module/justifi-payments-list-filters.js +2 -2
- package/dist/module/justifi-payments-list.js +1 -1
- package/dist/module/justifi-payout-transactions-list.js +1 -1
- package/dist/module/justifi-payouts-list-filters.js +2 -2
- package/dist/module/justifi-payouts-list.js +1 -1
- package/dist/module/justifi-radio-list-item2.js +1 -1
- package/dist/module/justifi-saved-payment-method.js +1 -1
- package/dist/module/justifi-skeleton.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +2 -2
- package/dist/module/justifi-terminal-orders-list.js +1 -1
- package/dist/module/justifi-terminals-list-filters.js +1 -1
- package/dist/module/justifi-terminals-list.js +1 -1
- package/dist/module/legal-address-form-step-core.js +26 -19
- package/dist/module/legal-address-form-step.js +16 -9
- package/dist/module/legal-address-form.js +18 -15
- package/dist/module/modular-checkout.js +1 -1
- package/dist/module/owner-form-core2.js +23 -15
- package/dist/module/owner-form-inputs2.js +34 -15
- package/dist/module/owner-form.js +20 -13
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +3 -3
- package/dist/module/parts.js +1 -1
- package/dist/module/payment-details-core2.js +8 -8
- package/dist/module/payment-method-option.js +1 -1
- package/dist/module/payment-provisioning-core.js +104 -69
- package/dist/module/payment-provisioning-form-buttons.js +1 -1
- package/dist/module/payment-provisioning-form-steps.js +75 -54
- package/dist/module/payments-list-core2.js +1 -1
- package/dist/module/payout-details-core2.js +3 -3
- package/dist/module/payouts-list-core2.js +1 -1
- package/dist/module/product-or-service.js +2 -2
- package/dist/module/refund-policy.js +2 -2
- package/dist/module/save-new-payment-method.js +1 -1
- package/dist/module/schema-validations.js +41 -6
- package/dist/module/shipping-details.js +2 -2
- package/dist/module/summary.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +1 -1
- package/dist/module/terminal-quantity-selector2.js +2 -2
- package/dist/module/terminals-list-core2.js +1 -1
- package/dist/module/tokenize-payment-method.js +1 -1
- package/dist/types/api/BankAccount.d.ts +6 -0
- package/dist/types/api/Business.d.ts +9 -0
- package/dist/types/components/business-forms/business-form/business-core-info/business-core-info.d.ts +3 -0
- package/dist/types/components/business-forms/business-form/business-form.d.ts +2 -0
- package/dist/types/components/business-forms/business-form/business-representative/business-representative.d.ts +4 -1
- package/dist/types/components/business-forms/business-form/legal-address-form/legal-address-form.d.ts +2 -0
- package/dist/types/components/business-forms/owner-form/identity-address/identity-address-form.d.ts +2 -0
- package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +2 -0
- package/dist/types/components/business-forms/owner-form/owner-form-inputs.d.ts +3 -0
- package/dist/types/components/business-forms/owner-form/owner-form.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.d.ts +7 -0
- package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.d.ts +5 -0
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.d.ts +5 -0
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +3 -0
- package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.d.ts +3 -0
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.d.ts +8 -0
- package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +4 -2
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-form-steps.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/test/mockBusiness.d.ts +12 -0
- package/dist/types/components/business-forms/schemas/business-address-schema.d.ts +54 -2
- package/dist/types/components/business-forms/schemas/business-bank-account-schema.d.ts +14 -16
- package/dist/types/components/business-forms/schemas/business-core-info-schema.d.ts +67 -3
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +165 -7
- package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +122 -2
- package/dist/types/components/business-forms/schemas/schema-validations.d.ts +5 -0
- package/dist/types/components.d.ts +119 -10
- package/dist/types/utils/country-codes.d.ts +4 -0
- package/dist/types/utils/form-input-masks.d.ts +1 -0
- package/dist/types/utils/province-options.d.ts +5 -0
- package/dist/webcomponents/p-0926c397.entry.js +1 -0
- package/dist/webcomponents/p-09aaaf03.entry.js +1 -0
- package/dist/webcomponents/p-0b36f1a8.entry.js +1 -0
- package/dist/webcomponents/p-10537b60.entry.js +1 -0
- package/dist/webcomponents/p-164fe6d3.entry.js +1 -0
- package/dist/webcomponents/{p-0eb69f41.entry.js → p-1c362f36.entry.js} +1 -1
- package/dist/webcomponents/{p-0217783c.entry.js → p-221ec54e.entry.js} +4 -4
- package/dist/webcomponents/p-24621c40.entry.js +1 -0
- package/dist/webcomponents/{p-cff5dd60.entry.js → p-2ebc8539.entry.js} +1 -1
- package/dist/webcomponents/p-30848456.entry.js +1 -0
- package/dist/webcomponents/p-3b43f8c0.entry.js +1 -0
- package/dist/webcomponents/p-4a0f34de.entry.js +1 -0
- package/dist/webcomponents/p-4d243123.entry.js +1 -0
- package/dist/webcomponents/p-4d6e0ebe.entry.js +1 -0
- package/dist/webcomponents/p-4e57359c.entry.js +1 -0
- package/dist/webcomponents/p-5277f2a6.entry.js +1 -0
- package/dist/webcomponents/p-54cea29e.entry.js +1 -0
- package/dist/webcomponents/{p-7c8deca8.entry.js → p-580f3bb6.entry.js} +1 -1
- package/dist/webcomponents/p-5de4d9e4.entry.js +1 -0
- package/dist/webcomponents/p-5fcfedb2.entry.js +1 -0
- package/dist/webcomponents/p-6190fbb7.entry.js +1 -0
- package/dist/webcomponents/p-620ec409.entry.js +1 -0
- package/dist/webcomponents/p-65090485.entry.js +1 -0
- package/dist/webcomponents/p-66833631.entry.js +1 -0
- package/dist/webcomponents/p-68aeb5bd.entry.js +1 -0
- package/dist/webcomponents/p-6d61092c.entry.js +1 -0
- package/dist/webcomponents/p-72f5e234.entry.js +1 -0
- package/dist/webcomponents/p-7498759d.entry.js +1 -0
- package/dist/webcomponents/p-760e739c.entry.js +1 -0
- package/dist/webcomponents/p-81099469.entry.js +1 -0
- package/dist/webcomponents/p-82723f07.entry.js +1 -0
- package/dist/webcomponents/p-86372164.entry.js +1 -0
- package/dist/webcomponents/{p-b608add9.entry.js → p-8896ab68.entry.js} +1 -1
- package/dist/webcomponents/p-89052ce0.entry.js +1 -0
- package/dist/webcomponents/{p-ClvhB3WW.js → p-890S0Nwr.js} +1 -1
- package/dist/webcomponents/{p-37a93597.entry.js → p-8a156528.entry.js} +1 -1
- package/dist/webcomponents/p-8a68be8f.entry.js +1 -0
- package/dist/webcomponents/p-91b09245.entry.js +1 -0
- package/dist/webcomponents/p-9ce44689.entry.js +1 -0
- package/dist/webcomponents/p-B5rtFhtR.js +1 -0
- package/dist/webcomponents/{p-CEk3bv0x.js → p-B9MN_vv4.js} +1 -1
- package/dist/webcomponents/p-BIcS6lTe.js +1 -0
- package/dist/webcomponents/{p-BBx_EQqR.js → p-BRbqaU66.js} +1 -1
- package/dist/webcomponents/{p-Bgnhf5c9.js → p-BS7OgSQe.js} +1 -1
- package/dist/webcomponents/p-BT473_5I.js +1 -0
- package/dist/webcomponents/p-BXMAoCNA.js +1 -0
- package/dist/webcomponents/{p-B6IWa9Ph.js → p-BYrSeoci.js} +1 -1
- package/dist/webcomponents/{p-CCmDcLao.js → p-BdmYH_IK.js} +1 -1
- package/dist/webcomponents/p-BkaPXFTl.js +1 -0
- package/dist/webcomponents/{p-hbWSMN3O.js → p-Bm8T-MOQ.js} +1 -1
- package/dist/webcomponents/p-BwBb2Opu.js +1 -0
- package/dist/webcomponents/p-C6g4MbnB.js +1 -0
- package/dist/webcomponents/{p-1ydcg9ti.js → p-C77ElQ41.js} +1 -1
- package/dist/webcomponents/p-CJ9qo7_g.js +1 -0
- package/dist/webcomponents/{p-C98BC5W5.js → p-CPKSE7M4.js} +1 -1
- package/dist/webcomponents/{p-yH3TC3ZQ.js → p-CPpUGsw5.js} +1 -1
- package/dist/webcomponents/p-CQQ0H4Pb.js +1 -0
- package/dist/webcomponents/p-CTAOJGVx.js +1 -0
- package/dist/webcomponents/p-CVaOFfrI.js +1 -0
- package/dist/webcomponents/p-CVtpEQBE.js +1 -0
- package/dist/webcomponents/p-D9Yus-je.js +1 -0
- package/dist/webcomponents/p-DIdnZUSh.js +1 -0
- package/dist/webcomponents/{p-CH8Y3GSr.js → p-DSCBoCn-.js} +1 -1
- package/dist/webcomponents/p-DfKxeSrC.js +1 -0
- package/dist/webcomponents/{p-D5Jb9OcR.js → p-DfsX5bt_.js} +1 -1
- package/dist/webcomponents/{p-xDbRW9xn.js → p-Dj_zevuD.js} +1 -1
- package/dist/webcomponents/p-DqPvh0aN.js +1 -0
- package/dist/webcomponents/p-DxVCqvBt.js +1 -0
- package/dist/webcomponents/p-DxnXyWPn.js +1 -0
- package/dist/webcomponents/p-Dy3-IlQ3.js +1 -0
- package/dist/webcomponents/p-Dyk0thEr.js +1 -0
- package/dist/webcomponents/p-DzWLLt4t.js +1 -0
- package/dist/webcomponents/{p-CmBCj61h.js → p-F6TcNeK4.js} +1 -1
- package/dist/webcomponents/{p-au49QgoI.js → p-IYf7zn5J.js} +1 -1
- package/dist/webcomponents/{p-C0wTyoTh.js → p-UUJudj_5.js} +1 -1
- package/dist/webcomponents/{p-0cac8468.entry.js → p-a2344efb.entry.js} +1 -1
- package/dist/webcomponents/p-a42ec25b.entry.js +1 -0
- package/dist/webcomponents/p-a81f9fc3.entry.js +1 -0
- package/dist/webcomponents/p-aa51c9e6.entry.js +1 -0
- package/dist/webcomponents/p-af31dc6d.entry.js +1 -0
- package/dist/webcomponents/p-b4b5dd24.entry.js +1 -0
- package/dist/webcomponents/p-b4bb6fa6.entry.js +1 -0
- package/dist/webcomponents/p-b72794e3.entry.js +1 -0
- package/dist/webcomponents/p-be0cbdf9.entry.js +1 -0
- package/dist/webcomponents/p-c4d919be.entry.js +1 -0
- package/dist/webcomponents/p-c796f813.entry.js +1 -0
- package/dist/webcomponents/p-c8656d20.entry.js +1 -0
- package/dist/webcomponents/{p-0cf71cbd.entry.js → p-c8e94ab9.entry.js} +1 -1
- package/dist/webcomponents/p-c9bed02a.entry.js +1 -0
- package/dist/webcomponents/p-cca865be.entry.js +1 -0
- package/dist/webcomponents/p-cd108cae.entry.js +1 -0
- package/dist/webcomponents/p-cfd3035e.entry.js +1 -0
- package/dist/webcomponents/p-d7558874.entry.js +1 -0
- package/dist/webcomponents/p-d8c2cea4.entry.js +1 -0
- package/dist/webcomponents/p-e2ab3f61.entry.js +1 -0
- package/dist/webcomponents/p-e4e6f3b8.entry.js +1 -0
- package/dist/webcomponents/p-e60e7f6a.entry.js +1 -0
- package/dist/webcomponents/p-ef8ac9f4.entry.js +1 -0
- package/dist/webcomponents/p-f4a1d3da.entry.js +1 -0
- package/dist/webcomponents/p-f72f67ef.entry.js +1 -0
- package/dist/webcomponents/p-fcb185fd.entry.js +1 -0
- package/dist/webcomponents/p-fdf5a349.entry.js +1 -0
- package/dist/webcomponents/{p-C8k7a6D-.js → p-i--LPP1s.js} +1 -1
- package/dist/webcomponents/p-sCHf--Vc.js +1 -0
- package/dist/webcomponents/{p-DdZLLkQ5.js → p-ty1sI-fI.js} +1 -1
- package/dist/webcomponents/p-yiqa5abX.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +13 -13
- package/LICENSE +0 -21
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +0 -112
- package/dist/cjs/business-identity-schema-aFUle0C9.js +0 -51
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +0 -107
- package/dist/cjs/helpers-B5OCqlIM.js +0 -35
- package/dist/cjs/state-options-CIT9xdTz.js +0 -246
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +0 -107
- package/dist/esm/business-identity-schema-CDJzknbg.js +0 -48
- package/dist/esm/form-control-number-masked_2.entry.js +0 -104
- package/dist/esm/helpers-Mu7LQT-w.js +0 -29
- package/dist/esm/state-options-BX8GieXu.js +0 -244
- package/dist/module/helpers.js +0 -29
- package/dist/module/state-options.js +0 -244
- package/dist/webcomponents/p-0256af65.entry.js +0 -1
- package/dist/webcomponents/p-0af5269e.entry.js +0 -1
- package/dist/webcomponents/p-0f47f052.entry.js +0 -1
- package/dist/webcomponents/p-28a3bf32.entry.js +0 -1
- package/dist/webcomponents/p-2b568e8e.entry.js +0 -1
- package/dist/webcomponents/p-2d300faa.entry.js +0 -1
- package/dist/webcomponents/p-30856338.entry.js +0 -1
- package/dist/webcomponents/p-328117e4.entry.js +0 -1
- package/dist/webcomponents/p-32978110.entry.js +0 -1
- package/dist/webcomponents/p-47997bc2.entry.js +0 -1
- package/dist/webcomponents/p-50701f16.entry.js +0 -1
- package/dist/webcomponents/p-5235230f.entry.js +0 -1
- package/dist/webcomponents/p-526b7442.entry.js +0 -1
- package/dist/webcomponents/p-5aae36f3.entry.js +0 -1
- package/dist/webcomponents/p-5b5d7a8f.entry.js +0 -1
- package/dist/webcomponents/p-5bd3d86e.entry.js +0 -1
- package/dist/webcomponents/p-66db858a.entry.js +0 -1
- package/dist/webcomponents/p-720a2324.entry.js +0 -1
- package/dist/webcomponents/p-78cb62a8.entry.js +0 -1
- package/dist/webcomponents/p-7dc9ef8a.entry.js +0 -1
- package/dist/webcomponents/p-84551ee4.entry.js +0 -1
- package/dist/webcomponents/p-854b3db0.entry.js +0 -1
- package/dist/webcomponents/p-85a2eac6.entry.js +0 -1
- package/dist/webcomponents/p-8663e8bd.entry.js +0 -1
- package/dist/webcomponents/p-89f6ad8f.entry.js +0 -1
- package/dist/webcomponents/p-8S_ROmnq.js +0 -1
- package/dist/webcomponents/p-8ca21fab.entry.js +0 -1
- package/dist/webcomponents/p-8cebc84b.entry.js +0 -1
- package/dist/webcomponents/p-8f8dfd4b.entry.js +0 -1
- package/dist/webcomponents/p-94237472.entry.js +0 -1
- package/dist/webcomponents/p-9ad7d724.entry.js +0 -1
- package/dist/webcomponents/p-B-iV5cYd.js +0 -1
- package/dist/webcomponents/p-BX8GieXu.js +0 -1
- package/dist/webcomponents/p-BjNuRWXK.js +0 -1
- package/dist/webcomponents/p-BlJnA265.js +0 -1
- package/dist/webcomponents/p-BoQ6_4Ks.js +0 -1
- package/dist/webcomponents/p-C9EQ459H.js +0 -1
- package/dist/webcomponents/p-C9iide2W.js +0 -1
- package/dist/webcomponents/p-CCLgieAN.js +0 -1
- package/dist/webcomponents/p-D0Peuz-m.js +0 -1
- package/dist/webcomponents/p-D6BImiVi.js +0 -1
- package/dist/webcomponents/p-DH8F0bsw.js +0 -1
- package/dist/webcomponents/p-DL-q4EcN.js +0 -1
- package/dist/webcomponents/p-DQZ5VHTZ.js +0 -1
- package/dist/webcomponents/p-DWn9BiNn.js +0 -1
- package/dist/webcomponents/p-DfV3dFDB.js +0 -1
- package/dist/webcomponents/p-Dt-vy9Le.js +0 -1
- package/dist/webcomponents/p-NAjz1Xfo.js +0 -1
- package/dist/webcomponents/p-PSJOKMWp.js +0 -1
- package/dist/webcomponents/p-RQzxYnz_.js +0 -1
- package/dist/webcomponents/p-T2yENPvU.js +0 -1
- package/dist/webcomponents/p-a5c70eee.entry.js +0 -1
- package/dist/webcomponents/p-aa14cc74.entry.js +0 -1
- package/dist/webcomponents/p-ae7054bf.entry.js +0 -1
- package/dist/webcomponents/p-ae8ae5bb.entry.js +0 -1
- package/dist/webcomponents/p-b095c781.entry.js +0 -1
- package/dist/webcomponents/p-b36adce3.entry.js +0 -1
- package/dist/webcomponents/p-b612d870.entry.js +0 -1
- package/dist/webcomponents/p-baf0d3e7.entry.js +0 -1
- package/dist/webcomponents/p-bb53e2e9.entry.js +0 -1
- package/dist/webcomponents/p-be05d450.entry.js +0 -1
- package/dist/webcomponents/p-c089fb5f.entry.js +0 -1
- package/dist/webcomponents/p-ce652ff9.entry.js +0 -1
- package/dist/webcomponents/p-d0a2035f.entry.js +0 -1
- package/dist/webcomponents/p-d1bceac6.entry.js +0 -1
- package/dist/webcomponents/p-d37d752e.entry.js +0 -1
- package/dist/webcomponents/p-d4476052.entry.js +0 -1
- package/dist/webcomponents/p-d7f91c48.entry.js +0 -1
- package/dist/webcomponents/p-d84f0122.entry.js +0 -1
- package/dist/webcomponents/p-e55a161f.entry.js +0 -1
- package/dist/webcomponents/p-e6be4e19.entry.js +0 -1
- package/dist/webcomponents/p-ec9514f8.entry.js +0 -1
- package/dist/webcomponents/p-f11a74c3.entry.js +0 -1
- package/dist/webcomponents/p-f705fc49.entry.js +0 -1
- package/dist/webcomponents/p-f930acaa.entry.js +0 -1
- package/dist/webcomponents/p-fe8c2243.entry.js +0 -1
- package/dist/webcomponents/p-fedfe376.entry.js +0 -1
- package/dist/webcomponents/p-ffefa09c.entry.js +0 -1
- package/dist/webcomponents/p-h5pyZngT.js +0 -1
- package/dist/webcomponents/p-tYuXMkCd.js +0 -1
- package/dist/webcomponents/p-wQgEEOq_.js +0 -1
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index_esm = require('./index.esm-ByC0D4sJ.js');
|
|
4
|
+
var schemaValidations = require('./schema-validations-0mjPveQ0.js');
|
|
5
|
+
var Business = require('./Business-DWHy_-z9.js');
|
|
6
|
+
|
|
7
|
+
// Internal USA schemas
|
|
8
|
+
const schemaUSA$1 = () => index_esm.create$3({
|
|
9
|
+
line1: schemaValidations.lineOneValidation.nullable(),
|
|
10
|
+
line2: schemaValidations.lineTwoValidation.nullable(),
|
|
11
|
+
city: schemaValidations.cityValidation.nullable(),
|
|
12
|
+
state: index_esm.create$6().nullable(),
|
|
13
|
+
postal_code: index_esm.create$6().nullable(),
|
|
14
|
+
});
|
|
15
|
+
const strictSchemaUSA$1 = () => index_esm.create$3({
|
|
16
|
+
line1: schemaValidations.lineOneValidation.required('Enter street address'),
|
|
17
|
+
line2: schemaValidations.lineTwoValidation.nullable(),
|
|
18
|
+
city: schemaValidations.cityValidation.required('Enter city'),
|
|
19
|
+
state: index_esm.create$6().required('Select state'),
|
|
20
|
+
postal_code: schemaValidations.postalValidation.required('Enter postal code'),
|
|
21
|
+
});
|
|
22
|
+
// Internal CAN schemas
|
|
23
|
+
const schemaCAN$1 = () => index_esm.create$3({
|
|
24
|
+
line1: schemaValidations.lineOneValidation.nullable(),
|
|
25
|
+
line2: schemaValidations.lineTwoValidation.nullable(),
|
|
26
|
+
city: schemaValidations.cityValidation.nullable(),
|
|
27
|
+
state: index_esm.create$6().nullable(),
|
|
28
|
+
postal_code: index_esm.create$6().nullable(),
|
|
29
|
+
});
|
|
30
|
+
const strictSchemaCAN$1 = () => index_esm.create$3({
|
|
31
|
+
line1: schemaValidations.lineOneValidation.required('Enter street address'),
|
|
32
|
+
line2: schemaValidations.lineTwoValidation.nullable(),
|
|
33
|
+
city: schemaValidations.cityValidation.required('Enter city'),
|
|
34
|
+
state: index_esm.create$6().required('Select province'),
|
|
35
|
+
postal_code: schemaValidations.makePostalValidation(Business.CountryCode.CAN).required('Enter postal code'),
|
|
36
|
+
});
|
|
37
|
+
// Public API
|
|
38
|
+
const addressSchemaUSA = (allowOptionalFields) => allowOptionalFields ? schemaUSA$1() : strictSchemaUSA$1();
|
|
39
|
+
const addressSchemaCAN = (allowOptionalFields) => allowOptionalFields ? schemaCAN$1() : strictSchemaCAN$1();
|
|
40
|
+
// Country-keyed mapping
|
|
41
|
+
const addressSchemaByCountry = {
|
|
42
|
+
[Business.CountryCode.USA]: addressSchemaUSA,
|
|
43
|
+
[Business.CountryCode.CAN]: addressSchemaCAN,
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
// Internal USA schemas
|
|
47
|
+
const schemaUSA = (role) => index_esm.create$3({
|
|
48
|
+
name: schemaValidations.identityNameValidation.required(`Enter ${role} name`),
|
|
49
|
+
title: schemaValidations.identityTitleValidation.nullable(),
|
|
50
|
+
email: schemaValidations.emailValidation.nullable(),
|
|
51
|
+
phone: schemaValidations.phoneValidation.nullable(),
|
|
52
|
+
dob_full: schemaValidations.dobValidation(role).nullable(),
|
|
53
|
+
ssn_last4: index_esm.create$6().nullable(),
|
|
54
|
+
identification_number: schemaValidations.ssnValidation.nullable(),
|
|
55
|
+
address: addressSchemaUSA(true),
|
|
56
|
+
});
|
|
57
|
+
const strictSchemaUSA = (role) => index_esm.create$3({
|
|
58
|
+
name: schemaValidations.identityNameValidation.required(`Enter ${role} name`),
|
|
59
|
+
title: schemaValidations.identityTitleValidation.required(`Enter ${role} title`),
|
|
60
|
+
email: schemaValidations.emailValidation.required(`Enter ${role} email`),
|
|
61
|
+
phone: schemaValidations.phoneValidation.required('Enter phone number'),
|
|
62
|
+
dob_full: schemaValidations.dobValidation(role).required('Enter date of birth'),
|
|
63
|
+
ssn_last4: index_esm.create$6().nullable(),
|
|
64
|
+
// ssn required unless last4 provided (handled inside ssnValidation)
|
|
65
|
+
identification_number: schemaValidations.ssnValidation,
|
|
66
|
+
address: addressSchemaUSA(false),
|
|
67
|
+
});
|
|
68
|
+
// Internal CAN schemas
|
|
69
|
+
const schemaCAN = (role) => index_esm.create$3({
|
|
70
|
+
name: schemaValidations.identityNameValidation.required(`Enter ${role} name`),
|
|
71
|
+
title: schemaValidations.identityTitleValidation.nullable(),
|
|
72
|
+
email: schemaValidations.emailValidation.nullable(),
|
|
73
|
+
phone: schemaValidations.phoneValidation.nullable(),
|
|
74
|
+
dob_full: schemaValidations.dobValidation(role).nullable(),
|
|
75
|
+
identification_number: schemaValidations.makeIdentityNumberValidation(Business.CountryCode.CAN).nullable(),
|
|
76
|
+
address: addressSchemaCAN(true),
|
|
77
|
+
});
|
|
78
|
+
const strictSchemaCAN = (role) => index_esm.create$3({
|
|
79
|
+
name: schemaValidations.identityNameValidation.required(`Enter ${role} name`),
|
|
80
|
+
title: schemaValidations.identityTitleValidation.required(`Enter ${role} title`),
|
|
81
|
+
email: schemaValidations.emailValidation.required(`Enter ${role} email`),
|
|
82
|
+
phone: schemaValidations.phoneValidation.required('Enter phone number'),
|
|
83
|
+
dob_full: schemaValidations.dobValidation(role).required('Enter date of birth'),
|
|
84
|
+
identification_number: schemaValidations.makeIdentityNumberValidation(Business.CountryCode.CAN)
|
|
85
|
+
.required('Enter identification number'),
|
|
86
|
+
address: addressSchemaCAN(false),
|
|
87
|
+
});
|
|
88
|
+
const identitySchemaUSA = (role, allowOptionalFields) => allowOptionalFields ? schemaUSA(role) : strictSchemaUSA(role);
|
|
89
|
+
const identitySchemaCAN = (role, allowOptionalFields) => allowOptionalFields ? schemaCAN(role) : strictSchemaCAN(role);
|
|
90
|
+
// Country-keyed mapping
|
|
91
|
+
const identitySchemaByCountry = {
|
|
92
|
+
[Business.CountryCode.USA]: identitySchemaUSA,
|
|
93
|
+
[Business.CountryCode.CAN]: identitySchemaCAN,
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
exports.addressSchemaByCountry = addressSchemaByCountry;
|
|
97
|
+
exports.addressSchemaCAN = addressSchemaCAN;
|
|
98
|
+
exports.addressSchemaUSA = addressSchemaUSA;
|
|
99
|
+
exports.identitySchemaByCountry = identitySchemaByCountry;
|
|
100
|
+
exports.identitySchemaCAN = identitySchemaCAN;
|
|
101
|
+
exports.identitySchemaUSA = identitySchemaUSA;
|
|
@@ -4,7 +4,7 @@ var Api = require('./Api-CjtvTD2_.js');
|
|
|
4
4
|
require('./ComponentError-D4OLnOkg.js');
|
|
5
5
|
require('./Refund-BnhHNKLz.js');
|
|
6
6
|
require('./Pagination-Dediz133.js');
|
|
7
|
-
require('./Business-
|
|
7
|
+
require('./Business-DWHy_-z9.js');
|
|
8
8
|
require('./Dispute-CruQTF6_.js');
|
|
9
9
|
|
|
10
10
|
const api = Api.Api();
|
|
@@ -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: '663c1f9a452e8d33ccf001044c2f8b1ba041f80e' }, index.h(CardFormSkeleton, { key: '4c0c267f180ab6c16e0f524631b7fef3c212a2c5', isReady: this.isReady }), index.h("div", { key: '5ee9adfcb131adbc972ea9c1806886534185d462', 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: 'f1c7b6b7b23870ba0d39d08e04c113f464be2ea9', class: "mb-3" }, index.h("iframe-input", { key: 'dcd776b12d26c6561d5b630c09783e0c9c71f658', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber?tabId=${this.tabId}` })), index.h("div", { key: 'f76687d1aad013195aec06f0fec3166aa0d0ba71', class: "d-flex align-items-start" }, index.h("div", { key: '8321d1eaa1c1fee49106ca8a88f31b723d69d328', class: "flex-fill me-3" }, index.h("iframe-input", { key: 'f3740ecace8a988bf87475861fc5383920044e15', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Exp. Month", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth?tabId=${this.tabId}` })), index.h("div", { key: '1b689045613f137cb4dfe41bae400dec27a93ae9', class: "flex-fill me-3" }, index.h("iframe-input", { key: '91d5b86f0de32c2635d3569dabd17230c1062c28', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "Exp. Year", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear?tabId=${this.tabId}` })), index.h("div", { key: '78f69077b9cc4c55694ee0dc3cbf43cc09de74a3', class: "flex-fill" }, index.h("iframe-input", { key: 'af2bb37ec9a2386dac4ebc17f4296e280c865271', 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-
|
|
3
|
+
var _package = require('./package-BADgkv50.js');
|
|
4
4
|
var Api = require('./Api-CjtvTD2_.js');
|
|
5
5
|
require('./ComponentError-D4OLnOkg.js');
|
|
6
6
|
require('./Refund-BnhHNKLz.js');
|
|
7
7
|
require('./Pagination-Dediz133.js');
|
|
8
|
-
require('./Business-
|
|
8
|
+
require('./Business-DWHy_-z9.js');
|
|
9
9
|
require('./Dispute-CruQTF6_.js');
|
|
10
10
|
|
|
11
11
|
const api = Api.Api();
|
|
@@ -4,7 +4,7 @@ var Api = require('./Api-CjtvTD2_.js');
|
|
|
4
4
|
require('./ComponentError-D4OLnOkg.js');
|
|
5
5
|
require('./Refund-BnhHNKLz.js');
|
|
6
6
|
require('./Pagination-Dediz133.js');
|
|
7
|
-
require('./Business-
|
|
7
|
+
require('./Business-DWHy_-z9.js');
|
|
8
8
|
require('./Dispute-CruQTF6_.js');
|
|
9
9
|
|
|
10
10
|
const api = Api.Api();
|
|
@@ -6,7 +6,7 @@ require('./dinero-BwNN_k7x.js');
|
|
|
6
6
|
require('./ComponentError-D4OLnOkg.js');
|
|
7
7
|
require('./Refund-BnhHNKLz.js');
|
|
8
8
|
var Pagination = require('./Pagination-Dediz133.js');
|
|
9
|
-
require('./Business-
|
|
9
|
+
require('./Business-DWHy_-z9.js');
|
|
10
10
|
require('./Dispute-CruQTF6_.js');
|
|
11
11
|
var table = require('./table-Ccg4k90C.js');
|
|
12
12
|
var eventTypes = require('./event-types-YOY5TKUN.js');
|
|
@@ -14,8 +14,6 @@ var checkoutsTable = require('./checkouts-table-C5AHeIr0.js');
|
|
|
14
14
|
var checkoutsListParamsState = require('./checkouts-list-params-state-BYpq-c6X.js');
|
|
15
15
|
require('./index-CWM5ions.js');
|
|
16
16
|
require('./utils-Bab-tddY.js');
|
|
17
|
-
require('./helpers-B5OCqlIM.js');
|
|
18
|
-
require('./state-options-CIT9xdTz.js');
|
|
19
17
|
require('./parts-Pb06tUMp.js');
|
|
20
18
|
require('./spinner-Rt52JMa2.js');
|
|
21
19
|
require('./badge-CE3ss_OU.js');
|
|
@@ -136,7 +134,7 @@ const CheckoutsListCore = class {
|
|
|
136
134
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
137
135
|
}
|
|
138
136
|
render() {
|
|
139
|
-
return (index.h(table.TableWrapper, { key: '
|
|
137
|
+
return (index.h(table.TableWrapper, { key: 'a227a356ba08e39e4b60849d8615a5b1cd845739' }, index.h(table.TableComponent, { key: '51b96d4be5773975397eadfc6c3c0ec983bdb38f' }, index.h(table.TableHead, { key: '868cf524b90bcc2671fc487dc5c7f9c71756d24f' }, index.h(table.TableHeadRow, { key: '3bc7b727e4e3c8f0a61b55993c965779c0fac73b' }, this.checkoutsTable.columnData.map((column) => column))), index.h(table.TableBody, { key: '06adebe1455360d37d3eed7a27af2698b35047b4' }, index.h(table.TableLoadingState, { key: '241f49bd2ed6d3548e286de8f75f1cc92ffae23f', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), index.h(table.TableEmptyState, { key: '9739415d15f73457aa5125c85be88566e70d233b', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), index.h(table.TableErrorState, { key: '43b1fa74ba01c89b2d22fc238295c343bf6379b6', 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: '3a4b974a07bbe7d0fe246ad93724be2bec449166' }, index.h(table.TableFootRow, { key: '6ec16663674ea87026fc3400d164fa2d9907c35a' }, index.h(table.TableFootCell, { key: '1eb2943ba2e6885a1a520430eb257e7499553c80', colSpan: this.checkoutsTable.columnData.length }, index.h("pagination-menu", { key: 'd4719b9e2166d0577e620a5575303294127833a9', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
140
138
|
}
|
|
141
139
|
static get watchers() { return {
|
|
142
140
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var Business = require('./Business-DWHy_-z9.js');
|
|
4
|
+
|
|
5
|
+
const ProvinceOptions = [
|
|
6
|
+
{
|
|
7
|
+
label: 'Choose province',
|
|
8
|
+
value: '',
|
|
9
|
+
},
|
|
10
|
+
{ label: 'Alberta', value: 'AB' },
|
|
11
|
+
{ label: 'British Columbia', value: 'BC' },
|
|
12
|
+
{ label: 'Manitoba', value: 'MB' },
|
|
13
|
+
{ label: 'New Brunswick', value: 'NB' },
|
|
14
|
+
{ label: 'Newfoundland and Labrador', value: 'NL' },
|
|
15
|
+
{ label: 'Northwest Territories', value: 'NT' },
|
|
16
|
+
{ label: 'Nova Scotia', value: 'NS' },
|
|
17
|
+
{ label: 'Nunavut', value: 'NU' },
|
|
18
|
+
{ label: 'Ontario', value: 'ON' },
|
|
19
|
+
{ label: 'Prince Edward Island', value: 'PE' },
|
|
20
|
+
{ label: 'Quebec', value: 'QC' },
|
|
21
|
+
{ label: 'Saskatchewan', value: 'SK' },
|
|
22
|
+
{ label: 'Yukon', value: 'YT' },
|
|
23
|
+
];
|
|
24
|
+
|
|
25
|
+
const countryLabels = {
|
|
26
|
+
USA: {
|
|
27
|
+
stateLabel: 'State',
|
|
28
|
+
postalLabel: 'Zip Code',
|
|
29
|
+
idNumberLabel: 'SSN',
|
|
30
|
+
idNumberLabelOptional: 'SSN (optional)',
|
|
31
|
+
identityHelpText: 'Enter your full Social Security Number. It is required for Federal OFAC check.',
|
|
32
|
+
taxIdLabel: 'Tax ID (EIN or SSN)',
|
|
33
|
+
taxIdHelpText: "Employer Identification Numbers (EINs) are nine digits. The federal tax identification number/EIN issued to you by the IRS. It can be found on your tax returns. Enter value without dashes.",
|
|
34
|
+
},
|
|
35
|
+
CAN: {
|
|
36
|
+
stateLabel: 'Province',
|
|
37
|
+
postalLabel: 'Postal Code',
|
|
38
|
+
idNumberLabel: 'SIN',
|
|
39
|
+
idNumberLabelOptional: 'SIN (optional)',
|
|
40
|
+
identityHelpText: 'Enter your full Social Insurance Number.',
|
|
41
|
+
taxIdLabel: 'Business Number (BN)',
|
|
42
|
+
taxIdHelpText: 'Business Numbers (BN) are nine digits. Enter value without spaces or dashes.',
|
|
43
|
+
},
|
|
44
|
+
};
|
|
45
|
+
const countryOptions = {
|
|
46
|
+
USA: {
|
|
47
|
+
stateOptions: Business.StateOptions,
|
|
48
|
+
},
|
|
49
|
+
CAN: {
|
|
50
|
+
stateOptions: ProvinceOptions,
|
|
51
|
+
},
|
|
52
|
+
};
|
|
53
|
+
const countryValidation = {
|
|
54
|
+
USA: {
|
|
55
|
+
postalRegex: /^[0-9]{5}(-[0-9]{4})?$/,
|
|
56
|
+
identityDigits: 9,
|
|
57
|
+
taxIdDigits: 9,
|
|
58
|
+
},
|
|
59
|
+
CAN: {
|
|
60
|
+
postalRegex: /^[A-Za-z]\d[A-Za-z][ -]?\d[A-Za-z]\d$/,
|
|
61
|
+
identityDigits: 9,
|
|
62
|
+
taxIdDigits: 9,
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
exports.countryLabels = countryLabels;
|
|
67
|
+
exports.countryOptions = countryOptions;
|
|
68
|
+
exports.countryValidation = countryValidation;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-Bhtk1qkX.js');
|
|
4
|
-
var parts = require('./parts-Pb06tUMp.js');
|
|
5
4
|
|
|
6
5
|
var top = 'top';
|
|
7
6
|
var bottom = 'bottom';
|
|
@@ -1875,7 +1874,7 @@ const CustomPopper = class {
|
|
|
1875
1874
|
this.hideEvent.emit();
|
|
1876
1875
|
}
|
|
1877
1876
|
render() {
|
|
1878
|
-
return (index.h("div", { key: '
|
|
1877
|
+
return (index.h("div", { key: '3258d815eae7b31323a8c1bca81d46f51fa684de' }, index.h("style", { key: '4ef14405fc58db08baacc2d760484150eb9ba937' }, `
|
|
1879
1878
|
.popper-content {
|
|
1880
1879
|
display: none;
|
|
1881
1880
|
}
|
|
@@ -1883,27 +1882,8 @@ const CustomPopper = class {
|
|
|
1883
1882
|
display: block;
|
|
1884
1883
|
z-index: 1030;
|
|
1885
1884
|
}
|
|
1886
|
-
`), index.h("div", { key: '
|
|
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)))));
|
|
1885
|
+
`), index.h("div", { key: '15e316884fbac8bb31d9ce1d60cf81d6346b13a1', class: "popper-content", ref: (el) => this.popperContentRef = el }, index.h("slot", { key: 'c6ea5b2e88b6cad1e87d82310b8d74e5b4bb6b67' }))));
|
|
1905
1886
|
}
|
|
1906
1887
|
};
|
|
1907
1888
|
|
|
1908
1889
|
exports.custom_popper = CustomPopper;
|
|
1909
|
-
exports.form_control_tooltip = TooltipComponent;
|
|
@@ -4,7 +4,7 @@ var Api = require('./Api-CjtvTD2_.js');
|
|
|
4
4
|
require('./ComponentError-D4OLnOkg.js');
|
|
5
5
|
require('./Refund-BnhHNKLz.js');
|
|
6
6
|
require('./Pagination-Dediz133.js');
|
|
7
|
-
require('./Business-
|
|
7
|
+
require('./Business-DWHy_-z9.js');
|
|
8
8
|
require('./Dispute-CruQTF6_.js');
|
|
9
9
|
|
|
10
10
|
const api = Api.Api();
|
|
@@ -2,12 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-Bhtk1qkX.js');
|
|
4
4
|
var parts = require('./parts-Pb06tUMp.js');
|
|
5
|
-
var businessFormOptions = require('./business-form-options-
|
|
6
|
-
var formInputMasks = require('./form-input-masks-
|
|
7
|
-
var Business = require('./Business-
|
|
8
|
-
var
|
|
9
|
-
var stateOptions = require('./state-options-CIT9xdTz.js');
|
|
10
|
-
var utils = require('./utils-DAyWinG2.js');
|
|
5
|
+
var businessFormOptions = require('./business-form-options-e9UFw4P-.js');
|
|
6
|
+
var formInputMasks = require('./form-input-masks-BnNFJ3IJ.js');
|
|
7
|
+
var Business = require('./Business-DWHy_-z9.js');
|
|
8
|
+
var countryConfig = require('./country-config-MCOhn8o3.js');
|
|
11
9
|
|
|
12
10
|
const FormAlert = class {
|
|
13
11
|
constructor(hostRef) {
|
|
@@ -41,7 +39,7 @@ const AdditionalQuestions = class {
|
|
|
41
39
|
render() {
|
|
42
40
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
43
41
|
const additionalQuestionsDefaultValue = this.formController.getInitialValues().additional_questions;
|
|
44
|
-
return (index.h(index.Host, { key: '
|
|
42
|
+
return (index.h(index.Host, { key: '8f51222ff2a06a8636c2252a1df25803c464cd5a' }, index.h("fieldset", { key: 'c705274cb9e5cc651f8cedb5ac23714a75dca09a' }, index.h("legend", { key: '0e865f2763c872ccd65c7d255e0a49533bf8afbe', part: parts.heading2 }, "Additional Questions"), index.h("div", { key: 'b5a9d2c8086820d837a6261c0fbbd1c4785e8cbe', class: "row gy-3" }, index.h("div", { key: 'b0174e926ef2726d9c1ce809d00cf8fef623207c', class: "col-12 col-md-6" }, index.h("form-control-monetary-provisioning", { key: '5553ed9ca690b4b7a54dfe864225fb4e10987c96', name: "business_revenue", label: "What is the business' estimated annual revenue from its primary business activities?", inputHandler: this.inputHandler, errorText: (_b = (_a = this.errors) === null || _a === void 0 ? void 0 : _a.additional_questions) === null || _b === void 0 ? void 0 : _b.business_revenue, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_revenue, maskOptions: formInputMasks.CURRENCY_MASK.WHOLE })), index.h("div", { key: 'a01e709a65772041979e7b8c057b271e26524174', class: "col-12 col-md-6" }, index.h("form-control-monetary-provisioning", { key: '2e56403c3eb357dac7f6791e0c5fa4fca58e6cfb', name: "business_payment_volume", label: "What is the business' annual credit card & ACH volume anticipated to process?", inputHandler: this.inputHandler, errorText: (_d = (_c = this.errors) === null || _c === void 0 ? void 0 : _c.additional_questions) === null || _d === void 0 ? void 0 : _d.business_payment_volume, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_payment_volume, maskOptions: formInputMasks.CURRENCY_MASK.WHOLE })), index.h("div", { key: '74318a7f6fdcc265d96827e5fb02d797631b3fd5', class: "col-12" }, index.h("form-control-select", { key: 'd166c9a1951afc9e1876d078ddc026671e8e0dcc', name: 'business_when_service_received', label: 'On average, how long after paying will your customers typically receive their goods or services?', inputHandler: this.inputHandler, errorText: (_f = (_e = this.errors) === null || _e === void 0 ? void 0 : _e.additional_questions) === null || _f === void 0 ? void 0 : _f.business_when_service_received, options: businessFormOptions.businessServiceReceivedOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_when_service_received })), index.h("div", { key: 'e47aefb3a2274244d3e2561da7cfecb203445f1e', class: "col-12" }, index.h("form-control-select", { key: '33978d0af775cace90de84104f74b2d6c22ae1c0', name: 'business_recurring_payments', label: 'Does your business offer recurring payments?', inputHandler: this.inputHandler, errorText: (_h = (_g = this.errors) === null || _g === void 0 ? void 0 : _g.additional_questions) === null || _h === void 0 ? void 0 : _h.business_recurring_payments, options: businessFormOptions.recurringPaymentsOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments })), index.h("div", { key: '93f996064e4055c9a81c0077a20fd878ad1a6c97', class: "col-12" }, index.h("form-control-text", { key: '68ac25357311838b8fa9a897fbb324f45f589f5f', name: 'business_recurring_payments_percentage', label: 'What percent of revenue is generated from each recurring payment type offered?', inputHandler: this.inputHandler, errorText: (_k = (_j = this.errors) === null || _j === void 0 ? void 0 : _j.additional_questions) === null || _k === void 0 ? void 0 : _k.business_recurring_payments_percentage, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments_percentage })), index.h("div", { key: 'f2dfe10a8ed19faa36a38a8192268813b03d454f', class: "col-12" }, index.h("form-control-select", { key: '1d6cf56564944d8dbef4f22c403232c9b7841018', name: 'business_seasonal', label: 'Is this business seasonal?', inputHandler: this.inputHandler, errorText: (_m = (_l = this.errors) === null || _l === void 0 ? void 0 : _l.additional_questions) === null || _m === void 0 ? void 0 : _m.business_seasonal, options: businessFormOptions.seasonalBusinessOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_seasonal })), index.h("div", { key: 'fe75a54400d4614fe1d3ed9099ff5a5d3822c007', class: "col-12" }, index.h("form-control-text", { key: 'aa7609f7687a5c0666bf35119cd4af7ad4e68f89', name: 'business_other_payment_details', label: 'Is there anything else you would like us to know about how your customers pay the business?', inputHandler: this.inputHandler, errorText: (_p = (_o = this.errors) === null || _o === void 0 ? void 0 : _o.additional_questions) === null || _p === void 0 ? void 0 : _p.business_other_payment_details, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_other_payment_details }))))));
|
|
45
43
|
}
|
|
46
44
|
};
|
|
47
45
|
|
|
@@ -50,6 +48,7 @@ const BusinessCoreInfo = class {
|
|
|
50
48
|
index.registerInstance(this, hostRef);
|
|
51
49
|
this.errors = {};
|
|
52
50
|
this.coreInfo = {};
|
|
51
|
+
this.isEditingTaxId = false;
|
|
53
52
|
this.inputHandler = this.inputHandler.bind(this);
|
|
54
53
|
}
|
|
55
54
|
componentDidLoad() {
|
|
@@ -62,8 +61,12 @@ const BusinessCoreInfo = class {
|
|
|
62
61
|
this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
|
|
63
62
|
}
|
|
64
63
|
render() {
|
|
64
|
+
var _a, _b;
|
|
65
65
|
const coreInfoDefaultValue = this.formController.getInitialValues();
|
|
66
|
-
return (index.h(index.Host, { key: '
|
|
66
|
+
return (index.h(index.Host, { key: 'abe85b33019341e670263a3fabefe1c73c203a12' }, index.h("fieldset", { key: '12eb6d4e78e56c8771d95e03fa7d8c4c9ea6478f' }, index.h("legend", { key: '514cb38045c7d4a4a6746a3846c84013507d0691', part: parts.heading2 }, "General Info"), index.h("div", { key: '30a509f2dd8ec2938dcc790d8891a917b76b91a0', class: "row gy-3" }, index.h("div", { key: 'ced24f46905abd380fd190bd56d56eba7ec65289', class: "col-12" }, index.h("form-control-text", { key: '26e986bef6cad147cd7e5b557e27ad8e61932e54', name: "legal_name", label: "Legal Name", defaultValue: coreInfoDefaultValue.legal_name, errorText: this.errors.legal_name, inputHandler: this.inputHandler })), index.h("div", { key: 'fabae43dc916ee087b73e366b01bc40fc29a4110', class: "col-12" }, index.h("form-control-text", { key: 'bf7e45fe95c0156c583c693006f4a65f2d1d6b1b', 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: '12d52af1fb5dcef7382b8a36f44a048bcff5a752', class: "col-12 col-md-8" }, index.h("form-control-select", { key: '94ea7c2438e5fbb0b85a9df5915d78791ae026ea', name: "classification", label: "Business Classification", options: businessFormOptions.businessClassificationOptions, defaultValue: coreInfoDefaultValue.classification, errorText: this.errors.classification, inputHandler: this.inputHandler })), index.h("div", { key: '90800a655ff4470ea6de9f774dcdccc95862c821', class: "col-12 col-md-4" }, index.h("form-control-date", { key: '715436c7bf7d34ab2505b1005873ac549f351af1', 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: 'f4502deec218f3493210ecb6b1ad19fc7cf9f28f', class: "col-12 col-md-6" }, index.h("form-control-text", { key: '91614c8854a4b2e79fea028c1ad43ef751dacfb1', name: "industry", label: "Industry", defaultValue: coreInfoDefaultValue.industry, errorText: this.errors.industry, inputHandler: this.inputHandler })), index.h("div", { key: '9c7a45b88199e7d00673e6d569f45e2dcf3d242d', class: "col-12 col-md-6" }, (!((_a = this.coreInfo) === null || _a === void 0 ? void 0 : _a.tax_id_last4) || this.isEditingTaxId) ? (index.h("form-control-number-masked", { name: "tax_id", label: countryConfig.countryLabels[this.country].taxIdLabel, defaultValue: this.isEditingTaxId ? '' : coreInfoDefaultValue.tax_id, errorText: this.errors.tax_id, inputHandler: this.inputHandler, mask: formInputMasks.IDENTITY_MASKS[this.country], helpText: countryConfig.countryLabels[this.country].taxIdHelpText })) : (index.h("div", null, index.h("label", { class: "form-label", part: parts.label }, countryConfig.countryLabels[this.country].taxIdLabel), index.h("div", { class: "input-group mb-3" }, index.h("input", { type: "text", class: "form-control", part: parts.inputDisabled, value: `****${(_b = this.coreInfo) === null || _b === void 0 ? void 0 : _b.tax_id_last4}`, disabled: true }), index.h("button", { class: "btn btn-secondary", type: "button", part: parts.buttonSecondary, onClick: () => {
|
|
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 }))))));
|
|
67
70
|
}
|
|
68
71
|
};
|
|
69
72
|
|
|
@@ -72,6 +75,7 @@ const BusinessRepresentative = class {
|
|
|
72
75
|
index.registerInstance(this, hostRef);
|
|
73
76
|
this.errors = {};
|
|
74
77
|
this.representative = {};
|
|
78
|
+
this.isEditingIdentification = false;
|
|
75
79
|
this.inputHandler = (name, value) => {
|
|
76
80
|
this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { representative: Object.assign(Object.assign({}, this.formController.values.getValue().representative), { [name]: value }) }));
|
|
77
81
|
};
|
|
@@ -79,20 +83,28 @@ const BusinessRepresentative = class {
|
|
|
79
83
|
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) }) }));
|
|
80
84
|
};
|
|
81
85
|
this.onDateOfBirthUpdate = (event) => {
|
|
82
|
-
const dob_values =
|
|
86
|
+
const dob_values = Business.deconstructDate(event.detail);
|
|
83
87
|
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 }) }));
|
|
84
88
|
};
|
|
85
89
|
}
|
|
86
90
|
get identificationNumberLabel() {
|
|
87
|
-
|
|
91
|
+
var _a;
|
|
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;
|
|
88
95
|
}
|
|
89
96
|
componentDidLoad() {
|
|
90
97
|
this.formController.errors.subscribe(errors => (this.errors = Object.assign({}, errors.representative)));
|
|
91
98
|
this.formController.values.subscribe(values => (this.representative = Object.assign({}, values.representative)));
|
|
92
99
|
}
|
|
93
100
|
render() {
|
|
101
|
+
var _a, _b;
|
|
94
102
|
const representativeDefaultValue = this.formController.getInitialValues().representative;
|
|
95
|
-
return (index.h(index.Host, { key: '
|
|
103
|
+
return (index.h(index.Host, { key: '1ce133c6cf1804607b661953bb9d952e6dfdede7' }, index.h("fieldset", { key: '759e0e7adc03c8814e09effd245e7c25f9fcf536' }, index.h("legend", { key: '625eb15226d9318075c57c7e13d6b8a04686f00f', part: parts.heading2 }, "Representative"), index.h("div", { key: '8b11c10cd073c3ffcb7c52f97c463b91a5609afa', class: "row gy-3" }, index.h("div", { key: '35b0b9a741ee46dfc049ea5914dfa672e4bd64f3', class: "col-12 col-md-8" }, index.h("form-control-text", { key: '577cb8c5911c5a8364de282ca04e75b045d6de36', 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: '3ebaa46f7045f1db417285fe3ef9c19310dbe0c6', class: "col-12 col-md-4" }, index.h("form-control-text", { key: '69eb59adf3da1d3d48b1d395badd4c76ac0d8383', 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: 'd9ee1e3a4919e5d714f34ff1417677a48101166f', class: "col-12 col-md-6" }, index.h("form-control-text", { key: 'cc6c0e28dc815985be5309de33957fcd37f53b29', 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: 'd40a0a637c921ca6e8fa4aa347369c029c4569cb', class: "col-12 col-md-6" }, index.h("form-control-number-masked", { key: 'ce15cd57570e34d14bc596c1b5f7e49d3f33ea36', 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: '1504ac209231141b564412af3719b2ab6d84e553', class: "col-12 col-md-4" }, index.h("form-control-date", { key: '8fe92ed396ab947f439a04e2b67787725b393dcb', 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: 'd8ee89f3f4124ebb222d99a9337db4be7ab7df61', class: "col-12 col-md-8" }, (!((_a = this.representative) === null || _a === void 0 ? void 0 : _a.ssn_last4) || this.isEditingIdentification) ? (index.h("form-control-number-masked", { name: "identification_number", label: this.identificationNumberLabel, defaultValue: this.isEditingIdentification ? '' : representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: formInputMasks.IDENTITY_MASKS[this.country], helpText: countryConfig.countryLabels[this.country].identityHelpText })) : (index.h("div", null, index.h("label", { class: "form-label", part: parts.label }, this.identificationNumberLabel), index.h("div", { class: "input-group mb-3" }, index.h("input", { type: "text", class: "form-control", part: parts.inputDisabled, value: `****${(_b = this.representative) === null || _b === void 0 ? void 0 : _b.ssn_last4}`, disabled: true }), index.h("button", { class: "btn btn-secondary", type: "button", part: parts.buttonSecondary, onClick: () => {
|
|
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 }))))));
|
|
96
108
|
}
|
|
97
109
|
};
|
|
98
110
|
|
|
@@ -110,11 +122,9 @@ const LegalAddressForm = class {
|
|
|
110
122
|
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 }) }));
|
|
111
123
|
}
|
|
112
124
|
render() {
|
|
113
|
-
var _a
|
|
125
|
+
var _a;
|
|
114
126
|
const legalAddressDefaultValue = this.formController.getInitialValues().legal_address;
|
|
115
|
-
return (index.h(index.Host, { key: '
|
|
116
|
-
// just for now so we skip handling country specificities
|
|
117
|
-
disabled: true }))))));
|
|
127
|
+
return (index.h(index.Host, { key: '0e6136a175ee0bb8708d1848ad850bd973f60c4b' }, index.h("fieldset", { key: '2fcfb7b8cc1bf70157dbfaba7bb5df9ddd82454b' }, index.h("legend", { key: 'ce30f5e679113cceda046f142e01548a1db573a0', part: parts.heading2 }, "Business Legal Address"), index.h("justifi-form-address-fields", { key: 'a091d88fb62401c814458d696866de64a26a6bff', country: this.country, errors: (_a = this.errors) === null || _a === void 0 ? void 0 : _a.legal_address, defaultValues: legalAddressDefaultValue, inputHandler: this.inputHandler }))));
|
|
118
128
|
}
|
|
119
129
|
};
|
|
120
130
|
|
|
@@ -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: '5f017faf77fcd07141c04c973dfa5f152f58594b' }, index.h("div", { key: '4a6b586e30452418ab4b8f5d0495ac1efb70ab73', class: 'form-group d-flex flex-column' }, index.h("div", { key: 'bf63d72855f2c0ef4def2b129a9bd2313205fefd', class: "form-check" }, index.h("input", { key: '072795a8dfe2754692ecb8c82aaf6a62860b4bd0', 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: '1734511d48ce354ee9fd8545056f20f334152800', class: "form-check-label", htmlFor: this.name, part: parts.label }, this.label)), index.h(formControlHelpText.FormControlHelpText, { key: '0629fffb0838e03d4a8fe2e3bab2577342f1c7e8', helpText: this.helpText, name: this.name }), index.h(formControlErrorText.FormControlErrorText, { key: 'b9ba3d370907e48ac3caafa4285181fe9a4e27c1', errorText: this.errorText, name: this.name }))));
|
|
46
46
|
}
|
|
47
47
|
};
|
|
48
48
|
|
|
@@ -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: '8e5820c8f07562ce28e3b95c4948cb7c311d48d6' }, index.h("div", { key: '1dd0cbd495d132064808cc81bc272b92f7df95af', class: "form-group d-flex flex-column" }, index.h("div", { key: '82f27392fd4bdbb106db3ea4219eeb75d99a7c78', class: "d-flex gap-2" }, index.h("label", { key: 'a6ab3679c84b6f22e4c27ac4cb9764e77f97eed3', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: 'f481b59809157482acd955d8f2bdb60e5a91e164', helpText: this.helpText })), index.h("input", { key: '6803e25bbd12858678fa08a8230ca91268541624', 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: '0237d93c756aaea690eda467b0497ce2c0d8c904', errorText: this.errorText, name: this.name }))));
|
|
56
56
|
}
|
|
57
57
|
static get watchers() { return {
|
|
58
58
|
"defaultValue": ["handleDefaultValueChange"]
|
|
@@ -11,7 +11,7 @@ const FileInput = class {
|
|
|
11
11
|
this.formControlBlur = index.createEvent(this, "formControlBlur");
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (index.h(index.Host, { key: '
|
|
14
|
+
return (index.h(index.Host, { key: '4d69131cba0d3529b5e8d3344085400a0e491f7a', exportparts: "label,input,input-invalid" }, index.h("div", { key: '91ef14e863262efef2ca6478dddcbe06fed2c3de', class: "form-group d-flex flex-column" }, index.h("div", { key: '46fab1c0db5685d8ea5f84f1517a129894a4ba62', class: "d-flex align-items-start gap-2" }, index.h("label", { key: 'e43d7049b5ce9265e27d30e6edca60b877ce7207', part: "label", class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: '4a6298c1b36cf0bbef8ebb383398168cf99af362', helpText: this.helpText })), index.h("input", { key: '1ec274c8399390dcc08b708218485be030df3e4a', type: "file", name: this.name, part: `input ${this.errorText ? "input-invalid " : ""}${this.disabled ? "input-disabled" : ""}`, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onBlur: () => this.formControlBlur.emit(), onChange: () => this.errorText = "" }), index.h(formControlErrorText.FormControlErrorText, { key: '154e2193272229f617555a5a1804c334d5214d53', errorText: this.errorText, name: this.name }))));
|
|
15
15
|
}
|
|
16
16
|
get el() { return index.getElement(this); }
|
|
17
17
|
};
|
|
@@ -57,10 +57,10 @@ const TextInput = class {
|
|
|
57
57
|
return parts.input;
|
|
58
58
|
}
|
|
59
59
|
render() {
|
|
60
|
-
return (index.h(index.Host, { key: '
|
|
60
|
+
return (index.h(index.Host, { key: '8b45f46328cd09457814bf8d9f474a1f1f1b4384' }, index.h("div", { key: 'a10735e0d15b641d2ab79ca6930cb22e91c89147', class: "form-group d-flex flex-column" }, index.h("label", { key: 'fc72fe91f841c8fe1525eb87fc270492660d1932', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("textarea", { key: '237ec248e7c68d97dcb035984783347bb6eb1092', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
61
61
|
this.isFocused = false;
|
|
62
62
|
this.formControlBlur.emit();
|
|
63
|
-
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled }), index.h("form-control-help-text", { key: '
|
|
63
|
+
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled }), index.h("form-control-help-text", { key: 'e12fd273b27a74c07de1f043dc7cdb927c8b19d8', helpText: this.helpText, name: this.name }), index.h("form-control-error-text", { key: 'e5e0fec72f54ddde7e72c465f8c97fef2df0ef85', errorText: this.errorText, name: this.name }))));
|
|
64
64
|
}
|
|
65
65
|
get el() { return index.getElement(this); }
|
|
66
66
|
static get watchers() { return {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-Bhtk1qkX.js');
|
|
4
4
|
var index$1 = require('./index-1MT3Z4XI.js');
|
|
5
|
-
var formInputMasks = require('./form-input-masks-
|
|
5
|
+
var formInputMasks = require('./form-input-masks-BnNFJ3IJ.js');
|
|
6
6
|
var parts = require('./parts-Pb06tUMp.js');
|
|
7
7
|
var formControlHelpText = require('./form-control-help-text-DEi5vSjN.js');
|
|
8
8
|
var formControlErrorText = require('./form-control-error-text-BnMWn8U_.js');
|
|
@@ -64,10 +64,10 @@ const MonetaryInputProvisioning = class {
|
|
|
64
64
|
return part;
|
|
65
65
|
}
|
|
66
66
|
render() {
|
|
67
|
-
return (index.h(index.Host, { key: '
|
|
67
|
+
return (index.h(index.Host, { key: '12d04cf0bc1dbc85acd1006148c411e00941ab70' }, index.h("div", { key: '08d92fd3c4c764295cf291fc983f63ab58e4312e', class: "form-group d-flex flex-column" }, index.h("label", { key: '1c7bddbfc094535558b24d3988dafe91f0cbde0a', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("div", { key: 'a1dfb4ab2de228f7ad138c12eb37403e9578c001', class: "input-group" }, index.h("span", { key: '94e9009f2a6c782798dccaf6dfae472391f43078', class: "input-group-text", part: parts.inputAdornment }, "$"), index.h("input", { key: 'ebbc696bc1b695d20a758039465ae37a66be974a', ref: el => (this.textInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
68
68
|
this.isFocused = false;
|
|
69
69
|
this.formControlBlur.emit();
|
|
70
|
-
}, onInput: this.handleFormControlInput, part: this.inputPart, class: this.errorText ? 'form-control monetary is-invalid' : 'form-control monetary', type: "text", disabled: this.disabled })), index.h(formControlHelpText.FormControlHelpText, { key: '
|
|
70
|
+
}, onInput: this.handleFormControlInput, part: this.inputPart, class: this.errorText ? 'form-control monetary is-invalid' : 'form-control monetary', type: "text", disabled: this.disabled })), index.h(formControlHelpText.FormControlHelpText, { key: '58f0977b34ab42051b1d4af9e5754d57d60e2fb5', helpText: this.helpText, name: this.name }), index.h(formControlErrorText.FormControlErrorText, { key: 'b3cdaa58f30edb185e2c89bca5d02a86c52cc8d0', errorText: this.errorText, name: this.name }))));
|
|
71
71
|
}
|
|
72
72
|
static get watchers() { return {
|
|
73
73
|
"defaultValue": ["handleDefaultValueChange"]
|
|
@@ -51,10 +51,10 @@ const MonetaryInput = class {
|
|
|
51
51
|
return parts.input;
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return (index.h(index.Host, { key: '
|
|
54
|
+
return (index.h(index.Host, { key: 'befed81330399d097413f8b769d01df6b315d707' }, index.h("div", { key: '570688783902a60e43689dc542e69008d52ee376', class: "form-group d-flex flex-column" }, index.h("label", { key: '0def0a1b40891a7f6ca3d8886e0b32197beab464', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h(formControlHelpText.FormControlHelpText, { key: '637edfe671dabaed1b82ce8f2b165ca2a574522b', name: this.name, helpText: this.helpText }), index.h("div", { key: '6b38281e577bfb6f8dfacc29574a3b0cb9183c56', class: "input-group" }, index.h("span", { key: '63d1f8596630e7f3922e02f099b9298ff83bb487', class: "input-group-text", part: parts.inputAdornment }, "$"), index.h("input", { key: 'a23391ec4ede5bd11d7d2e552eac76544aa855ae', ref: el => this.formControl = el, id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
55
55
|
this.isFocused = false;
|
|
56
56
|
this.formControlBlur.emit();
|
|
57
|
-
}, onInput: (event) => this.updateInput(event.target.value), onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.inputPart, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled })), index.h(formControlErrorText.FormControlErrorText, { key: '
|
|
57
|
+
}, onInput: (event) => this.updateInput(event.target.value), onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.inputPart, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled })), index.h(formControlErrorText.FormControlErrorText, { key: '5f8175edeff6bc80c9f2fb815d89205d69b413a3', errorText: this.errorText, name: this.name }))));
|
|
58
58
|
}
|
|
59
59
|
static get watchers() { return {
|
|
60
60
|
"defaultValue": ["handleDefaultValueChange"]
|