@justifi/webcomponents 5.3.1 → 5.3.3

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 (599) hide show
  1. package/dist/cjs/{check-pkg-version-526a9ce5.js → Analytics-f448aa27.js} +8 -23
  2. package/dist/cjs/{Api-089e7501.js → Api-f5280a80.js} +0 -13
  3. package/dist/cjs/{Business-cfd6a2dd.js → Business-d88b77fd.js} +6 -2
  4. package/dist/cjs/{Checkout-0f1c8abe.js → Checkout-1c07dc32.js} +14 -7
  5. package/dist/cjs/{SubAccount-509ebf93.js → SubAccount-b4811a8e.js} +6 -9
  6. package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
  7. package/dist/cjs/{badge-ccfe03bf.js → badge-86a6a7f8.js} +1 -1
  8. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +9 -9
  9. package/dist/cjs/bank-account-form_9.cjs.entry.js +78 -5
  10. package/dist/cjs/billing-form_3.cjs.entry.js +11 -11
  11. package/dist/cjs/{business-additional-questions-schema-2f66f025.js → business-additional-questions-schema-5c100f58.js} +1 -1
  12. package/dist/cjs/business-details-core.cjs.entry.js +3 -3
  13. package/dist/cjs/{business-form-options-4bcb8943.js → business-form-options-62e9c8ab.js} +1 -1
  14. package/dist/cjs/{business-identity-schema-be495474.js → business-identity-schema-3b4d16f1.js} +1 -1
  15. package/dist/cjs/{business.service-33d7c7f2.js → business.service-6b05ee96.js} +8 -8
  16. package/dist/cjs/{button-8b634147.js → button-5f6c437f.js} +1 -1
  17. package/dist/cjs/check-pkg-version-d75dc147.js +24 -0
  18. package/dist/cjs/{checkout.service-d9047ddb.js → checkout.service-aa037531.js} +6 -6
  19. package/dist/cjs/checkouts-list-core.cjs.entry.js +16 -15
  20. package/dist/cjs/checkouts-list-params-state-644d3639.js +22 -0
  21. package/dist/cjs/{checkouts-table-efa1cbab.js → checkouts-table-cf3e245e.js} +2 -2
  22. package/dist/cjs/custom-popper_4.cjs.entry.js +8 -8
  23. package/dist/cjs/{dispute.service-739631c7.js → dispute.service-27dcd7f4.js} +7 -7
  24. package/dist/cjs/event-types-b6d34593.js +8 -0
  25. package/dist/cjs/form-alert_5.cjs.entry.js +3 -3
  26. package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
  27. package/dist/cjs/form-control-date.cjs.entry.js +4 -4
  28. package/dist/cjs/{form-control-error-text-46a7f2dd.js → form-control-error-text-9905e3b8.js} +1 -1
  29. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +4 -4
  30. package/dist/cjs/{form-control-help-text-98c882e3.js → form-control-help-text-8d031bfb.js} +1 -1
  31. package/dist/cjs/form-control-monetary.cjs.entry.js +5 -5
  32. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +4 -4
  33. package/dist/cjs/form-control-number.cjs.entry.js +5 -5
  34. package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
  35. package/dist/cjs/get-business-0bd063d2.js +34 -0
  36. package/dist/cjs/{get-payout-csv-bdaff21b.js → get-payout-csv-7646128d.js} +6 -15
  37. package/dist/cjs/{get-subaccounts-2db9fc01.js → get-subaccounts-cc933b3e.js} +4 -7
  38. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +4 -4
  39. package/dist/cjs/{header-1-4c21f7ca.js → header-1-b202dbbb.js} +1 -1
  40. package/dist/cjs/{header-3-130206cc.js → header-3-5f78acd1.js} +1 -1
  41. package/dist/cjs/{insurance-state-21fde44f.js → insurance-state-ba0c39a9.js} +1 -1
  42. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +10 -10
  43. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +9 -9
  44. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +9 -9
  45. package/dist/cjs/justifi-business-details.cjs.entry.js +13 -38
  46. package/dist/cjs/justifi-business-form.cjs.entry.js +17 -16
  47. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
  48. package/dist/cjs/justifi-checkout-core.cjs.entry.js +6 -6
  49. package/dist/cjs/justifi-checkout.cjs.entry.js +11 -10
  50. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +32 -9
  51. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +14 -13
  52. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  53. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  54. package/dist/cjs/justifi-dispute-management.cjs.entry.js +10 -9
  55. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +15 -14
  56. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +8 -7
  57. package/dist/cjs/justifi-order-terminals.cjs.entry.js +102 -0
  58. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +8 -8
  59. package/dist/cjs/justifi-payment-details.cjs.entry.js +10 -9
  60. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +2 -2
  61. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -6
  62. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +3 -3
  63. package/dist/cjs/justifi-payments-list.cjs.entry.js +14 -13
  64. package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -9
  65. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +20 -3
  66. package/dist/cjs/justifi-payouts-list.cjs.entry.js +15 -14
  67. package/dist/cjs/justifi-refund-form.cjs.entry.js +5 -5
  68. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +3 -3
  69. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +10 -9
  70. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +41 -0
  71. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +27 -6
  72. package/dist/cjs/justifi-terminals-list.cjs.entry.js +15 -20
  73. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +23 -14
  74. package/dist/cjs/loader.cjs.js +1 -1
  75. package/dist/cjs/{package-45874555.js → package-a24ad889.js} +1 -1
  76. package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
  77. package/dist/cjs/{parts-b2ff8b68.js → parts-c2655003.js} +32 -1
  78. package/dist/cjs/payment-details-core.cjs.entry.js +12 -12
  79. package/dist/cjs/{payment.service-87924c1a.js → payment.service-65fbac72.js} +5 -8
  80. package/dist/cjs/payments-list-core.cjs.entry.js +17 -16
  81. package/dist/cjs/{payments-status-ec12ee6a.js → payments-status-92abe577.js} +1 -1
  82. package/dist/cjs/{payments-table-f3aa174d.js → payments-table-c58e3ca8.js} +2 -2
  83. package/dist/cjs/payout-details-core.cjs.entry.js +7 -7
  84. package/dist/cjs/payouts-list-core.cjs.entry.js +22 -17
  85. package/dist/cjs/payouts-list-params-state-033b76d6.js +22 -0
  86. package/dist/cjs/{payouts-status-9f2e9a3a.js → payouts-status-703d62af.js} +1 -1
  87. package/dist/cjs/{payouts-table-4efa53fa.js → payouts-table-70fc1498.js} +3 -3
  88. package/dist/cjs/{schema-validations-cc4e6071.js → schema-validations-47a256f4.js} +2 -2
  89. package/dist/cjs/{skeleton-0353466d.js → skeleton-84102a44.js} +1 -1
  90. package/dist/cjs/{spinner-4fc60a51.js → spinner-70f38e5e.js} +1 -1
  91. package/dist/cjs/{event-types-34b103b4.js → table-fc82fa81.js} +2 -9
  92. package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
  93. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +80 -0
  94. package/dist/cjs/terminal-orders-table-61081532.js +18 -0
  95. package/dist/cjs/terminals-list-core.cjs.entry.js +16 -15
  96. package/dist/cjs/terminals-list-params-state-236f06f6.js +22 -0
  97. package/dist/cjs/{terminals-table-5e4bce93.js → terminals-table-db58a0c0.js} +3 -3
  98. package/dist/cjs/{utils-134dda01.js → utils-7c5b2837.js} +1 -1
  99. package/dist/cjs/webcomponents.cjs.js +1 -1
  100. package/dist/collection/{api → actions/sub-account}/get-subaccounts.js +2 -3
  101. package/dist/collection/api/Analytics.js +5 -0
  102. package/dist/collection/api/Business.js +6 -2
  103. package/dist/collection/api/Checkout.js +8 -1
  104. package/dist/collection/api/Payout.js +0 -3
  105. package/dist/collection/api/Terminal.js +6 -6
  106. package/dist/collection/api/services/analytics.service.js +1 -2
  107. package/dist/collection/api/services/business.service.js +7 -8
  108. package/dist/collection/api/services/checkout.service.js +4 -5
  109. package/dist/collection/api/services/dispute.service.js +4 -5
  110. package/dist/collection/api/services/insurance.service.js +2 -3
  111. package/dist/collection/api/services/payment.service.js +2 -6
  112. package/dist/collection/api/services/payout.service.js +3 -13
  113. package/dist/collection/api/services/provision.service.js +1 -2
  114. package/dist/collection/api/services/reports.service.js +1 -2
  115. package/dist/collection/api/services/subaccounts.service.js +1 -5
  116. package/dist/collection/api/services/terminal.service.js +2 -9
  117. package/dist/collection/collection-manifest.json +3 -0
  118. package/dist/collection/components/business-details/business-details.js +1 -1
  119. package/dist/collection/components/business-forms/business-form/business-form.js +1 -2
  120. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +2 -3
  121. package/dist/collection/components/business-forms/schemas/schema-validations.js +1 -1
  122. package/dist/collection/components/checkout/bank-account-form/bank-account-form-skeleton.js +10 -0
  123. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +24 -1
  124. package/dist/collection/components/checkout/card-form/card-form-skeleton.js +10 -0
  125. package/dist/collection/components/checkout/card-form/card-form.js +26 -1
  126. package/dist/collection/components/checkout/checkout.js +5 -6
  127. package/dist/collection/components/checkouts-list/checkouts-list-core.js +7 -9
  128. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +75 -9
  129. package/dist/collection/components/checkouts-list/checkouts-list-params-state.js +11 -5
  130. package/dist/collection/components/checkouts-list/checkouts-list.js +5 -6
  131. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  132. package/dist/collection/components/dispute-management/dispute-management.js +4 -5
  133. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  134. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  135. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  136. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  137. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  138. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +3 -4
  139. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  140. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  141. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  142. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  143. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  144. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  145. package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +1 -1
  146. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +2 -2
  147. package/dist/collection/components/order-terminals/order-terminals-loading.js +6 -0
  148. package/dist/collection/components/order-terminals/order-terminals.js +139 -0
  149. package/dist/collection/components/payment-details/payment-details-core.js +7 -7
  150. package/dist/collection/components/payment-details/payment-details.js +1 -1
  151. package/dist/collection/components/payments-list/payments-list-core.js +7 -7
  152. package/dist/collection/components/payments-list/payments-list-filters.js +3 -3
  153. package/dist/collection/components/payments-list/payments-list.js +4 -5
  154. package/dist/collection/components/payout-details/payout-details-core.js +1 -1
  155. package/dist/collection/components/payout-details/payout-details.js +1 -1
  156. package/dist/collection/components/payouts-list/payouts-list-core.js +12 -10
  157. package/dist/collection/components/payouts-list/payouts-list-filters.js +58 -3
  158. package/dist/collection/components/payouts-list/payouts-list-params-state.js +11 -5
  159. package/dist/collection/components/payouts-list/payouts-list.js +5 -6
  160. package/dist/collection/components/payouts-list/payouts-table.js +1 -1
  161. package/dist/collection/components/refund-form/refund-form.js +2 -3
  162. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +141 -0
  163. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +113 -0
  164. package/dist/collection/components/terminal-orders-list/terminal-orders-table.js +11 -0
  165. package/dist/collection/components/terminals-list/terminals-list-core.js +7 -9
  166. package/dist/collection/components/terminals-list/terminals-list-filters.js +64 -6
  167. package/dist/collection/components/terminals-list/terminals-list-params-state.js +11 -5
  168. package/dist/collection/components/terminals-list/terminals-list.js +5 -6
  169. package/dist/collection/components/terminals-list/terminals-table.js +1 -1
  170. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +26 -21
  171. package/dist/collection/styles/parts.js +19 -0
  172. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  173. package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
  174. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  175. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  176. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  177. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  178. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  179. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  180. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  181. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  182. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  183. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  184. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  185. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  186. package/dist/collection/ui-components/form/iframe-input.js +23 -7
  187. package/dist/docs.json +537 -31
  188. package/dist/esm/{check-pkg-version-f91ed31f.js → Analytics-c083a998.js} +9 -23
  189. package/dist/esm/{Api-97801a4b.js → Api-391d00e2.js} +1 -13
  190. package/dist/esm/{Business-29c69f22.js → Business-0855931c.js} +6 -2
  191. package/dist/esm/{Checkout-8325c97a.js → Checkout-919eb1ba.js} +9 -2
  192. package/dist/esm/{ComponentError-3ce7f437.js → ComponentError-c61dce41.js} +1 -1
  193. package/dist/esm/{SubAccount-a73bf971.js → SubAccount-9aad3891.js} +7 -10
  194. package/dist/esm/additional-questions-details_5.entry.js +2 -2
  195. package/dist/esm/{badge-938ba4b1.js → badge-2eb79416.js} +1 -1
  196. package/dist/esm/bank-account-document-form-inputs_4.entry.js +10 -10
  197. package/dist/esm/bank-account-form_9.entry.js +79 -6
  198. package/dist/esm/billing-form_3.entry.js +12 -12
  199. package/dist/esm/{business-additional-questions-schema-212a96ed.js → business-additional-questions-schema-df76728f.js} +1 -1
  200. package/dist/esm/business-details-core.entry.js +3 -3
  201. package/dist/esm/{business-form-options-018f62a5.js → business-form-options-86a13078.js} +1 -1
  202. package/dist/esm/{business-identity-schema-05bd2a5f.js → business-identity-schema-0a78fc59.js} +1 -1
  203. package/dist/esm/{business.service-45c7df3c.js → business.service-98709b1e.js} +8 -8
  204. package/dist/esm/{button-4b3f3934.js → button-cc455199.js} +1 -1
  205. package/dist/esm/check-pkg-version-6d475fed.js +22 -0
  206. package/dist/esm/{checkout.service-36e3355e.js → checkout.service-9330c18a.js} +7 -7
  207. package/dist/esm/checkouts-list-core.entry.js +16 -15
  208. package/dist/esm/checkouts-list-params-state-7bdf00bd.js +16 -0
  209. package/dist/esm/{checkouts-table-1634366d.js → checkouts-table-53981285.js} +2 -2
  210. package/dist/esm/custom-popper_4.entry.js +8 -8
  211. package/dist/esm/{dispute.service-9b9b87e5.js → dispute.service-a14ac172.js} +8 -8
  212. package/dist/esm/event-types-0a83d0b4.js +8 -0
  213. package/dist/esm/form-alert_5.entry.js +3 -3
  214. package/dist/esm/form-control-checkbox.entry.js +5 -5
  215. package/dist/esm/form-control-date.entry.js +4 -4
  216. package/dist/esm/{form-control-error-text-b3d14e92.js → form-control-error-text-74c6b38a.js} +1 -1
  217. package/dist/esm/form-control-file-v2_2.entry.js +4 -4
  218. package/dist/esm/{form-control-help-text-7b07fc37.js → form-control-help-text-76a4196e.js} +1 -1
  219. package/dist/esm/form-control-monetary.entry.js +5 -5
  220. package/dist/esm/form-control-number-masked_2.entry.js +4 -4
  221. package/dist/esm/form-control-number.entry.js +5 -5
  222. package/dist/esm/form-control-radio.entry.js +3 -3
  223. package/dist/esm/get-business-464419f6.js +32 -0
  224. package/dist/esm/{get-payout-csv-80210301.js → get-payout-csv-87cc2147.js} +8 -17
  225. package/dist/esm/{get-subaccounts-d3eeb85d.js → get-subaccounts-26454771.js} +6 -9
  226. package/dist/esm/gross-payment-chart-core.entry.js +4 -4
  227. package/dist/esm/{header-1-4db0c986.js → header-1-797ca789.js} +1 -1
  228. package/dist/esm/{header-3-fd150ccf.js → header-3-544afa0b.js} +1 -1
  229. package/dist/esm/{insurance-state-529e2d0d.js → insurance-state-307335d6.js} +1 -1
  230. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +11 -11
  231. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +12 -12
  232. package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
  233. package/dist/esm/justifi-business-details.entry.js +11 -36
  234. package/dist/esm/justifi-business-form.entry.js +17 -16
  235. package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
  236. package/dist/esm/justifi-checkout-core.entry.js +7 -7
  237. package/dist/esm/justifi-checkout.entry.js +12 -11
  238. package/dist/esm/justifi-checkouts-list-filters.entry.js +32 -9
  239. package/dist/esm/justifi-checkouts-list.entry.js +15 -14
  240. package/dist/esm/justifi-details.entry.js +2 -2
  241. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  242. package/dist/esm/justifi-dispute-management.entry.js +11 -10
  243. package/dist/esm/justifi-dispute-notification_3.entry.js +16 -15
  244. package/dist/esm/justifi-gross-payment-chart.entry.js +9 -8
  245. package/dist/esm/justifi-order-terminals.entry.js +98 -0
  246. package/dist/esm/justifi-owner-form_3.entry.js +11 -11
  247. package/dist/esm/justifi-payment-details.entry.js +11 -10
  248. package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
  249. package/dist/esm/justifi-payment-provisioning.entry.js +9 -8
  250. package/dist/esm/justifi-payments-list-filters.entry.js +3 -3
  251. package/dist/esm/justifi-payments-list.entry.js +15 -14
  252. package/dist/esm/justifi-payout-details.entry.js +11 -10
  253. package/dist/esm/justifi-payouts-list-filters.entry.js +20 -3
  254. package/dist/esm/justifi-payouts-list.entry.js +16 -15
  255. package/dist/esm/justifi-refund-form.entry.js +6 -6
  256. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +3 -3
  257. package/dist/esm/justifi-season-interruption-insurance.entry.js +11 -10
  258. package/dist/esm/justifi-terminal-orders-list.entry.js +37 -0
  259. package/dist/esm/justifi-terminals-list-filters.entry.js +27 -6
  260. package/dist/esm/justifi-terminals-list.entry.js +16 -21
  261. package/dist/esm/justifi-tokenize-payment-method.entry.js +23 -14
  262. package/dist/esm/loader.js +1 -1
  263. package/dist/esm/{package-2b7c7bc0.js → package-13968013.js} +1 -1
  264. package/dist/esm/pagination-menu.entry.js +1 -1
  265. package/dist/esm/{parts-ab2bb4b5.js → parts-489f0af6.js} +21 -1
  266. package/dist/esm/payment-details-core.entry.js +12 -12
  267. package/dist/esm/{payment-provisioning-actions-726795a0.js → payment-provisioning-actions-beadac34.js} +2 -2
  268. package/dist/esm/{payment.service-c847c1f6.js → payment.service-35bbab8f.js} +6 -9
  269. package/dist/esm/payments-list-core.entry.js +17 -16
  270. package/dist/esm/{payments-status-abf1724b.js → payments-status-35255b2c.js} +1 -1
  271. package/dist/esm/{payments-table-88fbab49.js → payments-table-6e97396a.js} +2 -2
  272. package/dist/esm/payout-details-core.entry.js +7 -7
  273. package/dist/esm/payouts-list-core.entry.js +22 -17
  274. package/dist/esm/payouts-list-params-state-ebcee300.js +16 -0
  275. package/dist/esm/{payouts-status-d9987a8a.js → payouts-status-a0cc00c5.js} +1 -1
  276. package/dist/esm/{payouts-table-055d3633.js → payouts-table-6b8ba8f1.js} +3 -3
  277. package/dist/esm/{schema-validations-ccea6a06.js → schema-validations-b1aec6a0.js} +2 -2
  278. package/dist/esm/{skeleton-ee7c3b32.js → skeleton-74fbfb68.js} +1 -1
  279. package/dist/esm/{spinner-8ec6669a.js → spinner-6b708842.js} +1 -1
  280. package/dist/esm/{event-types-fd7a05d9.js → table-e287f1c0.js} +3 -10
  281. package/dist/esm/table-filters-menu.entry.js +3 -3
  282. package/dist/esm/terminal-orders-list-core.entry.js +76 -0
  283. package/dist/esm/terminal-orders-table-765c44d5.js +14 -0
  284. package/dist/esm/terminals-list-core.entry.js +16 -15
  285. package/dist/esm/terminals-list-params-state-e4b2ec23.js +16 -0
  286. package/dist/esm/{terminals-table-2963e65b.js → terminals-table-c6258344.js} +3 -3
  287. package/dist/esm/{utils-c2dc83b2.js → utils-6c26bccc.js} +1 -1
  288. package/dist/esm/{utils-b10dae27.js → utils-fd99b806.js} +1 -1
  289. package/dist/esm/webcomponents.js +1 -1
  290. package/dist/module/Analytics.js +82 -0
  291. package/dist/module/{config.js → Api.js} +1 -13
  292. package/dist/module/Business.js +6 -2
  293. package/dist/module/Checkout.js +9 -2
  294. package/dist/module/SubAccount.js +7 -10
  295. package/dist/module/additional-statement.js +1 -1
  296. package/dist/module/bank-account-form2.js +37 -2
  297. package/dist/module/business-terms-conditions-form-step.js +3 -3
  298. package/dist/module/business.service.js +8 -8
  299. package/dist/module/cancellation-policy.js +1 -1
  300. package/dist/module/card-form2.js +43 -2
  301. package/dist/module/check-pkg-version.js +1 -75
  302. package/dist/module/checkout.service.js +4 -4
  303. package/dist/module/checkouts-list-core2.js +9 -9
  304. package/dist/module/checkouts-list-params-state.js +11 -5
  305. package/dist/module/custom-popper2.js +2 -2
  306. package/dist/module/customer-details.js +1 -1
  307. package/dist/module/dispute-management-core.js +1 -1
  308. package/dist/module/dispute-notification.js +2 -2
  309. package/dist/module/dispute-response-actions.js +5 -5
  310. package/dist/module/dispute-response-core.js +2 -2
  311. package/dist/module/dispute-response.js +4 -4
  312. package/dist/module/duplicate-charge.js +1 -1
  313. package/dist/module/electronic-evidence.js +1 -1
  314. package/dist/module/event-types2.js +1 -55
  315. package/dist/module/form-control-checkbox2.js +2 -2
  316. package/dist/module/form-control-date2.js +2 -2
  317. package/dist/module/form-control-file-v22.js +1 -1
  318. package/dist/module/form-control-file2.js +2 -2
  319. package/dist/module/form-control-monetary2.js +2 -2
  320. package/dist/module/form-control-number-masked2.js +2 -2
  321. package/dist/module/form-control-number.js +2 -2
  322. package/dist/module/form-control-radio2.js +2 -2
  323. package/dist/module/form-control-select2.js +2 -2
  324. package/dist/module/form-control-text2.js +2 -2
  325. package/dist/module/form-control-textarea2.js +2 -2
  326. package/dist/module/get-business.js +32 -0
  327. package/dist/module/get-payout-csv.js +4 -13
  328. package/dist/module/get-subaccounts.js +2 -5
  329. package/dist/module/gross-payment-chart-core2.js +1 -1
  330. package/dist/module/hidden-input2.js +1 -1
  331. package/dist/module/iframe-input2.js +6 -7
  332. package/dist/module/justifi-business-details.js +4 -31
  333. package/dist/module/justifi-business-form.js +4 -3
  334. package/dist/module/justifi-checkout.js +5 -5
  335. package/dist/module/justifi-checkouts-list-filters.js +34 -10
  336. package/dist/module/justifi-checkouts-list.js +4 -4
  337. package/dist/module/justifi-dispute-management.js +4 -4
  338. package/dist/module/justifi-gross-payment-chart.js +4 -3
  339. package/dist/module/justifi-order-terminals.d.ts +11 -0
  340. package/dist/module/justifi-order-terminals.js +119 -0
  341. package/dist/module/justifi-payment-details.js +2 -1
  342. package/dist/module/justifi-payment-provisioning.js +4 -3
  343. package/dist/module/justifi-payments-list-filters.js +3 -3
  344. package/dist/module/justifi-payments-list.js +4 -4
  345. package/dist/module/justifi-payout-details.js +2 -1
  346. package/dist/module/justifi-payouts-list-filters.js +24 -4
  347. package/dist/module/justifi-payouts-list.js +4 -4
  348. package/dist/module/justifi-refund-form.js +3 -3
  349. package/dist/module/justifi-season-interruption-insurance.js +6 -5
  350. package/dist/module/justifi-terminal-orders-list.d.ts +11 -0
  351. package/dist/module/justifi-terminal-orders-list.js +73 -0
  352. package/dist/module/justifi-terminals-list-filters.js +29 -7
  353. package/dist/module/justifi-terminals-list.js +7 -12
  354. package/dist/module/justifi-tokenize-payment-method.js +16 -10
  355. package/dist/module/package.js +1 -1
  356. package/dist/module/parts.js +21 -1
  357. package/dist/module/payment-details-core2.js +7 -7
  358. package/dist/module/payment.service.js +3 -6
  359. package/dist/module/payments-list-core2.js +9 -8
  360. package/dist/module/payout-details-core2.js +1 -1
  361. package/dist/module/payouts-list-core2.js +15 -11
  362. package/dist/module/payouts-list-params-state.js +11 -5
  363. package/dist/module/product-or-service.js +1 -1
  364. package/dist/module/refund-policy.js +1 -1
  365. package/dist/module/schema-validations.js +1 -1
  366. package/dist/module/shipping-details.js +1 -1
  367. package/dist/module/table-filters-menu2.js +2 -2
  368. package/dist/module/table.js +55 -0
  369. package/dist/module/terminal-orders-list-core.d.ts +11 -0
  370. package/dist/module/terminal-orders-list-core.js +6 -0
  371. package/dist/module/terminal-orders-list-core2.js +117 -0
  372. package/dist/module/terminals-list-core2.js +10 -10
  373. package/dist/module/terminals-list-params-state.js +11 -5
  374. package/dist/types/api/Business.d.ts +4 -4
  375. package/dist/types/api/Checkout.d.ts +6 -1
  376. package/dist/types/api/Payout.d.ts +0 -1
  377. package/dist/types/api/Terminal.d.ts +6 -12
  378. package/dist/types/components/checkout/bank-account-form/bank-account-form-skeleton.d.ts +6 -0
  379. package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +2 -0
  380. package/dist/types/components/checkout/card-form/card-form-skeleton.d.ts +6 -0
  381. package/dist/types/components/checkout/card-form/card-form.d.ts +2 -0
  382. package/dist/types/components/checkouts-list/checkouts-list-core.d.ts +1 -1
  383. package/dist/types/components/checkouts-list/checkouts-list-filters.d.ts +5 -2
  384. package/dist/types/components/checkouts-list/checkouts-list-params-state.d.ts +4 -3
  385. package/dist/types/components/order-terminals/order-terminals-loading.d.ts +1 -0
  386. package/dist/types/components/order-terminals/order-terminals.d.ts +16 -0
  387. package/dist/types/components/payments-list/payments-list-core.d.ts +1 -1
  388. package/dist/types/components/payouts-list/payouts-list-core.d.ts +1 -1
  389. package/dist/types/components/payouts-list/payouts-list-filters.d.ts +3 -0
  390. package/dist/types/components/payouts-list/payouts-list-params-state.d.ts +4 -3
  391. package/dist/types/components/terminal-orders-list/terminal-orders-list-core.d.ts +25 -0
  392. package/dist/types/components/terminal-orders-list/terminal-orders-list.d.ts +11 -0
  393. package/dist/types/components/terminal-orders-list/terminal-orders-table.d.ts +9 -0
  394. package/dist/types/components/terminals-list/terminals-list-core.d.ts +1 -1
  395. package/dist/types/components/terminals-list/terminals-list-filters.d.ts +4 -1
  396. package/dist/types/components/terminals-list/terminals-list-params-state.d.ts +4 -3
  397. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +4 -3
  398. package/dist/types/components.d.ts +125 -12
  399. package/dist/types/styles/parts.d.ts +14 -0
  400. package/dist/types/ui-components/form/iframe-input.d.ts +2 -1
  401. package/dist/webcomponents/p-020e7d5d.entry.js +1 -0
  402. package/dist/webcomponents/{p-0f6ae5ea.entry.js → p-060896c4.entry.js} +1 -1
  403. package/dist/webcomponents/{p-298e290e.js → p-06f5b709.js} +1 -1
  404. package/dist/webcomponents/p-092515e0.js +1 -0
  405. package/dist/webcomponents/{p-94eba309.js → p-09496255.js} +1 -1
  406. package/dist/webcomponents/p-0b38cfbf.js +1 -0
  407. package/dist/webcomponents/p-0c768ac5.entry.js +1 -0
  408. package/dist/webcomponents/p-0e180654.js +1 -0
  409. package/dist/webcomponents/p-0f0c5556.entry.js +1 -0
  410. package/dist/webcomponents/{p-f19f9f61.js → p-1278dedf.js} +1 -1
  411. package/dist/webcomponents/p-15675401.entry.js +1 -0
  412. package/dist/webcomponents/p-185181a8.js +1 -0
  413. package/dist/webcomponents/{p-5bf4535a.entry.js → p-19063270.entry.js} +1 -1
  414. package/dist/webcomponents/p-1906c67d.entry.js +1 -0
  415. package/dist/webcomponents/p-1a2eea29.entry.js +1 -0
  416. package/dist/webcomponents/p-1f4e26f3.entry.js +1 -0
  417. package/dist/webcomponents/p-1f99a902.js +1 -0
  418. package/dist/webcomponents/{p-bada4783.entry.js → p-235abbd1.entry.js} +1 -1
  419. package/dist/webcomponents/p-245819b0.entry.js +1 -0
  420. package/dist/webcomponents/p-26864218.entry.js +1 -0
  421. package/dist/webcomponents/p-27c72b92.entry.js +1 -0
  422. package/dist/webcomponents/p-2e0ae487.js +1 -0
  423. package/dist/webcomponents/p-2f9af679.js +1 -0
  424. package/dist/webcomponents/{p-21431a04.js → p-300a99ee.js} +1 -1
  425. package/dist/webcomponents/p-309dc8aa.js +1 -0
  426. package/dist/webcomponents/p-32ca779f.js +1 -0
  427. package/dist/webcomponents/p-375b4d2c.entry.js +1 -0
  428. package/dist/webcomponents/p-37b7b200.entry.js +1 -0
  429. package/dist/webcomponents/p-389e1eb7.js +1 -0
  430. package/dist/webcomponents/p-3a7a2a64.entry.js +1 -0
  431. package/dist/webcomponents/p-3ab7a49e.entry.js +1 -0
  432. package/dist/webcomponents/{p-938993c7.js → p-3b680e50.js} +1 -1
  433. package/dist/webcomponents/p-3bb21097.entry.js +1 -0
  434. package/dist/webcomponents/p-3d486f37.entry.js +1 -0
  435. package/dist/webcomponents/p-42a48c59.js +1 -0
  436. package/dist/webcomponents/p-45bf8573.js +1 -0
  437. package/dist/webcomponents/p-49df4962.entry.js +1 -0
  438. package/dist/webcomponents/{p-ab1504b6.entry.js → p-4a71c90b.entry.js} +1 -1
  439. package/dist/webcomponents/{p-c5c03d88.js → p-4acf8ca2.js} +1 -1
  440. package/dist/webcomponents/p-4b6256e0.entry.js +1 -0
  441. package/dist/webcomponents/p-553dba95.entry.js +1 -0
  442. package/dist/webcomponents/p-595479da.entry.js +1 -0
  443. package/dist/webcomponents/p-5a96a2a2.entry.js +1 -0
  444. package/dist/webcomponents/{p-275f2154.js → p-5d1d2fd7.js} +1 -1
  445. package/dist/webcomponents/p-61b5417f.entry.js +1 -0
  446. package/dist/webcomponents/p-66ae2a0e.entry.js +1 -0
  447. package/dist/webcomponents/p-69242bad.entry.js +1 -0
  448. package/dist/webcomponents/p-73b98298.entry.js +1 -0
  449. package/dist/webcomponents/p-78a204f9.entry.js +1 -0
  450. package/dist/webcomponents/p-794cce10.entry.js +1 -0
  451. package/dist/webcomponents/{p-4c820f81.js → p-7bf21156.js} +1 -1
  452. package/dist/webcomponents/p-7c541199.entry.js +1 -0
  453. package/dist/webcomponents/p-7ee5a90e.entry.js +1 -0
  454. package/dist/webcomponents/p-87a7c3aa.js +1 -0
  455. package/dist/webcomponents/{p-8115b2f4.js → p-87f8c596.js} +1 -1
  456. package/dist/webcomponents/{p-5afefc50.entry.js → p-89ecfbf4.entry.js} +2 -2
  457. package/dist/webcomponents/{p-3e716e03.js → p-8a7266b4.js} +1 -1
  458. package/dist/webcomponents/{p-8f25f016.js → p-8b16a20f.js} +1 -1
  459. package/dist/webcomponents/p-8bedece0.entry.js +1 -0
  460. package/dist/webcomponents/{p-e63fdbca.js → p-906a6027.js} +1 -1
  461. package/dist/webcomponents/p-939d0a35.entry.js +1 -0
  462. package/dist/webcomponents/{p-de13f23c.js → p-95e55bb1.js} +1 -1
  463. package/dist/webcomponents/p-95fbb4b0.entry.js +1 -0
  464. package/dist/webcomponents/p-9a4d0e1d.entry.js +1 -0
  465. package/dist/webcomponents/{p-14c91ffd.js → p-9dd8685c.js} +1 -1
  466. package/dist/webcomponents/p-9edd6ad8.js +1 -0
  467. package/dist/webcomponents/p-a0082e77.entry.js +1 -0
  468. package/dist/webcomponents/{p-1820fd87.entry.js → p-a31ba276.entry.js} +1 -1
  469. package/dist/webcomponents/p-a90d8f4f.entry.js +1 -0
  470. package/dist/webcomponents/p-ab45511e.js +1 -0
  471. package/dist/webcomponents/p-b1aa7d2b.entry.js +1 -0
  472. package/dist/webcomponents/p-b2d57b2c.entry.js +1 -0
  473. package/dist/webcomponents/p-b7084adc.js +1 -0
  474. package/dist/webcomponents/{p-f2f2e20e.js → p-b84ee6d8.js} +1 -1
  475. package/dist/webcomponents/p-c4ca0038.js +1 -0
  476. package/dist/webcomponents/p-c78b5581.js +1 -0
  477. package/dist/webcomponents/{p-0ea387a2.js → p-c9b78275.js} +1 -1
  478. package/dist/webcomponents/p-cba89310.entry.js +1 -0
  479. package/dist/webcomponents/p-cbb6cc19.js +1 -0
  480. package/dist/webcomponents/p-cbe05f11.js +1 -0
  481. package/dist/webcomponents/p-cc552f59.entry.js +1 -0
  482. package/dist/webcomponents/p-d398ce81.js +1 -0
  483. package/dist/webcomponents/p-d432f0fd.entry.js +1 -0
  484. package/dist/webcomponents/{p-0277c1b2.js → p-d43a38a4.js} +1 -1
  485. package/dist/webcomponents/p-d5c41ec6.js +1 -0
  486. package/dist/webcomponents/{p-db37b175.entry.js → p-e007002a.entry.js} +1 -1
  487. package/dist/webcomponents/p-e15f749c.entry.js +1 -0
  488. package/dist/webcomponents/{p-d07c45e6.entry.js → p-e3e0d791.entry.js} +1 -1
  489. package/dist/webcomponents/p-e8cd9691.js +1 -0
  490. package/dist/webcomponents/{p-5baec916.entry.js → p-e8fc36c1.entry.js} +1 -1
  491. package/dist/webcomponents/p-e9e80a62.js +1 -0
  492. package/dist/webcomponents/{p-7542ebd6.entry.js → p-ea0f2446.entry.js} +1 -1
  493. package/dist/webcomponents/p-ebbe93ac.entry.js +1 -0
  494. package/dist/webcomponents/p-ec019b89.js +1 -0
  495. package/dist/webcomponents/p-edae0bb0.entry.js +1 -0
  496. package/dist/webcomponents/p-f162c569.entry.js +1 -0
  497. package/dist/webcomponents/p-f30cb232.js +1 -0
  498. package/dist/webcomponents/p-f4739d31.js +1 -0
  499. package/dist/webcomponents/{p-facada09.entry.js → p-f7d9ea0b.entry.js} +1 -1
  500. package/dist/webcomponents/{p-3e0f3d87.entry.js → p-fea43254.entry.js} +1 -1
  501. package/dist/webcomponents/webcomponents.esm.js +1 -1
  502. package/package.json +1 -1
  503. package/dist/cjs/checkouts-list-params-state-418c75a3.js +0 -14
  504. package/dist/cjs/payouts-list-params-state-16348184.js +0 -14
  505. package/dist/cjs/terminals-list-params-state-95ff6a64.js +0 -14
  506. package/dist/config.js +0 -11
  507. package/dist/esm/checkouts-list-params-state-1d968971.js +0 -10
  508. package/dist/esm/payouts-list-params-state-49618e7a.js +0 -10
  509. package/dist/esm/terminals-list-params-state-2c48d35f.js +0 -10
  510. package/dist/types/home/runner/work/web-component-library/web-component-library/packages/webcomponents/.stencil/packages/webcomponents/config.d.ts +0 -11
  511. package/dist/webcomponents/p-00c32bb9.entry.js +0 -1
  512. package/dist/webcomponents/p-01d4e35a.js +0 -1
  513. package/dist/webcomponents/p-045d4ebf.entry.js +0 -1
  514. package/dist/webcomponents/p-08d87a52.entry.js +0 -1
  515. package/dist/webcomponents/p-0e68b7d6.entry.js +0 -1
  516. package/dist/webcomponents/p-131db5d1.entry.js +0 -1
  517. package/dist/webcomponents/p-1603fe4d.js +0 -1
  518. package/dist/webcomponents/p-16ba9bea.js +0 -1
  519. package/dist/webcomponents/p-189affee.entry.js +0 -1
  520. package/dist/webcomponents/p-18a7a9e6.entry.js +0 -1
  521. package/dist/webcomponents/p-1e8a1e01.entry.js +0 -1
  522. package/dist/webcomponents/p-2916bb62.entry.js +0 -1
  523. package/dist/webcomponents/p-2f94d478.entry.js +0 -1
  524. package/dist/webcomponents/p-31cbc05a.entry.js +0 -1
  525. package/dist/webcomponents/p-31e2d12c.entry.js +0 -1
  526. package/dist/webcomponents/p-35b00a0d.js +0 -1
  527. package/dist/webcomponents/p-40e23b13.js +0 -1
  528. package/dist/webcomponents/p-415deed1.entry.js +0 -1
  529. package/dist/webcomponents/p-44d2c762.entry.js +0 -1
  530. package/dist/webcomponents/p-47a3003c.entry.js +0 -1
  531. package/dist/webcomponents/p-4bad3621.js +0 -1
  532. package/dist/webcomponents/p-58f5e37b.entry.js +0 -1
  533. package/dist/webcomponents/p-5b72bab7.js +0 -1
  534. package/dist/webcomponents/p-62696f63.entry.js +0 -1
  535. package/dist/webcomponents/p-63caad6e.entry.js +0 -1
  536. package/dist/webcomponents/p-66b6c56b.js +0 -1
  537. package/dist/webcomponents/p-6d2c8be2.entry.js +0 -1
  538. package/dist/webcomponents/p-72992c97.entry.js +0 -1
  539. package/dist/webcomponents/p-72ff0d5f.entry.js +0 -1
  540. package/dist/webcomponents/p-74014392.entry.js +0 -1
  541. package/dist/webcomponents/p-778e9dd0.entry.js +0 -1
  542. package/dist/webcomponents/p-7b04f492.entry.js +0 -1
  543. package/dist/webcomponents/p-7bcec768.entry.js +0 -1
  544. package/dist/webcomponents/p-7c31ec70.js +0 -1
  545. package/dist/webcomponents/p-85b5eeb6.entry.js +0 -1
  546. package/dist/webcomponents/p-8815bf82.entry.js +0 -1
  547. package/dist/webcomponents/p-8da3667c.js +0 -1
  548. package/dist/webcomponents/p-9540d2f2.js +0 -1
  549. package/dist/webcomponents/p-960a8ec2.js +0 -1
  550. package/dist/webcomponents/p-98dad117.entry.js +0 -1
  551. package/dist/webcomponents/p-991df3a1.entry.js +0 -1
  552. package/dist/webcomponents/p-9ad6e792.entry.js +0 -1
  553. package/dist/webcomponents/p-9f773228.js +0 -1
  554. package/dist/webcomponents/p-a2076a0e.js +0 -1
  555. package/dist/webcomponents/p-aa02cf71.js +0 -1
  556. package/dist/webcomponents/p-ab254da1.entry.js +0 -1
  557. package/dist/webcomponents/p-af66f580.entry.js +0 -1
  558. package/dist/webcomponents/p-b15ad5df.js +0 -1
  559. package/dist/webcomponents/p-b2209632.entry.js +0 -1
  560. package/dist/webcomponents/p-b6e90400.entry.js +0 -1
  561. package/dist/webcomponents/p-ca361ef6.entry.js +0 -1
  562. package/dist/webcomponents/p-ccd91d8a.entry.js +0 -1
  563. package/dist/webcomponents/p-d0bde1cb.js +0 -1
  564. package/dist/webcomponents/p-d8c04275.js +0 -1
  565. package/dist/webcomponents/p-d91c46dc.js +0 -1
  566. package/dist/webcomponents/p-dd867d1f.js +0 -1
  567. package/dist/webcomponents/p-ddcd2ff7.entry.js +0 -1
  568. package/dist/webcomponents/p-e8c3c23f.js +0 -1
  569. package/dist/webcomponents/p-eae512f0.entry.js +0 -1
  570. package/dist/webcomponents/p-f0c0cbc8.entry.js +0 -1
  571. package/dist/webcomponents/p-f28ddbe8.entry.js +0 -1
  572. package/dist/webcomponents/p-f694e1c8.js +0 -1
  573. package/dist/webcomponents/p-fa2b405c.entry.js +0 -1
  574. package/dist/webcomponents/p-fdbcd486.js +0 -1
  575. /package/dist/collection/{components/business-details → actions/business}/get-business.js +0 -0
  576. /package/dist/collection/{components → actions}/checkout/checkout-actions.js +0 -0
  577. /package/dist/collection/{components/checkouts-list → actions/checkout}/get-checkouts.js +0 -0
  578. /package/dist/collection/{components/dispute-management → actions/dispute}/dispute-actions.js +0 -0
  579. /package/dist/collection/{components/gross-payment-chart → actions/gross-payment}/get-gross-payment-chart-data.js +0 -0
  580. /package/dist/collection/{components → actions}/insurance/insurance-actions.js +0 -0
  581. /package/dist/collection/{components/payment-details → actions/payment}/get-payment-details.js +0 -0
  582. /package/dist/collection/{components/payments-list → actions/payment}/get-payments.js +0 -0
  583. /package/dist/collection/{components/payout-details → actions/payout}/get-payout-details.js +0 -0
  584. /package/dist/collection/{components/payouts-list → actions/payout}/get-payouts.js +0 -0
  585. /package/dist/collection/{components/terminals-list → actions/terminal}/get-terminal-detail.js +0 -0
  586. /package/dist/collection/{components/terminals-list → actions/terminal}/get-terminals.js +0 -0
  587. /package/dist/types/{components/business-details → actions/business}/get-business.d.ts +0 -0
  588. /package/dist/types/{components → actions}/checkout/checkout-actions.d.ts +0 -0
  589. /package/dist/types/{components/checkouts-list → actions/checkout}/get-checkouts.d.ts +0 -0
  590. /package/dist/types/{components/dispute-management → actions/dispute}/dispute-actions.d.ts +0 -0
  591. /package/dist/types/{components/gross-payment-chart → actions/gross-payment}/get-gross-payment-chart-data.d.ts +0 -0
  592. /package/dist/types/{components → actions}/insurance/insurance-actions.d.ts +0 -0
  593. /package/dist/types/{components/payment-details → actions/payment}/get-payment-details.d.ts +0 -0
  594. /package/dist/types/{components/payments-list → actions/payment}/get-payments.d.ts +0 -0
  595. /package/dist/types/{components/payout-details → actions/payout}/get-payout-details.d.ts +0 -0
  596. /package/dist/types/{components/payouts-list → actions/payout}/get-payouts.d.ts +0 -0
  597. /package/dist/types/{api → actions/sub-account}/get-subaccounts.d.ts +0 -0
  598. /package/dist/types/{components/terminals-list → actions/terminal}/get-terminal-detail.d.ts +0 -0
  599. /package/dist/types/{components/terminals-list → actions/terminal}/get-terminals.d.ts +0 -0
