@saasquatch/mint-components 1.8.3-2 → 1.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/dist/cjs/{ShadowViewAddon-7b5c40eb.js → ShadowViewAddon-a9bac47c.js} +2 -2
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/mint-components.cjs.js +1 -1
  4. package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +1237 -36
  5. package/dist/cjs/sqm-big-stat_38.cjs.entry.js +1 -3
  6. package/dist/cjs/{sqm-invoice-table-view-035d5aed.js → sqm-invoice-table-view-2e93ac53.js} +368 -7
  7. package/dist/cjs/sqm-stencilbook.cjs.entry.js +3 -3
  8. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +0 -3
  9. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +0 -8
  10. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +16 -0
  11. package/dist/collection/components/tax-and-cash/phoneExtensions.js +970 -0
  12. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +1 -1
  13. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +33 -14
  14. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/data.js +10 -2
  15. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +234 -0
  16. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +1 -1
  17. package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.js +6 -6
  18. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +87 -12
  19. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +233 -1
  20. package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +52 -7
  21. package/dist/collection/components/tax-and-cash/subregions.js +338 -0
  22. package/dist/collection/components/tax-and-cash/utils.js +6 -1
  23. package/dist/collection/components/views/copy-text-view.js +2 -2
  24. package/dist/esm/{ShadowViewAddon-d9424229.js → ShadowViewAddon-352dc73a.js} +2 -2
  25. package/dist/esm/loader.js +1 -1
  26. package/dist/esm/mint-components.js +1 -1
  27. package/dist/esm/sqm-banking-info-form_16.entry.js +1237 -36
  28. package/dist/esm/sqm-big-stat_38.entry.js +1 -3
  29. package/dist/esm/{sqm-invoice-table-view-1115795f.js → sqm-invoice-table-view-e925c4db.js} +366 -7
  30. package/dist/esm/sqm-stencilbook.entry.js +3 -3
  31. package/dist/esm-es5/ShadowViewAddon-352dc73a.js +1 -0
  32. package/dist/esm-es5/loader.js +1 -1
  33. package/dist/esm-es5/mint-components.js +1 -1
  34. package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
  35. package/dist/esm-es5/sqm-big-stat_38.entry.js +1 -1
  36. package/dist/esm-es5/sqm-invoice-table-view-e925c4db.js +1 -0
  37. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  38. package/dist/mint-components/mint-components.esm.js +1 -1
  39. package/dist/mint-components/{p-f37b7296.entry.js → p-12c2757a.entry.js} +2 -2
  40. package/dist/mint-components/p-1ee63bff.entry.js +168 -0
  41. package/dist/mint-components/{p-89995fd0.js → p-26258333.js} +1 -1
  42. package/dist/mint-components/p-2ca2b028.system.js +1 -0
  43. package/dist/mint-components/p-4d45d92d.js +1 -0
  44. package/dist/mint-components/p-5d030951.system.entry.js +1 -0
  45. package/dist/mint-components/p-7eb6fab2.system.js +1 -1
  46. package/dist/mint-components/{p-2ee988c7.entry.js → p-8a174905.entry.js} +1 -1
  47. package/dist/mint-components/p-8e2274a8.system.js +1 -0
  48. package/dist/mint-components/{p-92b99bb2.system.entry.js → p-95a23c8f.system.entry.js} +1 -1
  49. package/dist/mint-components/{p-f4a6e490.system.entry.js → p-d3d04e96.system.entry.js} +1 -1
  50. package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +0 -3
  51. package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +0 -2
  52. package/dist/types/components/tax-and-cash/phoneExtensions.d.ts +970 -0
  53. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/data.d.ts +16 -2
  54. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +42 -0
  55. package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.d.ts +39 -6
  56. package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.d.ts +40 -0
  57. package/dist/types/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.d.ts +20 -0
  58. package/dist/types/components/tax-and-cash/subregions.d.ts +8 -0
  59. package/dist/types/components/tax-and-cash/utils.d.ts +2 -1
  60. package/dist/types/components.d.ts +158 -4
  61. package/docs/UserFormFastFollow--2024-04-26--14-31-04.xlsx +0 -0
  62. package/docs/docs.docx +0 -0
  63. package/docs/raisins.json +1 -1
  64. package/grapesjs/grapesjs.js +1 -1
  65. package/package.json +1 -1
  66. package/dist/esm-es5/ShadowViewAddon-d9424229.js +0 -1
  67. package/dist/esm-es5/sqm-invoice-table-view-1115795f.js +0 -1
  68. package/dist/mint-components/p-58d2e9cb.entry.js +0 -153
  69. package/dist/mint-components/p-5ff96052.system.entry.js +0 -1
  70. package/dist/mint-components/p-67b91751.system.js +0 -1
  71. package/dist/mint-components/p-79fc68b0.js +0 -1
  72. package/dist/mint-components/p-9755ab8f.system.js +0 -1
  73. package/docs/TaxAndCash--2024-03-14--14-20-26.xlsx +0 -0
