@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
|
@@ -1527,7 +1527,12 @@ class FrameCommunicationService {
|
|
|
1527
1527
|
postMessageWithResponseListener(eventType, payload) {
|
|
1528
1528
|
return new Promise((resolve) => {
|
|
1529
1529
|
const responseListener = (event) => {
|
|
1530
|
-
|
|
1530
|
+
var _a;
|
|
1531
|
+
// Every hosted field replies to this same window. Without the sender
|
|
1532
|
+
// check, overlapping requests take a sibling field's reply.
|
|
1533
|
+
if (event.source !== this.iframe.contentWindow)
|
|
1534
|
+
return;
|
|
1535
|
+
if (((_a = event.data) === null || _a === void 0 ? void 0 : _a.eventType) !== eventType)
|
|
1531
1536
|
return;
|
|
1532
1537
|
window.removeEventListener('message', responseListener);
|
|
1533
1538
|
resolve(event.data.data);
|
|
@@ -1541,6 +1546,8 @@ class FrameCommunicationService {
|
|
|
1541
1546
|
const MessageEventType = {
|
|
1542
1547
|
tokenize: 'tokenize',
|
|
1543
1548
|
validate: 'validate',
|
|
1549
|
+
/** Opts a hosted field into mask-on-blur. Carries no card data. */
|
|
1550
|
+
setMaskCardNumber: 'setMaskCardNumber',
|
|
1544
1551
|
};
|
|
1545
1552
|
|
|
1546
1553
|
const IframeInput = /*@__PURE__*/ proxyCustomElement(class IframeInput extends HTMLElement {
|
|
@@ -1552,11 +1559,24 @@ const IframeInput = /*@__PURE__*/ proxyCustomElement(class IframeInput extends H
|
|
|
1552
1559
|
this.iframeLoaded = createEvent(this, "iframeLoaded", 7);
|
|
1553
1560
|
this.isFocused = false;
|
|
1554
1561
|
this.isValid = true;
|
|
1562
|
+
/**
|
|
1563
|
+
* Opt this field into masking its value to the last four characters when it
|
|
1564
|
+
* loses focus. Forwarded to the hosted field, which owns the behavior.
|
|
1565
|
+
*/
|
|
1566
|
+
this.maskCardNumber = false;
|
|
1567
|
+
this.hasLoaded = false;
|
|
1555
1568
|
this.dispatchMessageEvent = (event) => {
|
|
1556
1569
|
const { eventType, data } = event.data;
|
|
1557
1570
|
if ((data === null || data === void 0 ? void 0 : data.id) !== this.inputId) {
|
|
1558
1571
|
return;
|
|
1559
1572
|
}
|
|
1573
|
+
if (eventType === 'loaded') {
|
|
1574
|
+
this.hasLoaded = true;
|
|
1575
|
+
// Re-sent on every load, not just the first: componentDidRender swaps
|
|
1576
|
+
// the iframe src once the style store fills, so the frame can reload
|
|
1577
|
+
// and would otherwise come back without the flag.
|
|
1578
|
+
this.sendMaskCardNumber();
|
|
1579
|
+
}
|
|
1560
1580
|
if (eventType === 'focused') {
|
|
1561
1581
|
this.isFocused = true;
|
|
1562
1582
|
}
|
|
@@ -1565,8 +1585,91 @@ const IframeInput = /*@__PURE__*/ proxyCustomElement(class IframeInput extends H
|
|
|
1565
1585
|
}
|
|
1566
1586
|
};
|
|
1567
1587
|
}
|
|
1588
|
+
maskCardNumberChanged() {
|
|
1589
|
+
if (this.hasLoaded)
|
|
1590
|
+
this.sendMaskCardNumber();
|
|
1591
|
+
}
|
|
1592
|
+
/**
|
|
1593
|
+
* The <iframe> is created in the LIGHT DOM and slotted in: an iframe inside a
|
|
1594
|
+
* shadow tree is invisible to `window.frames` (spec), so siblings could not
|
|
1595
|
+
* resolve it. The ::part wrappers stay in the shadow tree — theming untouched.
|
|
1596
|
+
*/
|
|
1597
|
+
componentDidLoad() {
|
|
1598
|
+
const iframe = document.createElement('iframe');
|
|
1599
|
+
iframe.setAttribute('name', this.inputId);
|
|
1600
|
+
iframe.setAttribute('width', '100%');
|
|
1601
|
+
// Light-DOM element: merchant CSS reaches it, so pin the box inline.
|
|
1602
|
+
iframe.style.border = '0';
|
|
1603
|
+
iframe.style.display = 'block';
|
|
1604
|
+
iframe.style.width = '100%';
|
|
1605
|
+
iframe.style.boxSizing = 'border-box';
|
|
1606
|
+
iframe.addEventListener('load', () => {
|
|
1607
|
+
iFrameResize({
|
|
1608
|
+
log: false,
|
|
1609
|
+
onResized: () => {
|
|
1610
|
+
this.iframeLoaded.emit();
|
|
1611
|
+
}
|
|
1612
|
+
}, iframe);
|
|
1613
|
+
});
|
|
1614
|
+
this.iframeElement = iframe;
|
|
1615
|
+
this.initializeFrameCommunicationService();
|
|
1616
|
+
iframe.setAttribute('src', this.iframeSrc);
|
|
1617
|
+
this.mountIframe();
|
|
1618
|
+
}
|
|
1619
|
+
/**
|
|
1620
|
+
* Stencil runs componentDidLoad once per instance; a DOM move (framework
|
|
1621
|
+
* reparenting, list reorder) fires disconnected → connected on the same
|
|
1622
|
+
* instance, so the iframe has to be put back by hand.
|
|
1623
|
+
*/
|
|
1624
|
+
connectedCallback() {
|
|
1625
|
+
var _a;
|
|
1626
|
+
if (this.iframeElement && !this.iframeElement.isConnected) {
|
|
1627
|
+
(_a = this.frameService) === null || _a === void 0 ? void 0 : _a.addMessageListener(this.dispatchMessageEvent);
|
|
1628
|
+
this.mountIframe();
|
|
1629
|
+
}
|
|
1630
|
+
}
|
|
1631
|
+
mountIframe() {
|
|
1632
|
+
const root = this.el.getRootNode();
|
|
1633
|
+
// Duck-typed: ShadowRoot is not a global in Stencil's mock-doc.
|
|
1634
|
+
const host = root.nodeType === 11 && root.host ? root.host : null;
|
|
1635
|
+
const iframe = this.iframeElement;
|
|
1636
|
+
if (host) {
|
|
1637
|
+
if (host.getRootNode() !== document) {
|
|
1638
|
+
// A host nested in another shadow tree keeps the iframe out of the
|
|
1639
|
+
// document tree; sibling fields fall back to BroadcastChannel.
|
|
1640
|
+
console.warn(`[justifi] hosted field "${this.inputId}" is inside a nested shadow tree; window.frames cannot reach it`);
|
|
1641
|
+
}
|
|
1642
|
+
// Real <slot> element, not JSX: Stencil's slot polyfill for shadow:false
|
|
1643
|
+
// components would otherwise replace it with a virtual slot.
|
|
1644
|
+
if (!this.wrapperElement.querySelector(`slot[name="${this.inputId}"]`)) {
|
|
1645
|
+
const slot = document.createElement('slot');
|
|
1646
|
+
slot.name = this.inputId;
|
|
1647
|
+
this.wrapperElement.appendChild(slot);
|
|
1648
|
+
}
|
|
1649
|
+
iframe.setAttribute('slot', this.inputId);
|
|
1650
|
+
host.appendChild(iframe);
|
|
1651
|
+
}
|
|
1652
|
+
else {
|
|
1653
|
+
iframe.removeAttribute('slot');
|
|
1654
|
+
this.wrapperElement.appendChild(iframe);
|
|
1655
|
+
}
|
|
1656
|
+
}
|
|
1657
|
+
componentDidRender() {
|
|
1658
|
+
// iframeSrc depends on the iframeInputStyles store, which is filled after
|
|
1659
|
+
// first paint; keep the light-DOM iframe in sync like the old JSX src did.
|
|
1660
|
+
if (this.iframeElement && this.iframeElement.getAttribute('src') !== this.renderedSrc) {
|
|
1661
|
+
this.iframeElement.setAttribute('src', this.renderedSrc);
|
|
1662
|
+
}
|
|
1663
|
+
}
|
|
1568
1664
|
disconnectedCallback() {
|
|
1569
|
-
|
|
1665
|
+
var _a, _b, _c, _d, _e;
|
|
1666
|
+
// Stencil defers this call; on a DOM move the element is already back in
|
|
1667
|
+
// the document (its light-DOM iframe moved with the host), so leave it be.
|
|
1668
|
+
if (this.el.isConnected)
|
|
1669
|
+
return;
|
|
1670
|
+
(_a = this.frameService) === null || _a === void 0 ? void 0 : _a.removeMessageListener(this.dispatchMessageEvent);
|
|
1671
|
+
(_d = (_c = (_b = this.iframeElement) === null || _b === void 0 ? void 0 : _b.iFrameResizer) === null || _c === void 0 ? void 0 : _c.removeListeners) === null || _d === void 0 ? void 0 : _d.call(_c);
|
|
1672
|
+
(_e = this.iframeElement) === null || _e === void 0 ? void 0 : _e.remove();
|
|
1570
1673
|
}
|
|
1571
1674
|
async validate() {
|
|
1572
1675
|
const response = await this.frameService
|
|
@@ -1591,6 +1694,12 @@ const IframeInput = /*@__PURE__*/ proxyCustomElement(class IframeInput extends H
|
|
|
1591
1694
|
this.frameService = new FrameCommunicationService(this.iframeElement, this.iframeOrigin);
|
|
1592
1695
|
(_a = this.frameService) === null || _a === void 0 ? void 0 : _a.addMessageListener(this.dispatchMessageEvent);
|
|
1593
1696
|
}
|
|
1697
|
+
sendMaskCardNumber() {
|
|
1698
|
+
var _a;
|
|
1699
|
+
(_a = this.frameService) === null || _a === void 0 ? void 0 : _a.postMessage(MessageEventType.setMaskCardNumber, {
|
|
1700
|
+
enabled: !!this.maskCardNumber,
|
|
1701
|
+
});
|
|
1702
|
+
}
|
|
1594
1703
|
get part() {
|
|
1595
1704
|
if (this.isFocused && !this.isValid) {
|
|
1596
1705
|
return inputInvalidAndFocused;
|
|
@@ -1622,35 +1731,35 @@ const IframeInput = /*@__PURE__*/ proxyCustomElement(class IframeInput extends H
|
|
|
1622
1731
|
return params;
|
|
1623
1732
|
}
|
|
1624
1733
|
get iframeSrc() {
|
|
1625
|
-
|
|
1734
|
+
// iframeOrigin already carries ?tabId=…; a second '?' would fold the
|
|
1735
|
+
// style params into the tabId value on the iframe side.
|
|
1736
|
+
const separator = this.iframeOrigin.includes('?') ? '&' : '?';
|
|
1737
|
+
return `${this.iframeOrigin}${separator}${this.urlParams}`;
|
|
1626
1738
|
}
|
|
1627
1739
|
render() {
|
|
1628
|
-
|
|
1740
|
+
this.renderedSrc = this.iframeSrc;
|
|
1741
|
+
return (h(Host, { key: '4e4844f10dec9ddcb6f3f4ccaa5ffe7f254f1a33', class: "form-group d-flex flex-column" }, h("div", { key: '65cf8392e8e5925560a2bfa80fb15209ec14e267', style: {
|
|
1629
1742
|
visibility: this.iframeLoaded ? 'visible' : 'hidden',
|
|
1630
1743
|
height: this.iframeLoaded ? 'auto' : '0',
|
|
1631
|
-
} }, h("label", { key: '
|
|
1632
|
-
this.iframeElement = el;
|
|
1633
|
-
this.initializeFrameCommunicationService();
|
|
1634
|
-
}, width: "100%", onLoad: () => {
|
|
1635
|
-
iFrameResize({
|
|
1636
|
-
log: false,
|
|
1637
|
-
onResized: () => {
|
|
1638
|
-
this.iframeLoaded.emit();
|
|
1639
|
-
}
|
|
1640
|
-
}, this.iframeElement);
|
|
1641
|
-
} })), h(FormControlErrorText, { key: 'f5897f95387e6400f35c997b2921a60fb5f4f11b', errorText: this.errorText, name: this.inputId }))));
|
|
1744
|
+
} }, h("label", { key: 'c33c671e062b2d91a6c7dcdc938faa973a320ac8', class: "form-label", htmlFor: "", part: label }, this.label || ''), h("div", { key: 'dd294ff2efac3747af3ec6baa73fc74aaad8b46b', ref: el => (this.wrapperElement = el), class: `p-0 d-flex form-control ${this.isValid ? '' : 'is-invalid'}`, part: this.part, style: Object.assign(Object.assign({}, this.style), { overflow: 'hidden' }) }), h(FormControlErrorText, { key: 'a6a65814a1ba0fcb2ec4eff7f6b334a134763a8e', errorText: this.errorText, name: this.inputId }))));
|
|
1642
1745
|
}
|
|
1643
1746
|
get el() { return this; }
|
|
1644
|
-
|
|
1747
|
+
static get watchers() { return {
|
|
1748
|
+
"maskCardNumber": ["maskCardNumberChanged"]
|
|
1749
|
+
}; }
|
|
1750
|
+
}, [260, "iframe-input", {
|
|
1645
1751
|
"inputId": [1, "input-id"],
|
|
1646
1752
|
"label": [1],
|
|
1647
1753
|
"iframeOrigin": [1, "iframe-origin"],
|
|
1754
|
+
"maskCardNumber": [4, "mask-card-number"],
|
|
1648
1755
|
"isFocused": [32],
|
|
1649
1756
|
"isValid": [32],
|
|
1650
1757
|
"errorText": [32],
|
|
1651
1758
|
"validate": [64],
|
|
1652
1759
|
"tokenize": [64],
|
|
1653
1760
|
"reload": [64]
|
|
1761
|
+
}, undefined, {
|
|
1762
|
+
"maskCardNumber": ["maskCardNumberChanged"]
|
|
1654
1763
|
}]);
|
|
1655
1764
|
function defineCustomElement() {
|
|
1656
1765
|
if (typeof customElements === "undefined") {
|
|
@@ -11,7 +11,7 @@ const InternalButton = /*@__PURE__*/ proxyCustomElement(class InternalButton ext
|
|
|
11
11
|
this.type = 'button';
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Button, { key: '
|
|
14
|
+
return (h(Button, { key: '11cadb5b781ec348014026437735c904aa32e254', variant: this.variant, isLoading: this.isLoading, clickHandler: this.clickHandler, class: this.class, type: this.type, disabled: this.disabled, style: this.customStyle, hidden: this.hidden }, this.text));
|
|
15
15
|
}
|
|
16
16
|
}, [256, "internal-button", {
|
|
17
17
|
"text": [1],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { J as JustifiAnalytics } from './Analytics.js';
|
|
3
|
-
import {
|
|
3
|
+
import { d as detectDuplicateVersion } from './detect-duplicate-version.js';
|
|
4
4
|
import { w as waitForConfig } from './config-state.js';
|
|
5
5
|
import { S as StyledHost } from './styled-host.js';
|
|
6
6
|
import './justifi-details2.js';
|
|
@@ -21,7 +21,7 @@ const JustifiBankAccountBillingFormSimple$1 = /*@__PURE__*/ proxyCustomElement(c
|
|
|
21
21
|
}
|
|
22
22
|
async componentWillLoad() {
|
|
23
23
|
await waitForConfig();
|
|
24
|
-
|
|
24
|
+
detectDuplicateVersion();
|
|
25
25
|
this.analytics = new JustifiAnalytics(this);
|
|
26
26
|
}
|
|
27
27
|
disconnectedCallback() {
|
|
@@ -37,7 +37,7 @@ const JustifiBankAccountBillingFormSimple$1 = /*@__PURE__*/ proxyCustomElement(c
|
|
|
37
37
|
return (_b = (_a = this.bankAccountBillingFormSimpleRef) === null || _a === void 0 ? void 0 : _a.validate()) !== null && _b !== void 0 ? _b : { isValid: false, errors: {} };
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
|
-
return (h(StyledHost, { key: '
|
|
40
|
+
return (h(StyledHost, { key: 'a991c5bf6a8dfac85e274b53a0c4c6388c03f661' }, h("bank-account-billing-form-simple", { key: '0db34cb082719bdb6d5fd62c5976734cc8b0db14', legend: this.legend, ref: (el) => (this.bankAccountBillingFormSimpleRef = el) })));
|
|
41
41
|
}
|
|
42
42
|
}, [257, "justifi-bank-account-billing-form-simple", {
|
|
43
43
|
"legend": [1025],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { d as detectDuplicateVersion } from './detect-duplicate-version.js';
|
|
3
3
|
import { J as JustifiAnalytics } from './Analytics.js';
|
|
4
4
|
import { w as waitForConfig } from './config-state.js';
|
|
5
5
|
import { S as StyledHost } from './styled-host.js';
|
|
@@ -18,10 +18,11 @@ const JustifiBankAccountForm$1 = /*@__PURE__*/ proxyCustomElement(class JustifiB
|
|
|
18
18
|
this.__registerHost();
|
|
19
19
|
}
|
|
20
20
|
this.__attachShadow();
|
|
21
|
+
this.showAccountNumberConfirmation = false;
|
|
21
22
|
}
|
|
22
23
|
async componentWillLoad() {
|
|
23
24
|
await waitForConfig();
|
|
24
|
-
|
|
25
|
+
detectDuplicateVersion();
|
|
25
26
|
this.analytics = new JustifiAnalytics(this);
|
|
26
27
|
}
|
|
27
28
|
disconnectedCallback() {
|
|
@@ -30,7 +31,7 @@ const JustifiBankAccountForm$1 = /*@__PURE__*/ proxyCustomElement(class JustifiB
|
|
|
30
31
|
}
|
|
31
32
|
async validate() {
|
|
32
33
|
if (!this.bankAccountFormElement) {
|
|
33
|
-
return false;
|
|
34
|
+
return { isValid: false };
|
|
34
35
|
}
|
|
35
36
|
return this.bankAccountFormElement.validate();
|
|
36
37
|
}
|
|
@@ -45,9 +46,10 @@ const JustifiBankAccountForm$1 = /*@__PURE__*/ proxyCustomElement(class JustifiB
|
|
|
45
46
|
return this.bankAccountFormElement.tokenize({ clientId, paymentMethodMetadata, account });
|
|
46
47
|
}
|
|
47
48
|
render() {
|
|
48
|
-
return (h(StyledHost, { key: '
|
|
49
|
+
return (h(StyledHost, { key: '3ac1f01cffa56e4ce30214c6290af227dc21fd6f' }, h("bank-account-form", { key: 'd6c194dd830d1ea2cfcbdc0af2c3427aaa7652aa', ref: (el) => (this.bankAccountFormElement = el), showAccountNumberConfirmation: this.showAccountNumberConfirmation })));
|
|
49
50
|
}
|
|
50
51
|
}, [257, "justifi-bank-account-form", {
|
|
52
|
+
"showAccountNumberConfirmation": [4, "show-account-number-confirmation"],
|
|
51
53
|
"validate": [64],
|
|
52
54
|
"tokenize": [64]
|
|
53
55
|
}]);
|
|
@@ -26,7 +26,7 @@ const JustifiBillingFormFull$1 = /*@__PURE__*/ proxyCustomElement(class JustifiB
|
|
|
26
26
|
return (_b = (_a = this.billingFormFullRef) === null || _a === void 0 ? void 0 : _a.validate()) !== null && _b !== void 0 ? _b : { isValid: false, errors: {} };
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (h(StyledHost, { key: '
|
|
29
|
+
return (h(StyledHost, { key: 'bc205e29da4d4db453b558744e5968486ec4816f' }, h("billing-form-full", { key: '624efbdb7660c6634b878c17cad3f34cf802d8e8', legend: this.legend, ref: (el) => (this.billingFormFullRef = el) })));
|
|
30
30
|
}
|
|
31
31
|
}, [257, "justifi-billing-form-full", {
|
|
32
32
|
"legend": [1025],
|
|
@@ -4,7 +4,7 @@ import { B as BusinessService } from './business.service.js';
|
|
|
4
4
|
import { m as makeGetBusiness } from './get-business.js';
|
|
5
5
|
import { C as ComponentErrorSeverity, c as ComponentErrorCodes } from './Plaid.js';
|
|
6
6
|
import { J as JustifiAnalytics } from './Analytics.js';
|
|
7
|
-
import {
|
|
7
|
+
import { d as detectDuplicateVersion } from './detect-duplicate-version.js';
|
|
8
8
|
import { S as StyledHost } from './styled-host.js';
|
|
9
9
|
import { d as defineCustomElement$5 } from './justifi-details2.js';
|
|
10
10
|
import './event-types.js';
|
|
@@ -32,7 +32,7 @@ const JustifiBusinessDetails$1 = /*@__PURE__*/ proxyCustomElement(class JustifiB
|
|
|
32
32
|
this.loading = true;
|
|
33
33
|
}
|
|
34
34
|
componentWillLoad() {
|
|
35
|
-
|
|
35
|
+
detectDuplicateVersion();
|
|
36
36
|
this.analytics = new JustifiAnalytics(this);
|
|
37
37
|
this.initializeGetBusiness();
|
|
38
38
|
}
|
|
@@ -88,7 +88,7 @@ const JustifiBusinessDetails$1 = /*@__PURE__*/ proxyCustomElement(class JustifiB
|
|
|
88
88
|
});
|
|
89
89
|
}
|
|
90
90
|
render() {
|
|
91
|
-
return (h(StyledHost, { key: '
|
|
91
|
+
return (h(StyledHost, { key: '5591589ce180d7102dc3403143556c1302af3fe5' }, this.loading && h(BusinessDetailsLoading, { key: 'c45c978e7b9b1a2e086558be669be4f9c9962965' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage && this.business && (h("justifi-details", { key: 'cbb51e9f2f7ab55573349cb2106949a5ca91833d', errorMessage: this.errorMessage }, h("div", { key: 'c85ae2fd98b56566795383c3a799b9b93853a786', slot: 'detail-sections' }, h("core-info-details", { key: '2a582bf825f75176e680882f05d287b1791a411b', business: this.business }), h("legal-address-details", { key: '3855cc37f98885547c425e7b21f3f153604ca8ee', legalAddress: this.business.legal_address }), h("representative-details", { key: '16b323711a50310012ce46f8d83d2ab8f64e1461', representative: this.business.representative }), h("owner-details", { key: 'fd3609e46477071432a5fa276b84df00d5717f2c', owners: this.business.owners }), h("additional-questions-details", { key: 'b42b0499a259c3e73c91278a5515e2dcf00c3f5f', additionalQuestions: this.business.additional_questions }))))));
|
|
92
92
|
}
|
|
93
93
|
static get watchers() { return {
|
|
94
94
|
"businessId": ["propChanged"],
|
|
@@ -17,7 +17,7 @@ import { H as Header1 } from './header-1.js';
|
|
|
17
17
|
import './justifi-details2.js';
|
|
18
18
|
import './event-types.js';
|
|
19
19
|
import './justifi-radio-list-item2.js';
|
|
20
|
-
import {
|
|
20
|
+
import { d as detectDuplicateVersion } from './detect-duplicate-version.js';
|
|
21
21
|
import { S as Skeleton } from './skeleton.js';
|
|
22
22
|
import { a as BusinessFormClickActions } from './event-types2.js';
|
|
23
23
|
import { m as makeGetBusiness, a as makePatchBusiness } from './payment-provisioning-actions.js';
|
|
@@ -93,7 +93,7 @@ const JustifiBusinessForm$1 = /*@__PURE__*/ proxyCustomElement(class JustifiBusi
|
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
95
|
componentWillLoad() {
|
|
96
|
-
|
|
96
|
+
detectDuplicateVersion();
|
|
97
97
|
this.analytics = new JustifiAnalytics(this);
|
|
98
98
|
this.formController = new FormController(businessFormSchema);
|
|
99
99
|
this.initializeApi();
|
|
@@ -25,7 +25,7 @@ const JustifiCardBillingFormSimple$1 = /*@__PURE__*/ proxyCustomElement(class Ju
|
|
|
25
25
|
return (_b = (_a = this.cardBillingFormSimpleRef) === null || _a === void 0 ? void 0 : _a.validate()) !== null && _b !== void 0 ? _b : { isValid: false, errors: {} };
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return (h(StyledHost, { key: '
|
|
28
|
+
return (h(StyledHost, { key: 'f8cdac6b006bbaf15d7e6b92db8f781afa40899f' }, h("card-billing-form-simple", { key: 'b0973b5459109da5eac937fd0aefbff1c924924c', legend: this.legend, ref: (el) => (this.cardBillingFormSimpleRef = el) })));
|
|
29
29
|
}
|
|
30
30
|
}, [257, "justifi-card-billing-form-simple", {
|
|
31
31
|
"legend": [1025],
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { J as JustifiAnalytics } from './Analytics.js';
|
|
3
|
-
import {
|
|
3
|
+
import { d as detectDuplicateVersion } from './detect-duplicate-version.js';
|
|
4
4
|
import { w as waitForConfig } from './config-state.js';
|
|
5
5
|
import { S as StyledHost } from './styled-host.js';
|
|
6
6
|
import './justifi-details2.js';
|
|
7
7
|
import './event-types.js';
|
|
8
8
|
import './justifi-radio-list-item2.js';
|
|
9
|
+
import { c as checkoutStore } from './checkout.store.js';
|
|
9
10
|
import { d as defineCustomElement$5 } from './card-form2.js';
|
|
10
11
|
import { d as defineCustomElement$4 } from './form-alert2.js';
|
|
11
12
|
import { d as defineCustomElement$3 } from './hidden-input2.js';
|
|
@@ -21,7 +22,7 @@ const JustifiCardForm$1 = /*@__PURE__*/ proxyCustomElement(class JustifiCardForm
|
|
|
21
22
|
}
|
|
22
23
|
async componentWillLoad() {
|
|
23
24
|
await waitForConfig();
|
|
24
|
-
|
|
25
|
+
detectDuplicateVersion();
|
|
25
26
|
this.analytics = new JustifiAnalytics(this);
|
|
26
27
|
}
|
|
27
28
|
disconnectedCallback() {
|
|
@@ -35,9 +36,11 @@ const JustifiCardForm$1 = /*@__PURE__*/ proxyCustomElement(class JustifiCardForm
|
|
|
35
36
|
return this.cardFormElement.tokenize({ clientId, paymentMethodMetadata, account });
|
|
36
37
|
}
|
|
37
38
|
render() {
|
|
38
|
-
|
|
39
|
+
var _a;
|
|
40
|
+
return (h(StyledHost, { key: '49cf4f202b0f327bd8ca4b4b3c892ae6df4a81f6' }, h("card-form", { key: '480abf1238ed4b5bb1edd5362a432639fc9a7fb9', ref: (el) => (this.cardFormElement = el), maskCardNumber: (_a = this.maskCardNumber) !== null && _a !== void 0 ? _a : checkoutStore.maskCardNumber })));
|
|
39
41
|
}
|
|
40
42
|
}, [257, "justifi-card-form", {
|
|
43
|
+
"maskCardNumber": [4, "mask-card-number"],
|
|
41
44
|
"validate": [64],
|
|
42
45
|
"tokenize": [64]
|
|
43
46
|
}]);
|
|
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/i
|
|
|
2
2
|
import { g as getDefaultExportFromCjs } from './_commonjsHelpers.js';
|
|
3
3
|
import { C as ComponentErrorSeverity, c as ComponentErrorCodes } from './Plaid.js';
|
|
4
4
|
import { J as JustifiAnalytics } from './Analytics.js';
|
|
5
|
-
import {
|
|
5
|
+
import { d as detectDuplicateVersion } from './detect-duplicate-version.js';
|
|
6
6
|
|
|
7
7
|
var browser = {};
|
|
8
8
|
|
|
@@ -3085,7 +3085,7 @@ const JustifiCheckoutQrCode = /*@__PURE__*/ proxyCustomElement(class JustifiChec
|
|
|
3085
3085
|
this.size = 256;
|
|
3086
3086
|
}
|
|
3087
3087
|
componentWillLoad() {
|
|
3088
|
-
|
|
3088
|
+
detectDuplicateVersion();
|
|
3089
3089
|
this.analytics = new JustifiAnalytics(this);
|
|
3090
3090
|
}
|
|
3091
3091
|
componentDidLoad() {
|
|
@@ -16,7 +16,7 @@ const JustifiCheckoutSummary = /*@__PURE__*/ proxyCustomElement(class JustifiChe
|
|
|
16
16
|
this.__attachShadow();
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h(StyledHost, { key: '
|
|
19
|
+
return (h(StyledHost, { key: '13d0570e2bdb79d842f9c0a17c7403963ea167c8' }, h("section", { key: 'c15f36caa2a9ebb66c7f0a16393926b643f1bc3b' }, h("div", { key: '1e4e5d32cebb57ceaeb3786a29a9e08c8e83ac80' }, h("div", { key: '42ff5c6ef33654a88858e8ed48e230dd674d1953', part: text }, checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.paymentDescription), h("div", { key: 'c21d5eb012664efdd71e82bf24a88d0fefedad8c' }, h("span", { key: 'a8876afe5d7e993077ed8c4fb140c745d98e9196', part: text }, "Total"), "\u00A0", h("span", { key: 'b81156e9f9240656b51f6ed374db9878bb3137c9', part: text }, formatCurrency(+(checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.totalAmount))))))));
|
|
20
20
|
}
|
|
21
21
|
}, [257, "justifi-checkout-summary"]);
|
|
22
22
|
function defineCustomElement() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { J as JustifiAnalytics } from './Analytics.js';
|
|
3
|
-
import {
|
|
3
|
+
import { d as detectDuplicateVersion } from './detect-duplicate-version.js';
|
|
4
4
|
import { c as checkoutStore } from './checkout.store.js';
|
|
5
5
|
import { ac as checkoutSummary } from './parts.js';
|
|
6
6
|
import { S as StyledHost } from './styled-host.js';
|
|
@@ -57,6 +57,15 @@ const JustifiCheckout$1 = /*@__PURE__*/ proxyCustomElement(class JustifiCheckout
|
|
|
57
57
|
this.disablePaymentMethodGroup = false;
|
|
58
58
|
this.hideBankAccountBillingForm = false;
|
|
59
59
|
this.hideCardBillingForm = false;
|
|
60
|
+
/** Renders a "Confirm Account Number" field in the bank account form. */
|
|
61
|
+
this.showAccountNumberConfirmation = false;
|
|
62
|
+
/**
|
|
63
|
+
* Mask the card number to its last four digits when the field loses focus,
|
|
64
|
+
* with an eye toggle to reveal it. Defaults to false.
|
|
65
|
+
*
|
|
66
|
+
* Anti-shoulder-surfing only, not a secrecy boundary.
|
|
67
|
+
*/
|
|
68
|
+
this.maskCardNumber = false;
|
|
60
69
|
}
|
|
61
70
|
propChanged() {
|
|
62
71
|
this.updateStore();
|
|
@@ -67,7 +76,7 @@ const JustifiCheckout$1 = /*@__PURE__*/ proxyCustomElement(class JustifiCheckout
|
|
|
67
76
|
}
|
|
68
77
|
}
|
|
69
78
|
componentWillLoad() {
|
|
70
|
-
|
|
79
|
+
detectDuplicateVersion();
|
|
71
80
|
this.analytics = new JustifiAnalytics(this);
|
|
72
81
|
}
|
|
73
82
|
disconnectedCallback() {
|
|
@@ -107,9 +116,9 @@ const JustifiCheckout$1 = /*@__PURE__*/ proxyCustomElement(class JustifiCheckout
|
|
|
107
116
|
}
|
|
108
117
|
render() {
|
|
109
118
|
var _a, _b;
|
|
110
|
-
return (h(StyledHost, { key: '
|
|
119
|
+
return (h(StyledHost, { key: '0458037995870159b8fae4036d6b5a4d0d5acd03' }, h("justifi-modular-checkout", { key: '698f0f48e8bd6fd7bf2102ed13308419cab53390', ref: (el) => {
|
|
111
120
|
this.modularCheckoutRef = el;
|
|
112
|
-
}, authToken: this.authToken, checkoutId: this.checkoutId, preCompleteHook: this.preCompleteHook }, h("div", { key: '
|
|
121
|
+
}, authToken: this.authToken, checkoutId: this.checkoutId, preCompleteHook: this.preCompleteHook }, h("div", { key: '71c1ff8052866846cd898e9068fe030bd938958a', class: "row gy-3 jfi-checkout-core" }, h("div", { key: '9721762b2b13d5a06911c5bb43f6c5c987ad724d', class: "col-12", part: checkoutSummary }, h("justifi-header", { key: 'bc9728f87907b00d2a80bdc0503547f08af135f4', text: "Summary", level: "h2", class: "fs-5 fw-bold pb-3" }), h("section", { key: '210d0455eb21b1471ae5cea863a98804677b8de2' }, h("justifi-checkout-summary", { key: '9e620e15ebd88ccf028930498981d6cddd18143b' }))), h("div", { key: '0c0a66263e8da3f387fb0df78a35df6b79506f94', class: "col-12 mt-4" }, h("slot", { key: 'aaa920ceb1af4b1aba963dc2c050dcafc6b2ecc3', name: "insurance" })), h("div", { key: 'b1f39a2a4bdf421e8db41a9e47d6a02298a22566', class: "col-12 mt-4" }, h("justifi-header", { key: 'da5ef3e4baa203c17bd3549b796854cf5d70bcd3', text: "Payment", level: "h2", class: "fs-5 fw-bold pb-3" }), this.showPaymentTypeHeader && (h("justifi-header", { key: '37844f9005aca58bf4670b164f42b19ed1d057f0', text: "Select payment type", level: "h3", class: "fs-6 fw-bold lh-lg" })), h("div", { key: 'bbbff8e463752aaed1c46feb71bc984c359558c6', class: "d-flex flex-column" }, h("section", { key: '6b4d3d5484a01d508abfc859c57c2407bc85e589' }, h("div", { key: '89a788a45217da8b919f1d8e6d1b091ab44557cb' }, this.availablePaymentMethods.includes(PAYMENT_METHODS.APPLE_PAY) && (h("div", { key: '7b80b067d959b52ed86474ece9fdfa589945c816', class: "mb-3" }, h("justifi-apple-pay", { key: 'a7ff1ca0f3e00e91811f833dfc1c9f39b961cc76' }))), this.availablePaymentMethods.includes(PAYMENT_METHODS.GOOGLE_PAY) && (h("div", { key: 'a17235c7cd09f07a6c3ff765cfd4d1cd54a7605d', class: "mb-3" }, h("justifi-google-pay", Object.assign({ key: '602884b27b43a7a6848d390162e85a5c1fce973e', ref: (el) => (this.googlePayRef = el) }, (this.googlePayEnv != null ? { environment: this.googlePayEnv } : {}))))), this.availablePaymentMethods.includes(PAYMENT_METHODS.PAYPAL) && (h("div", { key: '38d3a64129e042cf5ab96ed3dddcb12f23015c5a', class: "mb-3" }, h("justifi-paypal", { key: '68dd2d65a1a4fa293a4145ef032022cf57196df4' }))), h("justifi-saved-payment-methods", { key: '6a87a633c879e700a671cb71e948128338a4c543' }), this.availablePaymentMethods.includes(PAYMENT_METHODS.SEZZLE) && !this.disableBnpl && (h("justifi-radio-list-item", { key: 'ea96bafc139515bf352dfcef3e7aa25e9d7d1406', name: "paymentMethodType", value: PAYMENT_METHODS.SEZZLE, checked: ((_a = checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.selectedPaymentMethod) === null || _a === void 0 ? void 0 : _a.type) === PAYMENT_METHODS.SEZZLE, label: h("justifi-sezzle-payment-method", { ref: (el) => (this.sezzlePaymentMethodRef = el) }), "onRadio-click": () => { var _a; (_a = this.sezzlePaymentMethodRef) === null || _a === void 0 ? void 0 : _a.handleSelectionClick(); } })), this.availablePaymentMethods.includes(PAYMENT_METHODS.PLAID) && (h("justifi-radio-list-item", { key: 'f872c215b1d45c8ca594756fbcd296dbcff923a0', name: "paymentMethodType", value: PAYMENT_METHODS.PLAID, checked: ((_b = checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.selectedPaymentMethod) === null || _b === void 0 ? void 0 : _b.type) === PAYMENT_METHODS.PLAID, label: h("justifi-plaid-payment-method", { ref: (el) => (this.plaidPaymentMethodRef = el) }), "onRadio-click": () => { var _a; (_a = this.plaidPaymentMethodRef) === null || _a === void 0 ? void 0 : _a.handleSelectionClick(); } })), h("justifi-tokenize-payment-method", { key: '61354ab52513d256ca2eb29bee7403383981f487', ref: (el) => (this.tokenizePaymentMethodRef = el), authToken: this.authToken, accountId: checkoutStore.accountId, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, hideSubmitButton: true, paymentMethodGroupId: checkoutStore.paymentMethodGroupId, showAccountNumberConfirmation: this.showAccountNumberConfirmation, maskCardNumber: this.maskCardNumber }))))), h("div", { key: '87d0deb5342edf49d830df949cae666450e45404', class: "mt-4" }, h("justifi-button", { key: '0f8fa093c3442139604943768e0692370dfb7aba', text: "Pay", type: "submit", variant: "primary", clickHandler: (e) => this.submit(e), disabled: checkoutStore.isSubmitting || checkoutStore.isWalletProcessing, isLoading: checkoutStore.isSubmitting || checkoutStore.isWalletProcessing, customStyle: { width: '100%', textAlign: "center" } }))))));
|
|
113
122
|
}
|
|
114
123
|
static get watchers() { return {
|
|
115
124
|
"authToken": ["propChanged"],
|
|
@@ -129,6 +138,8 @@ const JustifiCheckout$1 = /*@__PURE__*/ proxyCustomElement(class JustifiCheckout
|
|
|
129
138
|
"hideCardBillingForm": [4, "hide-card-billing-form"],
|
|
130
139
|
"googlePayEnv": [1, "google-pay-env"],
|
|
131
140
|
"preCompleteHook": [16],
|
|
141
|
+
"showAccountNumberConfirmation": [4, "show-account-number-confirmation"],
|
|
142
|
+
"maskCardNumber": [4, "mask-card-number"],
|
|
132
143
|
"availablePaymentMethods": [32],
|
|
133
144
|
"checkout": [32],
|
|
134
145
|
"complete": [32],
|
|
@@ -72,8 +72,8 @@ const JustifiCheckoutsListFilters$1 = /*@__PURE__*/ proxyCustomElement(class Jus
|
|
|
72
72
|
}
|
|
73
73
|
render() {
|
|
74
74
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
75
|
-
return (h(StyledHost, { key: '
|
|
76
|
-
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: '
|
|
75
|
+
return (h(StyledHost, { key: 'a84f587608b49683633b26d23e548b576c5daba3' }, h("table-filters-menu", { key: 'd7a43576bb803d706755ce9deafda5f8732540c1', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: '6ce5861f974a8d2c7bc5bcb03b7b0df60e10d780', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '492714a0263fb27222e17794a640e3855c9ba6e1', class: "p-2" }, h("form-control-text", { key: '357b10f4f290c9500fb5fe24e4bc97ea80511e2c', name: "checkout_id", label: "Checkout ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.checkoutId || filterParams.checkout_id, disabled: !!this.checkoutId, part: filterParam })), h("div", { key: 'cc8535898de01f417080c984ed53f1582848fd74', class: "p-2" }, h("form-control-text", { key: '37aa831598c6496af4fd358f94c54a118f309d82', name: "successful_payment_id", label: "Successful Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.successfulPaymentId || filterParams.successful_payment_id, disabled: !!this.successfulPaymentId, part: filterParam })), h("div", { key: '751c3f3b60b0140b9eb954de3a0e94f5feb6075f', class: "p-2" }, h("form-control-select", { key: 'afa69abd4be56a27d0cafce1508a7edeb119d7b0', name: "status", label: "Status", options: this.checkoutStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.checkoutStatus || filterParams.status || '', disabled: !!this.checkoutStatus, part: filterParam })), h("div", { key: '86c4e7121a67e4ef1bb96fcb6ccbe9a900378556', class: "p-2" }, h("form-control-select", { key: 'eaa9e1b1214fb3955de0f0421760da4bf1a773a2', name: "payment_mode", label: "Payment Mode", options: this.checkoutPaymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentMode || filterParams.payment_mode || '', disabled: !!this.paymentMode, part: filterParam })), h("div", { key: '8f28caa07d711135223507f1864343531d451a15', class: "p-2" }, h("form-control-date", { key: '038141b8b8fc669cca8c849d23cba1a7e2f1d5aa', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
|
|
76
|
+
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: 'ddb442863d596de25c392d14b8fb364db3afdaec', class: "p-2" }, h("form-control-date", { key: 'cee1d9337dd5f6f9c258892f89573a2b07c2180c', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
|
|
77
77
|
convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: filterParam }))))));
|
|
78
78
|
}
|
|
79
79
|
}, [257, "justifi-checkouts-list-filters", {
|
|
@@ -6,7 +6,7 @@ import { p as pagingDefaults } from './Pagination.js';
|
|
|
6
6
|
import './Business.js';
|
|
7
7
|
import './ApplePay.js';
|
|
8
8
|
import { g as getErrorCode, a as getErrorMessage } from './utils3.js';
|
|
9
|
-
import {
|
|
9
|
+
import { d as detectDuplicateVersion } from './detect-duplicate-version.js';
|
|
10
10
|
import { J as JustifiAnalytics } from './Analytics.js';
|
|
11
11
|
import { C as CheckoutService } from './checkout.service.js';
|
|
12
12
|
import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts.js';
|
|
@@ -127,7 +127,7 @@ const JustifiCheckoutsList$1 = /*@__PURE__*/ proxyCustomElement(class JustifiChe
|
|
|
127
127
|
};
|
|
128
128
|
}
|
|
129
129
|
componentWillLoad() {
|
|
130
|
-
|
|
130
|
+
detectDuplicateVersion();
|
|
131
131
|
this.analytics = new JustifiAnalytics(this);
|
|
132
132
|
this.checkoutsTable = new Table(this.checkouts, this.columns, checkoutTableColumns, checkoutTableCells);
|
|
133
133
|
this.initializeGetData();
|
|
@@ -269,8 +269,8 @@ const JustifiCheckoutsList$1 = /*@__PURE__*/ proxyCustomElement(class JustifiChe
|
|
|
269
269
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
270
270
|
}
|
|
271
271
|
render() {
|
|
272
|
-
return (h(StyledHost, { key: '
|
|
273
|
-
this.checkoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '
|
|
272
|
+
return (h(StyledHost, { key: '5c72630838781f32e31d44510c9793ef71d863cd' }, h(TableWrapper, { key: '01c4456bfc252a55de1351bd54500ab6f9d22d2e' }, h(TableComponent, { key: '2a69c5b2d27caf1a648efed450e8eadf583e3858' }, h(TableHead, { key: 'f524af14960a68a035eb75cfa7d2c6255d0e0de3' }, h(TableHeadRow, { key: '2cbf9ac9228aa770da72e9d3d618e61094bb65b6' }, this.checkoutsTable.columnData.map((column) => column))), h(TableBody, { key: '2c246fa63dd49ff4bf4a29a25717d4191a904443' }, h(TableLoadingState, { key: '83fcebd9b8775ec50b614925ad2c153d6ac1888a', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'a37d1f0001e1c5f793eda759f82e58e42be49321', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: '57cb26d7929f007ae9e14faf63b29b06b3097828', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData &&
|
|
273
|
+
this.checkoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: 'edd82eb558b69329970c93f207f840cca8de2884' }, h(TableFootRow, { key: 'deed2dee3d311b76888003cbeffd00c5397cc6c8' }, h(TableFootCell, { key: 'b9845ccc21e916ccef0c3f3dba37e1187c80769d', colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: '7af1644ff5e5cb8a2ca68705f481f5991c7a09b2', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
274
274
|
}
|
|
275
275
|
static get watchers() { return {
|
|
276
276
|
"accountId": ["authPropChanged"],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { D as Dispute, C as ComponentErrorSeverity, c as ComponentErrorCodes, l as DisputeStatus } 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 { g as getErrorCode, a as getErrorMessage } from './utils3.js';
|
|
6
6
|
import { D as DisputeManagementClickActions, a as DisputeService } from './event-types3.js';
|
|
7
7
|
import { S as StyledHost } from './styled-host.js';
|
|
@@ -91,7 +91,7 @@ const JustifiDisputeManagement$1 = /*@__PURE__*/ proxyCustomElement(class Justif
|
|
|
91
91
|
this.fetchData();
|
|
92
92
|
}
|
|
93
93
|
componentWillLoad() {
|
|
94
|
-
|
|
94
|
+
detectDuplicateVersion();
|
|
95
95
|
this.analytics = new JustifiAnalytics(this);
|
|
96
96
|
this.initializeGetDispute();
|
|
97
97
|
}
|
|
@@ -146,7 +146,7 @@ const JustifiDisputeManagement$1 = /*@__PURE__*/ proxyCustomElement(class Justif
|
|
|
146
146
|
});
|
|
147
147
|
}
|
|
148
148
|
render() {
|
|
149
|
-
return (h(StyledHost, { key: '
|
|
149
|
+
return (h(StyledHost, { key: '536b3342783fa8e51a46da6d44ec403ffdd39bcf' }, h("div", { key: 'b365ed8379080dbe949065e4c2101c288da498c5' }, this.showDisputeResponseForm ? (h("dispute-response", { disputeId: this.disputeId, disputeResponse: this.dispute.dispute_response, authToken: this.authToken })) : (h("dispute-notification", { dispute: this.dispute, authToken: this.authToken, isLoading: this.isLoading })))));
|
|
150
150
|
}
|
|
151
151
|
static get watchers() { return {
|
|
152
152
|
"disputeId": ["propChanged"],
|
|
@@ -7,7 +7,7 @@ import './ApplePay.js';
|
|
|
7
7
|
import { g as getErrorCode, a as getErrorMessage } from './utils3.js';
|
|
8
8
|
import { E as ErrorState } from './utils.js';
|
|
9
9
|
import { J as JustifiAnalytics } from './Analytics.js';
|
|
10
|
-
import {
|
|
10
|
+
import { d as detectDuplicateVersion } from './detect-duplicate-version.js';
|
|
11
11
|
import { b as formatCurrency, o as formatDisplayDate } from './utils2.js';
|
|
12
12
|
import { S as Spinner } from './spinner.js';
|
|
13
13
|
import { S as StyledHost } from './styled-host.js';
|
|
@@ -11069,7 +11069,7 @@ const JustifiGrossPaymentChart$1 = /*@__PURE__*/ proxyCustomElement(class Justif
|
|
|
11069
11069
|
this.wrapperErrorMessage = null;
|
|
11070
11070
|
}
|
|
11071
11071
|
componentWillLoad() {
|
|
11072
|
-
|
|
11072
|
+
detectDuplicateVersion();
|
|
11073
11073
|
this.analytics = new JustifiAnalytics(this);
|
|
11074
11074
|
this.initializeGetGrossPayment();
|
|
11075
11075
|
}
|