@@ -1,10 +1,10 @@
1
- import { p as packageJson } from './package-2b7c7bc0.js';
2
- import { A as Api, c as config } from './Api-97801a4b.js';
1
+ import { p as packageJson } from './package-13968013.js';
2
+ import { A as Api } from './Api-391d00e2.js';
3
3
 
4
4
  class AnalyticsService {
5
5
  async record(body) {
6
6
  const endpoint = 'analytics';
7
- return Api({ apiOrigin: config.proxyApiOrigin }).post(endpoint, body);
7
+ return Api({ apiOrigin: undefined }).post(endpoint, body);
8
8
  }
9
9
  }
10
10
 
@@ -20,6 +20,11 @@ class JustifiAnalytics {
20
20
  // Track the event
21
21
  await this.service.record(data);
22
22
  };
23
+ // dont track analytics in local or storybook
24
+ if (window.location.origin.includes('localhost') ||
25
+ window.location.origin.includes('storybook')) {
26
+ return;
27
+ }
23
28
  this.service = new AnalyticsService();
24
29
  this.componentInstance = component;
25
30
  this.setUpBasicData();
@@ -74,23 +79,4 @@ class JustifiAnalytics {
74
79
  }
75
80
  }
76
81
 
77
- const latestVersion = async (packageName) => {
78
- const response = await fetch('https://registry.npmjs.org/' + packageName + '/latest');
79
- const json = await response.json();
80
- return json.version;
81
- };
82
- const checkPkgVersion = async () => {
83
- const version = packageJson.version;
84
- const packageName = packageJson.name;
85
- const latest = await latestVersion(packageName);
86
- // remove rc from version and everything that comes after -rc
87
- const latestNotRC = latest.replace(/-rc.*/, '');
88
- // checkif there's a major version difference
89
- const versionParts = version.split('.');
90
- const latestParts = latest.split('.');
91
- if (versionParts[0] !== latestParts[0]) {
92
- console.warn(`The package ${packageName} is out of date. The latest version is ${latestNotRC}. Please update.`);
93
- }
94
- };
95
-
96
- export { JustifiAnalytics as J, checkPkgVersion as c };
82
+ export { JustifiAnalytics as J };
@@ -1,15 +1,3 @@
1
- const config = {
2
- proxyApiOrigin: "https://wc-proxy.justifi.ai",
3
- iFrameOrigin: "https://components.justifi.ai/v2",
4
- proxyAuthToken: 'eyJraWQiOiJqdXN0aWZpLWUyNDgyMmU3ODE1MmEzZjRkMjU1IiwidHlwIjoiSldUIiwiYWxnIjoiUlMyNTYifQ.eyJpc3MiOiJodHRwczovL2F1dGguanVzdGlmaS5haS8iLCJhenAiOiJvYXNfMmlsWHBqOHQ2WVlEQ0xWU0FiVFczMiIsInN1YiI6Im9hc18yaWxYcGo4dDZZWURDTFZTQWJUVzMyQHNlc3Npb25zIiwiYXVkIjoiaHR0cHM6Ly9hcGkuanVzdGlmaS5haS92MSIsImd0eSI6ImNsaWVudC1jcmVkZW50aWFscyIsInBlcm1pc3Npb25zIjpbeyJyb2xlIjoicmVhZDphY2NvdW50IiwicmVzb3VyY2VfaWQiOiJhY2NfNUV0OWlYclNTQVpSMktTb3VRR0FXaSJ9LHsicm9sZSI6InJlYWQ6YnVzaW5lc3MiLCJyZXNvdXJjZV9pZCI6ImJpel8zYmg2OWJxMXJrM2RtWE5vQUtWb251In1dLCJleHAiOjE3MTE1NTk0MTQsImlhdCI6MTcwMzc4MzQxNCwicGxhdGZvcm1fYWNjb3VudF9pZCI6ImFjY18zcmVOYjRhTll5MmlXRFpRVmN6bXg0In0.oPOoDYxzrnpE8PRUaz-FCU4KqnSuNbFTeDkl3AtMscjUkIctP1OIFh-ZGBjbH5eVH5noXCbaiin0j92dS7jx4gLpxuYT2Q8gpZbuIsT7fa58elvGeRkUUJ-AC5ueZxlv90yPWMm0OIbyrV7XZhuwYyKbV-ZczEbl2JpvBMe40CM-LdClQV66d_-Kw9a23SabBVfYgP5V-5OsagOIESvzZoO-27tGlNkV2a-hxqddDCOZv0HvRYAtp5S7EQrmRdEBu5gCNbf1eRFG424hxZUFVr2LdetYuKQLxJjDdUjf86ZwEUecrEaDSupiN1VC3CitdOwBVf6-R_N0VpN4VLVD5g',
5
- exampleAccountId: 'acc_5Et9iXrSSAZR2KSouQGAWi',
6
- exampleBusinessId: 'biz_3bh69bq1rk3dmXNoAKVonu',
7
- examplePaymentId: 'py_1NNeEnf4FbelxDCQN2RHcE',
8
- examplePayoutId: 'po_17745yESnHyEgWNeunmhmR',
9
- privateApiOrigin: '',
10
- privateAuthToken: '',
11
- };
12
-
13
1
  // Unique ID creation requires a high quality random # generator. In the browser we therefore
