@justifi/webcomponents 6.12.4 → 6.12.5

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 (151) hide show
  1. package/dist/cjs/{Analytics-BERGweGK.js → Analytics-CITnMj7H.js} +3 -3
  2. package/dist/cjs/additional-questions-details_5.cjs.entry.js +1 -1
  3. package/dist/cjs/additional-questions-form-step_14.cjs.entry.js +4 -3
  4. package/dist/cjs/additional-questions_5.cjs.entry.js +1 -1
  5. package/dist/cjs/bank-account-billing-form-simple_4.cjs.entry.js +5 -5
  6. package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
  7. package/dist/cjs/{business-identity-schema-DI9XFbaD.js → business-identity-schema-DuFGX6_i.js} +2 -2
  8. package/dist/cjs/card-form.cjs.entry.js +2 -2
  9. package/dist/cjs/{check-pkg-version-ByKpJklZ.js → check-pkg-version-CZMgXZID.js} +1 -1
  10. package/dist/cjs/{country-config-D7fss2oF.js → country-config-aJp8ScEs.js} +1 -0
  11. package/dist/cjs/dispute-notification_2.cjs.entry.js +3 -3
  12. package/dist/cjs/form-address-fields_3.cjs.entry.js +1 -1
  13. package/dist/cjs/form-control-number_2.cjs.entry.js +1 -1
  14. package/dist/cjs/hidden-input_2.cjs.entry.js +1 -1
  15. package/dist/cjs/justifi-apple-pay_11.cjs.entry.js +3 -3
  16. package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +3 -3
  17. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +3 -3
  18. package/dist/cjs/justifi-business-details.cjs.entry.js +3 -3
  19. package/dist/cjs/justifi-business-form.cjs.entry.js +6 -6
  20. package/dist/cjs/justifi-card-form.cjs.entry.js +3 -3
  21. package/dist/cjs/justifi-checkout.cjs.entry.js +3 -3
  22. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +3 -3
  23. package/dist/cjs/justifi-dispute-management.cjs.entry.js +3 -3
  24. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +3 -3
  25. package/dist/cjs/justifi-order-terminals.cjs.entry.js +3 -3
  26. package/dist/cjs/justifi-payment-details.cjs.entry.js +3 -3
  27. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +3 -3
  28. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +3 -3
  29. package/dist/cjs/justifi-payments-list.cjs.entry.js +3 -3
  30. package/dist/cjs/justifi-payout-details.cjs.entry.js +3 -3
  31. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +3 -3
  32. package/dist/cjs/justifi-payouts-list.cjs.entry.js +3 -3
  33. package/dist/cjs/justifi-refund-payment.cjs.entry.js +3 -3
  34. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +3 -3
  35. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +3 -3
  36. package/dist/cjs/justifi-terminals-list.cjs.entry.js +3 -3
  37. package/dist/cjs/{package-B6L3zyfG.js → package-DOiqjXmm.js} +1 -1
  38. package/dist/cjs/{schema-validations-_yWWnnaG.js → schema-validations-DNPcvDh5.js} +13 -2
  39. package/dist/collection/api/Analytics.js +2 -2
  40. package/dist/collection/components/business-details/owner-details/owner-details.js +1 -1
  41. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -0
  42. package/dist/collection/components/business-forms/schemas/schema-validations.js +2 -2
  43. package/dist/collection/components/checkout/billing-form/billing-form-full.js +2 -2
  44. package/dist/collection/components/checkout/billing-form/billing-form-schema.js +1 -1
  45. package/dist/collection/utils/checkout-billing-state-options.js +12 -0
  46. package/dist/docs.json +1 -1
  47. package/dist/esm/{Analytics-B1bQP71R.js → Analytics-Cg17Xhj_.js} +3 -3
  48. package/dist/esm/additional-questions-details_5.entry.js +1 -1
  49. package/dist/esm/additional-questions-form-step_14.entry.js +5 -4
  50. package/dist/esm/additional-questions_5.entry.js +1 -1
  51. package/dist/esm/additional-statement_8.entry.js +1 -1
  52. package/dist/esm/bank-account-billing-form-simple_4.entry.js +6 -6
  53. package/dist/esm/bank-account-form.entry.js +2 -2
  54. package/dist/esm/{business-identity-schema-D-Nk9aGV.js → business-identity-schema-0Q3kck3C.js} +3 -3
  55. package/dist/esm/card-form.entry.js +2 -2
  56. package/dist/esm/{check-pkg-version-CNwUC4SV.js → check-pkg-version-D-rHqtUI.js} +1 -1
  57. package/dist/esm/{country-config-B_fuF6JU.js → country-config-CdvhLcnT.js} +1 -1
  58. package/dist/esm/dispute-notification_2.entry.js +3 -3
  59. package/dist/esm/form-address-fields_3.entry.js +1 -1
  60. package/dist/esm/form-control-number_2.entry.js +1 -1
  61. package/dist/esm/hidden-input_2.entry.js +1 -1
  62. package/dist/esm/{index.esm-CgNcFueq.js → index.esm-BHdVU4hV.js} +1 -1
  63. package/dist/esm/justifi-apple-pay_11.entry.js +3 -3
  64. package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +3 -3
  65. package/dist/esm/justifi-bank-account-form.entry.js +3 -3
  66. package/dist/esm/justifi-business-details.entry.js +3 -3
  67. package/dist/esm/justifi-business-form.entry.js +7 -7
  68. package/dist/esm/justifi-card-form.entry.js +3 -3
  69. package/dist/esm/justifi-checkout.entry.js +3 -3
  70. package/dist/esm/justifi-checkouts-list.entry.js +3 -3
  71. package/dist/esm/justifi-dispute-management.entry.js +3 -3
  72. package/dist/esm/justifi-gross-payment-chart.entry.js +3 -3
  73. package/dist/esm/justifi-order-terminals.entry.js +3 -3
  74. package/dist/esm/justifi-payment-details.entry.js +3 -3
  75. package/dist/esm/justifi-payment-provisioning.entry.js +3 -3
  76. package/dist/esm/justifi-payment-transactions-list.entry.js +3 -3
  77. package/dist/esm/justifi-payments-list.entry.js +3 -3
  78. package/dist/esm/justifi-payout-details.entry.js +3 -3
  79. package/dist/esm/justifi-payout-transactions-list.entry.js +3 -3
  80. package/dist/esm/justifi-payouts-list.entry.js +3 -3
  81. package/dist/esm/justifi-refund-payment.entry.js +4 -4
  82. package/dist/esm/justifi-season-interruption-insurance.entry.js +3 -3
  83. package/dist/esm/justifi-terminal-orders-list.entry.js +3 -3
  84. package/dist/esm/justifi-terminals-list.entry.js +3 -3
  85. package/dist/esm/{package-OGt0dCJl.js → package-B6YPrwyC.js} +1 -1
  86. package/dist/esm/{schema-validations-u9_XnlUL.js → schema-validations-A1o1biOB.js} +14 -4
  87. package/dist/module/Analytics.js +2 -2
  88. package/dist/module/billing-form-full2.js +2 -2
  89. package/dist/module/billing-form-schema.js +1 -1
  90. package/dist/module/business-address-schema.js +1 -1
  91. package/dist/module/business-bank-account-form-step2.js +1 -1
  92. package/dist/module/business-core-info-schema.js +1 -1
  93. package/dist/module/business-identity-schema.js +1 -1
  94. package/dist/module/business-owners-form-step2.js +1 -0
  95. package/dist/module/country-config.js +1 -1
  96. package/dist/module/owner-details2.js +1 -1
  97. package/dist/module/package.js +1 -1
  98. package/dist/module/schema-validations.js +13 -3
  99. package/dist/types/utils/checkout-billing-state-options.d.ts +9 -0
  100. package/dist/webcomponents/{p-8aa53ef2.entry.js → p-0ce6c1b1.entry.js} +1 -1
  101. package/dist/webcomponents/{p-215c6b6b.entry.js → p-137a36a4.entry.js} +1 -1
  102. package/dist/webcomponents/{p-07236291.entry.js → p-1d294e34.entry.js} +1 -1
  103. package/dist/webcomponents/{p-383b8317.entry.js → p-1f34b2f7.entry.js} +1 -1
  104. package/dist/webcomponents/{p-35dd1fc0.entry.js → p-1f7f2436.entry.js} +1 -1
  105. package/dist/webcomponents/{p-b341efd6.entry.js → p-2aac2ab6.entry.js} +1 -1
  106. package/dist/webcomponents/{p-a1dcdc8b.entry.js → p-397b28ba.entry.js} +4 -4
  107. package/dist/webcomponents/{p-a80f69a9.entry.js → p-3cefb032.entry.js} +1 -1
  108. package/dist/webcomponents/{p-45c0fb53.entry.js → p-45668f01.entry.js} +1 -1
  109. package/dist/webcomponents/{p-3d6b9434.entry.js → p-5ec9634c.entry.js} +1 -1
  110. package/dist/webcomponents/{p-ae91fc9b.entry.js → p-60c65da4.entry.js} +1 -1
  111. package/dist/webcomponents/{p-b272a29d.entry.js → p-63e88b48.entry.js} +1 -1
  112. package/dist/webcomponents/{p-91aef5bf.entry.js → p-65281b33.entry.js} +1 -1
  113. package/dist/webcomponents/{p-f3ff7e00.entry.js → p-7ff9ce05.entry.js} +1 -1
  114. package/dist/webcomponents/{p-c8f3656f.entry.js → p-89844a98.entry.js} +1 -1
  115. package/dist/webcomponents/{p-69fdd137.entry.js → p-8d6856e7.entry.js} +1 -1
  116. package/dist/webcomponents/{p-7119fddd.entry.js → p-8e821593.entry.js} +1 -1
  117. package/dist/webcomponents/{p-9d021e10.entry.js → p-90f2f71d.entry.js} +1 -1
  118. package/dist/webcomponents/p-91940d05.entry.js +1 -0
  119. package/dist/webcomponents/{p-8d173a7c.entry.js → p-95317547.entry.js} +1 -1
  120. package/dist/webcomponents/p-B6YPrwyC.js +1 -0
  121. package/dist/webcomponents/{p-DwoT0UoX.js → p-CKiAlBsU.js} +1 -1
  122. package/dist/webcomponents/p-D8ytux5N.js +1 -0
  123. package/dist/webcomponents/p-DO9lqnbB.js +1 -0
  124. package/dist/webcomponents/{p-mF5zKtkx.js → p-DjjAx7PF.js} +1 -1
  125. package/dist/webcomponents/p-DrMJliVY.js +1 -0
  126. package/dist/webcomponents/p-XIWgia4J.js +1 -0
  127. package/dist/webcomponents/{p-ea0d7a98.entry.js → p-afe714cb.entry.js} +1 -1
  128. package/dist/webcomponents/p-b192f251.entry.js +1 -0
  129. package/dist/webcomponents/{p-daaa2a99.entry.js → p-b436a7d2.entry.js} +1 -1
  130. package/dist/webcomponents/{p-c9fe4f33.entry.js → p-bde7fe69.entry.js} +1 -1
  131. package/dist/webcomponents/{p-6220a384.entry.js → p-c108cd71.entry.js} +1 -1
  132. package/dist/webcomponents/{p-d24240a5.entry.js → p-c4415366.entry.js} +1 -1
  133. package/dist/webcomponents/{p-f30069ea.entry.js → p-c8bc235f.entry.js} +1 -1
  134. package/dist/webcomponents/{p-4ec433f4.entry.js → p-d1eabad2.entry.js} +1 -1
  135. package/dist/webcomponents/{p-49a4123c.entry.js → p-d5e7291a.entry.js} +1 -1
  136. package/dist/webcomponents/p-e17b92ec.entry.js +1 -0
  137. package/dist/webcomponents/{p-cde76bf8.entry.js → p-e322dcba.entry.js} +1 -1
  138. package/dist/webcomponents/p-e6ec9e6d.entry.js +1 -0
  139. package/dist/webcomponents/{p-9fc7714d.entry.js → p-ff8cf16c.entry.js} +1 -1
  140. package/dist/webcomponents/webcomponents.esm.js +1 -1
  141. package/package.json +2 -2
  142. package/readme.md +7 -14
  143. package/dist/webcomponents/p-31452258.entry.js +0 -1
  144. package/dist/webcomponents/p-3f5e9afb.entry.js +0 -1
  145. package/dist/webcomponents/p-6RTf1SXX.js +0 -1
  146. package/dist/webcomponents/p-Cz_7BuGW.js +0 -1
  147. package/dist/webcomponents/p-DyucNSA4.js +0 -1
  148. package/dist/webcomponents/p-KXLYEe1D.js +0 -1
  149. package/dist/webcomponents/p-OGt0dCJl.js +0 -1
  150. package/dist/webcomponents/p-e4cb7c21.entry.js +0 -1
  151. package/dist/webcomponents/p-ef85717f.entry.js +0 -1
