@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.
Files changed (383) hide show
  1. package/dist/cjs/{Analytics-adc90fc6.js → Analytics-03981aad.js} +4 -3
  2. package/dist/cjs/{Api-3bc6e43f.js → Api-b98b256f.js} +3 -3
  3. package/dist/cjs/{Business-aacbe893.js → Business-aa799fec.js} +104 -9
  4. package/dist/cjs/additional-questions-details_5.cjs.entry.js +1 -1
  5. package/dist/cjs/{business-additional-questions-schema-cf545610.js → business-additional-questions-schema-26b0eecb.js} +1 -1
  6. package/dist/cjs/business-details-core.cjs.entry.js +1 -1
  7. package/dist/cjs/{business-form-options-582467fe.js → business-form-options-5db0bd5e.js} +2 -2
  8. package/dist/cjs/{payload-parsers-1cbc3b57.js → business-identity-schema-503ecb77.js} +1 -47
  9. package/dist/cjs/{business.service-090a21e1.js → business.service-031c0084.js} +7 -6
  10. package/dist/cjs/check-pkg-version-89d6d146.js +24 -0
  11. package/dist/cjs/config-05767cba.js +15 -0
  12. package/dist/cjs/custom-popper.cjs.entry.js +1894 -0
  13. package/dist/cjs/form-alert_5.cjs.entry.js +2 -2
  14. package/dist/cjs/form-control-checkbox_9.cjs.entry.js +26 -26
  15. package/dist/cjs/form-control-date_3.cjs.entry.js +4 -4
  16. package/dist/cjs/form-control-error-text_4.cjs.entry.js +9 -9
  17. package/dist/cjs/{get-payout-csv-238e839a.js → get-payout-csv-3a3260ec.js} +5 -4
  18. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
  19. package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +15 -14
  20. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +6 -5
  21. package/dist/cjs/justifi-billing-form_2.cjs.entry.js +4 -4
  22. package/dist/cjs/justifi-business-details.cjs.entry.js +8 -5
  23. package/dist/cjs/justifi-business-form.cjs.entry.js +17 -14
  24. package/dist/cjs/justifi-card-form.cjs.entry.js +6 -5
  25. package/dist/cjs/justifi-checkout-core.cjs.entry.js +5 -5
  26. package/dist/cjs/justifi-checkout.cjs.entry.js +10 -7
  27. package/dist/cjs/justifi-details.cjs.entry.js +1 -1
  28. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +7 -4
  29. package/dist/cjs/justifi-new-payment-method_4.cjs.entry.js +10 -12
  30. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +12 -11
  31. package/dist/cjs/justifi-payment-details.cjs.entry.js +7 -4
  32. package/dist/cjs/justifi-payment-form.cjs.entry.js +11 -8
  33. package/dist/cjs/justifi-payment-method-form.cjs.entry.js +2 -2
  34. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +1 -1
  35. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +9 -6
  36. package/dist/cjs/justifi-payments-list.cjs.entry.js +7 -4
  37. package/dist/cjs/justifi-payout-details.cjs.entry.js +7 -4
  38. package/dist/cjs/justifi-payouts-list.cjs.entry.js +7 -4
  39. package/dist/cjs/justifi-refund-form.cjs.entry.js +5 -4
  40. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +2 -2
  41. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +9 -6
  42. package/dist/cjs/loader.cjs.js +1 -1
  43. package/dist/cjs/{package-22d30c5d.js → package-7fdd14b9.js} +4 -2
  44. package/dist/cjs/payment-details-core.cjs.entry.js +2 -2
  45. package/dist/cjs/{payment.service-c92635c8.js → payment.service-4b1c0a20.js} +4 -3
  46. package/dist/cjs/payments-list-core.cjs.entry.js +18 -13
  47. package/dist/cjs/payments-list-filters_2.cjs.entry.js +17266 -0
  48. package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
  49. package/dist/cjs/payouts-list-core.cjs.entry.js +4 -4
  50. package/dist/cjs/{schema-validations-2733de42.js → schema-validations-0a7e46a3.js} +1 -1
  51. package/dist/cjs/styled-host-9e0b67b3.js +14 -0
  52. package/dist/cjs/{utils-89d86e29.js → utils-af1b60a9.js} +0 -16
  53. package/dist/cjs/utils-f8a6962c.js +25 -0
  54. package/dist/cjs/webcomponents.cjs.js +1 -1
  55. package/dist/collection/api/Api.js +3 -3
  56. package/dist/collection/api/Business.js +66 -7
  57. package/dist/collection/api/Identity.js +39 -3
  58. package/dist/collection/api/services/analytics.service.js +2 -1
  59. package/dist/collection/api/services/business.service.js +6 -5
  60. package/dist/collection/api/services/checkout.service.js +3 -2
  61. package/dist/collection/api/services/insurance.service.js +3 -2
  62. package/dist/collection/api/services/payment.service.js +3 -2
  63. package/dist/collection/api/services/payout.service.js +4 -3
  64. package/dist/collection/api/services/provision.service.js +2 -1
  65. package/dist/collection/api/services/reports.service.js +2 -1
  66. package/dist/collection/collection-manifest.json +4 -1
  67. package/dist/collection/components/bank-account-form/bank-account-form.js +4 -3
  68. package/dist/collection/components/business-details/business-details.js +2 -0
  69. package/dist/collection/components/business-forms/business-form/business-form.js +7 -5
  70. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +4 -5
  71. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +3 -3
  72. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +4 -3
  73. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +3 -5
  74. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +3 -3
  75. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +3 -4
  76. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +4 -3
  77. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +3 -4
  78. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +3 -1
  79. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +4 -3
  80. package/dist/collection/components/business-forms/utils/business-form-options.js +1 -1
  81. package/dist/collection/components/card-form/card-form.js +4 -3
  82. package/dist/collection/components/checkout/checkout-core.js +4 -4
  83. package/dist/collection/components/checkout/checkout.js +4 -2
  84. package/dist/collection/components/checkout/new-payment-method.js +4 -6
  85. package/dist/collection/components/checkout/payment-method-options.js +4 -3
  86. package/dist/collection/components/checkout/saved-payment-method.js +4 -3
  87. package/dist/collection/components/checkout/sezzle-payment-method.js +4 -3
  88. package/dist/collection/components/form/form-control-date.js +26 -28
  89. package/dist/collection/components/form/form-control-select.js +45 -45
  90. package/dist/collection/components/form/form-control-text.js +34 -34
  91. package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +2 -0
  92. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +3 -1
  93. package/dist/collection/components/payment-details/payment-details.js +2 -0
  94. package/dist/collection/components/payment-form/payment-form.js +6 -3
  95. package/dist/collection/components/payments-list/payments-list-core.js +14 -9
  96. package/dist/collection/components/payments-list/payments-list-filters.js +84 -0
  97. package/dist/collection/components/payments-list/payments-list.js +2 -0
  98. package/dist/collection/components/payout-details/payout-details-core.js +1 -1
  99. package/dist/collection/components/payout-details/payout-details.js +2 -0
  100. package/dist/collection/components/payouts-list/payouts-list-core.js +2 -2
  101. package/dist/collection/components/payouts-list/payouts-list.js +2 -0
  102. package/dist/collection/components/refund-form/refund-form.js +3 -2
  103. package/dist/collection/ui-components/custom-popper/custom-popper.js +239 -0
  104. package/dist/collection/ui-components/filters/table-filters-menu.js +89 -0
  105. package/dist/collection/ui-components/filters/utils.js +20 -0
  106. package/dist/collection/utils/check-pkg-version.js +19 -0
  107. package/dist/config.js +11 -0
  108. package/dist/docs.json +531 -27
  109. package/dist/{webcomponents/p-15eafa87.js → esm/Analytics-3103f8e9.js} +4 -3
  110. package/dist/esm/{Api-b09a2f6a.js → Api-c8abc2e0.js} +3 -3
  111. package/dist/esm/{Business-e218b4f4.js → Business-b73d5055.js} +104 -9
  112. package/dist/esm/additional-questions-details_5.entry.js +1 -1
  113. package/dist/esm/{business-additional-questions-schema-956e3caf.js → business-additional-questions-schema-a5583cf8.js} +1 -1
  114. package/dist/esm/business-details-core.entry.js +1 -1
  115. package/dist/esm/{business-form-options-7a9a74fc.js → business-form-options-d790973e.js} +2 -2
  116. package/dist/esm/{payload-parsers-acb719d1.js → business-identity-schema-9e3269fb.js} +2 -44
  117. package/dist/esm/{business.service-37d0cc72.js → business.service-1f589b6e.js} +7 -6
  118. package/dist/esm/check-pkg-version-44e6ad15.js +22 -0
  119. package/dist/esm/config-27764a9d.js +13 -0
  120. package/dist/esm/custom-popper.entry.js +1890 -0
  121. package/dist/esm/form-alert_5.entry.js +2 -2
  122. package/dist/esm/form-control-checkbox_9.entry.js +21 -21
  123. package/dist/esm/form-control-date_3.entry.js +4 -4
  124. package/dist/esm/form-control-error-text_4.entry.js +9 -9
  125. package/dist/esm/{get-payout-csv-a702a0d9.js → get-payout-csv-93427146.js} +5 -4
  126. package/dist/esm/gross-payment-chart-core.entry.js +1 -1
  127. package/dist/esm/justifi-additional-questions-form-step_10.entry.js +15 -14
  128. package/dist/esm/justifi-bank-account-form.entry.js +6 -5
  129. package/dist/esm/justifi-billing-form_2.entry.js +4 -4
  130. package/dist/esm/justifi-business-details.entry.js +8 -5
  131. package/dist/esm/justifi-business-form.entry.js +16 -13
  132. package/dist/esm/justifi-card-form.entry.js +6 -5
  133. package/dist/esm/justifi-checkout-core.entry.js +5 -5
  134. package/dist/esm/justifi-checkout.entry.js +10 -7
  135. package/dist/esm/justifi-details.entry.js +1 -1
  136. package/dist/esm/justifi-gross-payment-chart.entry.js +7 -4
  137. package/dist/esm/justifi-new-payment-method_4.entry.js +10 -12
  138. package/dist/esm/justifi-owner-form_3.entry.js +11 -10
  139. package/dist/esm/justifi-payment-details.entry.js +7 -4
  140. package/dist/esm/justifi-payment-form.entry.js +11 -8
  141. package/dist/esm/justifi-payment-method-form.entry.js +2 -2
  142. package/dist/esm/justifi-payment-provisioning-core.entry.js +1 -1
  143. package/dist/esm/justifi-payment-provisioning.entry.js +9 -6
  144. package/dist/esm/justifi-payments-list.entry.js +7 -4
  145. package/dist/esm/justifi-payout-details.entry.js +7 -4
  146. package/dist/esm/justifi-payouts-list.entry.js +7 -4
  147. package/dist/esm/justifi-refund-form.entry.js +5 -4
  148. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +2 -2
  149. package/dist/esm/justifi-season-interruption-insurance.entry.js +9 -6
  150. package/dist/esm/loader.js +1 -1
  151. package/dist/{webcomponents/p-2e8f4937.js → esm/package-0e3cc41e.js} +4 -2
  152. package/dist/esm/payment-details-core.entry.js +2 -2
  153. package/dist/esm/{payment.service-9359fe15.js → payment.service-02c596b9.js} +4 -3
  154. package/dist/esm/payments-list-core.entry.js +16 -11
  155. package/dist/esm/payments-list-filters_2.entry.js +17261 -0
  156. package/dist/esm/payout-details-core.entry.js +3 -3
  157. package/dist/esm/payouts-list-core.entry.js +4 -4
  158. package/dist/esm/{schema-validations-a83ff220.js → schema-validations-e725d701.js} +2 -2
  159. package/dist/esm/styled-host-3171ae1f.js +12 -0
  160. package/dist/esm/utils-3a4d8f3a.js +22 -0
  161. package/dist/{webcomponents/p-83125497.js → esm/utils-e66d8bca.js} +1 -16
  162. package/dist/esm/webcomponents.js +1 -1
  163. package/dist/module/Analytics.js +2 -1
  164. package/dist/module/Api.js +3 -3
  165. package/dist/module/Business.js +104 -9
  166. package/dist/module/business-additional-questions-form-step-core.js +3 -3
  167. package/dist/module/business-bank-account-form-step.js +4 -3
  168. package/dist/module/business-core-info-form-step-core.js +3 -5
  169. package/dist/module/business-document-upload-form-step.js +4 -3
  170. package/dist/module/business-document-upload-input-group.js +1 -1
  171. package/dist/module/business-documents-on-file.js +1 -1
  172. package/dist/module/business-form-options.js +1 -1
  173. package/dist/module/business-owners-form-step-core.js +3 -3
  174. package/dist/module/business-representative-form-step-core.js +3 -4
  175. package/dist/module/business-terms-conditions-form-step.js +4 -3
  176. package/dist/module/business.service.js +6 -5
  177. package/dist/module/check-pkg-version.js +22 -0
  178. package/dist/module/checkout-core.js +3 -3
  179. package/dist/module/config.js +13 -0
  180. package/dist/module/custom-popper.d.ts +11 -0
  181. package/dist/module/custom-popper.js +6 -0
  182. package/dist/module/custom-popper2.js +1912 -0
  183. package/dist/module/form-control-date2.js +7 -7
  184. package/dist/module/form-control-select2.js +9 -9
  185. package/dist/module/form-control-text2.js +7 -7
  186. package/dist/module/get-payout-csv.js +4 -3
  187. package/dist/module/justifi-bank-account-form.js +3 -2
  188. package/dist/module/justifi-business-details.js +2 -0
  189. package/dist/module/justifi-business-form.js +7 -5
  190. package/dist/module/justifi-card-form.js +3 -2
  191. package/dist/module/justifi-checkout.js +7 -4
  192. package/dist/module/justifi-gross-payment-chart.js +4 -1
  193. package/dist/module/justifi-payment-details.js +2 -0
  194. package/dist/module/justifi-payment-form.js +6 -3
  195. package/dist/module/justifi-payment-provisioning.js +5 -2
  196. package/dist/module/justifi-payments-list.js +42 -10
  197. package/dist/module/justifi-payout-details.js +2 -0
  198. package/dist/module/justifi-payouts-list.js +2 -0
  199. package/dist/module/justifi-refund-form.js +3 -2
  200. package/dist/module/justifi-season-interruption-insurance.js +6 -3
  201. package/dist/module/legal-address-form-step-core.js +3 -4
  202. package/dist/module/new-payment-method.js +3 -5
  203. package/dist/module/owner-form-core2.js +4 -5
  204. package/dist/module/package.js +4 -2
  205. package/dist/module/payment-details-core2.js +1 -1
  206. package/dist/module/payment-method-options.js +3 -2
  207. package/dist/module/payment.service.js +3 -2
  208. package/dist/module/payments-list-core2.js +52 -18
  209. package/dist/module/payments-list-filters.d.ts +11 -0
  210. package/dist/module/payments-list-filters.js +6 -0
  211. package/dist/module/payments-list-filters2.js +17294 -0
  212. package/dist/module/payout-details-core2.js +2 -2
  213. package/dist/module/payouts-list-core2.js +3 -3
  214. package/dist/module/saved-payment-method.js +4 -3
  215. package/dist/module/sezzle-payment-method.js +3 -2
  216. package/dist/module/styled-host.js +1 -1
  217. package/dist/module/table-filters-menu.d.ts +11 -0
  218. package/dist/module/table-filters-menu.js +6 -0
  219. package/dist/module/table-filters-menu2.js +80 -0
  220. package/dist/module/utils2.js +1 -16
  221. package/dist/types/api/Business.d.ts +87 -1
  222. package/dist/types/api/Identity.d.ts +45 -1
  223. package/dist/types/api/Payment.d.ts +8 -0
  224. package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +44 -1
  225. package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.d.ts +11 -1
  226. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +11 -1
  227. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +24 -1
  228. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +11 -1
  229. package/dist/types/components/checkout/new-payment-method.d.ts +0 -1
  230. package/dist/types/components/form/form-control-date.d.ts +4 -4
  231. package/dist/types/components/form/form-control-select.d.ts +6 -6
  232. package/dist/types/components/form/form-control-text.d.ts +4 -4
  233. package/dist/types/components/payments-list/payments-list-core.d.ts +6 -5
  234. package/dist/types/components/payments-list/payments-list-filters.d.ts +13 -0
  235. package/dist/types/components.d.ts +89 -10
  236. package/dist/types/home/runner/work/web-component-library/web-component-library/packages/webcomponents/.stencil/packages/webcomponents/config.d.ts +11 -0
  237. package/dist/types/ui-components/custom-popper/custom-popper.d.ts +21 -0
  238. package/dist/types/ui-components/filters/table-filters-menu.d.ts +11 -0
  239. package/dist/types/ui-components/filters/utils.d.ts +2 -0
  240. package/dist/types/utils/check-pkg-version.d.ts +1 -0
  241. package/dist/webcomponents/index.esm.js +0 -1
  242. package/dist/webcomponents/p-056e75be.entry.js +1 -0
  243. package/dist/webcomponents/p-05718341.entry.js +1 -0
  244. package/dist/webcomponents/p-08b0fb31.js +1 -41
  245. package/dist/webcomponents/p-0de026dd.entry.js +1 -0
  246. package/dist/webcomponents/p-0e84986e.entry.js +10 -0
  247. package/dist/webcomponents/p-0f7b9555.entry.js +1 -0
  248. package/dist/webcomponents/p-14c91ffd.js +1 -20
  249. package/dist/webcomponents/p-1612894d.js +1 -0
  250. package/dist/webcomponents/p-1815a43b.js +1 -0
  251. package/dist/webcomponents/p-1ad5995e.js +1 -3599
  252. package/dist/webcomponents/p-1eee25f3.entry.js +19 -0
  253. package/dist/webcomponents/p-1ff8810b.js +1 -29
  254. package/dist/webcomponents/p-20dafb46.entry.js +1 -0
  255. package/dist/webcomponents/p-2338affa.js +1 -213
  256. package/dist/webcomponents/p-277aee05.js +1 -0
  257. package/dist/webcomponents/p-2b6c9c4f.js +1 -7
  258. package/dist/webcomponents/p-2c51d29f.js +1 -0
  259. package/dist/webcomponents/p-2eab3c90.js +1 -3052
  260. package/dist/webcomponents/p-3a1f19f3.entry.js +1 -0
  261. package/dist/webcomponents/p-3c7fac29.entry.js +1 -0
  262. package/dist/webcomponents/p-401d6607.js +1 -0
  263. package/dist/webcomponents/p-428e9b64.entry.js +1 -0
  264. package/dist/webcomponents/p-430f81c6.entry.js +1 -0
  265. package/dist/webcomponents/p-437f9114.js +1 -0
  266. package/dist/webcomponents/p-44055818.js +1 -0
  267. package/dist/webcomponents/p-4628cc9b.entry.js +1 -0
  268. package/dist/webcomponents/p-4cc9df76.entry.js +1 -0
  269. package/dist/webcomponents/p-5022f21c.js +1 -0
  270. package/dist/webcomponents/p-525db3e8.js +1 -22
  271. package/dist/webcomponents/p-55182a59.js +1 -0
  272. package/dist/webcomponents/p-5540a47c.entry.js +1 -0
  273. package/dist/webcomponents/p-56f6ce4c.js +1 -10
  274. package/dist/webcomponents/p-570a0f02.entry.js +1 -0
  275. package/dist/webcomponents/p-5968ff8a.js +1 -178
  276. package/dist/webcomponents/p-59cf5391.entry.js +1 -0
  277. package/dist/webcomponents/p-5a62fca2.js +1 -0
  278. package/dist/webcomponents/p-5e2c9ec8.js +1 -0
  279. package/dist/webcomponents/p-5e7c60d8.js +1 -0
  280. package/dist/webcomponents/p-6078a370.js +1 -244
  281. package/dist/webcomponents/p-6ac806ff.entry.js +1 -0
  282. package/dist/webcomponents/p-7bdffc78.entry.js +1 -0
  283. package/dist/webcomponents/p-7d3be485.js +1 -0
  284. package/dist/webcomponents/p-7d85af5c.js +1 -16
  285. package/dist/webcomponents/p-7ddfce86.entry.js +1 -0
  286. package/dist/webcomponents/p-7fe67d7f.entry.js +1 -0
  287. package/dist/webcomponents/p-7ff329b1.js +1 -0
  288. package/dist/webcomponents/p-804c0f1f.entry.js +1 -0
  289. package/dist/webcomponents/p-8115b2f4.js +1 -28
  290. package/dist/webcomponents/p-8281f09a.js +1 -0
  291. package/dist/webcomponents/p-8921a478.entry.js +1 -0
  292. package/dist/webcomponents/p-8a7112a0.entry.js +1 -0
  293. package/dist/webcomponents/p-8c83b73e.entry.js +1 -0
  294. package/dist/webcomponents/p-8d03a7bd.entry.js +1 -0
  295. package/dist/webcomponents/p-8df7bde8.js +1 -27
  296. package/dist/webcomponents/p-938bf2b4.entry.js +1 -0
  297. package/dist/webcomponents/p-9b154d98.entry.js +1 -0
  298. package/dist/webcomponents/p-9c9c7dac.js +1 -24
  299. package/dist/webcomponents/p-ad47f37c.entry.js +1 -0
  300. package/dist/webcomponents/p-aedb421f.entry.js +1 -0
  301. package/dist/webcomponents/p-b14da2fd.entry.js +1 -0
  302. package/dist/webcomponents/p-bbed6107.entry.js +1 -0
  303. package/dist/webcomponents/p-bdc91c61.entry.js +1 -0
  304. package/dist/webcomponents/p-c64ce69d.entry.js +1 -0
  305. package/dist/webcomponents/p-d76002d5.entry.js +1 -0
  306. package/dist/webcomponents/p-d8355f91.entry.js +1 -0
  307. package/dist/webcomponents/p-d89bad72.js +1 -39
  308. package/dist/webcomponents/p-da1d174d.entry.js +1 -0
  309. package/dist/webcomponents/p-dbc1d7b3.entry.js +1 -0
  310. package/dist/webcomponents/p-dce846bf.js +1 -27
  311. package/dist/webcomponents/p-df21aaad.js +1 -120
  312. package/dist/webcomponents/p-e1255160.js +1 -3
  313. package/dist/webcomponents/p-e2c88817.entry.js +1 -0
  314. package/dist/webcomponents/p-e31f0f3e.entry.js +1 -0
  315. package/dist/webcomponents/p-e333620e.js +1 -34
  316. package/dist/webcomponents/p-e3f4a2a6.js +1 -0
  317. package/dist/webcomponents/p-e3fab0e2.js +1 -43
  318. package/dist/webcomponents/p-eea79a55.entry.js +1 -0
  319. package/dist/webcomponents/p-f0866375.entry.js +1 -0
  320. package/dist/webcomponents/p-f6a2dc78.entry.js +1 -0
  321. package/dist/webcomponents/p-fad19d75.js +2 -1638
  322. package/dist/webcomponents/webcomponents.css +4 -362
  323. package/dist/webcomponents/webcomponents.esm.js +1 -20
  324. package/package.json +4 -2
  325. package/dist/cjs/styled-host-cc053016.js +0 -14
  326. package/dist/collection/components/business-forms/utils/payload-parsers.js +0 -41
  327. package/dist/esm/Analytics-a8eb7344.js +0 -77
  328. package/dist/esm/package-ccb774a9.js +0 -79
  329. package/dist/esm/styled-host-ab9da520.js +0 -12
  330. package/dist/esm/utils-3c1dd2fa.js +0 -4027
  331. package/dist/module/payload-parsers.js +0 -43
  332. package/dist/types/components/business-forms/utils/payload-parsers.d.ts +0 -4
  333. package/dist/webcomponents/p-01a404ca.entry.js +0 -44
  334. package/dist/webcomponents/p-03d35880.entry.js +0 -130
  335. package/dist/webcomponents/p-06ff0429.entry.js +0 -65
  336. package/dist/webcomponents/p-0e1bc91e.js +0 -28
  337. package/dist/webcomponents/p-10875f3d.entry.js +0 -97
  338. package/dist/webcomponents/p-157acba8.entry.js +0 -98
  339. package/dist/webcomponents/p-18fa0479.entry.js +0 -131
  340. package/dist/webcomponents/p-1a5120f4.entry.js +0 -145
  341. package/dist/webcomponents/p-24dc023a.entry.js +0 -791
  342. package/dist/webcomponents/p-25d8cd65.entry.js +0 -102
  343. package/dist/webcomponents/p-27d87fe2.entry.js +0 -133
  344. package/dist/webcomponents/p-29c0b182.js +0 -114
  345. package/dist/webcomponents/p-3395e896.entry.js +0 -74
  346. package/dist/webcomponents/p-3fd13ca3.js +0 -52
  347. package/dist/webcomponents/p-47d79529.js +0 -18
  348. package/dist/webcomponents/p-53ecc8b9.entry.js +0 -261
  349. package/dist/webcomponents/p-5482d030.entry.js +0 -21
  350. package/dist/webcomponents/p-576826b1.entry.js +0 -43
  351. package/dist/webcomponents/p-5f835b89.entry.js +0 -606
  352. package/dist/webcomponents/p-6124b1b3.entry.js +0 -80
  353. package/dist/webcomponents/p-70a2aa74.entry.js +0 -76
  354. package/dist/webcomponents/p-7582b554.entry.js +0 -18
  355. package/dist/webcomponents/p-75fd6367.entry.js +0 -149
  356. package/dist/webcomponents/p-79646550.entry.js +0 -61
  357. package/dist/webcomponents/p-800d31fe.entry.js +0 -162
  358. package/dist/webcomponents/p-85fc69e5.js +0 -90
  359. package/dist/webcomponents/p-89887332.js +0 -301
  360. package/dist/webcomponents/p-8eb774df.entry.js +0 -54
  361. package/dist/webcomponents/p-9e17630d.entry.js +0 -1684
  362. package/dist/webcomponents/p-9f94bbb6.entry.js +0 -118
  363. package/dist/webcomponents/p-a4e8573e.entry.js +0 -94
  364. package/dist/webcomponents/p-a5a225d9.entry.js +0 -125
  365. package/dist/webcomponents/p-a5fb51dc.entry.js +0 -131
  366. package/dist/webcomponents/p-ab4816e1.entry.js +0 -117
  367. package/dist/webcomponents/p-ac086069.entry.js +0 -58
  368. package/dist/webcomponents/p-af244664.js +0 -126
  369. package/dist/webcomponents/p-b4b8b531.js +0 -44
  370. package/dist/webcomponents/p-b82c146f.entry.js +0 -111
  371. package/dist/webcomponents/p-ba4bae6f.js +0 -12
  372. package/dist/webcomponents/p-ba5fae28.js +0 -90
  373. package/dist/webcomponents/p-bd66f9d2.entry.js +0 -101
  374. package/dist/webcomponents/p-cc39384f.entry.js +0 -99
  375. package/dist/webcomponents/p-d17aee2b.entry.js +0 -26
  376. package/dist/webcomponents/p-dad3e069.entry.js +0 -298
  377. package/dist/webcomponents/p-e1e7525b.entry.js +0 -73
  378. package/dist/webcomponents/p-e356f280.entry.js +0 -29
  379. package/dist/webcomponents/p-e9a5cb95.entry.js +0 -94
  380. package/dist/webcomponents/p-ec854a3e.entry.js +0 -11053
  381. package/dist/webcomponents/p-edc37d1f.entry.js +0 -75
  382. package/dist/webcomponents/p-f02b75dc.entry.js +0 -96
  383. 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 = IFRAME_ORIGIN;
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: '7ee40a1bdc9ec15596e870b48cbe7b6bbc20537c' }, (_a = this.paymentMethodOptions) === null || _a === void 0 ? void 0 : _a.map((paymentMethodOption) => {
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": "IFRAME_ORIGIN"
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 = IFRAME_ORIGIN;
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: '247dafc3fe4011c5f6a2202690310eedfa5422c8' }, h("div", { key: '9cfb0b6ca9c10e5cc6173832bb8211ddb1d0ae5b', class: "payment-method" }, h("div", { key: 'd247cc4cf9f7bf43d7153134c66a921b5bfc49bc', class: "payment-method-header p-3", onClick: () => this.onPaymentMethodOptionClick() }, h("input", { key: '180c3aa6c4153bccf7cb620b6df49cc288754cd2', 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: '6ec14d77e8171a1ddb37c686189878a7ebb4b4f4', 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
+ 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": "IFRAME_ORIGIN"
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 = IFRAME_ORIGIN;
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: '1b4e4a142e1e59465e0db5515ee6b0a0b2aac146', class: "payment-method" }, h("script", { key: 'c835bc94836949e2362974eaeefca1f6a579a1a0', src: "https://checkout-sdk.sezzle.com/checkout.min.js", async: true, ref: (el) => (this.scriptRef = el) }), h("div", { key: '051a0392e6353116423f706be48eb266daf12b84', class: `payment-method-header p-3`, onClick: () => this.onPaymentMethodOptionClick() }, h("input", { key: '6dd0d61f1b8788b45b008f5ac05f8a8b6a6591f2', 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: 'caf3429bae616a016f58e141ac5c4493174cf3ef', htmlFor: (_c = this.paymentMethodOption) === null || _c === void 0 ? void 0 : _c.id, class: "form-check-label" }, h("div", { key: '0e4ea85fc6fc32a1c35fe0dac86f21ab7f86eb0a' }, "Buy now, pay later with ", sezzleLogo), this.installmentPlan && (h("small", { key: '3740565f14b87aa2e4af44b7e2b12d93d6e454c2' }, h("span", { key: 'ca9b6dff0042c41d378b101067d060092234fa7c' }, (_d = this.installmentPlan) === null || _d === void 0 ? void 0 : _d.installments.length), "\u00A0", h("span", { key: '14ab21fd2d9bd612f41d5cd3e175402593012619' }, this.installmentPlan.schedule, " payments of"), "\u00A0", h("span", { key: '25e08c1e711af0979e14bbb911aedb58f59bc180', class: "fw-bold" }, formatCurrency((_e = this.installmentPlan) === null || _e === void 0 ? void 0 : _e.installments[0].amountInCents))))))));
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": "IFRAME_ORIGIN"
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: 'fa61a426a5a070d951fa425ae42a59add69a9d96', exportparts: "label,input,input-invalid" }, h("label", { key: 'e7679e6a66277a130414b59421b01d1f8e328cf2', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("input", { key: 'b3fb4afd3181fec3eef3dfb851ab8965cb7bbfe7', 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: 'dbc9ac76d75521a7d1ee5cc34393471521ffa1c2', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '0f9731278250bde69dd7dee9a7b44e339d919774', errorText: this.errorText, name: this.name })));
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
- "label": {
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": "label",
47
+ "attribute": "name",
48
48
  "reflect": false
49
49
  },
50
- "name": {
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": "name",
64
+ "attribute": "label",
65
65
  "reflect": false
66
66
  },
67
- "helpText": {
68
- "type": "string",
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": true,
76
+ "optional": false,
77
77
  "docs": {
78
78
  "tags": [],
79
79
  "text": ""
80
- },
81
- "attribute": "help-text",
82
- "reflect": false
80
+ }
83
81
  },
