@justifi/webcomponents 6.15.0 → 6.16.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{Analytics-BjZHa0wt.js → Analytics-jQsZxClw.js} +2 -2
- package/dist/cjs/{Api-us3AxMRC.js → Api-DqXlEWR1.js} +1 -1
- package/dist/cjs/additional-questions-form-step_15.cjs.entry.js +8 -8
- package/dist/cjs/additional-questions_4.cjs.entry.js +1 -1
- package/dist/cjs/additional-statement_8.cjs.entry.js +8 -8
- package/dist/cjs/bank-account-billing-form-simple_4.cjs.entry.js +13 -7
- package/dist/cjs/bank-account-form.cjs.entry.js +66 -12
- package/dist/cjs/{business-identity-schema-XiCLzxWM.js → business-identity-schema-DuOIMFjG.js} +2 -2
- package/dist/cjs/{business.service-_Sl3vWmu.js → business.service-Ca-olopC.js} +1 -1
- package/dist/cjs/card-form.cjs.entry.js +14 -10
- package/dist/cjs/{checkout.service-B_qymeqJ.js → checkout.service-DBHPH2ji.js} +1 -1
- package/dist/cjs/{checkout.store-DaV9lvEQ.js → checkout.store-B5lTwvUV.js} +1 -0
- package/dist/cjs/{country-config-DQQujh5h.js → country-config-CFC3KuVD.js} +24 -2
- package/dist/cjs/custom-popper_2.cjs.entry.js +2 -2
- package/dist/cjs/detect-duplicate-version-D8ZajVUT.js +29 -0
- package/dist/cjs/dispute-notification_2.cjs.entry.js +9 -9
- package/dist/cjs/{event-types-DmY59QXs.js → event-types-luy3xnYR.js} +1 -1
- package/dist/cjs/form-address-fields_3.cjs.entry.js +5 -5
- package/dist/cjs/form-alert_3.cjs.entry.js +116 -15
- package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/form-control-date.cjs.entry.js +2 -2
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +1 -1
- package/dist/cjs/form-control-file.cjs.entry.js +2 -2
- package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
- package/dist/cjs/form-control-number_2.cjs.entry.js +3 -3
- package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
- package/dist/cjs/form-control-select_2.cjs.entry.js +22 -6
- package/dist/cjs/{get-subaccounts-BMY2bOFj.js → get-subaccounts-D11aTYj1.js} +1 -1
- package/dist/cjs/internal-button.cjs.entry.js +1 -1
- package/dist/cjs/justifi-apple-pay_12.cjs.entry.js +41 -25
- package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +6 -6
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +8 -7
- package/dist/cjs/justifi-billing-form-full.cjs.entry.js +1 -1
- package/dist/cjs/justifi-business-details.cjs.entry.js +7 -7
- package/dist/cjs/justifi-business-form.cjs.entry.js +9 -9
- package/dist/cjs/justifi-card-billing-form-simple.cjs.entry.js +1 -1
- package/dist/cjs/justifi-card-form.cjs.entry.js +9 -6
- package/dist/cjs/justifi-checkout-qr-code.cjs.entry.js +5 -5
- package/dist/cjs/justifi-checkout.cjs.entry.js +10 -8
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +9 -9
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +7 -7
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -5
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payment-details.cjs.entry.js +14 -14
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payout-details.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +8 -8
- package/dist/cjs/justifi-qr-terminal.cjs.entry.js +6 -6
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +6 -6
- package/dist/cjs/justifi-save-new-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +6 -6
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +3 -3
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +7 -7
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +8 -8
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-30T__1wH.js → package-B414Jbra.js} +1 -3
- package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
- package/dist/cjs/{payment.service-DRXVT-uB.js → payment.service-CNTe8vrp.js} +1 -1
- package/dist/cjs/{payout.service-CuQ-mXKB.js → payout.service-BmU3q9jO.js} +1 -1
- package/dist/cjs/{plaid.service-B58nzlUE.js → plaid.service-d9LAwbnX.js} +1 -1
- package/dist/cjs/radio-list-item.cjs.entry.js +1 -1
- package/dist/cjs/save-new-payment-method.cjs.entry.js +2 -2
- package/dist/cjs/{schema-validations-sjRvL4KO.js → schema-validations-BDFa_oIq.js} +8 -2
- package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/{terminal.service-CmtSEgTc.js → terminal.service-BkQWZv9b.js} +1 -1
- package/dist/cjs/utils-Ct_X5q0U.js +62 -0
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/business-details/justifi-business-details.js +3 -3
- package/dist/collection/components/business-forms/business-form/justifi-business-form.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +3 -2
- package/dist/collection/components/business-forms/payment-provisioning/justifi-payment-provisioning.js +2 -2
- package/dist/collection/components/business-forms/schemas/schema-validations.js +8 -1
- package/dist/collection/components/business-forms/utils/country-config.js +3 -2
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +90 -12
- package/dist/collection/components/checkout/billing-form/billing-form-full.js +6 -2
- package/dist/collection/components/checkout/billing-form/card-billing-form-simple.js +6 -2
- package/dist/collection/components/checkout/card-form/card-form.js +39 -11
- package/dist/collection/components/checkout/justifi-checkout.js +26 -4
- package/dist/collection/components/checkout/message-event-types.js +2 -0
- package/dist/collection/components/checkout/save-new-payment-method/justifi-save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout/save-new-payment-method/save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout-qr-code/justifi-checkout-qr-code.js +2 -2
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +2 -2
- package/dist/collection/components/checkouts-list/justifi-checkouts-list.js +4 -4
- package/dist/collection/components/dispute-management/dispute-notification.js +2 -2
- 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.js +3 -3
- 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/dispute-management/justifi-dispute-management.js +3 -3
- package/dist/collection/components/filters/table-filters-menu.js +1 -1
- package/dist/collection/components/gross-payment-chart/justifi-gross-payment-chart.js +2 -2
- package/dist/collection/components/insurance/season-interruption/justifi-season-interruption-insurance.js +2 -2
- package/dist/collection/components/modular-checkout/justifi-modular-checkout.js +50 -12
- package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-billing-form-simple.js +3 -3
- package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-form.js +33 -6
- package/dist/collection/components/modular-checkout/sub-components/justifi-billing-form-full.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-card-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-card-form.js +28 -3
- package/dist/collection/components/modular-checkout/sub-components/justifi-checkout-summary.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/paypal/justifi-paypal.js +1 -1
- package/dist/collection/components/order-terminals/justifi-order-terminals.js +3 -3
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
- package/dist/collection/components/payment-details/justifi-payment-details.js +10 -10
- package/dist/collection/components/payment-transactions-list/justifi-payment-transactions-list.js +3 -3
- package/dist/collection/components/payments-list/justifi-payments-list-filters.js +2 -2
- package/dist/collection/components/payments-list/justifi-payments-list.js +3 -3
- package/dist/collection/components/payout-details/justifi-payout-details.js +5 -5
- package/dist/collection/components/payout-transactions-list/justifi-payout-transactions-list.js +3 -3
- package/dist/collection/components/payouts-list/justifi-payouts-list-filters.js +2 -2
- package/dist/collection/components/payouts-list/justifi-payouts-list.js +3 -3
- package/dist/collection/components/qr-terminal/justifi-qr-terminal.js +2 -2
- package/dist/collection/components/refund-payment/justifi-refund-payment.js +2 -2
- package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list-filters.js +3 -3
- package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list.js +4 -4
- package/dist/collection/components/terminals-list/justifi-terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/justifi-terminals-list.js +3 -3
- package/dist/collection/components/tokenize-payment-method/justifi-tokenize-payment-method.js +45 -6
- package/dist/collection/store/checkout.store.js +1 -0
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- 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 +37 -4
- package/dist/collection/ui-components/form/iframe-input.js +136 -14
- package/dist/collection/ui-components/form/utils.js +32 -0
- package/dist/collection/ui-components/internal-button.js +1 -1
- package/dist/collection/ui-components/radio-list-item.js +1 -1
- package/dist/collection/utils/detect-duplicate-version.js +24 -0
- package/dist/collection/utils/postal-code.js +19 -0
- package/dist/docs.json +286 -17
- package/dist/esm/{Analytics-BtMYbHD0.js → Analytics-DihSSvAP.js} +2 -2
- package/dist/esm/{Api-nVK-rgbk.js → Api-INJHjnya.js} +1 -1
- package/dist/esm/additional-questions-form-step_15.entry.js +8 -8
- package/dist/esm/additional-questions_4.entry.js +1 -1
- package/dist/esm/additional-statement_8.entry.js +8 -8
- package/dist/esm/bank-account-billing-form-simple_4.entry.js +13 -7
- package/dist/esm/bank-account-form.entry.js +66 -12
- package/dist/esm/{business-identity-schema-BP61Unwf.js → business-identity-schema-BLKCH6xV.js} +2 -2
- package/dist/esm/{business.service-Cq7H5w1T.js → business.service-C8f7OSEu.js} +1 -1
- package/dist/esm/card-form.entry.js +14 -10
- package/dist/esm/{checkout.service-JA7oTq5d.js → checkout.service-BYDkC7uy.js} +1 -1
- package/dist/esm/{checkout.store-B2mtQcB5.js → checkout.store-B8CGkx0o.js} +1 -0
- package/dist/esm/{country-config-F5YwgHgR.js → country-config-DJFj1v-Q.js} +23 -3
- package/dist/esm/custom-popper_2.entry.js +2 -2
- package/dist/esm/detect-duplicate-version-C4r1WAzO.js +27 -0
- package/dist/esm/dispute-notification_2.entry.js +9 -9
- package/dist/esm/{event-types-Dsf8IwD6.js → event-types-S8CgMbPg.js} +1 -1
- package/dist/esm/form-address-fields_3.entry.js +5 -5
- package/dist/esm/form-alert_3.entry.js +116 -15
- package/dist/esm/form-control-checkbox.entry.js +2 -2
- package/dist/esm/form-control-date.entry.js +2 -2
- package/dist/esm/form-control-file-v2_2.entry.js +1 -1
- package/dist/esm/form-control-file.entry.js +2 -2
- package/dist/esm/form-control-monetary.entry.js +2 -2
- package/dist/esm/form-control-number_2.entry.js +3 -3
- package/dist/esm/form-control-radio.entry.js +2 -2
- package/dist/esm/form-control-select_2.entry.js +22 -6
- package/dist/esm/{get-subaccounts-B-S2TGRa.js → get-subaccounts-BHWiH8q9.js} +1 -1
- package/dist/esm/internal-button.entry.js +1 -1
- package/dist/esm/justifi-apple-pay_12.entry.js +41 -25
- package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +6 -6
- package/dist/esm/justifi-bank-account-form.entry.js +8 -7
- package/dist/esm/justifi-billing-form-full.entry.js +1 -1
- package/dist/esm/justifi-business-details.entry.js +7 -7
- package/dist/esm/justifi-business-form.entry.js +9 -9
- package/dist/esm/justifi-card-billing-form-simple.entry.js +1 -1
- package/dist/esm/justifi-card-form.entry.js +9 -6
- package/dist/esm/justifi-checkout-qr-code.entry.js +5 -5
- package/dist/esm/justifi-checkout.entry.js +10 -8
- package/dist/esm/justifi-checkouts-list-filters.entry.js +2 -2
- package/dist/esm/justifi-checkouts-list.entry.js +9 -9
- package/dist/esm/justifi-dispute-management.entry.js +7 -7
- package/dist/esm/justifi-gross-payment-chart.entry.js +5 -5
- package/dist/esm/justifi-order-terminals.entry.js +8 -8
- package/dist/esm/justifi-payment-details.entry.js +14 -14
- package/dist/esm/justifi-payment-provisioning.entry.js +6 -6
- package/dist/esm/justifi-payment-transactions-list.entry.js +7 -7
- package/dist/esm/justifi-payments-list-filters.entry.js +2 -2
- package/dist/esm/justifi-payments-list.entry.js +7 -7
- package/dist/esm/justifi-payout-details.entry.js +9 -9
- package/dist/esm/justifi-payout-transactions-list.entry.js +7 -7
- package/dist/esm/justifi-payouts-list-filters.entry.js +2 -2
- package/dist/esm/justifi-payouts-list.entry.js +8 -8
- package/dist/esm/justifi-qr-terminal.entry.js +6 -6
- package/dist/esm/justifi-refund-payment.entry.js +6 -6
- package/dist/esm/justifi-save-new-payment-method.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +6 -6
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +3 -3
- package/dist/esm/justifi-terminal-orders-list.entry.js +7 -7
- package/dist/esm/justifi-terminals-list-filters.entry.js +1 -1
- package/dist/esm/justifi-terminals-list.entry.js +8 -8
- package/dist/esm/loader.js +1 -1
- package/dist/esm/package-BQpbTebi.js +5 -0
- package/dist/esm/payment-method-option.entry.js +1 -1
- package/dist/esm/{payment.service-B42sKlQE.js → payment.service-CQXRsu6Y.js} +1 -1
- package/dist/esm/{payout.service-BIoAgNJJ.js → payout.service-RRyWfpEK.js} +1 -1
- package/dist/esm/{plaid.service-C6Ltk2ef.js → plaid.service-Cg3E3Plo.js} +1 -1
- package/dist/esm/radio-list-item.entry.js +1 -1
- package/dist/esm/save-new-payment-method.entry.js +2 -2
- package/dist/esm/{schema-validations-De7Qe0VU.js → schema-validations-8GJ34Do1.js} +8 -2
- package/dist/esm/table-filters-menu.entry.js +1 -1
- package/dist/esm/terminal-quantity-selector.entry.js +1 -1
- package/dist/esm/{terminal.service-DV3qIwBy.js → terminal.service-Dy6D8bnl.js} +1 -1
- package/dist/esm/utils-Cpck08K0.js +59 -0
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/additional-statement2.js +1 -1
- package/dist/module/bank-account-form2.js +65 -10
- package/dist/module/billing-form-full2.js +6 -2
- package/dist/module/cancellation-policy2.js +1 -1
- package/dist/module/card-billing-form-simple2.js +6 -2
- package/dist/module/card-form2.js +14 -9
- package/dist/module/checkout.store.js +1 -0
- package/dist/module/country-config.js +23 -3
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details2.js +1 -1
- package/dist/module/detect-duplicate-version.js +27 -0
- package/dist/module/dispute-notification2.js +2 -2
- package/dist/module/dispute-response2.js +3 -3
- package/dist/module/duplicate-charge2.js +1 -1
- package/dist/module/electronic-evidence2.js +1 -1
- package/dist/module/form-address-fields2.js +3 -3
- package/dist/module/form-control-checkbox2.js +2 -2
- package/dist/module/form-control-date2.js +2 -2
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +2 -2
- package/dist/module/form-control-monetary2.js +2 -2
- package/dist/module/form-control-number-masked2.js +2 -2
- package/dist/module/form-control-number2.js +2 -2
- package/dist/module/form-control-radio2.js +2 -2
- package/dist/module/form-control-select2.js +2 -2
- package/dist/module/form-control-text2.js +21 -4
- package/dist/module/iframe-input2.js +119 -15
- package/dist/module/internal-button2.js +1 -1
- package/dist/module/justifi-bank-account-billing-form-simple.js +3 -3
- package/dist/module/justifi-bank-account-form.js +6 -4
- package/dist/module/justifi-billing-form-full.js +1 -1
- package/dist/module/justifi-business-details.js +3 -3
- package/dist/module/justifi-business-form.js +2 -2
- package/dist/module/justifi-card-billing-form-simple.js +1 -1
- package/dist/module/justifi-card-form.js +6 -3
- package/dist/module/justifi-checkout-qr-code2.js +2 -2
- package/dist/module/justifi-checkout-summary2.js +1 -1
- package/dist/module/justifi-checkout.js +7 -4
- package/dist/module/justifi-checkouts-list-filters.js +2 -2
- package/dist/module/justifi-checkouts-list.js +4 -4
- package/dist/module/justifi-dispute-management.js +3 -3
- package/dist/module/justifi-gross-payment-chart.js +2 -2
- package/dist/module/justifi-modular-checkout2.js +30 -12
- package/dist/module/justifi-order-terminals.js +3 -3
- package/dist/module/justifi-payment-details.js +10 -10
- package/dist/module/justifi-payment-provisioning.js +2 -2
- package/dist/module/justifi-payment-transactions-list.js +3 -3
- package/dist/module/justifi-payments-list-filters.js +2 -2
- package/dist/module/justifi-payments-list.js +3 -3
- package/dist/module/justifi-payout-details.js +5 -5
- package/dist/module/justifi-payout-transactions-list.js +3 -3
- package/dist/module/justifi-payouts-list-filters.js +2 -2
- package/dist/module/justifi-payouts-list.js +3 -3
- package/dist/module/justifi-paypal2.js +1 -1
- package/dist/module/justifi-qr-terminal.js +2 -2
- package/dist/module/justifi-refund-payment.js +2 -2
- package/dist/module/justifi-save-new-payment-method.js +1 -1
- package/dist/module/justifi-season-interruption-insurance.js +2 -2
- package/dist/module/justifi-terminal-orders-list-filters.js +3 -3
- package/dist/module/justifi-terminal-orders-list.js +4 -4
- package/dist/module/justifi-terminals-list-filters.js +1 -1
- package/dist/module/justifi-terminals-list.js +3 -3
- package/dist/module/justifi-tokenize-payment-method2.js +9 -6
- package/dist/module/package.js +1 -3
- package/dist/module/payment-method-option.js +1 -1
- package/dist/module/product-or-service2.js +1 -1
- package/dist/module/radio-list-item2.js +1 -1
- package/dist/module/refund-policy2.js +1 -1
- package/dist/module/save-new-payment-method2.js +1 -1
- package/dist/module/schema-validations.js +8 -2
- package/dist/module/shipping-details2.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/utils4.js +33 -1
- package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +8 -1
- package/dist/types/components/checkout/card-form/card-form.d.ts +5 -1
- package/dist/types/components/checkout/justifi-checkout.d.ts +2 -0
- package/dist/types/components/checkout/message-event-types.d.ts +2 -0
- package/dist/types/components/modular-checkout/justifi-modular-checkout.d.ts +9 -0
- package/dist/types/components/modular-checkout/sub-components/justifi-bank-account-form.d.ts +4 -1
- package/dist/types/components/modular-checkout/sub-components/justifi-card-form.d.ts +9 -0
- package/dist/types/components/tokenize-payment-method/justifi-tokenize-payment-method.d.ts +9 -0
- package/dist/types/components.d.ts +85 -3
- package/dist/types/store/checkout.store.d.ts +1 -0
- package/dist/types/ui-components/form/form-control-text.d.ts +1 -0
- package/dist/types/ui-components/form/iframe-input.d.ts +24 -0
- package/dist/types/ui-components/form/utils.d.ts +1 -0
- package/dist/types/utils/detect-duplicate-version.d.ts +7 -0
- package/dist/types/utils/postal-code.d.ts +3 -0
- package/dist/webcomponents/p-12daf522.entry.js +1 -0
- package/dist/webcomponents/p-1a1aef42.entry.js +1 -0
- package/dist/webcomponents/p-1ceb65cc.entry.js +1 -0
- package/dist/webcomponents/{p-0f7e3515.entry.js → p-1ff1dcc5.entry.js} +4 -4
- package/dist/webcomponents/{p-777470cb.entry.js → p-2272a65b.entry.js} +1 -1
- package/dist/webcomponents/{p-c4889a06.entry.js → p-2d25f1d1.entry.js} +1 -1
- package/dist/webcomponents/{p-f2b3c7d5.entry.js → p-30ec1cd6.entry.js} +1 -1
- package/dist/webcomponents/p-357d14ee.entry.js +1 -0
- package/dist/webcomponents/{p-ead48010.entry.js → p-4450dbe9.entry.js} +1 -1
- package/dist/webcomponents/p-4c7e7880.entry.js +1 -0
- package/dist/webcomponents/{p-6c7fca1a.entry.js → p-4d85dd63.entry.js} +1 -1
- package/dist/webcomponents/p-521c534c.entry.js +1 -0
- package/dist/webcomponents/p-5babaaa9.entry.js +1 -0
- package/dist/webcomponents/{p-88a44a02.entry.js → p-5e8f26ec.entry.js} +1 -1
- package/dist/webcomponents/p-622c2af4.entry.js +1 -0
- package/dist/webcomponents/{p-9e3e2e32.entry.js → p-6aaf2758.entry.js} +1 -1
- package/dist/webcomponents/p-6bfdc443.entry.js +1 -0
- package/dist/webcomponents/{p-42021e67.entry.js → p-6f3b035b.entry.js} +1 -1
- package/dist/webcomponents/p-73af269e.entry.js +1 -0
- package/dist/webcomponents/{p-a7c594d1.entry.js → p-7ff788f8.entry.js} +1 -1
- package/dist/webcomponents/{p-a10beb26.entry.js → p-846ae5d5.entry.js} +1 -1
- package/dist/webcomponents/p-8758aec4.entry.js +1 -0
- package/dist/webcomponents/p-87f8d4e7.entry.js +1 -0
- package/dist/webcomponents/p-8c22ff9c.entry.js +1 -0
- package/dist/webcomponents/p-91358854.entry.js +1 -0
- package/dist/webcomponents/{p-13814028.entry.js → p-956707a2.entry.js} +1 -1
- package/dist/webcomponents/p-9c1863d5.entry.js +1 -0
- package/dist/webcomponents/{p-B_2zgnvM.js → p-BG8NxEUn.js} +1 -1
- package/dist/webcomponents/{p-DC2djVls.js → p-BKtKrQzN.js} +1 -1
- package/dist/webcomponents/p-BQpbTebi.js +1 -0
- package/dist/webcomponents/{p-BjjKkMO1.js → p-Bh5BNj74.js} +1 -1
- package/dist/webcomponents/{p-C6Jq8YDT.js → p-BtiJJJwv.js} +1 -1
- package/dist/webcomponents/p-BzESNgd8.js +1 -0
- package/dist/webcomponents/p-CkrzG0pB.js +1 -0
- package/dist/webcomponents/{p-D694H6co.js → p-Cl6irPVE.js} +1 -1
- package/dist/webcomponents/p-Cpck08K0.js +1 -0
- package/dist/webcomponents/{p-D7fNBSlC.js → p-Cy_sz0Tx.js} +1 -1
- package/dist/webcomponents/{p-pueOrhXO.js → p-D42DvqTW.js} +1 -1
- package/dist/webcomponents/{p-C60AkJ6a.js → p-DBudSN_h.js} +1 -1
- package/dist/webcomponents/p-DMzYgqml.js +1 -0
- package/dist/webcomponents/p-FsWkrvEF.js +1 -0
- package/dist/webcomponents/{p-BmaQUnqv.js → p-MLQyjvrV.js} +1 -1
- package/dist/webcomponents/p-a095b86d.entry.js +1 -0
- package/dist/webcomponents/p-a1e1afa4.entry.js +1 -0
- package/dist/webcomponents/p-a2c4e99f.entry.js +1 -0
- package/dist/webcomponents/p-a8f1c9b3.entry.js +1 -0
- package/dist/webcomponents/{p-f5cb6a26.entry.js → p-b665841f.entry.js} +1 -1
- package/dist/webcomponents/p-b925d666.entry.js +1 -0
- package/dist/webcomponents/p-bc3e46af.entry.js +1 -0
- package/dist/webcomponents/p-c172decb.entry.js +1 -0
- package/dist/webcomponents/p-c9871158.entry.js +1 -0
- package/dist/webcomponents/p-d19d7d41.entry.js +1 -0
- package/dist/webcomponents/{p-f40fa614.entry.js → p-d35cde99.entry.js} +1 -1
- package/dist/webcomponents/{p-1cfa634a.entry.js → p-d48f80d1.entry.js} +1 -1
- package/dist/webcomponents/{p-cec7164e.entry.js → p-dae31a59.entry.js} +1 -1
- package/dist/webcomponents/p-deff4422.entry.js +1 -0
- package/dist/webcomponents/{p-1365a46b.entry.js → p-e3c7b4e5.entry.js} +1 -1
- package/dist/webcomponents/p-e6d1e3e2.entry.js +1 -0
- package/dist/webcomponents/{p-97c6593d.entry.js → p-ebae270b.entry.js} +1 -1
- package/dist/webcomponents/p-ebed68aa.entry.js +1 -0
- package/dist/webcomponents/{p-16261d8a.entry.js → p-f0084d20.entry.js} +1 -1
- package/dist/webcomponents/{p-065b854f.entry.js → p-f0da2ca5.entry.js} +1 -1
- package/dist/webcomponents/{p-9b43b90d.entry.js → p-f23d7d13.entry.js} +1 -1
- package/dist/webcomponents/p-f2c99647.entry.js +1 -0
- package/dist/webcomponents/p-f458928d.entry.js +1 -0
- package/dist/webcomponents/{p-429046e1.entry.js → p-f5686720.entry.js} +1 -1
- package/dist/webcomponents/p-f681f747.entry.js +1 -0
- package/dist/webcomponents/{p-0e9351c4.entry.js → p-f6efd9e0.entry.js} +1 -1
- package/dist/webcomponents/{p-a71cc8e2.entry.js → p-fa0427d5.entry.js} +1 -1
- package/dist/webcomponents/p-fb1f2fe8.entry.js +1 -0
- package/dist/webcomponents/p-fcc5af24.entry.js +1 -0
- package/dist/webcomponents/{p-iA-Amt2z.js → p-hdPjEOdB.js} +1 -1
- package/dist/webcomponents/{p-rFpPIJgu.js → p-l3JhjHLW.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +14 -14
- package/LICENSE +0 -21
- package/dist/cjs/check-pkg-version-CjJab8fX.js +0 -47
- package/dist/cjs/utils-DAyWinG2.js +0 -29
- package/dist/collection/utils/check-pkg-version.js +0 -42
- package/dist/esm/check-pkg-version-BW9zgceK.js +0 -45
- package/dist/esm/package-BC9n8nB2.js +0 -7
- package/dist/esm/utils-BnjCmwMr.js +0 -27
- package/dist/module/check-pkg-version.js +0 -45
- package/dist/types/utils/check-pkg-version.d.ts +0 -1
- package/dist/webcomponents/p-082f912c.entry.js +0 -1
- package/dist/webcomponents/p-0cd689f4.entry.js +0 -1
- package/dist/webcomponents/p-0fbc806f.entry.js +0 -1
- package/dist/webcomponents/p-10787684.entry.js +0 -1
- package/dist/webcomponents/p-19cabdaf.entry.js +0 -1
- package/dist/webcomponents/p-1fa62eba.entry.js +0 -1
- package/dist/webcomponents/p-2ef913b8.entry.js +0 -1
- package/dist/webcomponents/p-36340e63.entry.js +0 -1
- package/dist/webcomponents/p-388082cd.entry.js +0 -1
- package/dist/webcomponents/p-3a1f8c5b.entry.js +0 -1
- package/dist/webcomponents/p-3f2fb856.entry.js +0 -1
- package/dist/webcomponents/p-44ff4f2c.entry.js +0 -1
- package/dist/webcomponents/p-4740601b.entry.js +0 -1
- package/dist/webcomponents/p-59b95eae.entry.js +0 -1
- package/dist/webcomponents/p-72bb4aff.entry.js +0 -1
- package/dist/webcomponents/p-735d397e.entry.js +0 -1
- package/dist/webcomponents/p-8432cb42.entry.js +0 -1
- package/dist/webcomponents/p-89f0c2aa.entry.js +0 -1
- package/dist/webcomponents/p-9db15fac.entry.js +0 -1
- package/dist/webcomponents/p-9eb00966.entry.js +0 -1
- package/dist/webcomponents/p-9f0ef3f3.entry.js +0 -1
- package/dist/webcomponents/p-BAvoKtN2.js +0 -1
- package/dist/webcomponents/p-BC9n8nB2.js +0 -1
- package/dist/webcomponents/p-BnjCmwMr.js +0 -1
- package/dist/webcomponents/p-Fpaf7CLD.js +0 -1
- package/dist/webcomponents/p-_MjmE9YT.js +0 -1
- package/dist/webcomponents/p-a8d25057.entry.js +0 -1
- package/dist/webcomponents/p-acb0b66c.entry.js +0 -1
- package/dist/webcomponents/p-b9ba7c95.entry.js +0 -1
- package/dist/webcomponents/p-c385f10d.entry.js +0 -1
- package/dist/webcomponents/p-c55fdbbf.entry.js +0 -1
- package/dist/webcomponents/p-ca6c5365.entry.js +0 -1
- package/dist/webcomponents/p-d3544e86.entry.js +0 -1
- package/dist/webcomponents/p-de047614.entry.js +0 -1
- package/dist/webcomponents/p-f0434a13.entry.js +0 -1
- package/dist/webcomponents/p-f9f310dc.entry.js +0 -1
- package/dist/webcomponents/p-fda6f27d.entry.js +0 -1
- package/dist/webcomponents/p-riZDHN5-.js +0 -1
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
|
-
var Api = require('./Api-
|
|
4
|
+
var Api = require('./Api-DqXlEWR1.js');
|
|
5
5
|
var Plaid = require('./Plaid-BcOAKDaU.js');
|
|
6
6
|
var styledHost = require('./styled-host-CW1WUnUq.js');
|
|
7
7
|
require('./event-types-YOY5TKUN.js');
|
|
8
8
|
var skeleton = require('./skeleton-DvRCiQlA.js');
|
|
9
|
-
var checkout_store = require('./checkout.store-
|
|
9
|
+
var checkout_store = require('./checkout.store-B5lTwvUV.js');
|
|
10
10
|
var parts = require('./parts-BXshb_S-.js');
|
|
11
11
|
var utils = require('./utils-DB4XHlAU.js');
|
|
12
12
|
var configState = require('./config-state-C1YMiFpR.js');
|
|
13
13
|
var header1 = require('./header-1-CsBQoo1f.js');
|
|
14
14
|
var insuranceState = require('./insurance-state-CHQD1ZGw.js');
|
|
15
15
|
var header3 = require('./header-3-DCYJhPro.js');
|
|
16
|
-
var Analytics = require('./Analytics-
|
|
17
|
-
var
|
|
16
|
+
var Analytics = require('./Analytics-jQsZxClw.js');
|
|
17
|
+
var detectDuplicateVersion = require('./detect-duplicate-version-D8ZajVUT.js');
|
|
18
18
|
require('./dinero-BwNN_k7x.js');
|
|
19
19
|
require('./Pagination-Dediz133.js');
|
|
20
20
|
require('./Business-CNaz-VLa.js');
|
|
21
21
|
var checkoutActions = require('./checkout-actions-CQyGpVPe.js');
|
|
22
|
-
var checkout_service = require('./checkout.service-
|
|
23
|
-
var plaid_service = require('./plaid.service-
|
|
22
|
+
var checkout_service = require('./checkout.service-DBHPH2ji.js');
|
|
23
|
+
var plaid_service = require('./plaid.service-d9LAwbnX.js');
|
|
24
24
|
var index$1 = require('./index-DDa1jd08.js');
|
|
25
25
|
var paymentMethodOptionUtils = require('./payment-method-option-utils-WYHIHy-l.js');
|
|
26
|
-
require('./package-
|
|
26
|
+
require('./package-B414Jbra.js');
|
|
27
27
|
require('./index-DDrfAj-j.js');
|
|
28
28
|
require('./utils-BScgWJC5.js');
|
|
29
29
|
|
|
@@ -760,7 +760,7 @@ const JustifiCheckoutSummary = class {
|
|
|
760
760
|
index.registerInstance(this, hostRef);
|
|
761
761
|
}
|
|
762
762
|
render() {
|
|
763
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
763
|
+
return (index.h(styledHost.StyledHost, { key: '13d0570e2bdb79d842f9c0a17c7403963ea167c8' }, index.h("section", { key: 'c15f36caa2a9ebb66c7f0a16393926b643f1bc3b' }, index.h("div", { key: '1e4e5d32cebb57ceaeb3786a29a9e08c8e83ac80' }, index.h("div", { key: '42ff5c6ef33654a88858e8ed48e230dd674d1953', part: parts.text }, checkout_store.checkoutStore === null || checkout_store.checkoutStore === void 0 ? void 0 : checkout_store.checkoutStore.paymentDescription), index.h("div", { key: 'c21d5eb012664efdd71e82bf24a88d0fefedad8c' }, index.h("span", { key: 'a8876afe5d7e993077ed8c4fb140c745d98e9196', part: parts.text }, "Total"), "\u00A0", index.h("span", { key: 'b81156e9f9240656b51f6ed374db9878bb3137c9', part: parts.text }, utils.formatCurrency(+(checkout_store.checkoutStore === null || checkout_store.checkoutStore === void 0 ? void 0 : checkout_store.checkoutStore.totalAmount))))))));
|
|
764
764
|
}
|
|
765
765
|
};
|
|
766
766
|
|
|
@@ -930,6 +930,14 @@ const JustifiModularCheckout = class {
|
|
|
930
930
|
this.submitEvent = index.createEvent(this, "submit-event", 7);
|
|
931
931
|
this.checkoutChangedEvent = index.createEvent(this, "checkout-changed", 7);
|
|
932
932
|
this.plaidService = new plaid_service.PlaidService();
|
|
933
|
+
/**
|
|
934
|
+
* Mask the card number to its last four digits when the field loses focus,
|
|
935
|
+
* with an eye toggle to reveal it. Applies to the `justifi-card-form`
|
|
936
|
+
* rendered inside this checkout. Defaults to false.
|
|
937
|
+
*
|
|
938
|
+
* Anti-shoulder-surfing only, not a secrecy boundary.
|
|
939
|
+
*/
|
|
940
|
+
this.maskCardNumber = false;
|
|
933
941
|
this.handlePaypalStarted = () => {
|
|
934
942
|
checkout_store.checkoutStore.isWalletProcessing = true;
|
|
935
943
|
};
|
|
@@ -1030,6 +1038,9 @@ const JustifiModularCheckout = class {
|
|
|
1030
1038
|
checkout_store.checkoutStore.selectedPaymentMethod = undefined;
|
|
1031
1039
|
};
|
|
1032
1040
|
}
|
|
1041
|
+
maskCardNumberChanged() {
|
|
1042
|
+
checkout_store.checkoutStore.maskCardNumber = !!this.maskCardNumber;
|
|
1043
|
+
}
|
|
1033
1044
|
connectedCallback() {
|
|
1034
1045
|
var _a;
|
|
1035
1046
|
this.observer = new MutationObserver(() => {
|
|
@@ -1043,6 +1054,7 @@ const JustifiModularCheckout = class {
|
|
|
1043
1054
|
subtree: true,
|
|
1044
1055
|
});
|
|
1045
1056
|
checkout_store.checkoutStore.checkoutId = this.checkoutId;
|
|
1057
|
+
checkout_store.checkoutStore.maskCardNumber = !!this.maskCardNumber;
|
|
1046
1058
|
const config = {
|
|
1047
1059
|
authToken: this.authToken,
|
|
1048
1060
|
checkoutId: this.checkoutId,
|
|
@@ -1057,7 +1069,7 @@ const JustifiModularCheckout = class {
|
|
|
1057
1069
|
}
|
|
1058
1070
|
componentWillLoad() {
|
|
1059
1071
|
this.analytics = new Analytics.JustifiAnalytics(this);
|
|
1060
|
-
|
|
1072
|
+
detectDuplicateVersion.detectDuplicateVersion();
|
|
1061
1073
|
checkout_store.checkoutStore.authToken = this.authToken;
|
|
1062
1074
|
this.fetchCheckout();
|
|
1063
1075
|
// Refresh the checkout data when insurance values actually change (not on initial load)
|
|
@@ -1307,6 +1319,15 @@ const JustifiModularCheckout = class {
|
|
|
1307
1319
|
});
|
|
1308
1320
|
return;
|
|
1309
1321
|
}
|
|
1322
|
+
if (!isValid) {
|
|
1323
|
+
checkout_store.checkoutStore.isSubmitting = false;
|
|
1324
|
+
this.errorEvent.emit({
|
|
1325
|
+
message: "Please fill in all required fields.",
|
|
1326
|
+
errorCode: Plaid.ComponentErrorCodes.VALIDATION_ERROR,
|
|
1327
|
+
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
1328
|
+
});
|
|
1329
|
+
return;
|
|
1330
|
+
}
|
|
1310
1331
|
const isNewCard = ((_a = checkout_store.checkoutStore.selectedPaymentMethod) === null || _a === void 0 ? void 0 : _a.type) === index$1.PAYMENT_METHODS.NEW_CARD;
|
|
1311
1332
|
const isNewBankAccount = ((_b = checkout_store.checkoutStore.selectedPaymentMethod) === null || _b === void 0 ? void 0 : _b.type) === index$1.PAYMENT_METHODS.NEW_BANK_ACCOUNT;
|
|
1312
1333
|
const isPlaid = ((_c = checkout_store.checkoutStore.selectedPaymentMethod) === null || _c === void 0 ? void 0 : _c.type) === index$1.PAYMENT_METHODS.PLAID;
|
|
@@ -1361,15 +1382,6 @@ const JustifiModularCheckout = class {
|
|
|
1361
1382
|
return;
|
|
1362
1383
|
}
|
|
1363
1384
|
}
|
|
1364
|
-
if (!isValid) {
|
|
1365
|
-
checkout_store.checkoutStore.isSubmitting = false;
|
|
1366
|
-
this.errorEvent.emit({
|
|
1367
|
-
message: "Please fill in all required fields.",
|
|
1368
|
-
errorCode: Plaid.ComponentErrorCodes.VALIDATION_ERROR,
|
|
1369
|
-
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
1370
|
-
});
|
|
1371
|
-
return;
|
|
1372
|
-
}
|
|
1373
1385
|
// Sezzle has no payment token; approval comes from the Sezzle popup
|
|
1374
1386
|
const isSezzle = ((_e = checkout_store.checkoutStore.selectedPaymentMethod) === null || _e === void 0 ? void 0 : _e.type) === index$1.PAYMENT_METHODS.SEZZLE;
|
|
1375
1387
|
if (isSezzle) {
|
|
@@ -1453,9 +1465,12 @@ const JustifiModularCheckout = class {
|
|
|
1453
1465
|
});
|
|
1454
1466
|
}
|
|
1455
1467
|
render() {
|
|
1456
|
-
return index.h(index.Host, { key: '
|
|
1468
|
+
return index.h(index.Host, { key: '5f914d13899fe8da6a780a29689db7e9d7f9ed3e' });
|
|
1457
1469
|
}
|
|
1458
1470
|
get hostEl() { return index.getElement(this); }
|
|
1471
|
+
static get watchers() { return {
|
|
1472
|
+
"maskCardNumber": ["maskCardNumberChanged"]
|
|
1473
|
+
}; }
|
|
1459
1474
|
};
|
|
1460
1475
|
|
|
1461
1476
|
const api = Api.Api();
|
|
@@ -1660,7 +1675,7 @@ const JustifiPaypal = class {
|
|
|
1660
1675
|
return order;
|
|
1661
1676
|
}
|
|
1662
1677
|
render() {
|
|
1663
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
1678
|
+
return (index.h(styledHost.StyledHost, { key: '39a2b473cfa47da5e079adbaffa93663289cb8ec' }, index.h("div", { key: '9d3e3ff9236d2462157b310d691c43f54b6651dd', class: "paypal-buttons", ref: (el) => (this.buttonsEl = el) }, index.h("paypal-button", { key: 'a0049d2bcf4aa295f65563f49c3287b2da2e63b8', type: "pay", ref: (el) => (this.paypalButtonEl = el), onClick: () => this.startSession(this.paypalSession, 'paypal') }), index.h("venmo-button", { key: 'fd71ba73af2223271160601ec76039d3e0d6cb02', type: "pay", ref: (el) => (this.venmoButtonEl = el), onClick: () => this.startSession(this.venmoSession, 'venmo') })), index.h("style", { key: '7c7b62b3bbdf001760e888b4206702d210aeadcb' }, `
|
|
1664
1679
|
.paypal-buttons {
|
|
1665
1680
|
display: none;
|
|
1666
1681
|
gap: 8px;
|
|
@@ -2388,7 +2403,7 @@ const JustifiTokenizePaymentMethod = class {
|
|
|
2388
2403
|
}
|
|
2389
2404
|
}
|
|
2390
2405
|
componentWillLoad() {
|
|
2391
|
-
|
|
2406
|
+
detectDuplicateVersion.detectDuplicateVersion();
|
|
2392
2407
|
this.analytics = new Analytics.JustifiAnalytics(this);
|
|
2393
2408
|
}
|
|
2394
2409
|
handleRadioClick(event) {
|
|
@@ -2443,9 +2458,10 @@ const JustifiTokenizePaymentMethod = class {
|
|
|
2443
2458
|
this.billingFormRef.validate(),
|
|
2444
2459
|
this.paymentMethodFormRef.validate(),
|
|
2445
2460
|
]);
|
|
2461
|
+
// Field-level messages stay inside the hosted iframes, so only billing contributes errors.
|
|
2446
2462
|
const result = {
|
|
2447
2463
|
isValid: billingValidation.isValid && paymentMethodValidation.isValid,
|
|
2448
|
-
errors: Object.assign(
|
|
2464
|
+
errors: Object.assign({}, billingValidation.errors),
|
|
2449
2465
|
};
|
|
2450
2466
|
return result;
|
|
2451
2467
|
}
|
|
@@ -2607,13 +2623,13 @@ const JustifiTokenizePaymentMethod = class {
|
|
|
2607
2623
|
return paymentMethodType === index$1.PAYMENT_METHODS.NEW_CARD ? (index.h("card-form", { ref: (el) => {
|
|
2608
2624
|
if (el)
|
|
2609
2625
|
this.paymentMethodFormRef = el;
|
|
2610
|
-
} })) : (index.h("bank-account-form", { ref: (el) => {
|
|
2626
|
+
}, maskCardNumber: this.maskCardNumber })) : (index.h("bank-account-form", { ref: (el) => {
|
|
2611
2627
|
if (el)
|
|
2612
2628
|
this.paymentMethodFormRef = el;
|
|
2613
|
-
} }));
|
|
2629
|
+
}, showAccountNumberConfirmation: this.showAccountNumberConfirmation }));
|
|
2614
2630
|
}
|
|
2615
2631
|
render() {
|
|
2616
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
2632
|
+
return (index.h(styledHost.StyledHost, { key: 'd065263c69beef410298f14a3c8e595460149267' }, index.h("form", { key: 'cbf67700b366e26eb9a6aa1fe07afd3f7baf5c52' }, index.h("fieldset", { key: '3fd1ccefca659985eb2b90c1080c71c0f2ffe99a' }, index.h("div", { key: '7181cff13f4cc7aa6c00f4023757bac96625e87b', class: "row gy-3" }, index.h("div", { key: 'c04c382e858eab02206902d23e3921d15d2bfebc', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), index.h("div", { key: '9faa4417ba3e5dba526103f8d92fd5a88ce2df7d', class: "col-12" }, index.h("internal-button", { key: 'e4fc2482631553212e5cf62b07f2f44f32239b75', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
|
|
2617
2633
|
}
|
|
2618
2634
|
get host() { return index.getElement(this); }
|
|
2619
2635
|
static get watchers() { return {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
|
-
var Analytics = require('./Analytics-
|
|
5
|
-
var
|
|
4
|
+
var Analytics = require('./Analytics-jQsZxClw.js');
|
|
5
|
+
var detectDuplicateVersion = require('./detect-duplicate-version-D8ZajVUT.js');
|
|
6
6
|
var configState = require('./config-state-C1YMiFpR.js');
|
|
7
7
|
var styledHost = require('./styled-host-CW1WUnUq.js');
|
|
8
8
|
require('./event-types-YOY5TKUN.js');
|
|
9
|
-
require('./package-
|
|
10
|
-
require('./Api-
|
|
9
|
+
require('./package-B414Jbra.js');
|
|
10
|
+
require('./Api-DqXlEWR1.js');
|
|
11
11
|
require('./utils-DB4XHlAU.js');
|
|
12
12
|
require('./dinero-BwNN_k7x.js');
|
|
13
13
|
require('./Plaid-BcOAKDaU.js');
|
|
@@ -21,7 +21,7 @@ const JustifiBankAccountBillingFormSimple = class {
|
|
|
21
21
|
}
|
|
22
22
|
async componentWillLoad() {
|
|
23
23
|
await configState.waitForConfig();
|
|
24
|
-
|
|
24
|
+
detectDuplicateVersion.detectDuplicateVersion();
|
|
25
25
|
this.analytics = new Analytics.JustifiAnalytics(this);
|
|
26
26
|
}
|
|
27
27
|
disconnectedCallback() {
|
|
@@ -37,7 +37,7 @@ const JustifiBankAccountBillingFormSimple = class {
|
|
|
37
37
|
return (_b = (_a = this.bankAccountBillingFormSimpleRef) === null || _a === void 0 ? void 0 : _a.validate()) !== null && _b !== void 0 ? _b : { isValid: false, errors: {} };
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
40
|
+
return (index.h(styledHost.StyledHost, { key: 'a991c5bf6a8dfac85e274b53a0c4c6388c03f661' }, index.h("bank-account-billing-form-simple", { key: '0db34cb082719bdb6d5fd62c5976734cc8b0db14', legend: this.legend, ref: (el) => (this.bankAccountBillingFormSimpleRef = el) })));
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
|
-
var
|
|
5
|
-
var Analytics = require('./Analytics-
|
|
4
|
+
var detectDuplicateVersion = require('./detect-duplicate-version-D8ZajVUT.js');
|
|
5
|
+
var Analytics = require('./Analytics-jQsZxClw.js');
|
|
6
6
|
var configState = require('./config-state-C1YMiFpR.js');
|
|
7
7
|
var styledHost = require('./styled-host-CW1WUnUq.js');
|
|
8
8
|
require('./event-types-YOY5TKUN.js');
|
|
9
|
-
require('./package-
|
|
10
|
-
require('./Api-
|
|
9
|
+
require('./package-B414Jbra.js');
|
|
10
|
+
require('./Api-DqXlEWR1.js');
|
|
11
11
|
require('./utils-DB4XHlAU.js');
|
|
12
12
|
require('./dinero-BwNN_k7x.js');
|
|
13
13
|
require('./Plaid-BcOAKDaU.js');
|
|
@@ -18,10 +18,11 @@ require('./index-DDrfAj-j.js');
|
|
|
18
18
|
const JustifiBankAccountForm = class {
|
|
19
19
|
constructor(hostRef) {
|
|
20
20
|
index.registerInstance(this, hostRef);
|
|
21
|
+
this.showAccountNumberConfirmation = false;
|
|
21
22
|
}
|
|
22
23
|
async componentWillLoad() {
|
|
23
24
|
await configState.waitForConfig();
|
|
24
|
-
|
|
25
|
+
detectDuplicateVersion.detectDuplicateVersion();
|
|
25
26
|
this.analytics = new Analytics.JustifiAnalytics(this);
|
|
26
27
|
}
|
|
27
28
|
disconnectedCallback() {
|
|
@@ -30,7 +31,7 @@ const JustifiBankAccountForm = class {
|
|
|
30
31
|
}
|
|
31
32
|
async validate() {
|
|
32
33
|
if (!this.bankAccountFormElement) {
|
|
33
|
-
return false;
|
|
34
|
+
return { isValid: false };
|
|
34
35
|
}
|
|
35
36
|
return this.bankAccountFormElement.validate();
|
|
36
37
|
}
|
|
@@ -45,7 +46,7 @@ const JustifiBankAccountForm = class {
|
|
|
45
46
|
return this.bankAccountFormElement.tokenize({ clientId, paymentMethodMetadata, account });
|
|
46
47
|
}
|
|
47
48
|
render() {
|
|
48
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
49
|
+
return (index.h(styledHost.StyledHost, { key: '3ac1f01cffa56e4ce30214c6290af227dc21fd6f' }, index.h("bank-account-form", { key: 'd6c194dd830d1ea2cfcbdc0af2c3427aaa7652aa', ref: (el) => (this.bankAccountFormElement = el), showAccountNumberConfirmation: this.showAccountNumberConfirmation })));
|
|
49
50
|
}
|
|
50
51
|
};
|
|
51
52
|
|
|
@@ -17,7 +17,7 @@ const JustifiBillingFormFull = class {
|
|
|
17
17
|
return (_b = (_a = this.billingFormFullRef) === null || _a === void 0 ? void 0 : _a.validate()) !== null && _b !== void 0 ? _b : { isValid: false, errors: {} };
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
20
|
+
return (index.h(styledHost.StyledHost, { key: 'bc205e29da4d4db453b558744e5968486ec4816f' }, index.h("billing-form-full", { key: '624efbdb7660c6634b878c17cad3f34cf802d8e8', legend: this.legend, ref: (el) => (this.billingFormFullRef = el) })));
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
|
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
4
|
var utils = require('./utils-8RGQVADu.js');
|
|
5
|
-
var business_service = require('./business.service-
|
|
5
|
+
var business_service = require('./business.service-Ca-olopC.js');
|
|
6
6
|
var getBusiness = require('./get-business-BVxtiSDs.js');
|
|
7
7
|
var Plaid = require('./Plaid-BcOAKDaU.js');
|
|
8
|
-
var Analytics = require('./Analytics-
|
|
9
|
-
var
|
|
8
|
+
var Analytics = require('./Analytics-jQsZxClw.js');
|
|
9
|
+
var detectDuplicateVersion = require('./detect-duplicate-version-D8ZajVUT.js');
|
|
10
10
|
var styledHost = require('./styled-host-CW1WUnUq.js');
|
|
11
11
|
require('./event-types-YOY5TKUN.js');
|
|
12
12
|
var skeleton = require('./skeleton-DvRCiQlA.js');
|
|
13
13
|
require('./parts-BXshb_S-.js');
|
|
14
|
-
require('./Api-
|
|
14
|
+
require('./Api-DqXlEWR1.js');
|
|
15
15
|
require('./config-state-C1YMiFpR.js');
|
|
16
16
|
require('./index-DDrfAj-j.js');
|
|
17
17
|
require('./utils-DB4XHlAU.js');
|
|
18
18
|
require('./dinero-BwNN_k7x.js');
|
|
19
|
-
require('./package-
|
|
19
|
+
require('./package-B414Jbra.js');
|
|
20
20
|
require('./Pagination-Dediz133.js');
|
|
21
21
|
require('./Business-CNaz-VLa.js');
|
|
22
22
|
require('./utils-BScgWJC5.js');
|
|
@@ -33,7 +33,7 @@ const JustifiBusinessDetails = class {
|
|
|
33
33
|
this.loading = true;
|
|
34
34
|
}
|
|
35
35
|
componentWillLoad() {
|
|
36
|
-
|
|
36
|
+
detectDuplicateVersion.detectDuplicateVersion();
|
|
37
37
|
this.analytics = new Analytics.JustifiAnalytics(this);
|
|
38
38
|
this.initializeGetBusiness();
|
|
39
39
|
}
|
|
@@ -89,7 +89,7 @@ const JustifiBusinessDetails = class {
|
|
|
89
89
|
});
|
|
90
90
|
}
|
|
91
91
|
render() {
|
|
92
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
92
|
+
return (index.h(styledHost.StyledHost, { key: '5591589ce180d7102dc3403143556c1302af3fe5' }, this.loading && index.h(BusinessDetailsLoading, { key: 'c45c978e7b9b1a2e086558be669be4f9c9962965' }), !this.loading && this.errorMessage && utils.ErrorState(this.errorMessage), !this.loading && !this.errorMessage && this.business && (index.h("justifi-details", { key: 'cbb51e9f2f7ab55573349cb2106949a5ca91833d', errorMessage: this.errorMessage }, index.h("div", { key: 'c85ae2fd98b56566795383c3a799b9b93853a786', slot: 'detail-sections' }, index.h("core-info-details", { key: '2a582bf825f75176e680882f05d287b1791a411b', business: this.business }), index.h("legal-address-details", { key: '3855cc37f98885547c425e7b21f3f153604ca8ee', legalAddress: this.business.legal_address }), index.h("representative-details", { key: '16b323711a50310012ce46f8d83d2ab8f64e1461', representative: this.business.representative }), index.h("owner-details", { key: 'fd3609e46477071432a5fa276b84df00d5717f2c', owners: this.business.owners }), index.h("additional-questions-details", { key: 'b42b0499a259c3e73c91278a5515e2dcf00c3f5f', additionalQuestions: this.business.additional_questions }))))));
|
|
93
93
|
}
|
|
94
94
|
static get watchers() { return {
|
|
95
95
|
"businessId": ["propChanged"],
|
|
@@ -2,30 +2,30 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
4
|
var index_esm = require('./index.esm-BNETBIV_.js');
|
|
5
|
-
var businessIdentitySchema = require('./business-identity-schema-
|
|
5
|
+
var businessIdentitySchema = require('./business-identity-schema-DuOIMFjG.js');
|
|
6
6
|
require('./config-state-C1YMiFpR.js');
|
|
7
7
|
require('./dinero-BwNN_k7x.js');
|
|
8
8
|
var Plaid = require('./Plaid-BcOAKDaU.js');
|
|
9
9
|
require('./Pagination-Dediz133.js');
|
|
10
10
|
var Business = require('./Business-CNaz-VLa.js');
|
|
11
|
-
var Analytics = require('./Analytics-
|
|
11
|
+
var Analytics = require('./Analytics-jQsZxClw.js');
|
|
12
12
|
var button = require('./button-CR9Rl1-o.js');
|
|
13
13
|
var styledHost = require('./styled-host-CW1WUnUq.js');
|
|
14
14
|
var header1 = require('./header-1-CsBQoo1f.js');
|
|
15
15
|
require('./event-types-YOY5TKUN.js');
|
|
16
|
-
var
|
|
16
|
+
var detectDuplicateVersion = require('./detect-duplicate-version-D8ZajVUT.js');
|
|
17
17
|
var skeleton = require('./skeleton-DvRCiQlA.js');
|
|
18
18
|
var eventTypes = require('./event-types-DNOUef41.js');
|
|
19
19
|
var paymentProvisioningActions = require('./payment-provisioning-actions-SVp7B8pR.js');
|
|
20
|
-
var business_service = require('./business.service-
|
|
20
|
+
var business_service = require('./business.service-Ca-olopC.js');
|
|
21
21
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
22
|
-
require('./schema-validations-
|
|
23
|
-
require('./country-config-
|
|
22
|
+
require('./schema-validations-BDFa_oIq.js');
|
|
23
|
+
require('./country-config-CFC3KuVD.js');
|
|
24
24
|
require('./business-form-options-BHBs_yiK.js');
|
|
25
25
|
require('./index-DDrfAj-j.js');
|
|
26
26
|
require('./utils-DB4XHlAU.js');
|
|
27
|
-
require('./package-
|
|
28
|
-
require('./Api-
|
|
27
|
+
require('./package-B414Jbra.js');
|
|
28
|
+
require('./Api-DqXlEWR1.js');
|
|
29
29
|
require('./parts-BXshb_S-.js');
|
|
30
30
|
require('./utils-BScgWJC5.js');
|
|
31
31
|
|
|
@@ -81,7 +81,7 @@ const JustifiBusinessForm = class {
|
|
|
81
81
|
};
|
|
82
82
|
}
|
|
83
83
|
componentWillLoad() {
|
|
84
|
-
|
|
84
|
+
detectDuplicateVersion.detectDuplicateVersion();
|
|
85
85
|
this.analytics = new Analytics.JustifiAnalytics(this);
|
|
86
86
|
this.formController = new index_esm.FormController(businessFormSchema);
|
|
87
87
|
this.initializeApi();
|
|
@@ -17,7 +17,7 @@ const JustifiCardBillingFormSimple = class {
|
|
|
17
17
|
return (_b = (_a = this.cardBillingFormSimpleRef) === null || _a === void 0 ? void 0 : _a.validate()) !== null && _b !== void 0 ? _b : { isValid: false, errors: {} };
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
20
|
+
return (index.h(styledHost.StyledHost, { key: 'f8cdac6b006bbaf15d7e6b92db8f781afa40899f' }, index.h("card-billing-form-simple", { key: 'b0973b5459109da5eac937fd0aefbff1c924924c', legend: this.legend, ref: (el) => (this.cardBillingFormSimpleRef = el) })));
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
|
-
var Analytics = require('./Analytics-
|
|
5
|
-
var
|
|
4
|
+
var Analytics = require('./Analytics-jQsZxClw.js');
|
|
5
|
+
var detectDuplicateVersion = require('./detect-duplicate-version-D8ZajVUT.js');
|
|
6
6
|
var configState = require('./config-state-C1YMiFpR.js');
|
|
7
7
|
var styledHost = require('./styled-host-CW1WUnUq.js');
|
|
8
8
|
require('./event-types-YOY5TKUN.js');
|
|
9
|
-
require('./
|
|
10
|
-
require('./
|
|
9
|
+
var checkout_store = require('./checkout.store-B5lTwvUV.js');
|
|
10
|
+
require('./package-B414Jbra.js');
|
|
11
|
+
require('./Api-DqXlEWR1.js');
|
|
11
12
|
require('./utils-DB4XHlAU.js');
|
|
12
13
|
require('./dinero-BwNN_k7x.js');
|
|
13
14
|
require('./Plaid-BcOAKDaU.js');
|
|
14
15
|
require('./Pagination-Dediz133.js');
|
|
15
16
|
require('./Business-CNaz-VLa.js');
|
|
16
17
|
require('./index-DDrfAj-j.js');
|
|
18
|
+
require('./index-DDa1jd08.js');
|
|
17
19
|
|
|
18
20
|
const JustifiCardForm = class {
|
|
19
21
|
constructor(hostRef) {
|
|
@@ -21,7 +23,7 @@ const JustifiCardForm = class {
|
|
|
21
23
|
}
|
|
22
24
|
async componentWillLoad() {
|
|
23
25
|
await configState.waitForConfig();
|
|
24
|
-
|
|
26
|
+
detectDuplicateVersion.detectDuplicateVersion();
|
|
25
27
|
this.analytics = new Analytics.JustifiAnalytics(this);
|
|
26
28
|
}
|
|
27
29
|
disconnectedCallback() {
|
|
@@ -35,7 +37,8 @@ const JustifiCardForm = class {
|
|
|
35
37
|
return this.cardFormElement.tokenize({ clientId, paymentMethodMetadata, account });
|
|
36
38
|
}
|
|
37
39
|
render() {
|
|
38
|
-
|
|
40
|
+
var _a;
|
|
41
|
+
return (index.h(styledHost.StyledHost, { key: '49cf4f202b0f327bd8ca4b4b3c892ae6df4a81f6' }, index.h("card-form", { key: '480abf1238ed4b5bb1edd5362a432639fc9a7fb9', ref: (el) => (this.cardFormElement = el), maskCardNumber: (_a = this.maskCardNumber) !== null && _a !== void 0 ? _a : checkout_store.checkoutStore.maskCardNumber })));
|
|
39
42
|
}
|
|
40
43
|
};
|
|
41
44
|
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
4
|
var _commonjsHelpers = require('./_commonjsHelpers-BJu3ubxk.js');
|
|
5
5
|
var Plaid = require('./Plaid-BcOAKDaU.js');
|
|
6
|
-
var Analytics = require('./Analytics-
|
|
7
|
-
var
|
|
6
|
+
var Analytics = require('./Analytics-jQsZxClw.js');
|
|
7
|
+
var detectDuplicateVersion = require('./detect-duplicate-version-D8ZajVUT.js');
|
|
8
8
|
require('./utils-DB4XHlAU.js');
|
|
9
9
|
require('./dinero-BwNN_k7x.js');
|
|
10
|
-
require('./package-
|
|
11
|
-
require('./Api-
|
|
10
|
+
require('./package-B414Jbra.js');
|
|
11
|
+
require('./Api-DqXlEWR1.js');
|
|
12
12
|
require('./config-state-C1YMiFpR.js');
|
|
13
13
|
require('./index-DDrfAj-j.js');
|
|
14
14
|
require('./Pagination-Dediz133.js');
|
|
@@ -3092,7 +3092,7 @@ const JustifiCheckoutQrCode = class {
|
|
|
3092
3092
|
this.size = 256;
|
|
3093
3093
|
}
|
|
3094
3094
|
componentWillLoad() {
|
|
3095
|
-
|
|
3095
|
+
detectDuplicateVersion.detectDuplicateVersion();
|
|
3096
3096
|
this.analytics = new Analytics.JustifiAnalytics(this);
|
|
3097
3097
|
}
|
|
3098
3098
|
componentDidLoad() {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
|
-
var Analytics = require('./Analytics-
|
|
5
|
-
var
|
|
6
|
-
var checkout_store = require('./checkout.store-
|
|
4
|
+
var Analytics = require('./Analytics-jQsZxClw.js');
|
|
5
|
+
var detectDuplicateVersion = require('./detect-duplicate-version-D8ZajVUT.js');
|
|
6
|
+
var checkout_store = require('./checkout.store-B5lTwvUV.js');
|
|
7
7
|
var parts = require('./parts-BXshb_S-.js');
|
|
8
8
|
var styledHost = require('./styled-host-CW1WUnUq.js');
|
|
9
9
|
require('./event-types-YOY5TKUN.js');
|
|
10
10
|
var index$1 = require('./index-DDa1jd08.js');
|
|
11
|
-
require('./package-
|
|
12
|
-
require('./Api-
|
|
11
|
+
require('./package-B414Jbra.js');
|
|
12
|
+
require('./Api-DqXlEWR1.js');
|
|
13
13
|
require('./config-state-C1YMiFpR.js');
|
|
14
14
|
require('./index-DDrfAj-j.js');
|
|
15
15
|
require('./utils-DB4XHlAU.js');
|
|
@@ -33,6 +33,8 @@ const JustifiCheckout = class {
|
|
|
33
33
|
this.disablePaymentMethodGroup = false;
|
|
34
34
|
this.hideBankAccountBillingForm = false;
|
|
35
35
|
this.hideCardBillingForm = false;
|
|
36
|
+
/** Renders a "Confirm Account Number" field in the bank account form. */
|
|
37
|
+
this.showAccountNumberConfirmation = false;
|
|
36
38
|
}
|
|
37
39
|
propChanged() {
|
|
38
40
|
this.updateStore();
|
|
@@ -43,7 +45,7 @@ const JustifiCheckout = class {
|
|
|
43
45
|
}
|
|
44
46
|
}
|
|
45
47
|
componentWillLoad() {
|
|
46
|
-
|
|
48
|
+
detectDuplicateVersion.detectDuplicateVersion();
|
|
47
49
|
this.analytics = new Analytics.JustifiAnalytics(this);
|
|
48
50
|
}
|
|
49
51
|
disconnectedCallback() {
|
|
@@ -83,9 +85,9 @@ const JustifiCheckout = class {
|
|
|
83
85
|
}
|
|
84
86
|
render() {
|
|
85
87
|
var _a, _b;
|
|
86
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
88
|
+
return (index.h(styledHost.StyledHost, { key: '17fb502cfbf3a09b1bd59ded0cf5900cb8f9d441' }, index.h("justifi-modular-checkout", { key: '726bfa331037983083c4246caaabf080e6d318a1', ref: (el) => {
|
|
87
89
|
this.modularCheckoutRef = el;
|
|
88
|
-
}, authToken: this.authToken, checkoutId: this.checkoutId, preCompleteHook: this.preCompleteHook }, index.h("div", { key: '
|
|
90
|
+
}, authToken: this.authToken, checkoutId: this.checkoutId, preCompleteHook: this.preCompleteHook }, index.h("div", { key: '791fcaec6a9dcae8b7388bdcd51d84acce4338d2', class: "row gy-3 jfi-checkout-core" }, index.h("div", { key: '558b4603f48e7e60b51cfe01072c072020be3711', class: "col-12", part: parts.checkoutSummary }, index.h("justifi-header", { key: '560f2b20143721b0de9e43369aa7b1c80cdf462e', text: "Summary", level: "h2", class: "fs-5 fw-bold pb-3" }), index.h("section", { key: '6c32d796b8f9f5b3124454ffab7649decf40bf0a' }, index.h("justifi-checkout-summary", { key: 'ff259c5635a56d75f54489986533ff4bbc44f9e1' }))), index.h("div", { key: '8541d52ae153d6b10952f8b5f92fa23241989cba', class: "col-12 mt-4" }, index.h("slot", { key: '71d802a975a1c3cdd2fc5f4e2e97079533885d1e', name: "insurance" })), index.h("div", { key: 'bdc8639a188f5b141ed59df898731e3872d994a8', class: "col-12 mt-4" }, index.h("justifi-header", { key: '79f2374e4538c1478f0de462739d46c3d24dfc7f', text: "Payment", level: "h2", class: "fs-5 fw-bold pb-3" }), this.showPaymentTypeHeader && (index.h("justifi-header", { key: '2220521026073d7bb93b26abaf2c2b91dd5d0be6', text: "Select payment type", level: "h3", class: "fs-6 fw-bold lh-lg" })), index.h("div", { key: '4e809c7ba032149e32c97ce262254307ccd5e372', class: "d-flex flex-column" }, index.h("section", { key: '2b25ebfb62a2e0293728987e4c362e799197f301' }, index.h("div", { key: '1094a63702a042682b5de049968687db34d56340' }, this.availablePaymentMethods.includes(index$1.PAYMENT_METHODS.APPLE_PAY) && (index.h("div", { key: 'ac2b2083a082000f605a623a2b4e937dc67f773b', class: "mb-3" }, index.h("justifi-apple-pay", { key: 'e8d6dfcf70c3e645a6b8beefa107a904738c8013' }))), this.availablePaymentMethods.includes(index$1.PAYMENT_METHODS.GOOGLE_PAY) && (index.h("div", { key: 'e7551b4165ccacbab1f305e2ff2e592ec6cb13c7', class: "mb-3" }, index.h("justifi-google-pay", Object.assign({ key: '3905dd687cafbfd59a496492bddaea368584e7fa', ref: (el) => (this.googlePayRef = el) }, (this.googlePayEnv != null ? { environment: this.googlePayEnv } : {}))))), this.availablePaymentMethods.includes(index$1.PAYMENT_METHODS.PAYPAL) && (index.h("div", { key: 'f11d39c2c4b7120b3b0fd8427bfc0c033115c28f', class: "mb-3" }, index.h("justifi-paypal", { key: '3560bd46b2b4b2957936b8cfe67e70c2cc4d1798' }))), index.h("justifi-saved-payment-methods", { key: '83298cc717152c8917b63c71c763812f8646f73e' }), this.availablePaymentMethods.includes(index$1.PAYMENT_METHODS.SEZZLE) && !this.disableBnpl && (index.h("justifi-radio-list-item", { key: 'b5c94c614920fd238dd490f1aa957bc9dbe7ce3f', name: "paymentMethodType", value: index$1.PAYMENT_METHODS.SEZZLE, checked: ((_a = checkout_store.checkoutStore === null || checkout_store.checkoutStore === void 0 ? void 0 : checkout_store.checkoutStore.selectedPaymentMethod) === null || _a === void 0 ? void 0 : _a.type) === index$1.PAYMENT_METHODS.SEZZLE, label: index.h("justifi-sezzle-payment-method", { ref: (el) => (this.sezzlePaymentMethodRef = el) }), "onRadio-click": () => { var _a; (_a = this.sezzlePaymentMethodRef) === null || _a === void 0 ? void 0 : _a.handleSelectionClick(); } })), this.availablePaymentMethods.includes(index$1.PAYMENT_METHODS.PLAID) && (index.h("justifi-radio-list-item", { key: '53ce4f366dd81745c88987a5f88502c1d7cdc530', name: "paymentMethodType", value: index$1.PAYMENT_METHODS.PLAID, checked: ((_b = checkout_store.checkoutStore === null || checkout_store.checkoutStore === void 0 ? void 0 : checkout_store.checkoutStore.selectedPaymentMethod) === null || _b === void 0 ? void 0 : _b.type) === index$1.PAYMENT_METHODS.PLAID, label: index.h("justifi-plaid-payment-method", { ref: (el) => (this.plaidPaymentMethodRef = el) }), "onRadio-click": () => { var _a; (_a = this.plaidPaymentMethodRef) === null || _a === void 0 ? void 0 : _a.handleSelectionClick(); } })), index.h("justifi-tokenize-payment-method", { key: '051f49f4c0ac5a2c27fab834658f5d0f51f51889', ref: (el) => (this.tokenizePaymentMethodRef = el), authToken: this.authToken, accountId: checkout_store.checkoutStore.accountId, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, hideSubmitButton: true, paymentMethodGroupId: checkout_store.checkoutStore.paymentMethodGroupId, showAccountNumberConfirmation: this.showAccountNumberConfirmation }))))), index.h("div", { key: '9d0653c43d59b2c671e4fb07dac828f822f4e8bd', class: "mt-4" }, index.h("justifi-button", { key: 'b4dcb91c821577fa98f0f2129eff849e70e541c7', text: "Pay", type: "submit", variant: "primary", clickHandler: (e) => this.submit(e), disabled: checkout_store.checkoutStore.isSubmitting || checkout_store.checkoutStore.isWalletProcessing, isLoading: checkout_store.checkoutStore.isSubmitting || checkout_store.checkoutStore.isWalletProcessing, customStyle: { width: '100%', textAlign: "center" } }))))));
|
|
89
91
|
}
|
|
90
92
|
static get watchers() { return {
|
|
91
93
|
"authToken": ["propChanged"],
|
|
@@ -64,8 +64,8 @@ const JustifiCheckoutsListFilters = class {
|
|
|
64
64
|
}
|
|
65
65
|
render() {
|
|
66
66
|
const filterMenuParams = Object.assign({}, checkoutsListParamsState.filterParams);
|
|
67
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
68
|
-
utils.convertToLocal(checkoutsListParamsState.filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: parts.filterParam })), index.h("div", { key: '
|
|
67
|
+
return (index.h(styledHost.StyledHost, { key: 'a84f587608b49683633b26d23e548b576c5daba3' }, index.h("table-filters-menu", { key: 'd7a43576bb803d706755ce9deafda5f8732540c1', params: filterMenuParams, clearParams: checkoutsListParamsState.clearParams, part: parts.filterMenu }, index.h("div", { key: '6ce5861f974a8d2c7bc5bcb03b7b0df60e10d780', class: "grid-cols-2 gap-3 p-1" }, index.h("div", { key: '492714a0263fb27222e17794a640e3855c9ba6e1', class: "p-2" }, index.h("form-control-text", { key: '357b10f4f290c9500fb5fe24e4bc97ea80511e2c', name: "checkout_id", label: "Checkout ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.checkoutId || checkoutsListParamsState.filterParams.checkout_id, disabled: !!this.checkoutId, part: parts.filterParam })), index.h("div", { key: 'cc8535898de01f417080c984ed53f1582848fd74', class: "p-2" }, index.h("form-control-text", { key: '37aa831598c6496af4fd358f94c54a118f309d82', name: "successful_payment_id", label: "Successful Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.successfulPaymentId || checkoutsListParamsState.filterParams.successful_payment_id, disabled: !!this.successfulPaymentId, part: parts.filterParam })), index.h("div", { key: '751c3f3b60b0140b9eb954de3a0e94f5feb6075f', class: "p-2" }, index.h("form-control-select", { key: 'afa69abd4be56a27d0cafce1508a7edeb119d7b0', name: "status", label: "Status", options: this.checkoutStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.checkoutStatus || checkoutsListParamsState.filterParams.status || '', disabled: !!this.checkoutStatus, part: parts.filterParam })), index.h("div", { key: '86c4e7121a67e4ef1bb96fcb6ccbe9a900378556', class: "p-2" }, index.h("form-control-select", { key: 'eaa9e1b1214fb3955de0f0421760da4bf1a773a2', name: "payment_mode", label: "Payment Mode", options: this.checkoutPaymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentMode || checkoutsListParamsState.filterParams.payment_mode || '', disabled: !!this.paymentMode, part: parts.filterParam })), index.h("div", { key: '8f28caa07d711135223507f1864343531d451a15', class: "p-2" }, index.h("form-control-date", { key: '038141b8b8fc669cca8c849d23cba1a7e2f1d5aa', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: utils.convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
|
|
68
|
+
utils.convertToLocal(checkoutsListParamsState.filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: parts.filterParam })), index.h("div", { key: 'ddb442863d596de25c392d14b8fb364db3afdaec', class: "p-2" }, index.h("form-control-date", { key: 'cee1d9337dd5f6f9c258892f89573a2b07c2180c', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: utils.convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
|
|
69
69
|
utils.convertToLocal(checkoutsListParamsState.filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: parts.filterParam }))))));
|
|
70
70
|
}
|
|
71
71
|
};
|
|
@@ -7,10 +7,10 @@ var Plaid = require('./Plaid-BcOAKDaU.js');
|
|
|
7
7
|
var Pagination = require('./Pagination-Dediz133.js');
|
|
8
8
|
require('./Business-CNaz-VLa.js');
|
|
9
9
|
var utils = require('./utils-BScgWJC5.js');
|
|
10
|
-
var
|
|
11
|
-
var Analytics = require('./Analytics-
|
|
12
|
-
var checkout_service = require('./checkout.service-
|
|
13
|
-
var getSubaccounts = require('./get-subaccounts-
|
|
10
|
+
var detectDuplicateVersion = require('./detect-duplicate-version-D8ZajVUT.js');
|
|
11
|
+
var Analytics = require('./Analytics-jQsZxClw.js');
|
|
12
|
+
var checkout_service = require('./checkout.service-DBHPH2ji.js');
|
|
13
|
+
var getSubaccounts = require('./get-subaccounts-D11aTYj1.js');
|
|
14
14
|
var styledHost = require('./styled-host-CW1WUnUq.js');
|
|
15
15
|
var table = require('./table-DjbNv28p.js');
|
|
16
16
|
var eventTypes = require('./event-types-YOY5TKUN.js');
|
|
@@ -19,8 +19,8 @@ var badge = require('./badge-GBNtUypt.js');
|
|
|
19
19
|
var parts = require('./parts-BXshb_S-.js');
|
|
20
20
|
var checkoutsListParamsState = require('./checkouts-list-params-state-DDpRrUTY.js');
|
|
21
21
|
require('./index-DDrfAj-j.js');
|
|
22
|
-
require('./package-
|
|
23
|
-
require('./Api-
|
|
22
|
+
require('./package-B414Jbra.js');
|
|
23
|
+
require('./Api-DqXlEWR1.js');
|
|
24
24
|
require('./spinner-C6ZGOB2P.js');
|
|
25
25
|
|
|
26
26
|
const makeGetCheckouts = ({ accountId, authToken, service }) => async ({ params, onSuccess, onError }) => {
|
|
@@ -125,7 +125,7 @@ const JustifiCheckoutsList = class {
|
|
|
125
125
|
};
|
|
126
126
|
}
|
|
127
127
|
componentWillLoad() {
|
|
128
|
-
|
|
128
|
+
detectDuplicateVersion.detectDuplicateVersion();
|
|
129
129
|
this.analytics = new Analytics.JustifiAnalytics(this);
|
|
130
130
|
this.checkoutsTable = new table.Table(this.checkouts, this.columns, checkoutTableColumns, checkoutTableCells);
|
|
131
131
|
this.initializeGetData();
|
|
@@ -267,8 +267,8 @@ const JustifiCheckoutsList = class {
|
|
|
267
267
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
268
268
|
}
|
|
269
269
|
render() {
|
|
270
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
271
|
-
this.checkoutsTable.rowData.map((data, index$1) => (index.h(table.TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index$1], onClick: this.rowClickHandler }, data)))), this.paging && (index.h(table.TableFoot, { key: '
|
|
270
|
+
return (index.h(styledHost.StyledHost, { key: '5c72630838781f32e31d44510c9793ef71d863cd' }, index.h(table.TableWrapper, { key: '01c4456bfc252a55de1351bd54500ab6f9d22d2e' }, index.h(table.TableComponent, { key: '2a69c5b2d27caf1a648efed450e8eadf583e3858' }, index.h(table.TableHead, { key: 'f524af14960a68a035eb75cfa7d2c6255d0e0de3' }, index.h(table.TableHeadRow, { key: '2cbf9ac9228aa770da72e9d3d618e61094bb65b6' }, this.checkoutsTable.columnData.map((column) => column))), index.h(table.TableBody, { key: '2c246fa63dd49ff4bf4a29a25717d4191a904443' }, index.h(table.TableLoadingState, { key: '83fcebd9b8775ec50b614925ad2c153d6ac1888a', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), index.h(table.TableEmptyState, { key: 'a37d1f0001e1c5f793eda759f82e58e42be49321', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), index.h(table.TableErrorState, { key: '57cb26d7929f007ae9e14faf63b29b06b3097828', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData &&
|
|
271
|
+
this.checkoutsTable.rowData.map((data, index$1) => (index.h(table.TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index$1], onClick: this.rowClickHandler }, data)))), this.paging && (index.h(table.TableFoot, { key: 'edd82eb558b69329970c93f207f840cca8de2884' }, index.h(table.TableFootRow, { key: 'deed2dee3d311b76888003cbeffd00c5397cc6c8' }, index.h(table.TableFootCell, { key: 'b9845ccc21e916ccef0c3f3dba37e1187c80769d', colSpan: this.checkoutsTable.columnData.length }, index.h("pagination-menu", { key: '7af1644ff5e5cb8a2ca68705f481f5991c7a09b2', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
272
272
|
}
|
|
273
273
|
static get watchers() { return {
|
|
274
274
|
"accountId": ["authPropChanged"],
|