@@ -1,28 +1,28 @@
1
1
  import { h, r as registerInstance, c as createEvent } from './index-CV0Pyo1O.js';
2
- import { a as create$3, F as FormController } from './index.esm-CgNcFueq.js';
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-D-Nk9aGV.js';
2
+ import { c as create$3, F as FormController } from './index.esm-BHdVU4hV.js';
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-0Q3kck3C.js';
4
4
  import './config-state-kKn89dp1.js';
5
5
  import './dinero-HXpYMWUU.js';
6
6
  import { C as ComponentErrorSeverity, e as ComponentErrorCodes } from './Plaid-l6nNIjab.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-B1bQP71R.js';
9
+ import { J as JustifiAnalytics } from './Analytics-Cg17Xhj_.js';
10
10
  import { B as Button } from './button-BvzOzV4l.js';
11
11
  import { S as StyledHost } from './styled-host-D6byRazK.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-CNwUC4SV.js';
14
+ import { c as checkPkgVersion } from './check-pkg-version-D-rHqtUI.js';
15
15
  import { S as Skeleton } from './skeleton-BEHo2ypu.js';
16
16
  import { B as BusinessFormClickActions } from './event-types-XYgDHrVL.js';
17
17
  import { m as makeGetBusiness, a as makePatchBusiness } from './payment-provisioning-actions-cl5xIYnF.js';
