@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
@@ -12,8 +12,8 @@ var styledHost = require('./styled-host-DAi5SuFa.js');
12
12
  require('./event-types-YOY5TKUN.js');
13
13
  var payment_service = require('./payment.service-ByrgA_QZ.js');
14
14
  var getPaymentDetails = require('./get-payment-details-dwhA02Zl.js');
15
- var Analytics = require('./Analytics-BERGweGK.js');
16
- var checkPkgVersion = require('./check-pkg-version-ByKpJklZ.js');
15
+ var Analytics = require('./Analytics-CITnMj7H.js');
16
+ var checkPkgVersion = require('./check-pkg-version-CZMgXZID.js');
17
17
  var utils$1 = require('./utils-FVGp6se3.js');
18
18
  var Api = require('./Api-Bukk55YZ.js');
19
19
  var skeleton = require('./skeleton-DvRCiQlA.js');
@@ -21,7 +21,7 @@ require('./_commonjsHelpers-BJu3ubxk.js');
21
21
  require('./dinero-BwNN_k7x.js');
22
22
  require('./index-W-zoNiyM.js');
23
23
  require('./parts-BXshb_S-.js');
24
- require('./package-B6L3zyfG.js');
24
+ require('./package-DOiqjXmm.js');
25
25
 
26
26
  const amountValidation = (maxAmount) => {
27
27
  const max = +maxAmount;
@@ -6,8 +6,8 @@ var Plaid = require('./Plaid-BRSyOOuw.js');
6
6
  require('./Pagination-Dediz133.js');
7
7
  require('./Business-oBifyXkW.js');
8
8
  var utils = require('./utils-FVGp6se3.js');
9
- var Analytics = require('./Analytics-BERGweGK.js');
10
- var checkPkgVersion = require('./check-pkg-version-ByKpJklZ.js');
9
+ var Analytics = require('./Analytics-CITnMj7H.js');
10
+ var checkPkgVersion = require('./check-pkg-version-CZMgXZID.js');
11
11
  var checkout_store = require('./checkout.store-CztwuCnG.js');
12
12
  var utils$1 = require('./utils-BHi4j5rB.js');
13
13
  var insuranceState = require('./insurance-state-Xe2auE-N.js');
@@ -17,7 +17,7 @@ require('./event-types-YOY5TKUN.js');
17
17
  var skeleton = require('./skeleton-DvRCiQlA.js');
18
18
  require('./config-state-BIgGhhe9.js');
19
19
  require('./index-W-zoNiyM.js');
20
- require('./package-B6L3zyfG.js');
20
+ require('./package-DOiqjXmm.js');
21
21
  require('./index-CajjbB9t.js');
22
22
  require('./dinero-BwNN_k7x.js');
23
23
 
@@ -4,7 +4,7 @@ var index = require('./index-p7cvUYAE.js');
4
4
  var styledHost = require('./styled-host-DAi5SuFa.js');
5
5
  var table = require('./table-DjbNv28p.js');
6
6
  var eventTypes = require('./event-types-YOY5TKUN.js');
7
- var checkPkgVersion = require('./check-pkg-version-ByKpJklZ.js');
7
+ var checkPkgVersion = require('./check-pkg-version-CZMgXZID.js');
8
8
  var parts = require('./parts-BXshb_S-.js');
9
9
  var utils = require('./utils-BHi4j5rB.js');
10
10
  require('./config-state-BIgGhhe9.js');
@@ -15,10 +15,10 @@ var badge = require('./badge-GBNtUypt.js');
15
15
  require('./dinero-BwNN_k7x.js');
16
16
  var utils$1 = require('./utils-FVGp6se3.js');
17
17
  var Api = require('./Api-Bukk55YZ.js');
18
- var Analytics = require('./Analytics-BERGweGK.js');
18
+ var Analytics = require('./Analytics-CITnMj7H.js');
19
19
  var terminalOrdersListParamsState = require('./terminal-orders-list-params-state-vGJZ6Oe2.js');
20
20
  require('./spinner-C6ZGOB2P.js');
21
- require('./package-B6L3zyfG.js');
21
+ require('./package-DOiqjXmm.js');
22
22
  require('./index-W-zoNiyM.js');
23
23
 
24
24
  const MapTerminalOrderStatusToBadge = (status) => {
@@ -2,8 +2,8 @@
2
2
 
3
3
  var index = require('./index-p7cvUYAE.js');
4
4
  var Plaid = require('./Plaid-BRSyOOuw.js');
5
- var Analytics = require('./Analytics-BERGweGK.js');
6
- var checkPkgVersion = require('./check-pkg-version-ByKpJklZ.js');
5
+ var Analytics = require('./Analytics-CITnMj7H.js');
6
+ var checkPkgVersion = require('./check-pkg-version-CZMgXZID.js');
7
7
  var terminal_service = require('./terminal.service-BdwHQ3Vv.js');
8
8
  require('./config-state-BIgGhhe9.js');
9
9
  require('./dinero-BwNN_k7x.js');
@@ -18,7 +18,7 @@ var badge = require('./badge-GBNtUypt.js');
18
18
  var parts = require('./parts-BXshb_S-.js');
19
19
  var utils$1 = require('./utils-BHi4j5rB.js');
20
20
  var terminalsListParamsState = require('./terminals-list-params-state-vGJZ6Oe2.js');
21
- require('./package-B6L3zyfG.js');
21
+ require('./package-DOiqjXmm.js');
22
22
  require('./Api-Bukk55YZ.js');
23
23
  require('./index-W-zoNiyM.js');
24
24
  require('./spinner-C6ZGOB2P.js');
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const name = "@justifi/webcomponents";
4
- const version = "6.12.4";
4
+ const version = "6.12.5";
5
5
  var packageJson = {
6
6
  name: name,
7
7
  version: version};
@@ -1,10 +1,20 @@
1
1
  'use strict';
2
2
 
3
3
  var index_esm = require('./index.esm-C1ZPG85l.js');
4
+ var countryConfig = require('./country-config-aJp8ScEs.js');
4
5
  var Business = require('./Business-oBifyXkW.js');
5
- var countryConfig = require('./country-config-D7fss2oF.js');
6
6
  var businessFormOptions = require('./business-form-options-D_nM7NDk.js');
7
7
 
8
+ /**
9
+ * US states/territories + Canadian provinces/territories for checkout billing only.
10
+ * Do not use for USA-only business forms (see country-config).
11
+ */
12
+ const checkoutBillingStateOptions = [
13
+ { label: 'Choose state / province', value: '' },
14
+ ...Business.StateOptions.filter((option) => option.value !== ''),
15
+ ...countryConfig.ProvinceOptions.filter((option) => option.value !== ''),
16
+ ];
17
+
8
18
  const transformEmptyString = (value) => {
9
19
  return value === '' ? null : value;
10
20
  };
@@ -180,7 +190,7 @@ const cityValidation = index_esm.create$6()
180
190
  .max(50, 'City must be less than 50 characters')
181
191
  .transform(transformEmptyString);
182
192
  const stateValidation = index_esm.create$6()
183
- .oneOf(Business.StateOptions.map((option) => option.value), 'Enter a 2-letter state abbreviation, such as CA')
193
+ .oneOf(checkoutBillingStateOptions.map((option) => option.value), 'Select a valid state or province')
184
194
  .transform(transformEmptyString);
185
195
  const postalValidation = index_esm.create$6()
186
196
  .matches(/^((\d{5}-\d{4})|(\d{5})|([A-Z]\d[A-Z]\s\d[A-Z]\d))$/, 'Enter valid postal code')
@@ -232,6 +242,7 @@ exports.accountTypeValidation = accountTypeValidation;
232
242
  exports.bankNameValidation = bankNameValidation;
233
243
  exports.businessClassificationValidation = businessClassificationValidation;
234
244
  exports.businessNameValidation = businessNameValidation;
245
+ exports.checkoutBillingStateOptions = checkoutBillingStateOptions;
235
246
  exports.cityValidation = cityValidation;
236
247
  exports.dateOfIncorporationValidation = dateOfIncorporationValidation;
237
248
  exports.dobValidation = dobValidation;
@@ -13,9 +13,9 @@ class JustifiAnalytics {
13
13
  // Track the event
14
14
  await this.service.record(data);
15
15
  };
16
- // dont track analytics in local or storybook
16
+ // dont track analytics on local dev or public docs site
17
17
  if (window.location.origin.includes('localhost') ||
18
- window.location.origin.includes('storybook')) {
18
+ window.location.origin.includes('docs.justifi.tech')) {
19
19
  return;
20
20
  }
21
21
  this.service = new AnalyticsService();
@@ -11,7 +11,7 @@ export class OwnerDetails {
11
11
  var _a, _b, _c, _d, _e;
12
12
  return [
13
13
  h(DetailSectionTitle, { sectionTitle: `Owner ${owner === null || owner === void 0 ? void 0 : owner.name}'s Details` }),
14
- 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 }))),
14
+ 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 }))),
15
15
  ];
