@justifi/webcomponents 6.14.2 → 6.14.4-rc.1

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 (186) hide show
  1. package/dist/cjs/{Analytics-DJPMbMbv.js → Analytics-CLtNL7cp.js} +2 -2
  2. package/dist/cjs/{Api-CWefpIil.js → Api-j0tZ-Tix.js} +1 -1
  3. package/dist/cjs/additional-questions-form-step_15.cjs.entry.js +124 -128
  4. package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
  5. package/dist/cjs/{business.service-Btc3igIf.js → business.service-BGTzzUHv.js} +1 -1
  6. package/dist/cjs/card-form.cjs.entry.js +2 -2
  7. package/dist/cjs/{check-pkg-version-DlSI1kl_.js → check-pkg-version-IIkBL56i.js} +1 -1
  8. package/dist/cjs/{checkout.service-aE0MUgi0.js → checkout.service-C6banXoZ.js} +1 -1
  9. package/dist/cjs/dispute-notification_2.cjs.entry.js +5 -5
  10. package/dist/cjs/{event-types-B6Jtb7DE.js → event-types-CuvC_5oJ.js} +1 -1
  11. package/dist/cjs/{get-subaccounts-3wzjJVTw.js → get-subaccounts-BPqMUWqF.js} +1 -1
  12. package/dist/cjs/hidden-input_2.cjs.entry.js +1 -1
  13. package/dist/cjs/justifi-apple-pay_11.cjs.entry.js +13 -7
  14. package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +4 -4
  15. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +4 -4
  16. package/dist/cjs/justifi-business-details.cjs.entry.js +5 -5
  17. package/dist/cjs/justifi-business-form.cjs.entry.js +5 -5
  18. package/dist/cjs/justifi-card-form.cjs.entry.js +4 -4
  19. package/dist/cjs/justifi-checkout-qr-code.cjs.entry.js +4 -4
  20. package/dist/cjs/justifi-checkout.cjs.entry.js +4 -4
  21. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +6 -6
  22. package/dist/cjs/justifi-dispute-management.cjs.entry.js +5 -5
  23. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +4 -4
  24. package/dist/cjs/justifi-order-terminals.cjs.entry.js +6 -6
  25. package/dist/cjs/justifi-payment-details.cjs.entry.js +5 -5
  26. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +5 -5
  27. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +5 -5
  28. package/dist/cjs/justifi-payments-list.cjs.entry.js +5 -5
  29. package/dist/cjs/justifi-payout-details.cjs.entry.js +5 -5
  30. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +5 -5
  31. package/dist/cjs/justifi-payouts-list.cjs.entry.js +6 -6
  32. package/dist/cjs/justifi-qr-terminal.cjs.entry.js +5 -5
  33. package/dist/cjs/justifi-refund-payment.cjs.entry.js +5 -5
  34. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +4 -4
  35. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +4 -4
  36. package/dist/cjs/justifi-terminals-list.cjs.entry.js +6 -6
  37. package/dist/cjs/{package-C7751f89.js → package-D_k65Ek-.js} +1 -1
  38. package/dist/cjs/{payment.service-DmMFMfcK.js → payment.service-CsRgUBpg.js} +1 -1
  39. package/dist/cjs/{payout.service-BfNHx5R6.js → payout.service-B9Uy-vnZ.js} +1 -1
  40. package/dist/cjs/{plaid.service-CEvUGRzG.js → plaid.service-BO5TCVg-.js} +1 -1
  41. package/dist/cjs/{terminal.service-gw27l_WB.js → terminal.service-IQgeT2S0.js} +1 -1
  42. package/dist/collection/api/ComponentEvents.js +17 -1
  43. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/additional-questions-form-step.js +16 -19
  44. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +15 -18
  45. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +16 -19
  46. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +16 -19
  47. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +16 -18
  48. package/dist/collection/components/business-forms/payment-provisioning/document-upload/document-upload-form-step.js +15 -18
  49. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +16 -19
  50. package/dist/collection/components/modular-checkout/sub-components/justifi-apple-pay.js +7 -1
  51. package/dist/docs.json +1 -1
  52. package/dist/esm/{Analytics--JHkQ3i7.js → Analytics-CkVFbWbI.js} +2 -2
  53. package/dist/esm/{Api-DO3CyWlf.js → Api-C_lKBDA2.js} +1 -1
  54. package/dist/esm/additional-questions-form-step_15.entry.js +124 -128
  55. package/dist/esm/bank-account-form.entry.js +2 -2
  56. package/dist/esm/{business.service-DaDBcMxj.js → business.service-CFAfsTjM.js} +1 -1
  57. package/dist/esm/card-form.entry.js +2 -2
  58. package/dist/esm/{check-pkg-version-DVn7t48L.js → check-pkg-version-D8eS1EP8.js} +1 -1
  59. package/dist/esm/{checkout.service-CF6UhsmG.js → checkout.service-B3kWd3Cb.js} +1 -1
  60. package/dist/esm/dispute-notification_2.entry.js +5 -5
  61. package/dist/esm/{event-types-D2B6cJBU.js → event-types-CWcuMhpX.js} +1 -1
  62. package/dist/esm/{get-subaccounts-BlEszlFD.js → get-subaccounts-DX2J9fAE.js} +1 -1
  63. package/dist/esm/hidden-input_2.entry.js +1 -1
  64. package/dist/esm/justifi-apple-pay_11.entry.js +13 -7
  65. package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +4 -4
  66. package/dist/esm/justifi-bank-account-form.entry.js +4 -4
  67. package/dist/esm/justifi-business-details.entry.js +5 -5
  68. package/dist/esm/justifi-business-form.entry.js +5 -5
  69. package/dist/esm/justifi-card-form.entry.js +4 -4
  70. package/dist/esm/justifi-checkout-qr-code.entry.js +4 -4
  71. package/dist/esm/justifi-checkout.entry.js +4 -4
  72. package/dist/esm/justifi-checkouts-list.entry.js +6 -6
  73. package/dist/esm/justifi-dispute-management.entry.js +5 -5
  74. package/dist/esm/justifi-gross-payment-chart.entry.js +4 -4
  75. package/dist/esm/justifi-order-terminals.entry.js +6 -6
  76. package/dist/esm/justifi-payment-details.entry.js +5 -5
  77. package/dist/esm/justifi-payment-provisioning.entry.js +5 -5
  78. package/dist/esm/justifi-payment-transactions-list.entry.js +5 -5
  79. package/dist/esm/justifi-payments-list.entry.js +5 -5
  80. package/dist/esm/justifi-payout-details.entry.js +5 -5
  81. package/dist/esm/justifi-payout-transactions-list.entry.js +5 -5
  82. package/dist/esm/justifi-payouts-list.entry.js +6 -6
  83. package/dist/esm/justifi-qr-terminal.entry.js +5 -5
  84. package/dist/esm/justifi-refund-payment.entry.js +5 -5
  85. package/dist/esm/justifi-season-interruption-insurance.entry.js +4 -4
  86. package/dist/esm/justifi-terminal-orders-list.entry.js +4 -4
  87. package/dist/esm/justifi-terminals-list.entry.js +6 -6
  88. package/dist/esm/{package-7CozhRqW.js → package-XQGYXcNa.js} +1 -1
  89. package/dist/esm/{payment.service-HjulQqVe.js → payment.service-DICpfY3q.js} +1 -1
  90. package/dist/esm/{payout.service-DJoSdAyh.js → payout.service-C0dmZtzu.js} +1 -1
  91. package/dist/esm/{plaid.service-DtWlggP3.js → plaid.service-CDwe-YbI.js} +1 -1
  92. package/dist/esm/{terminal.service-BWH0XNZn.js → terminal.service-DIDTZ_fB.js} +1 -1
  93. package/dist/module/Plaid.js +1 -1
  94. package/dist/module/additional-questions-form-step2.js +16 -20
  95. package/dist/module/business-bank-account-form-step2.js +16 -19
  96. package/dist/module/business-core-info-form-step2.js +16 -20
  97. package/dist/module/business-owners-form-step2.js +16 -20
  98. package/dist/module/business-representative-form-step2.js +17 -20
  99. package/dist/module/business-terms-conditions-form-step2.js +1 -1
  100. package/dist/module/dispute-response2.js +1 -1
  101. package/dist/module/document-upload-form-step2.js +16 -19
  102. package/dist/module/justifi-apple-pay2.js +7 -1
  103. package/dist/module/justifi-business-details.js +1 -1
  104. package/dist/module/justifi-business-form.js +1 -1
  105. package/dist/module/justifi-checkout-qr-code2.js +1 -1
  106. package/dist/module/justifi-checkouts-list.js +1 -1
  107. package/dist/module/justifi-dispute-management.js +1 -1
  108. package/dist/module/justifi-gross-payment-chart.js +1 -1
  109. package/dist/module/justifi-modular-checkout2.js +1 -1
  110. package/dist/module/justifi-order-terminals.js +1 -1
  111. package/dist/module/justifi-payment-details.js +1 -1
  112. package/dist/module/justifi-payment-provisioning.js +1 -1
  113. package/dist/module/justifi-payment-transactions-list.js +1 -1
  114. package/dist/module/justifi-payments-list.js +1 -1
  115. package/dist/module/justifi-payout-details.js +1 -1
  116. package/dist/module/justifi-payout-transactions-list.js +1 -1
  117. package/dist/module/justifi-payouts-list.js +1 -1
  118. package/dist/module/justifi-plaid-payment-method2.js +1 -1
  119. package/dist/module/justifi-qr-terminal.js +1 -1
  120. package/dist/module/justifi-refund-payment.js +1 -1
  121. package/dist/module/justifi-season-interruption-insurance.js +1 -1
  122. package/dist/module/justifi-terminal-orders-list.js +1 -1
  123. package/dist/module/justifi-terminals-list.js +1 -1
  124. package/dist/module/justifi-tokenize-payment-method2.js +1 -1
  125. package/dist/module/legal-address-form-step2.js +16 -20
  126. package/dist/module/package.js +1 -1
  127. package/dist/module/payment-provisioning-loading.js +19 -1
  128. package/dist/module/plaid-verification2.js +1 -1
  129. package/dist/module/utils3.js +1 -1
  130. package/dist/types/api/ComponentEvents.d.ts +2 -0
  131. package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +3 -3
  132. package/dist/types/components/modular-checkout/sub-components/justifi-apple-pay.d.ts +1 -0
  133. package/dist/webcomponents/{p-265ccfc0.entry.js → p-02097c85.entry.js} +1 -1
  134. package/dist/webcomponents/{p-e01767e7.entry.js → p-0d0167f8.entry.js} +4 -4
  135. package/dist/webcomponents/p-0da78470.entry.js +1 -0
  136. package/dist/webcomponents/{p-3b9e8ee7.entry.js → p-20f07ac9.entry.js} +1 -1
  137. package/dist/webcomponents/{p-6187efab.entry.js → p-222a5422.entry.js} +1 -1
  138. package/dist/webcomponents/p-35a01bf7.entry.js +1 -0
  139. package/dist/webcomponents/p-3d89543a.entry.js +1 -0
  140. package/dist/webcomponents/{p-8f457cf7.entry.js → p-43a53ae2.entry.js} +1 -1
  141. package/dist/webcomponents/p-4a5d5dbb.entry.js +1 -0
  142. package/dist/webcomponents/{p-a4eaaaec.entry.js → p-4baac05b.entry.js} +1 -1
  143. package/dist/webcomponents/p-5071aaa4.entry.js +1 -0
  144. package/dist/webcomponents/{p-d69f2bbe.entry.js → p-64377ff6.entry.js} +1 -1
  145. package/dist/webcomponents/{p-44ffdbec.entry.js → p-6624dcf8.entry.js} +1 -1
  146. package/dist/webcomponents/{p-ac580701.entry.js → p-8cb504d4.entry.js} +1 -1
  147. package/dist/webcomponents/p-8ef24398.entry.js +1 -0
  148. package/dist/webcomponents/{p-f7af1bab.entry.js → p-932f6c6f.entry.js} +1 -1
  149. package/dist/webcomponents/p-9525003b.entry.js +1 -0
  150. package/dist/webcomponents/{p-CQ4GuDeP.js → p-CV9bTMsT.js} +1 -1
  151. package/dist/webcomponents/{p-DFvpZcc6.js → p-CYH0JCan.js} +1 -1
  152. package/dist/webcomponents/{p-IJ7Rw9vH.js → p-CZTtbCDg.js} +1 -1
  153. package/dist/webcomponents/p-CmmWlVnF.js +1 -0
  154. package/dist/webcomponents/{p-CIhCDKOZ.js → p-Da3ZlxHS.js} +1 -1
  155. package/dist/webcomponents/{p-D8ToCTET.js → p-DnaE803u.js} +1 -1
  156. package/dist/webcomponents/{p-SBHhoQBp.js → p-IcPtYL88.js} +1 -1
  157. package/dist/webcomponents/{p-qnckrGFg.js → p-M5r3mgPH.js} +1 -1
  158. package/dist/webcomponents/{p-DD7TDYNC.js → p-Tf63eN3X.js} +1 -1
  159. package/dist/webcomponents/p-XQGYXcNa.js +1 -0
  160. package/dist/webcomponents/{p-d2e843b3.entry.js → p-a504a830.entry.js} +1 -1
  161. package/dist/webcomponents/{p-5f4809af.entry.js → p-a686ebeb.entry.js} +1 -1
  162. package/dist/webcomponents/{p-79fa938e.entry.js → p-a7d0cc9f.entry.js} +1 -1
  163. package/dist/webcomponents/p-b0deb260.entry.js +1 -0
  164. package/dist/webcomponents/{p-064a88df.entry.js → p-b36bdd5e.entry.js} +1 -1
  165. package/dist/webcomponents/{p-f1a57993.entry.js → p-b6c45aa2.entry.js} +1 -1
  166. package/dist/webcomponents/{p-7c55a751.entry.js → p-ba8eae66.entry.js} +1 -1
  167. package/dist/webcomponents/{p-BUbPLCU2.js → p-bpbC1knu.js} +1 -1
  168. package/dist/webcomponents/{p-780f9fbb.entry.js → p-c0698710.entry.js} +1 -1
  169. package/dist/webcomponents/{p-0608134b.entry.js → p-c902503d.entry.js} +1 -1
  170. package/dist/webcomponents/{p-d9f6bbda.entry.js → p-ebbb72db.entry.js} +1 -1
  171. package/dist/webcomponents/{p-b2a0088d.entry.js → p-f3977cfe.entry.js} +1 -1
  172. package/dist/webcomponents/{p-63ba7b99.entry.js → p-f8c2ee31.entry.js} +1 -1
  173. package/dist/webcomponents/{p-BId9Ohhv.js → p-ynzkwSZi.js} +1 -1
  174. package/dist/webcomponents/webcomponents.esm.js +1 -1
  175. package/package.json +15 -15
  176. package/LICENSE +0 -21
  177. package/dist/webcomponents/p-02423342.entry.js +0 -1
  178. package/dist/webcomponents/p-043899e7.entry.js +0 -1
  179. package/dist/webcomponents/p-1a77125d.entry.js +0 -1
  180. package/dist/webcomponents/p-7CozhRqW.js +0 -1
  181. package/dist/webcomponents/p-7b1e0e37.entry.js +0 -1
  182. package/dist/webcomponents/p-84030b4a.entry.js +0 -1
  183. package/dist/webcomponents/p-8cba3a46.entry.js +0 -1
  184. package/dist/webcomponents/p-BSPLko2T.js +0 -1
  185. package/dist/webcomponents/p-cf36e096.entry.js +0 -1
  186. package/dist/webcomponents/p-e77ebab9.entry.js +0 -1