18
18
  import { B as BusinessService } from './business.service-C31wbMVs.js';
19
19
  import './_commonjsHelpers-BFTU3MAI.js';
20
- import './schema-validations-u9_XnlUL.js';
21
- import './country-config-B_fuF6JU.js';
20
+ import './schema-validations-A1o1biOB.js';
21
+ import './country-config-CdvhLcnT.js';
22
22
  import './business-form-options-DRalxlqN.js';
23
23
  import './index-cDVGjRkU.js';
24
24
  import './utils-BTtxWI2r.js';
25
- import './package-OGt0dCJl.js';
25
+ import './package-B6YPrwyC.js';
26
26
  import './Api-DMd8hTI-.js';
27
27
  import './parts-CPKMvyV_.js';
28
28
  import './utils-C1B2hVAB.js';
@@ -1,10 +1,10 @@
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-Cg17Xhj_.js';
3
+ import { c as checkPkgVersion } from './check-pkg-version-D-rHqtUI.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-B6YPrwyC.js';
8
8
  import './Api-DMd8hTI-.js';
9
9
  import './utils-BTtxWI2r.js';
10
10
  import './dinero-HXpYMWUU.js';
@@ -1,12 +1,12 @@
1
1
  import { r as registerInstance, c as createEvent, 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-Cg17Xhj_.js';
3
+ import { c as checkPkgVersion } from './check-pkg-version-D-rHqtUI.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-D6byRazK.js';
7
7
  import './event-types-CZfYo5-1.js';
8
8
  import { P as PAYMENT_METHODS } from './index-DkoufM1t.js';
9
- import './package-OGt0dCJl.js';
9
+ import './package-B6YPrwyC.js';
10
10
  import './Api-DMd8hTI-.js';
11
11
  import './config-state-kKn89dp1.js';
12
12
  import './index-cDVGjRkU.js';
@@ -5,8 +5,8 @@ import { k as Checkout, C as ComponentErrorSeverity, e as ComponentErrorCodes }
5
5
  import { p as pagingDefaults } from './Pagination-CLHwhyvu.js';
6
6
  import './Business-BcNb9bVO.js';
7
7
  import { g as getErrorCode, a as getErrorMessage } from './utils-C1B2hVAB.js';
8
- import { c as checkPkgVersion } from './check-pkg-version-CNwUC4SV.js';
9
- import { J as JustifiAnalytics } from './Analytics-B1bQP71R.js';
8
+ import { c as checkPkgVersion } from './check-pkg-version-D-rHqtUI.js';
9
+ import { J as JustifiAnalytics } from './Analytics-Cg17Xhj_.js';
10
10
  import { C as CheckoutService } from './checkout.service-cVdOGDuI.js';
11
11
  import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts-CkjZeR9U.js';
12
12
  import { S as StyledHost } from './styled-host-D6byRazK.js';
@@ -17,7 +17,7 @@ import { B as BadgeVariant, a as Badge } from './badge-Dlcl9qdm.js';
17
17
  import { a6 as tableHeadCell, a7 as getAlternateTableCellPart } from './parts-CPKMvyV_.js';
18
18
  import { o as onQueryParamsChange, g as getRequestParams } from './checkouts-list-params-state-CiGfmyWW.js';
19
19
  import './index-cDVGjRkU.js';
20
- import './package-OGt0dCJl.js';
20
+ import './package-B6YPrwyC.js';
21
21
  import './Api-DMd8hTI-.js';
22
22
  import './spinner-DIiQZd6_.js';
23
23
 
@@ -1,14 +1,14 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-CV0Pyo1O.js';
2
2
  import { D as Dispute, C as ComponentErrorSeverity, e as ComponentErrorCodes, f as DisputeStatus } from './Plaid-l6nNIjab.js';
3
- import { J as JustifiAnalytics } from './Analytics-B1bQP71R.js';
4
- import { c as checkPkgVersion } from './check-pkg-version-CNwUC4SV.js';
3
+ import { J as JustifiAnalytics } from './Analytics-Cg17Xhj_.js';
4
+ import { c as checkPkgVersion } from './check-pkg-version-D-rHqtUI.js';
5
5
  import { g as getErrorCode, a as getErrorMessage } from './utils-C1B2hVAB.js';
6
6
  import { D as DisputeManagementClickActions, a as DisputeService } from './event-types-DalU_6SB.js';
7
7
  import { S as StyledHost } from './styled-host-D6byRazK.js';
8
8
  import './event-types-CZfYo5-1.js';
9
9
  import './utils-BTtxWI2r.js';
10
10
  import './dinero-HXpYMWUU.js';
11
- import './package-OGt0dCJl.js';
11
+ import './package-B6YPrwyC.js';
12
12
  import './Api-DMd8hTI-.js';
13
13
  import './config-state-kKn89dp1.js';
14
14
  import './index-cDVGjRkU.js';
@@ -5,8 +5,8 @@ import './Pagination-CLHwhyvu.js';
5
5
  import './Business-BcNb9bVO.js';
6
6
  import { g as getErrorCode, a as getErrorMessage } from './utils-C1B2hVAB.js';
7
7
  import { E as ErrorState } from './utils-CX6puxwf.js';
8
- import { J as JustifiAnalytics } from './Analytics-B1bQP71R.js';
9
- import { c as checkPkgVersion } from './check-pkg-version-CNwUC4SV.js';
8
+ import { J as JustifiAnalytics } from './Analytics-Cg17Xhj_.js';
9
+ import { c as checkPkgVersion } from './check-pkg-version-D-rHqtUI.js';
10
10
  import { f as formatCurrency, o as formatDisplayDate } from './utils-BTtxWI2r.js';
11
11
  import { S as Spinner } from './spinner-DIiQZd6_.js';
12
12
  import { S as StyledHost } from './styled-host-D6byRazK.js';
@@ -14,7 +14,7 @@ import './event-types-CZfYo5-1.js';
14
14
  import './config-state-kKn89dp1.js';
15
15
  import './index-cDVGjRkU.js';
16
16
  import './parts-CPKMvyV_.js';
17
- import './package-OGt0dCJl.js';
17
+ import './package-B6YPrwyC.js';
18
18
  import './dinero-HXpYMWUU.js';
19
19
 
20
20
  /*!
@@ -2,8 +2,8 @@ import { h, r as registerInstance, c as createEvent } from './index-CV0Pyo1O.js'
2
2
  import { a9 as heading5, a8 as heading4, a1 as buttonPrimary, t as text } from './parts-CPKMvyV_.js';
3
3
  import { S as StyledHost } from './styled-host-D6byRazK.js';
4
4
  import './event-types-CZfYo5-1.js';
5
- import { c as checkPkgVersion } from './check-pkg-version-CNwUC4SV.js';
6
- import { J as JustifiAnalytics } from './Analytics-B1bQP71R.js';
5
+ import { c as checkPkgVersion } from './check-pkg-version-D-rHqtUI.js';
6
+ import { J as JustifiAnalytics } from './Analytics-Cg17Xhj_.js';
7
7
  import { m as TerminalModel, C as ComponentErrorSeverity, n as TerminalOrder, c as TerminalOrderType, e as ComponentErrorCodes } from './Plaid-l6nNIjab.js';
8
8
  import { B as BusinessService } from './business.service-C31wbMVs.js';
9
9
  import { B as Business } from './Business-BcNb9bVO.js';
@@ -15,7 +15,7 @@ import './Pagination-CLHwhyvu.js';
15
15
  import { g as getErrorCode, a as getErrorMessage } from './utils-C1B2hVAB.js';
16
16
  import { T as TerminalService } from './terminal.service-CIxDfM7V.js';
17
17
  import { l as formatPhoneNumber } from './utils-BTtxWI2r.js';
18
- import './package-OGt0dCJl.js';
18
+ import './package-B6YPrwyC.js';
19
19
  import './Api-DMd8hTI-.js';
20
20
  import './index-cDVGjRkU.js';
21
21
 
@@ -2,8 +2,8 @@ import { h, r as registerInstance, c as createEvent } from './index-CV0Pyo1O.js'
2
2
  import { P as PaymentService } from './payment.service-5_u-UzTY.js';
3
3
  import { m as makeGetPaymentDetails } from './get-payment-details-BiWgSJau.js';
4
4
  import { C as ComponentErrorSeverity, e as ComponentErrorCodes, g as PaymentStatuses, f as DisputeStatus } from './Plaid-l6nNIjab.js';
5
- import { J as JustifiAnalytics } from './Analytics-B1bQP71R.js';
6
- import { c as checkPkgVersion } from './check-pkg-version-CNwUC4SV.js';
5
+ import { J as JustifiAnalytics } from './Analytics-Cg17Xhj_.js';
6
+ import { c as checkPkgVersion } from './check-pkg-version-D-rHqtUI.js';
7
7
  import './config-state-kKn89dp1.js';
8
8
  import { b as formatDate, d as formatTime, s as snakeCaseToHumanReadable } from './utils-BTtxWI2r.js';
9
9
  import './Pagination-CLHwhyvu.js';
@@ -17,7 +17,7 @@ import { a as Badge, B as BadgeVariant } from './badge-Dlcl9qdm.js';
17
17
  import './Api-DMd8hTI-.js';
18
18
  import './dinero-HXpYMWUU.js';
19
19
  import './utils-C1B2hVAB.js';
20
- import './package-OGt0dCJl.js';
20
+ import './package-B6YPrwyC.js';
21
21
  import './index-cDVGjRkU.js';
22
22
  import './parts-CPKMvyV_.js';
23
23
 
@@ -1,12 +1,12 @@
1
1
  import { h, r as registerInstance, c as createEvent } from './index-CV0Pyo1O.js';
2
- import { J as JustifiAnalytics } from './Analytics-B1bQP71R.js';
2
+ import { J as JustifiAnalytics } from './Analytics-Cg17Xhj_.js';
3
3
  import { C as ComponentErrorSeverity, e as ComponentErrorCodes } from './Plaid-l6nNIjab.js';
4
4
  import { m as makeGetBusiness, b as makePostProvisioning } from './payment-provisioning-actions-cl5xIYnF.js';
5
5
  import { B as BusinessService } from './business.service-C31wbMVs.js';
6
6
  import { A as Api } from './Api-DMd8hTI-.js';
7
7
  import './Pagination-CLHwhyvu.js';
8
8
  import { C as CountryCode, B as Business, c as checkProvisioningStatus } from './Business-BcNb9bVO.js';
9
- import { c as checkPkgVersion } from './check-pkg-version-CNwUC4SV.js';
9
+ import { c as checkPkgVersion } from './check-pkg-version-D-rHqtUI.js';
10
10
  import { i as isTokenExpired } from './utils-BTtxWI2r.js';
11
11
  import { t as text } from './parts-CPKMvyV_.js';
12
12
  import { S as StyledHost } from './styled-host-D6byRazK.js';
@@ -14,7 +14,7 @@ import { H as Header1 } from './header-1-evYxFIGN.js';
14
14
  import './event-types-CZfYo5-1.js';
15
15
  import { B as BusinessFormClickActions } from './event-types-XYgDHrVL.js';
16
16
  import { P as PaymentProvisioningLoading } from './payment-provisioning-loading-Dve2xQA4.js';
17
- import './package-OGt0dCJl.js';
17
+ import './package-B6YPrwyC.js';
18
18
  import './utils-C1B2hVAB.js';
19
19
  import './config-state-kKn89dp1.js';
20
20
  import './index-cDVGjRkU.js';
@@ -4,8 +4,8 @@ import './dinero-HXpYMWUU.js';
4
4
  import { h as PaymentBalanceTransaction, C as ComponentErrorSeverity, e as ComponentErrorCodes } from './Plaid-l6nNIjab.js';
5
5
  import { p as pagingDefaults } from './Pagination-CLHwhyvu.js';
6
6
  import './Business-BcNb9bVO.js';
7
- import { J as JustifiAnalytics } from './Analytics-B1bQP71R.js';
8
- import { c as checkPkgVersion } from './check-pkg-version-CNwUC4SV.js';
7
+ import { J as JustifiAnalytics } from './Analytics-Cg17Xhj_.js';
8
+ import { c as checkPkgVersion } from './check-pkg-version-D-rHqtUI.js';
9
9
  import { g as getErrorCode, a as getErrorMessage } from './utils-C1B2hVAB.js';
10
10
  import { P as PaymentService } from './payment.service-5_u-UzTY.js';
11
11
  import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table-DqGfsdys.js';
@@ -14,7 +14,7 @@ import { T as TableClickActions } from './event-types-CZfYo5-1.js';
14
14
  import { a as convertToLocal } from './utils-BTtxWI2r.js';
15
15
  import { a6 as tableHeadCell, a7 as getAlternateTableCellPart } from './parts-CPKMvyV_.js';
16
16
  import './index-cDVGjRkU.js';
17
- import './package-OGt0dCJl.js';
17
+ import './package-B6YPrwyC.js';
18
18
  import './Api-DMd8hTI-.js';
19
19
  import './spinner-DIiQZd6_.js';
20
20
 
@@ -6,8 +6,8 @@ import { b as Payment, C as ComponentErrorSeverity, e as ComponentErrorCodes } f
6
6
  import { p as pagingDefaults } from './Pagination-CLHwhyvu.js';
7
7
  import './Business-BcNb9bVO.js';
8
8
  import { g as getErrorCode, a as getErrorMessage } from './utils-C1B2hVAB.js';
9
- import { J as JustifiAnalytics } from './Analytics-B1bQP71R.js';
10
- import { c as checkPkgVersion } from './check-pkg-version-CNwUC4SV.js';
9
+ import { J as JustifiAnalytics } from './Analytics-Cg17Xhj_.js';
10
+ import { c as checkPkgVersion } from './check-pkg-version-D-rHqtUI.js';
11
11
  import { S as StyledHost } from './styled-host-D6byRazK.js';
12
12
  import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table-DqGfsdys.js';
13
13
  import { T as TableClickActions } from './event-types-CZfYo5-1.js';
@@ -17,7 +17,7 @@ import { a6 as tableHeadCell, a7 as getAlternateTableCellPart } from './parts-CP
17
17
  import { o as onQueryParamsChange, g as getRequestParams } from './payments-list-params-state-CiGfmyWW.js';
18
18
  import './Api-DMd8hTI-.js';
19
19
  import './index-cDVGjRkU.js';
20
- import './package-OGt0dCJl.js';
20
+ import './package-B6YPrwyC.js';
21
21
  import './spinner-DIiQZd6_.js';
22
22
  import './badge-Dlcl9qdm.js';
23
23
 
@@ -8,9 +8,9 @@ import './Business-BcNb9bVO.js';
8
8
  import { g as getErrorCode, a as getErrorMessage } from './utils-C1B2hVAB.js';
9
9
  import { h as capitalizeFirstLetter, b as formatDate, d as formatTime } from './utils-BTtxWI2r.js';
10
10
  import { a as EntityHeadInfo, b as EntityHeadInfoItem, D as DetailSectionTitle, c as DetailItem, C as CodeBlock, E as ErrorState } from './utils-CX6puxwf.js';
11
- import { J as JustifiAnalytics } from './Analytics-B1bQP71R.js';
11
+ import { J as JustifiAnalytics } from './Analytics-Cg17Xhj_.js';
12
12
  import { m as makeGetPayoutCSV, M as MapPayoutStatusToBadge } from './payouts-status-DCjCGTaa.js';
13
- import { c as checkPkgVersion } from './check-pkg-version-CNwUC4SV.js';
13
+ import { c as checkPkgVersion } from './check-pkg-version-D-rHqtUI.js';
14
14
  import { B as Button } from './button-BvzOzV4l.js';
15
15
  import { S as StyledHost } from './styled-host-D6byRazK.js';
16
16
  import './event-types-CZfYo5-1.js';
@@ -19,7 +19,7 @@ import { a as Badge, B as BadgeVariant } from './badge-Dlcl9qdm.js';
19
19
  import './Api-DMd8hTI-.js';
20
20
  import './index-cDVGjRkU.js';
21
21
  import './parts-CPKMvyV_.js';
22
- import './package-OGt0dCJl.js';
22
+ import './package-B6YPrwyC.js';
23
23
 
24
24
  const makeGetPayoutDetails = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
25
25
  var _a;
@@ -4,8 +4,8 @@ import './dinero-HXpYMWUU.js';
4
4
  import { j as PayoutBalanceTransaction, C as ComponentErrorSeverity, e as ComponentErrorCodes } from './Plaid-l6nNIjab.js';
5
5
  import { p as pagingDefaults } from './Pagination-CLHwhyvu.js';
6
6
  import './Business-BcNb9bVO.js';
7
- import { J as JustifiAnalytics } from './Analytics-B1bQP71R.js';
8
- import { c as checkPkgVersion } from './check-pkg-version-CNwUC4SV.js';
7
+ import { J as JustifiAnalytics } from './Analytics-Cg17Xhj_.js';
8
+ import { c as checkPkgVersion } from './check-pkg-version-D-rHqtUI.js';
9
9
  import { g as getErrorCode, a as getErrorMessage } from './utils-C1B2hVAB.js';
10
10
  import { P as PayoutService } from './payout.service-D2zS5y8N.js';
11
11
  import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table-DqGfsdys.js';
@@ -14,7 +14,7 @@ import { T as TableClickActions } from './event-types-CZfYo5-1.js';
14
14
  import { a as convertToLocal } from './utils-BTtxWI2r.js';
15
15
  import { a6 as tableHeadCell, a7 as getAlternateTableCellPart } from './parts-CPKMvyV_.js';
16
16
  import './index-cDVGjRkU.js';
17
- import './package-OGt0dCJl.js';
17
+ import './package-B6YPrwyC.js';
18
18
  import './Api-DMd8hTI-.js';
19
19
  import './spinner-DIiQZd6_.js';
20
20
 
@@ -1,7 +1,7 @@
1
1
  import { h, r as registerInstance, c as createEvent } from './index-CV0Pyo1O.js';
2
2
  import { i as Payout, C as ComponentErrorSeverity, e as ComponentErrorCodes } from './Plaid-l6nNIjab.js';
3
- import { J as JustifiAnalytics } from './Analytics-B1bQP71R.js';
4
- import { c as checkPkgVersion } from './check-pkg-version-CNwUC4SV.js';
3
+ import { J as JustifiAnalytics } from './Analytics-Cg17Xhj_.js';
4
+ import { c as checkPkgVersion } from './check-pkg-version-D-rHqtUI.js';
5
5
  import { P as PayoutService } from './payout.service-D2zS5y8N.js';
6
6
  import './config-state-kKn89dp1.js';
7
7
  import './dinero-HXpYMWUU.js';
@@ -16,7 +16,7 @@ import { T as TableClickActions } from './event-types-CZfYo5-1.js';
16
16
  import { a as convertToLocal } from './utils-BTtxWI2r.js';
17
17
  import { a6 as tableHeadCell, a7 as getAlternateTableCellPart } from './parts-CPKMvyV_.js';
18
18
  import { o as onQueryParamsChange, g as getRequestParams } from './payouts-list-params-state-CiGfmyWW.js';
19
- import './package-OGt0dCJl.js';
19
+ import './package-B6YPrwyC.js';
20
20
  import './Api-DMd8hTI-.js';
21
21
  import './index-cDVGjRkU.js';
22
22
  import './badge-Dlcl9qdm.js';
@@ -1,5 +1,5 @@
1
1
  import { h, r as registerInstance, c as createEvent } from './index-CV0Pyo1O.js';
2
- import { a as create$3, c as create$6, F as FormController } from './index.esm-CgNcFueq.js';
2
+ import { c as create$3, a as create$6, F as FormController } from './index.esm-BHdVU4hV.js';
3
3
  import { f as formatCurrency } from './utils-BTtxWI2r.js';
4
4
  import './config-state-kKn89dp1.js';
5
5
  import { R as RefundReasons, C as ComponentErrorSeverity, e as ComponentErrorCodes, o as RefundPayload } from './Plaid-l6nNIjab.js';
@@ -10,8 +10,8 @@ import { S as StyledHost } from './styled-host-D6byRazK.js';
10
10
  import './event-types-CZfYo5-1.js';
11
11
  import { P as PaymentService } from './payment.service-5_u-UzTY.js';
12
12
  import { m as makeGetPaymentDetails } from './get-payment-details-BiWgSJau.js';
13
- import { J as JustifiAnalytics } from './Analytics-B1bQP71R.js';
14
- import { c as checkPkgVersion } from './check-pkg-version-CNwUC4SV.js';
13
+ import { J as JustifiAnalytics } from './Analytics-Cg17Xhj_.js';
14
+ import { c as checkPkgVersion } from './check-pkg-version-D-rHqtUI.js';
15
15
  import { g as getErrorCode, a as getErrorMessage } from './utils-C1B2hVAB.js';
16
16
  import { A as Api } from './Api-DMd8hTI-.js';
17
17
  import { S as Skeleton } from './skeleton-BEHo2ypu.js';
@@ -19,7 +19,7 @@ import './_commonjsHelpers-BFTU3MAI.js';
19
19
  import './dinero-HXpYMWUU.js';
20
20
  import './index-cDVGjRkU.js';
21
21
  import './parts-CPKMvyV_.js';
22
- import './package-OGt0dCJl.js';
22
+ import './package-B6YPrwyC.js';
23
23
 
24
24
  const amountValidation = (maxAmount) => {
25
25
  const max = +maxAmount;
@@ -4,8 +4,8 @@ import { C as ComponentErrorSeverity, e as ComponentErrorCodes } from './Plaid-l
4
4
  import './Pagination-CLHwhyvu.js';
5
5
  import './Business-BcNb9bVO.js';
6
6
  import { g as getErrorCode, a as getErrorMessage } from './utils-C1B2hVAB.js';
7
- import { J as JustifiAnalytics } from './Analytics-B1bQP71R.js';
8
- import { c as checkPkgVersion } from './check-pkg-version-CNwUC4SV.js';
7
+ import { J as JustifiAnalytics } from './Analytics-Cg17Xhj_.js';
8
+ import { c as checkPkgVersion } from './check-pkg-version-D-rHqtUI.js';
9
9
  import { c as checkoutStore } from './checkout.store-DFnkcDZ8.js';
10
10
  import { p as processHTML, f as formatCurrency, r as removeAttribute, j as addAttribute } from './utils-BTtxWI2r.js';
11
11
  import { v as validateInsuranceValues, i as insuranceValues, a as insuranceErrors, H as Header2 } from './insurance-state-CLGc1-_4.js';
@@ -15,7 +15,7 @@ import './event-types-CZfYo5-1.js';
15
15
  import { S as Skeleton } from './skeleton-BEHo2ypu.js';
16
16
  import './config-state-kKn89dp1.js';
17
17
  import './index-cDVGjRkU.js';
18
- import './package-OGt0dCJl.js';
18
+ import './package-B6YPrwyC.js';
19
19
  import './index-DkoufM1t.js';
20
20
  import './dinero-HXpYMWUU.js';
21
21
 
@@ -2,7 +2,7 @@ import { h, r as registerInstance, c as createEvent } from './index-CV0Pyo1O.js'
2
2
  import { S as StyledHost } from './styled-host-D6byRazK.js';
3
3
  import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table-DqGfsdys.js';
4
4
  import { T as TableClickActions } from './event-types-CZfYo5-1.js';
5
- import { c as checkPkgVersion } from './check-pkg-version-CNwUC4SV.js';
5
+ import { c as checkPkgVersion } from './check-pkg-version-D-rHqtUI.js';
6
6
  import { a6 as tableHeadCell, a7 as getAlternateTableCellPart } from './parts-CPKMvyV_.js';
7
7
  import { a as convertToLocal } from './utils-BTtxWI2r.js';
8
8
  import './config-state-kKn89dp1.js';
@@ -13,10 +13,10 @@ import { B as BadgeVariant, a as Badge } from './badge-Dlcl9qdm.js';
13
13
  import './dinero-HXpYMWUU.js';
14
14
  import { g as getErrorCode, a as getErrorMessage } from './utils-C1B2hVAB.js';
15
15
  import { A as Api } from './Api-DMd8hTI-.js';
16
- import { J as JustifiAnalytics } from './Analytics-B1bQP71R.js';
16
+ import { J as JustifiAnalytics } from './Analytics-Cg17Xhj_.js';
17
17
  import { o as onQueryParamsChange, g as getRequestParams } from './terminal-orders-list-params-state-CiGfmyWW.js';
18
18
  import './spinner-DIiQZd6_.js';
19
- import './package-OGt0dCJl.js';
19
+ import './package-B6YPrwyC.js';
20
20
  import './index-cDVGjRkU.js';
21
21
 
22
22
  const MapTerminalOrderStatusToBadge = (status) => {
@@ -1,7 +1,7 @@
1
1
  import { h, r as registerInstance, c as createEvent } from './index-CV0Pyo1O.js';
2
2
  import { l as Terminal, C as ComponentErrorSeverity, e as ComponentErrorCodes } from './Plaid-l6nNIjab.js';
3
- import { J as JustifiAnalytics } from './Analytics-B1bQP71R.js';
4
- import { c as checkPkgVersion } from './check-pkg-version-CNwUC4SV.js';
3
+ import { J as JustifiAnalytics } from './Analytics-Cg17Xhj_.js';
4
+ import { c as checkPkgVersion } from './check-pkg-version-D-rHqtUI.js';
5
5
  import { T as TerminalService } from './terminal.service-CIxDfM7V.js';
6
6
  import './config-state-kKn89dp1.js';
7
7
  import './dinero-HXpYMWUU.js';
@@ -16,7 +16,7 @@ import { B as BadgeVariant, a as Badge } from './badge-Dlcl9qdm.js';
16
16
  import { a6 as tableHeadCell, a7 as getAlternateTableCellPart } from './parts-CPKMvyV_.js';
17
17
  import { k as capitalFirstLetter } from './utils-BTtxWI2r.js';
18
18
  import { o as onQueryParamsChange, g as getRequestParams } from './terminals-list-params-state-CiGfmyWW.js';
19
- import './package-OGt0dCJl.js';
19
+ import './package-B6YPrwyC.js';
20
20
  import './Api-DMd8hTI-.js';
21
21
  import './index-cDVGjRkU.js';
22
22
  import './spinner-DIiQZd6_.js';
@@ -1,5 +1,5 @@
1
1
  const name = "@justifi/webcomponents";
2
- const version = "6.12.4";
2
+ const version = "6.12.5";
3
3
  var packageJson = {
4
4
  name: name,
5
5
  version: version};
@@ -1,8 +1,18 @@
1
- import { c as create$6 } from './index.esm-CgNcFueq.js';
1
+ import { a as create$6 } from './index.esm-BHdVU4hV.js';
2
+ import { P as ProvinceOptions, a as countryValidation } from './country-config-CdvhLcnT.js';
2
3
  import { S as StateOptions, C as CountryCode } from './Business-BcNb9bVO.js';
3
- import { c as countryValidation } from './country-config-B_fuF6JU.js';
4
4
  import { b as businessServiceReceivedOptions, a as bankAccountTypeOptions } from './business-form-options-DRalxlqN.js';
5
5
 
6
+ /**
7
+ * US states/territories + Canadian provinces/territories for checkout billing only.
8
+ * Do not use for USA-only business forms (see country-config).
9
+ */
10
+ const checkoutBillingStateOptions = [
11
+ { label: 'Choose state / province', value: '' },
12
+ ...StateOptions.filter((option) => option.value !== ''),
13
+ ...ProvinceOptions.filter((option) => option.value !== ''),
14
+ ];
15
+
6
16
  const transformEmptyString = (value) => {
7
17
  return value === '' ? null : value;
8
18
  };
@@ -178,7 +188,7 @@ const cityValidation = create$6()
178
188
  .max(50, 'City must be less than 50 characters')
179
189
  .transform(transformEmptyString);
180
190
  const stateValidation = create$6()
181
- .oneOf(StateOptions.map((option) => option.value), 'Enter a 2-letter state abbreviation, such as CA')
191
+ .oneOf(checkoutBillingStateOptions.map((option) => option.value), 'Select a valid state or province')
182
192
  .transform(transformEmptyString);
183
193
  const postalValidation = create$6()
184
194
  .matches(/^((\d{5}-\d{4})|(\d{5})|([A-Z]\d[A-Z]\s\d[A-Z]\d))$/, 'Enter valid postal code')
@@ -225,4 +235,4 @@ const routingNumberValidation = create$6()
225
235
  })