14
2
  // require the crypto API and do not support built-in fallback to lower quality random number
15
3
  // generators (like Math.random()).
@@ -125,4 +113,4 @@ function handleError(requestUrl) {
125
113
  console.error(`Error fetching from ${requestUrl}`);
126
114
  }
127
115
 
128
- export { Api as A, config as c };
116
+ export { Api as A };
@@ -187,14 +187,18 @@ class Business {
187
187
  this.email = business.email;
188
188
  this.id = business.id;
189
189
  this.industry = business.industry;
190
- this.legal_address = new Address(business.legal_address || {});
190
+ this.legal_address = (business === null || business === void 0 ? void 0 : business.legal_address)
191
+ ? new Address(business.legal_address)
192
+ : null;
191
193
  this.legal_name = business.legal_name;
192
194
  this.metadata = business.metadata;
193
195
  this.owners = business.owners;
194
196
  this.phone = business.phone;
195
197
  this.platform_account_id = business.platform_account_id;
196
198
  this.product_categories = business.product_categories;
197
- this.representative = new Representative(business.representative || {});
199
+ this.representative = business.representative
200
+ ? new Representative(business.representative)
201
+ : null;
198
202
  this.tax_id = business.tax_id;
199
203
  this.terms_conditions_accepted = business.terms_conditions_accepted;
200
204
  this.updated_at = business.updated_at;
@@ -34,7 +34,7 @@ class Checkout {
34
34
  this.bnpl = data.bnpl;
35
35
  this.total_amount = data.total_amount;
36
36
  this.insurance_amount = data.insurance_amount;
37
- this.status = data.status;
37
+ this.status = ICheckoutStatus[data.status];
38
38
  this.payment_currency = data.payment_currency;
39
39
  this.mode = data.mode;
40
40
  this.statement_descriptor = data.statement_descriptor;
@@ -80,10 +80,17 @@ var ICheckoutPaymentMode;
80
80
  ICheckoutPaymentMode["card_present"] = "Card Present";
81
81
  ICheckoutPaymentMode["unknown"] = "";
82
82
  })(ICheckoutPaymentMode || (ICheckoutPaymentMode = {}));