@@ -2,7 +2,7 @@ import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/i
2
2
  import { P as PayoutService } from './payout.service.js';
3
3
  import './config-state.js';
4
4
  import './dinero.js';
5
- import { o as Payout, C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Plaid.js';
5
+ import { o as Payout, C as ComponentErrorSeverity, c as ComponentErrorCodes } from './Plaid.js';
6
6
  import './Pagination.js';
7
7
  import './Business.js';
8
8
  import './ApplePay.js';
@@ -1,7 +1,7 @@
1
1
  import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
2
2
  import { c as configState } from './config-state.js';
3
3
  import './dinero.js';
4
- import { p as PayoutBalanceTransaction, C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Plaid.js';
4
+ import { p as PayoutBalanceTransaction, C as ComponentErrorSeverity, c as ComponentErrorCodes } from './Plaid.js';
5
5
  import { p as pagingDefaults } from './Pagination.js';
6
6
  import './Business.js';
7
7
  import './ApplePay.js';
@@ -1,5 +1,5 @@
1
1
  import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
2
- import { o as Payout, C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Plaid.js';
2
+ import { o as Payout, C as ComponentErrorSeverity, c as ComponentErrorCodes } from './Plaid.js';
3
3
  import { J as JustifiAnalytics } from './Analytics.js';
4
4
  import { c as checkPkgVersion } from './check-pkg-version.js';
5
5
  import { P as PayoutService } from './payout.service.js';
@@ -5,7 +5,7 @@ import './justifi-details2.js';
5
5
  import './event-types.js';
6
6
  import './justifi-radio-list-item2.js';
7
7
  import { P as PlaidService } from './plaid.service.js';
8
- import { P as PLAID_ERROR_SEVERITY, b as PLAID_ERROR_MESSAGES, c as PlaidErrorCodes, C as ComponentErrorSeverity } from './Plaid.js';
8
+ import { P as PLAID_ERROR_SEVERITY, a as PLAID_ERROR_MESSAGES, b as PlaidErrorCodes, C as ComponentErrorSeverity } from './Plaid.js';
9
9
  import { P as PAYMENT_METHODS } from './ModularCheckout.js';
10
10
 
11
11
  const plaidIconSvg = 'data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjQ4IiB2aWV3Qm94PSIwIDAgMjggMjkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgY2xhc3M9ImNzcy0xcmRhajhtIj48ZyBmaWxsPSIjMTExIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yNS43NjI5IDI2LjI2MjhMMjggMTcuNTMwOUwyNC45NjkxIDE0LjUwMDFMMjcuOTk5OSAxMS40NjkxTDI1Ljc2MjggMi43MzcwNkwxNy4wMzA5IDAuNUwxNC4wMDAxIDMuNTMxTDEwLjk2OSAwLjUwMDE0TDIuMjM3MDYgMi43MzczNEwwIDExLjQ2OTFMMy4wMzEyOCAxNC40OTk5TDAuMDAwMTQgMTcuNTMxTDIuMjM3MiAyNi4yNjI5TDEwLjk2OTEgMjguNUwxNC4wMDAxIDI1LjQ2OUwxNy4wMzEgMjguNDk5OUwyNS43NjI5IDI2LjI2MjhaTTE1LjczMjEgMjMuNzM3MUwxOC42MTg2IDIwLjg1MDVMMjIuMjkxMiAyNC41MjMzTDE3LjY5NTYgMjUuNzAwN0wxNS43MzIxIDIzLjczNzFaTTExLjExMzYgOS44ODE1NEwxNC4wMDAzIDYuOTk1MDJMMTYuODg2OCA5Ljg4MTRMMTQuMDAwMSAxMi43Njc5TDExLjExMzYgOS44ODE1NFpNMTIuMjY4MiAxNC41TDkuMzgxNTQgMTcuMzg2NUw2LjQ5NTAyIDE0LjVMOS4zODE1NCAxMS42MTM1TDEyLjI2ODIgMTQuNVpNMTguNjE4NyAxMS42MTMzTDIxLjUwNTMgMTQuNUwxOC42MTg2IDE3LjM4NjVMMTUuNzMyMSAxNC41TDE4LjYxODcgMTEuNjEzM1pNMTYuODg2NyAxOS4xMTg2TDE0LjAwMDEgMjIuMDA1MUwxMS4xMTM1IDE5LjExODVMMTQuMDAwMSAxNi4yMzE5TDE2Ljg4NjcgMTkuMTE4NlpNMTAuMzA0NCAyNS43MDA3TDUuNzA4NjQgMjQuNTIzM0w5LjM4MTU0IDIwLjg1MDRMMTIuMjY4MiAyMy43MzcxTDEwLjMwNDQgMjUuNzAwN1pNNC43NjMwOCAxNi4yMzE5TDcuNjQ5NiAxOS4xMTg1TDMuOTc2NyAyMi43OTE0TDIuNzk5MyAxOC4xOTU3TDQuNzYzMDggMTYuMjMxOVpNMy45NzY3IDYuMjA4MzZMNy42NDk3NCA5Ljg4MTRMNC43NjMwOCAxMi43NjgxTDIuNzk5MyAxMC44MDQxTDMuOTc2NyA2LjIwODM2Wk0xMi4yNjgzIDUuMjYyOTRMOS4zODE2OCA4LjE0OTZMNS43MDg5MiA0LjQ3NjdMMTAuMzA0NyAzLjI5OTNMMTIuMjY4MyA1LjI2Mjk0Wk0xNy42OTU5IDMuMjk5M0wyMi4yOTE1IDQuNDc2N0wxOC42MTg2IDguMTQ5NDZMMTUuNzMyMSA1LjI2Mjk0TDE3LjY5NTkgMy4yOTkzWk0yMy4yMzcyIDEyLjc2ODFMMjAuMzUwNSA5Ljg4MTRMMjQuMDIzMyA2LjIwODc4TDI1LjIwMDcgMTAuODA0NkwyMy4yMzcyIDEyLjc2ODFaTTI0LjAyMzMgMjIuNzkxNEwyMC4zNTA1IDE5LjExODZMMjMuMjM3MiAxNi4yMzIxTDI1LjIwMDcgMTguMTk1N0wyNC4wMjMzIDIyLjc5MTRaIj48L3BhdGg+PC9nPjwvc3ZnPgo=';
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { m as makeGetCheckout } from './checkout-actions.js';
3
3
  import { C as CheckoutService } from './checkout.service.js';
4
- import { C as ComponentErrorSeverity, a as ComponentErrorCodes, I as ICheckoutStatus, d as ComponentErrorMessages, i as CompletionStatuses } from './Plaid.js';
4
+ import { C as ComponentErrorSeverity, c as ComponentErrorCodes, I as ICheckoutStatus, d as ComponentErrorMessages, i as CompletionStatuses } from './Plaid.js';
5
5
  import { J as JustifiAnalytics } from './Analytics.js';
6
6
  import { c as checkPkgVersion } from './check-pkg-version.js';
7
7
  import { d as defineCustomElement$2 } from './justifi-checkout-qr-code2.js';
@@ -2,7 +2,7 @@ import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/i
2
2
  import { c as create$3, a as create$6, F as FormController } from './form.js';
3
3
  import { b as formatCurrency } from './utils2.js';
4
4
  import './config-state.js';
5
- import { R as RefundReasons, C as ComponentErrorSeverity, a as ComponentErrorCodes, u as RefundPayload } from './Plaid.js';
5
+ import { R as RefundReasons, C as ComponentErrorSeverity, c as ComponentErrorCodes, u as RefundPayload } from './Plaid.js';
6
6
  import './Pagination.js';
7
7
  import './Business.js';
8
8
  import './ApplePay.js';
@@ -1,6 +1,6 @@
1
1
  import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
2
2
  import { A as Api } from './Api.js';
3
- import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Plaid.js';
3
+ import { C as ComponentErrorSeverity, c as ComponentErrorCodes } from './Plaid.js';
4
4
  import './Pagination.js';
5
5
  import './Business.js';
6
6
  import './ApplePay.js';
@@ -8,7 +8,7 @@ import { c as checkPkgVersion } from './check-pkg-version.js';
8
8
  import { D as tableHeadCell, ah as getAlternateTableCellPart } from './parts.js';
9
9
  import { h as convertToLocal } from './utils2.js';
10
10
  import './config-state.js';
11
- import { j as TerminalOrderType, t as TerminalOrder, C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Plaid.js';
11
+ import { j as TerminalOrderType, t as TerminalOrder, C as ComponentErrorSeverity, c as ComponentErrorCodes } from './Plaid.js';
12
12
  import { p as pagingDefaults } from './Pagination.js';
13
13
  import './Business.js';
14
14
  import './ApplePay.js';
@@ -1,5 +1,5 @@
1
1
  import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
2
- import { r as Terminal, C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Plaid.js';
2
+ import { r as Terminal, C as ComponentErrorSeverity, c as ComponentErrorCodes } from './Plaid.js';
3
3
  import { J as JustifiAnalytics } from './Analytics.js';
4
4
  import { c as checkPkgVersion } from './check-pkg-version.js';
5
5
  import { T as TerminalService } from './terminal.service.js';
@@ -7,7 +7,7 @@ import { c as checkPkgVersion } from './check-pkg-version.js';
7
7
  import { J as JustifiAnalytics } from './Analytics.js';
8
8
  import './config-state.js';
9
9
  import './dinero.js';
10
- import { a as ComponentErrorCodes, C as ComponentErrorSeverity } from './Plaid.js';
10
+ import { c as ComponentErrorCodes, C as ComponentErrorSeverity } from './Plaid.js';
11
11
  import './Pagination.js';
12
12
  import './Business.js';
13
13
  import './ApplePay.js';
@@ -1,12 +1,11 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Plaid.js';
3
2
  import { m as makeGetBusiness, a as makePatchBusiness } from './payment-provisioning-actions.js';
4
3
  import { B as BusinessService } from './business.service.js';
4
+ import { v as validateRequiredProps, P as PaymentProvisioningLoading } from './payment-provisioning-loading.js';
5
5
  import { c as addressSchemaByCountry } from './business-address-schema.js';
6
6
  import { F as FormController } from './form.js';
7
7
  import { c as Address } from './Business.js';
8
8
  import { h as heading2 } from './parts.js';
9
- import { P as PaymentProvisioningLoading } from './payment-provisioning-loading.js';
10
9
  import { B as BusinessFormStep } from './event-types2.js';
11
10
  import { d as defineCustomElement$5 } from './custom-popper2.js';
12
11
  import { d as defineCustomElement$4 } from './form-address-fields2.js';
@@ -100,25 +99,22 @@ const LegalAddressFormStep = /*@__PURE__*/ proxyCustomElement(class LegalAddress
100
99
  });
101
100
  }
102
101
  initializeApi() {
103
- if (this.authToken && this.businessId) {
104
- this.getBusiness = makeGetBusiness({
105
- authToken: this.authToken,
106
- businessId: this.businessId,
107
- service: new BusinessService()
108
- });
109
- this.patchBusiness = makePatchBusiness({
110
- authToken: this.authToken,
111
- businessId: this.businessId,
112
- service: new BusinessService()
113
- });
114
- }
115
- else {
116
- this.errorEvent.emit({
117
- message: 'Missing required props',
118
- errorCode: ComponentErrorCodes.MISSING_PROPS,
119
- severity: ComponentErrorSeverity.ERROR,
120
- });
102
+ if (!validateRequiredProps(this.errorEvent, {
103
+ 'auth-token': this.authToken,
104
+ 'business-id': this.businessId,
105
+ })) {
106
+ return;
121
107
  }
108
+ this.getBusiness = makeGetBusiness({
109
+ authToken: this.authToken,
110
+ businessId: this.businessId,
111
+ service: new BusinessService()
112
+ });
113
+ this.patchBusiness = makePatchBusiness({
114
+ authToken: this.authToken,
115
+ businessId: this.businessId,
116
+ service: new BusinessService()
117
+ });
122
118
  }
123
119
  render() {
124
120
  var _a;
@@ -1,5 +1,5 @@
1
1
  const name = "@justifi/webcomponents";
2
- const version = "6.14.2";
2
+ const version = "6.14.4-rc.1";
3
3
  var webcomponentsPackageJson = {
4
4
  name: name,
5
5
  version: version};
@@ -1,12 +1,30 @@
1
+ import { C as ComponentErrorSeverity, c as ComponentErrorCodes } from './Plaid.js';
1
2
  import { h } from '@stencil/core/internal/client';
2
3
  import { S as Skeleton } from './skeleton.js';
3
4
  import './justifi-details2.js';
4
5
  import './event-types.js';
5
6
  import './justifi-radio-list-item2.js';
6
7
 
8
+ // Emits a MISSING_PROPS error naming each falsy prop. Returns true when all props are present.
9
+ // `props` keys are the public attribute names, e.g. { 'auth-token': this.authToken }.
10
+ function validateRequiredProps(errorEvent, props) {
11
+ const missingProps = Object.entries(props)
12
+ .filter(([, value]) => !value)
13
+ .map(([name]) => name);
14
+ if (missingProps.length) {
15
+ errorEvent.emit({
16
+ message: `Missing required props: ${missingProps.join(', ')}`,
17
+ errorCode: ComponentErrorCodes.MISSING_PROPS,
18
+ severity: ComponentErrorSeverity.ERROR,
19
+ });
20
+ return false;
21
+ }
22
+ return true;
23
+ }
24
+
7
25
  const FormBlock = () => (h("div", { class: "row gap-3" }, h("div", { class: "col-12" }, h(Skeleton, { width: "25%" })), h("div", { class: "col-12" }, h(Skeleton, { width: "100%" })), h("div", { class: "col-12 d-flex gap-3" }, h(Skeleton, { width: "50%" }), h(Skeleton, { width: "50%" })), h("div", { class: "col-12 d-flex gap-3" }, h(Skeleton, { width: "65%" }), h(Skeleton, { width: "35%" }))));
8
26
  const PaymentProvisioningLoading = () => {
9
27
  return (h("div", { class: "row gap-5" }, h("div", { class: "col-12" }, h(Skeleton, { width: "40%", height: "40px" })), h(FormBlock, null), h(FormBlock, null), h(FormBlock, null)));
10
28
  };
11
29
 
12
- export { PaymentProvisioningLoading as P };
30
+ export { PaymentProvisioningLoading as P, validateRequiredProps as v };
@@ -6,7 +6,7 @@ import './justifi-details2.js';
6
6
  import './event-types.js';
7
7
  import './justifi-radio-list-item2.js';
8
8
  import { P as PlaidService } from './plaid.service.js';
9
- import { P as PLAID_ERROR_SEVERITY, b as PLAID_ERROR_MESSAGES, c as PlaidErrorCodes, C as ComponentErrorSeverity } from './Plaid.js';
9
+ import { P as PLAID_ERROR_SEVERITY, a as PLAID_ERROR_MESSAGES, b as PlaidErrorCodes, C as ComponentErrorSeverity } from './Plaid.js';
10
10
 
11
11
  const PlaidVerification = /*@__PURE__*/ proxyCustomElement(class PlaidVerification extends HTMLElement {
12
12
  constructor(registerHost) {
@@ -1,4 +1,4 @@
1
- import { a as ComponentErrorCodes } from './Plaid.js';
1
+ import { c as ComponentErrorCodes } from './Plaid.js';
2
2
 
3
3
  // Errors on [capital]/config/locales/en.yml
4
4
  // Add more errors as needed
@@ -1,3 +1,4 @@
1
+ import { EventEmitter } from "../stencil-public-runtime";
1
2
  import { BusinessFormClickActions, BusinessFormStep } from "../components/business-forms/utils/event-types";
2
3
  import { DisputeManagementClickActions, DisputeResponseFormStep } from "../components/dispute-management/event-types";
3
4
  import { TableClickActions } from "../ui-components/table/event-types";
@@ -21,6 +22,7 @@ export interface ComponentErrorEvent {
21
22
  severity?: ComponentErrorSeverity;
22
23
  data?: any;
23
24
  }
25
+ export declare function validateRequiredProps(errorEvent: EventEmitter<ComponentErrorEvent>, props: Record<string, unknown>): boolean;
24
26
  export interface RecordClickEvent {
25
27
  id: string;
26
28
  type: 'account' | 'payment' | 'metadata';
@@ -14,8 +14,8 @@ export declare const businessFormSchemaUSA: import("yup").ObjectSchema<{
14
14
  business_other_payment_details?: string;
15
15
  };
16
16
  representative: {
17
- ssn_last4?: string;
18
17
  name?: string;
18
+ ssn_last4?: string;
19
19
  address?: {
20
20
  state?: string;
21
21
  line1?: string;
@@ -95,8 +95,8 @@ export declare const businessFormSchemaCAN: import("yup").ObjectSchema<{
95
95
  business_other_payment_details?: string;
96
96
  };
97
97
  representative: {
98
- ssn_last4?: string;
99
98
  name?: string;
99
+ ssn_last4?: string;
100
100
  address?: {
101
101
  state?: string;
102
102
  line1?: string;
@@ -176,8 +176,8 @@ export declare const businessFormSchema: import("yup").ObjectSchema<{
176
176
  business_other_payment_details?: string;
177
177
  };
178
178
  representative: {
179
- ssn_last4?: string;
180
179
  name?: string;
180
+ ssn_last4?: string;
181
181
  address?: {
182
182
  state?: string;
183
183
  line1?: string;
@@ -38,6 +38,7 @@ export declare class JustifiApplePay {
38
38
  readonly PAYMENT_FAILED: "PAYMENT_FAILED";
39
39
  };
40
40
  componentWillLoad(): void;
41
+ private countryCodeForCurrency;
41
42
  private loadApplePaySDK;
42
43
  private initializeApplePay;
43
44
  private handleApplePayClick;
@@ -1 +1 @@
1
- import{h as t,r as i}from"./p-CV0Pyo1O.js";import{S as s}from"./p-uZ5KAseb.js";import{w as e,c as a}from"./p-DVJaoI_m.js";import{e as r}from"./p-Ds_P-dB8.js";import{c as o}from"./p-DD7TDYNC.js";import{c as n}from"./p-DyPk4BJt.js";import"./p-CPKMvyV_.js";import"./p-D8GTwl9v.js";import"./p-HXpYMWUU.js";import"./p-7CozhRqW.js";import"./p-DkoufM1t.js";const c=i=>{const{isReady:e}=i;return e?null:t("div",{class:"container-fluid p-0"},t("div",{class:"row mb-3"},t("div",{class:"col-12 align-content-end"},t(s,{height:"18px",width:"120px"}),t(s,{height:"36px"}))),t("div",{class:"row"},t("div",{class:"col-12 align-content-end"},t(s,{height:"18px",width:"110px"}),t(s,{height:"36px"}))))},h=class{constructor(t){i(this,t),this.isReady=!1,this.hasLoggedAchDisabledWarning=!1}async componentWillLoad(){await e(),this.iframeOrigin=a.iframeOrigin,this.tabId=r(),o()}componentDidRender(){if(this.isAchDisabledForCheckout())return;const t=[this.accountNumberIframeElement,this.routingNumberIframeElement];t.every(Boolean)&&Promise.all(t.map((t=>new Promise((i=>{t.addEventListener("iframeLoaded",(()=>{i()}))}))))).then((()=>{this.isReady=!0}))}isAchDisabledForCheckout(){return n.checkoutLoaded&&!n.achPaymentsEnabled}async validate(){if(this.isAchDisabledForCheckout())return!1;const t=await this.accountNumberIframeElement.validate(),i=await this.routingNumberIframeElement.validate();return t&&i}async tokenize({clientId:t,paymentMethodMetadata:i,account:s}){return this.isAchDisabledForCheckout()?{error:{message:"ACH payments are disabled for this checkout (payment_settings.ach_payments=false)."}}:await this.accountNumberIframeElement.tokenize(t,i,s)}render(){return this.isAchDisabledForCheckout()?(this.hasLoggedAchDisabledWarning||(console.warn("[bank-account-form] ACH payments are disabled for this checkout (payment_settings.ach_payments=false)."),this.hasLoggedAchDisabledWarning=!0),null):t("div",null,t(c,{isReady:this.isReady}),t("hidden-input",null),t("div",{class:"container-fluid p-0",style:{opacity:this.isReady?"1":"0",height:this.isReady?"auto":"0"}},t("div",{class:"row mb-3"},t("iframe-input",{inputId:"accountNumber",ref:t=>this.accountNumberIframeElement=t,label:"Account Number",iframeOrigin:`${this.iframeOrigin}/v2/accountNumber?tabId=${this.tabId}`})),t("div",{class:"row"},t("iframe-input",{inputId:"routingNumber",ref:t=>this.routingNumberIframeElement=t,label:"Routing Number",iframeOrigin:`${this.iframeOrigin}/v2/routingNumber?tabId=${this.tabId}`}))))}};export{h as bank_account_form}
1
+ import{h as t,r as i}from"./p-CV0Pyo1O.js";import{S as s}from"./p-uZ5KAseb.js";import{w as e,c as a}from"./p-DVJaoI_m.js";import{e as r}from"./p-Ds_P-dB8.js";import{c as o}from"./p-Tf63eN3X.js";import{c as n}from"./p-DyPk4BJt.js";import"./p-CPKMvyV_.js";import"./p-D8GTwl9v.js";import"./p-HXpYMWUU.js";import"./p-XQGYXcNa.js";import"./p-DkoufM1t.js";const c=i=>{const{isReady:e}=i;return e?null:t("div",{class:"container-fluid p-0"},t("div",{class:"row mb-3"},t("div",{class:"col-12 align-content-end"},t(s,{height:"18px",width:"120px"}),t(s,{height:"36px"}))),t("div",{class:"row"},t("div",{class:"col-12 align-content-end"},t(s,{height:"18px",width:"110px"}),t(s,{height:"36px"}))))},h=class{constructor(t){i(this,t),this.isReady=!1,this.hasLoggedAchDisabledWarning=!1}async componentWillLoad(){await e(),this.iframeOrigin=a.iframeOrigin,this.tabId=r(),o()}componentDidRender(){if(this.isAchDisabledForCheckout())return;const t=[this.accountNumberIframeElement,this.routingNumberIframeElement];t.every(Boolean)&&Promise.all(t.map((t=>new Promise((i=>{t.addEventListener("iframeLoaded",(()=>{i()}))}))))).then((()=>{this.isReady=!0}))}isAchDisabledForCheckout(){return n.checkoutLoaded&&!n.achPaymentsEnabled}async validate(){if(this.isAchDisabledForCheckout())return!1;const t=await this.accountNumberIframeElement.validate(),i=await this.routingNumberIframeElement.validate();return t&&i}async tokenize({clientId:t,paymentMethodMetadata:i,account:s}){return this.isAchDisabledForCheckout()?{error:{message:"ACH payments are disabled for this checkout (payment_settings.ach_payments=false)."}}:await this.accountNumberIframeElement.tokenize(t,i,s)}render(){return this.isAchDisabledForCheckout()?(this.hasLoggedAchDisabledWarning||(console.warn("[bank-account-form] ACH payments are disabled for this checkout (payment_settings.ach_payments=false)."),this.hasLoggedAchDisabledWarning=!0),null):t("div",null,t(c,{isReady:this.isReady}),t("hidden-input",null),t("div",{class:"container-fluid p-0",style:{opacity:this.isReady?"1":"0",height:this.isReady?"auto":"0"}},t("div",{class:"row mb-3"},t("iframe-input",{inputId:"accountNumber",ref:t=>this.accountNumberIframeElement=t,label:"Account Number",iframeOrigin:`${this.iframeOrigin}/v2/accountNumber?tabId=${this.tabId}`})),t("div",{class:"row"},t("iframe-input",{inputId:"routingNumber",ref:t=>this.routingNumberIframeElement=t,label:"Routing Number",iframeOrigin:`${this.iframeOrigin}/v2/routingNumber?tabId=${this.tabId}`}))))}};export{h as bank_account_form}