16
16
  })));
17
17
  }
@@ -92,6 +92,7 @@ export class BusinessOwnersFormStep {
92
92
  this.ownersPayload = this.ownersPayload.filter(owner => owner.id !== '');
93
93
  this.patchBusiness({
94
94
  payload: {
95
+ representative: { is_owner: true },
95
96
  owners: [{ id: this.representative.id }, ...this.ownersPayload],
96
97
  },
97
98
  onSuccess: () => {
@@ -1,5 +1,5 @@
1
1
  import { string } from "yup";
2
- import StateOptions from "../../../utils/state-options";
2
+ import checkoutBillingStateOptions from "../../../utils/checkout-billing-state-options";
3
3
  import { CountryCode } from "../../../utils/country-codes";
4
4
  import { countryValidation } from "../utils/country-config";
5
5
  import { businessServiceReceivedOptions, bankAccountTypeOptions, } from "../utils/business-form-options";
@@ -158,7 +158,7 @@ export const cityValidation = string()
158
158
  .max(50, 'City must be less than 50 characters')
159
159
  .transform(transformEmptyString);
160
160
  export const stateValidation = string()
161
- .oneOf(StateOptions.map((option) => option.value), 'Enter a 2-letter state abbreviation, such as CA')
161
+ .oneOf(checkoutBillingStateOptions.map((option) => option.value), 'Select a valid state or province')
162
162
  .transform(transformEmptyString);
163
163
  export const postalValidation = string()
164
164
  .matches(/^((\d{5}-\d{4})|(\d{5})|([A-Z]\d[A-Z]\s\d[A-Z]\d))$/, 'Enter valid postal code')
@@ -2,7 +2,7 @@ import { h } from "@stencil/core";
2
2
  import { fullBillingSchema } from "./billing-form-schema";
3
3
  import { billingForm } from "../../../styles/parts";
4
4
  import { Header3 } from "../../../ui-components";
5
- import StateOptions from "../../../utils/state-options";
5
+ import checkoutBillingStateOptions from "../../../utils/checkout-billing-state-options";
6
6
  import { FormController } from "../../../ui-components/form/form";
7
7
  import { checkoutStore, onChange } from "../../../store/checkout.store";
8
8
  export class BillingFormFull {
@@ -45,7 +45,7 @@ export class BillingFormFull {
45
45
  return null;
46
46
  }
47
47
  const billingFormDefaultValue = this.formController.getInitialValues();
48
- 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 })))))));
48
+ 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 })))))));
49
49
  }
