@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
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import packageJson from "../../package.json";
|
|
2
|
+
const JUSTIFI_VERSION_KEY = '__JUSTIFI_WC_VERSION__';
|
|
3
|
+
/**
|
|
4
|
+
* Records this bundle's version on globalThis and logs an error when a second,
|
|
5
|
+
* different version of @justifi/webcomponents is already on the page. The first
|
|
6
|
+
* version loaded wins — it has registered the custom elements, so any later
|
|
7
|
+
* bundle is inert.
|
|
8
|
+
*/
|
|
9
|
+
export const detectDuplicateVersion = () => {
|
|
10
|
+
if (typeof globalThis === 'undefined')
|
|
11
|
+
return;
|
|
12
|
+
const globalScope = globalThis;
|
|
13
|
+
const currentVersion = packageJson.version;
|
|
14
|
+
const existingVersion = globalScope[JUSTIFI_VERSION_KEY];
|
|
15
|
+
if (existingVersion && existingVersion !== currentVersion) {
|
|
16
|
+
console.error(`@justifi/webcomponents: Multiple versions detected. ` +
|
|
17
|
+
`Version ${existingVersion} was loaded first and registered all components. ` +
|
|
18
|
+
`Version ${currentVersion} is also present but its components will NOT be used. ` +
|
|
19
|
+
`To fix this, add to your package.json:\n` +
|
|
20
|
+
`"pnpm": { "overrides": { "@justifi/webcomponents": "${currentVersion}" } }`);
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
globalScope[JUSTIFI_VERSION_KEY] = currentVersion;
|
|
24
|
+
};
|
|
@@ -20,7 +20,12 @@ export class FrameCommunicationService {
|
|
|
20
20
|
postMessageWithResponseListener(eventType, payload) {
|
|
21
21
|
return new Promise((resolve) => {
|
|
22
22
|
const responseListener = (event) => {
|
|
23
|
-
|
|
23
|
+
var _a;
|
|
24
|
+
// Every hosted field replies to this same window. Without the sender
|
|
25
|
+
// check, overlapping requests take a sibling field's reply.
|
|
26
|
+
if (event.source !== this.iframe.contentWindow)
|
|
27
|
+
return;
|
|
28
|
+
if (((_a = event.data) === null || _a === void 0 ? void 0 : _a.eventType) !== eventType)
|
|
24
29
|
return;
|
|
25
30
|
window.removeEventListener('message', responseListener);
|
|
26
31
|
resolve(event.data.data);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// Canada Post addressing guidelines: a postal code is six characters in the form
|
|
2
|
+
// "ANA NAN", with a single space between the Forward Sortation Area and the Local
|
|
3
|
+
// Delivery Unit. The first character of the FSA identifies one of 18 geographic
|
|
4
|
+
// areas, so D, F, I, O, Q, U, W and Z never appear there.
|
|
5
|
+
// https://www.canadapost-postescanada.ca/cpc/en/support/articles/addressing-guidelines/postal-codes.page
|
|
6
|
+
export const US_ZIP_REGEX = /^\d{5}(-\d{4})?$/;
|
|
7
|
+
export const CA_OR_US_POSTAL_REGEX = /^([ABCEGHJKLMNPRSTVXY]\d[A-Z] \d[A-Z]\d|\d{5}(-\d{4})?)$/i;
|
|
8
|
+
// Opening alpha-numeric-alpha is what distinguishes a Canadian code from a US ZIP.
|
|
9
|
+
const CA_SHAPE = /^[A-Z]\d[A-Z]/;
|
|
10
|
+
export const normalizePostalCode = (value) => {
|
|
11
|
+
if (!value)
|
|
12
|
+
return value;
|
|
13
|
+
const upper = value.toUpperCase();
|
|
14
|
+
// A US ZIP (or a typo) keeps its characters — only the case is normalized.
|
|
15
|
+
if (!CA_SHAPE.test(upper))
|
|
16
|
+
return upper;
|
|
17
|
+
const compact = upper.replace(/[\s-]/g, '');
|
|
18
|
+
return compact.length > 3 ? `${compact.slice(0, 3)} ${compact.slice(3)}` : compact;
|
|
19
|
+
};
|
package/dist/docs.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-
|
|
2
|
+
"timestamp": "2026-11-09T20:27:47",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.38.3",
|
|
@@ -702,7 +702,37 @@
|
|
|
702
702
|
"docs": "",
|
|
703
703
|
"docsTags": [],
|
|
704
704
|
"usage": {},
|
|
705
|
-
"props": [
|
|
705
|
+
"props": [
|
|
706
|
+
{
|
|
707
|
+
"name": "showAccountNumberConfirmation",
|
|
708
|
+
"type": "boolean",
|
|
709
|
+
"complexType": {
|
|
710
|
+
"original": "boolean",
|
|
711
|
+
"resolved": "boolean",
|
|
712
|
+
"references": {}
|
|
713
|
+
},
|
|
714
|
+
"mutable": false,
|
|
715
|
+
"attr": "show-account-number-confirmation",
|
|
716
|
+
"reflectToAttr": false,
|
|
717
|
+
"docs": "",
|
|
718
|
+
"docsTags": [
|
|
719
|
+
{
|
|
720
|
+
"name": "default",
|
|
721
|
+
"text": "false"
|
|
722
|
+
}
|
|
723
|
+
],
|
|
724
|
+
"default": "false",
|
|
725
|
+
"values": [
|
|
726
|
+
{
|
|
727
|
+
"type": "boolean"
|
|
728
|
+
}
|
|
729
|
+
],
|
|
730
|
+
"optional": true,
|
|
731
|
+
"required": false,
|
|
732
|
+
"getter": false,
|
|
733
|
+
"setter": false
|
|
734
|
+
}
|
|
735
|
+
],
|
|
706
736
|
"methods": [
|
|
707
737
|
{
|
|
708
738
|
"name": "tokenize",
|
|
@@ -741,11 +771,11 @@
|
|
|
741
771
|
{
|
|
742
772
|
"name": "validate",
|
|
743
773
|
"returns": {
|
|
744
|
-
"type": "Promise<
|
|
774
|
+
"type": "Promise<{ isValid: boolean; }>",
|
|
745
775
|
"docs": ""
|
|
746
776
|
},
|
|
747
777
|
"complexType": {
|
|
748
|
-
"signature": "() => Promise<
|
|
778
|
+
"signature": "() => Promise<{ isValid: boolean; }>",
|
|
749
779
|
"parameters": [],
|
|
750
780
|
"references": {
|
|
751
781
|
"Promise": {
|
|
@@ -753,9 +783,9 @@
|
|
|
753
783
|
"id": "global::Promise"
|
|
754
784
|
}
|
|
755
785
|
},
|
|
756
|
-
"return": "Promise<
|
|
786
|
+
"return": "Promise<{ isValid: boolean; }>"
|
|
757
787
|
},
|
|
758
|
-
"signature": "validate() => Promise<
|
|
788
|
+
"signature": "validate() => Promise<{ isValid: boolean; }>",
|
|
759
789
|
"parameters": [],
|
|
760
790
|
"docs": "",
|
|
761
791
|
"docsTags": []
|
|
@@ -3434,7 +3464,37 @@
|
|
|
3434
3464
|
"docs": "",
|
|
3435
3465
|
"docsTags": [],
|
|
3436
3466
|
"usage": {},
|
|
3437
|
-
"props": [
|
|
3467
|
+
"props": [
|
|
3468
|
+
{
|
|
3469
|
+
"name": "maskCardNumber",
|
|
3470
|
+
"type": "boolean",
|
|
3471
|
+
"complexType": {
|
|
3472
|
+
"original": "boolean",
|
|
3473
|
+
"resolved": "boolean",
|
|
3474
|
+
"references": {}
|
|
3475
|
+
},
|
|
3476
|
+
"mutable": false,
|
|
3477
|
+
"attr": "mask-card-number",
|
|
3478
|
+
"reflectToAttr": false,
|
|
3479
|
+
"docs": "Mask the card number to its last four digits when the field blurs.",
|
|
3480
|
+
"docsTags": [
|
|
3481
|
+
{
|
|
3482
|
+
"name": "default",
|
|
3483
|
+
"text": "false"
|
|
3484
|
+
}
|
|
3485
|
+
],
|
|
3486
|
+
"default": "false",
|
|
3487
|
+
"values": [
|
|
3488
|
+
{
|
|
3489
|
+
"type": "boolean"
|
|
3490
|
+
}
|
|
3491
|
+
],
|
|
3492
|
+
"optional": true,
|
|
3493
|
+
"required": false,
|
|
3494
|
+
"getter": false,
|
|
3495
|
+
"setter": false
|
|
3496
|
+
}
|
|
3497
|
+
],
|
|
3438
3498
|
"methods": [
|
|
3439
3499
|
{
|
|
3440
3500
|
"name": "tokenize",
|
|
@@ -3473,11 +3533,11 @@
|
|
|
3473
3533
|
{
|
|
3474
3534
|
"name": "validate",
|
|
3475
3535
|
"returns": {
|
|
3476
|
-
"type": "Promise<
|
|
3536
|
+
"type": "Promise<{ isValid: boolean; }>",
|
|
3477
3537
|
"docs": ""
|
|
3478
3538
|
},
|
|
3479
3539
|
"complexType": {
|
|
3480
|
-
"signature": "() => Promise<
|
|
3540
|
+
"signature": "() => Promise<{ isValid: boolean; }>",
|
|
3481
3541
|
"parameters": [],
|
|
3482
3542
|
"references": {
|
|
3483
3543
|
"Promise": {
|
|
@@ -3485,9 +3545,9 @@
|
|
|
3485
3545
|
"id": "global::Promise"
|
|
3486
3546
|
}
|
|
3487
3547
|
},
|
|
3488
|
-
"return": "Promise<
|
|
3548
|
+
"return": "Promise<{ isValid: boolean; }>"
|
|
3489
3549
|
},
|
|
3490
|
-
"signature": "validate() => Promise<
|
|
3550
|
+
"signature": "validate() => Promise<{ isValid: boolean; }>",
|
|
3491
3551
|
"parameters": [],
|
|
3492
3552
|
"docs": "",
|
|
3493
3553
|
"docsTags": []
|
|
@@ -8369,6 +8429,28 @@
|
|
|
8369
8429
|
"required": true,
|
|
8370
8430
|
"getter": false,
|
|
8371
8431
|
"setter": false
|
|
8432
|
+
},
|
|
8433
|
+
{
|
|
8434
|
+
"name": "transformValue",
|
|
8435
|
+
"type": "(value: string) => string",
|
|
8436
|
+
"complexType": {
|
|
8437
|
+
"original": "(value: string) => string",
|
|
8438
|
+
"resolved": "(value: string) => string",
|
|
8439
|
+
"references": {}
|
|
8440
|
+
},
|
|
8441
|
+
"mutable": false,
|
|
8442
|
+
"reflectToAttr": false,
|
|
8443
|
+
"docs": "",
|
|
8444
|
+
"docsTags": [],
|
|
8445
|
+
"values": [
|
|
8446
|
+
{
|
|
8447
|
+
"type": "(value: string) => string"
|
|
8448
|
+
}
|
|
8449
|
+
],
|
|
8450
|
+
"optional": true,
|
|
8451
|
+
"required": false,
|
|
8452
|
+
"getter": false,
|
|
8453
|
+
"setter": false
|
|
8372
8454
|
}
|
|
8373
8455
|
],
|
|
8374
8456
|
"methods": [],
|
|
@@ -9187,6 +9269,35 @@
|
|
|
9187
9269
|
"required": true,
|
|
9188
9270
|
"getter": false,
|
|
9189
9271
|
"setter": false
|
|
9272
|
+
},
|
|
9273
|
+
{
|
|
9274
|
+
"name": "maskCardNumber",
|
|
9275
|
+
"type": "boolean",
|
|
9276
|
+
"complexType": {
|
|
9277
|
+
"original": "boolean",
|
|
9278
|
+
"resolved": "boolean",
|
|
9279
|
+
"references": {}
|
|
9280
|
+
},
|
|
9281
|
+
"mutable": false,
|
|
9282
|
+
"attr": "mask-card-number",
|
|
9283
|
+
"reflectToAttr": false,
|
|
9284
|
+
"docs": "Opt this field into masking its value to the last four characters when it\nloses focus. Forwarded to the hosted field, which owns the behavior.",
|
|
9285
|
+
"docsTags": [
|
|
9286
|
+
{
|
|
9287
|
+
"name": "default",
|
|
9288
|
+
"text": "false"
|
|
9289
|
+
}
|
|
9290
|
+
],
|
|
9291
|
+
"default": "false",
|
|
9292
|
+
"values": [
|
|
9293
|
+
{
|
|
9294
|
+
"type": "boolean"
|
|
9295
|
+
}
|
|
9296
|
+
],
|
|
9297
|
+
"optional": true,
|
|
9298
|
+
"required": false,
|
|
9299
|
+
"getter": false,
|
|
9300
|
+
"setter": false
|
|
9190
9301
|
}
|
|
9191
9302
|
],
|
|
9192
9303
|
"methods": [
|
|
@@ -10163,7 +10274,37 @@
|
|
|
10163
10274
|
"docs": "",
|
|
10164
10275
|
"docsTags": [],
|
|
10165
10276
|
"usage": {},
|
|
10166
|
-
"props": [
|
|
10277
|
+
"props": [
|
|
10278
|
+
{
|
|
10279
|
+
"name": "showAccountNumberConfirmation",
|
|
10280
|
+
"type": "boolean",
|
|
10281
|
+
"complexType": {
|
|
10282
|
+
"original": "boolean",
|
|
10283
|
+
"resolved": "boolean",
|
|
10284
|
+
"references": {}
|
|
10285
|
+
},
|
|
10286
|
+
"mutable": false,
|
|
10287
|
+
"attr": "show-account-number-confirmation",
|
|
10288
|
+
"reflectToAttr": false,
|
|
10289
|
+
"docs": "",
|
|
10290
|
+
"docsTags": [
|
|
10291
|
+
{
|
|
10292
|
+
"name": "default",
|
|
10293
|
+
"text": "false"
|
|
10294
|
+
}
|
|
10295
|
+
],
|
|
10296
|
+
"default": "false",
|
|
10297
|
+
"values": [
|
|
10298
|
+
{
|
|
10299
|
+
"type": "boolean"
|
|
10300
|
+
}
|
|
10301
|
+
],
|
|
10302
|
+
"optional": true,
|
|
10303
|
+
"required": false,
|
|
10304
|
+
"getter": false,
|
|
10305
|
+
"setter": false
|
|
10306
|
+
}
|
|
10307
|
+
],
|
|
10167
10308
|
"methods": [
|
|
10168
10309
|
{
|
|
10169
10310
|
"name": "tokenize",
|
|
@@ -10202,11 +10343,11 @@
|
|
|
10202
10343
|
{
|
|
10203
10344
|
"name": "validate",
|
|
10204
10345
|
"returns": {
|
|
10205
|
-
"type": "Promise<
|
|
10346
|
+
"type": "Promise<{ isValid: boolean; }>",
|
|
10206
10347
|
"docs": ""
|
|
10207
10348
|
},
|
|
10208
10349
|
"complexType": {
|
|
10209
|
-
"signature": "() => Promise<
|
|
10350
|
+
"signature": "() => Promise<{ isValid: boolean; }>",
|
|
10210
10351
|
"parameters": [],
|
|
10211
10352
|
"references": {
|
|
10212
10353
|
"Promise": {
|
|
@@ -10214,9 +10355,9 @@
|
|
|
10214
10355
|
"id": "global::Promise"
|
|
10215
10356
|
}
|
|
10216
10357
|
},
|
|
10217
|
-
"return": "Promise<
|
|
10358
|
+
"return": "Promise<{ isValid: boolean; }>"
|
|
10218
10359
|
},
|
|
10219
|
-
"signature": "validate() => Promise<
|
|
10360
|
+
"signature": "validate() => Promise<{ isValid: boolean; }>",
|
|
10220
10361
|
"parameters": [],
|
|
10221
10362
|
"docs": "",
|
|
10222
10363
|
"docsTags": []
|
|
@@ -11300,7 +11441,31 @@
|
|
|
11300
11441
|
"docs": "",
|
|
11301
11442
|
"docsTags": [],
|
|
11302
11443
|
"usage": {},
|
|
11303
|
-
"props": [
|
|
11444
|
+
"props": [
|
|
11445
|
+
{
|
|
11446
|
+
"name": "maskCardNumber",
|
|
11447
|
+
"type": "boolean",
|
|
11448
|
+
"complexType": {
|
|
11449
|
+
"original": "boolean",
|
|
11450
|
+
"resolved": "boolean",
|
|
11451
|
+
"references": {}
|
|
11452
|
+
},
|
|
11453
|
+
"mutable": false,
|
|
11454
|
+
"attr": "mask-card-number",
|
|
11455
|
+
"reflectToAttr": false,
|
|
11456
|
+
"docs": "Mask the card number to its last four digits when the field loses focus,\nwith an eye toggle to reveal it. Defaults to false. Inside\n`justifi-modular-checkout` the wrapper's `mask-card-number` sets this;\nan explicit value here wins.\n\nAnti-shoulder-surfing only, not a secrecy boundary.",
|
|
11457
|
+
"docsTags": [],
|
|
11458
|
+
"values": [
|
|
11459
|
+
{
|
|
11460
|
+
"type": "boolean"
|
|
11461
|
+
}
|
|
11462
|
+
],
|
|
11463
|
+
"optional": true,
|
|
11464
|
+
"required": false,
|
|
11465
|
+
"getter": false,
|
|
11466
|
+
"setter": false
|
|
11467
|
+
}
|
|
11468
|
+
],
|
|
11304
11469
|
"methods": [
|
|
11305
11470
|
{
|
|
11306
11471
|
"name": "tokenize",
|
|
@@ -11635,6 +11800,35 @@
|
|
|
11635
11800
|
"getter": false,
|
|
11636
11801
|
"setter": false
|
|
11637
11802
|
},
|
|
11803
|
+
{
|
|
11804
|
+
"name": "maskCardNumber",
|
|
11805
|
+
"type": "boolean",
|
|
11806
|
+
"complexType": {
|
|
11807
|
+
"original": "boolean",
|
|
11808
|
+
"resolved": "boolean",
|
|
11809
|
+
"references": {}
|
|
11810
|
+
},
|
|
11811
|
+
"mutable": false,
|
|
11812
|
+
"attr": "mask-card-number",
|
|
11813
|
+
"reflectToAttr": false,
|
|
11814
|
+
"docs": "Mask the card number to its last four digits when the field loses focus,\nwith an eye toggle to reveal it. Defaults to false.\n\nAnti-shoulder-surfing only, not a secrecy boundary.",
|
|
11815
|
+
"docsTags": [
|
|
11816
|
+
{
|
|
11817
|
+
"name": "default",
|
|
11818
|
+
"text": "false"
|
|
11819
|
+
}
|
|
11820
|
+
],
|
|
11821
|
+
"default": "false",
|
|
11822
|
+
"values": [
|
|
11823
|
+
{
|
|
11824
|
+
"type": "boolean"
|
|
11825
|
+
}
|
|
11826
|
+
],
|
|
11827
|
+
"optional": true,
|
|
11828
|
+
"required": false,
|
|
11829
|
+
"getter": false,
|
|
11830
|
+
"setter": false
|
|
11831
|
+
},
|
|
11638
11832
|
{
|
|
11639
11833
|
"name": "preCompleteHook",
|
|
11640
11834
|
"type": "(data: CheckoutState, resolve: (data: CheckoutState) => void, reject: () => void) => void",
|
|
@@ -11667,6 +11861,35 @@
|
|
|
11667
11861
|
"required": false,
|
|
11668
11862
|
"getter": false,
|
|
11669
11863
|
"setter": false
|
|
11864
|
+
},
|
|
11865
|
+
{
|
|
11866
|
+
"name": "showAccountNumberConfirmation",
|
|
11867
|
+
"type": "boolean",
|
|
11868
|
+
"complexType": {
|
|
11869
|
+
"original": "boolean",
|
|
11870
|
+
"resolved": "boolean",
|
|
11871
|
+
"references": {}
|
|
11872
|
+
},
|
|
11873
|
+
"mutable": false,
|
|
11874
|
+
"attr": "show-account-number-confirmation",
|
|
11875
|
+
"reflectToAttr": false,
|
|
11876
|
+
"docs": "Renders a \"Confirm Account Number\" field in the bank account form.",
|
|
11877
|
+
"docsTags": [
|
|
11878
|
+
{
|
|
11879
|
+
"name": "default",
|
|
11880
|
+
"text": "false"
|
|
11881
|
+
}
|
|
11882
|
+
],
|
|
11883
|
+
"default": "false",
|
|
11884
|
+
"values": [
|
|
11885
|
+
{
|
|
11886
|
+
"type": "boolean"
|
|
11887
|
+
}
|
|
11888
|
+
],
|
|
11889
|
+
"optional": true,
|
|
11890
|
+
"required": false,
|
|
11891
|
+
"getter": false,
|
|
11892
|
+
"setter": false
|
|
11670
11893
|
}
|
|
11671
11894
|
],
|
|
11672
11895
|
"methods": [
|
|
@@ -13141,6 +13364,35 @@
|
|
|
13141
13364
|
"getter": false,
|
|
13142
13365
|
"setter": false
|
|
13143
13366
|
},
|
|
13367
|
+
{
|
|
13368
|
+
"name": "maskCardNumber",
|
|
13369
|
+
"type": "boolean",
|
|
13370
|
+
"complexType": {
|
|
13371
|
+
"original": "boolean",
|
|
13372
|
+
"resolved": "boolean",
|
|
13373
|
+
"references": {}
|
|
13374
|
+
},
|
|
13375
|
+
"mutable": false,
|
|
13376
|
+
"attr": "mask-card-number",
|
|
13377
|
+
"reflectToAttr": false,
|
|
13378
|
+
"docs": "Mask the card number to its last four digits when the field loses focus,\nwith an eye toggle to reveal it. Applies to the `justifi-card-form`\nrendered inside this checkout. Defaults to false.\n\nAnti-shoulder-surfing only, not a secrecy boundary.",
|
|
13379
|
+
"docsTags": [
|
|
13380
|
+
{
|
|
13381
|
+
"name": "default",
|
|
13382
|
+
"text": "false"
|
|
13383
|
+
}
|
|
13384
|
+
],
|
|
13385
|
+
"default": "false",
|
|
13386
|
+
"values": [
|
|
13387
|
+
{
|
|
13388
|
+
"type": "boolean"
|
|
13389
|
+
}
|
|
13390
|
+
],
|
|
13391
|
+
"optional": true,
|
|
13392
|
+
"required": false,
|
|
13393
|
+
"getter": false,
|
|
13394
|
+
"setter": false
|
|
13395
|
+
},
|
|
13144
13396
|
{
|
|
13145
13397
|
"name": "preCompleteHook",
|
|
13146
13398
|
"type": "(data: CheckoutState, resolve: (data: CheckoutState) => void, reject: () => void) => void",
|
|
@@ -17810,6 +18062,29 @@
|
|
|
17810
18062
|
"getter": false,
|
|
17811
18063
|
"setter": false
|
|
17812
18064
|
},
|
|
18065
|
+
{
|
|
18066
|
+
"name": "maskCardNumber",
|
|
18067
|
+
"type": "boolean",
|
|
18068
|
+
"complexType": {
|
|
18069
|
+
"original": "boolean",
|
|
18070
|
+
"resolved": "boolean",
|
|
18071
|
+
"references": {}
|
|
18072
|
+
},
|
|
18073
|
+
"mutable": false,
|
|
18074
|
+
"attr": "mask-card-number",
|
|
18075
|
+
"reflectToAttr": false,
|
|
18076
|
+
"docs": "Mask the card number to its last four digits when the field loses focus,\nwith an eye toggle to reveal it. Defaults to false.\n\nAnti-shoulder-surfing only, not a secrecy boundary.",
|
|
18077
|
+
"docsTags": [],
|
|
18078
|
+
"values": [
|
|
18079
|
+
{
|
|
18080
|
+
"type": "boolean"
|
|
18081
|
+
}
|
|
18082
|
+
],
|
|
18083
|
+
"optional": true,
|
|
18084
|
+
"required": false,
|
|
18085
|
+
"getter": false,
|
|
18086
|
+
"setter": false
|
|
18087
|
+
},
|
|
17813
18088
|
{
|
|
17814
18089
|
"name": "paymentMethodGroupId",
|
|
17815
18090
|
"type": "string",
|
|
@@ -17856,6 +18131,29 @@
|
|
|
17856
18131
|
"getter": false,
|
|
17857
18132
|
"setter": false
|
|
17858
18133
|
},
|
|
18134
|
+
{
|
|
18135
|
+
"name": "showAccountNumberConfirmation",
|
|
18136
|
+
"type": "boolean",
|
|
18137
|
+
"complexType": {
|
|
18138
|
+
"original": "boolean",
|
|
18139
|
+
"resolved": "boolean",
|
|
18140
|
+
"references": {}
|
|
18141
|
+
},
|
|
18142
|
+
"mutable": false,
|
|
18143
|
+
"attr": "show-account-number-confirmation",
|
|
18144
|
+
"reflectToAttr": false,
|
|
18145
|
+
"docs": "Renders a \"Confirm Account Number\" field in the bank account form.",
|
|
18146
|
+
"docsTags": [],
|
|
18147
|
+
"values": [
|
|
18148
|
+
{
|
|
18149
|
+
"type": "boolean"
|
|
18150
|
+
}
|
|
18151
|
+
],
|
|
18152
|
+
"optional": true,
|
|
18153
|
+
"required": false,
|
|
18154
|
+
"getter": false,
|
|
18155
|
+
"setter": false
|
|
18156
|
+
},
|
|
17859
18157
|
{
|
|
17860
18158
|
"name": "submitButtonText",
|
|
17861
18159
|
"type": "string",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as packageJson } from './package-
|
|
2
|
-
import { A as Api } from './Api-
|
|
1
|
+
import { p as packageJson } from './package-DhrQechy.js';
|
|
2
|
+
import { A as Api } from './Api-BH6Wa9CT.js';
|
|
3
3
|
import './Plaid-CRcTLeaz.js';
|
|
4
4
|
import './Pagination-CLHwhyvu.js';
|
|
5
5
|
import './Business-CTtGaVYs.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { w as waitForConfig, c as configState } from './config-state-BKOsYBXZ.js';
|
|
2
2
|
import { g as generateId } from './utils-D8J8OvxY.js';
|
|
3
|
-
import { p as packageJson } from './package-
|
|
3
|
+
import { p as packageJson } from './package-DhrQechy.js';
|
|
4
4
|
|
|
5
5
|
const Api = () => {
|
|
6
6
|
async function getAuthorizationHeader(authToken) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-CV0Pyo1O.js';
|
|
2
2
|
import { C as ComponentErrorSeverity, b as ComponentErrorCodes, B as EntityDocument, x as PLAID_ERROR_SEVERITY, y as PLAID_ERROR_MESSAGES, z as PlaidErrorCodes } from './Plaid-CRcTLeaz.js';
|
|
3
3
|
import { m as makeGetBusiness, a as makePatchBusiness, c as makePostBankAccount, d as makePostDocumentRecord, e as makeGetIdentity, f as makePatchIdentity, g as makePostIdentity } from './payment-provisioning-actions-VtleD509.js';
|
|
4
|
-
import { B as BusinessService, a as BusinessBankAccountService, D as DocumentRecordService, I as IdentityService } from './business.service-
|
|
5
|
-
import { a as additionalQuestionsSchema, d as businessCoreInfoSchemaCAN, b as businessCoreInfoSchemaUSA, g as identitySchemaByCountry, h as addressSchemaByCountry } from './business-identity-schema-
|
|
4
|
+
import { B as BusinessService, a as BusinessBankAccountService, D as DocumentRecordService, I as IdentityService } from './business.service-XOnczlAa.js';
|
|
5
|
+
import { a as additionalQuestionsSchema, d as businessCoreInfoSchemaCAN, b as businessCoreInfoSchemaUSA, g as identitySchemaByCountry, h as addressSchemaByCountry } from './business-identity-schema-BLKCH6xV.js';
|
|
6
6
|
import { F as FormController, c as create$3, a as create$6, b as create$7 } from './index.esm-KCSohgHx.js';
|
|
7
7
|
import { A as AdditionalQuestions, C as CountryCode, c as CoreBusinessInfo, R as Representative, f as Address, O as Owner } from './Business-CTtGaVYs.js';
|
|
8
8
|
import { C as CURRENCY_MASK, P as PHONE_MASKS, I as IDENTITY_MASKS } from './form-input-masks-CVaOFfrI.js';
|
|
@@ -10,24 +10,24 @@ import { b as heading2, a0 as buttonSecondary, C as buttonLink, x as label, u as
|
|
|
10
10
|
import { P as PaymentProvisioningLoading } from './payment-provisioning-loading-BxHRVFDi.js';
|
|
11
11
|
import { a as businessServiceReceivedOptions, c as bankAccountTypeOptions, d as businessClassificationOptions, b as businessTitleOptions } from './business-form-options-DLRkVtee.js';
|
|
12
12
|
import { a as BusinessFormStep, B as BusinessFormClickActions } from './event-types-XYgDHrVL.js';
|
|
13
|
-
import { n as numberOnlyHandler } from './utils-
|
|
13
|
+
import { n as numberOnlyHandler } from './utils-Cpck08K0.js';
|
|
14
14
|
import './config-state-BKOsYBXZ.js';
|
|
15
15
|
import './dinero-HXpYMWUU.js';
|
|
16
16
|
import './Pagination-CLHwhyvu.js';
|
|
17
|
-
import { C as accountNumberValidation, D as accountTypeValidation, v as identityNameValidation, E as nicknameValidation, F as bankNameValidation, G as numbersOnlyRegex, H as routingNumberValidation } from './schema-validations-
|
|
17
|
+
import { C as accountNumberValidation, D as accountTypeValidation, v as identityNameValidation, E as nicknameValidation, F as bankNameValidation, G as numbersOnlyRegex, H as routingNumberValidation } from './schema-validations-8GJ34Do1.js';
|
|
18
18
|
import { B as Button } from './button-CBzHAOFW.js';
|
|
19
19
|
import './event-types-CZfYo5-1.js';
|
|
20
|
-
import { c as countryLabels } from './country-config-
|
|
20
|
+
import { c as countryLabels } from './country-config-DJFj1v-Q.js';
|
|
21
21
|
import { s as snakeCaseToHumanReadable, b as formatDate, d as formatTime } from './utils-D8J8OvxY.js';
|
|
22
22
|
import { S as Skeleton } from './skeleton-dbktEkFS.js';
|
|
23
23
|
import { u as updateFormValues, a as updateAddressFormValues, b as updateDateOfBirthFormValues } from './input-handlers-Dm8jO-BT.js';
|
|
24
|
-
import { A as Api } from './Api-
|
|
24
|
+
import { A as Api } from './Api-BH6Wa9CT.js';
|
|
25
25
|
import { S as StyledHost } from './styled-host-RvPhw8Gu.js';
|
|
26
|
-
import { P as PlaidService } from './plaid.service-
|
|
26
|
+
import { P as PlaidService } from './plaid.service-Umm80G4q.js';
|
|
27
27
|
import './utils-DaPywmTI.js';
|
|
28
28
|
import './_commonjsHelpers-BFTU3MAI.js';
|
|
29
29
|
import './index-3wWWWrhn.js';
|
|
30
|
-
import './package-
|
|
30
|
+
import './package-DhrQechy.js';
|
|
31
31
|
|
|
32
32
|
// Emits a MISSING_PROPS error naming each falsy prop. Returns true when all props are present.
|
|
33
33
|
// `props` keys are the public attribute names, e.g. { 'auth-token': this.authToken }.
|
|
@@ -3,7 +3,7 @@ import { a as businessServiceReceivedOptions, r as recurringPaymentsOptions, s a
|
|
|
3
3
|
import { C as CURRENCY_MASK, I as IDENTITY_MASKS, P as PHONE_MASKS } from './form-input-masks-CVaOFfrI.js';
|
|
4
4
|
import { b as heading2, x as label, u as inputDisabled, a0 as buttonSecondary } from './parts-Bu7gdOaV.js';
|
|
5
5
|
import { c as CoreBusinessInfo, d as deconstructDate, C as CountryCode } from './Business-CTtGaVYs.js';
|
|
6
|
-
import { c as countryLabels } from './country-config-
|
|
6
|
+
import { c as countryLabels } from './country-config-DJFj1v-Q.js';
|
|
7
7
|
|
|
8
8
|
const AdditionalQuestions = class {
|
|
9
9
|
constructor(hostRef) {
|