83
+ var ICheckoutStatus;
84
+ (function (ICheckoutStatus) {
85
+ ICheckoutStatus["created"] = "created";
86
+ ICheckoutStatus["completed"] = "completed";
87
+ ICheckoutStatus["attempted"] = "attempted";
88
+ ICheckoutStatus["expired"] = "expired";
89
+ })(ICheckoutStatus || (ICheckoutStatus = {}));
83
90
  var CompletionStatuses;
84
91
  (function (CompletionStatuses) {
85
92
  CompletionStatuses["failed"] = "failed";
86
93
  CompletionStatuses["succeeded"] = "succeeded";
87
94
  })(CompletionStatuses || (CompletionStatuses = {}));
88
95
 
89
- export { Checkout as C };
96
+ export { Checkout as C, ICheckoutStatus as I, ICheckoutPaymentMode as a };
@@ -17,4 +17,4 @@ var ComponentErrorSeverity;
17
17
  ComponentErrorSeverity["ERROR"] = "error";
18
18
  })(ComponentErrorSeverity || (ComponentErrorSeverity = {}));
19
19
 
20
- export { ComponentErrorSeverity as C, ComponentErrorCodes as a };
20
+ export { ComponentErrorCodes as C, ComponentErrorSeverity as a };
@@ -40,20 +40,17 @@ class Payout {
40
40
  this.created_at = payout.created_at;
41
41
  this.updated_at = payout.updated_at;
42
42
  }
