@justifi/webcomponents 6.12.4 → 6.13.0-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 (209) hide show
  1. package/dist/cjs/{Analytics-BERGweGK.js → Analytics-Be2I_aiS.js} +2 -2
  2. package/dist/cjs/{Plaid-BRSyOOuw.js → Plaid-Aw35bhCX.js} +2 -2
  3. package/dist/cjs/additional-questions-form-step_14.cjs.entry.js +5 -5
  4. package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
  5. package/dist/cjs/{business.service-Z9OACEQL.js → business.service-CylI3Qrg.js} +1 -1
  6. package/dist/cjs/card-form.cjs.entry.js +2 -2
  7. package/dist/cjs/{check-pkg-version-ByKpJklZ.js → check-pkg-version-BLLLh6v-.js} +1 -1
  8. package/dist/cjs/checkout-actions-8-MUczKw.js +62 -0
  9. package/dist/cjs/{checkout.service-BZOyqXgW.js → checkout.service-BYpinbSR.js} +1 -1
  10. package/dist/cjs/dispute-notification_2.cjs.entry.js +6 -6
  11. package/dist/cjs/{event-types-AU1B76Vm.js → event-types-DptNnCEP.js} +1 -1
  12. package/dist/cjs/{get-business-aR-C83KX.js → get-business-D10Tmct1.js} +2 -2
  13. package/dist/cjs/{get-payment-details-dwhA02Zl.js → get-payment-details-BB5aa48u.js} +2 -2
  14. package/dist/cjs/{get-subaccounts-B1jmSa2d.js → get-subaccounts-CSD2nAqD.js} +2 -2
  15. package/dist/cjs/hidden-input_2.cjs.entry.js +1 -1
  16. package/dist/cjs/justifi-apple-pay_11.cjs.entry.js +10 -64
  17. package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +4 -4
  18. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +4 -4
  19. package/dist/cjs/justifi-business-details.cjs.entry.js +7 -7
  20. package/dist/cjs/justifi-business-form.cjs.entry.js +7 -7
  21. package/dist/cjs/justifi-card-form.cjs.entry.js +4 -4
  22. package/dist/cjs/justifi-checkout-qr-code.cjs.entry.js +3141 -0
  23. package/dist/cjs/justifi-checkout.cjs.entry.js +4 -4
  24. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +1 -1
  25. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +7 -7
  26. package/dist/cjs/justifi-dispute-management.cjs.entry.js +6 -6
  27. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -5
  28. package/dist/cjs/justifi-order-terminals.cjs.entry.js +8 -8
  29. package/dist/cjs/justifi-payment-details.cjs.entry.js +7 -7
  30. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -7
  31. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +6 -6
  32. package/dist/cjs/justifi-payments-list.cjs.entry.js +6 -6
  33. package/dist/cjs/justifi-payout-details.cjs.entry.js +7 -7
  34. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +6 -6
  35. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +1 -1
  36. package/dist/cjs/justifi-payouts-list.cjs.entry.js +8 -8
  37. package/dist/cjs/justifi-qr-terminal.cjs.entry.js +208 -0
  38. package/dist/cjs/justifi-refund-payment.cjs.entry.js +7 -7
  39. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +5 -5
  40. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +1 -1
  41. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +5 -5
  42. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +1 -1
  43. package/dist/cjs/justifi-terminals-list.cjs.entry.js +7 -7
  44. package/dist/cjs/loader.cjs.js +1 -1
  45. package/dist/cjs/{package-B6L3zyfG.js → package-gx36QXN1.js} +1 -1
  46. package/dist/cjs/{payment-provisioning-actions-BiSpysjW.js → payment-provisioning-actions-DimM0KGV.js} +2 -2
  47. package/dist/cjs/{payment.service-ByrgA_QZ.js → payment.service-fy5bXXmA.js} +1 -1
  48. package/dist/cjs/{payout.service-CnQm_BpU.js → payout.service-hp3PTXWI.js} +1 -1
  49. package/dist/cjs/{payouts-status-AuS3Mp0V.js → payouts-status-CF1YT_RL.js} +2 -2
  50. package/dist/cjs/{plaid.service-Dlb8EUR8.js → plaid.service-9PmS4X0g.js} +1 -1
  51. package/dist/cjs/{terminal.service-BdwHQ3Vv.js → terminal.service-D5D76Cnn.js} +1 -1
  52. package/dist/cjs/{utils-FVGp6se3.js → utils-Dcde8Zpt.js} +1 -1
  53. package/dist/cjs/webcomponents.cjs.js +1 -1
  54. package/dist/collection/collection-manifest.json +2 -0
  55. package/dist/collection/components/checkout-qr-code/justifi-checkout-qr-code.js +128 -0
  56. package/dist/collection/components/qr-terminal/justifi-qr-terminal.js +349 -0
  57. package/dist/docs.json +283 -1
  58. package/dist/esm/{Analytics-B1bQP71R.js → Analytics-DZWGizAK.js} +2 -2
  59. package/dist/esm/{Plaid-l6nNIjab.js → Plaid-fhlY0CIN.js} +1 -1
  60. package/dist/esm/additional-questions-form-step_14.entry.js +5 -5
  61. package/dist/esm/bank-account-form.entry.js +2 -2
  62. package/dist/esm/{business.service-C31wbMVs.js → business.service-Crs-0Mdy.js} +1 -1
  63. package/dist/esm/card-form.entry.js +2 -2
  64. package/dist/esm/{check-pkg-version-CNwUC4SV.js → check-pkg-version-CVyuA8aH.js} +1 -1
  65. package/dist/esm/checkout-actions-BMnp3uHK.js +59 -0
  66. package/dist/esm/{checkout.service-cVdOGDuI.js → checkout.service-BMAQVmHa.js} +1 -1
  67. package/dist/esm/dispute-notification_2.entry.js +6 -6
  68. package/dist/esm/{event-types-DalU_6SB.js → event-types-CVVB5p_Q.js} +1 -1
  69. package/dist/esm/{get-business-Gg6qn5on.js → get-business-B9ZS1tVq.js} +2 -2
  70. package/dist/esm/{get-payment-details-BiWgSJau.js → get-payment-details-CiR6FrkO.js} +2 -2
  71. package/dist/esm/{get-subaccounts-CkjZeR9U.js → get-subaccounts-VpDr7yN4.js} +2 -2
  72. package/dist/esm/hidden-input_2.entry.js +1 -1
  73. package/dist/esm/justifi-apple-pay_11.entry.js +8 -62
  74. package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +4 -4
  75. package/dist/esm/justifi-bank-account-form.entry.js +4 -4
  76. package/dist/esm/justifi-business-details.entry.js +7 -7
  77. package/dist/esm/justifi-business-form.entry.js +7 -7
  78. package/dist/esm/justifi-card-form.entry.js +4 -4
  79. package/dist/esm/justifi-checkout-qr-code.entry.js +3139 -0
  80. package/dist/esm/justifi-checkout.entry.js +4 -4
  81. package/dist/esm/justifi-checkouts-list-filters.entry.js +1 -1
  82. package/dist/esm/justifi-checkouts-list.entry.js +7 -7
  83. package/dist/esm/justifi-dispute-management.entry.js +6 -6
  84. package/dist/esm/justifi-gross-payment-chart.entry.js +5 -5
  85. package/dist/esm/justifi-order-terminals.entry.js +8 -8
  86. package/dist/esm/justifi-payment-details.entry.js +7 -7
  87. package/dist/esm/justifi-payment-provisioning.entry.js +7 -7
  88. package/dist/esm/justifi-payment-transactions-list.entry.js +6 -6
  89. package/dist/esm/justifi-payments-list.entry.js +6 -6
  90. package/dist/esm/justifi-payout-details.entry.js +7 -7
  91. package/dist/esm/justifi-payout-transactions-list.entry.js +6 -6
  92. package/dist/esm/justifi-payouts-list-filters.entry.js +1 -1
  93. package/dist/esm/justifi-payouts-list.entry.js +8 -8
  94. package/dist/esm/justifi-qr-terminal.entry.js +206 -0
  95. package/dist/esm/justifi-refund-payment.entry.js +7 -7
  96. package/dist/esm/justifi-season-interruption-insurance.entry.js +5 -5
  97. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +1 -1
  98. package/dist/esm/justifi-terminal-orders-list.entry.js +5 -5
  99. package/dist/esm/justifi-terminals-list-filters.entry.js +1 -1
  100. package/dist/esm/justifi-terminals-list.entry.js +7 -7
  101. package/dist/esm/loader.js +1 -1
  102. package/dist/esm/{package-OGt0dCJl.js → package-CZa-hHhJ.js} +1 -1
  103. package/dist/esm/{payment-provisioning-actions-cl5xIYnF.js → payment-provisioning-actions-CcDadiRe.js} +2 -2
  104. package/dist/esm/{payment.service-5_u-UzTY.js → payment.service-BiKQPL4M.js} +1 -1
  105. package/dist/esm/{payout.service-D2zS5y8N.js → payout.service-B9_cyUiU.js} +1 -1
  106. package/dist/esm/{payouts-status-DCjCGTaa.js → payouts-status-xOa5tT66.js} +2 -2
  107. package/dist/esm/{plaid.service-BiJ65YG8.js → plaid.service-bU3qIoKd.js} +1 -1
  108. package/dist/esm/{terminal.service-CIxDfM7V.js → terminal.service-BM6BvevW.js} +1 -1
  109. package/dist/esm/{utils-C1B2hVAB.js → utils-BogmBHgt.js} +1 -1
  110. package/dist/esm/webcomponents.js +1 -1
  111. package/dist/module/Plaid.js +1 -1
  112. package/dist/module/business-bank-account-form-step2.js +1 -1
  113. package/dist/module/checkout-actions.js +59 -0
  114. package/dist/module/get-payment-details.js +1 -1
  115. package/dist/module/justifi-checkout-qr-code.d.ts +11 -0
  116. package/dist/module/justifi-checkout-qr-code.js +6 -0
  117. package/dist/module/justifi-checkout-qr-code2.js +3154 -0
  118. package/dist/module/justifi-checkouts-list.js +1 -1
  119. package/dist/module/justifi-dispute-management.js +1 -1
  120. package/dist/module/justifi-modular-checkout2.js +2 -57
  121. package/dist/module/justifi-order-terminals.js +1 -1
  122. package/dist/module/justifi-payment-details.js +1 -1
  123. package/dist/module/justifi-payment-transactions-list.js +1 -1
  124. package/dist/module/justifi-payments-list.js +1 -1
  125. package/dist/module/justifi-payout-details.js +1 -1
  126. package/dist/module/justifi-payout-transactions-list.js +1 -1
  127. package/dist/module/justifi-payouts-list.js +1 -1
  128. package/dist/module/justifi-qr-terminal.d.ts +11 -0
  129. package/dist/module/justifi-qr-terminal.js +234 -0
  130. package/dist/module/justifi-refund-payment.js +1 -1
  131. package/dist/module/justifi-terminal-orders-list-filters.js +1 -1
  132. package/dist/module/justifi-terminal-orders-list.js +1 -1
  133. package/dist/module/justifi-terminals-list-filters.js +1 -1
  134. package/dist/module/justifi-terminals-list.js +1 -1
  135. package/dist/module/package.js +1 -1
  136. package/dist/types/api/Checkout.d.ts +1 -2
  137. package/dist/types/components/checkout-qr-code/justifi-checkout-qr-code.d.ts +18 -0
  138. package/dist/types/components/qr-terminal/justifi-qr-terminal.d.ts +42 -0
  139. package/dist/types/components.d.ts +92 -0
  140. package/dist/webcomponents/{p-ea0d7a98.entry.js → p-06e8df55.entry.js} +1 -1
  141. package/dist/webcomponents/{p-daaa2a99.entry.js → p-07f2f1bf.entry.js} +1 -1
  142. package/dist/webcomponents/p-0fb8fb8c.entry.js +1 -0
  143. package/dist/webcomponents/p-10087a53.entry.js +1 -0
  144. package/dist/webcomponents/{p-45c0fb53.entry.js → p-1d7b8c21.entry.js} +1 -1
  145. package/dist/webcomponents/{p-d24240a5.entry.js → p-21c89e22.entry.js} +1 -1
  146. package/dist/webcomponents/{p-d79c5ee4.entry.js → p-2ec7cd88.entry.js} +1 -1
  147. package/dist/webcomponents/p-2qotS5d_.js +1 -0
  148. package/dist/webcomponents/{p-69fdd137.entry.js → p-355a5c8d.entry.js} +1 -1
  149. package/dist/webcomponents/{p-8964f4ca.entry.js → p-37b95a11.entry.js} +1 -1
  150. package/dist/webcomponents/p-37fd1862.entry.js +1 -0
  151. package/dist/webcomponents/{p-c8f3656f.entry.js → p-392f0c1c.entry.js} +1 -1
  152. package/dist/webcomponents/{p-9d021e10.entry.js → p-44cf13ac.entry.js} +1 -1
  153. package/dist/webcomponents/{p-cde76bf8.entry.js → p-55fdab4e.entry.js} +1 -1
  154. package/dist/webcomponents/p-5ccb46ee.entry.js +1 -0
  155. package/dist/webcomponents/{p-8d173a7c.entry.js → p-5f8dfa8d.entry.js} +1 -1
  156. package/dist/webcomponents/{p-07236291.entry.js → p-70cd2808.entry.js} +1 -1
  157. package/dist/webcomponents/{p-3f5e9afb.entry.js → p-769d3d93.entry.js} +1 -1
  158. package/dist/webcomponents/{p-f30069ea.entry.js → p-79bd744e.entry.js} +1 -1
  159. package/dist/webcomponents/{p-49a4123c.entry.js → p-7a4cd292.entry.js} +1 -1
  160. package/dist/webcomponents/p-8d602e60.entry.js +1 -0
  161. package/dist/webcomponents/p-94f14640.entry.js +1 -0
  162. package/dist/webcomponents/p-98f399ec.entry.js +1 -0
  163. package/dist/webcomponents/{p-7119fddd.entry.js → p-9fca25fc.entry.js} +1 -1
  164. package/dist/webcomponents/{p-Ba8jdOkX.js → p-BGvaX-lJ.js} +1 -1
  165. package/dist/webcomponents/{p-NZS8uCtH.js → p-CSgcCWLS.js} +1 -1
  166. package/dist/webcomponents/p-CZa-hHhJ.js +1 -0
  167. package/dist/webcomponents/p-Cg_3KsGO.js +1 -0
  168. package/dist/webcomponents/p-CqPcl9v7.js +1 -0
  169. package/dist/webcomponents/p-CvgL8YaH.js +1 -0
  170. package/dist/webcomponents/{p-oTtn8xDw.js → p-D4E9P7df.js} +1 -1
  171. package/dist/webcomponents/{p-Dk26hk5T.js → p-DD-_8sbs.js} +1 -1
  172. package/dist/webcomponents/{p-mF5zKtkx.js → p-DHFQtPCq.js} +1 -1
  173. package/dist/webcomponents/p-DMqJWUK2.js +1 -0
  174. package/dist/webcomponents/{p-fE5A37L5.js → p-DZAMzLxa.js} +1 -1
  175. package/dist/webcomponents/{p-Cz_7BuGW.js → p-DbOUuBHs.js} +1 -1
  176. package/dist/webcomponents/{p-BxKbnILQ.js → p-Eb1f86_V.js} +1 -1
  177. package/dist/webcomponents/{p-av6jyzyC.js → p-XxG-t-Sl.js} +1 -1
  178. package/dist/webcomponents/{p-7ebed752.entry.js → p-aee2295b.entry.js} +1 -1
  179. package/dist/webcomponents/p-b20b8805.entry.js +1 -0
  180. package/dist/webcomponents/p-bb5de874.entry.js +1 -0
  181. package/dist/webcomponents/p-bd678d4a.entry.js +1 -0
  182. package/dist/webcomponents/{p-f3ff7e00.entry.js → p-c8ee1e4c.entry.js} +1 -1
  183. package/dist/webcomponents/p-ce1dde85.entry.js +1 -0
  184. package/dist/webcomponents/{p-8aa53ef2.entry.js → p-d620d4b4.entry.js} +1 -1
  185. package/dist/webcomponents/{p-ae91fc9b.entry.js → p-dcd600ca.entry.js} +1 -1
  186. package/dist/webcomponents/p-e6b9dfe1.entry.js +1 -0
  187. package/dist/webcomponents/p-eCeOsPHx.js +1 -0
  188. package/dist/webcomponents/{p-BJu1-9kE.js → p-eK8hZOMg.js} +1 -1
  189. package/dist/webcomponents/{p-a1dcdc8b.entry.js → p-ff5c5499.entry.js} +4 -4
  190. package/dist/webcomponents/{p-BXyADlAH.js → p-qju4tNG1.js} +1 -1
  191. package/dist/webcomponents/webcomponents.esm.js +1 -1
  192. package/package.json +16 -14
  193. package/LICENSE +0 -21
  194. package/dist/webcomponents/p-215c6b6b.entry.js +0 -1
  195. package/dist/webcomponents/p-31452258.entry.js +0 -1
  196. package/dist/webcomponents/p-35dd1fc0.entry.js +0 -1
  197. package/dist/webcomponents/p-4ec433f4.entry.js +0 -1
  198. package/dist/webcomponents/p-58b5e08e.entry.js +0 -1
  199. package/dist/webcomponents/p-5G1OMxZz.js +0 -1
  200. package/dist/webcomponents/p-6220a384.entry.js +0 -1
  201. package/dist/webcomponents/p-91aef5bf.entry.js +0 -1
  202. package/dist/webcomponents/p-APOabprT.js +0 -1
  203. package/dist/webcomponents/p-Aacb4jqT.js +0 -1
  204. package/dist/webcomponents/p-Cm9f5fyh.js +0 -1
  205. package/dist/webcomponents/p-OGt0dCJl.js +0 -1
  206. package/dist/webcomponents/p-b272a29d.entry.js +0 -1
  207. package/dist/webcomponents/p-c9fe4f33.entry.js +0 -1
  208. package/dist/webcomponents/p-ef85717f.entry.js +0 -1
  209. package/dist/webcomponents/p-nb_LhbJq.js +0 -1
