@justifi/webcomponents 6.12.7-rc.1 → 6.12.7-rc.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 (173) hide show
  1. package/dist/cjs/{Analytics-GZGMuFW6.js → Analytics-GYqUuEeO.js} +2 -2
  2. package/dist/cjs/{Plaid-KasiL5mp.js → Plaid-6FYKaSTI.js} +7 -2
  3. package/dist/cjs/additional-questions-form-step_15.cjs.entry.js +36 -40
  4. package/dist/cjs/bank-account-document-form-inputs.cjs.entry.js +1 -1
  5. package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
  6. package/dist/cjs/{business.service-BBovho58.js → business.service-t-p3-gP-.js} +1 -1
  7. package/dist/cjs/card-form.cjs.entry.js +2 -2
  8. package/dist/cjs/{check-pkg-version-FPtenLmp.js → check-pkg-version-wcoV7eK1.js} +1 -1
  9. package/dist/cjs/{checkout.service-C0M9hmsL.js → checkout.service-BiLHhmjP.js} +1 -1
  10. package/dist/cjs/dispute-notification_2.cjs.entry.js +6 -6
  11. package/dist/cjs/{event-types-DDNVjmfR.js → event-types-DcN23uI_.js} +1 -1
  12. package/dist/cjs/{get-business-Ggw-UjXj.js → get-business-BqO_Sa6H.js} +2 -2
  13. package/dist/cjs/{get-payment-details-BVKRwME1.js → get-payment-details-Cs-P5xoW.js} +2 -2
  14. package/dist/cjs/{get-subaccounts-RRmcS9xU.js → get-subaccounts-BbiIbUED.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 +7 -7
  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.cjs.entry.js +4 -4
  23. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +1 -1
  24. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +7 -7
  25. package/dist/cjs/justifi-dispute-management.cjs.entry.js +6 -6
  26. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -5
  27. package/dist/cjs/justifi-order-terminals.cjs.entry.js +8 -8
  28. package/dist/cjs/justifi-payment-details.cjs.entry.js +7 -7
  29. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -7
  30. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +6 -6
  31. package/dist/cjs/justifi-payments-list.cjs.entry.js +6 -6
  32. package/dist/cjs/justifi-payout-details.cjs.entry.js +7 -7
  33. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +6 -6
  34. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +1 -1
  35. package/dist/cjs/justifi-payouts-list.cjs.entry.js +8 -8
  36. package/dist/cjs/justifi-refund-payment.cjs.entry.js +7 -7
  37. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +5 -5
  38. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +1 -1
  39. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +5 -5
  40. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +1 -1
  41. package/dist/cjs/justifi-terminals-list.cjs.entry.js +7 -7
  42. package/dist/cjs/{package-C7Z9XAuc.js → package-BJUD_YSJ.js} +1 -1
  43. package/dist/cjs/{payment-provisioning-actions-Cn8bgHKu.js → payment-provisioning-actions-Dnvqbh2N.js} +2 -2
  44. package/dist/cjs/{payment.service-CbIxt30x.js → payment.service-DWK3fO_g.js} +1 -1
  45. package/dist/cjs/{payout.service-DVMvsdAf.js → payout.service-Cjc3PPfP.js} +1 -1
  46. package/dist/cjs/{payouts-status-CzS2CLGW.js → payouts-status-DluZkb6X.js} +2 -2
  47. package/dist/cjs/{plaid.service-DNT_DX6z.js → plaid.service-BaHuE_zZ.js} +1 -1
  48. package/dist/cjs/{terminal.service-BBHixg-d.js → terminal.service-DmlAGx7U.js} +1 -1
  49. package/dist/cjs/{utils-kDsk4nqH.js → utils-dnVbB8d6.js} +1 -1
  50. package/dist/collection/api/Document.js +7 -2
  51. package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
  52. package/dist/collection/components/business-forms/payment-provisioning/document-upload/document-upload-form-step.js +15 -17
  53. package/dist/collection/components/business-forms/payment-provisioning/document-upload/document-upload-options.js +15 -17
  54. package/dist/docs.json +2 -2
  55. package/dist/esm/{Analytics-D-apOWeY.js → Analytics-Bg6T3DQV.js} +2 -2
  56. package/dist/esm/{Plaid-BM3JUIG5.js → Plaid-CeYMgNts.js} +7 -2
  57. package/dist/esm/additional-questions-form-step_15.entry.js +36 -40
  58. package/dist/esm/bank-account-document-form-inputs.entry.js +1 -1
  59. package/dist/esm/bank-account-form.entry.js +2 -2
  60. package/dist/esm/{business.service-C4BD3pf7.js → business.service-ZN8yGby7.js} +1 -1
  61. package/dist/esm/card-form.entry.js +2 -2
  62. package/dist/esm/{check-pkg-version-Bn8HCDRp.js → check-pkg-version-BXdtk1fk.js} +1 -1
  63. package/dist/esm/{checkout.service-DmWeKNQs.js → checkout.service-D_6Zw77V.js} +1 -1
  64. package/dist/esm/dispute-notification_2.entry.js +6 -6
  65. package/dist/esm/{event-types-eIqsrwmW.js → event-types-DXYUs2vg.js} +1 -1
  66. package/dist/esm/{get-business-DtFHdc37.js → get-business-rP66Ger-.js} +2 -2
  67. package/dist/esm/{get-payment-details-26GxiYgv.js → get-payment-details-zCO59zZz.js} +2 -2
  68. package/dist/esm/{get-subaccounts-xkGMPstt.js → get-subaccounts-DUopdVm2.js} +2 -2
  69. package/dist/esm/hidden-input_2.entry.js +1 -1
  70. package/dist/esm/justifi-apple-pay_11.entry.js +7 -7
  71. package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +4 -4
  72. package/dist/esm/justifi-bank-account-form.entry.js +4 -4
  73. package/dist/esm/justifi-business-details.entry.js +7 -7
  74. package/dist/esm/justifi-business-form.entry.js +7 -7
  75. package/dist/esm/justifi-card-form.entry.js +4 -4
  76. package/dist/esm/justifi-checkout.entry.js +4 -4
  77. package/dist/esm/justifi-checkouts-list-filters.entry.js +1 -1
  78. package/dist/esm/justifi-checkouts-list.entry.js +7 -7
  79. package/dist/esm/justifi-dispute-management.entry.js +6 -6
  80. package/dist/esm/justifi-gross-payment-chart.entry.js +5 -5
  81. package/dist/esm/justifi-order-terminals.entry.js +8 -8
  82. package/dist/esm/justifi-payment-details.entry.js +7 -7
  83. package/dist/esm/justifi-payment-provisioning.entry.js +7 -7
  84. package/dist/esm/justifi-payment-transactions-list.entry.js +6 -6
  85. package/dist/esm/justifi-payments-list.entry.js +6 -6
  86. package/dist/esm/justifi-payout-details.entry.js +7 -7
  87. package/dist/esm/justifi-payout-transactions-list.entry.js +6 -6
  88. package/dist/esm/justifi-payouts-list-filters.entry.js +1 -1
  89. package/dist/esm/justifi-payouts-list.entry.js +8 -8
  90. package/dist/esm/justifi-refund-payment.entry.js +7 -7
  91. package/dist/esm/justifi-season-interruption-insurance.entry.js +5 -5
  92. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +1 -1
  93. package/dist/esm/justifi-terminal-orders-list.entry.js +5 -5
  94. package/dist/esm/justifi-terminals-list-filters.entry.js +1 -1
  95. package/dist/esm/justifi-terminals-list.entry.js +7 -7
  96. package/dist/esm/{package-D6Pw5qJ5.js → package-DSjpDUHk.js} +1 -1
  97. package/dist/esm/{payment-provisioning-actions-fWdNDUdq.js → payment-provisioning-actions-BfMdBzzh.js} +2 -2
  98. package/dist/esm/{payment.service-CWR7jF-K.js → payment.service-CRgN4aGV.js} +1 -1
  99. package/dist/esm/{payout.service-CFU362cH.js → payout.service-B_APc0x_.js} +1 -1
  100. package/dist/esm/{payouts-status-D2G7FKu1.js → payouts-status-klusV0rp.js} +2 -2
  101. package/dist/esm/{plaid.service-0hd1i5Ga.js → plaid.service-DbrHt5kj.js} +1 -1
  102. package/dist/esm/{terminal.service-Dr6dERcJ.js → terminal.service-B5ezhIvW.js} +1 -1
  103. package/dist/esm/{utils-q7KOrlSX.js → utils-CfBIEaJJ.js} +1 -1
  104. package/dist/module/Plaid.js +7 -2
  105. package/dist/module/document-upload-form-step2.js +30 -34
  106. package/dist/module/owner-form2.js +1 -1
  107. package/dist/module/package.js +1 -1
  108. package/dist/types/api/Document.d.ts +1 -2
  109. package/dist/types/components/business-forms/payment-provisioning/document-upload/document-upload-options.d.ts +2 -5
  110. package/dist/webcomponents/{p-b5aa3937.entry.js → p-00335f02.entry.js} +1 -1
  111. package/dist/webcomponents/p-04480f3c.entry.js +1 -0
  112. package/dist/webcomponents/p-095e5b0e.entry.js +1 -0
  113. package/dist/webcomponents/{p-54ee2a30.entry.js → p-09d1663d.entry.js} +1 -1
  114. package/dist/webcomponents/{p-6089f91c.entry.js → p-1358a4f0.entry.js} +1 -1
  115. package/dist/webcomponents/{p-f6be288f.entry.js → p-1f3515a8.entry.js} +1 -1
  116. package/dist/webcomponents/{p-01ed8fb5.entry.js → p-21473196.entry.js} +1 -1
  117. package/dist/webcomponents/p-34f9fe96.entry.js +1 -0
  118. package/dist/webcomponents/{p-1006ab39.entry.js → p-382f49f6.entry.js} +1 -1
  119. package/dist/webcomponents/{p-164a4e64.entry.js → p-3a28052f.entry.js} +1 -1
  120. package/dist/webcomponents/{p-a3fe126f.entry.js → p-48319292.entry.js} +1 -1
  121. package/dist/webcomponents/{p-b17ce21d.entry.js → p-494e1254.entry.js} +1 -1
  122. package/dist/webcomponents/{p-3c3fbcca.entry.js → p-49c0879b.entry.js} +1 -1
  123. package/dist/webcomponents/{p-4673d7d3.entry.js → p-4ae8f4e9.entry.js} +1 -1
  124. package/dist/webcomponents/{p-0a2be2e2.entry.js → p-4f512f89.entry.js} +4 -4
  125. package/dist/webcomponents/{p-99792da6.entry.js → p-5fd4c94d.entry.js} +1 -1
  126. package/dist/webcomponents/{p-ab89cb46.entry.js → p-649f78de.entry.js} +1 -1
  127. package/dist/webcomponents/p-69c5658c.entry.js +1 -0
  128. package/dist/webcomponents/p-Bh1Vr2it.js +1 -0
  129. package/dist/webcomponents/{p-BrFax4_P.js → p-BtPSM2n_.js} +1 -1
  130. package/dist/webcomponents/p-C32sJPns.js +1 -0
  131. package/dist/webcomponents/{p-n_pmf4AT.js → p-Cdy3lPBL.js} +1 -1
  132. package/dist/webcomponents/{p-H0ILKMD2.js → p-CwP0ecN7.js} +1 -1
  133. package/dist/webcomponents/{p-D9rCHoO4.js → p-D8MQn8ZW.js} +1 -1
  134. package/dist/webcomponents/{p-Dzv0P2Ly.js → p-DGbFOjOo.js} +1 -1
  135. package/dist/webcomponents/p-DIpFohcg.js +1 -0
  136. package/dist/webcomponents/{p-czJ2qSU1.js → p-DOEMfCze.js} +1 -1
  137. package/dist/webcomponents/p-DSjpDUHk.js +1 -0
  138. package/dist/webcomponents/p-DfMQsL55.js +1 -0
  139. package/dist/webcomponents/{p-CL8LyqRI.js → p-DlHomiZY.js} +1 -1
  140. package/dist/webcomponents/{p-Cz0yhyYu.js → p-DnDbpabY.js} +1 -1
  141. package/dist/webcomponents/{p--RbNhyet.js → p-DspPkDq4.js} +1 -1
  142. package/dist/webcomponents/{p-a9976353.entry.js → p-b2224f12.entry.js} +1 -1
  143. package/dist/webcomponents/{p-641c9bdb.entry.js → p-b393864a.entry.js} +1 -1
  144. package/dist/webcomponents/{p-74aeb76a.entry.js → p-bbf54e31.entry.js} +1 -1
  145. package/dist/webcomponents/{p-60a0bf1e.entry.js → p-bd466218.entry.js} +1 -1
  146. package/dist/webcomponents/{p-e737077f.entry.js → p-be4aee79.entry.js} +1 -1
  147. package/dist/webcomponents/{p-1e5c96f3.entry.js → p-cfe8eaf8.entry.js} +1 -1
  148. package/dist/webcomponents/{p-0290ca0f.entry.js → p-d9287237.entry.js} +1 -1
  149. package/dist/webcomponents/p-d9eec0cc.entry.js +1 -0
  150. package/dist/webcomponents/p-daf41b49.entry.js +1 -0
  151. package/dist/webcomponents/{p-63a35210.entry.js → p-e29e32aa.entry.js} +1 -1
  152. package/dist/webcomponents/{p-84aaf298.entry.js → p-e679b76b.entry.js} +1 -1
  153. package/dist/webcomponents/{p-188a7ebd.entry.js → p-eb6150a8.entry.js} +1 -1
  154. package/dist/webcomponents/p-ebd5a44e.entry.js +1 -0
  155. package/dist/webcomponents/{p-374ce853.entry.js → p-f0d8ffe0.entry.js} +1 -1
  156. package/dist/webcomponents/{p-xWuaNtJy.js → p-jlR7CJl2.js} +1 -1
  157. package/dist/webcomponents/p-krYyRSq-.js +1 -0
  158. package/dist/webcomponents/{p-CDu7TeCZ.js → p-rISpbtJR.js} +1 -1
  159. package/dist/webcomponents/webcomponents.esm.js +1 -1
  160. package/package.json +1 -1
  161. package/dist/webcomponents/p-1841ee76.entry.js +0 -1
  162. package/dist/webcomponents/p-2e5ec91e.entry.js +0 -1
  163. package/dist/webcomponents/p-5ceeaa73.entry.js +0 -1
  164. package/dist/webcomponents/p-8a5f0d71.entry.js +0 -1
  165. package/dist/webcomponents/p-98476956.entry.js +0 -1
  166. package/dist/webcomponents/p-BSyTbuZy.js +0 -1
  167. package/dist/webcomponents/p-C-zuQNNP.js +0 -1
  168. package/dist/webcomponents/p-D6Pw5qJ5.js +0 -1
  169. package/dist/webcomponents/p-D9ZHVy-j.js +0 -1
  170. package/dist/webcomponents/p-DdeBubpX.js +0 -1
  171. package/dist/webcomponents/p-d7ec0b54.entry.js +0 -1
  172. package/dist/webcomponents/p-eb1b4ead.entry.js +0 -1
  173. package/dist/webcomponents/p-vUN_uvAi.js +0 -1
@@ -39,21 +39,19 @@ export const staticCategories = [
39
39
  docTypeOptions: financialDocumentOptions,
40
40
  },
41
41
  ];