50
50
  static get is() { return "billing-form-full"; }
51
51
  static get properties() {
@@ -5,7 +5,7 @@ export const fullBillingSchema = () => object({
5
5
  address_line1: lineOneValidation.required('Enter street address'),
6
6
  address_line2: lineTwoValidation.nullable(),
7
7
  address_city: cityValidation.required('Enter city'),
8
- address_state: stateValidation.required('Select state'),
8
+ address_state: stateValidation.required('Select state or province'),
9
9
  address_postal_code: postalValidation.required('Enter postal code'),
10
10
  });
11
11
  export const postalOnlySchema = () => object({
@@ -0,0 +1,12 @@
1
+ import ProvinceOptions from "./province-options";
2
+ import StateOptions from "./state-options";
3
+ /**
4
+ * US states/territories + Canadian provinces/territories for checkout billing only.
5
+ * Do not use for USA-only business forms (see country-config).
6
+ */
7
+ const checkoutBillingStateOptions = [
8
+ { label: 'Choose state / province', value: '' },
9
+ ...StateOptions.filter((option) => option.value !== ''),
10
+ ...ProvinceOptions.filter((option) => option.value !== ''),
11
+ ];
12
+ export default checkoutBillingStateOptions;
package/dist/docs.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-03-24T17:22:17",
2
+ "timestamp": "2026-03-30T20:55:28",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.38.3",
@@ -1,4 +1,4 @@
1
- import { p as packageJson } from './package-OGt0dCJl.js';
1
+ import { p as packageJson } from './package-B6YPrwyC.js';
2
2
  import { A as Api } from './Api-DMd8hTI-.js';
3
3
  import './Plaid-l6nNIjab.js';
4
4
  import './Pagination-CLHwhyvu.js';
@@ -25,9 +25,9 @@ class JustifiAnalytics {
25
25
  // Track the event
26
26
  await this.service.record(data);
27
27
  };
28
- // dont track analytics in local or storybook
28
+ // dont track analytics on local dev or public docs site
29
29
  if (window.location.origin.includes('localhost') ||
30
- window.location.origin.includes('storybook')) {
30
+ window.location.origin.includes('docs.justifi.tech')) {
31
31
  return;
32
32
  }
33
33
  this.service = new AnalyticsService();
@@ -52,7 +52,7 @@ const OwnerDetails = class {
52
52
  var _a, _b, _c, _d, _e;
53
53
  return [
54
54
  h(DetailSectionTitle, { sectionTitle: `Owner ${owner === null || owner === void 0 ? void 0 : owner.name}'s Details` }),
55
- 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 }))),
55
+ 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 }))),
56
56
  ];
