@justifi/webcomponents 6.15.0 → 6.16.0-rc.2
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-CDE3KpL6.js} +2 -2
- package/dist/cjs/{Api-us3AxMRC.js → Api-CaEn8pKs.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 +64 -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-DIspRonp.js} +1 -1
- package/dist/cjs/card-form.cjs.entry.js +12 -10
- package/dist/cjs/{checkout.service-B_qymeqJ.js → checkout.service-CM1Duar4.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-DyHHkx4J.js +29 -0
- package/dist/cjs/dispute-notification_2.cjs.entry.js +9 -9
- package/dist/cjs/{event-types-DmY59QXs.js → event-types-DNCxVTir.js} +1 -1
- package/dist/cjs/form-address-fields_3.cjs.entry.js +5 -5
- package/dist/cjs/form-alert_3.cjs.entry.js +122 -16
- 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-8LeFCTm6.js} +1 -1
- package/dist/cjs/internal-button.cjs.entry.js +1 -1
- package/dist/cjs/justifi-apple-pay_12.cjs.entry.js +54 -32
- 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 +17 -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-DGrVUpde.js} +1 -3
- package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
- package/dist/cjs/{payment.service-DRXVT-uB.js → payment.service-By7aeVkC.js} +1 -1
- package/dist/cjs/{payout.service-CuQ-mXKB.js → payout.service-Dn0rXkmg.js} +1 -1
- package/dist/cjs/{plaid.service-B58nzlUE.js → plaid.service-CjaugrzX.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-C0_r_A60.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 +88 -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 +37 -11
- package/dist/collection/components/checkout/justifi-checkout.js +53 -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 +63 -19
- 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/frame-comunication-service.js +6 -1
- package/dist/collection/utils/postal-code.js +19 -0
- package/dist/docs.json +315 -17
- package/dist/esm/{Analytics-BtMYbHD0.js → Analytics-tBzmPsnT.js} +2 -2
- package/dist/esm/{Api-nVK-rgbk.js → Api-BH6Wa9CT.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 +64 -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-XOnczlAa.js} +1 -1
- package/dist/esm/card-form.entry.js +12 -10
- package/dist/esm/{checkout.service-JA7oTq5d.js → checkout.service-DvSxk9EZ.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-BD3-8NL2.js +27 -0
- package/dist/esm/dispute-notification_2.entry.js +9 -9
- package/dist/esm/{event-types-Dsf8IwD6.js → event-types-CM5AGGBD.js} +1 -1
- package/dist/esm/form-address-fields_3.entry.js +5 -5
- package/dist/esm/form-alert_3.entry.js +122 -16
- 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-P-x_RqL5.js} +1 -1
- package/dist/esm/internal-button.entry.js +1 -1
- package/dist/esm/justifi-apple-pay_12.entry.js +54 -32
- 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 +17 -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-DhrQechy.js +5 -0
- package/dist/esm/payment-method-option.entry.js +1 -1
- package/dist/esm/{payment.service-B42sKlQE.js → payment.service-CBUnE4bP.js} +1 -1
- package/dist/esm/{payout.service-BIoAgNJJ.js → payout.service-DUYaYbeJ.js} +1 -1
- package/dist/esm/{plaid.service-C6Ltk2ef.js → plaid.service-Umm80G4q.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-DeunLqmo.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 +63 -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 +12 -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 +125 -16
- 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 +15 -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 +43 -19
- 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 +9 -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 +95 -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-de047614.entry.js → p-06ed3518.entry.js} +1 -1
- package/dist/webcomponents/p-12f5fdc0.entry.js +1 -0
- package/dist/webcomponents/p-1ceb65cc.entry.js +1 -0
- 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-357d14ee.entry.js +1 -0
- package/dist/webcomponents/{p-a10beb26.entry.js → p-3d02cb78.entry.js} +1 -1
- package/dist/webcomponents/{p-ead48010.entry.js → p-4450dbe9.entry.js} +1 -1
- package/dist/webcomponents/p-4dabcfd6.entry.js +1 -0
- package/dist/webcomponents/p-511bc0b2.entry.js +1 -0
- package/dist/webcomponents/p-51238f79.entry.js +1 -0
- package/dist/webcomponents/p-521c534c.entry.js +1 -0
- package/dist/webcomponents/{p-0e9351c4.entry.js → p-5331e011.entry.js} +1 -1
- package/dist/webcomponents/p-5be775e8.entry.js +1 -0
- package/dist/webcomponents/{p-cec7164e.entry.js → p-5e196140.entry.js} +1 -1
- package/dist/webcomponents/{p-f40fa614.entry.js → p-5f20b0da.entry.js} +1 -1
- package/dist/webcomponents/p-63e02d42.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-6f7756b7.entry.js +1 -0
- package/dist/webcomponents/p-80177bcb.entry.js +1 -0
- package/dist/webcomponents/p-8758aec4.entry.js +1 -0
- package/dist/webcomponents/p-87f8d4e7.entry.js +1 -0
- package/dist/webcomponents/{p-88a44a02.entry.js → p-89ed2d99.entry.js} +1 -1
- package/dist/webcomponents/p-91358854.entry.js +1 -0
- package/dist/webcomponents/p-9b930446.entry.js +1 -0
- package/dist/webcomponents/p-9c4ac3c5.entry.js +1 -0
- package/dist/webcomponents/{p-B_2zgnvM.js → p-B6kC9tX2.js} +1 -1
- package/dist/webcomponents/{p-D7fNBSlC.js → p-BKrZL95i.js} +1 -1
- package/dist/webcomponents/{p-rFpPIJgu.js → p-Bo7ndXwR.js} +1 -1
- package/dist/webcomponents/{p-iA-Amt2z.js → p-C8J9uVEs.js} +1 -1
- package/dist/webcomponents/{p-DC2djVls.js → p-CEGSQXGU.js} +1 -1
- package/dist/webcomponents/{p-BjjKkMO1.js → p-CEHwp4sh.js} +1 -1
- package/dist/webcomponents/{p-C60AkJ6a.js → p-CKL24GQA.js} +1 -1
- package/dist/webcomponents/{p-BmaQUnqv.js → p-CRaiEpKf.js} +1 -1
- 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-C6Jq8YDT.js → p-DCpGH4xL.js} +1 -1
- package/dist/webcomponents/{p-pueOrhXO.js → p-DEfLsy2W.js} +1 -1
- package/dist/webcomponents/p-DF7oFWnO.js +1 -0
- package/dist/webcomponents/p-DMzYgqml.js +1 -0
- package/dist/webcomponents/p-DhrQechy.js +1 -0
- package/dist/webcomponents/p-FsWkrvEF.js +1 -0
- package/dist/webcomponents/p-a1e1afa4.entry.js +1 -0
- package/dist/webcomponents/{p-13814028.entry.js → p-a1ef7674.entry.js} +1 -1
- package/dist/webcomponents/p-a2c4e99f.entry.js +1 -0
- package/dist/webcomponents/p-a8f1c9b3.entry.js +1 -0
- package/dist/webcomponents/p-aba3b0dc.entry.js +1 -0
- package/dist/webcomponents/{p-065b854f.entry.js → p-abebb03c.entry.js} +1 -1
- package/dist/webcomponents/{p-1cfa634a.entry.js → p-adaa1c98.entry.js} +1 -1
- package/dist/webcomponents/{p-f2b3c7d5.entry.js → p-b2b0303d.entry.js} +1 -1
- package/dist/webcomponents/{p-59b95eae.entry.js → p-b39c7414.entry.js} +1 -1
- package/dist/webcomponents/p-b925d666.entry.js +1 -0
- package/dist/webcomponents/p-bd4d2924.entry.js +1 -0
- package/dist/webcomponents/p-c172decb.entry.js +1 -0
- package/dist/webcomponents/p-d19d7d41.entry.js +1 -0
- package/dist/webcomponents/p-d59d6c23.entry.js +1 -0
- package/dist/webcomponents/p-deff4422.entry.js +1 -0
- package/dist/webcomponents/p-e1fbadea.entry.js +1 -0
- package/dist/webcomponents/{p-1365a46b.entry.js → p-e3c7b4e5.entry.js} +1 -1
- package/dist/webcomponents/{p-a7c594d1.entry.js → p-e5feca94.entry.js} +1 -1
- package/dist/webcomponents/p-e75d1756.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-f2c99647.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-fcc5af24.entry.js +1 -0
- package/dist/webcomponents/{p-0f7e3515.entry.js → p-fd1718e0.entry.js} +4 -4
- package/dist/webcomponents/p-ff67c8f7.entry.js +1 -0
- 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-6c7fca1a.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-9b43b90d.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-a71cc8e2.entry.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-f0434a13.entry.js +0 -1
- package/dist/webcomponents/p-f5cb6a26.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
|
@@ -4,7 +4,7 @@ import './justifi-details2.js';
|
|
|
4
4
|
import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table.js';
|
|
5
5
|
import { T as TableClickActions } from './event-types.js';
|
|
6
6
|
import './justifi-radio-list-item2.js';
|
|
7
|
-
import {
|
|
7
|
+
import { d as detectDuplicateVersion } from './detect-duplicate-version.js';
|
|
8
8
|
import { E as tableHeadCell, ah as getAlternateTableCellPart } from './parts.js';
|
|
9
9
|
import { h as convertToLocal } from './utils2.js';
|
|
10
10
|
import './config-state.js';
|
|
@@ -160,7 +160,7 @@ const JustifiTerminalOrdersList$1 = /*@__PURE__*/ proxyCustomElement(class Justi
|
|
|
160
160
|
};
|
|
161
161
|
}
|
|
162
162
|
componentWillLoad() {
|
|
163
|
-
|
|
163
|
+
detectDuplicateVersion();
|
|
164
164
|
this.analytics = new JustifiAnalytics(this);
|
|
165
165
|
this.terminalOrdersTable = new Table(this.terminalOrders, this.columns, terminalOrdersTableColumns, terminalOrdersTableCells);
|
|
166
166
|
this.initializeGetData();
|
|
@@ -250,8 +250,8 @@ const JustifiTerminalOrdersList$1 = /*@__PURE__*/ proxyCustomElement(class Justi
|
|
|
250
250
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
251
251
|
}
|
|
252
252
|
render() {
|
|
253
|
-
return (h(StyledHost, { key: '
|
|
254
|
-
this.terminalOrdersTable.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: '
|
|
253
|
+
return (h(StyledHost, { key: '536aeda1d21130b0289b62a77728e06c4c925b4d' }, h(TableWrapper, { key: '7865e36b01c6c37f45a66465680cf545ebe4529b' }, h(TableComponent, { key: '301d38dab2c6ea3e88c86ff8bc3904fe9dc37100' }, h(TableHead, { key: '0da6586396379ae6bd10dcfecc814533df737a29' }, h(TableHeadRow, { key: '5fd721f7fdffd547d3eda557ec55a1575334c88d' }, this.terminalOrdersTable.columnData.map((column) => column))), h(TableBody, { key: 'e6568d2f0a6cc0e52d729c4e3890c896e4538ee8' }, h(TableLoadingState, { key: '286bfd64db33d107c13961f377055785756fc6ba', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '0aed85e9c5912c327755b71dab28cb8b0c43ba64', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), h(TableErrorState, { key: '718c86be52dd5bdf545ed1976cd51b474072ef41', columnSpan: this.terminalOrdersTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData &&
|
|
254
|
+
this.terminalOrdersTable.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: '783e78b798f8bbf0b03b193c9858e5afd991af68' }, h(TableFootRow, { key: '29057f6fec58617a44c328076e4856bc896eb3c2' }, h(TableFootCell, { key: '20ff58db34905a4d388c2b9425d3abb85099ec7a', colSpan: this.terminalOrdersTable.columnData.length }, h("pagination-menu", { key: 'e466c95839f3aaf33cfa8bc6baa8564a30022059', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
255
255
|
}
|
|
256
256
|
static get watchers() { return {
|
|
257
257
|
"accountId": ["authPropChanged"],
|
|
@@ -64,7 +64,7 @@ const JustifiTerminalsListFilters$1 = /*@__PURE__*/ proxyCustomElement(class Jus
|
|
|
64
64
|
}
|
|
65
65
|
render() {
|
|
66
66
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
67
|
-
return (h(StyledHost, { key: '
|
|
67
|
+
return (h(StyledHost, { key: '26a998794ef5756de257db995ef5b7b1471e50ea' }, h("table-filters-menu", { key: 'c1368bddbe2ac553d92f46d7f2bdfa3fe3c04931', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: 'e9f4523328d3393a75fa4e5a044baab7bf4f6134', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '2589335f3b9908c30d085786c43d5829aaa3b9fe', class: "p-2" }, h("form-control-text", { key: 'f01cdfd58973b4bfe0b4b5aa6df0f63bce57d9d5', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: filterParam })), h("div", { key: '96b1aa8711775775d57fa792fca5e66dd7d50ae9', class: "p-2" }, h("form-control-text", { key: '44794ce04f2cc7d31483bd816996501aea9e3763', name: "terminal_order_id", label: "Terminal Order ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalOrderId || filterParams.terminal_order_id, disabled: !!this.terminalOrderId, part: filterParam })), h("div", { key: 'a4c47ab87e6ee27277fe07d224bf1602f6e5ac73', class: "p-2" }, h("form-control-text", { key: '29b825179907ee1f1a43afe337f852f2accdcafc', name: "provider_id", label: "Device ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.providerId || filterParams.provider_id, disabled: !!this.providerId, part: filterParam })), h("div", { key: '064fe6ec6be35e72ddb23f5140e83d83d37101b1', class: "p-2" }, h("form-control-text", { key: '073783ba7be15000e1511a608be6b05b9fc481fa', name: "serial_number", label: "Serial Number", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.serialNumber || filterParams.serial_number, disabled: !!this.serialNumber, part: filterParam })), h("div", { key: '3d3fdc0fdbec56f9a0130029473874afe97b4fac', class: "p-2" }, h("form-control-select", { key: 'e19f7c1838cb082bd1231e857cbfafe8f68f2f63', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.terminalStatus || filterParams.status || '', disabled: !!this.terminalStatus, part: filterParam })), h("div", { key: 'c0dc5690ea48041fd39b185cf687a92d52f61a0a', class: "p-2" }, h("form-control-date", { key: '78a1b6f1c817a67466384dc5e22d73447153bf28', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter || filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: '5d3e2fd0c1a19c5692240999684efc93aead7c4c', class: "p-2" }, h("form-control-date", { key: '6e47f9c0af83273c6a819cc625e31a9cb60c93e7', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore || filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: filterParam }))))));
|
|
68
68
|
}
|
|
69
69
|
}, [257, "justifi-terminals-list-filters", {
|
|
70
70
|
"terminalId": [1, "terminal-id"],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
|
|
2
2
|
import { r as Terminal, C as ComponentErrorSeverity, c as ComponentErrorCodes } from './Plaid.js';
|
|
3
3
|
import { J as JustifiAnalytics } from './Analytics.js';
|
|
4
|
-
import {
|
|
4
|
+
import { d as detectDuplicateVersion } from './detect-duplicate-version.js';
|
|
5
5
|
import { T as TerminalService } from './terminal.service.js';
|
|
6
6
|
import './config-state.js';
|
|
7
7
|
import './dinero.js';
|
|
@@ -136,7 +136,7 @@ const JustifiTerminalsList$1 = /*@__PURE__*/ proxyCustomElement(class JustifiTer
|
|
|
136
136
|
};
|
|
137
137
|
}
|
|
138
138
|
componentWillLoad() {
|
|
139
|
-
|
|
139
|
+
detectDuplicateVersion();
|
|
140
140
|
this.analytics = new JustifiAnalytics(this);
|
|
141
141
|
this.terminalsTable = new Table(this.terminals, this.columns, terminalTableColumns, terminalTableCells);
|
|
142
142
|
this.initializeGetData();
|
|
@@ -266,7 +266,7 @@ const JustifiTerminalsList$1 = /*@__PURE__*/ proxyCustomElement(class JustifiTer
|
|
|
266
266
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
267
267
|
}
|
|
268
268
|
render() {
|
|
269
|
-
return (h(StyledHost, { key: '
|
|
269
|
+
return (h(StyledHost, { key: '7aff8b07dcd19216c714f2318c1af5dbebc54147' }, h(TableWrapper, { key: '7daec7f4553f687b3ebbeb7d561fbf904049841b' }, h(TableComponent, { key: '2f67e873333800bdd78d8c60f9db218c349097d0' }, h(TableHead, { key: '61499a69253f0add24f5e60c385b14fc3e6ba90f' }, h(TableHeadRow, { key: 'fcd5d3287d6dd3dbf4e20837ca06d9f6dcc74a16' }, this.terminalsTable.columnData.map((column) => column))), h(TableBody, { key: '664b70934aae39f8ccceeaaf012e1933a4c27c95' }, h(TableLoadingState, { key: '3d5e79192be7a6a8e2611d9ac7d551e15a4a4207', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '60d4263bd934af2c6d204a3d2f0aee6639043d80', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: '2d3340153f20d7a057e31f3eb2b570ec1d7c4e9f', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.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: 'b893b1cd12d3c0440b1c5cb015503aa8309a84e1' }, h(TableFootRow, { key: '532462ef72bc8c9fbbf8cae69c1f7ebd60b403b4' }, h(TableFootCell, { key: 'c18d2a8f05cbc17f7dc21a18a814a7eb8c83d6ea', colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: 'fd1aef3373787dfb79f517a69e2d771d61d5dee3', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
270
270
|
}
|
|
271
271
|
static get watchers() { return {
|
|
272
272
|
"accountId": ["propChanged"],
|
|
@@ -3,7 +3,7 @@ import { S as StyledHost } from './styled-host.js';
|
|
|
3
3
|
import './justifi-details2.js';
|
|
4
4
|
import './event-types.js';
|
|
5
5
|
import './justifi-radio-list-item2.js';
|
|
6
|
-
import {
|
|
6
|
+
import { d as detectDuplicateVersion } from './detect-duplicate-version.js';
|
|
7
7
|
import { J as JustifiAnalytics } from './Analytics.js';
|
|
8
8
|
import './config-state.js';
|
|
9
9
|
import './dinero.js';
|
|
@@ -72,7 +72,7 @@ const JustifiTokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class Just
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
componentWillLoad() {
|
|
75
|
-
|
|
75
|
+
detectDuplicateVersion();
|
|
76
76
|
this.analytics = new JustifiAnalytics(this);
|
|
77
77
|
}
|
|
78
78
|
handleRadioClick(event) {
|
|
@@ -127,9 +127,10 @@ const JustifiTokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class Just
|
|
|
127
127
|
this.billingFormRef.validate(),
|
|
128
128
|
this.paymentMethodFormRef.validate(),
|
|
129
129
|
]);
|
|
130
|
+
// Field-level messages stay inside the hosted iframes, so only billing contributes errors.
|
|
130
131
|
const result = {
|
|
131
132
|
isValid: billingValidation.isValid && paymentMethodValidation.isValid,
|
|
132
|
-
errors: Object.assign(
|
|
133
|
+
errors: Object.assign({}, billingValidation.errors),
|
|
133
134
|
};
|
|
134
135
|
return result;
|
|
135
136
|
}
|
|
@@ -291,13 +292,13 @@ const JustifiTokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class Just
|
|
|
291
292
|
return paymentMethodType === PAYMENT_METHODS.NEW_CARD ? (h("card-form", { ref: (el) => {
|
|
292
293
|
if (el)
|
|
293
294
|
this.paymentMethodFormRef = el;
|
|
294
|
-
} })) : (h("bank-account-form", { ref: (el) => {
|
|
295
|
+
}, maskCardNumber: this.maskCardNumber })) : (h("bank-account-form", { ref: (el) => {
|
|
295
296
|
if (el)
|
|
296
297
|
this.paymentMethodFormRef = el;
|
|
297
|
-
} }));
|
|
298
|
+
}, showAccountNumberConfirmation: this.showAccountNumberConfirmation }));
|
|
298
299
|
}
|
|
299
300
|
render() {
|
|
300
|
-
return (h(StyledHost, { key: '
|
|
301
|
+
return (h(StyledHost, { key: 'd065263c69beef410298f14a3c8e595460149267' }, h("form", { key: 'cbf67700b366e26eb9a6aa1fe07afd3f7baf5c52' }, h("fieldset", { key: '3fd1ccefca659985eb2b90c1080c71c0f2ffe99a' }, h("div", { key: '7181cff13f4cc7aa6c00f4023757bac96625e87b', class: "row gy-3" }, h("div", { key: 'c04c382e858eab02206902d23e3921d15d2bfebc', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), h("div", { key: '9faa4417ba3e5dba526103f8d92fd5a88ce2df7d', class: "col-12" }, 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 })))))));
|
|
301
302
|
}
|
|
302
303
|
get host() { return this; }
|
|
303
304
|
static get watchers() { return {
|
|
@@ -313,8 +314,10 @@ const JustifiTokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class Just
|
|
|
313
314
|
"hideCardBillingForm": [4, "hide-card-billing-form"],
|
|
314
315
|
"hideSubmitButton": [4, "hide-submit-button"],
|
|
315
316
|
"paymentMethodGroupId": [1, "payment-method-group-id"],
|
|
317
|
+
"showAccountNumberConfirmation": [4, "show-account-number-confirmation"],
|
|
316
318
|
"submitButtonText": [1, "submit-button-text"],
|
|
317
319
|
"savePaymentMethodLabel": [1, "save-payment-method-label"],
|
|
320
|
+
"maskCardNumber": [4, "mask-card-number"],
|
|
318
321
|
"computedHideSubmitButton": [32],
|
|
319
322
|
"isLoading": [32],
|
|
320
323
|
"selectedPaymentMethod": [32],
|
package/dist/module/package.js
CHANGED
|
@@ -16,7 +16,7 @@ const PaymentMethodOption$1 = /*@__PURE__*/ proxyCustomElement(class PaymentMeth
|
|
|
16
16
|
this.__attachShadow();
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h(StyledHost, { key: '
|
|
19
|
+
return (h(StyledHost, { key: '45a24177da27e09c500054f09e8d5a432fc790d6', class: "payment-method" }, h("div", { key: '2d5cdef6c196b9be0c09ed109f20b44cd94eac8c', class: "radio-list-item p-3", part: radioListItem, onClick: this.clickHandler, hidden: this.radioButtonHidden }, h("form-control-radio", { key: '4cc39aae8c3a1ad7dadd385e99ff854643172b38', name: "paymentMethodType", value: this.paymentMethodOptionId, checked: this.isSelected, label: this.label }))));
|
|
20
20
|
}
|
|
21
21
|
}, [257, "payment-method-option", {
|
|
22
22
|
"paymentMethodOptionId": [1, "payment-method-option-id"],
|
|
@@ -41,7 +41,7 @@ const ProductOrService = /*@__PURE__*/ proxyCustomElement(class ProductOrService
|
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
43
|
var _a, _b, _c;
|
|
44
|
-
return (h("div", { key: '
|
|
44
|
+
return (h("div", { key: '466646e97a89d70914e592693918d5ea524504a8' }, h("div", { key: '78f02a847c7474733400f2d4e8a6712c9689402e', class: "row gy-3" }, h("div", { key: '0367c4de7453b26becfc2edfe7f5899e6b30f554', class: "col-12" }, h("h2", { key: '10490c7e30a1ec7c23cd47f80a905e21bb874b38', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: 'a18c64c22a5efe19c5b6603d0497a17a54ac6fa8', class: "col-12" }, h("form-control-text", { key: '7d35738871259b0b0bf83cbb6014062d09299a21', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), h("div", { key: '24a337727ad90599b1368c2c3fff6cea4c40d172', class: "col-12" }, h("form-control-date", { key: '5222da0eed927c2bc61baba87d8c004bfbf674e0', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), h("div", { key: '1f422eea9d59d4d01d333e25e2003ecb3954656d', class: "col-12" }, h("form-control-file-v2", { key: '8df9a14fc7311e1c47ca06c9a3a32ac09a291d4b', label: "Service Documentation", name: "service_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.service_documentation })))));
|
|
45
45
|
}
|
|
46
46
|
}, [256, "product-or-service", {
|
|
47
47
|
"disputeResponse": [8, "dispute-response"],
|
|
@@ -17,7 +17,7 @@ const RadioListItem = /*@__PURE__*/ proxyCustomElement(class RadioListItem exten
|
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: 'dde5efa79bdc1d9a7367474308d1a5955e134c9b' }, h("div", { key: '0da16408e69f19e68d65031ab0579b3d1c972af8', class: `radio-list-item p-3 ${this.class || ''}`, part: radioListItem, onClick: this.handleClick, hidden: this.hidden }, h("form-control-radio", { key: '56ea84930e14226280818def685cfc8148f31c5a', name: this.name, value: this.value, checked: this.checked, label: this.label, inputHandler: () => null }))));
|
|
21
21
|
}
|
|
22
22
|
}, [256, "radio-list-item", {
|
|
23
23
|
"name": [1],
|
|
@@ -41,7 +41,7 @@ const RefundPolicy = /*@__PURE__*/ proxyCustomElement(class RefundPolicy extends
|
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
43
|
var _a, _b, _c, _d;
|
|
44
|
-
return (h("div", { key: '
|
|
44
|
+
return (h("div", { key: 'ec311e40104fb629ea148d4bd4e3b75b7384c271' }, h("div", { key: 'b520aca75b00bf6f698c551cd51efcd8ae8cddca', class: "row gy-3" }, h("div", { key: '98c7a3ae28e9b9d8de6e9f860b26224ff83e5752', class: "col-12" }, h("h2", { key: '334c7e259e7e8ba1202252e6135e1ff960ea34d4', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: 'bb6783c720ca99ae968580610a3af79a86bf6dc3', class: "col-12" }, h("form-control-textarea", { key: '63fbdface8c0339b9989ddb2f9f0af427845118c', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), h("div", { key: '0a138ff7a02788003437e0d7f07dbe59e4cb05a7', class: "col-12" }, h("form-control-textarea", { key: '9f2518ad7955096c93c74fd856514b68ef7d192a', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), h("div", { key: '18922e3843fa6b445b3aaa384b341aae5b2b2443', class: "col-12" }, h("form-control-file-v2", { key: '0f34e5dd3901eb74bfd20d93eb9fe6087d808b5c', label: "Upload Refund Policy", name: "refund_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.refund_policy })), h("div", { key: '42a5952ae76b7468bde8d2c3edd8bcb0bfde5cd6', class: "col-12" }, h("form-control-file-v2", { key: 'ad4297e944e1ac01f0f290595d70d12a9a05a93a', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
|
|
45
45
|
}
|
|
46
46
|
}, [256, "refund-policy", {
|
|
47
47
|
"disputeResponse": [8, "dispute-response"],
|
|
@@ -18,7 +18,7 @@ const SaveNewPaymentMethod = /*@__PURE__*/ proxyCustomElement(class SaveNewPayme
|
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h(Host, { key: '
|
|
21
|
+
return (h(Host, { key: 'b3dd9d66db6d192d31ea2eea5d1364957b0d6048', hidden: this.hidden }, h("form-control-checkbox", { key: 'e40dbe64979cae47936ce53841e62aea25774840', label: this.label || 'Save New Payment Method', name: "saveNewPaymentMethod", checked: this.isChecked, inputHandler: this.handleCheckboxChange })));
|
|
22
22
|
}
|
|
23
23
|
}, [256, "save-new-payment-method", {
|
|
24
24
|
"label": [1],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as create$6 } from './form.js';
|
|
2
|
-
import { P as ProvinceOptions, b as countryValidation } from './country-config.js';
|
|
2
|
+
import { P as ProvinceOptions, n as normalizePostalCode, C as CA_OR_US_POSTAL_REGEX, b as countryValidation } from './country-config.js';
|
|
3
3
|
import { S as StateOptions, a as CountryCode } from './Business.js';
|
|
4
4
|
import { b as businessServiceReceivedOptions, a as bankAccountTypeOptions } from './business-form-options.js';
|
|
5
5
|
|
|
@@ -71,6 +71,11 @@ const taxIdValidation = create$6()
|
|
|
71
71
|
.transform(transformEmptyString);
|
|
72
72
|
// Country-aware helpers (backward compatible)
|
|
73
73
|
const makePostalValidation = (country) => create$6()
|
|
74
|
+
// Normalize before matching so a stored value that predates the canonical
|
|
75
|
+
// format — 'm5v2t6', 'M5V-2T6' — still validates. Nothing in vault or
|
|
76
|
+
// entity_management ever enforced a format, and Stripe imports copy the
|
|
77
|
+
// merchant's own spelling verbatim.
|
|
78
|
+
.transform(normalizePostalCode)
|
|
74
79
|
.matches(countryValidation[country].postalRegex, 'Enter valid postal code')
|
|
75
80
|
.transform(transformEmptyString);
|
|
76
81
|
const makeIdentityNumberValidation = (country) => {
|
|
@@ -193,7 +198,8 @@ const stateValidation = create$6()
|
|
|
193
198
|
.oneOf(checkoutBillingStateOptions.map((option) => option.value), 'Select a valid state or province')
|
|
194
199
|
.transform(transformEmptyString);
|
|
195
200
|
const postalValidation = create$6()
|
|
196
|
-
.
|
|
201
|
+
.transform(normalizePostalCode)
|
|
202
|
+
.matches(CA_OR_US_POSTAL_REGEX, 'Enter valid postal code')
|
|
197
203
|
.transform(transformEmptyString);
|
|
198
204
|
// Additional Questions Validations
|
|
199
205
|
const revenueValidation = create$6()
|
|
@@ -46,7 +46,7 @@ const ShippingDetails = /*@__PURE__*/ proxyCustomElement(class ShippingDetails e
|
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
48
|
var _a, _b, _c, _d, _e;
|
|
49
|
-
return (h("div", { key: '
|
|
49
|
+
return (h("div", { key: '6673b30e9af36cb2e560d0653776a42ab1777c22' }, h("div", { key: 'f687e69208f470a40699f870c4d09b04a0487faa', class: "row gy-3" }, h("div", { key: 'ffb1b65e29b6b912cefe862a2139e57f3d81087b', class: "col-12" }, h("h2", { key: '2cea703b6f228aa127bbdb6f8c97f3f79e05d351', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: 'fe2ae3034571b5ed2a8e5678ae5c32d84f750835', class: "col-12" }, h("form-control-text", { key: '3b5c43c4b8baa62a756cc2dd7edb54fc0c118ede', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), h("div", { key: '807d7e0860265cb629083bb026e812e4d2ac06ff', class: "col-12" }, h("form-control-text", { key: '5367ef8b37625d6e3ca42eb68eda5e142ff5d783', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), h("div", { key: '25e85572762af0d9964849d276dd18c5b8905d6e', class: "col-12" }, h("form-control-date", { key: '821d218825643775282742b0c63f8c803a6c47e5', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), h("div", { key: '376e527d339217b897f02f0de111ea9377539769', class: "col-12" }, h("form-control-textarea", { key: 'f0130e6c0a7ca54e20f6406fbe6276fa8cffbf61', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), h("div", { key: '74699370d18065f453e68449749d5481772c4c08', class: "col-12" }, h("form-control-file-v2", { key: '5d3f0d1a199b563c9ed433cb971f541a4cb54083', label: "Shipping Documentation", name: "shipping_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.shipping_documentation })))));
|
|
50
50
|
}
|
|
51
51
|
}, [256, "shipping-details", {
|
|
52
52
|
"disputeResponse": [8, "dispute-response"],
|
|
@@ -31,7 +31,7 @@ const TableFiltersMenu = /*@__PURE__*/ proxyCustomElement(class TableFiltersMenu
|
|
|
31
31
|
this.showClearButton = hasFilters(this.params);
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h("div", { key: '
|
|
34
|
+
return (h("div", { key: 'dfea7fc09cd4d3799af064eb413088d2e68b379e', class: "d-flex gap-2" }, h("div", { key: 'dfc0ff09dc4117ce6871167376ce0b66d2df123a', class: "dropdown pb-3" }, h("button", { key: '2796cf3464e59b95edbd77e3bc9e0d60f22a9a86', type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", part: dropdownMenuButton, "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), h("custom-popper", { key: 'e9edff3a2c800ab9fbfd834cb55338caebac1fdc', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: 'abf8d0f0f059a9981897e231a2255c7f2b545a0c', class: "dropdown-menu", part: dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: '1816909bb5bc3c9f7ddd2c37a6edc5bb00260900' })))), h("div", { key: '2e3dbb4b5b8caeacc1a64dc74e2df9f7d975b680' }, h(Button, { key: '2b588ef261aa1ff4db00a90c21ca4e6c7cc90f1e', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
|
|
35
35
|
}
|
|
36
36
|
static get watchers() { return {
|
|
37
37
|
"params": ["watchParamsHandler"]
|
|
@@ -26,7 +26,7 @@ const TerminalQuantitySelector = /*@__PURE__*/ proxyCustomElement(class Terminal
|
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (h("div", { key: '
|
|
29
|
+
return (h("div", { key: '38cd0765871fd366af0adc09910add544ecefb93', class: "rounded shadow-sm card p-2", part: card }, h("div", { key: '5e367d97287d3fef28e4f24d78384c6d02ab1540', class: "d-flex gap-3" }, h("div", { key: 'e031d923a5a01665a7f1a37e1d7df529ba51b0b2', class: "d-flex align-items-center" }, h("img", { key: 'b520afcdbd4946105324410499aa4ede31da1a72', src: this.imageUrl, alt: this.modelName, height: 75, width: 75, part: image })), h("div", { key: '5bdb4760b16241d9cd76e70245a19555dce6f723', class: "d-flex flex-column flex-grow-1 gap-3 p-4 justify-content-center" }, h("div", { key: '598bab6407c43f94896a1782b60f048696361113', class: "row" }, h("div", { key: 'c340942cadb9dc0411f7d7815f1ccc9df75cbfbc', class: "col-6 d-flex gap-2" }, this.modelName, h("form-control-tooltip", { key: '1f0a3deeb00abcf3e3cd01fecdeb0435f091cbac', helpText: this.description })), h("div", { key: 'df8b8567640a567a4b8f238a21c6ed57d60e444a', class: "col-6 d-flex justify-content-end align-items-center" }, h("button", { key: 'baf59d5ede260d44a8ebfaaf95d8d134f3ef60da', class: "p-0 minus btn", onClick: this.removeUnit, part: buttonLink }, "-"), h("div", { key: 'cd3f528e9a56385cd17b23eb85185c51cd0dff67', class: "w-25 text-center" }, this.selectedQuantity), h("button", { key: '6a55baa1403892f79600ff4ee85734c14a5f2ecc', class: "p-0 plus btn", onClick: this.addUnit, part: buttonLink }, "+")))))));
|
|
30
30
|
}
|
|
31
31
|
}, [256, "terminal-quantity-selector", {
|
|
32
32
|
"modelName": [1, "model-name"],
|
package/dist/module/utils4.js
CHANGED
|
@@ -23,5 +23,37 @@ const numberOnlyHandler = (e) => {
|
|
|
23
23
|
e.preventDefault();
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
|
+
// A US ZIP+4 ("44240-5555") carries a hyphen, which numberOnlyHandler blocks,
|
|
27
|
+
// so the postal field gets its own handler: digits plus a single hyphen.
|
|
28
|
+
const zipCodeOnlyHandler = (e) => {
|
|
29
|
+
var _a, _b, _c;
|
|
30
|
+
const specialKeys = ['Backspace', 'Tab', 'Enter', 'ArrowUp', 'ArrowDown', 'ArrowLeft', 'ArrowRight', 'Delete'];
|
|
31
|
+
// Handle paste event. `ClipboardEvent` is not a global in the spec
|
|
32
|
+
// environment, so the paste branch is recognized by its payload.
|
|
33
|
+
if ('clipboardData' in e) {
|
|
34
|
+
const clipboardData = (_a = e.clipboardData) === null || _a === void 0 ? void 0 : _a.getData('text');
|
|
35
|
+
if (clipboardData && !/^\d+(-\d+)?$/.test(clipboardData)) {
|
|
36
|
+
e.preventDefault();
|
|
37
|
+
}
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
// Check if the key is a special key
|
|
41
|
+
if (specialKeys.includes(e.key)) {
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
// Allow Ctrl+V / Command+V for pasting
|
|
45
|
+
if ((e.ctrlKey || e.metaKey) && e.key.toLowerCase() === 'v') {
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
// A single hyphen separates the ZIP from the +4; a second one never does.
|
|
49
|
+
const alreadyHyphenated = !!((_c = (_b = e.target) === null || _b === void 0 ? void 0 : _b.value) === null || _c === void 0 ? void 0 : _c.includes('-'));
|
|
50
|
+
if (e.key === '-' && !alreadyHyphenated) {
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
// Prevent default action if the key is not a digit
|
|
54
|
+
if (!/^\d$/.test(e.key)) {
|
|
55
|
+
e.preventDefault();
|
|
56
|
+
}
|
|
57
|
+
};
|
|
26
58
|
|
|
27
|
-
export { numberOnlyHandler as n };
|
|
59
|
+
export { numberOnlyHandler as n, zipCodeOnlyHandler as z };
|
|
@@ -5,21 +5,28 @@ export declare class BankAccountForm {
|
|
|
5
5
|
iframeOrigin: string;
|
|
6
6
|
tabId: string;
|
|
7
7
|
iframeState: 'loading' | 'ready' | 'error';
|
|
8
|
+
showAccountNumberConfirmation?: boolean;
|
|
8
9
|
private accountNumberIframeElement;
|
|
10
|
+
private accountNumberConfirmationIframeElement?;
|
|
9
11
|
private routingNumberIframeElement;
|
|
10
12
|
private hasLoggedAchDisabledWarning;
|
|
11
13
|
private loadAbortController?;
|
|
14
|
+
private loadedInputIds;
|
|
15
|
+
private watchedInputIds;
|
|
12
16
|
componentWillLoad(): Promise<void>;
|
|
13
17
|
componentDidRender(): void;
|
|
14
18
|
disconnectedCallback(): void;
|
|
15
19
|
private isAchDisabledForCheckout;
|
|
16
|
-
validate(): Promise<
|
|
20
|
+
validate(): Promise<{
|
|
21
|
+
isValid: boolean;
|
|
22
|
+
}>;
|
|
17
23
|
tokenize({ clientId, paymentMethodMetadata, account }: {
|
|
18
24
|
clientId: string;
|
|
19
25
|
paymentMethodMetadata: any;
|
|
20
26
|
account?: string;
|
|
21
27
|
}): Promise<any>;
|
|
22
28
|
private get isReady();
|
|
29
|
+
private get expectedIframeCount();
|
|
23
30
|
private get iframeElements();
|
|
24
31
|
private watchIframesLoad;
|
|
25
32
|
private reloadIframes;
|
|
@@ -5,6 +5,8 @@ export declare class CardForm {
|
|
|
5
5
|
iframeOrigin: string;
|
|
6
6
|
tabId: string;
|
|
7
7
|
iframeState: 'loading' | 'ready' | 'error';
|
|
8
|
+
/** Mask the card number to its last four digits when the field blurs. */
|
|
9
|
+
maskCardNumber?: boolean;
|
|
8
10
|
private cardNumberIframeElement;
|
|
9
11
|
private expirationMonthIframeElement;
|
|
10
12
|
private expirationYearIframeElement;
|
|
@@ -13,7 +15,9 @@ export declare class CardForm {
|
|
|
13
15
|
componentWillLoad(): Promise<void>;
|
|
14
16
|
componentDidLoad(): void;
|
|
15
17
|
disconnectedCallback(): void;
|
|
16
|
-
validate(): Promise<
|
|
18
|
+
validate(): Promise<{
|
|
19
|
+
isValid: boolean;
|
|
20
|
+
}>;
|
|
17
21
|
tokenize({ clientId, paymentMethodMetadata, account, }: {
|
|
18
22
|
clientId: string;
|
|
19
23
|
paymentMethodMetadata: any;
|
|
@@ -29,6 +29,15 @@ export declare class JustifiCheckout {
|
|
|
29
29
|
/** Passed to `justifi-google-pay` as `environment`. Omit to let the child use its default. */
|
|
30
30
|
googlePayEnv?: 'TEST' | 'PRODUCTION';
|
|
31
31
|
preCompleteHook?: Hook<CheckoutState>;
|
|
32
|
+
/** Renders a "Confirm Account Number" field in the bank account form. */
|
|
33
|
+
showAccountNumberConfirmation?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Mask the card number to its last four digits when the field loses focus,
|
|
36
|
+
* with an eye toggle to reveal it. Defaults to false.
|
|
37
|
+
*
|
|
38
|
+
* Anti-shoulder-surfing only, not a secrecy boundary.
|
|
39
|
+
*/
|
|
40
|
+
maskCardNumber?: boolean;
|
|
32
41
|
propChanged(): void;
|
|
33
42
|
errorEvent: EventEmitter<ComponentErrorEvent>;
|
|
34
43
|
loadedEvent: EventEmitter<ILoadedEventResponse>;
|
|
@@ -19,6 +19,15 @@ export declare class JustifiModularCheckout {
|
|
|
19
19
|
authToken: string;
|
|
20
20
|
checkoutId: string;
|
|
21
21
|
preCompleteHook?: Hook<CheckoutState>;
|
|
22
|
+
/**
|
|
23
|
+
* Mask the card number to its last four digits when the field loses focus,
|
|
24
|
+
* with an eye toggle to reveal it. Applies to the `justifi-card-form`
|
|
25
|
+
* rendered inside this checkout. Defaults to false.
|
|
26
|
+
*
|
|
27
|
+
* Anti-shoulder-surfing only, not a secrecy boundary.
|
|
28
|
+
*/
|
|
29
|
+
maskCardNumber?: boolean;
|
|
30
|
+
maskCardNumberChanged(): void;
|
|
22
31
|
hostEl: HTMLElement;
|
|
23
32
|
errorEvent: EventEmitter;
|
|
24
33
|
submitEvent: EventEmitter;
|
package/dist/types/components/modular-checkout/sub-components/justifi-bank-account-form.d.ts
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import JustifiAnalytics from "../../../api/Analytics";
|
|
2
2
|
export declare class JustifiBankAccountForm {
|
|
3
|
+
showAccountNumberConfirmation?: boolean;
|
|
3
4
|
private bankAccountFormElement?;
|
|
4
5
|
analytics: JustifiAnalytics;
|
|
5
6
|
componentWillLoad(): Promise<void>;
|
|
6
7
|
disconnectedCallback(): void;
|
|
7
|
-
validate(): Promise<
|
|
8
|
+
validate(): Promise<{
|
|
9
|
+
isValid: boolean;
|
|
10
|
+
}>;
|
|
8
11
|
tokenize({ clientId, paymentMethodMetadata, account }: {
|
|
9
12
|
clientId: string;
|
|
10
13
|
paymentMethodMetadata: any;
|
|
@@ -2,6 +2,15 @@ import JustifiAnalytics from "../../../api/Analytics";
|
|
|
2
2
|
export declare class JustifiCardForm {
|
|
3
3
|
private cardFormElement;
|
|
4
4
|
analytics: JustifiAnalytics;
|
|
5
|
+
/**
|
|
6
|
+
* Mask the card number to its last four digits when the field loses focus,
|
|
7
|
+
* with an eye toggle to reveal it. Defaults to false. Inside
|
|
8
|
+
* `justifi-modular-checkout` the wrapper's `mask-card-number` sets this;
|
|
9
|
+
* an explicit value here wins.
|
|
10
|
+
*
|
|
11
|
+
* Anti-shoulder-surfing only, not a secrecy boundary.
|
|
12
|
+
*/
|
|
13
|
+
maskCardNumber?: boolean;
|
|
5
14
|
componentWillLoad(): Promise<void>;
|
|
6
15
|
disconnectedCallback(): void;
|
|
7
16
|
validate(): Promise<any>;
|
|
@@ -25,8 +25,17 @@ export declare class JustifiTokenizePaymentMethod {
|
|
|
25
25
|
hideCardBillingForm?: boolean;
|
|
26
26
|
hideSubmitButton?: boolean;
|
|
27
27
|
paymentMethodGroupId?: string;
|
|
28
|
+
/** Renders a "Confirm Account Number" field in the bank account form. */
|
|
29
|
+
showAccountNumberConfirmation?: boolean;
|
|
28
30
|
submitButtonText?: string;
|
|
29
31
|
savePaymentMethodLabel?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Mask the card number to its last four digits when the field loses focus,
|
|
34
|
+
* with an eye toggle to reveal it. Defaults to false.
|
|
35
|
+
*
|
|
36
|
+
* Anti-shoulder-surfing only, not a secrecy boundary.
|
|
37
|
+
*/
|
|
38
|
+
maskCardNumber?: boolean;
|
|
30
39
|
paymentMethodsChanged(): void;
|
|
31
40
|
errorEvent: EventEmitter<ComponentErrorEvent>;
|
|
32
41
|
submitEvent: EventEmitter<ComponentSubmitEvent>;
|