42
- export function buildOwnerCategories(owners) {
43
- const group1Opts = personalDocGroup1Options.filter(o => o.value !== '');
44
- const group2Opts = personalDocGroup2Options.filter(o => o.value !== '');
45
- return owners.map(owner => ({
46
- label: `${owner.name} - Identity Document`,
47
- value: `personal_${owner.id}`,
48
- identityId: owner.id,
49
- docTypeOptions: [
50
- { label: 'Select a document type', value: '' },
51
- { label: '── Group 1 ──', value: '_group1_header' },
52
- ...group1Opts,
53
- { label: '── Group 2 ──', value: '_group2_header' },
54
- ...group2Opts,
55
- ],
56
- }));
42
+ export function buildPersonalDocumentCategories() {
43
+ return [
44
+ {
45
+ label: 'Identity Document - Group 1',
46
+ value: 'personal_group1',
47
+ docTypeOptions: personalDocGroup1Options,
48
+ },
49
+ {
50
+ label: 'Identity Document - Group 2',
51
+ value: 'personal_group2',
52
+ docTypeOptions: personalDocGroup2Options,
53
+ },
54
+ ];
57
55
  }
58
56
  export const financialOnlyCategories = [
59
57
  {
@@ -62,11 +60,11 @@ export const financialOnlyCategories = [
62
60
  docTypeOptions: financialDocumentOptions,
63
61
  },
64
62
  ];
65
- export function buildAllCategories(owners, country) {
63
+ export function buildAllCategories(country) {
66
64
  if (country === CountryCode.USA) {
67
65
  return financialOnlyCategories;
68
66
  }
69
- return [...staticCategories, ...buildOwnerCategories(owners)];
67
+ return [...staticCategories, ...buildPersonalDocumentCategories()];
70
68
  }
71
69
  export const personalDocGroup1Types = new Set(personalDocGroup1Options.filter(o => o.value).map(o => o.value));
72
70
  export const personalDocGroup2Types = new Set(personalDocGroup2Options.filter(o => o.value).map(o => o.value));
package/dist/docs.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-04-06T13:48:04",
2
+ "timestamp": "2026-04-08T14:23:20",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.38.3",
@@ -20811,7 +20811,7 @@
20811
20811
  "path": "src/api/index.ts"
20812
20812
  },
20813
20813
  "src/components/business-forms/payment-provisioning/document-upload/document-upload-options.ts::UploadedDocumentEntry": {
20814
- "declaration": "export interface UploadedDocumentEntry {\n categoryLabel: string;\n categoryValue: string;\n docTypeLabel: string;\n docTypeValue: string;\n fileName: string;\n file: File;\n identityId?: string;\n status: DocumentUploadStatus;\n}",
20814
+ "declaration": "export interface UploadedDocumentEntry {\n categoryLabel: string;\n categoryValue: string;\n docTypeLabel: string;\n docTypeValue: string;\n fileName: string;\n file: File;\n status: DocumentUploadStatus;\n}",
20815
20815
  "docstring": "",
20816
20816
  "path": "src/components/business-forms/payment-provisioning/document-upload/document-upload-options.ts"
20817
20817
  },
@@ -1,6 +1,6 @@
1
- import { p as packageJson } from './package-D6Pw5qJ5.js';
1
+ import { p as packageJson } from './package-DSjpDUHk.js';
2
2
  import { A as Api } from './Api-DMd8hTI-.js';
3
- import './Plaid-BM3JUIG5.js';
3
+ import './Plaid-CeYMgNts.js';
4
4
  import './Pagination-CLHwhyvu.js';
5
5
  import './Business-BcNb9bVO.js';
6
6
 
@@ -619,12 +619,17 @@ var EntityDocumentStatus;
619
619
  EntityDocumentStatus["needed"] = "needed";
620
620
  })(EntityDocumentStatus || (EntityDocumentStatus = {}));