57
57
  })));
58
58
  }
@@ -2,8 +2,8 @@ import { r as registerInstance, c as createEvent, h, H as Host } from './index-C
2
2
  import { C as ComponentErrorSeverity, e as ComponentErrorCodes, E as EntityDocumentType, z as EntityDocumentStorage, B as EntityDocument, w as PLAID_ERROR_SEVERITY, x as PLAID_ERROR_MESSAGES, y as PlaidErrorCodes } from './Plaid-l6nNIjab.js';
3
3
  import { m as makeGetBusiness, a as makePatchBusiness, c as makePostBankAccount, d as makePostDocumentRecord, e as makeGetIdentity, f as makePatchIdentity, g as makePostIdentity } from './payment-provisioning-actions-cl5xIYnF.js';
4
4
  import { B as BusinessService, a as BusinessBankAccountService, D as DocumentRecordService, I as IdentityService } from './business.service-C31wbMVs.js';
5
- import { a as additionalQuestionsSchema, d as businessCoreInfoSchemaCAN, b as businessCoreInfoSchemaUSA, g as identitySchemaByCountry, h as addressSchemaByCountry } from './business-identity-schema-D-Nk9aGV.js';
6
- import { F as FormController, a as create$3, c as create$6, b as create$8, d as create$7 } from './index.esm-CgNcFueq.js';
5
+ import { a as additionalQuestionsSchema, d as businessCoreInfoSchemaCAN, b as businessCoreInfoSchemaUSA, g as identitySchemaByCountry, h as addressSchemaByCountry } from './business-identity-schema-0Q3kck3C.js';
6
+ import { F as FormController, c as create$3, a as create$6, b as create$8, d as create$7 } from './index.esm-BHdVU4hV.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';
8
8
  import { C as CURRENCY_MASK, P as PHONE_MASKS, I as IDENTITY_MASKS } from './form-input-masks-CVaOFfrI.js';
9
9
  import { b as heading2, a0 as buttonSecondary, C as buttonLink, x as label, u as inputDisabled, D as card, aa as table, a6 as tableHeadCell, aj as tableCell, am as alert, A as heading3, a1 as buttonPrimary } from './parts-CPKMvyV_.js';
@@ -14,10 +14,10 @@ import './config-state-kKn89dp1.js';
14
14
  import './dinero-HXpYMWUU.js';
15
15
  import './Pagination-CLHwhyvu.js';
16
16
  import { n as numberOnlyHandler } from './utils-BnjCmwMr.js';
