@justifi/webcomponents 6.1.0-rc.3 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/cjs/{Api-DqzbA2qk.js → Api-CjtvTD2_.js} +2 -2
- package/dist/cjs/{Business-DWHy_-z9.js → Business-DCRzZf0w.js} +9 -299
- package/dist/cjs/{Refund-BPSBtjQC.js → Refund-BnhHNKLz.js} +4 -3
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +14 -13
- package/dist/cjs/{badge-BJVdpSU-.js → badge-CE3ss_OU.js} +2 -2
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +112 -0
- package/dist/cjs/bank-account-form.cjs.entry.js +8 -8
- package/dist/cjs/{business-additional-questions-schema-CetDMUp7.js → business-additional-questions-schema-b8P-0T0O.js} +4 -26
- package/dist/cjs/business-details-core.cjs.entry.js +5 -5
- package/dist/cjs/{business-form-options-e9UFw4P-.js → business-form-options-CMII7nIK.js} +1 -1
- package/dist/cjs/business-identity-schema-aFUle0C9.js +51 -0
- package/dist/cjs/{business.service-Bv9o99Ll.js → business.service-Cj_NUZsr.js} +3 -3
- package/dist/cjs/{button-_YJuE8cy.js → button-gPNZ9XRn.js} +2 -2
- package/dist/cjs/card-form.cjs.entry.js +8 -8
- package/dist/cjs/{check-pkg-version-CadxBsjl.js → check-pkg-version-C7b-OLb5.js} +4 -4
- package/dist/cjs/{checkout.service-dLB93w3Z.js → checkout.service-Bc8L9ixO.js} +3 -3
- package/dist/cjs/{checkout.store-DC4yVxDj.js → checkout.store-Bswr7kNY.js} +5 -1
- package/dist/cjs/checkouts-list-core.cjs.entry.js +15 -13
- package/dist/cjs/{terminal-orders-list-params-state-ARjo40Y9.js → checkouts-list-params-state-BYpq-c6X.js} +1 -1
- package/dist/cjs/{checkouts-table-C102WCfy.js → checkouts-table-C5AHeIr0.js} +4 -4
- package/dist/cjs/{config-state-BeZM7X7J.js → config-state-C7babhLh.js} +1 -1
- package/dist/cjs/{custom-popper.cjs.entry.js → custom-popper_2.cjs.entry.js} +23 -3
- package/dist/cjs/{dispute.service-BmAAnNky.js → dispute.service-DhO_tuDc.js} +3 -3
- package/dist/cjs/form-alert_5.cjs.entry.js +17 -27
- package/dist/cjs/form-control-checkbox.cjs.entry.js +6 -6
- package/dist/cjs/form-control-date.cjs.entry.js +5 -5
- package/dist/cjs/{form-control-error-text-DJzNQrEz.js → form-control-error-text-BnMWn8U_.js} +2 -2
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +6 -6
- package/dist/cjs/{form-control-help-text-DII6UDeq.js → form-control-help-text-DEi5vSjN.js} +2 -2
- package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +7 -7
- package/dist/cjs/form-control-monetary.cjs.entry.js +7 -7
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +107 -0
- package/dist/cjs/form-control-number.cjs.entry.js +6 -6
- package/dist/cjs/form-control-radio.cjs.entry.js +4 -4
- package/dist/cjs/{form-control-select_3.cjs.entry.js → form-control-select_2.cjs.entry.js} +7 -26
- package/dist/cjs/{form-input-masks-BnNFJ3IJ.js → form-input-masks-DgXd0f4V.js} +4 -9
- package/dist/cjs/{get-business-D9ZHyPem.js → get-business-o5jPq_ME.js} +1 -1
- package/dist/cjs/{get-payment-details-BHPHzSkH.js → get-payment-details-BinT-ZEP.js} +3 -3
- package/dist/cjs/{get-subaccounts-Bw76aYu0.js → get-subaccounts-BoTVdl7v.js} +4 -4
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +26 -17
- package/dist/cjs/{header-1-Da7oKhXY.js → header-1-D3r87SC6.js} +2 -2
- package/dist/cjs/{header-3-uBM_CzcP.js → header-3-BFQJJgBb.js} +2 -2
- package/dist/cjs/helpers-B5OCqlIM.js +35 -0
- package/dist/cjs/hidden-input_2.cjs.entry.js +9 -9
- package/dist/cjs/{index-CaAefsWD.js → index-Bhtk1qkX.js} +5 -2
- package/dist/cjs/{index-D-CfIyoF.js → index-CWM5ions.js} +1 -1
- package/dist/cjs/{input-handlers-D6QMwPTB.js → input-handlers-DYl_0IwC.js} +2 -2
- package/dist/cjs/{insurance-state-KJzYGtVr.js → insurance-state-JbqYvJN3.js} +3 -3
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +72 -129
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +26 -25
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +10 -10
- package/dist/cjs/{justifi-checkout-summary_7.cjs.entry.js → justifi-apple-pay_8.cjs.entry.js} +898 -25
- package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +32 -31
- package/dist/cjs/justifi-business-details.cjs.entry.js +15 -13
- package/dist/cjs/justifi-business-form.cjs.entry.js +23 -27
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +8 -16
- package/dist/cjs/justifi-checkout.cjs.entry.js +16 -14
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +12 -10
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +18 -16
- package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
- package/dist/cjs/justifi-details.cjs.entry.js +4 -4
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +13 -11
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +19 -17
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +13 -11
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +18 -16
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +21 -30
- package/dist/cjs/justifi-payment-details.cjs.entry.js +23 -14
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +25 -40
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +13 -11
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +17 -15
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payments-list.cjs.entry.js +18 -16
- package/dist/cjs/justifi-payout-details.cjs.entry.js +16 -13
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +17 -15
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +19 -17
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +17 -15
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +3 -3
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +16 -14
- package/dist/cjs/justifi-skeleton.cjs.entry.js +5 -5
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +13 -11
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +16 -14
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +14 -11
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +18 -16
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{package-CVxkAS_m.js → package-BHmdO9eK.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +5 -5
- package/dist/cjs/{parts-9jMf1erK.js → parts-Pb06tUMp.js} +2 -0
- package/dist/cjs/payment-details-core.cjs.entry.js +34 -16
- package/dist/cjs/payment-method-option.cjs.entry.js +4 -4
- package/dist/cjs/{payment.service-DODmonNs.js → payment.service-C9thkR4g.js} +3 -3
- package/dist/cjs/payments-list-core.cjs.entry.js +16 -14
- package/dist/cjs/{payments-list-params-state-ARjo40Y9.js → payments-list-params-state-BYpq-c6X.js} +1 -1
- package/dist/cjs/{payments-status-5IzqwLep.js → payments-status-CnNXcRLO.js} +21 -3
- package/dist/cjs/{payments-table-BcZ6U6p8.js → payments-table-BGuCOPTJ.js} +4 -4
- package/dist/cjs/payout-details-core.cjs.entry.js +25 -12
- package/dist/cjs/{payout.service-Do8DxBxe.js → payout.service-CGZxpQMq.js} +3 -3
- package/dist/cjs/payouts-list-core.cjs.entry.js +16 -14
- package/dist/cjs/{checkouts-list-params-state-ARjo40Y9.js → payouts-list-params-state-BYpq-c6X.js} +1 -1
- package/dist/cjs/{payouts-status-D38A6UrI.js → payouts-status-2na6MMgV.js} +2 -2
- package/dist/cjs/{payouts-table-Cn_cCCOY.js → payouts-table-DXekpbYc.js} +4 -4
- package/dist/cjs/{schema-validations-0mjPveQ0.js → schema-validations-Bj7eYNO8.js} +6 -45
- package/dist/cjs/{skeleton-DlPP4i_w.js → skeleton-BvdAh448.js} +2 -2
- package/dist/cjs/{spinner-BNWG01hP.js → spinner-Rt52JMa2.js} +2 -2
- package/dist/cjs/state-options-CIT9xdTz.js +246 -0
- package/dist/cjs/{styled-host-DSpt9LtB.js → styled-host-BSooSIhA.js} +1 -1
- package/dist/cjs/{table-CAWBqvW5.js → table-Ccg4k90C.js} +3 -3
- package/dist/cjs/table-filters-menu.cjs.entry.js +4 -4
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +15 -13
- package/dist/cjs/{payouts-list-params-state-ARjo40Y9.js → terminal-orders-list-params-state-BYpq-c6X.js} +1 -1
- package/dist/cjs/{terminal-orders-table-BUA4LcEc.js → terminal-orders-table-7ew1vCKk.js} +7 -7
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +3 -3
- package/dist/cjs/{terminal.service-bxQnc1JY.js → terminal.service-BkKxH-k4.js} +3 -3
- package/dist/cjs/terminals-list-core.cjs.entry.js +15 -13
- package/dist/cjs/terminals-list-params-state-BYpq-c6X.js +22 -0
- package/dist/cjs/{terminals-table-C2_M7SWl.js → terminals-table-ByYs-pH7.js} +9 -4
- package/dist/cjs/{utils-ChCUZgUy.js → utils-Bab-tddY.js} +4 -0
- package/dist/cjs/{utils-C6mfHWv-.js → utils-CUcA4G_O.js} +5 -5
- package/dist/cjs/webcomponents.cjs.js +3 -3
- package/dist/collection/api/BankAccount.js +0 -4
- package/dist/collection/api/Business.js +1 -16
- package/dist/collection/api/Terminal.js +1 -0
- package/dist/collection/api/services/apple-pay.service.js +3 -0
- package/dist/collection/collection-manifest.json +3 -6
- package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +1 -1
- package/dist/collection/components/business-details/owner-details/owner-details.js +9 -8
- package/dist/collection/components/business-details/representative-details/representative-details.js +1 -1
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +6 -7
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +4 -36
- package/dist/collection/components/business-forms/business-form/business-form.js +2 -6
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +9 -46
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +10 -32
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +6 -26
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +3 -29
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +6 -48
- package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -26
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -2
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +5 -36
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +1 -26
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +7 -47
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -26
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +1 -26
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -26
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +4 -43
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +4 -33
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -26
- package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +10 -35
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -26
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +20 -39
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +6 -34
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
- package/dist/collection/components/business-forms/schemas/business-address-schema.js +19 -41
- package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +39 -74
- package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +4 -27
- package/dist/collection/components/business-forms/schemas/business-form-schema.js +4 -7
- package/dist/collection/components/business-forms/schemas/business-identity-schema.js +24 -53
- package/dist/collection/components/business-forms/schemas/schema-validations.js +4 -41
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
- package/dist/collection/components/checkout/billing-form/billing-form.js +3 -2
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/checkout.js +2 -2
- package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout/saved-payment-method.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management.js +1 -1
- package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
- package/dist/collection/components/filters/table-filters-menu.js +1 -1
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
- package/dist/collection/components/modular-checkout/modular-checkout.js +10 -8
- package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +49 -2
- package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
- package/dist/collection/components/order-terminals/order-terminals.js +1 -1
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
- package/dist/collection/components/payment-details/payment-details-core.js +19 -9
- package/dist/collection/components/payment-details/payment-details.js +28 -1
- package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
- package/dist/collection/components/payments-list/payments-list-core.js +1 -1
- package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
- package/dist/collection/components/payments-list/payments-list.js +1 -1
- package/dist/collection/components/payments-list/payments-status.js +19 -1
- package/dist/collection/components/payout-details/payout-details-core.js +57 -4
- package/dist/collection/components/payout-details/payout-details.js +22 -1
- package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
- package/dist/collection/components/payouts-list/payouts-list.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
- package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-filters.js +4 -3
- package/dist/collection/components/terminals-list/terminals-list.js +1 -1
- package/dist/collection/components/terminals-list/terminals-status.js +5 -0
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +4 -3
- package/dist/collection/store/checkout.store.js +4 -0
- package/dist/collection/styles/parts.js +1 -1
- package/dist/collection/ui-components/apple-pay-button.js +6 -8
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/details/details.js +1 -1
- package/dist/collection/ui-components/details/utils.js +4 -4
- package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
- package/dist/collection/ui-components/form/form-control-date.js +2 -2
- package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
- package/dist/collection/ui-components/form/form-control-file.js +2 -2
- package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
- package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
- package/dist/collection/ui-components/form/form-control-number.js +2 -2
- package/dist/collection/ui-components/form/form-control-radio.js +2 -2
- package/dist/collection/ui-components/form/form-control-select.js +2 -2
- package/dist/collection/ui-components/form/form-control-text.js +2 -2
- package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +3 -3
- package/dist/collection/ui-components/pagination-menu/pagination-menu.js +3 -3
- package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
- package/dist/collection/utils/form-input-masks.js +0 -8
- package/dist/collection/utils/utils.js +4 -0
- package/dist/docs.json +330 -1140
- package/dist/esm/{Api-DLf3ihCB.js → Api-DhiA2e_P.js} +2 -2
- package/dist/esm/{Business-B5rtFhtR.js → Business-BCoP0TAV.js} +3 -290
- package/dist/esm/{Refund-BeI1WGfx.js → Refund-B-iOTRxz.js} +3 -2
- package/dist/esm/additional-questions-details_5.entry.js +14 -13
- package/dist/esm/{badge-CkfrkCoy.js → badge-CtdO-tEY.js} +2 -2
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +107 -0
- package/dist/esm/bank-account-form.entry.js +8 -8
- package/dist/esm/{business-additional-questions-schema-DSvdNuI1.js → business-additional-questions-schema-9FAJSx_D.js} +5 -26
- package/dist/esm/business-details-core.entry.js +5 -5
- package/dist/esm/{business-form-options-D6s5H4RI.js → business-form-options-CgssATyg.js} +2 -2
- package/dist/esm/business-identity-schema-CDJzknbg.js +48 -0
- package/dist/esm/{business.service-BIALik8Z.js → business.service-D55OVyco.js} +3 -3
- package/dist/esm/{button-CuZAKl_x.js → button-DtTaQHMK.js} +2 -2
- package/dist/esm/card-form.entry.js +8 -8
- package/dist/esm/{check-pkg-version-Bk5bgulF.js → check-pkg-version-xM0uWxbL.js} +4 -4
- package/dist/esm/{checkout.service-DZDZBIGQ.js → checkout.service-fwbqSq8g.js} +3 -3
- package/dist/esm/{checkout.store-DwJGKabu.js → checkout.store-4nUf2OuT.js} +5 -1
- package/dist/esm/checkouts-list-core.entry.js +15 -13
- package/dist/esm/{checkouts-list-params-state-BY5996_y.js → checkouts-list-params-state-C_fug9R3.js} +1 -1
- package/dist/esm/{checkouts-table-59DpP7zM.js → checkouts-table-B6gGDtOr.js} +4 -4
- package/dist/esm/{config-state-C83RkI9h.js → config-state-DiHV-4QK.js} +1 -1
- package/dist/esm/{custom-popper.entry.js → custom-popper_2.entry.js} +23 -4
- package/dist/esm/{dispute.service-ByJy64X7.js → dispute.service-Cdq3_yRo.js} +3 -3
- package/dist/esm/form-alert_5.entry.js +16 -26
- package/dist/esm/form-control-checkbox.entry.js +6 -6
- package/dist/esm/form-control-date.entry.js +5 -5
- package/dist/esm/{form-control-error-text-CjrxZorl.js → form-control-error-text-bprS-t9d.js} +2 -2
- package/dist/esm/form-control-file-v2_2.entry.js +6 -6
- package/dist/esm/{form-control-help-text-CMUgRhUf.js → form-control-help-text-Bvnp-IAG.js} +2 -2
- package/dist/esm/form-control-help-text.entry.js +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +7 -7
- package/dist/esm/form-control-monetary.entry.js +7 -7
- package/dist/esm/form-control-number-masked_2.entry.js +104 -0
- package/dist/esm/form-control-number.entry.js +6 -6
- package/dist/esm/form-control-radio.entry.js +4 -4
- package/dist/esm/{form-control-select_3.entry.js → form-control-select_2.entry.js} +8 -26
- package/dist/esm/{form-input-masks-CVaOFfrI.js → form-input-masks-B-iV5cYd.js} +3 -9
- package/dist/esm/{get-business-Xt7B5dSo.js → get-business-Crb6P-iI.js} +1 -1
- package/dist/esm/{get-payment-details-B00HoaFm.js → get-payment-details-sGoWyAat.js} +3 -3
- package/dist/esm/{get-subaccounts-C_yzcZq_.js → get-subaccounts-BsJSlShO.js} +4 -4
- package/dist/esm/gross-payment-chart-core.entry.js +26 -17
- package/dist/esm/{header-1-BukynbFR.js → header-1-C1Hnxki8.js} +2 -2
- package/dist/esm/{header-3-D87MAyMK.js → header-3-Bq8fpjm-.js} +2 -2
- package/dist/esm/helpers-Mu7LQT-w.js +29 -0
- package/dist/esm/hidden-input_2.entry.js +9 -9
- package/dist/esm/{index-NOsb-hYl.js → index-DJ9G-4S-.js} +1 -1
- package/dist/esm/{index-_b8l4IX7.js → index-DOjVAAtq.js} +5 -2
- package/dist/esm/{input-handlers-D3y0TzH9.js → input-handlers-CX6mSvOM.js} +1 -1
- package/dist/esm/{insurance-state-BjY1QRXI.js → insurance-state-CVme82j7.js} +3 -3
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +73 -130
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +26 -25
- package/dist/esm/justifi-additional-statement_8.entry.js +10 -10
- package/dist/esm/{justifi-checkout-summary_7.entry.js → justifi-apple-pay_8.entry.js} +898 -26
- package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +31 -30
- package/dist/esm/justifi-business-details.entry.js +15 -13
- package/dist/esm/justifi-business-form.entry.js +23 -27
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +8 -16
- package/dist/esm/justifi-checkout.entry.js +16 -14
- package/dist/esm/justifi-checkouts-list-filters.entry.js +12 -10
- package/dist/esm/justifi-checkouts-list.entry.js +18 -16
- package/dist/esm/justifi-config-provider.entry.js +3 -3
- package/dist/esm/justifi-details.entry.js +4 -4
- package/dist/esm/justifi-dispute-management-core.entry.js +2 -2
- package/dist/esm/justifi-dispute-management.entry.js +13 -11
- package/dist/esm/justifi-dispute-notification_3.entry.js +19 -17
- package/dist/esm/justifi-gross-payment-chart.entry.js +13 -11
- package/dist/esm/justifi-order-terminals.entry.js +18 -16
- package/dist/esm/justifi-owner-form_3.entry.js +21 -30
- package/dist/esm/justifi-payment-details.entry.js +23 -14
- package/dist/esm/justifi-payment-provisioning-core.entry.js +25 -40
- package/dist/esm/justifi-payment-provisioning.entry.js +13 -11
- package/dist/esm/justifi-payment-transactions-list.entry.js +17 -15
- package/dist/esm/justifi-payments-list-filters.entry.js +8 -8
- package/dist/esm/justifi-payments-list.entry.js +18 -16
- package/dist/esm/justifi-payout-details.entry.js +16 -13
- package/dist/esm/justifi-payout-transactions-list.entry.js +17 -15
- package/dist/esm/justifi-payouts-list-filters.entry.js +8 -8
- package/dist/esm/justifi-payouts-list.entry.js +19 -17
- package/dist/esm/justifi-refund-payment.entry.js +17 -15
- package/dist/esm/justifi-saved-payment-method.entry.js +3 -3
- package/dist/esm/justifi-season-interruption-insurance.entry.js +16 -14
- package/dist/esm/justifi-skeleton.entry.js +5 -5
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +13 -11
- package/dist/esm/justifi-terminal-orders-list.entry.js +16 -14
- package/dist/esm/justifi-terminals-list-filters.entry.js +14 -11
- package/dist/esm/justifi-terminals-list.entry.js +18 -16
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{package-BRhnhmpB.js → package-DL-q4EcN.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +5 -5
- package/dist/esm/{parts-CA_TyBed.js → parts-xDbRW9xn.js} +2 -1
- package/dist/esm/payment-details-core.entry.js +34 -16
- package/dist/esm/payment-method-option.entry.js +4 -4
- package/dist/esm/{payment.service-B_NytmNz.js → payment.service-BoQ1MW1k.js} +3 -3
- package/dist/esm/payments-list-core.entry.js +16 -14
- package/dist/esm/{payments-list-params-state-BY5996_y.js → payments-list-params-state-C_fug9R3.js} +1 -1
- package/dist/esm/{payments-status-BWv1l1-e.js → payments-status-cvtVmtY5.js} +22 -4
- package/dist/esm/{payments-table-BSk36N1O.js → payments-table-D_BlyU1F.js} +4 -4
- package/dist/esm/payout-details-core.entry.js +25 -12
- package/dist/esm/{payout.service-BJQVlc_Z.js → payout.service-xcBdom3q.js} +3 -3
- package/dist/esm/payouts-list-core.entry.js +16 -14
- package/dist/esm/{payouts-list-params-state-BY5996_y.js → payouts-list-params-state-C_fug9R3.js} +1 -1
- package/dist/esm/{payouts-status-BujJlH_r.js → payouts-status-D-vjrqBb.js} +2 -2
- package/dist/esm/{payouts-table-5N7OylTW.js → payouts-table-Clj8YGLV.js} +4 -4
- package/dist/esm/{schema-validations-BFoU1cR8.js → schema-validations-B9dmY7ME.js} +6 -41
- package/dist/esm/{skeleton-C161KeYG.js → skeleton-B8EUwt4b.js} +2 -2
- package/dist/esm/{spinner-UiInIFXW.js → spinner-CYXkn1fh.js} +2 -2
- package/dist/esm/state-options-BX8GieXu.js +244 -0
- package/dist/esm/{styled-host-hSGxxyFZ.js → styled-host-OalOsPBp.js} +1 -1
- package/dist/esm/{table-9ewYPAZH.js → table-Bj20uWfu.js} +3 -3
- package/dist/esm/table-filters-menu.entry.js +4 -4
- package/dist/esm/terminal-orders-list-core.entry.js +15 -13
- package/dist/esm/{terminal-orders-list-params-state-BY5996_y.js → terminal-orders-list-params-state-C_fug9R3.js} +1 -1
- package/dist/esm/{terminal-orders-table-BcziGGSF.js → terminal-orders-table-DzBpIW8i.js} +7 -7
- package/dist/esm/terminal-quantity-selector.entry.js +3 -3
- package/dist/esm/{terminal.service-B9MOFa2c.js → terminal.service-l6zTIPZ3.js} +3 -3
- package/dist/esm/terminals-list-core.entry.js +15 -13
- package/dist/esm/terminals-list-params-state-C_fug9R3.js +16 -0
- package/dist/esm/{terminals-table-BoFlvdHS.js → terminals-table-BMS5tazC.js} +9 -4
- package/dist/esm/{utils-DeZftIgK.js → utils-BOijEGPV.js} +4 -1
- package/dist/esm/{utils-fntGABrK.js → utils-DRwofES0.js} +5 -5
- package/dist/esm/webcomponents.js +4 -4
- package/dist/module/Business.js +3 -290
- package/dist/module/Refund.js +2 -1
- package/dist/module/additional-questions-details2.js +1 -1
- package/dist/module/additional-questions.js +2 -2
- package/dist/module/additional-statement.js +1 -1
- package/dist/{esm/justifi-apple-pay.entry.js → module/apple-pay.js} +73 -31
- package/dist/module/badge.js +1 -1
- package/dist/module/bank-account-billing-form-simple.js +2 -2
- package/dist/module/bank-account-document-inputs.js +1 -1
- package/dist/module/bank-account-form-inputs2.js +2 -9
- package/dist/module/bank-account-form.js +3 -3
- package/dist/module/bank-account.js +2 -2
- package/dist/module/billing-form-full.js +2 -2
- package/dist/module/billing-form.js +3 -2
- package/dist/module/business-additional-questions-form-step.js +1 -1
- package/dist/module/business-address-schema.js +20 -40
- package/dist/module/business-bank-account-form-step-core.js +49 -102
- package/dist/module/business-bank-account-form-step.js +5 -18
- package/dist/module/business-core-info-form-step-core.js +7 -22
- package/dist/module/business-core-info-form-step.js +1 -2
- package/dist/module/business-core-info-schema.js +5 -26
- package/dist/module/business-core-info.js +4 -12
- package/dist/module/business-documents-on-file2.js +1 -1
- package/dist/module/business-identity-schema.js +25 -52
- package/dist/module/business-owners-form-step-core.js +13 -20
- package/dist/module/business-owners-form-step.js +15 -22
- package/dist/module/business-representative-form-inputs.js +17 -34
- package/dist/module/business-representative-form-step-core.js +18 -29
- package/dist/module/business-representative-form-step.js +17 -24
- package/dist/module/business-representative.js +19 -37
- package/dist/module/business-terms-conditions-form-step.js +1 -1
- package/dist/module/button.js +1 -1
- package/dist/module/cancellation-policy.js +1 -1
- package/dist/module/card-billing-form-simple.js +2 -2
- package/dist/module/card-form.js +3 -3
- package/dist/module/card-form2.js +2 -2
- package/dist/module/checkout.store.js +4 -0
- package/dist/module/checkouts-list-core2.js +2 -2
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +1 -1
- package/dist/module/details.js +1 -1
- package/dist/module/dispute-management-core.js +1 -1
- package/dist/module/dispute-notification.js +1 -1
- package/dist/module/dispute-response-core.js +1 -1
- package/dist/module/dispute-response.js +1 -1
- package/dist/module/duplicate-charge.js +1 -1
- package/dist/module/electronic-evidence.js +1 -1
- package/dist/module/form-alert2.js +1 -1
- package/dist/module/form-control-checkbox2.js +3 -3
- package/dist/module/form-control-date2.js +3 -3
- package/dist/module/form-control-error-text.js +1 -1
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +3 -3
- package/dist/module/form-control-monetary-provisioning2.js +3 -3
- package/dist/module/form-control-monetary2.js +3 -3
- package/dist/module/form-control-number-masked2.js +3 -3
- package/dist/module/form-control-number.js +3 -3
- package/dist/module/form-control-radio2.js +3 -3
- package/dist/module/form-control-select2.js +3 -3
- package/dist/module/form-control-text2.js +3 -3
- package/dist/module/form-control-textarea2.js +3 -3
- package/dist/module/form-control-tooltip2.js +1 -1
- package/dist/module/form-input-masks.js +3 -9
- package/dist/module/get-business.js +1 -1
- package/dist/module/gross-payment-chart-core2.js +22 -13
- package/dist/module/header-3.js +1 -1
- package/dist/module/helpers.js +29 -0
- package/dist/module/hidden-input2.js +2 -2
- package/dist/module/identity-address-form.js +14 -16
- package/dist/module/iframe-input2.js +4 -4
- package/dist/module/input-handlers.js +1 -1
- package/dist/module/justifi-apple-pay.js +1 -904
- package/dist/module/justifi-business-form.js +29 -41
- package/dist/module/justifi-button2.js +1 -1
- package/dist/module/justifi-checkout.js +27 -21
- package/dist/module/justifi-checkouts-list-filters.js +2 -2
- package/dist/module/justifi-checkouts-list.js +2 -2
- package/dist/module/justifi-dispute-management.js +1 -1
- package/dist/module/justifi-header2.js +1 -1
- package/dist/module/justifi-order-terminals.js +5 -5
- package/dist/module/justifi-payment-details.js +8 -1
- package/dist/module/justifi-payment-provisioning.js +49 -67
- package/dist/module/justifi-payment-transactions-list.js +3 -3
- package/dist/module/justifi-payments-list-filters.js +3 -3
- package/dist/module/justifi-payments-list.js +1 -1
- package/dist/module/justifi-payout-details.js +4 -2
- package/dist/module/justifi-payout-transactions-list.js +3 -3
- package/dist/module/justifi-payouts-list-filters.js +3 -3
- package/dist/module/justifi-payouts-list.js +2 -2
- package/dist/module/justifi-radio-list-item2.js +1 -1
- package/dist/module/justifi-refund-payment.js +1 -1
- package/dist/module/justifi-saved-payment-method.js +1 -1
- package/dist/module/justifi-season-interruption-insurance.js +2 -2
- package/dist/module/justifi-skeleton.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +4 -4
- package/dist/module/justifi-terminal-orders-list.js +2 -2
- package/dist/module/justifi-terminals-list-filters.js +5 -4
- package/dist/module/justifi-terminals-list.js +2 -2
- package/dist/module/legal-address-form-step-core.js +19 -26
- package/dist/module/legal-address-form-step.js +9 -16
- package/dist/module/legal-address-form.js +15 -18
- package/dist/module/modular-checkout.js +7 -6
- package/dist/module/owner-details2.js +8 -7
- package/dist/module/owner-form-core2.js +16 -24
- package/dist/module/owner-form-inputs2.js +15 -34
- package/dist/module/owner-form.js +13 -20
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +4 -4
- package/dist/module/parts.js +2 -1
- package/dist/module/payment-details-core2.js +22 -9
- package/dist/module/payment-method-option.js +1 -1
- package/dist/module/payment-provisioning-core.js +69 -104
- package/dist/module/payment-provisioning-form-buttons.js +1 -1
- package/dist/module/payment-provisioning-form-steps.js +54 -75
- package/dist/module/payments-list-core2.js +2 -2
- package/dist/module/payments-status.js +20 -2
- package/dist/module/payout-details-core2.js +18 -4
- package/dist/module/payouts-list-core2.js +2 -2
- package/dist/module/product-or-service.js +1 -1
- package/dist/module/refund-policy.js +1 -1
- package/dist/module/representative-details2.js +1 -1
- package/dist/module/save-new-payment-method.js +1 -1
- package/dist/module/schema-validations.js +6 -41
- package/dist/module/shipping-details.js +1 -1
- package/dist/module/spinner.js +1 -1
- package/dist/module/state-options.js +244 -0
- package/dist/module/summary.js +1 -1
- package/dist/module/table-filters-menu2.js +2 -2
- package/dist/module/table.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +3 -3
- package/dist/module/terminal-quantity-selector2.js +2 -2
- package/dist/module/terminals-list-core2.js +8 -3
- package/dist/module/tokenize-payment-method.js +1 -1
- package/dist/module/utils.js +4 -4
- package/dist/module/utils2.js +4 -1
- package/dist/types/api/BankAccount.d.ts +0 -6
- package/dist/types/api/Business.d.ts +0 -9
- package/dist/types/api/Checkout.d.ts +2 -0
- package/dist/types/api/ComponentEvents.d.ts +4 -0
- package/dist/types/api/Terminal.d.ts +2 -1
- package/dist/types/components/business-details/owner-details/owner-details.d.ts +1 -1
- package/dist/types/components/business-forms/business-form/business-core-info/business-core-info.d.ts +0 -3
- package/dist/types/components/business-forms/business-form/business-form.d.ts +0 -2
- package/dist/types/components/business-forms/business-form/business-representative/business-representative.d.ts +1 -4
- package/dist/types/components/business-forms/business-form/legal-address-form/legal-address-form.d.ts +0 -2
- package/dist/types/components/business-forms/owner-form/identity-address/identity-address-form.d.ts +0 -2
- package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +0 -2
- package/dist/types/components/business-forms/owner-form/owner-form-inputs.d.ts +0 -3
- package/dist/types/components/business-forms/owner-form/owner-form.d.ts +0 -2
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.d.ts +0 -5
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +0 -2
- package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +0 -3
- package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.d.ts +0 -2
- package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +0 -2
- package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.d.ts +0 -2
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.d.ts +0 -3
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +0 -2
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.d.ts +0 -2
- package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +0 -2
- package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.d.ts +0 -2
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +2 -4
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-form-steps.d.ts +0 -2
- package/dist/types/components/business-forms/schemas/business-address-schema.d.ts +2 -54
- package/dist/types/components/business-forms/schemas/business-bank-account-schema.d.ts +16 -14
- package/dist/types/components/business-forms/schemas/business-core-info-schema.d.ts +3 -67
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +7 -165
- package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +2 -122
- package/dist/types/components/business-forms/schemas/schema-validations.d.ts +0 -5
- package/dist/types/components/modular-checkout/sub-components/apple-pay.d.ts +2 -0
- package/dist/types/components/payment-details/payment-details-core.d.ts +3 -1
- package/dist/types/components/payment-details/payment-details.d.ts +3 -1
- package/dist/types/components/payments-list/payments-status.d.ts +12 -0
- package/dist/types/components/payout-details/payout-details-core.d.ts +5 -1
- package/dist/types/components/payout-details/payout-details.d.ts +1 -0
- package/dist/types/components.d.ts +48 -121
- package/dist/types/stencil-public-runtime.d.ts +20 -10
- package/dist/types/store/checkout.store.d.ts +1 -0
- package/dist/types/styles/parts.d.ts +1 -1
- package/dist/types/ui-components/details/utils.d.ts +3 -2
- package/dist/types/utils/form-input-masks.d.ts +0 -1
- package/dist/types/utils/utils.d.ts +1 -0
- package/dist/webcomponents/p-0217783c.entry.js +20 -0
- package/dist/webcomponents/p-0256af65.entry.js +1 -0
- package/dist/webcomponents/p-0af5269e.entry.js +1 -0
- package/dist/webcomponents/p-0cac8468.entry.js +1 -0
- package/dist/webcomponents/{p-b59221a9.entry.js → p-0cf71cbd.entry.js} +1 -1
- package/dist/webcomponents/p-0eb69f41.entry.js +1 -0
- package/dist/webcomponents/p-0f47f052.entry.js +1 -0
- package/dist/webcomponents/p-0fgTPVV0.js +1 -0
- package/dist/webcomponents/{p-C77ElQ41.js → p-1ydcg9ti.js} +1 -1
- package/dist/webcomponents/p-28a3bf32.entry.js +1 -0
- package/dist/webcomponents/p-2b568e8e.entry.js +1 -0
- package/dist/webcomponents/p-2d300faa.entry.js +1 -0
- package/dist/webcomponents/{p-6ea75d39.entry.js → p-2f40f708.entry.js} +1 -1
- package/dist/webcomponents/p-30856338.entry.js +1 -0
- package/dist/webcomponents/p-328117e4.entry.js +1 -0
- package/dist/webcomponents/p-32978110.entry.js +1 -0
- package/dist/webcomponents/{p-c7390115.entry.js → p-37a93597.entry.js} +1 -1
- package/dist/webcomponents/p-47997bc2.entry.js +1 -0
- package/dist/webcomponents/p-50701f16.entry.js +1 -0
- package/dist/webcomponents/p-5235230f.entry.js +1 -0
- package/dist/webcomponents/p-526b7442.entry.js +1 -0
- package/dist/webcomponents/p-5aae36f3.entry.js +1 -0
- package/dist/webcomponents/p-5b5d7a8f.entry.js +1 -0
- package/dist/webcomponents/p-5bd3d86e.entry.js +1 -0
- package/dist/webcomponents/p-66db858a.entry.js +1 -0
- package/dist/webcomponents/p-720a2324.entry.js +1 -0
- package/dist/webcomponents/p-78cb62a8.entry.js +1 -0
- package/dist/webcomponents/p-7c8deca8.entry.js +1 -0
- package/dist/webcomponents/p-7dc9ef8a.entry.js +1 -0
- package/dist/webcomponents/p-84551ee4.entry.js +1 -0
- package/dist/webcomponents/p-854b3db0.entry.js +1 -0
- package/dist/webcomponents/p-85a2eac6.entry.js +1 -0
- package/dist/webcomponents/p-8663e8bd.entry.js +1 -0
- package/dist/webcomponents/p-89f6ad8f.entry.js +1 -0
- package/dist/webcomponents/p-8S_ROmnq.js +1 -0
- package/dist/webcomponents/p-8ca21fab.entry.js +1 -0
- package/dist/webcomponents/p-8cebc84b.entry.js +1 -0
- package/dist/webcomponents/p-8f8dfd4b.entry.js +1 -0
- package/dist/webcomponents/p-94237472.entry.js +1 -0
- package/dist/webcomponents/p-9ad7d724.entry.js +1 -0
- package/dist/webcomponents/p-B-iV5cYd.js +1 -0
- package/dist/webcomponents/p-B6IWa9Ph.js +1 -0
- package/dist/webcomponents/{p-BdREtifE.js → p-BBx_EQqR.js} +1 -1
- package/dist/webcomponents/p-BX8GieXu.js +1 -0
- package/dist/webcomponents/{p-xWrhxNNk.js → p-Bgnhf5c9.js} +1 -1
- package/dist/webcomponents/{p-DTwFW2k_.js → p-BhCH9S0e.js} +1 -1
- package/dist/webcomponents/p-BjNuRWXK.js +1 -0
- package/dist/webcomponents/p-BlJnA265.js +1 -0
- package/dist/webcomponents/p-BoQ6_4Ks.js +1 -0
- package/dist/webcomponents/{p-DWGKeoot.js → p-C0wTyoTh.js} +1 -1
- package/dist/webcomponents/p-C2JJBtMc.js +1 -0
- package/dist/webcomponents/{p-g2ubqhtv.js → p-C8k7a6D-.js} +1 -1
- package/dist/webcomponents/{p-BPDMo6us.js → p-C98BC5W5.js} +1 -1
- package/dist/webcomponents/p-C9EQ459H.js +1 -0
- package/dist/webcomponents/p-C9iide2W.js +1 -0
- package/dist/webcomponents/p-CCLgieAN.js +1 -0
- package/dist/webcomponents/p-CCmDcLao.js +1 -0
- package/dist/webcomponents/{p-qUCDGWNE.js → p-CEk3bv0x.js} +1 -1
- package/dist/webcomponents/p-CH8Y3GSr.js +1 -0
- package/dist/webcomponents/{p-D2hzOOMf.js → p-ClvhB3WW.js} +1 -1
- package/dist/webcomponents/{p-JSXyHheQ.js → p-CmBCj61h.js} +1 -1
- package/dist/webcomponents/p-D0Peuz-m.js +1 -0
- package/dist/webcomponents/{p-BaM0JBLn.js → p-D5Jb9OcR.js} +1 -1
- package/dist/webcomponents/p-D6BImiVi.js +1 -0
- package/dist/webcomponents/p-DGsXKF67.js +1 -0
- package/dist/webcomponents/p-DH8F0bsw.js +1 -0
- package/dist/webcomponents/p-DL-q4EcN.js +1 -0
- package/dist/webcomponents/{p-_b8l4IX7.js → p-DOjVAAtq.js} +2 -2
- package/dist/webcomponents/p-DQZ5VHTZ.js +1 -0
- package/dist/webcomponents/p-DWn9BiNn.js +1 -0
- package/dist/webcomponents/{p-hj8k0lRi.js → p-DdMxswn1.js} +1 -1
- package/dist/webcomponents/{p-M5r2kSbf.js → p-DdZLLkQ5.js} +1 -1
- package/dist/webcomponents/p-DfV3dFDB.js +1 -0
- package/dist/webcomponents/p-Dieke6TH.js +1 -0
- package/dist/webcomponents/p-Dt-vy9Le.js +1 -0
- package/dist/webcomponents/p-NAjz1Xfo.js +1 -0
- package/dist/webcomponents/p-NwmOm8Pg.js +1 -0
- package/dist/webcomponents/p-PSJOKMWp.js +1 -0
- package/dist/webcomponents/p-RQzxYnz_.js +1 -0
- package/dist/webcomponents/p-T2yENPvU.js +1 -0
- package/dist/webcomponents/{p-b46fe458.entry.js → p-a4846316.entry.js} +1 -1
- package/dist/webcomponents/p-a5c70eee.entry.js +1 -0
- package/dist/webcomponents/p-a6tcNl_T.js +1 -0
- package/dist/webcomponents/p-aa14cc74.entry.js +1 -0
- package/dist/webcomponents/p-ae7054bf.entry.js +1 -0
- package/dist/webcomponents/p-ae8ae5bb.entry.js +1 -0
- package/dist/webcomponents/{p-fVyCeQNq.js → p-au49QgoI.js} +1 -1
- package/dist/webcomponents/p-b095c781.entry.js +1 -0
- package/dist/webcomponents/p-b36adce3.entry.js +1 -0
- package/dist/webcomponents/{p-b17cb15d.entry.js → p-b608add9.entry.js} +1 -1
- package/dist/webcomponents/p-b612d870.entry.js +1 -0
- package/dist/webcomponents/p-baf0d3e7.entry.js +1 -0
- package/dist/webcomponents/p-bb53e2e9.entry.js +1 -0
- package/dist/webcomponents/p-be05d450.entry.js +1 -0
- package/dist/webcomponents/p-c089fb5f.entry.js +1 -0
- package/dist/webcomponents/p-ce652ff9.entry.js +1 -0
- package/dist/webcomponents/{p-c1f10a84.entry.js → p-cff5dd60.entry.js} +1 -1
- package/dist/webcomponents/p-d0a2035f.entry.js +1 -0
- package/dist/webcomponents/p-d1bceac6.entry.js +1 -0
- package/dist/webcomponents/p-d37d752e.entry.js +1 -0
- package/dist/webcomponents/p-d4476052.entry.js +1 -0
- package/dist/webcomponents/p-d7f91c48.entry.js +1 -0
- package/dist/webcomponents/p-d84f0122.entry.js +1 -0
- package/dist/webcomponents/p-e55a161f.entry.js +1 -0
- package/dist/webcomponents/p-e6be4e19.entry.js +1 -0
- package/dist/webcomponents/p-ec9514f8.entry.js +1 -0
- package/dist/webcomponents/p-f11a74c3.entry.js +1 -0
- package/dist/webcomponents/p-f705fc49.entry.js +1 -0
- package/dist/webcomponents/p-f930acaa.entry.js +1 -0
- package/dist/webcomponents/p-fe8c2243.entry.js +1 -0
- package/dist/webcomponents/p-fedfe376.entry.js +1 -0
- package/dist/webcomponents/p-ffefa09c.entry.js +1 -0
- package/dist/webcomponents/p-h5pyZngT.js +1 -0
- package/dist/webcomponents/p-hbWSMN3O.js +1 -0
- package/dist/webcomponents/p-lKnUT24T.js +1 -0
- package/dist/webcomponents/p-tYuXMkCd.js +1 -0
- package/dist/webcomponents/p-wQgEEOq_.js +1 -0
- package/dist/webcomponents/p-xDbRW9xn.js +1 -0
- package/dist/webcomponents/{p-CPpUGsw5.js → p-yH3TC3ZQ.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +13 -13
- package/dist/cjs/bank-account-document-form-inputs_6.cjs.entry.js +0 -132
- package/dist/cjs/business-identity-schema-Cd0tvfJr.js +0 -101
- package/dist/cjs/country-config-MCOhn8o3.js +0 -68
- package/dist/cjs/form-control-number-masked_3.cjs.entry.js +0 -119
- package/dist/cjs/justifi-apple-pay.cjs.entry.js +0 -876
- package/dist/cjs/terminals-list-params-state-ARjo40Y9.js +0 -22
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.js +0 -88
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.js +0 -50
- package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +0 -101
- package/dist/collection/components/business-forms/payment-provisioning/test/mockBusiness.js +0 -52
- package/dist/collection/components/business-forms/utils/country-config.js +0 -47
- package/dist/collection/utils/country-codes.js +0 -5
- package/dist/collection/utils/province-options.js +0 -20
- package/dist/esm/bank-account-document-form-inputs_6.entry.js +0 -125
- package/dist/esm/business-identity-schema-mN4VhA1v.js +0 -94
- package/dist/esm/country-config-BQ4D46Lb.js +0 -64
- package/dist/esm/form-control-number-masked_3.entry.js +0 -115
- package/dist/esm/terminals-list-params-state-BY5996_y.js +0 -16
- package/dist/module/bank-account-form-inputs-canada.d.ts +0 -11
- package/dist/module/bank-account-form-inputs-canada.js +0 -6
- package/dist/module/bank-account-form-inputs-canada2.js +0 -68
- package/dist/module/bank-account-read-only-value.d.ts +0 -11
- package/dist/module/bank-account-read-only-value.js +0 -6
- package/dist/module/bank-account-read-only-value2.js +0 -33
- package/dist/module/country-config.js +0 -64
- package/dist/module/form-address-fields.js +0 -65
- package/dist/module/justifi-form-address-fields.d.ts +0 -11
- package/dist/module/justifi-form-address-fields.js +0 -6
- package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.d.ts +0 -7
- package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.d.ts +0 -5
- package/dist/types/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.d.ts +0 -8
- package/dist/types/components/business-forms/payment-provisioning/test/mockBusiness.d.ts +0 -12
- package/dist/types/utils/country-codes.d.ts +0 -4
- package/dist/types/utils/province-options.d.ts +0 -5
- package/dist/webcomponents/p-0254c06c.entry.js +0 -1
- package/dist/webcomponents/p-047fe97f.entry.js +0 -1
- package/dist/webcomponents/p-04ca6ff0.entry.js +0 -1
- package/dist/webcomponents/p-09d53b03.entry.js +0 -1
- package/dist/webcomponents/p-0c5e2fed.entry.js +0 -1
- package/dist/webcomponents/p-0ea48603.entry.js +0 -1
- package/dist/webcomponents/p-17e9d5c0.entry.js +0 -1
- package/dist/webcomponents/p-1ab4d6aa.entry.js +0 -1
- package/dist/webcomponents/p-1cf42bc9.entry.js +0 -1
- package/dist/webcomponents/p-1e7f4b4f.entry.js +0 -1
- package/dist/webcomponents/p-22defde6.entry.js +0 -20
- package/dist/webcomponents/p-242208d9.entry.js +0 -1
- package/dist/webcomponents/p-31ac0c3d.entry.js +0 -1
- package/dist/webcomponents/p-36e21b78.entry.js +0 -1
- package/dist/webcomponents/p-3a77a97c.entry.js +0 -1
- package/dist/webcomponents/p-40938820.entry.js +0 -1
- package/dist/webcomponents/p-40dc0c3c.entry.js +0 -1
- package/dist/webcomponents/p-42763479.entry.js +0 -1
- package/dist/webcomponents/p-430203b0.entry.js +0 -1
- package/dist/webcomponents/p-46d2d042.entry.js +0 -1
- package/dist/webcomponents/p-485516a1.entry.js +0 -1
- package/dist/webcomponents/p-4fb58ee6.entry.js +0 -1
- package/dist/webcomponents/p-54995a3d.entry.js +0 -1
- package/dist/webcomponents/p-56617fdd.entry.js +0 -1
- package/dist/webcomponents/p-592a45f6.entry.js +0 -1
- package/dist/webcomponents/p-5a044ca5.entry.js +0 -1
- package/dist/webcomponents/p-5ec18584.entry.js +0 -1
- package/dist/webcomponents/p-6122dc79.entry.js +0 -1
- package/dist/webcomponents/p-62858ba5.entry.js +0 -1
- package/dist/webcomponents/p-62b5e6cf.entry.js +0 -1
- package/dist/webcomponents/p-67dab4d9.entry.js +0 -1
- package/dist/webcomponents/p-6b791b1d.entry.js +0 -1
- package/dist/webcomponents/p-6ebf8f11.entry.js +0 -1
- package/dist/webcomponents/p-6fdac295.entry.js +0 -1
- package/dist/webcomponents/p-724cf90f.entry.js +0 -1
- package/dist/webcomponents/p-7ecca5fe.entry.js +0 -1
- package/dist/webcomponents/p-7ecf9bd0.entry.js +0 -1
- package/dist/webcomponents/p-850dd606.entry.js +0 -1
- package/dist/webcomponents/p-85af9d78.entry.js +0 -1
- package/dist/webcomponents/p-931003fc.entry.js +0 -1
- package/dist/webcomponents/p-9367e7e6.entry.js +0 -1
- package/dist/webcomponents/p-9c114674.entry.js +0 -1
- package/dist/webcomponents/p-9c267692.entry.js +0 -1
- package/dist/webcomponents/p-B5rtFhtR.js +0 -1
- package/dist/webcomponents/p-BRhnhmpB.js +0 -1
- package/dist/webcomponents/p-BgFM_jvF.js +0 -1
- package/dist/webcomponents/p-BqbXuOZP.js +0 -1
- package/dist/webcomponents/p-BwpdCtUc.js +0 -1
- package/dist/webcomponents/p-C6g4MbnB.js +0 -1
- package/dist/webcomponents/p-CA_TyBed.js +0 -1
- package/dist/webcomponents/p-CE-MNrID.js +0 -1
- package/dist/webcomponents/p-CMpATPXy.js +0 -1
- package/dist/webcomponents/p-CQUZeo9r.js +0 -1
- package/dist/webcomponents/p-CSeo7WDO.js +0 -1
- package/dist/webcomponents/p-CTJ3moi4.js +0 -1
- package/dist/webcomponents/p-CVaOFfrI.js +0 -1
- package/dist/webcomponents/p-CYNcSTQA.js +0 -1
- package/dist/webcomponents/p-CevVA9qy.js +0 -1
- package/dist/webcomponents/p-CkiX8OGy.js +0 -1
- package/dist/webcomponents/p-CtWnJFtW.js +0 -1
- package/dist/webcomponents/p-CycBoHSW.js +0 -1
- package/dist/webcomponents/p-D-RVXHwG.js +0 -1
- package/dist/webcomponents/p-D1Na2I0C.js +0 -1
- package/dist/webcomponents/p-D5lmImiz.js +0 -1
- package/dist/webcomponents/p-DMf85Fkr.js +0 -1
- package/dist/webcomponents/p-DNPS-Ypi.js +0 -1
- package/dist/webcomponents/p-DQ5V5-Jy.js +0 -1
- package/dist/webcomponents/p-DapORSs4.js +0 -1
- package/dist/webcomponents/p-DcPNd9_D.js +0 -1
- package/dist/webcomponents/p-DfKxeSrC.js +0 -1
- package/dist/webcomponents/p-Dkujm7_O.js +0 -1
- package/dist/webcomponents/p-Dv1Fyrn3.js +0 -1
- package/dist/webcomponents/p-DxVCqvBt.js +0 -1
- package/dist/webcomponents/p-DzWLLt4t.js +0 -1
- package/dist/webcomponents/p-LO0pl3n2.js +0 -1
- package/dist/webcomponents/p-PdQT2QcR.js +0 -1
- package/dist/webcomponents/p-a2817869.entry.js +0 -1
- package/dist/webcomponents/p-a291a90c.entry.js +0 -1
- package/dist/webcomponents/p-b0bc03e6.entry.js +0 -1
- package/dist/webcomponents/p-c2cb70c8.entry.js +0 -1
- package/dist/webcomponents/p-c540fe9d.entry.js +0 -1
- package/dist/webcomponents/p-c6093716.entry.js +0 -1
- package/dist/webcomponents/p-c6e43493.entry.js +0 -1
- package/dist/webcomponents/p-c780cc91.entry.js +0 -1
- package/dist/webcomponents/p-c9598246.entry.js +0 -1
- package/dist/webcomponents/p-c972a599.entry.js +0 -1
- package/dist/webcomponents/p-cc1d8649.entry.js +0 -1
- package/dist/webcomponents/p-ce4895ca.entry.js +0 -1
- package/dist/webcomponents/p-ce67282b.entry.js +0 -1
- package/dist/webcomponents/p-cef5c6e9.entry.js +0 -1
- package/dist/webcomponents/p-d21fa0c9.entry.js +0 -1
- package/dist/webcomponents/p-d236f152.entry.js +0 -1
- package/dist/webcomponents/p-d6ac11fc.entry.js +0 -1
- package/dist/webcomponents/p-e55ce6ad.entry.js +0 -1
- package/dist/webcomponents/p-f02bd076.entry.js +0 -1
- package/dist/webcomponents/p-lPeK9y_X.js +0 -1
- package/dist/webcomponents/p-sCHf--Vc.js +0 -1
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { R as Representative } from './Business.js';
|
|
3
3
|
import { F as FormController } from './form.js';
|
|
4
|
-
import { i as
|
|
4
|
+
import { i as identitySchema } from './business-identity-schema.js';
|
|
5
5
|
import { P as PaymentProvisioningLoading } from './payment-provisioning-loading.js';
|
|
6
6
|
import { B as BusinessFormStep } from './event-types2.js';
|
|
7
|
-
import { d as defineCustomElement$
|
|
8
|
-
import { d as defineCustomElement$
|
|
9
|
-
import { d as defineCustomElement$
|
|
10
|
-
import { d as defineCustomElement$
|
|
11
|
-
import { d as defineCustomElement$
|
|
12
|
-
import { d as defineCustomElement$
|
|
13
|
-
import { d as defineCustomElement$
|
|
14
|
-
import { d as defineCustomElement$2 } from './form-address-fields.js';
|
|
7
|
+
import { d as defineCustomElement$8 } from './custom-popper2.js';
|
|
8
|
+
import { d as defineCustomElement$7 } from './form-control-date2.js';
|
|
9
|
+
import { d as defineCustomElement$6 } from './form-control-number-masked2.js';
|
|
10
|
+
import { d as defineCustomElement$5 } from './form-control-select2.js';
|
|
11
|
+
import { d as defineCustomElement$4 } from './form-control-text2.js';
|
|
12
|
+
import { d as defineCustomElement$3 } from './form-control-tooltip2.js';
|
|
13
|
+
import { d as defineCustomElement$2 } from './business-representative-form-inputs.js';
|
|
15
14
|
import { d as defineCustomElement$1 } from './identity-address-form.js';
|
|
16
15
|
|
|
17
16
|
const BusinessRepresentativeFormStepCore = /*@__PURE__*/ proxyCustomElement(class BusinessRepresentativeFormStepCore extends HTMLElement {
|
|
@@ -27,14 +26,11 @@ const BusinessRepresentativeFormStepCore = /*@__PURE__*/ proxyCustomElement(clas
|
|
|
27
26
|
this.representative = {};
|
|
28
27
|
this.isLoading = false;
|
|
29
28
|
this.getData = () => {
|
|
30
|
-
if (!this.getBusiness)
|
|
31
|
-
return;
|
|
32
29
|
this.formLoading.emit(true);
|
|
33
30
|
this.isLoading = true;
|
|
34
31
|
this.getBusiness({
|
|
35
32
|
onSuccess: (response) => {
|
|
36
33
|
this.representative = new Representative(response.data.representative || {});
|
|
37
|
-
this.representative.address.country = this.country;
|
|
38
34
|
this.formController.setInitialValues(Object.assign({}, this.representative));
|
|
39
35
|
},
|
|
40
36
|
onError: ({ error, code, severity }) => {
|
|
@@ -82,9 +78,8 @@ const BusinessRepresentativeFormStepCore = /*@__PURE__*/ proxyCustomElement(clas
|
|
|
82
78
|
return { representative: formValues };
|
|
83
79
|
}
|
|
84
80
|
componentWillLoad() {
|
|
85
|
-
|
|
86
|
-
this.formController = new FormController(
|
|
87
|
-
this.getData();
|
|
81
|
+
this.getBusiness && this.getData();
|
|
82
|
+
this.formController = new FormController(identitySchema('representative', this.allowOptionalFields));
|
|
88
83
|
}
|
|
89
84
|
componentDidLoad() {
|
|
90
85
|
this.formController.errors.subscribe(errors => {
|
|
@@ -95,13 +90,12 @@ const BusinessRepresentativeFormStepCore = /*@__PURE__*/ proxyCustomElement(clas
|
|
|
95
90
|
if (this.isLoading) {
|
|
96
91
|
return (h(PaymentProvisioningLoading, null));
|
|
97
92
|
}
|
|
98
|
-
return (h("justifi-business-representative-form-inputs", { representativeDefaultValue: this.formController.getInitialValues(), errors: this.errors, formController: this.formController
|
|
93
|
+
return (h("justifi-business-representative-form-inputs", { representativeDefaultValue: this.formController.getInitialValues(), errors: this.errors, formController: this.formController }));
|
|
99
94
|
}
|
|
100
95
|
}, [256, "justifi-business-representative-form-step-core", {
|
|
101
96
|
"getBusiness": [16],
|
|
102
97
|
"patchBusiness": [16],
|
|
103
98
|
"allowOptionalFields": [4, "allow-optional-fields"],
|
|
104
|
-
"country": [1],
|
|
105
99
|
"formController": [32],
|
|
106
100
|
"errors": [32],
|
|
107
101
|
"representative": [32],
|
|
@@ -112,7 +106,7 @@ function defineCustomElement() {
|
|
|
112
106
|
if (typeof customElements === "undefined") {
|
|
113
107
|
return;
|
|
114
108
|
}
|
|
115
|
-
const components = ["justifi-business-representative-form-step-core", "custom-popper", "form-control-date", "form-control-number-masked", "form-control-select", "form-control-text", "form-control-tooltip", "justifi-business-representative-form-inputs", "justifi-
|
|
109
|
+
const components = ["justifi-business-representative-form-step-core", "custom-popper", "form-control-date", "form-control-number-masked", "form-control-select", "form-control-text", "form-control-tooltip", "justifi-business-representative-form-inputs", "justifi-identity-address-form"];
|
|
116
110
|
components.forEach(tagName => { switch (tagName) {
|
|
117
111
|
case "justifi-business-representative-form-step-core":
|
|
118
112
|
if (!customElements.get(tagName)) {
|
|
@@ -120,41 +114,36 @@ function defineCustomElement() {
|
|
|
120
114
|
}
|
|
121
115
|
break;
|
|
122
116
|
case "custom-popper":
|
|
123
|
-
if (!customElements.get(tagName)) {
|
|
124
|
-
defineCustomElement$9();
|
|
125
|
-
}
|
|
126
|
-
break;
|
|
127
|
-
case "form-control-date":
|
|
128
117
|
if (!customElements.get(tagName)) {
|
|
129
118
|
defineCustomElement$8();
|
|
130
119
|
}
|
|
131
120
|
break;
|
|
132
|
-
case "form-control-
|
|
121
|
+
case "form-control-date":
|
|
133
122
|
if (!customElements.get(tagName)) {
|
|
134
123
|
defineCustomElement$7();
|
|
135
124
|
}
|
|
136
125
|
break;
|
|
137
|
-
case "form-control-
|
|
126
|
+
case "form-control-number-masked":
|
|
138
127
|
if (!customElements.get(tagName)) {
|
|
139
128
|
defineCustomElement$6();
|
|
140
129
|
}
|
|
141
130
|
break;
|
|
142
|
-
case "form-control-
|
|
131
|
+
case "form-control-select":
|
|
143
132
|
if (!customElements.get(tagName)) {
|
|
144
133
|
defineCustomElement$5();
|
|
145
134
|
}
|
|
146
135
|
break;
|
|
147
|
-
case "form-control-
|
|
136
|
+
case "form-control-text":
|
|
148
137
|
if (!customElements.get(tagName)) {
|
|
149
138
|
defineCustomElement$4();
|
|
150
139
|
}
|
|
151
140
|
break;
|
|
152
|
-
case "
|
|
141
|
+
case "form-control-tooltip":
|
|
153
142
|
if (!customElements.get(tagName)) {
|
|
154
143
|
defineCustomElement$3();
|
|
155
144
|
}
|
|
156
145
|
break;
|
|
157
|
-
case "justifi-form-
|
|
146
|
+
case "justifi-business-representative-form-inputs":
|
|
158
147
|
if (!customElements.get(tagName)) {
|
|
159
148
|
defineCustomElement$2();
|
|
160
149
|
}
|
|
@@ -2,15 +2,14 @@ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/i
|
|
|
2
2
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Refund.js';
|
|
3
3
|
import { m as makeGetBusiness, a as makePatchBusiness } from './payment-provisioning-actions.js';
|
|
4
4
|
import { B as BusinessService } from './business.service.js';
|
|
5
|
-
import { d as defineCustomElement$
|
|
6
|
-
import { d as defineCustomElement$
|
|
7
|
-
import { d as defineCustomElement$
|
|
8
|
-
import { d as defineCustomElement$
|
|
9
|
-
import { d as defineCustomElement$
|
|
10
|
-
import { d as defineCustomElement$
|
|
11
|
-
import { d as defineCustomElement$
|
|
12
|
-
import { d as defineCustomElement$
|
|
13
|
-
import { d as defineCustomElement$2 } from './form-address-fields.js';
|
|
5
|
+
import { d as defineCustomElement$9 } from './custom-popper2.js';
|
|
6
|
+
import { d as defineCustomElement$8 } from './form-control-date2.js';
|
|
7
|
+
import { d as defineCustomElement$7 } from './form-control-number-masked2.js';
|
|
8
|
+
import { d as defineCustomElement$6 } from './form-control-select2.js';
|
|
9
|
+
import { d as defineCustomElement$5 } from './form-control-text2.js';
|
|
10
|
+
import { d as defineCustomElement$4 } from './form-control-tooltip2.js';
|
|
11
|
+
import { d as defineCustomElement$3 } from './business-representative-form-inputs.js';
|
|
12
|
+
import { d as defineCustomElement$2 } from './business-representative-form-step-core.js';
|
|
14
13
|
import { d as defineCustomElement$1 } from './identity-address-form.js';
|
|
15
14
|
|
|
16
15
|
const BusinessRepresentativeFormStep = /*@__PURE__*/ proxyCustomElement(class BusinessRepresentativeFormStep extends HTMLElement {
|
|
@@ -52,7 +51,7 @@ const BusinessRepresentativeFormStep = /*@__PURE__*/ proxyCustomElement(class Bu
|
|
|
52
51
|
}
|
|
53
52
|
}
|
|
54
53
|
render() {
|
|
55
|
-
return (h("justifi-business-representative-form-step-core", { key: '
|
|
54
|
+
return (h("justifi-business-representative-form-step-core", { key: '582c77f4b763573a1d29726285a9b871afe96d89', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
|
|
56
55
|
}
|
|
57
56
|
static get watchers() { return {
|
|
58
57
|
"authToken": ["propChanged"],
|
|
@@ -62,7 +61,6 @@ const BusinessRepresentativeFormStep = /*@__PURE__*/ proxyCustomElement(class Bu
|
|
|
62
61
|
"authToken": [1, "auth-token"],
|
|
63
62
|
"businessId": [1, "business-id"],
|
|
64
63
|
"allowOptionalFields": [4, "allow-optional-fields"],
|
|
65
|
-
"country": [1],
|
|
66
64
|
"getBusiness": [32],
|
|
67
65
|
"patchBusiness": [32],
|
|
68
66
|
"validateAndSubmit": [64]
|
|
@@ -74,7 +72,7 @@ function defineCustomElement() {
|
|
|
74
72
|
if (typeof customElements === "undefined") {
|
|
75
73
|
return;
|
|
76
74
|
}
|
|
77
|
-
const components = ["justifi-business-representative-form-step", "custom-popper", "form-control-date", "form-control-number-masked", "form-control-select", "form-control-text", "form-control-tooltip", "justifi-business-representative-form-inputs", "justifi-business-representative-form-step-core", "justifi-
|
|
75
|
+
const components = ["justifi-business-representative-form-step", "custom-popper", "form-control-date", "form-control-number-masked", "form-control-select", "form-control-text", "form-control-tooltip", "justifi-business-representative-form-inputs", "justifi-business-representative-form-step-core", "justifi-identity-address-form"];
|
|
78
76
|
components.forEach(tagName => { switch (tagName) {
|
|
79
77
|
case "justifi-business-representative-form-step":
|
|
80
78
|
if (!customElements.get(tagName)) {
|
|
@@ -82,46 +80,41 @@ function defineCustomElement() {
|
|
|
82
80
|
}
|
|
83
81
|
break;
|
|
84
82
|
case "custom-popper":
|
|
85
|
-
if (!customElements.get(tagName)) {
|
|
86
|
-
defineCustomElement$a();
|
|
87
|
-
}
|
|
88
|
-
break;
|
|
89
|
-
case "form-control-date":
|
|
90
83
|
if (!customElements.get(tagName)) {
|
|
91
84
|
defineCustomElement$9();
|
|
92
85
|
}
|
|
93
86
|
break;
|
|
94
|
-
case "form-control-
|
|
87
|
+
case "form-control-date":
|
|
95
88
|
if (!customElements.get(tagName)) {
|
|
96
89
|
defineCustomElement$8();
|
|
97
90
|
}
|
|
98
91
|
break;
|
|
99
|
-
case "form-control-
|
|
92
|
+
case "form-control-number-masked":
|
|
100
93
|
if (!customElements.get(tagName)) {
|
|
101
94
|
defineCustomElement$7();
|
|
102
95
|
}
|
|
103
96
|
break;
|
|
104
|
-
case "form-control-
|
|
97
|
+
case "form-control-select":
|
|
105
98
|
if (!customElements.get(tagName)) {
|
|
106
99
|
defineCustomElement$6();
|
|
107
100
|
}
|
|
108
101
|
break;
|
|
109
|
-
case "form-control-
|
|
102
|
+
case "form-control-text":
|
|
110
103
|
if (!customElements.get(tagName)) {
|
|
111
104
|
defineCustomElement$5();
|
|
112
105
|
}
|
|
113
106
|
break;
|
|
114
|
-
case "
|
|
107
|
+
case "form-control-tooltip":
|
|
115
108
|
if (!customElements.get(tagName)) {
|
|
116
109
|
defineCustomElement$4();
|
|
117
110
|
}
|
|
118
111
|
break;
|
|
119
|
-
case "justifi-business-representative-form-
|
|
112
|
+
case "justifi-business-representative-form-inputs":
|
|
120
113
|
if (!customElements.get(tagName)) {
|
|
121
114
|
defineCustomElement$3();
|
|
122
115
|
}
|
|
123
116
|
break;
|
|
124
|
-
case "justifi-form-
|
|
117
|
+
case "justifi-business-representative-form-step-core":
|
|
125
118
|
if (!customElements.get(tagName)) {
|
|
126
119
|
defineCustomElement$2();
|
|
127
120
|
}
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { P as PHONE_MASKS,
|
|
3
|
-
import { d as deconstructDate } from './
|
|
4
|
-
import { h as heading2
|
|
5
|
-
import {
|
|
6
|
-
import { d as defineCustomElement$
|
|
7
|
-
import { d as defineCustomElement$
|
|
8
|
-
import { d as defineCustomElement$
|
|
9
|
-
import { d as defineCustomElement$
|
|
10
|
-
import { d as defineCustomElement$
|
|
11
|
-
import { d as defineCustomElement$3 } from './form-control-tooltip2.js';
|
|
12
|
-
import { d as defineCustomElement$2 } from './form-address-fields.js';
|
|
2
|
+
import { P as PHONE_MASKS, S as SSN_MASK } from './form-input-masks.js';
|
|
3
|
+
import { d as deconstructDate } from './helpers.js';
|
|
4
|
+
import { h as heading2 } from './parts.js';
|
|
5
|
+
import { d as defineCustomElement$7 } from './custom-popper2.js';
|
|
6
|
+
import { d as defineCustomElement$6 } from './form-control-date2.js';
|
|
7
|
+
import { d as defineCustomElement$5 } from './form-control-number-masked2.js';
|
|
8
|
+
import { d as defineCustomElement$4 } from './form-control-select2.js';
|
|
9
|
+
import { d as defineCustomElement$3 } from './form-control-text2.js';
|
|
10
|
+
import { d as defineCustomElement$2 } from './form-control-tooltip2.js';
|
|
13
11
|
import { d as defineCustomElement$1 } from './identity-address-form.js';
|
|
14
12
|
|
|
15
13
|
const BusinessRepresentative = /*@__PURE__*/ proxyCustomElement(class BusinessRepresentative extends HTMLElement {
|
|
@@ -20,7 +18,6 @@ const BusinessRepresentative = /*@__PURE__*/ proxyCustomElement(class BusinessRe
|
|
|
20
18
|
}
|
|
21
19
|
this.errors = {};
|
|
22
20
|
this.representative = {};
|
|
23
|
-
this.isEditingIdentification = false;
|
|
24
21
|
this.inputHandler = (name, value) => {
|
|
25
22
|
this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { representative: Object.assign(Object.assign({}, this.formController.values.getValue().representative), { [name]: value }) }));
|
|
26
23
|
};
|
|
@@ -33,36 +30,26 @@ const BusinessRepresentative = /*@__PURE__*/ proxyCustomElement(class BusinessRe
|
|
|
33
30
|
};
|
|
34
31
|
}
|
|
35
32
|
get identificationNumberLabel() {
|
|
36
|
-
|
|
37
|
-
const label = countryLabels[this.country].idNumberLabel;
|
|
38
|
-
const labelOptional = countryLabels[this.country].idNumberLabelOptional;
|
|
39
|
-
return ((_a = this.representative) === null || _a === void 0 ? void 0 : _a.ssn_last4) ? labelOptional : label;
|
|
33
|
+
return this.representative.ssn_last4 ? 'Update SSN (optional)' : 'SSN';
|
|
40
34
|
}
|
|
41
35
|
componentDidLoad() {
|
|
42
36
|
this.formController.errors.subscribe(errors => (this.errors = Object.assign({}, errors.representative)));
|
|
43
37
|
this.formController.values.subscribe(values => (this.representative = Object.assign({}, values.representative)));
|
|
44
38
|
}
|
|
45
39
|
render() {
|
|
46
|
-
var _a, _b;
|
|
47
40
|
const representativeDefaultValue = this.formController.getInitialValues().representative;
|
|
48
|
-
return (h(Host, { key: '
|
|
49
|
-
this.isEditingIdentification = true;
|
|
50
|
-
// Clear last4 and current value to force validation
|
|
51
|
-
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: '' }) }));
|
|
52
|
-
} }, "Change"))))), h("div", { key: '54548bf9622fcc949ebd91db29cc8b877dd7652d', class: "col-12" }, 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 }))))));
|
|
41
|
+
return (h(Host, { key: '88bd35928331776d5cbb7d085fd55a76fde1a084' }, h("fieldset", { key: '202c40f332352c2f4d3c8a136888c39c67379e5f' }, h("legend", { key: 'a0b5043b348b1d8632a6bf0fe2d4309a8132d1f7', part: heading2 }, "Representative"), h("div", { key: 'ba50c004e2b37f384dd8af63b1e0e397abadb9de', class: "row gy-3" }, h("div", { key: 'b85bf5fb0da9e8feae19dbebb0a911362e914601', class: "col-12 col-md-8" }, h("form-control-text", { key: '95f849c7c0ba0c67bdc0a55727e00755e03897ef', name: "name", label: "Full Name", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '074067a3ce960b678ea38d53b84adda24e60754c', class: "col-12 col-md-4" }, h("form-control-text", { key: '7ef397af32b7c0f79eeae1499bf3d3d147961c96', name: "title", label: "Title", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler })), h("div", { key: 'a26bfd8a0824aaa12c6ffa48ac58c2bccc7236ef', class: "col-12 col-md-6" }, h("form-control-text", { key: '39174c4b812462d1aa28824bca550e3f6e1d98b4', name: "email", label: "Email Address", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: 'ed0a2c52e4df0c43b2536dfd1ff3692a4e5716d9', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '07bdcc1dd2e1473b64218eb28c8cdcf1cdce2a91', name: "phone", label: "Phone Number", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '96092fd371ec82a8f8ebbf8bc4e3064768d4ad97', class: "col-12 col-md-4" }, h("form-control-date", { key: 'c24980f126c056aff139e897fdef9795905ea89b', 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 })), h("div", { key: '9d1695fa6e68bb4ae9a8184dcb5e15d588474ab8', class: "col-12 col-md-8" }, h("form-control-number-masked", { key: '8d8a56c08fb06f1a54baf3ee3d6e31a684205290', name: "identification_number", label: this.identificationNumberLabel, defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: SSN_MASK })), h("div", { key: '22fa5e16517e14ab031aa5e7e95ea77bd7b28986', class: "col-12" }, h("justifi-identity-address-form", { key: '4a990de739a0ae6fbf1f6a621ff7c0078517e970', errors: this.errors.address, defaultValues: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate }))))));
|
|
53
42
|
}
|
|
54
43
|
}, [256, "justifi-business-representative", {
|
|
55
|
-
"formController": [
|
|
56
|
-
"country": [1],
|
|
44
|
+
"formController": [16],
|
|
57
45
|
"errors": [32],
|
|
58
|
-
"representative": [32]
|
|
59
|
-
"isEditingIdentification": [32]
|
|
46
|
+
"representative": [32]
|
|
60
47
|
}]);
|
|
61
48
|
function defineCustomElement() {
|
|
62
49
|
if (typeof customElements === "undefined") {
|
|
63
50
|
return;
|
|
64
51
|
}
|
|
65
|
-
const components = ["justifi-business-representative", "custom-popper", "form-control-date", "form-control-number-masked", "form-control-select", "form-control-text", "form-control-tooltip", "justifi-
|
|
52
|
+
const components = ["justifi-business-representative", "custom-popper", "form-control-date", "form-control-number-masked", "form-control-select", "form-control-text", "form-control-tooltip", "justifi-identity-address-form"];
|
|
66
53
|
components.forEach(tagName => { switch (tagName) {
|
|
67
54
|
case "justifi-business-representative":
|
|
68
55
|
if (!customElements.get(tagName)) {
|
|
@@ -70,36 +57,31 @@ function defineCustomElement() {
|
|
|
70
57
|
}
|
|
71
58
|
break;
|
|
72
59
|
case "custom-popper":
|
|
73
|
-
if (!customElements.get(tagName)) {
|
|
74
|
-
defineCustomElement$8();
|
|
75
|
-
}
|
|
76
|
-
break;
|
|
77
|
-
case "form-control-date":
|
|
78
60
|
if (!customElements.get(tagName)) {
|
|
79
61
|
defineCustomElement$7();
|
|
80
62
|
}
|
|
81
63
|
break;
|
|
82
|
-
case "form-control-
|
|
64
|
+
case "form-control-date":
|
|
83
65
|
if (!customElements.get(tagName)) {
|
|
84
66
|
defineCustomElement$6();
|
|
85
67
|
}
|
|
86
68
|
break;
|
|
87
|
-
case "form-control-
|
|
69
|
+
case "form-control-number-masked":
|
|
88
70
|
if (!customElements.get(tagName)) {
|
|
89
71
|
defineCustomElement$5();
|
|
90
72
|
}
|
|
91
73
|
break;
|
|
92
|
-
case "form-control-
|
|
74
|
+
case "form-control-select":
|
|
93
75
|
if (!customElements.get(tagName)) {
|
|
94
76
|
defineCustomElement$4();
|
|
95
77
|
}
|
|
96
78
|
break;
|
|
97
|
-
case "form-control-
|
|
79
|
+
case "form-control-text":
|
|
98
80
|
if (!customElements.get(tagName)) {
|
|
99
81
|
defineCustomElement$3();
|
|
100
82
|
}
|
|
101
83
|
break;
|
|
102
|
-
case "
|
|
84
|
+
case "form-control-tooltip":
|
|
103
85
|
if (!customElements.get(tagName)) {
|
|
104
86
|
defineCustomElement$2();
|
|
105
87
|
}
|
|
@@ -131,7 +131,7 @@ const BusinessTermsConditionsFormStep = /*@__PURE__*/ proxyCustomElement(class B
|
|
|
131
131
|
return (h("a", { href: "https://justifi.tech/merchant-agreement/", target: "_blank", rel: "noopener noreferrer" }, "merchant agreement"));
|
|
132
132
|
}
|
|
133
133
|
render() {
|
|
134
|
-
return (h("form", { key: '
|
|
134
|
+
return (h("form", { key: '8cea6fff2e5b5cbfa7de6b3adfce238153599d1e' }, h("fieldset", { key: 'ef3c4ce5d0d03f1d048e072c6f7ac3da565ffb18' }, h("legend", { key: 'caa5fee86bd4b5c2a7204a76ae3533146526b9e1', part: heading2 }, "Terms and Conditions"), h("hr", { key: '5a72caeaf2dae8f57c0be09ca21feceb0793daf4' }), h("div", { key: 'e39700b83a10c479cf6d767c1af61ac8b480e4d5' }, h("p", { key: '2b8520977bedf73c295a387095724a561391b005' }, "Please read and accept the ", this.merchantAgreementLink, " to submit your provisioning request.")), h("br", { key: '706ec9ecfd4a0909583745f90b36eeb42fa5e690' }), h("div", { key: 'd915e2c49188b829b33b03f07cc8f1ccea99ee1d', class: "row-gy-3" }, h("div", { key: 'cbbc74e6b5e80bf54884a8f41eb94f6d5bcdb6dd', class: "col-12" }, h("form-control-checkbox", { key: 'f63aed196d33f1760dae8c5ac5487c0fbc7d4838', name: "accepted", label: "I agree to the terms and conditions", inputHandler: this.inputHandler, errorText: this.errors.accepted, disabled: this.acceptedTermsBefore, helpText: this.formHelperText, checked: this.acceptedTerms }))))));
|
|
135
135
|
}
|
|
136
136
|
}, [256, "justifi-business-terms-conditions-form-step", {
|
|
137
137
|
"authToken": [1, "auth-token"],
|
package/dist/module/button.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { a0 as buttonSecondary, a1 as buttonPrimary, a2 as buttonLoading } from './parts.js';
|
|
3
3
|
|
|
4
4
|
const ButtonSpinner = () => (h("div", { class: "spinner-border spinner-border-sm", role: "status", part: "button-spinner" }, h("span", { class: "visually-hidden" }, "Loading...")));
|
|
5
5
|
|
|
@@ -41,7 +41,7 @@ const CancellationPolicy = /*@__PURE__*/ proxyCustomElement(class CancellationPo
|
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
43
|
var _a, _b, _c;
|
|
44
|
-
return (h("div", { key: '
|
|
44
|
+
return (h("div", { key: 'f3be140160f96c20a65cfe0eb0f32b0a36d6328d' }, h("div", { key: '72c6936c3b99f55493c0019a0ade1ab85dc6245e', class: "row gy-3" }, h("div", { key: 'dc369f250820762b0d2f70b776b12b4736dacf7d', class: "col-12" }, h("h2", { key: '1b657416345e0ffb7e1181e40f913919e50a514b', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: 'af2320dcc457a9b58bf50398dadedfedb8b65e04', class: "col-12" }, h("form-control-textarea", { key: '6366a3fb241515461a17102450db84e56c6d23ad', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.cancellation_policy_disclosure, inputHandler: this.inputHandler, errorText: this.errors.cancellation_policy_disclosure })), h("div", { key: '0129cd6a72201be98e4654e232314262c81a0a3b', class: "col-12" }, h("form-control-textarea", { key: 'f2b4d61af6aaa2e13f19e412b8bfdf369ff33876', label: "Cancellation Rebuttal", name: "cancellation_rebuttal", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.cancellation_rebuttal, inputHandler: this.inputHandler, errorText: this.errors.cancellation_rebuttal })), h("div", { key: '18c38013f5ffaa3145d6e11b6cee27a77fb922aa', class: "col-12" }, h("form-control-file-v2", { key: 'b8412565744676cb05a8d59df609da8a1b183f77', label: "Upload Cancellation Policy", name: "cancellation_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.cancellation_policy })))));
|
|
45
45
|
}
|
|
46
46
|
}, [256, "justifi-cancellation-policy", {
|
|
47
47
|
"disputeResponse": [8, "dispute-response"],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { p as postalOnlySchema } from './billing-form-schema.js';
|
|
3
|
-
import {
|
|
3
|
+
import { W as billingForm } from './parts.js';
|
|
4
4
|
import { n as numberOnlyHandler } from './utils3.js';
|
|
5
5
|
import { F as FormController } from './form.js';
|
|
6
6
|
import { S as StyledHost } from './styled-host.js';
|
|
@@ -45,7 +45,7 @@ const CardBillingFormSimple = /*@__PURE__*/ proxyCustomElement(class CardBilling
|
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
47
|
const billingFormDefaultValue = this.formController.getInitialValues();
|
|
48
|
-
return (h(StyledHost, { key: '
|
|
48
|
+
return (h(StyledHost, { key: '26fd30b96e63f0adac380f70fae5cb4b80d9b36f' }, h("div", { key: '79558919d544889647d034bdc415f9b404d4a058', part: billingForm }, h("form", { key: '21b722098010050f4a22b1e3cc995090c50a9f74' }, h("fieldset", { key: 'f371a839f16363d8242a38469c78eba1759e46a7' }, this.legend && (h("legend", { key: '45b9d4d5b0dd502f5ebca9c357cdf6b75a16f9e1' }, this.legend)), h("div", { key: 'ae1c10a2bae0061dd2aa0645e7d1f8c8ed899444', class: "row gy-3" }, h("div", { key: 'cd99d74f2803336bd0b25c7a962ef95fa66079ba', class: "col-12" }, h("form-control-text", { key: '6ac34b703ae83a9e6c4c86b3c239795c5a7d0d57', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler }))))))));
|
|
49
49
|
}
|
|
50
50
|
}, [257, "justifi-card-billing-form-simple", {
|
|
51
51
|
"legend": [1025],
|
package/dist/module/card-form.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, proxyCustomElement, HTMLElement, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { S as Skeleton } from './skeleton.js';
|
|
3
3
|
import { w as waitForConfig, c as configState } from './config-state.js';
|
|
4
|
-
import {
|
|
4
|
+
import { k as generateTabId } from './utils2.js';
|
|
5
5
|
import { d as defineCustomElement$2 } from './iframe-input2.js';
|
|
6
6
|
|
|
7
7
|
const CardFormSkeleton = (props) => {
|
|
@@ -51,10 +51,10 @@ const CardForm$1 = /*@__PURE__*/ proxyCustomElement(class CardForm extends HTMLE
|
|
|
51
51
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: '038d2c8e2f9fcd1015d7177c79afa8c4e5810486' }, h(CardFormSkeleton, { key: 'b231bb34f43670bb1d92597d2ab37a5ef2c742e1', isReady: this.isReady }), h("div", { key: 'ede0af7f1964c2241982bfed4ca71f229d9096a1', class: "container-fluid p-0", style: {
|
|
55
55
|
opacity: this.isReady ? '1' : '0',
|
|
56
56
|
height: this.isReady ? 'auto' : '0',
|
|
57
|
-
} }, h("div", { key: '
|
|
57
|
+
} }, h("div", { key: '7c895da0378cc512b152a6629160009b12fa47aa', class: "mb-3" }, h("iframe-input", { key: '7717e0cf984a83402c61bceece2077cda780510f', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber?tabId=${this.tabId}` })), h("div", { key: 'b28428997690059244e4da2cd5080af2fb44ca00', class: "d-flex align-items-start" }, h("div", { key: 'e2f11a9293e00ab5b950de51a41b3af266b8084a', class: "flex-fill me-3" }, h("iframe-input", { key: '16d798effe3e29a06d5714b742749a1ce9b40760', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Exp. Month", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth?tabId=${this.tabId}` })), h("div", { key: 'e75c69175bd23bc96192d17a4561a0118f640ebe', class: "flex-fill me-3" }, h("iframe-input", { key: '04d1c4fb7693e42a18984d9c102a5d799e7c1c3f', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "Exp. Year", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear?tabId=${this.tabId}` })), h("div", { key: 'a2130dcbe8e72f156bc0434d47a26a8e287b1fce', class: "flex-fill" }, h("iframe-input", { key: '4709dcb93de9543be9a5143df0bdeaf66935bde3', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV?tabId=${this.tabId}` }))))));
|
|
58
58
|
}
|
|
59
59
|
}, [256, "card-form", {
|
|
60
60
|
"isReady": [32],
|
|
@@ -62,10 +62,10 @@ const JustifiCardForm = /*@__PURE__*/ proxyCustomElement(class JustifiCardForm e
|
|
|
62
62
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
63
63
|
}
|
|
64
64
|
render() {
|
|
65
|
-
return (h(StyledHost, { key: '
|
|
65
|
+
return (h(StyledHost, { key: '64d9bda2ce54aa06788509ae294bcb1eefdb173a' }, h(CardFormSkeleton, { key: 'a1f233464393512652fc37a31b769bb9f48f3797', isReady: this.isReady }), h("hidden-input", { key: '4405ec6e9a510f670a137d33c83a5ad38a19a0aa' }), h("div", { key: 'e704d33d8b3cbcd55798afb537b2b16d37d0077d', class: "container-fluid p-0", style: {
|
|
66
66
|
opacity: this.isReady ? '1' : '0',
|
|
67
67
|
height: this.isReady ? 'auto' : '0',
|
|
68
|
-
} }, h("div", { key: '
|
|
68
|
+
} }, h("div", { key: 'c519dafa0657af1372836a2a30301849f2e422b3', class: "mb-3" }, h("iframe-input", { key: '6c6a0154ed62e0e684784ff0f327e3bc282da10c', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: '7efcb6e9fed504ea8f0470f55b8c48b7d82b537b', class: "row" }, h("div", { key: 'e216e57f82d04325cedeca9f3945285ab8675c7d', class: "col-4 align-content-end" }, h("iframe-input", { key: 'c3ffef01705152180c66adaf482e67a1d2f114e9', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: '97666cb9d9e4b272c033913527c4b6a60b6067c5', class: "col-4 align-content-end" }, h("iframe-input", { key: '4d2f7f56f2a0d5717776c6ef164eef5f7dbc4d8d', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: 'ecc6fff75106b265a7cb00febef40a7b14651a0a', class: "col-4 align-content-end" }, h("iframe-input", { key: '9a756344f1d47f69c0702b57d15d66a658b57e3d', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
|
|
69
69
|
}
|
|
70
70
|
}, [257, "justifi-card-form", {
|
|
71
71
|
"isReady": [32],
|
|
@@ -8,6 +8,7 @@ const initialState = {
|
|
|
8
8
|
address_postal_code: '',
|
|
9
9
|
},
|
|
10
10
|
bnplEnabled: false,
|
|
11
|
+
applePayEnabled: false,
|
|
11
12
|
insuranceEnabled: false,
|
|
12
13
|
bnplProviderApiVersion: '',
|
|
13
14
|
bnplProviderCheckoutUrl: '',
|
|
@@ -62,6 +63,9 @@ function getAvailablePaymentMethodTypes() {
|
|
|
62
63
|
if (checkoutStore.bnplEnabled) {
|
|
63
64
|
methods.push(PAYMENT_METHODS.SEZZLE);
|
|
64
65
|
}
|
|
66
|
+
if (checkoutStore.applePayEnabled) {
|
|
67
|
+
methods.push(PAYMENT_METHODS.APPLE_PAY);
|
|
68
|
+
}
|
|
65
69
|
if (checkoutStore.bankAccountVerification === true &&
|
|
66
70
|
!checkoutStore.disableBankAccount) {
|
|
67
71
|
methods.push(PAYMENT_METHODS.PLAID);
|
|
@@ -10,7 +10,7 @@ import { T as TableClickActions } from './event-types.js';
|
|
|
10
10
|
import './justifi-radio-list-item2.js';
|
|
11
11
|
import { a as formatDate, d as formatTime } from './utils2.js';
|
|
12
12
|
import { B as Badge, a as BadgeVariant } from './badge.js';
|
|
13
|
-
import {
|
|
13
|
+
import { w as tableHeadCell, a9 as getAlternateTableCellPart } from './parts.js';
|
|
14
14
|
import { o as onQueryParamsChange, g as getRequestParams } from './checkouts-list-params-state.js';
|
|
15
15
|
import { d as defineCustomElement$1 } from './pagination-menu2.js';
|
|
16
16
|
|
|
@@ -178,7 +178,7 @@ const CheckoutsListCore = /*@__PURE__*/ proxyCustomElement(class CheckoutsListCo
|
|
|
178
178
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
179
179
|
}
|
|
180
180
|
render() {
|
|
181
|
-
return (h(TableWrapper, { key: '
|
|
181
|
+
return (h(TableWrapper, { key: 'a39afbb74067a8ce3b4958f8509c6432d2e9acd4' }, h(TableComponent, { key: '912298a9c2b9f701b939bc224ff73d74c5451d55' }, h(TableHead, { key: 'dc14d0c44f7521360ccd76129c472825ded515cb' }, h(TableHeadRow, { key: '2dd9d8f52b56ce9e2fc1d4b50fa37143ee33e6cf' }, this.checkoutsTable.columnData.map((column) => column))), h(TableBody, { key: '41f0ccf7b211593bb5a4396a5c6f5b1d6c5c7bc3' }, h(TableLoadingState, { key: 'e80fb55f7e4ae660a97c37fe710a17190164d132', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'cd1f4f3204d6ee3baa4d826b0081196716e4b5dd', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: 'cb54166a78e4ee8ea25f1905893763cdd8d3dd92', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: 'bf8bfd7790f5bfbcb43d1d656fcdcc5a5776df98' }, h(TableFootRow, { key: 'fb86e28f22e368cc78d55e165ced57b2a2076dca' }, h(TableFootCell, { key: 'c5e1254f49c06c4129565422cb68ab956f420f74', colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: '14ec42d778e22b4c8796a1895e3f7f90732da45b', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
182
182
|
}
|
|
183
183
|
static get watchers() { return {
|
|
184
184
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -1875,7 +1875,7 @@ const CustomPopper = /*@__PURE__*/ proxyCustomElement(class CustomPopper extends
|
|
|
1875
1875
|
this.hideEvent.emit();
|
|
1876
1876
|
}
|
|
1877
1877
|
render() {
|
|
1878
|
-
return (h("div", { key: '
|
|
1878
|
+
return (h("div", { key: '1cffb3170b4f1335737dcbb025250d69c20a94b0' }, h("style", { key: '9e325676460e77d3c887934f2f9c685690731eb5' }, `
|
|
1879
1879
|
.popper-content {
|
|
1880
1880
|
display: none;
|
|
1881
1881
|
}
|
|
@@ -1883,7 +1883,7 @@ const CustomPopper = /*@__PURE__*/ proxyCustomElement(class CustomPopper extends
|
|
|
1883
1883
|
display: block;
|
|
1884
1884
|
z-index: 1030;
|
|
1885
1885
|
}
|
|
1886
|
-
`), h("div", { key: '
|
|
1886
|
+
`), h("div", { key: '4a519440ce0d71a71b99d64bae64be06d2ab9c2f', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: '99aab485a231bd1f51ef0b5465e9e00e7c8178a6' }))));
|
|
1887
1887
|
}
|
|
1888
1888
|
}, [260, "custom-popper", {
|
|
1889
1889
|
"placement": [1],
|
|
@@ -43,7 +43,7 @@ const CustomerDetails = /*@__PURE__*/ proxyCustomElement(class CustomerDetails e
|
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
45
|
var _a, _b, _c, _d, _e;
|
|
46
|
-
return (h("div", { key: '
|
|
46
|
+
return (h("div", { key: '0712f857726a187d96acf7661994f262322660e8' }, h("div", { key: 'd162d3d251a64fb260f052daa18ad5aaefc947ef', class: "row gy-3" }, h("div", { key: 'b1e10245c1a1a55e67274144927398ca6d628794', class: "col-12" }, h("h2", { key: '3166f6d2419436011ac8adaf7188c10630ab237e', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: '11ada832a6170259f355d1133a5c78bacdd4a5be', class: "col-12" }, h("form-control-text", { key: '0a69c2607434e17ae92a7c542e7245a59d95b638', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), h("div", { key: '8d2a4b3fa5a84088b5178d1c1a06df51c5b219cf', class: "col-12" }, h("form-control-text", { key: '74f2eec855986ac45e4687487fc7e4b261626d10', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), h("div", { key: '5a8a8b151e1d695d5b6944b4fe98d61b1c5d36d2', class: "col-12" }, h("form-control-textarea", { key: 'ef6bf00d9e8c7f58f2d54ef314f3ab0eec3080f8', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), h("div", { key: 'b1fcb7ba8bfd16258e1e0f15356735332803243c', class: "col-12" }, h("form-control-file-v2", { key: 'eea96693591cf044a825db953f50ac42e1e7165c', label: "Customer Signature", name: "customer_signature", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.customer_signature })), h("div", { key: 'd7ec90bb479ad9dc06a7811065b532f10af0d838', class: "col-12" }, h("form-control-file-v2", { key: 'bf4a80a05d7dd6e58086b0fe5acc6f65cd697a38', label: "Customer Communication", name: "customer_communication", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.customer_communication })))));
|
|
47
47
|
}
|
|
48
48
|
}, [256, "justifi-customer-details", {
|
|
49
49
|
"disputeResponse": [8, "dispute-response"],
|
package/dist/module/details.js
CHANGED
|
@@ -9,7 +9,7 @@ const Details = /*@__PURE__*/ proxyCustomElement(class Details extends HTMLEleme
|
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h("div", { key: '
|
|
12
|
+
return (h("div", { key: '3c1c4e729711c6676c176a5a04228ec7ebb7acfa' }, this.errorMessage ?
|
|
13
13
|
ErrorState(this.errorMessage)
|
|
14
14
|
:
|
|
15
15
|
h("main", { class: "p-2" }, h("slot", { name: "head-info" }), h("slot", { name: 'detail-sections' }))));
|
|
@@ -70,7 +70,7 @@ const DisputeManagementCore = /*@__PURE__*/ proxyCustomElement(class DisputeMana
|
|
|
70
70
|
});
|
|
71
71
|
}
|
|
72
72
|
render() {
|
|
73
|
-
return (h("div", { key: '
|
|
73
|
+
return (h("div", { key: '7e16a29a9b82c993c35c075c857838b1ba9469ea' }, this.showDisputeResponseForm ? (h("justifi-dispute-response", { disputeId: this.disputeId, disputeResponse: this.dispute.dispute_response, authToken: this.authToken })) : (h("justifi-dispute-notification", { dispute: this.dispute, authToken: this.authToken, isLoading: this.isLoading }))));
|
|
74
74
|
}
|
|
75
75
|
static get watchers() { return {
|
|
76
76
|
"getDispute": ["updateOnPropChange"]
|