package/dist/docs.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-03-24T17:22:17",
2
+ "timestamp": "2026-03-25T17:37:05",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.38.3",
@@ -11470,6 +11470,104 @@
11470
11470
  ]
11471
11471
  }
11472
11472
  },
11473
+ {
11474
+ "filePath": "src/components/checkout-qr-code/justifi-checkout-qr-code.tsx",
11475
+ "encapsulation": "none",
11476
+ "tag": "justifi-checkout-qr-code",
11477
+ "docs": "",
11478
+ "docsTags": [],
11479
+ "usage": {},
11480
+ "props": [
11481
+ {
11482
+ "name": "checkoutId",
11483
+ "type": "string",
11484
+ "complexType": {
11485
+ "original": "string",
11486
+ "resolved": "string",
11487
+ "references": {}
11488
+ },
11489
+ "mutable": false,
11490
+ "attr": "checkout-id",
11491
+ "reflectToAttr": false,
11492
+ "docs": "",
11493
+ "docsTags": [],
11494
+ "values": [
11495
+ {
11496
+ "type": "string"
11497
+ }
11498
+ ],
11499
+ "optional": false,
11500
+ "required": true,
11501
+ "getter": false,
11502
+ "setter": false
11503
+ },
11504
+ {
11505
+ "name": "size",
11506
+ "type": "number",
11507
+ "complexType": {
11508
+ "original": "number",
11509
+ "resolved": "number",
11510
+ "references": {}
11511
+ },
11512
+ "mutable": false,
11513
+ "attr": "size",
11514
+ "reflectToAttr": false,
11515
+ "docs": "",
11516
+ "docsTags": [
11517
+ {
11518
+ "name": "default",
11519
+ "text": "256"
11520
+ }
11521
+ ],
11522
+ "default": "256",
11523
+ "values": [
11524
+ {
11525
+ "type": "number"
11526
+ }
11527
+ ],
11528
+ "optional": false,
11529
+ "required": false,
11530
+ "getter": false,
11531
+ "setter": false
11532
+ }
11533
+ ],
11534
+ "methods": [],
11535
+ "events": [
11536
+ {
11537
+ "event": "error-event",
11538
+ "detail": "ComponentErrorEvent",
11539
+ "bubbles": true,
11540
+ "complexType": {
11541
+ "original": "ComponentErrorEvent",
11542
+ "resolved": "ComponentErrorEvent",
11543
+ "references": {
11544
+ "ComponentErrorEvent": {
11545
+ "location": "import",
11546
+ "path": "../../api/ComponentEvents",
11547
+ "id": "src/api/ComponentEvents.ts::ComponentErrorEvent"
11548
+ }
11549
+ }
11550
+ },
11551
+ "cancelable": true,
11552
+ "composed": true,
11553
+ "docs": "",
11554
+ "docsTags": []
11555
+ }
11556
+ ],
11557
+ "listeners": [],
11558
+ "styles": [],
11559
+ "slots": [],
11560
+ "parts": [],
11561
+ "dependents": [
11562
+ "justifi-qr-terminal"
11563
+ ],
11564
+ "dependencies": [],
11565
+ "dependencyGraph": {
11566
+ "justifi-qr-terminal": [
11567
+ "justifi-checkout-qr-code"
11568
+ ]
11569
+ }
11570
+ },
11473
11571
  {
11474
11572
  "filePath": "src/components/modular-checkout/sub-components/justifi-checkout-summary.tsx",
11475
11573
  "encapsulation": "shadow",
@@ -14772,6 +14870,190 @@
14772
14870
  ]