17
- import { A as accountNumberValidation, B as accountTypeValidation, v as identityNameValidation, C as nicknameValidation, D as bankNameValidation, E as numbersOnlyRegex, F as routingNumberValidation } from './schema-validations-u9_XnlUL.js';
17
+ import { B as accountNumberValidation, C as accountTypeValidation, v as identityNameValidation, D as nicknameValidation, E as bankNameValidation, F as numbersOnlyRegex, G as routingNumberValidation } from './schema-validations-A1o1biOB.js';
18
18
  import { B as Button } from './button-BvzOzV4l.js';
19
19
  import './event-types-CZfYo5-1.js';
20
- import { a as countryLabels } from './country-config-B_fuF6JU.js';
20
+ import { c as countryLabels } from './country-config-CdvhLcnT.js';
21
21
  import { s as snakeCaseToHumanReadable, b as formatDate, d as formatTime } from './utils-BTtxWI2r.js';
22
22
  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';
@@ -901,6 +901,7 @@ const BusinessOwnersFormStep = class {
901
901
  this.ownersPayload = this.ownersPayload.filter(owner => owner.id !== '');
902
902
  this.patchBusiness({
903
903
  payload: {
904
+ representative: { is_owner: true },
904
905
  owners: [{ id: this.representative.id }, ...this.ownersPayload],
905
906
  },
906
907
  onSuccess: () => {
@@ -3,7 +3,7 @@ import { b as businessServiceReceivedOptions, r as recurringPaymentsOptions, s a
3
3
  import { C as CURRENCY_MASK, I as IDENTITY_MASKS, P as PHONE_MASKS } from './form-input-masks-CVaOFfrI.js';
4
4
  import { b as heading2, x as label, u as inputDisabled, a0 as buttonSecondary, ak as alertDanger } from './parts-CPKMvyV_.js';
5
5
  import { e as CoreBusinessInfo, d as deconstructDate } from './Business-BcNb9bVO.js';
6
- import { a as countryLabels } from './country-config-B_fuF6JU.js';
6
+ import { c as countryLabels } from './country-config-CdvhLcnT.js';
7
7
 
8
8
  const AdditionalQuestions = class {
9
9
  constructor(hostRef) {
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h } 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 { a9 as heading5 } from './parts-CPKMvyV_.js';
4
4
  import './_commonjsHelpers-BFTU3MAI.js';
5
5
 
@@ -1,14 +1,14 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-CV0Pyo1O.js';
2
- import { a as create$3, F as FormController } from './index.esm-CgNcFueq.js';
3
- import { y as postalValidation, z as stateValidation, h as cityValidation, l as lineTwoValidation, j as lineOneValidation, v as identityNameValidation } from './schema-validations-u9_XnlUL.js';
2
+ import { c as create$3, F as FormController } from './index.esm-BHdVU4hV.js';
3
+ import { y as postalValidation, z as stateValidation, h as cityValidation, l as lineTwoValidation, j as lineOneValidation, v as identityNameValidation, A as checkoutBillingStateOptions } from './schema-validations-A1o1biOB.js';
4
4
  import { al as billingForm } from './parts-CPKMvyV_.js';
5
5
  import { c as checkoutStore, o as onChange } from './checkout.store-DFnkcDZ8.js';
6
6
  import { P as PAYMENT_METHODS } from './index-DkoufM1t.js';
7
7
  import { H as Header3 } from './header-3-BUDap2xY.js';
8
8
  import './event-types-CZfYo5-1.js';
9
- import { S as StateOptions } from './Business-BcNb9bVO.js';
10
9
  import './_commonjsHelpers-BFTU3MAI.js';
11
- import './country-config-B_fuF6JU.js';
10
+ import './country-config-CdvhLcnT.js';
11
+ import './Business-BcNb9bVO.js';
12
12
  import './business-form-options-DRalxlqN.js';
13
13
  import './index-cDVGjRkU.js';
14
14
 
@@ -17,7 +17,7 @@ const fullBillingSchema = () => create$3({
17
17
  address_line1: lineOneValidation.required('Enter street address'),
18
18
  address_line2: lineTwoValidation.nullable(),
19
19
  address_city: cityValidation.required('Enter city'),
20
- address_state: stateValidation.required('Select state'),
20
+ address_state: stateValidation.required('Select state or province'),
21
21
  address_postal_code: postalValidation.required('Enter postal code'),
22
22
  });
23
23
  const postalOnlySchema = () => create$3({
@@ -149,7 +149,7 @@ const BillingFormFull = class {
149
149
  return null;
150
150
  }
151
151
  const billingFormDefaultValue = this.formController.getInitialValues();
152
- 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 })))))));
152
+ 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 })))))));
153
153
  }
