@saasquatch/mint-components 2.3.0-7 → 2.3.0-8
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.
- package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +25 -25
- package/dist/cjs/sqm-big-stat_47.cjs.entry.js +2 -2
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-user-info-form-view-42323dc5.js → sqm-user-info-form-view-374a3f01.js} +20 -980
- package/dist/cjs/subregions-984e30d7.js +1505 -0
- package/dist/cjs/{useIndirectTaxForm-d1cd23f7.js → useIndirectTaxForm-112914a0.js} +1 -1
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +18 -7
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +22 -19
- package/dist/collection/components/tax-and-cash/utils.js +55 -0
- package/dist/esm/sqm-banking-info-form_10.entry.js +25 -25
- package/dist/esm/sqm-big-stat_47.entry.js +2 -2
- package/dist/esm/sqm-stencilbook.entry.js +2 -2
- package/dist/esm/{sqm-user-info-form-view-dc473cb8.js → sqm-user-info-form-view-5322525c.js} +18 -978
- package/dist/esm/subregions-7c9778d0.js +1492 -0
- package/dist/esm/{useIndirectTaxForm-27668ad4.js → useIndirectTaxForm-a6ac7e7e.js} +1 -1
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-user-info-form-view-5322525c.js +1 -0
- package/dist/esm-es5/subregions-7c9778d0.js +1 -0
- package/dist/esm-es5/{useIndirectTaxForm-27668ad4.js → useIndirectTaxForm-a6ac7e7e.js} +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/p-1f387c7b.system.js +1 -1
- package/dist/mint-components/{p-2e462dd9.js → p-2d4132fb.js} +5 -5
- package/dist/mint-components/p-5623f1e0.js +1 -0
- package/dist/mint-components/{p-3c052d3d.entry.js → p-5bc707cf.entry.js} +1 -1
- package/dist/mint-components/{p-c2903e7d.entry.js → p-6eebbc59.entry.js} +2 -2
- package/dist/mint-components/{p-ed945efe.system.js → p-6ef373ed.system.js} +1 -1
- package/dist/mint-components/{p-df74f653.system.entry.js → p-7a4cf6c9.system.entry.js} +1 -1
- package/dist/mint-components/p-7f29622d.js +1 -0
- package/dist/mint-components/{p-4575f71b.system.entry.js → p-8a08cec6.system.entry.js} +1 -1
- package/dist/mint-components/{p-547f8243.system.entry.js → p-90200f08.system.entry.js} +1 -1
- package/dist/mint-components/{p-d30c8cb3.entry.js → p-91295327.entry.js} +1 -1
- package/dist/mint-components/p-bd03efe0.system.js +1 -0
- package/dist/mint-components/p-c13c20b2.system.js +1 -0
- package/dist/types/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.d.ts +1 -0
- package/dist/types/components/tax-and-cash/utils.d.ts +5 -0
- package/docs/docs.docx +0 -0
- package/package.json +1 -1
- package/dist/cjs/subregions-e7273457.js +0 -478
- package/dist/esm/subregions-24c1c137.js +0 -467
- package/dist/esm-es5/sqm-user-info-form-view-dc473cb8.js +0 -1
- package/dist/esm-es5/subregions-24c1c137.js +0 -1
- package/dist/mint-components/p-3f68e4e3.js +0 -1
- package/dist/mint-components/p-66cb8bec.system.js +0 -1
- package/dist/mint-components/p-cb58a2c6.js +0 -1
- package/dist/mint-components/p-ec58628f.system.js +0 -1
|
@@ -1,478 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const index = require('./index-8277cbb3.js');
|
|
4
|
-
const global = require('./global-b7b1b8fe.js');
|
|
5
|
-
const JSS = require('./JSS-8503a151.js');
|
|
6
|
-
|
|
7
|
-
function validTaxDocument(requiredType) {
|
|
8
|
-
const validTypes = ["W9", "W8BENE", "W8BEN"];
|
|
9
|
-
if (validTypes.includes(requiredType))
|
|
10
|
-
return true;
|
|
11
|
-
return false;
|
|
12
|
-
}
|
|
13
|
-
const objectIsFull = (obj) => {
|
|
14
|
-
return !Object.keys(obj).find((k) => obj[k] == undefined);
|
|
15
|
-
};
|
|
16
|
-
const taxTypeToName = (taxType) => {
|
|
17
|
-
switch (taxType) {
|
|
18
|
-
case "W9":
|
|
19
|
-
return "W-9";
|
|
20
|
-
case "W8BEN":
|
|
21
|
-
case "W8BENE":
|
|
22
|
-
return "W-8";
|
|
23
|
-
default:
|
|
24
|
-
return "";
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
function validateBillingField(regex, value) {
|
|
28
|
-
const trimmed = value.trim();
|
|
29
|
-
const idx = trimmed.search(regex);
|
|
30
|
-
return idx > -1;
|
|
31
|
-
}
|
|
32
|
-
const formatErrorMessage = (fieldName, errorMessage) => {
|
|
33
|
-
return global.intl.formatMessage({
|
|
34
|
-
id: fieldName,
|
|
35
|
-
defaultMessage: errorMessage,
|
|
36
|
-
}, {
|
|
37
|
-
fieldName,
|
|
38
|
-
});
|
|
39
|
-
};
|
|
40
|
-
function getCountryObj({ countryCode, locale, }) {
|
|
41
|
-
// @ts-ignore DisplayNames not in Intl type
|
|
42
|
-
const displayName = new Intl.DisplayNames([locale], {
|
|
43
|
-
type: "region",
|
|
44
|
-
}).of(countryCode);
|
|
45
|
-
return {
|
|
46
|
-
countryCode,
|
|
47
|
-
displayName,
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
const style = {
|
|
52
|
-
Container: {
|
|
53
|
-
display: "flex",
|
|
54
|
-
flexDirection: "column",
|
|
55
|
-
gap: "35px",
|
|
56
|
-
},
|
|
57
|
-
HeaderContainer: {
|
|
58
|
-
display: "flex",
|
|
59
|
-
flexDirection: "column",
|
|
60
|
-
gap: "10px",
|
|
61
|
-
},
|
|
62
|
-
};
|
|
63
|
-
const sheet = JSS.createStyleSheet(style);
|
|
64
|
-
const styleString = sheet.toString();
|
|
65
|
-
const LoadingView = () => {
|
|
66
|
-
return (index.h("div", { class: sheet.classes.Container },
|
|
67
|
-
index.h("style", { type: "text/css" }, styleString),
|
|
68
|
-
index.h("sqm-skeleton", { width: "45%", height: "40px !important" }),
|
|
69
|
-
index.h("div", { class: sheet.classes.HeaderContainer },
|
|
70
|
-
index.h("sqm-skeleton", { width: "15%" }),
|
|
71
|
-
index.h("sqm-skeleton", { width: "25%", height: "30px !important" })),
|
|
72
|
-
index.h("sqm-skeleton", { width: "75%", height: "35px" }),
|
|
73
|
-
index.h("sqm-skeleton", { width: "75%", height: "35px" }),
|
|
74
|
-
index.h("sqm-skeleton", { width: "75%", height: "35px" }),
|
|
75
|
-
index.h("sqm-skeleton", { width: "75%", height: "35px" }),
|
|
76
|
-
index.h("sqm-skeleton", { width: "75%", height: "35px" }),
|
|
77
|
-
index.h("sqm-skeleton", { width: "75%", height: "35px" }),
|
|
78
|
-
index.h("sqm-skeleton", { width: "75%", height: "35px" }),
|
|
79
|
-
index.h("sqm-skeleton", { width: "75%", height: "35px" }),
|
|
80
|
-
index.h("sqm-skeleton", { width: "75%", height: "35px" }),
|
|
81
|
-
index.h("sqm-skeleton", { width: "75%", height: "35px" }),
|
|
82
|
-
index.h("sqm-skeleton", { width: "75%", height: "35px" }),
|
|
83
|
-
index.h("sqm-skeleton", { width: "15%" }),
|
|
84
|
-
index.h("sqm-skeleton", { width: "80px", height: "30px !important" })));
|
|
85
|
-
};
|
|
86
|
-
|
|
87
|
-
const INDIRECT_TAX_PROVINCES = [
|
|
88
|
-
{ regionCode: "ALBERTA", taxType: "GST", displayName: "Alberta" },
|
|
89
|
-
{
|
|
90
|
-
regionCode: "BRITISHCOLUMBIA",
|
|
91
|
-
taxType: "HST",
|
|
92
|
-
displayName: "British Columbia",
|
|
93
|
-
},
|
|
94
|
-
{ regionCode: "MANITOBA", taxType: "HST", displayName: "Manitoba" },
|
|
95
|
-
{
|
|
96
|
-
regionCode: "NEWBRUNSWICK",
|
|
97
|
-
taxType: "HST",
|
|
98
|
-
displayName: "New Brunswick",
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
regionCode: "NEWFOUNDLANDLABRADOR",
|
|
102
|
-
taxType: "HST",
|
|
103
|
-
displayName: "Newfoundland",
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
regionCode: "NORTHWESTTERRITORIES",
|
|
107
|
-
taxType: "GST",
|
|
108
|
-
displayName: "North West Territories",
|
|
109
|
-
},
|
|
110
|
-
{ regionCode: "NOVASCOTIA", taxType: "HST", displayName: "Nova Scotia" },
|
|
111
|
-
{ regionCode: "NUNAVUT", taxType: "HST", displayName: "Nunavut" },
|
|
112
|
-
{ regionCode: "ONTARIO", taxType: "HST", displayName: "Ontario" },
|
|
113
|
-
{
|
|
114
|
-
regionCode: "PRINCEEDWARDISLAND",
|
|
115
|
-
taxType: "HST",
|
|
116
|
-
displayName: "Prince Edward Island",
|
|
117
|
-
},
|
|
118
|
-
{ regionCode: "QUEBEC", taxType: "GST", displayName: "Quebec" },
|
|
119
|
-
{ regionCode: "SASKATCHEWAN", taxType: "HST", displayName: "Saskatchewan" },
|
|
120
|
-
{ regionCode: "YUKON", taxType: "GST", displayName: "Yukon" },
|
|
121
|
-
];
|
|
122
|
-
const INDIRECT_TAX_SPAIN_REGIONS = [
|
|
123
|
-
{ regionCode: "SPAINPROPER", taxType: "VAT", displayName: "Spain Proper" },
|
|
124
|
-
{
|
|
125
|
-
regionCode: "CANARYISLANDS",
|
|
126
|
-
taxType: "VAT",
|
|
127
|
-
displayName: "Canary Islands",
|
|
128
|
-
},
|
|
129
|
-
];
|
|
130
|
-
const ADDRESS_REGIONS = {
|
|
131
|
-
CA: {
|
|
132
|
-
labelEnum: "PROVINCE",
|
|
133
|
-
regions: [
|
|
134
|
-
{
|
|
135
|
-
label: "Alberta",
|
|
136
|
-
value: "ALBERTA",
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
label: "British Columbia",
|
|
140
|
-
value: "BRITISHCOLUMBIA",
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
label: "Manitoba",
|
|
144
|
-
value: "MANITOBA",
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
label: "New Brunswick",
|
|
148
|
-
value: "NEWBRUNSWICK",
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
label: "Newfoundland & Labrador",
|
|
152
|
-
value: "NEWFOUNDLANDANDLABRADOR",
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
label: "Northwest Territories",
|
|
156
|
-
value: "NORTHWESTTERRITORIES",
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
label: "Nova Scotia",
|
|
160
|
-
value: "NOVASCOTIA",
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
label: "Nunavut",
|
|
164
|
-
value: "NUNAVUT",
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
label: "Ontario",
|
|
168
|
-
value: "ONTARIO",
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
label: "Prince Edward Island",
|
|
172
|
-
value: "PRINCEEDWARDISLAND",
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
label: "Quebec",
|
|
176
|
-
value: "QUEBEC",
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
label: "Saskatchewan",
|
|
180
|
-
value: "SASKATCHEWAN",
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
label: "Yukon",
|
|
184
|
-
value: "YUKON",
|
|
185
|
-
},
|
|
186
|
-
],
|
|
187
|
-
},
|
|
188
|
-
ES: {
|
|
189
|
-
labelEnum: "REGION",
|
|
190
|
-
regions: [
|
|
191
|
-
{
|
|
192
|
-
label: "Canary Islands",
|
|
193
|
-
value: "CANARYISLANDS",
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
label: "Spain Proper",
|
|
197
|
-
value: "SPAINPROPER",
|
|
198
|
-
},
|
|
199
|
-
],
|
|
200
|
-
},
|
|
201
|
-
AU: {
|
|
202
|
-
labelEnum: "STATE",
|
|
203
|
-
regions: [
|
|
204
|
-
{
|
|
205
|
-
label: "Australian Capital Territory",
|
|
206
|
-
value: "CAPITALTERRITORY",
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
label: "New South Wales",
|
|
210
|
-
value: "NEWSOUTHWALES",
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
label: "Northern Territory",
|
|
214
|
-
value: "NORTHERNTERRITORY",
|
|
215
|
-
},
|
|
216
|
-
{
|
|
217
|
-
label: "Queensland",
|
|
218
|
-
value: "QUEENSLAND",
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
label: "South Australia",
|
|
222
|
-
value: "SOUTHAUSTRALIA",
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
label: "Tasmania",
|
|
226
|
-
value: "TASMANIA",
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
label: "Victoria",
|
|
230
|
-
value: "VICTORIA",
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
label: "Western Australia",
|
|
234
|
-
value: "WESTERNAUSTRALIA",
|
|
235
|
-
},
|
|
236
|
-
],
|
|
237
|
-
},
|
|
238
|
-
US: {
|
|
239
|
-
labelEnum: "STATE",
|
|
240
|
-
regions: [
|
|
241
|
-
{
|
|
242
|
-
label: "Alabama",
|
|
243
|
-
value: "ALABAMA",
|
|
244
|
-
},
|
|
245
|
-
{
|
|
246
|
-
label: "Alaska",
|
|
247
|
-
value: "ALASKA",
|
|
248
|
-
},
|
|
249
|
-
{
|
|
250
|
-
label: "Arizona",
|
|
251
|
-
value: "ARIZONA",
|
|
252
|
-
},
|
|
253
|
-
{
|
|
254
|
-
label: "Arkansas",
|
|
255
|
-
value: "ARKANSAS",
|
|
256
|
-
},
|
|
257
|
-
{
|
|
258
|
-
label: "California",
|
|
259
|
-
value: "CALIFORNIA",
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
label: "Colorado",
|
|
263
|
-
value: "COLORADO",
|
|
264
|
-
},
|
|
265
|
-
{
|
|
266
|
-
label: "Connecticut",
|
|
267
|
-
value: "CONNECTICUT",
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
label: "Delaware",
|
|
271
|
-
value: "DELAWARE",
|
|
272
|
-
},
|
|
273
|
-
{
|
|
274
|
-
label: "District of Columbia",
|
|
275
|
-
value: "DISTRICTOFCOLUMBIA",
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
label: "Florida",
|
|
279
|
-
value: "FLORIDA",
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
label: "Georgia",
|
|
283
|
-
value: "GEORGIA",
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
label: "Hawaii",
|
|
287
|
-
value: "HAWAII",
|
|
288
|
-
},
|
|
289
|
-
{
|
|
290
|
-
label: "Idaho",
|
|
291
|
-
value: "IDAHO",
|
|
292
|
-
},
|
|
293
|
-
{
|
|
294
|
-
label: "Illinois",
|
|
295
|
-
value: "ILLINOIS",
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
label: "Indiana",
|
|
299
|
-
value: "INDIANA",
|
|
300
|
-
},
|
|
301
|
-
{
|
|
302
|
-
label: "Iowa",
|
|
303
|
-
value: "IOWA",
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
label: "Kansas",
|
|
307
|
-
value: "KANSAS",
|
|
308
|
-
},
|
|
309
|
-
{
|
|
310
|
-
label: "Kentucky",
|
|
311
|
-
value: "KENTUCKY",
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
label: "Louisiana",
|
|
315
|
-
value: "LOUISIANA",
|
|
316
|
-
},
|
|
317
|
-
{
|
|
318
|
-
label: "Maine",
|
|
319
|
-
value: "MAINE",
|
|
320
|
-
},
|
|
321
|
-
{
|
|
322
|
-
label: "Maryland",
|
|
323
|
-
value: "MARYLAND",
|
|
324
|
-
},
|
|
325
|
-
{
|
|
326
|
-
label: "Massachusetts",
|
|
327
|
-
value: "MASSACHUSETTS",
|
|
328
|
-
},
|
|
329
|
-
{
|
|
330
|
-
label: "Michigan",
|
|
331
|
-
value: "MICHIGAN",
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
label: "Minnesota",
|
|
335
|
-
value: "MINNESOTA",
|
|
336
|
-
},
|
|
337
|
-
{
|
|
338
|
-
label: "Mississippi",
|
|
339
|
-
value: "MISSISSIPPI",
|
|
340
|
-
},
|
|
341
|
-
{
|
|
342
|
-
label: "Missouri",
|
|
343
|
-
value: "MISSOURI",
|
|
344
|
-
},
|
|
345
|
-
{
|
|
346
|
-
label: "Montana",
|
|
347
|
-
value: "MONTANA",
|
|
348
|
-
},
|
|
349
|
-
{
|
|
350
|
-
label: "Nebraska",
|
|
351
|
-
value: "NEBRASKA",
|
|
352
|
-
},
|
|
353
|
-
{
|
|
354
|
-
label: "Nevada",
|
|
355
|
-
value: "NEVADA",
|
|
356
|
-
},
|
|
357
|
-
{
|
|
358
|
-
label: "New Hampshire",
|
|
359
|
-
value: "NEWHAMPSHIRE",
|
|
360
|
-
},
|
|
361
|
-
{
|
|
362
|
-
label: "New Jersey",
|
|
363
|
-
value: "NEWJERSEY",
|
|
364
|
-
},
|
|
365
|
-
{
|
|
366
|
-
label: "New Mexico",
|
|
367
|
-
value: "NEWMEXICO",
|
|
368
|
-
},
|
|
369
|
-
{
|
|
370
|
-
label: "New York",
|
|
371
|
-
value: "NEWYORK",
|
|
372
|
-
},
|
|
373
|
-
{
|
|
374
|
-
label: "North Carolina",
|
|
375
|
-
value: "NORTHCAROLINA",
|
|
376
|
-
},
|
|
377
|
-
{
|
|
378
|
-
label: "North Dakota",
|
|
379
|
-
value: "NORTHDAKOTA",
|
|
380
|
-
},
|
|
381
|
-
{
|
|
382
|
-
label: "Ohio",
|
|
383
|
-
value: "OHIO",
|
|
384
|
-
},
|
|
385
|
-
{
|
|
386
|
-
label: "Oklahoma",
|
|
387
|
-
value: "OKLAHOMA",
|
|
388
|
-
},
|
|
389
|
-
{
|
|
390
|
-
label: "Oregon",
|
|
391
|
-
value: "OREGON",
|
|
392
|
-
},
|
|
393
|
-
{
|
|
394
|
-
label: "Pennsylvania",
|
|
395
|
-
value: "PENNSYLVANIA",
|
|
396
|
-
},
|
|
397
|
-
{
|
|
398
|
-
label: "Rhode Island",
|
|
399
|
-
value: "RHODEISLAND",
|
|
400
|
-
},
|
|
401
|
-
{
|
|
402
|
-
label: "South Carolina",
|
|
403
|
-
value: "SOUTHCAROLINA",
|
|
404
|
-
},
|
|
405
|
-
{
|
|
406
|
-
label: "South Dakota",
|
|
407
|
-
value: "SOUTHDAKOTA",
|
|
408
|
-
},
|
|
409
|
-
{
|
|
410
|
-
label: "Tennessee",
|
|
411
|
-
value: "TENNESSEE",
|
|
412
|
-
},
|
|
413
|
-
{
|
|
414
|
-
label: "Texas",
|
|
415
|
-
value: "TEXAS",
|
|
416
|
-
},
|
|
417
|
-
{
|
|
418
|
-
label: "Utah",
|
|
419
|
-
value: "UTAH",
|
|
420
|
-
},
|
|
421
|
-
{
|
|
422
|
-
label: "Vermont",
|
|
423
|
-
value: "VERMONT",
|
|
424
|
-
},
|
|
425
|
-
{
|
|
426
|
-
label: "Virgin Islands",
|
|
427
|
-
value: "VIRGINISLANDS",
|
|
428
|
-
},
|
|
429
|
-
{
|
|
430
|
-
label: "Virginia",
|
|
431
|
-
value: "VIRGINIA",
|
|
432
|
-
},
|
|
433
|
-
{
|
|
434
|
-
label: "Washington",
|
|
435
|
-
value: "WASHINGTON",
|
|
436
|
-
},
|
|
437
|
-
{
|
|
438
|
-
label: "West Virginia",
|
|
439
|
-
value: "WESTVIRGINIA",
|
|
440
|
-
},
|
|
441
|
-
{
|
|
442
|
-
label: "Wisconsin",
|
|
443
|
-
value: "WISCONSIN",
|
|
444
|
-
},
|
|
445
|
-
{
|
|
446
|
-
label: "Wyoming",
|
|
447
|
-
value: "WYOMING",
|
|
448
|
-
},
|
|
449
|
-
{
|
|
450
|
-
label: "Americas Forces",
|
|
451
|
-
value: "AAMILITARY",
|
|
452
|
-
},
|
|
453
|
-
{
|
|
454
|
-
label: "Europe, Middle East, Canada, Africa and Canada Forces",
|
|
455
|
-
value: "AEMILITARY",
|
|
456
|
-
},
|
|
457
|
-
{
|
|
458
|
-
label: "Pacific Forces",
|
|
459
|
-
value: "APMILITARY",
|
|
460
|
-
},
|
|
461
|
-
{
|
|
462
|
-
label: "Other",
|
|
463
|
-
value: "OTHER",
|
|
464
|
-
},
|
|
465
|
-
],
|
|
466
|
-
},
|
|
467
|
-
};
|
|
468
|
-
|
|
469
|
-
exports.ADDRESS_REGIONS = ADDRESS_REGIONS;
|
|
470
|
-
exports.INDIRECT_TAX_PROVINCES = INDIRECT_TAX_PROVINCES;
|
|
471
|
-
exports.INDIRECT_TAX_SPAIN_REGIONS = INDIRECT_TAX_SPAIN_REGIONS;
|
|
472
|
-
exports.LoadingView = LoadingView;
|
|
473
|
-
exports.formatErrorMessage = formatErrorMessage;
|
|
474
|
-
exports.getCountryObj = getCountryObj;
|
|
475
|
-
exports.objectIsFull = objectIsFull;
|
|
476
|
-
exports.taxTypeToName = taxTypeToName;
|
|
477
|
-
exports.validTaxDocument = validTaxDocument;
|
|
478
|
-
exports.validateBillingField = validateBillingField;
|