14773
14871
  }
14774
14872
  },
14873
+ {
14874
+ "filePath": "src/components/qr-terminal/justifi-qr-terminal.tsx",
14875
+ "encapsulation": "none",
14876
+ "tag": "justifi-qr-terminal",
14877
+ "docs": "",
14878
+ "docsTags": [],
14879
+ "usage": {},
14880
+ "props": [
14881
+ {
14882
+ "name": "authToken",
14883
+ "type": "string",
14884
+ "complexType": {
14885
+ "original": "string",
14886
+ "resolved": "string",
14887
+ "references": {}
14888
+ },
14889
+ "mutable": false,
14890
+ "attr": "auth-token",
14891
+ "reflectToAttr": false,
14892
+ "docs": "",
14893
+ "docsTags": [],
14894
+ "values": [
14895
+ {
14896
+ "type": "string"
14897
+ }
14898
+ ],
14899
+ "optional": false,
14900
+ "required": true,
14901
+ "getter": false,
14902
+ "setter": false
14903
+ },
14904
+ {
14905
+ "name": "checkoutId",
14906
+ "type": "string",
14907
+ "complexType": {
14908
+ "original": "string",
14909
+ "resolved": "string",
14910
+ "references": {}
14911
+ },
14912
+ "mutable": false,
14913
+ "attr": "checkout-id",
14914
+ "reflectToAttr": false,
14915
+ "docs": "",
14916
+ "docsTags": [],
14917
+ "values": [
14918
+ {
14919
+ "type": "string"
14920
+ }
14921
+ ],
14922
+ "optional": false,
14923
+ "required": true,
14924
+ "getter": false,
14925
+ "setter": false
14926
+ },
14927
+ {
14928
+ "name": "pollIntervalMs",
14929
+ "type": "number",
14930
+ "complexType": {
14931
+ "original": "number",
14932
+ "resolved": "number",
14933
+ "references": {}
14934
+ },
14935
+ "mutable": false,
14936
+ "attr": "poll-interval-ms",
14937
+ "reflectToAttr": false,
14938
+ "docs": "",
14939
+ "docsTags": [
14940
+ {
14941
+ "name": "default",
14942
+ "text": "3000"
14943
+ }
14944
+ ],
14945
+ "default": "3000",
14946
+ "values": [
14947
+ {
14948
+ "type": "number"
14949
+ }
14950
+ ],
14951
+ "optional": false,
14952
+ "required": false,
14953
+ "getter": false,
14954
+ "setter": false
14955
+ },
14956
+ {
14957
+ "name": "pollTimeoutMs",
14958
+ "type": "number",
14959
+ "complexType": {
14960
+ "original": "number",
14961
+ "resolved": "number",
14962
+ "references": {}
14963
+ },
14964
+ "mutable": false,
14965
+ "attr": "poll-timeout-ms",
14966
+ "reflectToAttr": false,
14967
+ "docs": "",
14968
+ "docsTags": [
14969
+ {
14970
+ "name": "default",
14971
+ "text": "600000"
14972
+ }
14973
+ ],
14974
+ "default": "600000",
14975
+ "values": [
14976
+ {
14977
+ "type": "number"
14978
+ }
14979
+ ],
14980
+ "optional": false,
14981
+ "required": false,
14982
+ "getter": false,
14983
+ "setter": false
14984
+ }
14985
+ ],
14986
+ "methods": [],
14987
+ "events": [
14988
+ {
14989
+ "event": "checkout-completed",
14990
+ "detail": "{ checkoutId: string; paymentStatus: string; }",
14991
+ "bubbles": true,
14992
+ "complexType": {
14993
+ "original": "{ checkoutId: string; paymentStatus: string }",
14994
+ "resolved": "{ checkoutId: string; paymentStatus: string; }",
14995
+ "references": {}
14996
+ },
14997
+ "cancelable": true,
14998
+ "composed": true,
14999
+ "docs": "",
15000
+ "docsTags": []
15001
+ },
15002
+ {
15003
+ "event": "checkout-expired",
15004
+ "detail": "{ checkoutId: string; }",
15005
+ "bubbles": true,
15006
+ "complexType": {
15007
+ "original": "{ checkoutId: string }",
15008
+ "resolved": "{ checkoutId: string; }",
15009
+ "references": {}
15010
+ },
15011
+ "cancelable": true,
15012
+ "composed": true,
15013
+ "docs": "",
15014
+ "docsTags": []
15015
+ },
15016
+ {
15017
+ "event": "error-event",
15018
+ "detail": "ComponentErrorEvent",
15019
+ "bubbles": true,
15020
+ "complexType": {
15021
+ "original": "ComponentErrorEvent",
15022
+ "resolved": "ComponentErrorEvent",
15023
+ "references": {
15024
+ "ComponentErrorEvent": {
15025
+ "location": "import",
15026
+ "path": "../../api/ComponentEvents",
15027
+ "id": "src/api/ComponentEvents.ts::ComponentErrorEvent"
15028
+ }
15029
+ }
15030
+ },
15031
+ "cancelable": true,
15032
+ "composed": true,
15033
+ "docs": "",
15034
+ "docsTags": []
15035
+ }
15036
+ ],
15037
+ "listeners": [
15038
+ {
15039
+ "event": "error-event",
15040
+ "capture": false,
15041
+ "passive": false
15042
+ }
15043
+ ],
15044
+ "styles": [],
15045
+ "slots": [],
15046
+ "parts": [],
15047
+ "dependents": [],
15048
+ "dependencies": [
15049
+ "justifi-checkout-qr-code"
15050
+ ],
15051
+ "dependencyGraph": {
15052
+ "justifi-qr-terminal": [
15053
+ "justifi-checkout-qr-code"
15054
+ ]
15055
+ }
15056
+ },
14775
15057
  {
14776
15058
  "filePath": "src/ui-components/shadow-dom-components/justifi-radio-list-item.tsx",
14777
15059
  "encapsulation": "shadow",
@@ -1,6 +1,6 @@
1
- import { p as packageJson } from './package-OGt0dCJl.js';
1
+ import { p as packageJson } from './package-CZa-hHhJ.js';
2
2
  import { A as Api } from './Api-DMd8hTI-.js';
3
- import './Plaid-l6nNIjab.js';
3
+ import './Plaid-fhlY0CIN.js';
4
4
  import './Pagination-CLHwhyvu.js';
5
5
  import './Business-BcNb9bVO.js';
6
6
 
@@ -842,4 +842,4 @@ const PLAID_ERROR_SEVERITY = {
842
842
  [PlaidErrorCodes.PLAID_RATE_LIMITED]: ComponentErrorSeverity.WARNING,
843
843
  };
844
844
 
845
- export { ApplePayConfig as A, EntityDocument as B, ComponentErrorSeverity as C, Dispute as D, EntityDocumentType as E, ICheckoutStatus as I, PayoutStatusesSafeNames as P, RefundReasons as R, SubAccount as S, TerminalOrderStatus as T, ICheckoutPaymentModeParam as a, Payment as b, TerminalOrderType as c, ITerminalStatus as d, ComponentErrorCodes as e, DisputeStatus as f, PaymentStatuses as g, PaymentBalanceTransaction as h, Payout as i, PayoutBalanceTransaction as j, Checkout as k, Terminal as l, TerminalModel as m, TerminalOrder as n, RefundPayload as o, ApplePayHelpers as p, ApplePayPaymentRequest as q, ApplePaySessionStatus as r, ApplePayButtonStyle as s, ApplePayButtonType as t, ApplePayMerchantCapability as u, ComponentErrorMessages as v, PLAID_ERROR_SEVERITY as w, PLAID_ERROR_MESSAGES as x, PlaidErrorCodes as y, EntityDocumentStorage as z };
845
+ export { ApplePayConfig as A, EntityDocumentStorage as B, ComponentErrorSeverity as C, Dispute as D, EntityDocumentType as E, EntityDocument as F, ICheckoutStatus as I, PayoutStatusesSafeNames as P, RefundReasons as R, SubAccount as S, TerminalOrderStatus as T, ICheckoutPaymentModeParam as a, ComponentErrorCodes as b, ComponentErrorMessages as c, CompletionStatuses as d, Payment as e, TerminalOrderType as f, ITerminalStatus as g, DisputeStatus as h, PaymentStatuses as i, PaymentBalanceTransaction as j, Payout as k, PayoutBalanceTransaction as l, Checkout as m, Terminal as n, TerminalModel as o, TerminalOrder as p, RefundPayload as q, ApplePayHelpers as r, ApplePayPaymentRequest as s, ApplePaySessionStatus as t, ApplePayButtonStyle as u, ApplePayButtonType as v, ApplePayMerchantCapability as w, PLAID_ERROR_SEVERITY as x, PLAID_ERROR_MESSAGES as y, PlaidErrorCodes as z };
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-CV0Pyo1O.js';
2
- import { C as ComponentErrorSeverity, e as ComponentErrorCodes, E as EntityDocumentType, z as EntityDocumentStorage, B as EntityDocument, w as PLAID_ERROR_SEVERITY, x as PLAID_ERROR_MESSAGES, y as PlaidErrorCodes } from './Plaid-l6nNIjab.js';
3
- import { m as makeGetBusiness, a as makePatchBusiness, c as makePostBankAccount, d as makePostDocumentRecord, e as makeGetIdentity, f as makePatchIdentity, g as makePostIdentity } from './payment-provisioning-actions-cl5xIYnF.js';
4
- import { B as BusinessService, a as BusinessBankAccountService, D as DocumentRecordService, I as IdentityService } from './business.service-C31wbMVs.js';
2
+ import { C as ComponentErrorSeverity, b as ComponentErrorCodes, E as EntityDocumentType, B as EntityDocumentStorage, F as EntityDocument, x as PLAID_ERROR_SEVERITY, y as PLAID_ERROR_MESSAGES, z as PlaidErrorCodes } from './Plaid-fhlY0CIN.js';
3
+ import { m as makeGetBusiness, a as makePatchBusiness, c as makePostBankAccount, d as makePostDocumentRecord, e as makeGetIdentity, f as makePatchIdentity, g as makePostIdentity } from './payment-provisioning-actions-CcDadiRe.js';
4
+ import { B as BusinessService, a as BusinessBankAccountService, D as DocumentRecordService, I as IdentityService } from './business.service-Crs-0Mdy.js';
5
5
  import { a as additionalQuestionsSchema, d as businessCoreInfoSchemaCAN, b as businessCoreInfoSchemaUSA, g as identitySchemaByCountry, h as addressSchemaByCountry } from './business-identity-schema-D-Nk9aGV.js';
6
6
  import { F as FormController, a as create$3, c as create$6, b as create$8, d as create$7 } from './index.esm-CgNcFueq.js';
7
7
  import { A as AdditionalQuestions, C as CountryCode, e as CoreBusinessInfo, R as Representative, f as Address, O as Owner } from './Business-BcNb9bVO.js';
@@ -23,8 +23,8 @@ import { S as Skeleton } from './skeleton-BEHo2ypu.js';
23
23
  import { u as updateFormValues, a as updateAddressFormValues, b as updateDateOfBirthFormValues } from './input-handlers-1lVyzImK.js';
24
24
  import { A as Api } from './Api-DMd8hTI-.js';
25
25
  import { S as StyledHost } from './styled-host-D6byRazK.js';
26
- import { P as PlaidService } from './plaid.service-BiJ65YG8.js';
27
- import './utils-C1B2hVAB.js';
26
+ import { P as PlaidService } from './plaid.service-bU3qIoKd.js';
27
+ import './utils-BogmBHgt.js';
28
28
  import './_commonjsHelpers-BFTU3MAI.js';
29
29
  import './index-cDVGjRkU.js';
30
30
 
@@ -2,11 +2,11 @@ import { h, r as registerInstance } from './index-CV0Pyo1O.js';
2
2
  import { S as Skeleton } from './skeleton-BEHo2ypu.js';
3
3
  import { w as waitForConfig, c as configState } from './config-state-kKn89dp1.js';
4
4
  import { e as generateTabId } from './utils-BTtxWI2r.js';
5
- import { c as checkPkgVersion } from './check-pkg-version-CNwUC4SV.js';
5
+ import { c as checkPkgVersion } from './check-pkg-version-CVyuA8aH.js';
6
6
  import './parts-CPKMvyV_.js';
7
7
  import './index-cDVGjRkU.js';
8
8
  import './dinero-HXpYMWUU.js';
9
- import './package-OGt0dCJl.js';
9
+ import './package-CZa-hHhJ.js';
10
10
 
11
11
  const BankAccountFormSkeleton = (props) => {
12
12
  const { isReady } = props;
@@ -1,5 +1,5 @@
1
1
  import { A as Api } from './Api-DMd8hTI-.js';
2
- import './Plaid-l6nNIjab.js';
2
+ import './Plaid-fhlY0CIN.js';
3
3
  import './Pagination-CLHwhyvu.js';
4
4
  import './Business-BcNb9bVO.js';
5
5
 
@@ -2,11 +2,11 @@ import { h, r as registerInstance } from './index-CV0Pyo1O.js';
2
2
  import { S as Skeleton } from './skeleton-BEHo2ypu.js';
3
3
  import { w as waitForConfig, c as configState } from './config-state-kKn89dp1.js';
4
4
  import { e as generateTabId } from './utils-BTtxWI2r.js';
5
- import { c as checkPkgVersion } from './check-pkg-version-CNwUC4SV.js';
5
+ import { c as checkPkgVersion } from './check-pkg-version-CVyuA8aH.js';
6
6
  import './parts-CPKMvyV_.js';
7
7
  import './index-cDVGjRkU.js';
8
8
  import './dinero-HXpYMWUU.js';
9
- import './package-OGt0dCJl.js';
9
+ import './package-CZa-hHhJ.js';
10
10
 
11
11
  const CardFormSkeleton = (props) => {
12
12
  const { isReady } = props;
@@ -1,4 +1,4 @@
1
- import { p as packageJson } from './package-OGt0dCJl.js';
1
+ import { p as packageJson } from './package-CZa-hHhJ.js';
2
2
 
3
3
  const JUSTIFI_VERSION_KEY = '__JUSTIFI_WC_VERSION__';
4
4
  const detectDuplicateVersion = () => {
@@ -0,0 +1,59 @@
1
+ import { C as ComponentErrorSeverity } from './Plaid-fhlY0CIN.js';
2
+ import { g as getErrorCode, a as getErrorMessage } from './utils-BogmBHgt.js';
3
+
4
+ const makeGetCheckout = ({ authToken, checkoutId, service }) => async ({ onSuccess, onError }) => {
5
+ var _a;
6
+ try {
7
+ const response = await service.fetchCheckout(authToken, checkoutId);
8
+ if (!response.error) {
9
+ const checkout = response.data;
10
+ onSuccess({ checkout });
11
+ }
12
+ else {
13
+ const responseError = getErrorMessage(response.error);
14
+ const code = getErrorCode((_a = response.error) === null || _a === void 0 ? void 0 : _a.code);
15
+ return onError({
16
+ error: responseError,
17
+ code,
18
+ severity: ComponentErrorSeverity.ERROR,
19
+ });
20
+ }
21
+ }
22
+ catch (error) {
23
+ const code = getErrorCode(error === null || error === void 0 ? void 0 : error.code);
24
+ return onError({
25
+ error: error.message || error,
26
+ code,
27
+ severity: ComponentErrorSeverity.ERROR,
28
+ });
29
+ }
30
+ };
31
+ const makeCheckoutComplete = ({ authToken, checkoutId, service }) => async ({ payment, onSuccess, onError }) => {
32
+ var _a;
33
+ try {
34
+ const response = await service.complete(authToken, checkoutId, payment);
35
+ if (!response.error) {
36
+ const checkout = response.data;
37
+ onSuccess({ checkout });
38
+ }
39
+ else {
40
+ const responseError = getErrorMessage(response.error);
41
+ const code = getErrorCode((_a = response.error) === null || _a === void 0 ? void 0 : _a.code);
42
+ return onError({
43
+ error: responseError,
44
+ code,
45
+ severity: ComponentErrorSeverity.ERROR,
46
+ });
47
+ }
48
+ }
49
+ catch (error) {
50
+ const code = getErrorCode(error === null || error === void 0 ? void 0 : error.code);
51
+ return onError({
52
+ error: error.message || error,
53
+ code,
54
+ severity: ComponentErrorSeverity.ERROR,
55
+ });
56
+ }
57
+ };
58
+
59
+ export { makeCheckoutComplete as a, makeGetCheckout as m };
@@ -1,5 +1,5 @@
1
1
  import { A as Api } from './Api-DMd8hTI-.js';
2
- import './Plaid-l6nNIjab.js';
2
+ import './Plaid-fhlY0CIN.js';
3
3
  import './Pagination-CLHwhyvu.js';
4
4
  import './Business-BcNb9bVO.js';
5
5
 
@@ -4,18 +4,18 @@ import { t as text, a8 as heading4 } from './parts-CPKMvyV_.js';
4
4
  import { B as Button } from './button-BvzOzV4l.js';
5
5
  import { S as Skeleton } from './skeleton-BEHo2ypu.js';
6
6
  import './event-types-CZfYo5-1.js';
7
- import { C as ComponentErrorSeverity, e as ComponentErrorCodes } from './Plaid-l6nNIjab.js';
8
- import { g as getErrorCode, a as getErrorMessage } from './utils-C1B2hVAB.js';
9
- import { D as DisputeManagementClickActions, a as DisputeService } from './event-types-DalU_6SB.js';
10
- import { c as checkPkgVersion } from './check-pkg-version-CNwUC4SV.js';
11
- import { J as JustifiAnalytics } from './Analytics-B1bQP71R.js';
7
+ import { C as ComponentErrorSeverity, b as ComponentErrorCodes } from './Plaid-fhlY0CIN.js';
8
+ import { g as getErrorCode, a as getErrorMessage } from './utils-BogmBHgt.js';
9
+ import { D as DisputeManagementClickActions, a as DisputeService } from './event-types-CVVB5p_Q.js';
10
+ import { c as checkPkgVersion } from './check-pkg-version-CVyuA8aH.js';
11
+ import { J as JustifiAnalytics } from './Analytics-DZWGizAK.js';
12
12
  import './dinero-HXpYMWUU.js';
13
13
  import './Api-DMd8hTI-.js';
14
14
  import './config-state-kKn89dp1.js';
15
15
  import './index-cDVGjRkU.js';
16
16
  import './Pagination-CLHwhyvu.js';
17
17
  import './Business-BcNb9bVO.js';
18
- import './package-OGt0dCJl.js';
18
+ import './package-CZa-hHhJ.js';
19
19
 
20
20
  const makeUpdateDisputeResponse = ({ authToken, disputeId, service }) => async ({ payload, onSuccess, onError, final = () => { } }) => {
21
21
  var _a;
@@ -1,5 +1,5 @@
1
1
  import { A as Api } from './Api-DMd8hTI-.js';
2
- import './Plaid-l6nNIjab.js';
2
+ import './Plaid-fhlY0CIN.js';
3
3
  import './Pagination-CLHwhyvu.js';
4
4
  import './Business-BcNb9bVO.js';
5
5
 
@@ -1,6 +1,6 @@
1
1
  import { B as Business } from './Business-BcNb9bVO.js';
2
- import { C as ComponentErrorSeverity } from './Plaid-l6nNIjab.js';
3
- import { g as getErrorCode, a as getErrorMessage } from './utils-C1B2hVAB.js';
2
+ import { C as ComponentErrorSeverity } from './Plaid-fhlY0CIN.js';
3
+ import { g as getErrorCode, a as getErrorMessage } from './utils-BogmBHgt.js';
4
4
 
5
5
  const makeGetBusiness = ({ id, authToken, service }) => async ({ onSuccess, onError, final }) => {
6
6
  var _a;
@@ -1,9 +1,9 @@
1
1
  import './config-state-kKn89dp1.js';
2
2
  import './dinero-HXpYMWUU.js';
3
- import { b as Payment, C as ComponentErrorSeverity } from './Plaid-l6nNIjab.js';
3
+ import { e as Payment, C as ComponentErrorSeverity } from './Plaid-fhlY0CIN.js';
4
4
  import './Pagination-CLHwhyvu.js';
5
5
  import './Business-BcNb9bVO.js';
6
- import { g as getErrorCode, a as getErrorMessage } from './utils-C1B2hVAB.js';
6
+ import { g as getErrorCode, a as getErrorMessage } from './utils-BogmBHgt.js';
7
7
 
8
8
  const makeGetPaymentDetails = ({ id, authToken, service }) => async ({ onSuccess, onError, final }) => {
9
9
  var _a;
@@ -1,10 +1,10 @@
1
1
  import { A as Api } from './Api-DMd8hTI-.js';
2
- import { S as SubAccount, C as ComponentErrorSeverity } from './Plaid-l6nNIjab.js';
2
+ import { S as SubAccount, C as ComponentErrorSeverity } from './Plaid-fhlY0CIN.js';
3
3
  import './Pagination-CLHwhyvu.js';
4
4
  import './Business-BcNb9bVO.js';
5
5
  import './config-state-kKn89dp1.js';
6
6
  import './dinero-HXpYMWUU.js';
7
- import { g as getErrorCode, a as getErrorMessage } from './utils-C1B2hVAB.js';
7
+ import { g as getErrorCode, a as getErrorMessage } from './utils-BogmBHgt.js';
8
8
 
9
9
  const api = Api();
10
10
  class SubAccountService {
@@ -3,7 +3,7 @@ import { c as createStore } from './index-cDVGjRkU.js';
3
3
  import { a3 as inputInvalidAndFocused, q as inputInvalid, v as inputFocused, w as input, x as label } from './parts-CPKMvyV_.js';
4
4
  import { g as getDefaultExportFromCjs } from './_commonjsHelpers-BFTU3MAI.js';
5
5
  import { F as FormControlErrorText } from './form-control-error-text-Di9QePY5.js';
6
- import { p as packageJson } from './package-OGt0dCJl.js';
6
+ import { p as packageJson } from './package-CZa-hHhJ.js';
7
7
 
8
8
  const iframeInputStylesStore = createStore({
9
9
  focused: {
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-CV0Pyo1O.js';
2
2
  import { A as Api } from './Api-DMd8hTI-.js';
3
- import { A as ApplePayConfig, p as ApplePayHelpers, q as ApplePayPaymentRequest, r as ApplePaySessionStatus, s as ApplePayButtonStyle, t as ApplePayButtonType, u as ApplePayMerchantCapability, C as ComponentErrorSeverity, e as ComponentErrorCodes, v as ComponentErrorMessages, I as ICheckoutStatus, w as PLAID_ERROR_SEVERITY, x as PLAID_ERROR_MESSAGES, y as PlaidErrorCodes } from './Plaid-l6nNIjab.js';
3
+ import { A as ApplePayConfig, r as ApplePayHelpers, s as ApplePayPaymentRequest, t as ApplePaySessionStatus, u as ApplePayButtonStyle, v as ApplePayButtonType, w as ApplePayMerchantCapability, C as ComponentErrorSeverity, b as ComponentErrorCodes, c as ComponentErrorMessages, I as ICheckoutStatus, x as PLAID_ERROR_SEVERITY, y as PLAID_ERROR_MESSAGES, z as PlaidErrorCodes } from './Plaid-fhlY0CIN.js';
4
4
  import { S as StyledHost } from './styled-host-D6byRazK.js';
5
5
  import './event-types-CZfYo5-1.js';
6
6
  import { S as Skeleton } from './skeleton-BEHo2ypu.js';
@@ -11,18 +11,19 @@ import { w as waitForConfig, c as configState } from './config-state-kKn89dp1.js
11
11
  import { H as Header1 } from './header-1-evYxFIGN.js';
12
12
  import { H as Header2, b as insuranceValuesOn, h as hasInsuranceValueChanged, i as insuranceValues } from './insurance-state-CLGc1-_4.js';
13
13
  import { H as Header3 } from './header-3-BUDap2xY.js';
14
- import { J as JustifiAnalytics } from './Analytics-B1bQP71R.js';
15
- import { c as checkPkgVersion } from './check-pkg-version-CNwUC4SV.js';
14
+ import { J as JustifiAnalytics } from './Analytics-DZWGizAK.js';
15
+ import { c as checkPkgVersion } from './check-pkg-version-CVyuA8aH.js';
16
16
  import './dinero-HXpYMWUU.js';
17
17
  import './Pagination-CLHwhyvu.js';
18
18
  import './Business-BcNb9bVO.js';
19
- import { g as getErrorCode, a as getErrorMessage } from './utils-C1B2hVAB.js';
20
- import { C as CheckoutService } from './checkout.service-cVdOGDuI.js';
21
- import { P as PlaidService } from './plaid.service-BiJ65YG8.js';
19
+ import { m as makeGetCheckout, a as makeCheckoutComplete } from './checkout-actions-BMnp3uHK.js';
20
+ import { C as CheckoutService } from './checkout.service-BMAQVmHa.js';
21
+ import { P as PlaidService } from './plaid.service-bU3qIoKd.js';
22
22
  import { P as PAYMENT_METHODS, a as PaymentMethod, b as PAYMENT_MODE } from './index-DkoufM1t.js';
23
23
  import { C as CardBrandLabels } from './payment-method-option-utils-lUHAQVFl.js';
24
24
  import './index-cDVGjRkU.js';
25
- import './package-OGt0dCJl.js';
25
+ import './package-CZa-hHhJ.js';
26
+ import './utils-BogmBHgt.js';
26
27
 
27
28
  const JustifiRadioListItem = class {
28
29
  constructor(hostRef) {
@@ -903,61 +904,6 @@ const JustifiHeader = class {
903
904
  }
904
905
  };
905
906
 
906
- const makeGetCheckout = ({ authToken, checkoutId, service }) => async ({ onSuccess, onError }) => {
907
- var _a;
908
- try {
909
- const response = await service.fetchCheckout(authToken, checkoutId);
910
- if (!response.error) {
911
- const checkout = response.data;
912
- onSuccess({ checkout });
913
- }
914
- else {
915
- const responseError = getErrorMessage(response.error);
916
- const code = getErrorCode((_a = response.error) === null || _a === void 0 ? void 0 : _a.code);
917
- return onError({
918
- error: responseError,
919
- code,
920
- severity: ComponentErrorSeverity.ERROR,
921
- });
922
- }
923
- }
924
- catch (error) {
925
- const code = getErrorCode(error === null || error === void 0 ? void 0 : error.code);
926
- return onError({
927
- error: error.message || error,
928
- code,
929
- severity: ComponentErrorSeverity.ERROR,
930
- });
931
- }
932
- };
933
- const makeCheckoutComplete = ({ authToken, checkoutId, service }) => async ({ payment, onSuccess, onError }) => {
934
- var _a;
935
- try {
936
- const response = await service.complete(authToken, checkoutId, payment);
937
- if (!response.error) {
938
- const checkout = response.data;
939
- onSuccess({ checkout });
940
- }
941
- else {
942
- const responseError = getErrorMessage(response.error);
943
- const code = getErrorCode((_a = response.error) === null || _a === void 0 ? void 0 : _a.code);
944
- return onError({
945
- error: responseError,
946
- code,
947
- severity: ComponentErrorSeverity.ERROR,
948
- });
949
- }
950
- }
951
- catch (error) {
952
- const code = getErrorCode(error === null || error === void 0 ? void 0 : error.code);
953
- return onError({
954
- error: error.message || error,
955
- code,
956
- severity: ComponentErrorSeverity.ERROR,
957
- });
958
- }
959
- };
960
-
961
907
  const JustifiModularCheckout = class {
962
908
  constructor(hostRef) {
963
909
  registerInstance(this, hostRef);
@@ -1,14 +1,14 @@
1
1
  import { r as registerInstance, h } from './index-CV0Pyo1O.js';
2
- import { J as JustifiAnalytics } from './Analytics-B1bQP71R.js';
3
- import { c as checkPkgVersion } from './check-pkg-version-CNwUC4SV.js';
2
+ import { J as JustifiAnalytics } from './Analytics-DZWGizAK.js';
3
+ import { c as checkPkgVersion } from './check-pkg-version-CVyuA8aH.js';
4
4
  import { w as waitForConfig } from './config-state-kKn89dp1.js';
5
5
  import { S as StyledHost } from './styled-host-D6byRazK.js';
6
6
  import './event-types-CZfYo5-1.js';
7
- import './package-OGt0dCJl.js';
7
+ import './package-CZa-hHhJ.js';
8
8
  import './Api-DMd8hTI-.js';
9
9
  import './utils-BTtxWI2r.js';
10
10
  import './dinero-HXpYMWUU.js';
11
- import './Plaid-l6nNIjab.js';
11
+ import './Plaid-fhlY0CIN.js';
12
12
  import './Pagination-CLHwhyvu.js';
13
13
  import './Business-BcNb9bVO.js';
14
14
  import './index-cDVGjRkU.js';