226
236
  .transform(transformEmptyString);
227
237
 
228
- export { accountNumberValidation as A, accountTypeValidation as B, nicknameValidation as C, bankNameValidation as D, numbersOnlyRegex as E, routingNumberValidation as F, doingBusinessAsValidation as a, businessClassificationValidation as b, businessNameValidation as c, dateOfIncorporationValidation as d, emailValidation as e, whenServiceReceivedValidation as f, paymentVolumeValidation as g, cityValidation as h, industryValidation as i, lineOneValidation as j, makePostalValidation as k, lineTwoValidation as l, makeTaxIdValidation as m, ownershipPercentageValidation as n, otherPaymentDetailsValidation as o, phoneValidation as p, dobValidation as q, revenueValidation as r, ssnValidation as s, taxIdValidation as t, identityTitleValidation as u, identityNameValidation as v, websiteUrlValidation as w, makeIdentityNumberValidation as x, postalValidation as y, stateValidation as z };
238
+ export { checkoutBillingStateOptions as A, accountNumberValidation as B, accountTypeValidation as C, nicknameValidation as D, bankNameValidation as E, numbersOnlyRegex as F, routingNumberValidation as G, doingBusinessAsValidation as a, businessClassificationValidation as b, businessNameValidation as c, dateOfIncorporationValidation as d, emailValidation as e, whenServiceReceivedValidation as f, paymentVolumeValidation as g, cityValidation as h, industryValidation as i, lineOneValidation as j, makePostalValidation as k, lineTwoValidation as l, makeTaxIdValidation as m, ownershipPercentageValidation as n, otherPaymentDetailsValidation as o, phoneValidation as p, dobValidation as q, revenueValidation as r, ssnValidation as s, taxIdValidation as t, identityTitleValidation as u, identityNameValidation as v, websiteUrlValidation as w, makeIdentityNumberValidation as x, postalValidation as y, stateValidation as z };
@@ -26,9 +26,9 @@ class JustifiAnalytics {
26
26
  // Track the event
27
27
  await this.service.record(data);
28
28
  };