@@ -19,7 +19,7 @@ const index$1 = require('./index-8c6255f5.js');
19
19
  const useRegistrationFormState = require('./useRegistrationFormState-1d403dd8.js');
20
20
  const utilities = require('./utilities-6d5addc7.js');
21
21
  const AsYouType = require('./AsYouType-6788393a.js');
22
- const ShadowViewAddon = require('./ShadowViewAddon-7b5c40eb.js');
22
+ const ShadowViewAddon = require('./ShadowViewAddon-a9bac47c.js');
23
23
  require('./sqm-portal-container-view-5fb2ad49.js');
24
24
 
25
25
  const BigStat = class {
@@ -1841,7 +1841,6 @@ const PortalFooter = class {
1841
1841
  this.ignored = true;
1842
1842
  /**
1843
1843
  * @uiName Hide support message
1844
- * @requiredFeatures ["pro"]
1845
1844
  */
1846
1845
  this.hideSupportText = false;
1847
1846
  /**
@@ -1855,7 +1854,6 @@ const PortalFooter = class {
1855
1854
  this.supportText = "For program support, contact {email}";
1856
1855
  /**
1857
1856
  * @uiName Hide powered by Impact.com
1858
- * @requiredFeatures ["pro"]
1859
1857
  */
1860
1858
  this.hidePoweredBy = false;
1861
1859
  /**
@@ -47,6 +47,344 @@ const INDIRECT_TAX_SPAIN_REGIONS = [
47
47
  displayName: "Canary Islands",
48
48
  },
49
49
  ];
50
+ const ADDRESS_REGIONS = {
51
+ CA: {
52
+ labelEnum: "PROVINCE",
53
+ regions: [
54
+ {
55
+ label: "Alberta",
56
+ value: "ALBERTA",
57
+ },
58
+ {
59
+ label: "British Columbia",
60
+ value: "BRITISHCOLUMBIA",
61
+ },
62
+ {
63
+ label: "Manitoba",
64
+ value: "MANITOBA",
65
+ },
66
+ {
67
+ label: "New Brunswick",
68
+ value: "NEWBRUNSWICK",
69
+ },
70
+ {
71
+ label: "Newfoundland & Labrador",
72
+ value: "NEWFOUNDLANDANDLABRADOR",
73
+ },
74
+ {
75
+ label: "Northwest Territories",
76
+ value: "NORTHWESTTERRITORIES",
77
+ },
78
+ {
79
+ label: "Nova Scotia",
80
+ value: "NOVASCOTIA",
81
+ },
82
+ {
83
+ label: "Nunavut",
84
+ value: "NUNAVUT",
85
+ },
86
+ {
87
+ label: "Ontario",
88
+ value: "ONTARIO",
89
+ },
90
+ {
91
+ label: "Prince Edward Island",
92
+ value: "PRINCEEDWARDISLAND",
93
+ },
94
+ {
95
+ label: "Quebec",
96
+ value: "QUEBEC",
97
+ },
98
+ {
99
+ label: "Saskatchewan",
100
+ value: "SASKATCHEWAN",
101
+ },
102
+ {
103
+ label: "Yukon",
104
+ value: "YUKON",
105
+ },
106
+ ],
107
+ },
108
+ ES: {
109
+ labelEnum: "REGION",
110
+ regions: [
111
+ {
112
+ label: "Canary Islands",
113
+ value: "CANARYISLANDS",
114
+ },
115
+ {
116
+ label: "Spain Proper",
117
+ value: "SPAINPROPER",
118
+ },
119
+ ],
120
+ },
121
+ AU: {
122
+ labelEnum: "STATE",
123
+ regions: [
124
+ {
125
+ label: "Australian Capital Territory",
126
+ value: "CAPITALTERRITORY",
127
+ },
128
+ {
129
+ label: "New South Wales",
130
+ value: "NEWSOUTHWALES",
131
+ },
132
+ {
133
+ label: "Northern Territory",
134
+ value: "NORTHERNTERRITORY",
135
+ },
136
+ {
137
+ label: "Queensland",
138
+ value: "QUEENSLAND",
139
+ },
140
+ {
141
+ label: "South Australia",
142
+ value: "SOUTHAUSTRALIA",
143
+ },
144
+ {
145
+ label: "Tasmania",
146
+ value: "TASMANIA",
147
+ },
148
+ {
149
+ label: "Victoria",
150
+ value: "VICTORIA",
151
+ },
152
+ {
153
+ label: "Western Australia",
154
+ value: "WESTERNAUSTRALIA",
155
+ },
156
+ ],
157
+ },
158
+ US: {
159
+ labelEnum: "STATE",
160
+ regions: [
161
+ {
162
+ label: "Alabama",
163
+ value: "ALABAMA",
164
+ },
165
+ {
166
+ label: "Alaska",
167
+ value: "ALASKA",
168
+ },
169
+ {
170
+ label: "Arizona",
171
+ value: "ARIZONA",
172
+ },
173
+ {
174
+ label: "Arkansas",
175
+ value: "ARKANSAS",
176
+ },
177
+ {
178
+ label: "California",
179
+ value: "CALIFORNIA",
180
+ },
181
+ {
182
+ label: "Colorado",
183
+ value: "COLORADO",
184
+ },
185
+ {
186
+ label: "Connecticut",
187
+ value: "CONNECTICUT",
188
+ },
189
+ {
190
+ label: "Delaware",
191
+ value: "DELAWARE",
192
+ },
193
+ {
194
+ label: "District of Columbia",
195
+ value: "DISTRICTOFCOLUMBIA",
196
+ },
197
+ {
198
+ label: "Florida",
199
+ value: "FLORIDA",
200
+ },
201
+ {
202
+ label: "Georgia",
203
+ value: "GEORGIA",
204
+ },
205
+ {
206
+ label: "Hawaii",
207
+ value: "HAWAII",
208
+ },
209
+ {
210
+ label: "Idaho",
211
+ value: "IDAHO",
212
+ },
213
+ {
214
+ label: "Illinois",
215
+ value: "ILLINOIS",
216
+ },
217
+ {
218
+ label: "Indiana",
219
+ value: "INDIANA",
220
+ },
221
+ {
222
+ label: "Iowa",
223
+ value: "IOWA",
224
+ },
225
+ {
226
+ label: "Kansas",
227
+ value: "KANSAS",
228
+ },
229
+ {
230
+ label: "Kentucky",
231
+ value: "KENTUCKY",
232
+ },
233
+ {
234
+ label: "Louisiana",
235
+ value: "LOUISIANA",
236
+ },
237
+ {
238
+ label: "Maine",
239
+ value: "MAINE",
240
+ },
241
+ {
242
+ label: "Maryland",
243
+ value: "MARYLAND",
244
+ },
245
+ {
246
+ label: "Massachusetts",
247
+ value: "MASSACHUSETTS",
248
+ },
249
+ {
250
+ label: "Michigan",
251
+ value: "MICHIGAN",
252
+ },
253
+ {
254
+ label: "Minnesota",
255
+ value: "MINNESOTA",
256
+ },
257
+ {
258
+ label: "Mississippi",
259
+ value: "MISSISSIPPI",
260
+ },
261
+ {
262
+ label: "Missouri",
263
+ value: "MISSOURI",
264
+ },
265
+ {
266
+ label: "Montana",
267
+ value: "MONTANA",
268
+ },
269
+ {
270
+ label: "Nebraska",
271
+ value: "NEBRASKA",
272
+ },
273
+ {
274
+ label: "Nevada",
275
+ value: "NEVADA",
276
+ },
277
+ {
278
+ label: "New Hampshire",
279
+ value: "NEWHAMPSHIRE",
280
+ },
281
+ {
282
+ label: "New Jersey",
283
+ value: "NEWJERSEY",
284
+ },
285
+ {
286
+ label: "New Mexico",
287
+ value: "NEWMEXICO",
288
+ },
289
+ {
290
+ label: "New York",
291
+ value: "NEWYORK",
292
+ },
293
+ {
294
+ label: "North Carolina",
295
+ value: "NORTHCAROLINA",
296
+ },
297
+ {
298
+ label: "North Dakota",
299
+ value: "NORTHDAKOTA",
300
+ },
301
+ {
302
+ label: "Ohio",
303
+ value: "OHIO",
304
+ },
305
+ {
306
+ label: "Oklahoma",
307
+ value: "OKLAHOMA",
308
+ },
309
+ {
310
+ label: "Oregon",
311
+ value: "OREGON",
312
+ },
313
+ {
314
+ label: "Pennsylvania",
315
+ value: "PENNSYLVANIA",
316
+ },
317
+ {
318
+ label: "Rhode Island",
319
+ value: "RHODEISLAND",
320
+ },
321
+ {
322
+ label: "South Carolina",
323
+ value: "SOUTHCAROLINA",
324
+ },
325
+ {
326
+ label: "South Dakota",
327
+ value: "SOUTHDAKOTA",
328
+ },
329
+ {
330
+ label: "Tennessee",
331
+ value: "TENNESSEE",
332
+ },
333
+ {
334
+ label: "Texas",
335
+ value: "TEXAS",
336
+ },
337
+ {
338
+ label: "Utah",
339
+ value: "UTAH",
340
+ },
341
+ {
342
+ label: "Vermont",
343
+ value: "VERMONT",
344
+ },
345
+ {
346
+ label: "Virgin Islands",
347
+ value: "VIRGINISLANDS",
348
+ },
349
+ {
350
+ label: "Virginia",
351
+ value: "VIRGINIA",
352
+ },
353
+ {
354
+ label: "Washington",
355
+ value: "WASHINGTON",
356
+ },
357
+ {
358
+ label: "West Virginia",
359
+ value: "WESTVIRGINIA",
360
+ },
361
+ {
362
+ label: "Wisconsin",
363
+ value: "WISCONSIN",
364
+ },
365
+ {
366
+ label: "Wyoming",
367
+ value: "WYOMING",
368
+ },
369
+ {
370
+ label: "Americas Forces",
371
+ value: "AAMILITARY",
372
+ },
373
+ {
374
+ label: "Europe, Middle East, Canada, Africa and Canada Forces",
375
+ value: "AEMILITARY",
376
+ },
377
+ {
378
+ label: "Pacific Forces",
379
+ value: "APMILITARY",
380
+ },
381
+ {
382
+ label: "Other",
383
+ value: "OTHER",
384
+ },
385
+ ],
386
+ },
387
+ };
50
388
 
51
389
  const style = {
52
390
  Container: {
@@ -119,7 +457,12 @@ const taxTypeToName = (taxType) => {
119
457
  return "";
120
458
  }
121
459
  };
122
- const getIsRequiredErrorMessage = (fieldName, errorMessage) => {
460
+ function validateBillingField(regex, value) {
461
+ const trimmed = value.trim();
462
+ const idx = trimmed.search(regex);
463
+ return idx > -1;
464
+ }
465
+ const formatErrorMessage = (fieldName, errorMessage) => {
123
466
  return global.intl.formatMessage({
124
467
  id: fieldName,
125
468
  defaultMessage: errorMessage,
@@ -174,6 +517,7 @@ const stepOneProps = {
174
517
  states: {
175
518
  step: "1",
176
519
  hideSteps: false,
520
+ hideState: false,
177
521
  loading: false,
178
522
  disabled: false,
179
523
  isPartner: false,
@@ -183,12 +527,26 @@ const stepOneProps = {
183
527
  firstName: "Bob",
184
528
  lastName: "Testerson",
185
529
  email: "bobtesterson@example.com",
530
+ phoneNumberCountryCode: "US",
531
+ phoneNumber: "555 555 5555",
186
532
  countryCode: "US",
187
533
  currency: "CAD",
534
+ address: "2/1337 Johnson Street",
535
+ city: "Vancouver",
536
+ state: "BC",
537
+ postalCode: "555 555",
188
538
  errors: {},
189
539
  },
190
540
  },
191
541
  data: {
542
+ regionLabelEnum: "STATE",
543
+ regions: [],
544
+ phoneCountries: [
545
+ {
546
+ countryCode: "CA",
547
+ displayName: "Canada",
548
+ },
549
+ ],
192
550
  countries: [
193
551
  {
194
552
  countryCode: "CA",
@@ -269,6 +627,7 @@ const stepOneProps = {
269
627
  refs: {
270
628
  formRef: { current: null },
271
629
  currencyRef: { current: null },
630
+ phoneCountryRef: { current: null },
272
631
  },
273
632
  };
274
633
  const stepTwoProps = {
@@ -1404,13 +1763,13 @@ const OtherRegionSlotView = (props) => {
1404
1763
  return (index.h("div", { class: classes.ConditionalInputsContainer },
1405
1764
  index.h("sl-select", Object.assign({ required: true, exportparts: "label: input-label", class: classes.Input, value: formState.subRegion, label: text.subRegion, disabled: states.loading || states.disabled }, (((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.indirectTaxNumber) && {
1406
1765
  class: classes.ErrorInput,
1407
- helpText: getIsRequiredErrorMessage(text.subRegion, text.error.fieldRequiredError),
1766
+ helpText: formatErrorMessage(text.subRegion, text.error.fieldRequiredError),
1408
1767
  }), { id: "subRegion", name: "/subRegion" }), props.data.esRegions.map((r) => (index.h("sl-menu-item", { value: r.regionCode }, r.displayName)))),
1409
1768
  index.h(IndirectTaxNumberInput, { name: "indirectTaxNumber", label: getTaxFieldLabel("VAT"), error: getTaxFieldError("VAT") }),
1410
1769
  index.h("sl-checkbox", { class: classes.Checkbox, exportparts: "label: input-label", checked: formState.hasSubRegionTaxNumber, "onSl-change": callbacks.onSpainToggle, disabled: states.disabled || states.isPartner }, text.isRegisteredSubRegionIncomeTax),
1411
1770
  formState.hasSubRegionTaxNumber && (index.h("sl-input", Object.assign({ required: true, exportparts: "label: input-label", class: classes.Input, label: text.subRegionTaxNumberLabel, disabled: states.loading || states.disabled, value: formState.subRegionTaxNumber }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.subRegionTaxNumber) && {
1412
1771
  class: classes.ErrorInput,
1413
- helpText: getIsRequiredErrorMessage(text.subRegionTaxNumberLabel, text.error.fieldRequiredError),
1772
+ helpText: formatErrorMessage(text.subRegionTaxNumberLabel, text.error.fieldRequiredError),
1414
1773
  }), { id: "subRegionTaxNumber", name: "/subRegionTaxNumber" })))));
1415
1774
  };
1416
1775
  const CanadaFields = () => {
@@ -1420,13 +1779,13 @@ const OtherRegionSlotView = (props) => {
1420
1779
  return (index.h("div", { class: classes.ConditionalInputsContainer },
1421
1780
  index.h("sl-select", Object.assign({ required: true, value: formState.province, exportparts: "label: input-label", class: classes.Input, label: text.province, disabled: states.loading || states.disabled, "onSl-select": (e) => callbacks.onFormChange("province", e) }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.province) && {
1422
1781
  class: classes.ErrorInput,
1423
- helpText: getIsRequiredErrorMessage(text.province, text.error.fieldRequiredError),
1782
+ helpText: formatErrorMessage(text.province, text.error.fieldRequiredError),
1424
1783
  }), { id: "province", name: "/province" }), props.data.provinces.map((p) => (index.h("sl-menu-item", { value: p.regionCode }, p.displayName)))),
1425
1784
  currentTaxType === "GST" && (index.h(IndirectTaxNumberInput, { label: getTaxFieldLabel("GST"), error: getTaxFieldError("GST"), name: "indirectTaxNumber" })),
1426
1785
  currentTaxType === "HST" && (index.h(IndirectTaxNumberInput, { label: getTaxFieldLabel("HST"), error: getTaxFieldError("HST"), name: "indirectTaxNumber" })),
1427
1786
  formState.province === "QUEBEC" && (index.h("div", { class: classes.ConditionalInputsContainer },
1428
1787
  index.h("sl-checkbox", { class: classes.Checkbox, exportparts: "label: input-label", "onSl-change": callbacks.onQstToggle, checked: formState.hasQst, disabled: states.isPartner || states.disabled }, text.isRegisteredQST),
1429
- formState.hasQst && (index.h(IndirectTaxNumberInput, { name: "qstNumber", label: text.qstNumber, error: getIsRequiredErrorMessage(text.qstNumber, text.error.fieldRequiredError) }))))));
1788
+ formState.hasQst && (index.h(IndirectTaxNumberInput, { name: "qstNumber", label: text.qstNumber, error: formatErrorMessage(text.qstNumber, text.error.fieldRequiredError) }))))));
1430
1789
  };
1431
1790
  const getActiveForm = (selectedRegion) => {
1432
1791
  var _a;
@@ -1452,7 +1811,7 @@ const OtherRegionSlotView = (props) => {
1452
1811
  index.h("div", { class: classes.InputContainer },
1453
1812
  index.h("sl-select", Object.assign({ required: true, class: classes.Input, value: formState.selectedRegion, exportparts: "label: input-label", label: text.selectedRegion, disabled: states.loading || states.disabled, "onSl-select": (e) => callbacks.onFormChange("selectedRegion", e) }, (((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.selectedRegion) && {
1454
1813
  class: classes.ErrorInput,
1455
- helpText: getIsRequiredErrorMessage(text.selectedRegion, text.error.fieldRequiredError),
1814
+ helpText: formatErrorMessage(text.selectedRegion, text.error.fieldRequiredError),
1456
1815
  }), { id: "selectedRegion", name: "/selectedRegion" }),
1457
1816
  index.h("sl-input", { class: classes.SearchInput, placeholder: text.searchForCountryText, onKeyDown: (e) => {
1458
1817
  // Stop shoelace intercepting key presses
@@ -1520,6 +1879,7 @@ function InvoiceTableView(props, children) {
1520
1879
  children))));
1521
1880
  }
1522
1881
 
1882
+ exports.ADDRESS_REGIONS = ADDRESS_REGIONS;
1523
1883
  exports.ErrorView = ErrorView;
1524
1884
  exports.GeneralLoadingView = GeneralLoadingView;
1525
1885
  exports.INDIRECT_TAX_PROVINCES = INDIRECT_TAX_PROVINCES;
@@ -1528,9 +1888,10 @@ exports.InvoiceTableView = InvoiceTableView;
1528
1888
  exports.LoadingView = LoadingView;
1529
1889
  exports.OtherRegionSlotView = OtherRegionSlotView;
1530
1890
  exports.TaxForm = TaxForm;
1891
+ exports.formatErrorMessage = formatErrorMessage;
1531
1892
  exports.getCountryObj = getCountryObj;
1532
- exports.getIsRequiredErrorMessage = getIsRequiredErrorMessage;
1533
1893
  exports.objectIsFull = objectIsFull;
1534
1894
  exports.taxTypeToName = taxTypeToName;
1535
1895
  exports.validTaxDocument = validTaxDocument;
1896
+ exports.validateBillingField = validateBillingField;
1536
1897
  exports.vatLabels = vatLabels;