154
154
  };
155
155
 
@@ -2,11 +2,11 @@ import { h, r as registerInstance } from './index-CV0Pyo1O.js';
2
2
  import { S as Skeleton } from './skeleton-BEHo2ypu.js';
3
3
  import { w as waitForConfig, c as configState } from './config-state-kKn89dp1.js';
4
4
  import { e as generateTabId } from './utils-BTtxWI2r.js';
5
- import { c as checkPkgVersion } from './check-pkg-version-CNwUC4SV.js';
5
+ import { c as checkPkgVersion } from './check-pkg-version-D-rHqtUI.js';
6
6
  import './parts-CPKMvyV_.js';
7
7
  import './index-cDVGjRkU.js';
8
8
  import './dinero-HXpYMWUU.js';
9
- import './package-OGt0dCJl.js';
9
+ import './package-B6YPrwyC.js';
10
10
 
11
11
  const BankAccountFormSkeleton = (props) => {
12
12
  const { isReady } = props;
@@ -1,7 +1,7 @@
1
- import { a as create$3, c as create$6 } from './index.esm-CgNcFueq.js';
2
- import { m as makeTaxIdValidation, d as dateOfIncorporationValidation, i as industryValidation, b as businessClassificationValidation, a as doingBusinessAsValidation, p as phoneValidation, e as emailValidation, w as websiteUrlValidation, c as businessNameValidation, t as taxIdValidation, o as otherPaymentDetailsValidation, f as whenServiceReceivedValidation, r as revenueValidation, g as paymentVolumeValidation, h as cityValidation, l as lineTwoValidation, j as lineOneValidation, k as makePostalValidation, n as ownershipPercentageValidation, s as ssnValidation, q as dobValidation, u as identityTitleValidation, v as identityNameValidation, x as makeIdentityNumberValidation } from './schema-validations-u9_XnlUL.js';
1
+ import { c as create$3, a as create$6 } from './index.esm-BHdVU4hV.js';
2
+ import { m as makeTaxIdValidation, d as dateOfIncorporationValidation, i as industryValidation, b as businessClassificationValidation, a as doingBusinessAsValidation, p as phoneValidation, e as emailValidation, w as websiteUrlValidation, c as businessNameValidation, t as taxIdValidation, o as otherPaymentDetailsValidation, f as whenServiceReceivedValidation, r as revenueValidation, g as paymentVolumeValidation, h as cityValidation, l as lineTwoValidation, j as lineOneValidation, k as makePostalValidation, n as ownershipPercentageValidation, s as ssnValidation, q as dobValidation, u as identityTitleValidation, v as identityNameValidation, x as makeIdentityNumberValidation } from './schema-validations-A1o1biOB.js';
3
3
  import { C as CountryCode } from './Business-BcNb9bVO.js';
4
- import { a as countryLabels } from './country-config-B_fuF6JU.js';
4
+ import { c as countryLabels } from './country-config-CdvhLcnT.js';
5
5
 
6
6
  // Base schema (no country-specific rules for classification/tax id)
7
7
  const baseBusinessCoreInfoSchema = (allowOptionalFields) => {
@@ -2,11 +2,11 @@ import { h, r as registerInstance } from './index-CV0Pyo1O.js';
2
2
  import { S as Skeleton } from './skeleton-BEHo2ypu.js';
3
3
  import { w as waitForConfig, c as configState } from './config-state-kKn89dp1.js';
4
4
  import { e as generateTabId } from './utils-BTtxWI2r.js';
5
- import { c as checkPkgVersion } from './check-pkg-version-CNwUC4SV.js';
5
+ import { c as checkPkgVersion } from './check-pkg-version-D-rHqtUI.js';
6
6
  import './parts-CPKMvyV_.js';
7
7
  import './index-cDVGjRkU.js';
8
8
  import './dinero-HXpYMWUU.js';
9
- import './package-OGt0dCJl.js';
9
+ import './package-B6YPrwyC.js';
10
10
 
11
11
  const CardFormSkeleton = (props) => {
12
12
  const { isReady } = props;
@@ -1,4 +1,4 @@
1
- import { p as packageJson } from './package-OGt0dCJl.js';
1
+ import { p as packageJson } from './package-B6YPrwyC.js';
2
2
 
3
3
  const JUSTIFI_VERSION_KEY = '__JUSTIFI_WC_VERSION__';
4
4
  const detectDuplicateVersion = () => {
@@ -61,4 +61,4 @@ const countryValidation = {
61
61
  },
62
62
  };
63
63
 
64
- export { countryLabels as a, countryOptions as b, countryValidation as c };
64
+ export { ProvinceOptions as P, countryValidation as a, countryOptions as b, countryLabels as c };
@@ -7,15 +7,15 @@ import './event-types-CZfYo5-1.js';
7
7
  import { C as ComponentErrorSeverity, e as ComponentErrorCodes } from './Plaid-l6nNIjab.js';
8
8
  import { g as getErrorCode, a as getErrorMessage } from './utils-C1B2hVAB.js';
9
9
  import { D as DisputeManagementClickActions, a as DisputeService } from './event-types-DalU_6SB.js';
10
- import { c as checkPkgVersion } from './check-pkg-version-CNwUC4SV.js';
11
- import { J as JustifiAnalytics } from './Analytics-B1bQP71R.js';
10
+ import { c as checkPkgVersion } from './check-pkg-version-D-rHqtUI.js';
11
+ import { J as JustifiAnalytics } from './Analytics-Cg17Xhj_.js';
12
12
  import './dinero-HXpYMWUU.js';
13
13
  import './Api-DMd8hTI-.js';
14
14
  import './config-state-kKn89dp1.js';
15
15
  import './index-cDVGjRkU.js';
16
16
  import './Pagination-CLHwhyvu.js';
17
17
  import './Business-BcNb9bVO.js';
18
- import './package-OGt0dCJl.js';
18
+ import './package-B6YPrwyC.js';
19
19
 
20
20
  const makeUpdateDisputeResponse = ({ authToken, disputeId, service }) => async ({ payload, onSuccess, onError, final = () => { } }) => {
21
21
  var _a;
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h, H as Host, c as createEvent } from './index-CV0Pyo1O.js';
2
2
  import { C as CountryCode } from './Business-BcNb9bVO.js';
3
3
  import { n as numberOnlyHandler } from './utils-BnjCmwMr.js';
4
- import { b as countryOptions, a as countryLabels } from './country-config-B_fuF6JU.js';
4
+ import { b as countryOptions, c as countryLabels } from './country-config-CdvhLcnT.js';
5
5
  import { I as IMask } from './index-Ce_F4E0f.js';
6
6
  import { q as inputInvalid, u as inputDisabled, v as inputFocused, w as input, x as label } from './parts-CPKMvyV_.js';
7
7
  import { F as FormControlErrorText } from './form-control-error-text-Di9QePY5.js';
@@ -5,7 +5,7 @@ import { F as FormControlErrorText } from './form-control-error-text-Di9QePY5.js
5
5
  import './event-types-CZfYo5-1.js';
6
6
  import { I as IDENTITY_MASKS, P as PHONE_MASKS } from './form-input-masks-CVaOFfrI.js';
7
7
  import { u as updateFormValues, a as updateAddressFormValues, b as updateDateOfBirthFormValues } from './input-handlers-1lVyzImK.js';
8
- import { a as countryLabels } from './country-config-B_fuF6JU.js';
8
+ import { c as countryLabels } from './country-config-CdvhLcnT.js';
9
9
  import './Business-BcNb9bVO.js';
10
10
 
11
11
  const FormControlNumber = class {
@@ -3,7 +3,7 @@ import { c as createStore } from './index-cDVGjRkU.js';
3
3
  import { a3 as inputInvalidAndFocused, q as inputInvalid, v as inputFocused, w as input, x as label } from './parts-CPKMvyV_.js';
4
4
  import { g as getDefaultExportFromCjs } from './_commonjsHelpers-BFTU3MAI.js';
5
5
  import { F as FormControlErrorText } from './form-control-error-text-Di9QePY5.js';
6
- import { p as packageJson } from './package-OGt0dCJl.js';
6
+ import { p as packageJson } from './package-B6YPrwyC.js';
7
7
 
8
8
  const iframeInputStylesStore = createStore({
9
9
  focused: {
@@ -11941,4 +11941,4 @@ class ObjectSchema extends Schema {
11941
11941
  }
11942
11942
  create$3.prototype = ObjectSchema.prototype;
11943
11943
 
11944
- export { FormController as F, create$3 as a, create$8 as b, create$6 as c, create$7 as d };
11944
+ export { FormController as F, create$6 as a, create$8 as b, create$3 as c, create$7 as d };
@@ -11,8 +11,8 @@ import { w as waitForConfig, c as configState } from './config-state-kKn89dp1.js
11
11
  import { H as Header1 } from './header-1-evYxFIGN.js';
12
12
  import { H as Header2, b as insuranceValuesOn, h as hasInsuranceValueChanged, i as insuranceValues } from './insurance-state-CLGc1-_4.js';
13
13
  import { H as Header3 } from './header-3-BUDap2xY.js';
14
- import { J as JustifiAnalytics } from './Analytics-B1bQP71R.js';
15
- import { c as checkPkgVersion } from './check-pkg-version-CNwUC4SV.js';
14
+ import { J as JustifiAnalytics } from './Analytics-Cg17Xhj_.js';
15
+ import { c as checkPkgVersion } from './check-pkg-version-D-rHqtUI.js';
16
16
  import './dinero-HXpYMWUU.js';
17
17
  import './Pagination-CLHwhyvu.js';
18
18
  import './Business-BcNb9bVO.js';
@@ -22,7 +22,7 @@ import { P as PlaidService } from './plaid.service-BiJ65YG8.js';
22
22
  import { P as PAYMENT_METHODS, a as PaymentMethod, b as PAYMENT_MODE } from './index-DkoufM1t.js';
23
23
  import { C as CardBrandLabels } from './payment-method-option-utils-lUHAQVFl.js';
24
24
  import './index-cDVGjRkU.js';
25
- import './package-OGt0dCJl.js';
25
+ import './package-B6YPrwyC.js';
26
26
 
27
27
  const JustifiRadioListItem = class {
28
28
  constructor(hostRef) {
@@ -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,10 +1,10 @@
1
1
  import { r as registerInstance, h } from './index-CV0Pyo1O.js';
2
- import { c as checkPkgVersion } from './check-pkg-version-CNwUC4SV.js';
3
- import { J as JustifiAnalytics } from './Analytics-B1bQP71R.js';
2
+ import { c as checkPkgVersion } from './check-pkg-version-D-rHqtUI.js';
3
+ import { J as JustifiAnalytics } from './Analytics-Cg17Xhj_.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';
@@ -3,8 +3,8 @@ import { E as ErrorState } from './utils-CX6puxwf.js';
3
3
  import { B as BusinessService } from './business.service-C31wbMVs.js';
4
4
  import { m as makeGetBusiness } from './get-business-Gg6qn5on.js';
5
5
  import { C as ComponentErrorSeverity, e as ComponentErrorCodes } from './Plaid-l6nNIjab.js';
6
- import { J as JustifiAnalytics } from './Analytics-B1bQP71R.js';
7
- import { c as checkPkgVersion } from './check-pkg-version-CNwUC4SV.js';
6
+ import { J as JustifiAnalytics } from './Analytics-Cg17Xhj_.js';
7
+ import { c as checkPkgVersion } from './check-pkg-version-D-rHqtUI.js';
8
8
  import { S as StyledHost } from './styled-host-D6byRazK.js';
9
9
  import './event-types-CZfYo5-1.js';
10
10
  import { S as Skeleton } from './skeleton-BEHo2ypu.js';
@@ -17,7 +17,7 @@ import './dinero-HXpYMWUU.js';
17
17
  import './Pagination-CLHwhyvu.js';
18
18
  import './Business-BcNb9bVO.js';
19
19
  import './utils-C1B2hVAB.js';
20
- import './package-OGt0dCJl.js';
20
+ import './package-B6YPrwyC.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)))));