29
- // dont track analytics in local or storybook
29
+ // dont track analytics on local dev or public docs site
30
30
  if (window.location.origin.includes('localhost') ||
31
- window.location.origin.includes('storybook')) {
31
+ window.location.origin.includes('docs.justifi.tech')) {
32
32
  return;
33
33
  }
34
34
  this.service = new AnalyticsService();
@@ -5,7 +5,7 @@ import { H as Header3 } from './header-3.js';
5
5
  import './justifi-details2.js';
6
6
  import './event-types.js';
7
7
  import './justifi-radio-list-item2.js';
8
- import { S as StateOptions } from './Business.js';
8
+ import { d as checkoutBillingStateOptions } from './schema-validations.js';
9
9
  import { F as FormController } from './form.js';
10
10
  import { c as checkoutStore, o as onChange } from './checkout.store.js';
11
11
  import { d as defineCustomElement$4 } from './custom-popper2.js';
@@ -57,7 +57,7 @@ const BillingFormFull = /*@__PURE__*/ proxyCustomElement(class BillingFormFull e
57
57
  return null;
58
58
  }
59
59
  const billingFormDefaultValue = this.formController.getInitialValues();
60
- return (h("div", { part: billingForm, class: "mt-4" }, h(Header3, { text: "Billing address", class: "fs-6 fw-bold lh-lg mb-4" }), h("form", null, h("fieldset", null, this.legend && (h("legend", null, this.legend)), h("div", { class: "row gy-3" }, h("div", { class: "col-12" }, h("form-control-text", { name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-select", { name: 'address_state', label: 'State', options: StateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_postal_code', label: "Postal Code", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 7 })))))));
60
+ return (h("div", { part: billingForm, class: "mt-4" }, h(Header3, { text: "Billing address", class: "fs-6 fw-bold lh-lg mb-4" }), h("form", null, h("fieldset", null, this.legend && (h("legend", null, this.legend)), h("div", { class: "row gy-3" }, h("div", { class: "col-12" }, h("form-control-text", { name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-select", { name: 'address_state', label: 'State / Province', options: checkoutBillingStateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_postal_code', label: "Postal Code", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 7 })))))));
61
61
  }
62
62
  }, [256, "billing-form-full", {
63
63
  "legend": [1025],
@@ -6,7 +6,7 @@ const fullBillingSchema = () => create$3({
6
6
  address_line1: lineOneValidation.required('Enter street address'),
7
7
  address_line2: lineTwoValidation.nullable(),
8
8
  address_city: cityValidation.required('Enter city'),
9
- address_state: stateValidation.required('Select state'),
9
+ address_state: stateValidation.required('Select state or province'),
10
10
  address_postal_code: postalValidation.required('Enter postal code'),
11
11
  });
12
12
  const postalOnlySchema = () => create$3({
@@ -1,5 +1,5 @@
1
1
  import { c as create$3, a as create$6 } from './form.js';
2
- import { c as cityValidation, l as lineTwoValidation, b as lineOneValidation, z as makePostalValidation } from './schema-validations.js';
2
+ import { c as cityValidation, l as lineTwoValidation, b as lineOneValidation, A as makePostalValidation } from './schema-validations.js';
3
3
  import { a as CountryCode } from './Business.js';
4
4
 
5
5
  // Internal USA schemas
@@ -8,7 +8,7 @@ import './ApplePay.js';
8
8
  import { m as makeGetBusiness, e as makePostBankAccount, f as makePostDocumentRecord } from './payment-provisioning-actions.js';
9
9
  import { B as BusinessService, a as BusinessBankAccountService, D as DocumentRecordService } from './business.service.js';
10
10
  import { c as create$3, a as create$6, d as create$8, F as FormController } from './form.js';
11
- import { A as accountNumberValidation, B as accountTypeValidation, i as identityNameValidation, C as nicknameValidation, D as bankNameValidation, E as numbersOnlyRegex, F as routingNumberValidation } from './schema-validations.js';
11
+ import { B as accountNumberValidation, C as accountTypeValidation, i as identityNameValidation, D as nicknameValidation, E as bankNameValidation, F as numbersOnlyRegex, G as routingNumberValidation } from './schema-validations.js';
12
12
  import { B as BusinessFormStep } from './event-types2.js';
13
13
  import { E as buttonSecondary, a1 as buttonLink, h as heading2 } from './parts.js';
14
14
  import { P as PaymentProvisioningLoading } from './payment-provisioning-loading.js';
@@ -1,5 +1,5 @@
1
1
  import { c as create$3, a as create$6 } from './form.js';
2
- import { m as makeTaxIdValidation, d as dateOfIncorporationValidation, e as industryValidation, f as businessClassificationValidation, g as doingBusinessAsValidation, h as phoneValidation, j as emailValidation, k as websiteUrlValidation, n as businessNameValidation, t as taxIdValidation } from './schema-validations.js';
2
+ import { m as makeTaxIdValidation, e as dateOfIncorporationValidation, f as industryValidation, g as businessClassificationValidation, h as doingBusinessAsValidation, j as phoneValidation, k as emailValidation, n as websiteUrlValidation, q as businessNameValidation, t as taxIdValidation } from './schema-validations.js';
3
3
  import { a as CountryCode } from './Business.js';
4
4
  import { c as countryLabels } from './country-config.js';
5
5
 
@@ -1,6 +1,6 @@
1
1
  import { c as create$3, a as create$6 } from './form.js';
2
2
  import { a as addressSchemaCAN, b as addressSchemaUSA } from './business-address-schema.js';
3
- import { q as ownershipPercentageValidation, u as makeIdentityNumberValidation, v as dobValidation, h as phoneValidation, j as emailValidation, x as identityTitleValidation, i as identityNameValidation, y as ssnValidation } from './schema-validations.js';
3
+ import { u as ownershipPercentageValidation, v as makeIdentityNumberValidation, x as dobValidation, j as phoneValidation, k as emailValidation, y as identityTitleValidation, i as identityNameValidation, z as ssnValidation } from './schema-validations.js';
4
4
  import { a as CountryCode } from './Business.js';
5
5
 
6
6
  // Internal USA schemas
@@ -115,6 +115,7 @@ const BusinessOwnersFormStep = /*@__PURE__*/ proxyCustomElement(class BusinessOw
115
115
  this.ownersPayload = this.ownersPayload.filter(owner => owner.id !== '');
116
116
  this.patchBusiness({
117
117
  payload: {
118
+ representative: { is_owner: true },
118
119
  owners: [{ id: this.representative.id }, ...this.ownersPayload],
119
120
  },
120
121
  onSuccess: () => {
@@ -61,4 +61,4 @@ const countryValidation = {
61
61
  },
62
62
  };
63
63
 
64
- export { countryOptions as a, countryValidation as b, countryLabels as c };
64
+ export { ProvinceOptions as P, countryOptions as a, countryValidation as b, countryLabels as c };
@@ -18,7 +18,7 @@ const OwnerDetails = /*@__PURE__*/ proxyCustomElement(class OwnerDetails extends
18
18
  var _a, _b, _c, _d, _e;
19
19
  return [
20
20
  h(DetailSectionTitle, { sectionTitle: `Owner ${owner === null || owner === void 0 ? void 0 : owner.name}'s Details` }),
21
- h("div", { class: "d-flex flex-column gap-2 w-100 mt-3" }, h("div", { class: "col-md-6" }, h(DetailItem, { title: "Name", value: owner === null || owner === void 0 ? void 0 : owner.name }), h(DetailItem, { title: "Title", value: owner === null || owner === void 0 ? void 0 : owner.title }), h(DetailItem, { title: "Email", value: owner === null || owner === void 0 ? void 0 : owner.email }), h(DetailItem, { title: "Phone", value: owner === null || owner === void 0 ? void 0 : owner.phone }), h(DetailItem, { title: "Date of Birth", value: formatMediumDate(new Date(Number(owner === null || owner === void 0 ? void 0 : owner.dob_day), Number(owner === null || owner === void 0 ? void 0 : owner.dob_month), Number(owner === null || owner === void 0 ? void 0 : owner.dob_year))) }), h(DetailItem, { title: "Identification Number", value: `********${owner === null || owner === void 0 ? void 0 : owner.ssn_last4}` }), h(DetailItem, { title: "Line 1", value: (_a = owner === null || owner === void 0 ? void 0 : owner.address) === null || _a === void 0 ? void 0 : _a.line1 }), h(DetailItem, { title: "Line 2", value: (_b = owner === null || owner === void 0 ? void 0 : owner.address) === null || _b === void 0 ? void 0 : _b.line2 }), h(DetailItem, { title: "City", value: (_c = owner === null || owner === void 0 ? void 0 : owner.address) === null || _c === void 0 ? void 0 : _c.city }), h(DetailItem, { title: "State", value: (_d = owner === null || owner === void 0 ? void 0 : owner.address) === null || _d === void 0 ? void 0 : _d.state }), h(DetailItem, { title: "Zip", value: (_e = owner === null || owner === void 0 ? void 0 : owner.address) === null || _e === void 0 ? void 0 : _e.postal_code }))),
21
+ h("div", { class: "d-flex flex-column gap-2 w-100 mt-3" }, h("div", { class: "col-md-6" }, h(DetailItem, { title: "Name", value: owner === null || owner === void 0 ? void 0 : owner.name }), h(DetailItem, { title: "Title", value: owner === null || owner === void 0 ? void 0 : owner.title }), h(DetailItem, { title: "Email", value: owner === null || owner === void 0 ? void 0 : owner.email }), h(DetailItem, { title: "Phone", value: owner === null || owner === void 0 ? void 0 : owner.phone }), h(DetailItem, { title: "Date of Birth", value: formatMediumDate(new Date(Number(owner === null || owner === void 0 ? void 0 : owner.dob_year), Number(owner === null || owner === void 0 ? void 0 : owner.dob_month) - 1, Number(owner === null || owner === void 0 ? void 0 : owner.dob_day))) }), h(DetailItem, { title: "Identification Number", value: `********${owner === null || owner === void 0 ? void 0 : owner.ssn_last4}` }), h(DetailItem, { title: "Line 1", value: (_a = owner === null || owner === void 0 ? void 0 : owner.address) === null || _a === void 0 ? void 0 : _a.line1 }), h(DetailItem, { title: "Line 2", value: (_b = owner === null || owner === void 0 ? void 0 : owner.address) === null || _b === void 0 ? void 0 : _b.line2 }), h(DetailItem, { title: "City", value: (_c = owner === null || owner === void 0 ? void 0 : owner.address) === null || _c === void 0 ? void 0 : _c.city }), h(DetailItem, { title: "State", value: (_d = owner === null || owner === void 0 ? void 0 : owner.address) === null || _d === void 0 ? void 0 : _d.state }), h(DetailItem, { title: "Zip", value: (_e = owner === null || owner === void 0 ? void 0 : owner.address) === null || _e === void 0 ? void 0 : _e.postal_code }))),
22
22
  ];
23
23
  })));
24
24
  }
@@ -1,5 +1,5 @@
1
1
  const name = "@justifi/webcomponents";
2
- const version = "6.12.4";
2
+ const version = "6.12.5";
3
3
  var webcomponentsPackageJson = {
4
4
  name: name,
5
5
  version: version};