43
- get csv() {
44
- return this.id;
45
- }
46
43
  formattedPaymentAmount(amount) {
47
44
  return formatCurrency(amount, this.currency);
48
45
  }
49
46
  }
50
47
 
51
- var TerminalStatuses;
52
- (function (TerminalStatuses) {
53
- TerminalStatuses["connected"] = "connected";
54
- TerminalStatuses["disconnected"] = "disconnected";
55
- TerminalStatuses["unknown"] = "unknown";
56
- })(TerminalStatuses || (TerminalStatuses = {}));
48
+ var ITerminalStatus;
49
+ (function (ITerminalStatus) {
50
+ ITerminalStatus["connected"] = "connected";
51
+ ITerminalStatus["disconnected"] = "disconnected";
52
+ ITerminalStatus["unknown"] = "unknown";
53
+ })(ITerminalStatus || (ITerminalStatus = {}));
57
54
  var TerminalProviders;
58
55
  (function (TerminalProviders) {
59
56
  TerminalProviders["verifone"] = "verifone";
@@ -107,4 +104,4 @@ class SubAccount {
107
104
  }
108
105
  }
109
106
 
110
- export { Payout as P, SubAccount as S, Terminal as T };
107
+ export { ITerminalStatus as I, Payout as P, SubAccount as S, Terminal as T };
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-29fcfdf5.js';
2
- import { c as DetailItem, D as DetailSectionTitle } from './utils-c2dc83b2.js';
2
+ import { c as DetailItem, D as DetailSectionTitle } from './utils-6c26bccc.js';
3
3
  import { i as isEmptyObject, s as snakeCaseToHumanReadable, h as formatMediumDate } from './utils-c37124fc.js';
4
- import './parts-ab2bb4b5.js';
4
+ import './parts-489f0af6.js';
5
5
 
6
6
  const AdditionalQuestionsDetails = class {
7
7
  constructor(hostRef) {
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-29fcfdf5.js';
2
- import { n as badge, o as badgePrimary, p as badgeSecondary, q as badgeSuccess, r as badgeDanger, u as badgeWarning, v as badgeInfo, w as badgeLight, x as badgeDark } from './parts-ab2bb4b5.js';
2
+ import { n as badge, o as badgePrimary, p as badgeSecondary, q as badgeSuccess, r as badgeDanger, u as badgeWarning, v as badgeInfo, w as badgeLight, x as badgeDark } from './parts-489f0af6.js';
3
3
 
4
4
  var BadgeVariant;
5
5
  (function (BadgeVariant) {
@@ -1,19 +1,19 @@
1
1
  import { r as registerInstance, h, H as Host, c as createEvent, g as getElement } from './index-29fcfdf5.js';
2
- import './ComponentError-3ce7f437.js';
3
- import './Checkout-8325c97a.js';
2
+ import './ComponentError-c61dce41.js';
3
+ import './Checkout-919eb1ba.js';
4
4
  import './Pagination-afc8f96d.js';
5
5
  import './Payment-82d2f453.js';
6
- import './SubAccount-a73bf971.js';
6
+ import './SubAccount-9aad3891.js';
7
7
  import { E as EntityDocumentType } from './Document-1907c0d4.js';
8
- import { c as bankAccountTypeOptions } from './business-form-options-018f62a5.js';
8
+ import { c as bankAccountTypeOptions } from './business-form-options-86a13078.js';
9
9
  import './event-types-5c87de02.js';
10
10
  import { n as numberOnlyHandler } from './utils-20cdf321.js';
11
11
  import { s as snakeCaseToHumanReadable, b as formatDate, k as formatTimeSeconds } from './utils-c37124fc.js';
12
- import { R as card, h as heading2, E as table, k as tableHeadCell, F as tableCell, l as label, c as input, b as inputInvalid, S as inputDisabled, a as inputFocused } from './parts-ab2bb4b5.js';
13
- import { S as Skeleton } from './skeleton-ee7c3b32.js';
14
- import { F as FormControlErrorText } from './form-control-error-text-b3d14e92.js';
12
+ import { a0 as card, h as heading2, Q as table, k as tableHeadCell, R as tableCell, l as label, c as input, b as inputInvalid, a1 as inputDisabled, a as inputFocused } from './parts-489f0af6.js';
13
+ import { S as Skeleton } from './skeleton-74fbfb68.js';
14
+ import { F as FormControlErrorText } from './form-control-error-text-74c6b38a.js';
15
15
  import './Dispute-5fd28ec9.js';
16
- import './Business-29c69f22.js';
16
+ import './Business-0855931c.js';
17
17
  import './helpers-96ea3464.js';
18
18
  import './state-options-a356fb11.js';
19
19
 
@@ -112,10 +112,10 @@ const FileInput = class {
112
112
  return part;
113
113
  }
114
114
  render() {
115
- return (h(Host, { key: '4950c97a276963d0b666313b5eb2047cd05ffe0f' }, h("div", { key: 'f09de9c091824da6e385e9129c007ea3ddefea7a', class: "form-group d-flex flex-column" }, h("div", { key: 'c853c5997df0a9a3b0789712abcbf25c1bc50884', class: "d-flex align-items-start gap-2" }, h("label", { key: 'e5c17b93898fdf7e2244f3a5549fdd3ddcc2bab8', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '131ac4f66a6bae82f53473f36448780090f28a71', helpText: this.helpText })), h("input", { key: 'cf8374ebefcbe18b73d853c96b703652869ea0af', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onFocus: () => this.isFocused = true, onBlur: () => {
115
+ return (h(Host, { key: '09e633d625a1f8f2233d80e8b999fcd7e4a16f62' }, h("div", { key: 'b788fd0963c0ab62d0f7e236fb47ea86430b522e', class: "form-group d-flex flex-column" }, h("div", { key: '1e7a11e13ec3c386c9f30b5cd38c3afa99c88da5', class: "d-flex align-items-start gap-2" }, h("label", { key: '45cd0d97ae44c32b4d1e0d87187ac1871511c319', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'd312e4f181dfb18c0b86048960ec0a333760f290', helpText: this.helpText })), h("input", { key: '73ff59959c75dc99cccddde819ebbeb6bc1de4ab', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onFocus: () => this.isFocused = true, onBlur: () => {
116
116
  this.isFocused = false;
117
117
  this.formControlBlur.emit();
118
- } }), h(FormControlErrorText, { key: 'd5ac4a7e8b5f70fd0cb63e9358bb372a3167ab5e', errorText: this.errorText, name: this.name }))));
118
+ } }), h(FormControlErrorText, { key: 'cb9c8bd4f623ebd82bdbd9725805f6038b0e1f8c', errorText: this.errorText, name: this.name }))));
119
119
  }
120
120
  get el() { return getElement(this); }
121
121
  };
@@ -1,16 +1,34 @@
1
- import { r as registerInstance, h, H as Host, c as createEvent } from './index-29fcfdf5.js';
1
+ import { h, r as registerInstance, H as Host, c as createEvent } from './index-29fcfdf5.js';
2
+ import { S as Skeleton } from './skeleton-74fbfb68.js';
2
3
  import { i as iframeInputStylesSet } from './iframe-input-styles-state-ff730fe5.js';
3
- import { i as inputInvalidAndFocused, b as inputInvalid, a as inputFocused, c as input, N as billingForm, O as radioListItem } from './parts-ab2bb4b5.js';
4
- import { H as Header3 } from './header-3-fd150ccf.js';
4
+ import { i as inputInvalidAndFocused, b as inputInvalid, a as inputFocused, c as input, Y as billingForm, Z as radioListItem } from './parts-489f0af6.js';
5
+ import { H as Header3 } from './header-3-544afa0b.js';
5
6
  import { a as PaymentMethodTypes } from './Payment-82d2f453.js';
6
7
  import { j as snakeToCamel, f as formatCurrency } from './utils-c37124fc.js';
7
8
  import './index-a47fdc7f.js';
8
9
  import './Dispute-5fd28ec9.js';
9
10
 
11
+ const BankAccountFormSkeleton = (props) => {
12
+ const { isReady } = props;
13
+ if (isReady) {
14
+ return null;
15
+ }
16
+ return (h("div", { class: "container-fluid p-0" },
17
+ h("div", { class: "row mb-3" },
18
+ h("div", { class: "col-12 align-content-end" },
19
+ h(Skeleton, { height: "18px", width: "120px" }),
20
+ h(Skeleton, { height: "36px" }))),
21
+ h("div", { class: "row" },
22
+ h("div", { class: "col-12 align-content-end" },
23
+ h(Skeleton, { height: "18px", width: "110px" }),
24
+ h(Skeleton, { height: "36px" })))));
25
+ };
26
+
10
27
  const BankAccountForm = class {
11
28
  constructor(hostRef) {
12
29
  registerInstance(this, hostRef);
13
30
  this.iframeOrigin = undefined;
31
+ this.isReady = false;
14
32
  }
15
33
  async validate() {
16
34
  const accountNumberIsValid = await this.accountNumberIframeElement.validate();
@@ -20,15 +38,67 @@ const BankAccountForm = class {
20
38
  async tokenize(clientId, paymentMethodMetadata, account) {
21
39
  return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
22
40
  }
41
+ componentDidRender() {
42
+ const elements = [
43
+ this.accountNumberIframeElement,
44
+ this.routingNumberIframeElement,
45
+ ];
46
+ Promise.all(elements.map((element) => {
47
+ return new Promise((resolve) => {
48
+ element.addEventListener('iframeLoaded', () => { resolve(); });
49
+ });
50
+ })).then(() => {
51
+ this.isReady = true;
52
+ });
53
+ }
23
54
  render() {
24
- return (h(Host, { key: 'bf5ff6bf71b52c5b7eceb429f057b3ec89c56129' }, h("div", { key: 'db0ea83fa412a1ea77aee8967ea1c9ad07ea387d', class: "container-fluid p-0" }, h("div", { key: 'd354c507e7aeabe77a957165aec900f3e01f27f5', class: "row mb-3" }, h("iframe-input", { key: '1397eb492d2cf5ca40b637360ab52478f9007db1', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/accountNumber` })), h("div", { key: 'a4b98ff832990cac46f49a9ff1ef2de2b33496cd', class: "row" }, h("iframe-input", { key: '0b758f804e3d367c1851fe084d27df1ea620e190', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/routingNumber` })))));
55
+ return (h(Host, { key: '18ace2e10e76c27166f2432a84880be2e14e7d23' }, h(BankAccountFormSkeleton, { key: 'd2d3eb44c8854913866e2f1178418ab5cd43429e', isReady: this.isReady }), h("div", { key: '84987e3e4d8e5ed4f314f7e306f7e8e48f457bcb', class: "container-fluid p-0", style: {
56
+ opacity: this.isReady ? '1' : '0',
57
+ height: this.isReady ? 'auto' : '0',
58
+ } }, h("div", { key: 'b74ce1520cc0dd97d527ba0b8607ad891a645142', class: "row mb-3" }, h("iframe-input", { key: '6966eae250b2d702d0fb887a09fa1b14467fd823', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), h("div", { key: '02da6bb34dd86fd0e3dddd0d12bdcb7b85bfc70c', class: "row" }, h("iframe-input", { key: '3f8439860fae1d743e10f6b51f9d10cbe451bcae', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
25
59
  }
26
60
  };
27
61
 
62
+ const CardFormSkeleton = (props) => {
63
+ const { isReady } = props;
64
+ if (isReady) {
65
+ return null;
66
+ }
67
+ return (h("div", { class: "container-fluid p-0" },
68
+ h("div", { class: "mb-3" },
69
+ h(Skeleton, { height: "18px", width: "100px" }),
70
+ h(Skeleton, { height: "36px" })),
71
+ h("div", { class: "row" },
72
+ h("div", { class: "col-4 align-content-end" },
73
+ h(Skeleton, { height: "18px", width: "80px" }),
74
+ h(Skeleton, { height: "36px" })),
75
+ h("div", { class: "col-4 align-content-end" },
76
+ h(Skeleton, { height: "36px" })),
77
+ h("div", { class: "col-4 align-content-end" },
78
+ h(Skeleton, { height: "18px", width: "30px" }),
79
+ h(Skeleton, { height: "36px" })))));
80
+ };
81
+
28
82
  const CardForm = class {
29
83
  constructor(hostRef) {
30
84
  registerInstance(this, hostRef);
31
85
  this.iframeOrigin = undefined;
86
+ this.isReady = false;
87
+ }
88
+ componentDidRender() {
89
+ const elements = [
90
+ this.cardNumberIframeElement,
91
+ this.expirationMonthIframeElement,
92
+ this.expirationYearIframeElement,
93
+ this.cvvIframeElement,
94
+ ];
95
+ Promise.all(elements.map((element) => {
96
+ return new Promise((resolve) => {
97
+ element.addEventListener('iframeLoaded', () => { resolve(); });
98
+ });
99
+ })).then(() => {
100
+ this.isReady = true;
101
+ });
32
102
  }
33
103
  async validate() {
34
104
  const cardNumberIsValid = await this.cardNumberIframeElement.validate();
@@ -41,7 +111,10 @@ const CardForm = class {
41
111
  return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
42
112
  }
43
113
  render() {
44
- return (h(Host, { key: '5dfd2c79d7691744614af89d0919e58db17434b3', class: "container-fluid p-0" }, h("div", { key: '307e9a7acd80285a59369e813bb0172627395cf6', class: "mb-3" }, h("iframe-input", { key: 'e151a15fb885d7babf13c575a5bf93990f77336b', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/cardNumber` })), h("div", { key: 'd965e93602367c92f53cdc768b9a79032e640a5a', class: "row" }, h("div", { key: 'f836cca70a22e9bec446fdc4d62836a7cc16d70c', class: "col-4 align-content-end" }, h("iframe-input", { key: 'd95608d7ce0434021d416120ada984047804b04f', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/expirationMonth` })), h("div", { key: '34ab01991bac786ada446758b4499c3d58cc9402', class: "col-4 align-content-end" }, h("iframe-input", { key: 'c548d2ba46dd5ab969ab703adecc1d697ad5f8e0', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/expirationYear` })), h("div", { key: '4ce98e07ef97c4e13fe92e8677073f6681c2f707', class: "col-4 align-content-end" }, h("iframe-input", { key: '691c95278d984586ed884ca06d96a57ce0a002b8', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/CVV` })))));
114
+ return (h(Host, { key: 'a97247efa8298a7e4c3498690974e482e36ae966' }, h(CardFormSkeleton, { key: '52f338782020b5926377c9968bb85364ad720c68', isReady: this.isReady }), h("div", { key: '7cb7e827c407a18e09c1e0c925896644032428b8', class: "container-fluid p-0", style: {
115
+ opacity: this.isReady ? '1' : '0',
116
+ height: this.isReady ? 'auto' : '0',
117
+ } }, h("div", { key: '9a49fd64a1464ae0ae032883bd79c8a7e9c5d4b3', class: "mb-3" }, h("iframe-input", { key: '8778a816cbbd96f5b0c7e8f3364a704bd7aab2d8', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: '53ab4f9f636acfa72744cd5d364a4ae3a3c732d4', class: "row" }, h("div", { key: '01aec684cab29a4aa24839acfc3ecc9e914c9911', class: "col-4 align-content-end" }, h("iframe-input", { key: '9c87ff44375de2d46028f2532a33856cf608c6a0', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: 'bc9176ebc7561c7cc0b654e837852a18c1b49f60', class: "col-4 align-content-end" }, h("iframe-input", { key: '5f6b133bc5ae94f912648d210a6e58dd4fe1e880', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: '404c90decbac6b142b45c21a2997c0771bb59092', class: "col-4 align-content-end" }, h("iframe-input", { key: '1b9e89656a437b080fbf92b4ebd74772ae1f26f4', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
45
118
  }
46
119
  };
47
120
 
@@ -118,7 +191,7 @@ const HiddenInput = class {
118
191
  return input;
119
192
  }
120
193
  render() {
121
- return (h(Host, { key: '21c26d386f4e23af0e0ef069ad0263e252c8c15b' }, h("input", { key: '70bb1f6c7c5e94a96fddfe82d1831df12771f0af', ref: el => this.hiddenInput = el, type: "text", class: this.errorText ? "form-control is-invalid" : "form-control", onFocus: () => this.isFocused = true, onBlur: () => this.isFocused = false, part: this.part, tabindex: "-1", style: { height: '0', opacity: '0', pointerEvents: 'none', animation: 'none' } })));
194
+ return (h(Host, { key: '7bfd14ae6eb04d3bccb6f95398213655bc5c1073' }, h("input", { key: 'a40b6c6b2fd4e217af572f2032b158cc0ad603d2', ref: el => this.hiddenInput = el, type: "text", class: this.errorText ? "form-control is-invalid" : "form-control", onFocus: () => this.isFocused = true, onBlur: () => this.isFocused = false, part: this.part, tabindex: "-1", style: { height: '0', opacity: '0', pointerEvents: 'none', animation: 'none' } })));
122
195
  }
123
196
  };
124
197
 
@@ -1,14 +1,14 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-29fcfdf5.js';
1
+ import { r as registerInstance, h, H as Host, c as createEvent, g as getElement } from './index-29fcfdf5.js';
2
2
  import { c as create$3, F as FormController } from './index.esm-0b6849c2.js';
3
- import { u as identityNameValidation, l as lineOneValidation, k as lineTwoValidation, m as cityValidation, n as stateValidation, q as postalValidation } from './schema-validations-ccea6a06.js';
3
+ import { u as identityNameValidation, l as lineOneValidation, k as lineTwoValidation, m as cityValidation, n as stateValidation, q as postalValidation } from './schema-validations-b1aec6a0.js';
4
4
  import { S as StateOptions } from './state-options-a356fb11.js';
5
5
  import { n as numberOnlyHandler } from './utils-20cdf321.js';
6
- import { F as FormControlErrorText } from './form-control-error-text-b3d14e92.js';
7
- import { p as packageJson } from './package-2b7c7bc0.js';
6
+ import { F as FormControlErrorText } from './form-control-error-text-74c6b38a.js';
7
+ import { p as packageJson } from './package-13968013.js';
8
8
  import { a as iframeInputStyles } from './iframe-input-styles-state-ff730fe5.js';
9
- import { i as inputInvalidAndFocused, b as inputInvalid, a as inputFocused, c as input, l as label } from './parts-ab2bb4b5.js';
10
- import './business-form-options-018f62a5.js';
11
- import './Business-29c69f22.js';
9
+ import { i as inputInvalidAndFocused, b as inputInvalid, a as inputFocused, c as input, l as label } from './parts-489f0af6.js';
10
+ import './business-form-options-86a13078.js';
11
+ import './Business-0855931c.js';
12
12
  import './helpers-96ea3464.js';
13
13
  import './Document-1907c0d4.js';
14
14
  import './index-a47fdc7f.js';
@@ -1596,6 +1596,7 @@ const MessageEventType = {
1596
1596
  const IframeInput = class {
1597
1597
  constructor(hostRef) {
1598
1598
  registerInstance(this, hostRef);
1599
+ this.iframeLoaded = createEvent(this, "iframeLoaded", 7);
1599
1600
  this.dispatchMessageEvent = (event) => {
1600
1601
  const { eventType, data } = event.data;
1601
1602
  if ((data === null || data === void 0 ? void 0 : data.id) !== this.inputId) {
@@ -1611,7 +1612,6 @@ const IframeInput = class {
1611
1612
  this.isFocused = false;
1612
1613
  this.isValid = true;
1613
1614
  this.errorText = undefined;
1614
- this.iframeLoaded = false;
1615
1615
  this.inputId = undefined;
1616
1616
  this.label = undefined;
1617
1617
  this.iframeOrigin = undefined;
@@ -1670,20 +1670,20 @@ const IframeInput = class {
1670
1670
  return params;
1671
1671
  }
1672
1672
  render() {
1673
- return (h(Host, { key: '00956724f4d6e72b09c2c469613a6362a3c7cdec', class: "form-group d-flex flex-column" }, h("div", { key: 'e6605bd5ef7356c21701b0856a133758720a36d6', style: {
1673
+ return (h(Host, { key: '871d71c6240e94e24f7ccc4c4ec8225b4123d865', class: "form-group d-flex flex-column" }, h("div", { key: '0a1d98cba0960599d29db3c269bb8b458cdfddc8', style: {
1674
1674
  visibility: this.iframeLoaded ? 'visible' : 'hidden',
1675
1675
  height: this.iframeLoaded ? 'auto' : '0',
1676
- } }, h("label", { key: 'f52a782a9f1bbca4a8a6e36da1948611ab834e54', class: "form-label", htmlFor: "", part: label }, this.label || ''), h("div", { key: 'b88199f3de1b52a0aed4d61c0448c293964a7279', class: `p-0 d-flex form-control ${this.isValid ? '' : 'is-invalid'}`, part: this.part, style: Object.assign(Object.assign({}, this.style), { overflow: 'hidden' }) }, h("iframe", { key: '218aa6d48b12c1fc78f04a1556f0a32738c20df4', id: this.inputId, name: this.inputId, src: `${this.iframeOrigin}?${this.urlParams}`, ref: el => {
1676
+ } }, h("label", { key: 'bfd2e61b544db648cada7a52b45809bebf5722a8', class: "form-label", htmlFor: "", part: label }, this.label || ''), h("div", { key: '53e9f9a29e07edcdcbb00b023ba0f24d09d852ab', class: `p-0 d-flex form-control ${this.isValid ? '' : 'is-invalid'}`, part: this.part, style: Object.assign(Object.assign({}, this.style), { overflow: 'hidden' }) }, h("iframe", { key: '2adc709c4094c44181dd83906763b4809b3f168b', id: this.inputId, name: this.inputId, src: `${this.iframeOrigin}?${this.urlParams}`, ref: el => {
1677
1677
  this.iframeElement = el;
1678
1678
  this.initializeFrameCommunicationService();
1679
1679
  }, width: "100%", onLoad: () => {
1680
1680
  iFrameResize({
1681
1681
  log: false,
1682
1682
  onResized: () => {
1683
- this.iframeLoaded = true;
1683
+ this.iframeLoaded.emit();
1684
1684
  }
1685
1685
  }, this.iframeElement);
1686
- } })), h(FormControlErrorText, { key: 'f6e57608fc771ca78e39618455dfe57cd40a655a', errorText: this.errorText, name: this.inputId }))));
1686
+ } })), h(FormControlErrorText, { key: 'c54bafd097b1e3e896901252d3520bfdfe5c71b6', errorText: this.errorText, name: this.inputId }))));
1687
1687
  }
1688
1688
  get el() { return getElement(this); }
1689
1689
  };
@@ -1,5 +1,5 @@
1
1
  import { c as create$3 } from './index.esm-0b6849c2.js';
2
- import { b as businessNameValidation, w as websiteUrlValidation, e as emailValidation, p as phoneValidation, d as doingBusinessAsValidation, a as businessClassificationValidation, i as industryValidation, t as taxIdValidation, c as dateOfIncorporationValidation, r as revenueValidation, f as paymentVolumeValidation, g as whenServiceReceivedValidation, h as recurringPaymentsValidation, j as recurringPaymentsPercentageValidation, s as seasonalBusinessValidation, o as otherPaymentDetailsValidation } from './schema-validations-ccea6a06.js';
2
+ import { b as businessNameValidation, w as websiteUrlValidation, e as emailValidation, p as phoneValidation, d as doingBusinessAsValidation, a as businessClassificationValidation, i as industryValidation, t as taxIdValidation, c as dateOfIncorporationValidation, r as revenueValidation, f as paymentVolumeValidation, g as whenServiceReceivedValidation, h as recurringPaymentsValidation, j as recurringPaymentsPercentageValidation, s as seasonalBusinessValidation, o as otherPaymentDetailsValidation } from './schema-validations-b1aec6a0.js';
3
3
 
4
4
  const businessCoreInfoSchema = (allowOptionalFields) => {
5
5
  const schema = create$3({
@@ -1,8 +1,8 @@
1
1
  import { h, F as Fragment, r as registerInstance, c as createEvent } from './index-29fcfdf5.js';
2
- import { E as ErrorState } from './utils-c2dc83b2.js';
2
+ import { E as ErrorState } from './utils-6c26bccc.js';
3
3
  import { S as StyledHost } from './styled-host-32228b45.js';
4
- import { S as Skeleton } from './skeleton-ee7c3b32.js';
5
- import './parts-ab2bb4b5.js';
4
+ import { S as Skeleton } from './skeleton-74fbfb68.js';
5
+ import './parts-489f0af6.js';
6
6
 
7
7
  const BusinessDetailsLoading = () => {
8
8
  const Block = () => (h("div", { class: "mt-5" },
@@ -1,4 +1,4 @@
1
- import { b as BusinessClassification } from './Business-29c69f22.js';
1
+ import { b as BusinessClassification } from './Business-0855931c.js';
2
2
 
3
3
  const businessClassificationOptions = [
4
4
  {
@@ -1,5 +1,5 @@
1
1
  import { c as create$3, a as create$6 } from './index.esm-0b6849c2.js';
2
- import { l as lineOneValidation, k as lineTwoValidation, m as cityValidation, n as stateValidation, q as postalValidation, u as identityNameValidation, v as identityTitleValidation, e as emailValidation, p as phoneValidation, x as dobValidation, y as ssnValidation } from './schema-validations-ccea6a06.js';
2
+ import { l as lineOneValidation, k as lineTwoValidation, m as cityValidation, n as stateValidation, q as postalValidation, u as identityNameValidation, v as identityTitleValidation, e as emailValidation, p as phoneValidation, x as dobValidation, y as ssnValidation } from './schema-validations-b1aec6a0.js';
3
3
 
4
4
  const addressSchema = (allowOptionalFields) => {
5
5
  const schema = create$3({
@@ -1,39 +1,39 @@
1
- import { A as Api, c as config } from './Api-97801a4b.js';
1
+ import { A as Api } from './Api-391d00e2.js';
2
2
 
3
3
  class BusinessService {
4
4
  async fetchBusiness(businessId, authToken) {
5
5
  const endpoint = `entities/business/${businessId}`;
6
- return Api({ authToken, apiOrigin: config.proxyApiOrigin }).get(endpoint);
6
+ return Api({ authToken, apiOrigin: undefined }).get(endpoint);
7
7
  }
8
8
  async patchBusiness(authToken, businessId, payload) {
9
9
  const endpoint = `entities/business/${businessId}`;
10
- return Api({ authToken, apiOrigin: config.proxyApiOrigin }).patch(endpoint, payload);
10
+ return Api({ authToken, apiOrigin: undefined }).patch(endpoint, payload);
11
11
  }
12
12
  }
13
13
  class IdentityService {
14
14
  async fetchIdentity(identityId, authToken) {
15
15
  const endpoint = `entities/identity/${identityId}`;
16
- return Api({ authToken, apiOrigin: config.proxyApiOrigin }).get(endpoint);
16
+ return Api({ authToken, apiOrigin: undefined }).get(endpoint);
17
17
  }
18
18
  async patchIdentity(authToken, identityId, payload) {
19
19
  const endpoint = `entities/identity/${identityId}`;
20
- return Api({ authToken, apiOrigin: config.proxyApiOrigin }).patch(endpoint, payload);
20
+ return Api({ authToken, apiOrigin: undefined }).patch(endpoint, payload);
21
21
  }
22
22
  async postIdentity(authToken, payload) {
23
23
  const endpoint = `entities/identity`;
24
- return Api({ authToken, apiOrigin: config.proxyApiOrigin }).post(endpoint, payload);
24
+ return Api({ authToken, apiOrigin: undefined }).post(endpoint, payload);
25
25
  }
26
26
  }
27
27
  class BusinessBankAccountService {
28
28
  async postBankAccount(authToken, payload) {
29
29
  const endpoint = `entities/bank_accounts`;
30
- return Api({ authToken, apiOrigin: config.proxyApiOrigin }).post(endpoint, payload);
30
+ return Api({ authToken, apiOrigin: undefined }).post(endpoint, payload);
31
31
  }
32
32
  }
33
33
  class DocumentRecordService {
34
34
  async postDocumentRecord(authToken, payload) {
35
35
  const endpoint = `entities/document`;
36
- return Api({ authToken, apiOrigin: config.proxyApiOrigin }).post(endpoint, payload);
36
+ return Api({ authToken, apiOrigin: undefined }).post(endpoint, payload);
37
37
  }
38
38
  }
39
39
 
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-29fcfdf5.js';
2
- import { f as buttonLoading, g as buttonPrimary, j as buttonSecondary } from './parts-ab2bb4b5.js';
2
+ import { f as buttonLoading, g as buttonPrimary, j as buttonSecondary } from './parts-489f0af6.js';
3
3
 
4
4
  const ButtonSpinner = () => (h("div", { class: "spinner-border spinner-border-sm", role: "status", part: "button-spinner" },
5
5
  h("span", { class: "visually-hidden" }, "Loading...")));
@@ -0,0 +1,22 @@
1
+ import { p as packageJson } from './package-13968013.js';
2
+
3
+ const latestVersion = async (packageName) => {
4
+ const response = await fetch('https://registry.npmjs.org/' + packageName + '/latest');
5
+ const json = await response.json();
6
+ return json.version;
7
+ };
8
+ const checkPkgVersion = async () => {
9
+ const version = packageJson.version;
10
+ const packageName = packageJson.name;
11
+ const latest = await latestVersion(packageName);
12
+ // remove rc from version and everything that comes after -rc
13
+ const latestNotRC = latest.replace(/-rc.*/, '');
14
+ // checkif there's a major version difference
15
+ const versionParts = version.split('.');
16
+ const latestParts = latest.split('.');
17
+ if (versionParts[0] !== latestParts[0]) {
18
+ console.warn(`The package ${packageName} is out of date. The latest version is ${latestNotRC}. Please update.`);
19
+ }
20
+ };
21
+
22
+ export { checkPkgVersion as c };
@@ -1,19 +1,19 @@
1
- import { A as Api, c as config } from './Api-97801a4b.js';
2
- import './ComponentError-3ce7f437.js';
3
- import './Checkout-8325c97a.js';
1
+ import { A as Api } from './Api-391d00e2.js';
2
+ import './ComponentError-c61dce41.js';
3
+ import './Checkout-919eb1ba.js';
4
4
  import './Pagination-afc8f96d.js';
5
5
  import './Payment-82d2f453.js';
6
- import './SubAccount-a73bf971.js';
6
+ import './SubAccount-9aad3891.js';
7
7
  import './Document-1907c0d4.js';
8
8
 
9
9
  class CheckoutService {
10
10
  async fetchCheckout(authToken, checkoutId) {
11
11
  const endpoint = `checkouts/${checkoutId}`;
12
- return Api({ authToken, apiOrigin: config.proxyApiOrigin }).get(endpoint);
12
+ return Api({ authToken, apiOrigin: undefined }).get(endpoint);
13
13
  }
14
14
  async fetchCheckouts(accountId, authToken, params, apiOrigin) {
15
15
  if (!apiOrigin) {
16
- apiOrigin = config.proxyApiOrigin;
16
+ apiOrigin = undefined;
17
17
  }
18
18
  const headers = { Account: accountId };
19
19
  const api = Api({ authToken, apiOrigin: apiOrigin });
@@ -28,7 +28,7 @@ class CheckoutService {
28
28
  if (payment.payment_token) {
29
29
  payload.payment_token = payment.payment_token;
30
30
  }
31
- return Api({ authToken, apiOrigin: config.proxyApiOrigin }).post(endpoint, payload);
31
+ return Api({ authToken, apiOrigin: undefined }).post(endpoint, payload);
32
32
  }
33
33
  }
34
34