@justifi/webcomponents 4.19.3-rc-2 → 4.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{Analytics-adc90fc6.js → Analytics-03981aad.js} +4 -3
- package/dist/cjs/{Api-3bc6e43f.js → Api-b98b256f.js} +3 -3
- package/dist/cjs/{Business-aacbe893.js → Business-aa799fec.js} +104 -9
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +1 -1
- package/dist/cjs/{business-additional-questions-schema-cf545610.js → business-additional-questions-schema-26b0eecb.js} +1 -1
- package/dist/cjs/business-details-core.cjs.entry.js +1 -1
- package/dist/cjs/{business-form-options-582467fe.js → business-form-options-5db0bd5e.js} +2 -2
- package/dist/cjs/{payload-parsers-1cbc3b57.js → business-identity-schema-503ecb77.js} +1 -47
- package/dist/cjs/{business.service-090a21e1.js → business.service-031c0084.js} +7 -6
- package/dist/cjs/check-pkg-version-89d6d146.js +24 -0
- package/dist/cjs/config-05767cba.js +15 -0
- package/dist/cjs/custom-popper.cjs.entry.js +1894 -0
- package/dist/cjs/form-alert_5.cjs.entry.js +2 -2
- package/dist/cjs/form-control-checkbox_9.cjs.entry.js +26 -26
- package/dist/cjs/form-control-date_3.cjs.entry.js +4 -4
- package/dist/cjs/form-control-error-text_4.cjs.entry.js +9 -9
- package/dist/cjs/{get-payout-csv-238e839a.js → get-payout-csv-3a3260ec.js} +5 -4
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +15 -14
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +6 -5
- package/dist/cjs/justifi-billing-form_2.cjs.entry.js +4 -4
- package/dist/cjs/justifi-business-details.cjs.entry.js +8 -5
- package/dist/cjs/justifi-business-form.cjs.entry.js +17 -14
- package/dist/cjs/justifi-card-form.cjs.entry.js +6 -5
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +5 -5
- package/dist/cjs/justifi-checkout.cjs.entry.js +10 -7
- package/dist/cjs/justifi-details.cjs.entry.js +1 -1
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +7 -4
- package/dist/cjs/justifi-new-payment-method_4.cjs.entry.js +10 -12
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +12 -11
- package/dist/cjs/justifi-payment-details.cjs.entry.js +7 -4
- package/dist/cjs/justifi-payment-form.cjs.entry.js +11 -8
- package/dist/cjs/justifi-payment-method-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +9 -6
- package/dist/cjs/justifi-payments-list.cjs.entry.js +7 -4
- package/dist/cjs/justifi-payout-details.cjs.entry.js +7 -4
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +7 -4
- package/dist/cjs/justifi-refund-form.cjs.entry.js +5 -4
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +9 -6
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-22d30c5d.js → package-7fdd14b9.js} +4 -2
- package/dist/cjs/payment-details-core.cjs.entry.js +2 -2
- package/dist/cjs/{payment.service-c92635c8.js → payment.service-4b1c0a20.js} +4 -3
- package/dist/cjs/payments-list-core.cjs.entry.js +18 -13
- package/dist/cjs/payments-list-filters_2.cjs.entry.js +17266 -0
- package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
- package/dist/cjs/payouts-list-core.cjs.entry.js +4 -4
- package/dist/cjs/{schema-validations-2733de42.js → schema-validations-0a7e46a3.js} +1 -1
- package/dist/cjs/styled-host-9e0b67b3.js +14 -0
- package/dist/cjs/{utils-89d86e29.js → utils-af1b60a9.js} +0 -16
- package/dist/cjs/utils-f8a6962c.js +25 -0
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/Api.js +3 -3
- package/dist/collection/api/Business.js +66 -7
- package/dist/collection/api/Identity.js +39 -3
- package/dist/collection/api/services/analytics.service.js +2 -1
- package/dist/collection/api/services/business.service.js +6 -5
- package/dist/collection/api/services/checkout.service.js +3 -2
- package/dist/collection/api/services/insurance.service.js +3 -2
- package/dist/collection/api/services/payment.service.js +3 -2
- package/dist/collection/api/services/payout.service.js +4 -3
- package/dist/collection/api/services/provision.service.js +2 -1
- package/dist/collection/api/services/reports.service.js +2 -1
- package/dist/collection/collection-manifest.json +4 -1
- package/dist/collection/components/bank-account-form/bank-account-form.js +4 -3
- package/dist/collection/components/business-details/business-details.js +2 -0
- package/dist/collection/components/business-forms/business-form/business-form.js +7 -5
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +4 -5
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +3 -3
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +4 -3
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +3 -5
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +3 -3
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +3 -4
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +4 -3
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +3 -4
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +3 -1
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +4 -3
- package/dist/collection/components/business-forms/utils/business-form-options.js +1 -1
- package/dist/collection/components/card-form/card-form.js +4 -3
- package/dist/collection/components/checkout/checkout-core.js +4 -4
- package/dist/collection/components/checkout/checkout.js +4 -2
- package/dist/collection/components/checkout/new-payment-method.js +4 -6
- package/dist/collection/components/checkout/payment-method-options.js +4 -3
- package/dist/collection/components/checkout/saved-payment-method.js +4 -3
- package/dist/collection/components/checkout/sezzle-payment-method.js +4 -3
- package/dist/collection/components/form/form-control-date.js +26 -28
- package/dist/collection/components/form/form-control-select.js +45 -45
- package/dist/collection/components/form/form-control-text.js +34 -34
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +2 -0
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +3 -1
- package/dist/collection/components/payment-details/payment-details.js +2 -0
- package/dist/collection/components/payment-form/payment-form.js +6 -3
- package/dist/collection/components/payments-list/payments-list-core.js +14 -9
- package/dist/collection/components/payments-list/payments-list-filters.js +84 -0
- package/dist/collection/components/payments-list/payments-list.js +2 -0
- package/dist/collection/components/payout-details/payout-details-core.js +1 -1
- package/dist/collection/components/payout-details/payout-details.js +2 -0
- package/dist/collection/components/payouts-list/payouts-list-core.js +2 -2
- package/dist/collection/components/payouts-list/payouts-list.js +2 -0
- package/dist/collection/components/refund-form/refund-form.js +3 -2
- package/dist/collection/ui-components/custom-popper/custom-popper.js +239 -0
- package/dist/collection/ui-components/filters/table-filters-menu.js +89 -0
- package/dist/collection/ui-components/filters/utils.js +20 -0
- package/dist/collection/utils/check-pkg-version.js +19 -0
- package/dist/config.js +11 -0
- package/dist/docs.json +531 -27
- package/dist/{webcomponents/p-15eafa87.js → esm/Analytics-3103f8e9.js} +4 -3
- package/dist/esm/{Api-b09a2f6a.js → Api-c8abc2e0.js} +3 -3
- package/dist/esm/{Business-e218b4f4.js → Business-b73d5055.js} +104 -9
- package/dist/esm/additional-questions-details_5.entry.js +1 -1
- package/dist/esm/{business-additional-questions-schema-956e3caf.js → business-additional-questions-schema-a5583cf8.js} +1 -1
- package/dist/esm/business-details-core.entry.js +1 -1
- package/dist/esm/{business-form-options-7a9a74fc.js → business-form-options-d790973e.js} +2 -2
- package/dist/esm/{payload-parsers-acb719d1.js → business-identity-schema-9e3269fb.js} +2 -44
- package/dist/esm/{business.service-37d0cc72.js → business.service-1f589b6e.js} +7 -6
- package/dist/esm/check-pkg-version-44e6ad15.js +22 -0
- package/dist/esm/config-27764a9d.js +13 -0
- package/dist/esm/custom-popper.entry.js +1890 -0
- package/dist/esm/form-alert_5.entry.js +2 -2
- package/dist/esm/form-control-checkbox_9.entry.js +21 -21
- package/dist/esm/form-control-date_3.entry.js +4 -4
- package/dist/esm/form-control-error-text_4.entry.js +9 -9
- package/dist/esm/{get-payout-csv-a702a0d9.js → get-payout-csv-93427146.js} +5 -4
- package/dist/esm/gross-payment-chart-core.entry.js +1 -1
- package/dist/esm/justifi-additional-questions-form-step_10.entry.js +15 -14
- package/dist/esm/justifi-bank-account-form.entry.js +6 -5
- package/dist/esm/justifi-billing-form_2.entry.js +4 -4
- package/dist/esm/justifi-business-details.entry.js +8 -5
- package/dist/esm/justifi-business-form.entry.js +16 -13
- package/dist/esm/justifi-card-form.entry.js +6 -5
- package/dist/esm/justifi-checkout-core.entry.js +5 -5
- package/dist/esm/justifi-checkout.entry.js +10 -7
- package/dist/esm/justifi-details.entry.js +1 -1
- package/dist/esm/justifi-gross-payment-chart.entry.js +7 -4
- package/dist/esm/justifi-new-payment-method_4.entry.js +10 -12
- package/dist/esm/justifi-owner-form_3.entry.js +11 -10
- package/dist/esm/justifi-payment-details.entry.js +7 -4
- package/dist/esm/justifi-payment-form.entry.js +11 -8
- package/dist/esm/justifi-payment-method-form.entry.js +2 -2
- package/dist/esm/justifi-payment-provisioning-core.entry.js +1 -1
- package/dist/esm/justifi-payment-provisioning.entry.js +9 -6
- package/dist/esm/justifi-payments-list.entry.js +7 -4
- package/dist/esm/justifi-payout-details.entry.js +7 -4
- package/dist/esm/justifi-payouts-list.entry.js +7 -4
- package/dist/esm/justifi-refund-form.entry.js +5 -4
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +2 -2
- package/dist/esm/justifi-season-interruption-insurance.entry.js +9 -6
- package/dist/esm/loader.js +1 -1
- package/dist/{webcomponents/p-2e8f4937.js → esm/package-0e3cc41e.js} +4 -2
- package/dist/esm/payment-details-core.entry.js +2 -2
- package/dist/esm/{payment.service-9359fe15.js → payment.service-02c596b9.js} +4 -3
- package/dist/esm/payments-list-core.entry.js +16 -11
- package/dist/esm/payments-list-filters_2.entry.js +17261 -0
- package/dist/esm/payout-details-core.entry.js +3 -3
- package/dist/esm/payouts-list-core.entry.js +4 -4
- package/dist/esm/{schema-validations-a83ff220.js → schema-validations-e725d701.js} +2 -2
- package/dist/esm/styled-host-3171ae1f.js +12 -0
- package/dist/esm/utils-3a4d8f3a.js +22 -0
- package/dist/{webcomponents/p-83125497.js → esm/utils-e66d8bca.js} +1 -16
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Analytics.js +2 -1
- package/dist/module/Api.js +3 -3
- package/dist/module/Business.js +104 -9
- package/dist/module/business-additional-questions-form-step-core.js +3 -3
- package/dist/module/business-bank-account-form-step.js +4 -3
- package/dist/module/business-core-info-form-step-core.js +3 -5
- package/dist/module/business-document-upload-form-step.js +4 -3
- package/dist/module/business-document-upload-input-group.js +1 -1
- package/dist/module/business-documents-on-file.js +1 -1
- package/dist/module/business-form-options.js +1 -1
- package/dist/module/business-owners-form-step-core.js +3 -3
- package/dist/module/business-representative-form-step-core.js +3 -4
- package/dist/module/business-terms-conditions-form-step.js +4 -3
- package/dist/module/business.service.js +6 -5
- package/dist/module/check-pkg-version.js +22 -0
- package/dist/module/checkout-core.js +3 -3
- package/dist/module/config.js +13 -0
- package/dist/module/custom-popper.d.ts +11 -0
- package/dist/module/custom-popper.js +6 -0
- package/dist/module/custom-popper2.js +1912 -0
- package/dist/module/form-control-date2.js +7 -7
- package/dist/module/form-control-select2.js +9 -9
- package/dist/module/form-control-text2.js +7 -7
- package/dist/module/get-payout-csv.js +4 -3
- package/dist/module/justifi-bank-account-form.js +3 -2
- package/dist/module/justifi-business-details.js +2 -0
- package/dist/module/justifi-business-form.js +7 -5
- package/dist/module/justifi-card-form.js +3 -2
- package/dist/module/justifi-checkout.js +7 -4
- package/dist/module/justifi-gross-payment-chart.js +4 -1
- package/dist/module/justifi-payment-details.js +2 -0
- package/dist/module/justifi-payment-form.js +6 -3
- package/dist/module/justifi-payment-provisioning.js +5 -2
- package/dist/module/justifi-payments-list.js +42 -10
- package/dist/module/justifi-payout-details.js +2 -0
- package/dist/module/justifi-payouts-list.js +2 -0
- package/dist/module/justifi-refund-form.js +3 -2
- package/dist/module/justifi-season-interruption-insurance.js +6 -3
- package/dist/module/legal-address-form-step-core.js +3 -4
- package/dist/module/new-payment-method.js +3 -5
- package/dist/module/owner-form-core2.js +4 -5
- package/dist/module/package.js +4 -2
- package/dist/module/payment-details-core2.js +1 -1
- package/dist/module/payment-method-options.js +3 -2
- package/dist/module/payment.service.js +3 -2
- package/dist/module/payments-list-core2.js +52 -18
- package/dist/module/payments-list-filters.d.ts +11 -0
- package/dist/module/payments-list-filters.js +6 -0
- package/dist/module/payments-list-filters2.js +17294 -0
- package/dist/module/payout-details-core2.js +2 -2
- package/dist/module/payouts-list-core2.js +3 -3
- package/dist/module/saved-payment-method.js +4 -3
- package/dist/module/sezzle-payment-method.js +3 -2
- package/dist/module/styled-host.js +1 -1
- package/dist/module/table-filters-menu.d.ts +11 -0
- package/dist/module/table-filters-menu.js +6 -0
- package/dist/module/table-filters-menu2.js +80 -0
- package/dist/module/utils2.js +1 -16
- package/dist/types/api/Business.d.ts +87 -1
- package/dist/types/api/Identity.d.ts +45 -1
- package/dist/types/api/Payment.d.ts +8 -0
- package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +44 -1
- package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.d.ts +11 -1
- package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +11 -1
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +24 -1
- package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +11 -1
- package/dist/types/components/checkout/new-payment-method.d.ts +0 -1
- package/dist/types/components/form/form-control-date.d.ts +4 -4
- package/dist/types/components/form/form-control-select.d.ts +6 -6
- package/dist/types/components/form/form-control-text.d.ts +4 -4
- package/dist/types/components/payments-list/payments-list-core.d.ts +6 -5
- package/dist/types/components/payments-list/payments-list-filters.d.ts +13 -0
- package/dist/types/components.d.ts +89 -10
- package/dist/types/home/runner/work/web-component-library/web-component-library/packages/webcomponents/.stencil/packages/webcomponents/config.d.ts +11 -0
- package/dist/types/ui-components/custom-popper/custom-popper.d.ts +21 -0
- package/dist/types/ui-components/filters/table-filters-menu.d.ts +11 -0
- package/dist/types/ui-components/filters/utils.d.ts +2 -0
- package/dist/types/utils/check-pkg-version.d.ts +1 -0
- package/dist/webcomponents/index.esm.js +0 -1
- package/dist/webcomponents/p-056e75be.entry.js +1 -0
- package/dist/webcomponents/p-05718341.entry.js +1 -0
- package/dist/webcomponents/p-08b0fb31.js +1 -41
- package/dist/webcomponents/p-0de026dd.entry.js +1 -0
- package/dist/webcomponents/p-0e84986e.entry.js +10 -0
- package/dist/webcomponents/p-0f7b9555.entry.js +1 -0
- package/dist/webcomponents/p-14c91ffd.js +1 -20
- package/dist/webcomponents/p-1612894d.js +1 -0
- package/dist/webcomponents/p-1815a43b.js +1 -0
- package/dist/webcomponents/p-1ad5995e.js +1 -3599
- package/dist/webcomponents/p-1eee25f3.entry.js +19 -0
- package/dist/webcomponents/p-1ff8810b.js +1 -29
- package/dist/webcomponents/p-20dafb46.entry.js +1 -0
- package/dist/webcomponents/p-2338affa.js +1 -213
- package/dist/webcomponents/p-277aee05.js +1 -0
- package/dist/webcomponents/p-2b6c9c4f.js +1 -7
- package/dist/webcomponents/p-2c51d29f.js +1 -0
- package/dist/webcomponents/p-2eab3c90.js +1 -3052
- package/dist/webcomponents/p-3a1f19f3.entry.js +1 -0
- package/dist/webcomponents/p-3c7fac29.entry.js +1 -0
- package/dist/webcomponents/p-401d6607.js +1 -0
- package/dist/webcomponents/p-428e9b64.entry.js +1 -0
- package/dist/webcomponents/p-430f81c6.entry.js +1 -0
- package/dist/webcomponents/p-437f9114.js +1 -0
- package/dist/webcomponents/p-44055818.js +1 -0
- package/dist/webcomponents/p-4628cc9b.entry.js +1 -0
- package/dist/webcomponents/p-4cc9df76.entry.js +1 -0
- package/dist/webcomponents/p-5022f21c.js +1 -0
- package/dist/webcomponents/p-525db3e8.js +1 -22
- package/dist/webcomponents/p-55182a59.js +1 -0
- package/dist/webcomponents/p-5540a47c.entry.js +1 -0
- package/dist/webcomponents/p-56f6ce4c.js +1 -10
- package/dist/webcomponents/p-570a0f02.entry.js +1 -0
- package/dist/webcomponents/p-5968ff8a.js +1 -178
- package/dist/webcomponents/p-59cf5391.entry.js +1 -0
- package/dist/webcomponents/p-5a62fca2.js +1 -0
- package/dist/webcomponents/p-5e2c9ec8.js +1 -0
- package/dist/webcomponents/p-5e7c60d8.js +1 -0
- package/dist/webcomponents/p-6078a370.js +1 -244
- package/dist/webcomponents/p-6ac806ff.entry.js +1 -0
- package/dist/webcomponents/p-7bdffc78.entry.js +1 -0
- package/dist/webcomponents/p-7d3be485.js +1 -0
- package/dist/webcomponents/p-7d85af5c.js +1 -16
- package/dist/webcomponents/p-7ddfce86.entry.js +1 -0
- package/dist/webcomponents/p-7fe67d7f.entry.js +1 -0
- package/dist/webcomponents/p-7ff329b1.js +1 -0
- package/dist/webcomponents/p-804c0f1f.entry.js +1 -0
- package/dist/webcomponents/p-8115b2f4.js +1 -28
- package/dist/webcomponents/p-8281f09a.js +1 -0
- package/dist/webcomponents/p-8921a478.entry.js +1 -0
- package/dist/webcomponents/p-8a7112a0.entry.js +1 -0
- package/dist/webcomponents/p-8c83b73e.entry.js +1 -0
- package/dist/webcomponents/p-8d03a7bd.entry.js +1 -0
- package/dist/webcomponents/p-8df7bde8.js +1 -27
- package/dist/webcomponents/p-938bf2b4.entry.js +1 -0
- package/dist/webcomponents/p-9b154d98.entry.js +1 -0
- package/dist/webcomponents/p-9c9c7dac.js +1 -24
- package/dist/webcomponents/p-ad47f37c.entry.js +1 -0
- package/dist/webcomponents/p-aedb421f.entry.js +1 -0
- package/dist/webcomponents/p-b14da2fd.entry.js +1 -0
- package/dist/webcomponents/p-bbed6107.entry.js +1 -0
- package/dist/webcomponents/p-bdc91c61.entry.js +1 -0
- package/dist/webcomponents/p-c64ce69d.entry.js +1 -0
- package/dist/webcomponents/p-d76002d5.entry.js +1 -0
- package/dist/webcomponents/p-d8355f91.entry.js +1 -0
- package/dist/webcomponents/p-d89bad72.js +1 -39
- package/dist/webcomponents/p-da1d174d.entry.js +1 -0
- package/dist/webcomponents/p-dbc1d7b3.entry.js +1 -0
- package/dist/webcomponents/p-dce846bf.js +1 -27
- package/dist/webcomponents/p-df21aaad.js +1 -120
- package/dist/webcomponents/p-e1255160.js +1 -3
- package/dist/webcomponents/p-e2c88817.entry.js +1 -0
- package/dist/webcomponents/p-e31f0f3e.entry.js +1 -0
- package/dist/webcomponents/p-e333620e.js +1 -34
- package/dist/webcomponents/p-e3f4a2a6.js +1 -0
- package/dist/webcomponents/p-e3fab0e2.js +1 -43
- package/dist/webcomponents/p-eea79a55.entry.js +1 -0
- package/dist/webcomponents/p-f0866375.entry.js +1 -0
- package/dist/webcomponents/p-f6a2dc78.entry.js +1 -0
- package/dist/webcomponents/p-fad19d75.js +2 -1638
- package/dist/webcomponents/webcomponents.css +4 -362
- package/dist/webcomponents/webcomponents.esm.js +1 -20
- package/package.json +4 -2
- package/dist/cjs/styled-host-cc053016.js +0 -14
- package/dist/collection/components/business-forms/utils/payload-parsers.js +0 -41
- package/dist/esm/Analytics-a8eb7344.js +0 -77
- package/dist/esm/package-ccb774a9.js +0 -79
- package/dist/esm/styled-host-ab9da520.js +0 -12
- package/dist/esm/utils-3c1dd2fa.js +0 -4027
- package/dist/module/payload-parsers.js +0 -43
- package/dist/types/components/business-forms/utils/payload-parsers.d.ts +0 -4
- package/dist/webcomponents/p-01a404ca.entry.js +0 -44
- package/dist/webcomponents/p-03d35880.entry.js +0 -130
- package/dist/webcomponents/p-06ff0429.entry.js +0 -65
- package/dist/webcomponents/p-0e1bc91e.js +0 -28
- package/dist/webcomponents/p-10875f3d.entry.js +0 -97
- package/dist/webcomponents/p-157acba8.entry.js +0 -98
- package/dist/webcomponents/p-18fa0479.entry.js +0 -131
- package/dist/webcomponents/p-1a5120f4.entry.js +0 -145
- package/dist/webcomponents/p-24dc023a.entry.js +0 -791
- package/dist/webcomponents/p-25d8cd65.entry.js +0 -102
- package/dist/webcomponents/p-27d87fe2.entry.js +0 -133
- package/dist/webcomponents/p-29c0b182.js +0 -114
- package/dist/webcomponents/p-3395e896.entry.js +0 -74
- package/dist/webcomponents/p-3fd13ca3.js +0 -52
- package/dist/webcomponents/p-47d79529.js +0 -18
- package/dist/webcomponents/p-53ecc8b9.entry.js +0 -261
- package/dist/webcomponents/p-5482d030.entry.js +0 -21
- package/dist/webcomponents/p-576826b1.entry.js +0 -43
- package/dist/webcomponents/p-5f835b89.entry.js +0 -606
- package/dist/webcomponents/p-6124b1b3.entry.js +0 -80
- package/dist/webcomponents/p-70a2aa74.entry.js +0 -76
- package/dist/webcomponents/p-7582b554.entry.js +0 -18
- package/dist/webcomponents/p-75fd6367.entry.js +0 -149
- package/dist/webcomponents/p-79646550.entry.js +0 -61
- package/dist/webcomponents/p-800d31fe.entry.js +0 -162
- package/dist/webcomponents/p-85fc69e5.js +0 -90
- package/dist/webcomponents/p-89887332.js +0 -301
- package/dist/webcomponents/p-8eb774df.entry.js +0 -54
- package/dist/webcomponents/p-9e17630d.entry.js +0 -1684
- package/dist/webcomponents/p-9f94bbb6.entry.js +0 -118
- package/dist/webcomponents/p-a4e8573e.entry.js +0 -94
- package/dist/webcomponents/p-a5a225d9.entry.js +0 -125
- package/dist/webcomponents/p-a5fb51dc.entry.js +0 -131
- package/dist/webcomponents/p-ab4816e1.entry.js +0 -117
- package/dist/webcomponents/p-ac086069.entry.js +0 -58
- package/dist/webcomponents/p-af244664.js +0 -126
- package/dist/webcomponents/p-b4b8b531.js +0 -44
- package/dist/webcomponents/p-b82c146f.entry.js +0 -111
- package/dist/webcomponents/p-ba4bae6f.js +0 -12
- package/dist/webcomponents/p-ba5fae28.js +0 -90
- package/dist/webcomponents/p-bd66f9d2.entry.js +0 -101
- package/dist/webcomponents/p-cc39384f.entry.js +0 -99
- package/dist/webcomponents/p-d17aee2b.entry.js +0 -26
- package/dist/webcomponents/p-dad3e069.entry.js +0 -298
- package/dist/webcomponents/p-e1e7525b.entry.js +0 -73
- package/dist/webcomponents/p-e356f280.entry.js +0 -29
- package/dist/webcomponents/p-e9a5cb95.entry.js +0 -94
- package/dist/webcomponents/p-ec854a3e.entry.js +0 -11053
- package/dist/webcomponents/p-edc37d1f.entry.js +0 -75
- package/dist/webcomponents/p-f02b75dc.entry.js +0 -96
- package/dist/{globals.d.ts → types/global.d.ts} +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
|
+
import { config } from "../../../config";
|
|
2
3
|
import { PaymentMethodTypes } from "../../api/Payment";
|
|
3
4
|
import { PaymentMethodOption } from "./payment-method-option-utils";
|
|
4
5
|
export class PaymentMethodOptions {
|
|
@@ -12,7 +13,7 @@ export class PaymentMethodOptions {
|
|
|
12
13
|
this.insuranceToggled = undefined;
|
|
13
14
|
this.authToken = undefined;
|
|
14
15
|
this.accountId = undefined;
|
|
15
|
-
this.iframeOrigin =
|
|
16
|
+
this.iframeOrigin = config.iframeOrigin;
|
|
16
17
|
this.savedPaymentMethods = [];
|
|
17
18
|
this.paymentAmount = undefined;
|
|
18
19
|
this.selectedPaymentMethodId = undefined;
|
|
@@ -58,7 +59,7 @@ export class PaymentMethodOptions {
|
|
|
58
59
|
}
|
|
59
60
|
render() {
|
|
60
61
|
var _a;
|
|
61
|
-
return (h(Host, { key: '
|
|
62
|
+
return (h(Host, { key: '86e309b90ab00f530dd803b00e5aab511f92300f' }, (_a = this.paymentMethodOptions) === null || _a === void 0 ? void 0 : _a.map((paymentMethodOption) => {
|
|
62
63
|
const newCard = paymentMethodOption.id === PaymentMethodTypes.card;
|
|
63
64
|
const newBankAccount = paymentMethodOption.id === PaymentMethodTypes.bankAccount;
|
|
64
65
|
const isSelected = this.selectedPaymentMethodId === paymentMethodOption.id;
|
|
@@ -272,7 +273,7 @@ export class PaymentMethodOptions {
|
|
|
272
273
|
},
|
|
273
274
|
"attribute": "iframe-origin",
|
|
274
275
|
"reflect": false,
|
|
275
|
-
"defaultValue": "
|
|
276
|
+
"defaultValue": "config.iframeOrigin"
|
|
276
277
|
},
|
|
277
278
|
"savedPaymentMethods": {
|
|
278
279
|
"type": "unknown",
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { Fragment, h } from "@stencil/core";
|
|
2
|
+
import { config } from "../../../config";
|
|
2
3
|
import { CardBrandLabels } from "./payment-method-option-utils";
|
|
3
4
|
export class SavedPaymentMethod {
|
|
4
5
|
constructor() {
|
|
5
6
|
this.onPaymentMethodOptionClick = () => {
|
|
6
7
|
this.paymentMethodOptionSelected.emit(this.paymentMethodOption);
|
|
7
8
|
};
|
|
8
|
-
this.iframeOrigin =
|
|
9
|
+
this.iframeOrigin = config.iframeOrigin;
|
|
9
10
|
this.paymentMethodOption = undefined;
|
|
10
11
|
this.isSelected = undefined;
|
|
11
12
|
}
|
|
@@ -19,7 +20,7 @@ export class SavedPaymentMethod {
|
|
|
19
20
|
;
|
|
20
21
|
render() {
|
|
21
22
|
var _a, _b, _c, _d, _e;
|
|
22
|
-
return (h(Fragment, { key: '
|
|
23
|
+
return (h(Fragment, { key: '9c2174123f1675d60bc48d8109821c0bc2ad7682' }, h("div", { key: '07bffce2603110d44f38ffb2f57a60f07faddb3b', class: "payment-method" }, h("div", { key: 'f489d3a05db45c2b2581bc8f0fc093afed453d91', class: "payment-method-header p-3", onClick: () => this.onPaymentMethodOptionClick() }, h("input", { key: '70681612520aa621c39a017b72b25a7dd3211282', type: "radio", name: "paymentMethodType", id: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, value: (_b = this.paymentMethodOption) === null || _b === void 0 ? void 0 : _b.id, onClick: (event) => event.preventDefault(), checked: this.isSelected, class: "form-check-input me-2" }), h("label", { key: 'a58e14ae9d199b0e0eb01b4c0a4a8bd9c8fec41d', htmlFor: (_c = this.paymentMethodOption) === null || _c === void 0 ? void 0 : _c.id, class: "form-check-label" }, CardBrandLabels[(_d = this.paymentMethodOption) === null || _d === void 0 ? void 0 : _d.brand], " *", (_e = this.paymentMethodOption) === null || _e === void 0 ? void 0 :
|
|
23
24
|
_e.acct_last_four)))));
|
|
24
25
|
}
|
|
25
26
|
static get is() { return "justifi-saved-payment-method"; }
|
|
@@ -41,7 +42,7 @@ export class SavedPaymentMethod {
|
|
|
41
42
|
},
|
|
42
43
|
"attribute": "iframe-origin",
|
|
43
44
|
"reflect": false,
|
|
44
|
-
"defaultValue": "
|
|
45
|
+
"defaultValue": "config.iframeOrigin"
|
|
45
46
|
},
|
|
46
47
|
"paymentMethodOption": {
|
|
47
48
|
"type": "unknown",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
+
import { config } from "../../../config";
|
|
2
3
|
import { formatCurrency } from "../../utils/utils";
|
|
3
4
|
const sezzleLogo = (h("img", { class: "sezzle-smart-button-logo-img", src: "https://media.sezzle.com/branding/2.0/Sezzle_Logo_FullColor.svg", alt: "Sezzle", style: {
|
|
4
5
|
display: 'inline',
|
|
@@ -38,7 +39,7 @@ export class SezzlePaymentMethod {
|
|
|
38
39
|
this.sezzleCheckout = checkout;
|
|
39
40
|
this.installmentPlan = this.sezzleCheckout.getInstallmentPlan(amount);
|
|
40
41
|
};
|
|
41
|
-
this.iframeOrigin =
|
|
42
|
+
this.iframeOrigin = config.iframeOrigin;
|
|
42
43
|
this.bnpl = undefined;
|
|
43
44
|
this.clientId = undefined;
|
|
44
45
|
this.accountId = undefined;
|
|
@@ -64,7 +65,7 @@ export class SezzlePaymentMethod {
|
|
|
64
65
|
}
|
|
65
66
|
render() {
|
|
66
67
|
var _a, _b, _c, _d, _e;
|
|
67
|
-
return (h("div", { key: '
|
|
68
|
+
return (h("div", { key: 'a71ee3b09669bd27f82f13fc2e924978df3b3883', class: "payment-method" }, h("script", { key: 'def81ad89dfc5d5038ee0de6ea6e3d430f45842c', src: "https://checkout-sdk.sezzle.com/checkout.min.js", async: true, ref: (el) => (this.scriptRef = el) }), h("div", { key: 'b7c0afa6b157a981d61b4825dcf7fa5d031d701e', class: `payment-method-header p-3`, onClick: () => this.onPaymentMethodOptionClick() }, h("input", { key: '5c52a82646f941e7df87b99cd326c32b64ab1373', type: "radio", name: "paymentMethodType", id: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, value: (_b = this.paymentMethodOption) === null || _b === void 0 ? void 0 : _b.id, onClick: (event) => event.preventDefault(), checked: this.isSelected, class: "form-check-input me-2" }), h("label", { key: 'bb520c7addf37652ad0f22cc5a08c3afb0a23cd8', htmlFor: (_c = this.paymentMethodOption) === null || _c === void 0 ? void 0 : _c.id, class: "form-check-label" }, h("div", { key: '0e43ff1520bece6a98c61be7fa31acb3fd4711e9' }, "Buy now, pay later with ", sezzleLogo), this.installmentPlan && (h("small", { key: '9413c186f4dd6ee5b5296a4e0e60d469f5bec5c0' }, h("span", { key: 'dbc4ff1d6c5c7d0a189ea4f09773de501b21d5d1' }, (_d = this.installmentPlan) === null || _d === void 0 ? void 0 : _d.installments.length), "\u00A0", h("span", { key: '72a4d2a7b34fffaee04d466a981a1dab3160c639' }, this.installmentPlan.schedule, " payments of"), "\u00A0", h("span", { key: 'c2e2c5c4eaec1d03120239c00b47ae4bac548be6', class: "fw-bold" }, formatCurrency((_e = this.installmentPlan) === null || _e === void 0 ? void 0 : _e.installments[0].amountInCents))))))));
|
|
68
69
|
}
|
|
69
70
|
static get is() { return "justifi-sezzle-payment-method"; }
|
|
70
71
|
static get properties() {
|
|
@@ -85,7 +86,7 @@ export class SezzlePaymentMethod {
|
|
|
85
86
|
},
|
|
86
87
|
"attribute": "iframe-origin",
|
|
87
88
|
"reflect": false,
|
|
88
|
-
"defaultValue": "
|
|
89
|
+
"defaultValue": "config.iframeOrigin"
|
|
89
90
|
},
|
|
90
91
|
"bnpl": {
|
|
91
92
|
"type": "any",
|
|
@@ -7,12 +7,12 @@ export class DateInput {
|
|
|
7
7
|
this.inputHandler(name, target.value);
|
|
8
8
|
this.formControlInput.emit({ name, value: target.value });
|
|
9
9
|
};
|
|
10
|
-
this.label = undefined;
|
|
11
10
|
this.name = undefined;
|
|
11
|
+
this.label = undefined;
|
|
12
|
+
this.inputHandler = undefined;
|
|
13
|
+
this.defaultValue = undefined;
|
|
12
14
|
this.helpText = undefined;
|
|
13
15
|
this.errorText = undefined;
|
|
14
|
-
this.defaultValue = undefined;
|
|
15
|
-
this.inputHandler = undefined;
|
|
16
16
|
this.disabled = undefined;
|
|
17
17
|
}
|
|
18
18
|
handleDefaultValueChange(newValue) {
|
|
@@ -25,12 +25,12 @@ export class DateInput {
|
|
|
25
25
|
this.dateInput.value = value;
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: 'dfbfc1ea5d7139a1c1d30c7bd84b33a9c22604cf', exportparts: "label,input,input-invalid" }, h("label", { key: '99a01781ecd1421fa439ad08f77d3f750a55eaee', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("input", { key: 'd8db68d8a62e0f982c3aa7d4bd3a5cf7c2681db3', type: "date", ref: el => (this.dateInput = el), id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input ${this.errorText && 'input-invalid'}`, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled }), h("form-control-help-text", { key: '1ee2ccdc1e409c5427e39efe2929b830960edce9', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '1db50cca364b4d059dac37243cf83bb4b11459cd', errorText: this.errorText, name: this.name })));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "form-control-date"; }
|
|
31
31
|
static get properties() {
|
|
32
32
|
return {
|
|
33
|
-
"
|
|
33
|
+
"name": {
|
|
34
34
|
"type": "string",
|
|
35
35
|
"mutable": false,
|
|
36
36
|
"complexType": {
|
|
@@ -44,10 +44,10 @@ export class DateInput {
|
|
|
44
44
|
"tags": [],
|
|
45
45
|
"text": ""
|
|
46
46
|
},
|
|
47
|
-
"attribute": "
|
|
47
|
+
"attribute": "name",
|
|
48
48
|
"reflect": false
|
|
49
49
|
},
|
|
50
|
-
"
|
|
50
|
+
"label": {
|
|
51
51
|
"type": "string",
|
|
52
52
|
"mutable": false,
|
|
53
53
|
"complexType": {
|
|
@@ -61,27 +61,25 @@ export class DateInput {
|
|
|
61
61
|
"tags": [],
|
|
62
62
|
"text": ""
|
|
63
63
|
},
|
|
64
|
-
"attribute": "
|
|
64
|
+
"attribute": "label",
|
|
65
65
|
"reflect": false
|
|
66
66
|
},
|
|
67
|
-
"
|
|
68
|
-
"type": "
|
|
67
|
+
"inputHandler": {
|
|
68
|
+
"type": "unknown",
|
|
69
69
|
"mutable": false,
|
|
70
70
|
"complexType": {
|
|
71
|
-
"original": "string",
|
|
72
|
-
"resolved": "string",
|
|
71
|
+
"original": "(name: string, value: string) => void",
|
|
72
|
+
"resolved": "(name: string, value: string) => void",
|
|
73
73
|
"references": {}
|
|
74
74
|
},
|
|
75
75
|
"required": false,
|
|
76
|
-
"optional":
|
|
76
|
+
"optional": false,
|
|
77
77
|
"docs": {
|
|
78
78
|
"tags": [],
|
|
79
79
|
"text": ""
|
|
80
|
-
}
|
|
81
|
-
"attribute": "help-text",
|
|
82
|
-
"reflect": false
|
|
80
|
+
}
|
|
83
81
|
},
|
|
84
|
-
"
|
|
82
|
+
"defaultValue": {
|
|
85
83
|
"type": "string",
|
|
86
84
|
"mutable": false,
|
|
87
85
|
"complexType": {
|
|
@@ -95,10 +93,10 @@ export class DateInput {
|
|
|
95
93
|
"tags": [],
|
|
96
94
|
"text": ""
|
|
97
95
|
},
|
|
98
|
-
"attribute": "
|
|
96
|
+
"attribute": "default-value",
|
|
99
97
|
"reflect": false
|
|
100
98
|
},
|
|
101
|
-
"
|
|
99
|
+
"helpText": {
|
|
102
100
|
"type": "string",
|
|
103
101
|
"mutable": false,
|
|
104
102
|
"complexType": {
|
|
@@ -107,29 +105,29 @@ export class DateInput {
|
|
|
107
105
|
"references": {}
|
|
108
106
|
},
|
|
109
107
|
"required": false,
|
|
110
|
-
"optional":
|
|
108
|
+
"optional": true,
|
|
111
109
|
"docs": {
|
|
112
110
|
"tags": [],
|
|
113
111
|
"text": ""
|
|
114
112
|
},
|
|
115
|
-
"attribute": "
|
|
113
|
+
"attribute": "help-text",
|
|
116
114
|
"reflect": false
|
|
117
115
|
},
|
|
118
|
-
"
|
|
119
|
-
"type": "
|
|
116
|
+
"errorText": {
|
|
117
|
+
"type": "string",
|
|
120
118
|
"mutable": false,
|
|
121
119
|
"complexType": {
|
|
122
|
-
"original": "
|
|
123
|
-
"resolved": "
|
|
120
|
+
"original": "string",
|
|
121
|
+
"resolved": "string",
|
|
124
122
|
"references": {}
|
|
125
123
|
},
|
|
126
124
|
"required": false,
|
|
127
|
-
"optional":
|
|
125
|
+
"optional": true,
|
|
128
126
|
"docs": {
|
|
129
127
|
"tags": [],
|
|
130
128
|
"text": ""
|
|
131
129
|
},
|
|
132
|
-
"attribute": "
|
|
130
|
+
"attribute": "error-text",
|
|
133
131
|
"reflect": false
|
|
134
132
|
},
|
|
135
133
|
"disabled": {
|
|
@@ -141,7 +139,7 @@ export class DateInput {
|
|
|
141
139
|
"references": {}
|
|
142
140
|
},
|
|
143
141
|
"required": false,
|
|
144
|
-
"optional":
|
|
142
|
+
"optional": true,
|
|
145
143
|
"docs": {
|
|
146
144
|
"tags": [],
|
|
147
145
|
"text": ""
|
|
@@ -10,13 +10,13 @@ export class SelectInput {
|
|
|
10
10
|
this.updateInput = (newValue) => {
|
|
11
11
|
this.selectElement.value = newValue;
|
|
12
12
|
};
|
|
13
|
-
this.label = undefined;
|
|
14
13
|
this.name = undefined;
|
|
14
|
+
this.label = undefined;
|
|
15
|
+
this.options = undefined;
|
|
16
|
+
this.inputHandler = undefined;
|
|
17
|
+
this.defaultValue = undefined;
|
|
15
18
|
this.helpText = undefined;
|
|
16
19
|
this.errorText = undefined;
|
|
17
|
-
this.defaultValue = undefined;
|
|
18
|
-
this.inputHandler = undefined;
|
|
19
|
-
this.options = undefined;
|
|
20
20
|
this.disabled = undefined;
|
|
21
21
|
}
|
|
22
22
|
handleDefaultValueChange(newValue) {
|
|
@@ -27,17 +27,17 @@ export class SelectInput {
|
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
29
|
var _a;
|
|
30
|
-
return (h(Host, { key: '
|
|
30
|
+
return (h(Host, { key: 'e62a08c8ba656cc7e82c0f8f7facccc086fbafe7', exportparts: "label,input,input-invalid" }, h("div", { key: 'f9a4c428311f32f2585ca9259ba31909187b809d', class: "form-group d-flex flex-column" }, h("label", { key: '006a3bd7ae2874bf3fa24e2c053808e51b652d9a', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("select", { key: 'f0ac14e8b74c939b4928b9ce800118f660c90613', ref: el => (this.selectElement = el), id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input ${this.errorText ? 'input-invalid' : ''}`, class: this.errorText ? 'form-select is-invalid' : 'form-select', disabled: this.disabled }, (_a = this.options) === null || _a === void 0 ? void 0 : _a.map(option => (h("option", { value: option.value }, option.label)))), h("form-control-help-text", { key: '3a60ff2a2af7668013baf2767d97095379b2d37e', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '8c4049d16408f305b8bf1e8a49c91db56991a840', errorText: this.errorText, name: this.name }))));
|
|
31
31
|
}
|
|
32
32
|
static get is() { return "form-control-select"; }
|
|
33
33
|
static get properties() {
|
|
34
34
|
return {
|
|
35
|
-
"
|
|
36
|
-
"type": "
|
|
35
|
+
"name": {
|
|
36
|
+
"type": "any",
|
|
37
37
|
"mutable": false,
|
|
38
38
|
"complexType": {
|
|
39
|
-
"original": "
|
|
40
|
-
"resolved": "
|
|
39
|
+
"original": "any",
|
|
40
|
+
"resolved": "any",
|
|
41
41
|
"references": {}
|
|
42
42
|
},
|
|
43
43
|
"required": false,
|
|
@@ -46,15 +46,15 @@ export class SelectInput {
|
|
|
46
46
|
"tags": [],
|
|
47
47
|
"text": ""
|
|
48
48
|
},
|
|
49
|
-
"attribute": "
|
|
49
|
+
"attribute": "name",
|
|
50
50
|
"reflect": false
|
|
51
51
|
},
|
|
52
|
-
"
|
|
53
|
-
"type": "
|
|
52
|
+
"label": {
|
|
53
|
+
"type": "string",
|
|
54
54
|
"mutable": false,
|
|
55
55
|
"complexType": {
|
|
56
|
-
"original": "
|
|
57
|
-
"resolved": "
|
|
56
|
+
"original": "string",
|
|
57
|
+
"resolved": "string",
|
|
58
58
|
"references": {}
|
|
59
59
|
},
|
|
60
60
|
"required": false,
|
|
@@ -63,42 +63,38 @@ export class SelectInput {
|
|
|
63
63
|
"tags": [],
|
|
64
64
|
"text": ""
|
|
65
65
|
},
|
|
66
|
-
"attribute": "
|
|
66
|
+
"attribute": "label",
|
|
67
67
|
"reflect": false
|
|
68
68
|
},
|
|
69
|
-
"
|
|
70
|
-
"type": "
|
|
69
|
+
"options": {
|
|
70
|
+
"type": "unknown",
|
|
71
71
|
"mutable": false,
|
|
72
72
|
"complexType": {
|
|
73
|
-
"original": "string",
|
|
74
|
-
"resolved": "string",
|
|
73
|
+
"original": "{ label: string; value: string }[]",
|
|
74
|
+
"resolved": "{ label: string; value: string; }[]",
|
|
75
75
|
"references": {}
|
|
76
76
|
},
|
|
77
77
|
"required": false,
|
|
78
|
-
"optional":
|
|
78
|
+
"optional": false,
|
|
79
79
|
"docs": {
|
|
80
80
|
"tags": [],
|
|
81
81
|
"text": ""
|
|
82
|
-
}
|
|
83
|
-
"attribute": "help-text",
|
|
84
|
-
"reflect": false
|
|
82
|
+
}
|
|
85
83
|
},
|
|
86
|
-
"
|
|
87
|
-
"type": "
|
|
84
|
+
"inputHandler": {
|
|
85
|
+
"type": "unknown",
|
|
88
86
|
"mutable": false,
|
|
89
87
|
"complexType": {
|
|
90
|
-
"original": "string",
|
|
91
|
-
"resolved": "string",
|
|
88
|
+
"original": "(name: string, value: string) => void",
|
|
89
|
+
"resolved": "(name: string, value: string) => void",
|
|
92
90
|
"references": {}
|
|
93
91
|
},
|
|
94
92
|
"required": false,
|
|
95
|
-
"optional":
|
|
93
|
+
"optional": false,
|
|
96
94
|
"docs": {
|
|
97
95
|
"tags": [],
|
|
98
96
|
"text": ""
|
|
99
|
-
}
|
|
100
|
-
"attribute": "error-text",
|
|
101
|
-
"reflect": false
|
|
97
|
+
}
|
|
102
98
|
},
|
|
103
99
|
"defaultValue": {
|
|
104
100
|
"type": "string",
|
|
@@ -109,7 +105,7 @@ export class SelectInput {
|
|
|
109
105
|
"references": {}
|
|
110
106
|
},
|
|
111
107
|
"required": false,
|
|
112
|
-
"optional":
|
|
108
|
+
"optional": true,
|
|
113
109
|
"docs": {
|
|
114
110
|
"tags": [],
|
|
115
111
|
"text": ""
|
|
@@ -117,35 +113,39 @@ export class SelectInput {
|
|
|
117
113
|
"attribute": "default-value",
|
|
118
114
|
"reflect": false
|
|
119
115
|
},
|
|
120
|
-
"
|
|
121
|
-
"type": "
|
|
116
|
+
"helpText": {
|
|
117
|
+
"type": "string",
|
|
122
118
|
"mutable": false,
|
|
123
119
|
"complexType": {
|
|
124
|
-
"original": "
|
|
125
|
-
"resolved": "
|
|
120
|
+
"original": "string",
|
|
121
|
+
"resolved": "string",
|
|
126
122
|
"references": {}
|
|
127
123
|
},
|
|
128
124
|
"required": false,
|
|
129
|
-
"optional":
|
|
125
|
+
"optional": true,
|
|
130
126
|
"docs": {
|
|
131
127
|
"tags": [],
|
|
132
128
|
"text": ""
|
|
133
|
-
}
|
|
129
|
+
},
|
|
130
|
+
"attribute": "help-text",
|
|
131
|
+
"reflect": false
|
|
134
132
|
},
|
|
135
|
-
"
|
|
136
|
-
"type": "
|
|
133
|
+
"errorText": {
|
|
134
|
+
"type": "string",
|
|
137
135
|
"mutable": false,
|
|
138
136
|
"complexType": {
|
|
139
|
-
"original": "
|
|
140
|
-
"resolved": "
|
|
137
|
+
"original": "string",
|
|
138
|
+
"resolved": "string",
|
|
141
139
|
"references": {}
|
|
142
140
|
},
|
|
143
141
|
"required": false,
|
|
144
|
-
"optional":
|
|
142
|
+
"optional": true,
|
|
145
143
|
"docs": {
|
|
146
144
|
"tags": [],
|
|
147
145
|
"text": ""
|
|
148
|
-
}
|
|
146
|
+
},
|
|
147
|
+
"attribute": "error-text",
|
|
148
|
+
"reflect": false
|
|
149
149
|
},
|
|
150
150
|
"disabled": {
|
|
151
151
|
"type": "boolean",
|
|
@@ -156,7 +156,7 @@ export class SelectInput {
|
|
|
156
156
|
"references": {}
|
|
157
157
|
},
|
|
158
158
|
"required": false,
|
|
159
|
-
"optional":
|
|
159
|
+
"optional": true,
|
|
160
160
|
"docs": {
|
|
161
161
|
"tags": [],
|
|
162
162
|
"text": ""
|
|
@@ -13,13 +13,13 @@ export class TextInput {
|
|
|
13
13
|
inputElement.value = newValue || '';
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
|
-
this.label = undefined;
|
|
17
16
|
this.name = undefined;
|
|
17
|
+
this.label = undefined;
|
|
18
|
+
this.inputHandler = undefined;
|
|
19
|
+
this.defaultValue = undefined;
|
|
18
20
|
this.helpText = undefined;
|
|
19
21
|
this.errorText = undefined;
|
|
20
|
-
this.defaultValue = undefined;
|
|
21
22
|
this.maxLength = undefined;
|
|
22
|
-
this.inputHandler = undefined;
|
|
23
23
|
this.keyDownHandler = undefined;
|
|
24
24
|
this.disabled = undefined;
|
|
25
25
|
}
|
|
@@ -30,11 +30,28 @@ export class TextInput {
|
|
|
30
30
|
this.updateInput(this.defaultValue);
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (h(Host, { key: '
|
|
33
|
+
return (h(Host, { key: 'fddfb4134747c8d8caf6594f5450e57fa4c2dc3e', exportparts: "label,input,input-invalid" }, h("div", { key: 'bbd0174fb56d911992907e0a2c453b9d1412b636', class: "form-group d-flex flex-column" }, h("label", { key: 'f5d9d3d6c4694d08d86963df37adbd1b334593b3', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("input", { key: 'ae49e4c86782fd0901c1a0e8530981cf1b0b7c65', id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: `input ${this.errorText ? 'input-invalid ' : ''}${this.disabled ? ' input-disabled' : ''}`, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "text", disabled: this.disabled }), h("form-control-help-text", { key: '1e1bbc8d39e5caeca559515f72eb17ca9b3ab0b1', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '44c121cb0eb69840440e696e784c7a73689a42f2', errorText: this.errorText, name: this.name }))));
|
|
34
34
|
}
|
|
35
35
|
static get is() { return "form-control-text"; }
|
|
36
36
|
static get properties() {
|
|
37
37
|
return {
|
|
38
|
+
"name": {
|
|
39
|
+
"type": "any",
|
|
40
|
+
"mutable": false,
|
|
41
|
+
"complexType": {
|
|
42
|
+
"original": "any",
|
|
43
|
+
"resolved": "any",
|
|
44
|
+
"references": {}
|
|
45
|
+
},
|
|
46
|
+
"required": false,
|
|
47
|
+
"optional": false,
|
|
48
|
+
"docs": {
|
|
49
|
+
"tags": [],
|
|
50
|
+
"text": ""
|
|
51
|
+
},
|
|
52
|
+
"attribute": "name",
|
|
53
|
+
"reflect": false
|
|
54
|
+
},
|
|
38
55
|
"label": {
|
|
39
56
|
"type": "string",
|
|
40
57
|
"mutable": false,
|
|
@@ -52,12 +69,12 @@ export class TextInput {
|
|
|
52
69
|
"attribute": "label",
|
|
53
70
|
"reflect": false
|
|
54
71
|
},
|
|
55
|
-
"
|
|
56
|
-
"type": "
|
|
72
|
+
"inputHandler": {
|
|
73
|
+
"type": "unknown",
|
|
57
74
|
"mutable": false,
|
|
58
75
|
"complexType": {
|
|
59
|
-
"original": "
|
|
60
|
-
"resolved": "
|
|
76
|
+
"original": "(name: string, value: string) => void",
|
|
77
|
+
"resolved": "(name: string, value: string) => void",
|
|
61
78
|
"references": {}
|
|
62
79
|
},
|
|
63
80
|
"required": false,
|
|
@@ -65,11 +82,9 @@ export class TextInput {
|
|
|
65
82
|
"docs": {
|
|
66
83
|
"tags": [],
|
|
67
84
|
"text": ""
|
|
68
|
-
}
|
|
69
|
-
"attribute": "name",
|
|
70
|
-
"reflect": false
|
|
85
|
+
}
|
|
71
86
|
},
|
|
72
|
-
"
|
|
87
|
+
"defaultValue": {
|
|
73
88
|
"type": "string",
|
|
74
89
|
"mutable": false,
|
|
75
90
|
"complexType": {
|
|
@@ -83,10 +98,10 @@ export class TextInput {
|
|
|
83
98
|
"tags": [],
|
|
84
99
|
"text": ""
|
|
85
100
|
},
|
|
86
|
-
"attribute": "
|
|
101
|
+
"attribute": "default-value",
|
|
87
102
|
"reflect": false
|
|
88
103
|
},
|
|
89
|
-
"
|
|
104
|
+
"helpText": {
|
|
90
105
|
"type": "string",
|
|
91
106
|
"mutable": false,
|
|
92
107
|
"complexType": {
|
|
@@ -100,10 +115,10 @@ export class TextInput {
|
|
|
100
115
|
"tags": [],
|
|
101
116
|
"text": ""
|
|
102
117
|
},
|
|
103
|
-
"attribute": "
|
|
118
|
+
"attribute": "help-text",
|
|
104
119
|
"reflect": false
|
|
105
120
|
},
|
|
106
|
-
"
|
|
121
|
+
"errorText": {
|
|
107
122
|
"type": "string",
|
|
108
123
|
"mutable": false,
|
|
109
124
|
"complexType": {
|
|
@@ -112,12 +127,12 @@ export class TextInput {
|
|
|
112
127
|
"references": {}
|
|
113
128
|
},
|
|
114
129
|
"required": false,
|
|
115
|
-
"optional":
|
|
130
|
+
"optional": true,
|
|
116
131
|
"docs": {
|
|
117
132
|
"tags": [],
|
|
118
133
|
"text": ""
|
|
119
134
|
},
|
|
120
|
-
"attribute": "
|
|
135
|
+
"attribute": "error-text",
|
|
121
136
|
"reflect": false
|
|
122
137
|
},
|
|
123
138
|
"maxLength": {
|
|
@@ -137,21 +152,6 @@ export class TextInput {
|
|
|
137
152
|
"attribute": "max-length",
|
|
138
153
|
"reflect": false
|
|
139
154
|
},
|
|
140
|
-
"inputHandler": {
|
|
141
|
-
"type": "unknown",
|
|
142
|
-
"mutable": false,
|
|
143
|
-
"complexType": {
|
|
144
|
-
"original": "(name: string, value: string) => void",
|
|
145
|
-
"resolved": "(name: string, value: string) => void",
|
|
146
|
-
"references": {}
|
|
147
|
-
},
|
|
148
|
-
"required": false,
|
|
149
|
-
"optional": false,
|
|
150
|
-
"docs": {
|
|
151
|
-
"tags": [],
|
|
152
|
-
"text": ""
|
|
153
|
-
}
|
|
154
|
-
},
|
|
155
155
|
"keyDownHandler": {
|
|
156
156
|
"type": "unknown",
|
|
157
157
|
"mutable": false,
|
|
@@ -176,7 +176,7 @@ export class TextInput {
|
|
|
176
176
|
"references": {}
|
|
177
177
|
},
|
|
178
178
|
"required": false,
|
|
179
|
-
"optional":
|
|
179
|
+
"optional": true,
|
|
180
180
|
"docs": {
|
|
181
181
|
"tags": [],
|
|
182
182
|
"text": ""
|
|
@@ -4,6 +4,7 @@ import { makeGetGrossPaymentChartData } from "./get-gross-payment-chart-data";
|
|
|
4
4
|
import { ErrorState } from "../details/utils";
|
|
5
5
|
import { ComponentErrorCodes, ComponentErrorSeverity } from "../../api/ComponentError";
|
|
6
6
|
import JustifiAnalytics from "../../api/Analytics";
|
|
7
|
+
import { checkPkgVersion } from "../../utils/check-pkg-version";
|
|
7
8
|
export class GrossPaymentChart {
|
|
8
9
|
constructor() {
|
|
9
10
|
this.handleErrorEvent = (event) => {
|
|
@@ -16,6 +17,7 @@ export class GrossPaymentChart {
|
|
|
16
17
|
this.errorMessage = null;
|
|
17
18
|
}
|
|
18
19
|
componentWillLoad() {
|
|
20
|
+
checkPkgVersion();
|
|
19
21
|
this.analytics = new JustifiAnalytics(this);
|
|
20
22
|
this.initializeGetGrossPayment();
|
|
21
23
|
}
|
package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js
CHANGED
|
@@ -3,6 +3,7 @@ import { InsuranceService } from "../../../api/services/insurance.service";
|
|
|
3
3
|
import { makeGetQuote, makeToggleCoverage } from "../insurance-actions";
|
|
4
4
|
import { ComponentErrorCodes, ComponentErrorSeverity } from "../../../api/ComponentError";
|
|
5
5
|
import JustifiAnalytics from "../../../api/Analytics";
|
|
6
|
+
import { checkPkgVersion } from "../../../utils/check-pkg-version";
|
|
6
7
|
export class SeasonInterruptionInsurance {
|
|
7
8
|
constructor() {
|
|
8
9
|
this.authToken = undefined;
|
|
@@ -26,6 +27,7 @@ export class SeasonInterruptionInsurance {
|
|
|
26
27
|
return this.seasonInterruptionCoreRef.validate();
|
|
27
28
|
}
|
|
28
29
|
componentWillLoad() {
|
|
30
|
+
checkPkgVersion();
|
|
29
31
|
this.analytics = new JustifiAnalytics(this);
|
|
30
32
|
this.initializeServiceMethods();
|
|
31
33
|
}
|
|
@@ -51,7 +53,7 @@ export class SeasonInterruptionInsurance {
|
|
|
51
53
|
});
|
|
52
54
|
}
|
|
53
55
|
render() {
|
|
54
|
-
return (h("justifi-season-interruption-insurance-core", { key: '
|
|
56
|
+
return (h("justifi-season-interruption-insurance-core", { key: '0ef99882f70c9886e8a5b49da5fe89dd4421067a', ref: (el) => (this.seasonInterruptionCoreRef = el), "checkout-id": this.checkoutId, getQuote: this.getQuote, toggleCoverage: this.toggleCoverage, "primary-identity-first-name": this.primaryIdentityFirstName, "primary-identity-last-name": this.primaryIdentityLastName, "primary-identity-state": this.primaryIdentityState, "primary-identity-postal-code": this.primaryIdentityPostalCode, "primary-identity-country": this.primaryIdentityCountry, "primary-identity-email-address": this.primaryIdentityEmailAddress, "policy-attributes-insurable-amount": this.policyAttributesInsurableAmount, "policy-attributes-start-date": this.policyAttributesStartDate, "policy-attributes-end-date": this.policyAttributesEndDate, "covered-identity-first-name": this.coveredIdentityFirstName, "covered-identity-last-name": this.coveredIdentityLastName }));
|
|
55
57
|
}
|
|
56
58
|
static get is() { return "justifi-season-interruption-insurance"; }
|
|
57
59
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,6 +4,7 @@ import { makeGetPaymentDetails } from "./get-payment-details";
|
|
|
4
4
|
import { ErrorState } from "../details/utils";
|
|
5
5
|
import { ComponentErrorCodes, ComponentErrorSeverity } from "../../api/ComponentError";
|
|
6
6
|
import JustifiAnalytics from "../../api/Analytics";
|
|
7
|
+
import { checkPkgVersion } from "../../utils/check-pkg-version";
|
|
7
8
|
/**
|
|
8
9
|
* @exportedPart detail-loading-spinner
|
|
9
10
|
* @exportedPart detail-loading-state
|
|
@@ -40,6 +41,7 @@ export class PaymentDetails {
|
|
|
40
41
|
this.errorMessage = null;
|
|
41
42
|
}
|
|
42
43
|
componentWillLoad() {
|
|
44
|
+
checkPkgVersion();
|
|
43
45
|
this.analytics = new JustifiAnalytics(this);
|
|
44
46
|
this.initializeGetPaymentDetails();
|
|
45
47
|
}
|