84
- "errorText": {
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": "error-text",
96
+ "attribute": "default-value",
99
97
  "reflect": false
100
98
  },
101
- "defaultValue": {
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": false,
108
+ "optional": true,
111
109
  "docs": {
112
110
  "tags": [],
113
111
  "text": ""
114
112
  },
115
- "attribute": "default-value",
113
+ "attribute": "help-text",
116
114
  "reflect": false
117
115
  },
118
- "inputHandler": {
119
- "type": "any",
116
+ "errorText": {
117
+ "type": "string",
120
118
  "mutable": false,
121
119
  "complexType": {
122
- "original": "any",
123
- "resolved": "any",
120
+ "original": "string",
121
+ "resolved": "string",
124
122
  "references": {}
125
123
  },
126
124
  "required": false,
127
- "optional": false,
125
+ "optional": true,
128
126
  "docs": {
129
127
  "tags": [],
130
128
  "text": ""
131
129
  },
132
- "attribute": "input-handler",
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": false,
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: '99449e3724103b12af7f2a4573831961074a484a', exportparts: "label,input,input-invalid" }, h("div", { key: 'd73e89d43da9968b687afece24794d9472fec6b5', class: "form-group d-flex flex-column" }, h("label", { key: '6964c55858fc3cf96a137e1061c7f66831105348', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("select", { key: '5b1a09a607ad9638915f5e70f2164f6010020438', 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: '62d862921d463c98e56888293c878624f7311548', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '0b1c4d4752965fb058208c72c7f1c3872d1e0561', errorText: this.errorText, name: this.name }))));
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
- "label": {
36
- "type": "string",
35
+ "name": {
36
+ "type": "any",
37
37
  "mutable": false,
38
38
  "complexType": {
39
- "original": "string",
40
- "resolved": "string",
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": "label",
49
+ "attribute": "name",
50
50
  "reflect": false
51
51
  },
52
- "name": {
53
- "type": "any",
52
+ "label": {
53
+ "type": "string",
54
54
  "mutable": false,
55
55
  "complexType": {
56
- "original": "any",
57
- "resolved": "any",
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": "name",
66
+ "attribute": "label",
67
67
  "reflect": false
68
68
  },
69
- "helpText": {
70
- "type": "string",
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": true,
78
+ "optional": false,
79
79
  "docs": {
80
80
  "tags": [],
81
81
  "text": ""
82
- },
83
- "attribute": "help-text",
84
- "reflect": false
82
+ }
85
83
  },
86
- "errorText": {
87
- "type": "string",
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": true,
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": false,
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
- "inputHandler": {
121
- "type": "unknown",
116
+ "helpText": {
117
+ "type": "string",
122
118
  "mutable": false,
123
119
  "complexType": {
124
- "original": "(name: string, value: string) => void",
125
- "resolved": "(name: string, value: string) => void",
120
+ "original": "string",
121
+ "resolved": "string",
126
122
  "references": {}
127
123
  },
128
124
  "required": false,
129
- "optional": false,
125
+ "optional": true,
130
126
  "docs": {
131
127
  "tags": [],
132
128
  "text": ""
133
- }
129
+ },
130
+ "attribute": "help-text",
131
+ "reflect": false
134
132
  },
135
- "options": {
136
- "type": "unknown",
133
+ "errorText": {
134
+ "type": "string",
137
135
  "mutable": false,
138
136
  "complexType": {
139
- "original": "{ label: string; value: string }[]",
140
- "resolved": "{ label: string; value: string; }[]",
137
+ "original": "string",
138
+ "resolved": "string",
141
139
  "references": {}
142
140
  },
143
141
  "required": false,
144
- "optional": false,
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": false,
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: '1194532f81831734543bad80860da14f8a5ad856', exportparts: "label,input,input-invalid" }, h("div", { key: '296538cf90b62f8041e21620aa06b4074f68b71a', class: "form-group d-flex flex-column" }, h("label", { key: '7c009ce96124e58f9657dba2565ef298225f10f7', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("input", { key: '4b33cb700aecf4d0a359366ba2e0d248c602d904', 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: '7a279d72bb262fcb044b5b0cc31703878ce9f444', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '00bea288a99f626806697a98b6dca3f3298dc0b3', errorText: this.errorText, name: this.name }))));
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
- "name": {
56
- "type": "any",
72
+ "inputHandler": {
73
+ "type": "unknown",
57
74
  "mutable": false,
58
75
  "complexType": {
59
- "original": "any",
60
- "resolved": "any",
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
- "helpText": {
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": "help-text",
101
+ "attribute": "default-value",
87
102
  "reflect": false
88
103
  },
89
- "errorText": {
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": "error-text",
118
+ "attribute": "help-text",
104
119
  "reflect": false
105
120
  },
106
- "defaultValue": {
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": false,
130
+ "optional": true,
116
131
  "docs": {
117
132
  "tags": [],
118
133
  "text": ""
119
134
  },
120
- "attribute": "default-value",
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": false,
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
  }
@@ -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: '256d45d39c5d297abb7f955229b0e0e9fbc9504a', 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 }));
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
  }