621
621
  class EntityDocument {
622
- constructor(fileData, business_id, identity_id) {
622
+ constructor(fileData, business_id) {
623
623
  this.fileData = null;
624
624
  this.file = fileData.file;
625
625
  this.document_type = fileData.document_type;
626
626
  this.presigned_url = null;
627
- this.record_data = Object.assign({ business_id: business_id, document_type: this.document_type, file_name: this.file.name, file_type: this.file.type }, (identity_id && { identity_id }));
627
+ this.record_data = {
628
+ business_id: business_id,
629
+ document_type: this.document_type,
630
+ file_name: this.file.name,
631
+ file_type: this.file.type,
632
+ };
628
633
  }
629
634
  async getFileData() {
630
635
  if (this.fileData) {
@@ -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, z as EntityDocument, w as PLAID_ERROR_SEVERITY, x as PLAID_ERROR_MESSAGES, y as PlaidErrorCodes } from './Plaid-BM3JUIG5.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-fWdNDUdq.js';
4
- import { B as BusinessService, a as BusinessBankAccountService, D as DocumentRecordService, I as IdentityService } from './business.service-C4BD3pf7.js';
2
+ import { C as ComponentErrorSeverity, e as ComponentErrorCodes, z as EntityDocument, w as PLAID_ERROR_SEVERITY, x as PLAID_ERROR_MESSAGES, y as PlaidErrorCodes } from './Plaid-CeYMgNts.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-BfMdBzzh.js';
4
+ import { B as BusinessService, a as BusinessBankAccountService, D as DocumentRecordService, I as IdentityService } from './business.service-ZN8yGby7.js';
5
5
  import { a as additionalQuestionsSchema, d as businessCoreInfoSchemaCAN, b as businessCoreInfoSchemaUSA, g as identitySchemaByCountry, h as addressSchemaByCountry } from './business-identity-schema-D8L_UfWl.js';
6
6
  import { F as FormController, c as create$3, a as create$6, b as create$7 } from './index.esm-KCSohgHx.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-D84RBv1W.js';
26
- import { P as PlaidService } from './plaid.service-0hd1i5Ga.js';
27
- import './utils-q7KOrlSX.js';
26
+ import { P as PlaidService } from './plaid.service-DbrHt5kj.js';
27
+ import './utils-CfBIEaJJ.js';
28
28
  import './_commonjsHelpers-BFTU3MAI.js';
29
29
  import './index-cDVGjRkU.js';
30
30
 
@@ -1176,21 +1176,19 @@ const staticCategories = [
1176
1176
  docTypeOptions: financialDocumentOptions,
1177
1177
  },
1178
1178
  ];
1179
- function buildOwnerCategories(owners) {
1180
- const group1Opts = personalDocGroup1Options.filter(o => o.value !== '');
1181
- const group2Opts = personalDocGroup2Options.filter(o => o.value !== '');
1182
- return owners.map(owner => ({
1183
- label: `${owner.name} - Identity Document`,
1184
- value: `personal_${owner.id}`,
1185
- identityId: owner.id,
1186
- docTypeOptions: [
1187
- { label: 'Select a document type', value: '' },
1188
- { label: '── Group 1 ──', value: '_group1_header' },
1189
- ...group1Opts,
1190
- { label: '── Group 2 ──', value: '_group2_header' },
1191
- ...group2Opts,
1192
- ],
1193
- }));
1179
+ function buildPersonalDocumentCategories() {
1180
+ return [
1181
+ {
1182
+ label: 'Identity Document - Group 1',
1183
+ value: 'personal_group1',
1184
+ docTypeOptions: personalDocGroup1Options,
1185
+ },
1186
+ {
1187
+ label: 'Identity Document - Group 2',
1188
+ value: 'personal_group2',
1189
+ docTypeOptions: personalDocGroup2Options,
1190
+ },
1191
+ ];
1194
1192
  }
1195
1193
  const financialOnlyCategories = [
1196
1194
  {
@@ -1199,11 +1197,11 @@ const financialOnlyCategories = [
1199
1197
  docTypeOptions: financialDocumentOptions,
1200
1198
  },
1201
1199
  ];
1202
- function buildAllCategories(owners, country) {
1200
+ function buildAllCategories(country) {
1203
1201
  if (country === CountryCode.USA) {
1204
1202
  return financialOnlyCategories;
1205
1203
  }
1206
- return [...staticCategories, ...buildOwnerCategories(owners)];
1204
+ return [...staticCategories, ...buildPersonalDocumentCategories()];
1207
1205
  }
1208
1206
  const personalDocGroup1Types = new Set(personalDocGroup1Options.filter(o => o.value).map(o => o.value));
1209
1207
  const personalDocGroup2Types = new Set(personalDocGroup2Options.filter(o => o.value).map(o => o.value));
@@ -1230,7 +1228,7 @@ const DocumentUploadFormStep = class {
1230
1228
  const { owners, documents } = response.data;
1231
1229
  this.owners = owners || [];
1232
1230
  this.existingDocuments = documents || [];
1233
- this.categories = buildAllCategories(this.owners, this.country);
1231
+ this.categories = buildAllCategories(this.country);
1234
1232
  },
1235
1233
  onError: ({ error, code, severity }) => {
1236
1234
  this.errorEvent.emit({
@@ -1267,7 +1265,6 @@ const DocumentUploadFormStep = class {
1267
1265
  docTypeValue: this.selectedDocType,
1268
1266
  fileName: file.name,
1269
1267
  file,
1270
- identityId: category.identityId,
1271
1268
  status: 'uploading',
1272
1269
  }));
1273
1270
  const startIndex = this.uploadQueue.length;
@@ -1278,7 +1275,7 @@ const DocumentUploadFormStep = class {
1278
1275
  await Promise.all(newEntries.map(async (entry, i) => {
1279
1276
  const index = startIndex + i;
1280
1277
  try {
1281
- const docData = new EntityDocument({ file: entry.file, document_type: entry.docTypeValue }, this.businessId, entry.identityId);
1278
+ const docData = new EntityDocument({ file: entry.file, document_type: entry.docTypeValue }, this.businessId);
1282
1279
  const recordCreated = await this.postDocumentRecordData(docData);
1283
1280
  if (!recordCreated) {
1284
1281
  this.uploadQueue = this.uploadQueue.map((e, j) => j === index ? Object.assign(Object.assign({}, e), { status: 'error' }) : e);
@@ -1416,19 +1413,18 @@ const DocumentUploadFormStep = class {
1416
1413
  if (!hasUploadedDoc('business_document') && !hasExistingDoc(businessDocTypes)) {
1417
1414
  errors['business_document'] = 'Please upload a business document';
1418
1415
  }
1419
- for (const owner of this.owners) {
1420
- const ownerCategoryValue = `personal_${owner.id}`;
1421
- const ownerDocs = this.uploadQueue.filter(entry => entry.categoryValue === ownerCategoryValue && entry.status === 'uploaded');
1422
- const hasGroup1 = ownerDocs.some(d => personalDocGroup1Types.has(d.docTypeValue));
1423
- const hasGroup2 = ownerDocs.some(d => personalDocGroup2Types.has(d.docTypeValue));
1424
- if (!hasGroup1) {
1425
- errors[`personal_group1_${owner.id}`] =
1426
- `Please upload a Group 1 identity document for ${owner.name}`;
1427
- }
1428
- if (!hasGroup2) {
1429
- errors[`personal_group2_${owner.id}`] =
1430
- `Please upload a Group 2 identity document for ${owner.name}`;
1431
- }
1416
+ const requiredCount = this.owners.length;
1417
+ const group1Uploaded = this.uploadQueue.filter(entry => entry.categoryValue === 'personal_group1' && entry.status === 'uploaded').length;
1418
+ const group1Existing = this.existingDocuments.filter(doc => personalDocGroup1Types.has(doc.document_type)).length;
1419
+ if (group1Uploaded + group1Existing < requiredCount) {
1420
+ errors['personal_group1'] =
1421
+ `Please upload ${requiredCount} Group 1 identity document(s) (${group1Uploaded + group1Existing} of ${requiredCount} provided)`;
1422
+ }
1423
+ const group2Uploaded = this.uploadQueue.filter(entry => entry.categoryValue === 'personal_group2' && entry.status === 'uploaded').length;
1424
+ const group2Existing = this.existingDocuments.filter(doc => personalDocGroup2Types.has(doc.document_type)).length;
1425
+ if (group2Uploaded + group2Existing < requiredCount) {
1426
+ errors['personal_group2'] =
1427
+ `Please upload ${requiredCount} Group 2 identity document(s) (${group2Uploaded + group2Existing} of ${requiredCount} provided)`;
1432
1428
  }
1433
1429
  }
1434
1430
  return errors;
@@ -1437,7 +1433,7 @@ const DocumentUploadFormStep = class {
1437
1433
  if (this.isLoading) {
1438
1434
  return h(PaymentProvisioningLoading, null);
1439
1435
  }
1440
- return (h("form", null, h("fieldset", null, h("legend", { class: "mb-0", part: heading2 }, "Document Uploads"), h("hr", { class: "mt-2" }), h("business-documents-on-file", { documents: this.existingDocuments, isLoading: this.isLoading })), h("fieldset", { class: "mt-4" }, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Add Document"), h("form-control-tooltip", { helpText: "Upload documents one at a time. Select the category and type, then choose a file. For identity documents, two documents from different groups are required per owner." })), h("hr", { class: "mt-2" }), h("div", { class: "row gy-3" }, h("div", { class: "col-12 col-md-6" }, h("form-control-select", { name: "document_category", label: "Document Category", options: this.categoryOptions, defaultValue: this.selectedCategory, inputHandler: this.handleCategoryChange })), h("div", { class: "col-12 col-md-6" }, h("form-control-select", { name: "document_type", label: "Document Type", options: this.docTypeOptions, defaultValue: this.selectedDocType, inputHandler: this.handleDocTypeChange, disabled: !this.selectedCategory })), h("div", { class: "col-12" }, h("form-control-file", { key: this.fileInputKey, name: "document_file", label: "Upload Document", documentType: this.selectedDocType, onFileSelected: this.handleFileSelected, disabled: !this.selectedDocType, multiple: false })))), h("document-upload-list", { documents: this.uploadQueue }), Object.keys(this.errors).length > 0 && (h("div", { class: "alert alert-danger mt-3" }, h("ul", { class: "mb-0" }, Object.values(this.errors).map(err => h("li", null, err)))))));
1436
+ return (h("form", null, h("fieldset", null, h("legend", { class: "mb-0", part: heading2 }, "Document Uploads"), h("hr", { class: "mt-2" }), h("business-documents-on-file", { documents: this.existingDocuments, isLoading: this.isLoading })), this.country === CountryCode.CAN && this.owners.length > 0 && (h("div", { class: "alert alert-info mt-3" }, "One document from each group (Group 1 and Group 2) is required for each owner (", this.owners.length, " owner(s)).")), h("fieldset", { class: "mt-4" }, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Add Document"), h("form-control-tooltip", { helpText: "Upload documents one at a time. Select the category and type, then choose a file. For Canadian businesses, one Group 1 and one Group 2 identity document is required for each owner." })), h("hr", { class: "mt-2" }), h("div", { class: "row gy-3" }, h("div", { class: "col-12 col-md-6" }, h("form-control-select", { name: "document_category", label: "Document Category", options: this.categoryOptions, defaultValue: this.selectedCategory, inputHandler: this.handleCategoryChange })), h("div", { class: "col-12 col-md-6" }, h("form-control-select", { name: "document_type", label: "Document Type", options: this.docTypeOptions, defaultValue: this.selectedDocType, inputHandler: this.handleDocTypeChange, disabled: !this.selectedCategory })), h("div", { class: "col-12" }, h("form-control-file", { key: this.fileInputKey, name: "document_file", label: "Upload Document", documentType: this.selectedDocType, onFileSelected: this.handleFileSelected, disabled: !this.selectedDocType, multiple: false })))), h("document-upload-list", { documents: this.uploadQueue }), Object.keys(this.errors).length > 0 && (h("div", { class: "alert alert-danger mt-3" }, h("ul", { class: "mb-0" }, Object.values(this.errors).map(err => h("li", null, err)))))));
1441
1437
  }
1442
1438
  static get watchers() { return {
1443
1439
  "authToken": ["propChanged"],
@@ -1761,7 +1757,7 @@ const OwnerForm = class {
1761
1757
  });
1762
1758
  }
1763
1759
  render() {
1764
- return (h(Host, { key: 'b168e9f5a52416984e6a04ab5f0771b63ee28b2e', style: { display: 'block' } }, h("form", { key: 'd22a6aae3f5debd30d87b3bd37c67390a46c4590', onSubmit: this.validateAndSubmit }, h("fieldset", { key: '30597bc1f4983bddbdc0ed45e6be7e715d0b9b8e' }, h("legend", { key: '508f2a777bd0422572002053f6c167242252850d', class: "fw-semibold fs-5", part: heading3 }, this.formTitle), h("br", { key: '2dd17c21e931a2a9c15489828c7d1d0542ff4de4' }), h("div", { key: 'e9d7d7a10546e5e1bdabb0a994d994c47cd77bd6', class: "row gy-3" }, h("owner-form-inputs", { key: 'e556391c25a05d3f89601f1e0ac3834a5c26becd', ownerDefaultValue: this.formController.getInitialValues(), errors: this.errors, formController: this.formController, country: this.country }), h("div", { key: '48eb9390459f2ca619914e54726c9a0ae1290e31', class: "d-flex gap-2 justify-content-start" }, h(Button, { key: 'f9ccd8732981cdec9675332cc8f5c14d4938cbad', variant: "secondary", type: "button", onClick: this.handleRemoveOwner, hidden: !this.showRemoveButton }, "Remove"), h(Button, { key: '607a54ce6c4c0af42f3f8c7cbe1374a69752eca3', variant: "primary", type: "submit", onClick: this.handleAddOwner, disabled: this.isLoading }, this.submitButtonText))), h("hr", { key: '9ec1f815d8c3335daf2a4f98c2679930e22956e3' })))));
1760
+ return (h(Host, { key: 'b168e9f5a52416984e6a04ab5f0771b63ee28b2e', style: { display: 'block' } }, h("form", { key: 'd22a6aae3f5debd30d87b3bd37c67390a46c4590', onSubmit: this.validateAndSubmit }, h("fieldset", { key: '30597bc1f4983bddbdc0ed45e6be7e715d0b9b8e' }, h("legend", { key: '055ca2b6bbfa4e86591411668eaead3bd0d95ea8', class: "fw-semibold fs-5 w-100", part: heading3 }, this.formTitle), h("br", { key: 'f0d2d9624611ee888ff318ec1525281bf007e346' }), h("div", { key: '2c38a166f681404c2ab303630217e54c15f1e5f2', class: "row gy-3" }, h("owner-form-inputs", { key: '05253624d3d79f0ba7a4ec49b387e252e796e5b6', ownerDefaultValue: this.formController.getInitialValues(), errors: this.errors, formController: this.formController, country: this.country }), h("div", { key: '8e0e67966f047c3f9a4b30f28983f67db2372c0c', class: "d-flex gap-2 justify-content-start" }, h(Button, { key: 'e33368a968efe5faf52a08e36bb2bef215625c4a', variant: "secondary", type: "button", onClick: this.handleRemoveOwner, hidden: !this.showRemoveButton }, "Remove"), h(Button, { key: '7bb79b0624dfb3a8645182432c484f288cc73692', variant: "primary", type: "submit", onClick: this.handleAddOwner, disabled: this.isLoading }, this.submitButtonText))), h("hr", { key: 'ef4f86dd1b1878e92c98e4a826f9fbad808e15b7' })))));
1765
1761
  }
1766
1762
  static get watchers() { return {
1767
1763
  "isLoading": ["loadingWatcher"]
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h } from './index-CV0Pyo1O.js';
2
2
  import './config-state-kKn89dp1.js';
3
3
  import './dinero-HXpYMWUU.js';
4
- import { E as EntityDocumentType } from './Plaid-BM3JUIG5.js';
4
+ import { E as EntityDocumentType } from './Plaid-CeYMgNts.js';
5
5
  import './Pagination-CLHwhyvu.js';
6
6
  import './Business-BcNb9bVO.js';
7
7
  import './index-cDVGjRkU.js';
@@ -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-Bn8HCDRp.js';
5
+ import { c as checkPkgVersion } from './check-pkg-version-BXdtk1fk.js';
6
6
  import './parts-CPKMvyV_.js';
7
7
  import './index-cDVGjRkU.js';
8
8
  import './dinero-HXpYMWUU.js';
9
- import './package-D6Pw5qJ5.js';
9
+ import './package-DSjpDUHk.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-BM3JUIG5.js';
2
+ import './Plaid-CeYMgNts.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-Bn8HCDRp.js';
5
+ import { c as checkPkgVersion } from './check-pkg-version-BXdtk1fk.js';
6
6
  import './parts-CPKMvyV_.js';
7
7
  import './index-cDVGjRkU.js';
8
8
  import './dinero-HXpYMWUU.js';
9
- import './package-D6Pw5qJ5.js';
9
+ import './package-DSjpDUHk.js';
10
10
 
11
11
  const CardFormSkeleton = (props) => {
12
12
  const { isReady } = props;
@@ -1,4 +1,4 @@
1
- import { p as packageJson } from './package-D6Pw5qJ5.js';
1
+ import { p as packageJson } from './package-DSjpDUHk.js';
2
2
 
3
3
  const JUSTIFI_VERSION_KEY = '__JUSTIFI_WC_VERSION__';
4
4
  const detectDuplicateVersion = () => {
@@ -1,5 +1,5 @@
1
1
  import { A as Api } from './Api-DMd8hTI-.js';
2
- import './Plaid-BM3JUIG5.js';
2
+ import './Plaid-CeYMgNts.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-BM3JUIG5.js';
8
- import { g as getErrorCode, a as getErrorMessage } from './utils-q7KOrlSX.js';
9
- import { D as DisputeManagementClickActions, a as DisputeService } from './event-types-eIqsrwmW.js';
10
- import { c as checkPkgVersion } from './check-pkg-version-Bn8HCDRp.js';
11
- import { J as JustifiAnalytics } from './Analytics-D-apOWeY.js';
7
+ import { C as ComponentErrorSeverity, e as ComponentErrorCodes } from './Plaid-CeYMgNts.js';
8
+ import { g as getErrorCode, a as getErrorMessage } from './utils-CfBIEaJJ.js';
9
+ import { D as DisputeManagementClickActions, a as DisputeService } from './event-types-DXYUs2vg.js';
10
+ import { c as checkPkgVersion } from './check-pkg-version-BXdtk1fk.js';
11
+ import { J as JustifiAnalytics } from './Analytics-Bg6T3DQV.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-D6Pw5qJ5.js';
18
+ import './package-DSjpDUHk.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-BM3JUIG5.js';
2
+ import './Plaid-CeYMgNts.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-BM3JUIG5.js';
3
- import { g as getErrorCode, a as getErrorMessage } from './utils-q7KOrlSX.js';
2
+ import { C as ComponentErrorSeverity } from './Plaid-CeYMgNts.js';
3
+ import { g as getErrorCode, a as getErrorMessage } from './utils-CfBIEaJJ.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-BM3JUIG5.js';
3
+ import { b as Payment, C as ComponentErrorSeverity } from './Plaid-CeYMgNts.js';
4
4
  import './Pagination-CLHwhyvu.js';
5
5
  import './Business-BcNb9bVO.js';
6
- import { g as getErrorCode, a as getErrorMessage } from './utils-q7KOrlSX.js';
6
+ import { g as getErrorCode, a as getErrorMessage } from './utils-CfBIEaJJ.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-BM3JUIG5.js';
2
+ import { S as SubAccount, C as ComponentErrorSeverity } from './Plaid-CeYMgNts.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-q7KOrlSX.js';
7
+ import { g as getErrorCode, a as getErrorMessage } from './utils-CfBIEaJJ.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-D6Pw5qJ5.js';
6
+ import { p as packageJson } from './package-DSjpDUHk.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-BM3JUIG5.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-CeYMgNts.js';
4
4
  import { S as StyledHost } from './styled-host-D84RBv1W.js';
5
5
  import './event-types-CZfYo5-1.js';
6
6
  import { S as Skeleton } from './skeleton-BEHo2ypu.js';
@@ -11,18 +11,18 @@ 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-D-apOWeY.js';
15
- import { c as checkPkgVersion } from './check-pkg-version-Bn8HCDRp.js';
14
+ import { J as JustifiAnalytics } from './Analytics-Bg6T3DQV.js';
15
+ import { c as checkPkgVersion } from './check-pkg-version-BXdtk1fk.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-q7KOrlSX.js';
20
- import { C as CheckoutService } from './checkout.service-DmWeKNQs.js';
21
- import { P as PlaidService } from './plaid.service-0hd1i5Ga.js';
19
+ import { g as getErrorCode, a as getErrorMessage } from './utils-CfBIEaJJ.js';
20
+ import { C as CheckoutService } from './checkout.service-D_6Zw77V.js';
21
+ import { P as PlaidService } from './plaid.service-DbrHt5kj.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-D6Pw5qJ5.js';
25
+ import './package-DSjpDUHk.js';
26
26
 
27
27
  const JustifiRadioListItem = class {
28
28
  constructor(hostRef) {
@@ -1,14 +1,14 @@
1
1
  import { r as registerInstance, h } from './index-CV0Pyo1O.js';
2
- import { J as JustifiAnalytics } from './Analytics-D-apOWeY.js';
3
- import { c as checkPkgVersion } from './check-pkg-version-Bn8HCDRp.js';
2
+ import { J as JustifiAnalytics } from './Analytics-Bg6T3DQV.js';
3
+ import { c as checkPkgVersion } from './check-pkg-version-BXdtk1fk.js';
4
4
  import { w as waitForConfig } from './config-state-kKn89dp1.js';
5
5
  import { S as StyledHost } from './styled-host-D84RBv1W.js';
6
6
  import './event-types-CZfYo5-1.js';
7
- import './package-D6Pw5qJ5.js';
7
+ import './package-DSjpDUHk.js';
8
8
  import './Api-DMd8hTI-.js';
9
9
  import './utils-BTtxWI2r.js';
10
10
  import './dinero-HXpYMWUU.js';
11
- import './Plaid-BM3JUIG5.js';
11
+ import './Plaid-CeYMgNts.js';
12
12
  import './Pagination-CLHwhyvu.js';
13
13
  import './Business-BcNb9bVO.js';
14
14
  import './index-cDVGjRkU.js';
@@ -1,14 +1,14 @@
1
1
  import { r as registerInstance, h } from './index-CV0Pyo1O.js';
2
- import { c as checkPkgVersion } from './check-pkg-version-Bn8HCDRp.js';
3
- import { J as JustifiAnalytics } from './Analytics-D-apOWeY.js';
2
+ import { c as checkPkgVersion } from './check-pkg-version-BXdtk1fk.js';
3
+ import { J as JustifiAnalytics } from './Analytics-Bg6T3DQV.js';
4
4
  import { w as waitForConfig } from './config-state-kKn89dp1.js';
5
5
  import { S as StyledHost } from './styled-host-D84RBv1W.js';
6
6
  import './event-types-CZfYo5-1.js';
7
- import './package-D6Pw5qJ5.js';
7
+ import './package-DSjpDUHk.js';
8
8
  import './Api-DMd8hTI-.js';
9
9
  import './utils-BTtxWI2r.js';
10
10
  import './dinero-HXpYMWUU.js';
11
- import './Plaid-BM3JUIG5.js';
11
+ import './Plaid-CeYMgNts.js';
12
12
  import './Pagination-CLHwhyvu.js';
13
13
  import './Business-BcNb9bVO.js';
14
14
  import './index-cDVGjRkU.js';
@@ -1,10 +1,10 @@
1
1
  import { h, F as Fragment, r as registerInstance, c as createEvent } from './index-CV0Pyo1O.js';
2
2
  import { E as ErrorState } from './utils-CX6puxwf.js';
3
- import { B as BusinessService } from './business.service-C4BD3pf7.js';
4
- import { m as makeGetBusiness } from './get-business-DtFHdc37.js';
5
- import { C as ComponentErrorSeverity, e as ComponentErrorCodes } from './Plaid-BM3JUIG5.js';
6
- import { J as JustifiAnalytics } from './Analytics-D-apOWeY.js';
7
- import { c as checkPkgVersion } from './check-pkg-version-Bn8HCDRp.js';
3
+ import { B as BusinessService } from './business.service-ZN8yGby7.js';
4
+ import { m as makeGetBusiness } from './get-business-rP66Ger-.js';
5
+ import { C as ComponentErrorSeverity, e as ComponentErrorCodes } from './Plaid-CeYMgNts.js';
6
+ import { J as JustifiAnalytics } from './Analytics-Bg6T3DQV.js';
7
+ import { c as checkPkgVersion } from './check-pkg-version-BXdtk1fk.js';
8
8
  import { S as StyledHost } from './styled-host-D84RBv1W.js';
9
9
  import './event-types-CZfYo5-1.js';
10
10
  import { S as Skeleton } from './skeleton-BEHo2ypu.js';
@@ -16,8 +16,8 @@ import './utils-BTtxWI2r.js';
16
16
  import './dinero-HXpYMWUU.js';
17
17
  import './Pagination-CLHwhyvu.js';
18
18
  import './Business-BcNb9bVO.js';
19
- import './utils-q7KOrlSX.js';
20
- import './package-D6Pw5qJ5.js';
19
+ import './utils-CfBIEaJJ.js';
20
+ import './package-DSjpDUHk.js';
21
21
 
22
22
  const BusinessDetailsLoading = () => {
23
23
  const Block = () => (h("div", { class: "mt-5" }, h(Skeleton, { width: "40%", height: "1.5rem" }), h("hr", null), h("div", { class: "row g-3" }, h("div", { class: "col-12 col-md-6" }, h(Skeleton, null), h(Skeleton, null), h(Skeleton, null)), h("div", { class: "col-12 col-md-6" }, h(Skeleton, null), h(Skeleton, null), h(Skeleton, null)))));
@@ -3,29 +3,29 @@ import { c as create$3, F as FormController } from './index.esm-KCSohgHx.js';
3
3
  import { b as businessCoreInfoSchemaUSA, i as identitySchemaUSA, a as additionalQuestionsSchema, c as addressSchemaUSA, d as businessCoreInfoSchemaCAN, e as identitySchemaCAN, f as addressSchemaCAN } from './business-identity-schema-D8L_UfWl.js';
4
4
  import './config-state-kKn89dp1.js';
5
5
  import './dinero-HXpYMWUU.js';
6
- import { C as ComponentErrorSeverity, e as ComponentErrorCodes } from './Plaid-BM3JUIG5.js';
6
+ import { C as ComponentErrorSeverity, e as ComponentErrorCodes } from './Plaid-CeYMgNts.js';
7
7
  import './Pagination-CLHwhyvu.js';
8
8
  import { C as CountryCode, B as Business, b as BusinessFormServerErrors } from './Business-BcNb9bVO.js';
9
- import { J as JustifiAnalytics } from './Analytics-D-apOWeY.js';
9
+ import { J as JustifiAnalytics } from './Analytics-Bg6T3DQV.js';
10
10
  import { B as Button } from './button-BvzOzV4l.js';
11
11
  import { S as StyledHost } from './styled-host-D84RBv1W.js';
12
12
  import { H as Header1 } from './header-1-evYxFIGN.js';
13
13
  import './event-types-CZfYo5-1.js';
14
- import { c as checkPkgVersion } from './check-pkg-version-Bn8HCDRp.js';
14
+ import { c as checkPkgVersion } from './check-pkg-version-BXdtk1fk.js';
15
15
  import { S as Skeleton } from './skeleton-BEHo2ypu.js';
16
16
  import { B as BusinessFormClickActions } from './event-types-XYgDHrVL.js';
17
- import { m as makeGetBusiness, a as makePatchBusiness } from './payment-provisioning-actions-fWdNDUdq.js';
18
- import { B as BusinessService } from './business.service-C4BD3pf7.js';
17
+ import { m as makeGetBusiness, a as makePatchBusiness } from './payment-provisioning-actions-BfMdBzzh.js';
18
+ import { B as BusinessService } from './business.service-ZN8yGby7.js';
19
19
  import './_commonjsHelpers-BFTU3MAI.js';
20
20
  import './schema-validations-CjqWFLKt.js';
21
21
  import './country-config-BW2dUoTJ.js';
22
22
  import './business-form-options-DXjZp4Rl.js';
23
23
  import './index-cDVGjRkU.js';
24
24
  import './utils-BTtxWI2r.js';
25
- import './package-D6Pw5qJ5.js';
25
+ import './package-DSjpDUHk.js';
26
26
  import './Api-DMd8hTI-.js';
27
27
  import './parts-CPKMvyV_.js';
28
- import './utils-q7KOrlSX.js';
28
+ import './utils-CfBIEaJJ.js';
29
29
 
30
30
  const businessFormSchemaUSA = create$3(Object.assign(Object.assign({}, businessCoreInfoSchemaUSA().fields), { legal_address: addressSchemaUSA(), additional_questions: additionalQuestionsSchema(), representative: identitySchemaUSA('representative') }));
31
31
  create$3(Object.assign(Object.assign({}, businessCoreInfoSchemaCAN().fields), { legal_address: addressSchemaCAN(), additional_questions: additionalQuestionsSchema(), representative: identitySchemaCAN('representative') }));
@@ -1,14 +1,14 @@
1
1
  import { r as registerInstance, h } from './index-CV0Pyo1O.js';
2
- import { J as JustifiAnalytics } from './Analytics-D-apOWeY.js';
3
- import { c as checkPkgVersion } from './check-pkg-version-Bn8HCDRp.js';
2
+ import { J as JustifiAnalytics } from './Analytics-Bg6T3DQV.js';
3
+ import { c as checkPkgVersion } from './check-pkg-version-BXdtk1fk.js';
4
4
  import { w as waitForConfig } from './config-state-kKn89dp1.js';
5
5
  import { S as StyledHost } from './styled-host-D84RBv1W.js';
6
6
  import './event-types-CZfYo5-1.js';
7
- import './package-D6Pw5qJ5.js';
7
+ import './package-DSjpDUHk.js';
8
8
  import './Api-DMd8hTI-.js';
9
9
  import './utils-BTtxWI2r.js';
10
10
  import './dinero-HXpYMWUU.js';
11
- import './Plaid-BM3JUIG5.js';
11
+ import './Plaid-CeYMgNts.js';
12
12
  import './Pagination-CLHwhyvu.js';
13
13
  import './Business-BcNb9bVO.js';
14
14
  import './index-cDVGjRkU.js';
@@ -1,18 +1,18 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-CV0Pyo1O.js';
2
- import { J as JustifiAnalytics } from './Analytics-D-apOWeY.js';
3
- import { c as checkPkgVersion } from './check-pkg-version-Bn8HCDRp.js';
2
+ import { J as JustifiAnalytics } from './Analytics-Bg6T3DQV.js';
3
+ import { c as checkPkgVersion } from './check-pkg-version-BXdtk1fk.js';
4
4
  import { c as checkoutStore } from './checkout.store-DFnkcDZ8.js';
5
5
  import { c as checkoutSummary } from './parts-CPKMvyV_.js';
6
6
  import { S as StyledHost } from './styled-host-D84RBv1W.js';
7
7
  import './event-types-CZfYo5-1.js';
8
8
  import { P as PAYMENT_METHODS } from './index-DkoufM1t.js';
9
- import './package-D6Pw5qJ5.js';
9
+ import './package-DSjpDUHk.js';
10
10
  import './Api-DMd8hTI-.js';
11
11
  import './config-state-kKn89dp1.js';
12
12
  import './index-cDVGjRkU.js';
13
13
  import './utils-BTtxWI2r.js';
14
14
  import './dinero-HXpYMWUU.js';
15
- import './Plaid-BM3JUIG5.js';
15
+ import './Plaid-CeYMgNts.js';
16
16
  import './Pagination-CLHwhyvu.js';
17
17
  import './Business-BcNb9bVO.js';
18
18
 
@@ -2,7 +2,7 @@ import { r as registerInstance, h } from './index-CV0Pyo1O.js';
2
2
  import { l as lodashExports } from './lodash-BF_QgjtL.js';
3
3
  import './config-state-kKn89dp1.js';
4
4
  import { c as convertToUTC, a as convertToLocal } from './utils-BTtxWI2r.js';
5
- import { I as ICheckoutStatus, a as ICheckoutPaymentModeParam } from './Plaid-BM3JUIG5.js';
5
+ import { I as ICheckoutStatus, a as ICheckoutPaymentModeParam } from './Plaid-CeYMgNts.js';
6
6
  import './Pagination-CLHwhyvu.js';
7
7
  import './Business-BcNb9bVO.js';
8
8
  import { f as filterParams, p as propsParams, c as clearParams } from './checkouts-list-params-state-CiGfmyWW.js';