@iamproperty/components 7.5.1--beta2 → 7.5.1--beta3

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 (133) hide show
  1. package/assets/css/components/actionbar.component.css +1 -1
  2. package/assets/css/components/actionbar.component.css.map +1 -1
  3. package/assets/css/components/address-lookup.component.css +1 -1
  4. package/assets/css/components/address-lookup.component.css.map +1 -1
  5. package/assets/css/components/address-lookup.preload.css +1 -0
  6. package/assets/css/components/address-lookup.preload.css.map +1 -0
  7. package/assets/css/components/barchart.component.css +1 -1
  8. package/assets/css/components/barchart.component.css.map +1 -1
  9. package/assets/css/components/calendar.component.css +1 -1
  10. package/assets/css/components/calendar.component.css.map +1 -1
  11. package/assets/css/components/card.component.css +1 -1
  12. package/assets/css/components/card.component.css.map +1 -1
  13. package/assets/css/components/carousel.component.css +1 -1
  14. package/assets/css/components/carousel.component.css.map +1 -1
  15. package/assets/css/components/collapsible-side.css +1 -1
  16. package/assets/css/components/collapsible-side.css.map +1 -1
  17. package/assets/css/components/content.component.css +1 -1
  18. package/assets/css/components/content.component.css.map +1 -1
  19. package/assets/css/components/doughnutchart.component.css +1 -1
  20. package/assets/css/components/doughnutchart.component.css.map +1 -1
  21. package/assets/css/components/fileupload.css +1 -1
  22. package/assets/css/components/fileupload.css.map +1 -1
  23. package/assets/css/components/inline-edit.css +1 -1
  24. package/assets/css/components/inline-edit.css.map +1 -1
  25. package/assets/css/components/multiselect.css +1 -1
  26. package/assets/css/components/multiselect.css.map +1 -1
  27. package/assets/css/components/nav.component.css +1 -1
  28. package/assets/css/components/nav.component.css.map +1 -1
  29. package/assets/css/components/pagination.css +1 -1
  30. package/assets/css/components/pagination.css.map +1 -1
  31. package/assets/css/components/slider.css +1 -1
  32. package/assets/css/components/slider.css.map +1 -1
  33. package/assets/css/components/split-button.component.css +1 -1
  34. package/assets/css/components/split-button.component.css.map +1 -1
  35. package/assets/css/components/table-basic.global.css +1 -1
  36. package/assets/css/components/table-basic.global.css.map +1 -1
  37. package/assets/css/components/table.global.css +1 -1
  38. package/assets/css/components/table.global.css.map +1 -1
  39. package/assets/css/components/tabs.component.css +1 -1
  40. package/assets/css/components/tabs.component.css.map +1 -1
  41. package/assets/css/core.min.css +1 -1
  42. package/assets/css/core.min.css.map +1 -1
  43. package/assets/css/mobile-core.min.css +1 -1
  44. package/assets/css/mobile-core.min.css.map +1 -1
  45. package/assets/css/mobile.min.css +1 -1
  46. package/assets/css/mobile.min.css.map +1 -1
  47. package/assets/css/style.min.css +1 -1
  48. package/assets/css/style.min.css.map +1 -1
  49. package/assets/js/components/accordion/accordion.component.min.js +1 -1
  50. package/assets/js/components/actionbar/actionbar.component.min.js +4 -4
  51. package/assets/js/components/actionbar/actionbar.component.min.js.map +1 -1
  52. package/assets/js/components/address-lookup/address-lookup.component.js +332 -102
  53. package/assets/js/components/address-lookup/address-lookup.component.min.js +32 -14
  54. package/assets/js/components/address-lookup/address-lookup.component.min.js.map +1 -1
  55. package/assets/js/components/advanced-select/advanced-select.component.min.js +3 -3
  56. package/assets/js/components/advanced-select/advanced-select.component.min.js.map +1 -1
  57. package/assets/js/components/applied-filters/applied-filters.component.min.js +1 -1
  58. package/assets/js/components/barchart/barchart.component.min.js +2 -2
  59. package/assets/js/components/barchart/barchart.component.min.js.map +1 -1
  60. package/assets/js/components/bento-grid/bento-grid.component.min.js +1 -1
  61. package/assets/js/components/calendar/calendar.component.min.js +5 -5
  62. package/assets/js/components/calendar/calendar.component.min.js.map +1 -1
  63. package/assets/js/components/card/card.component.min.js +2 -2
  64. package/assets/js/components/carousel/carousel.component.min.js +2 -2
  65. package/assets/js/components/collapsible-side/collapsible-side.component.min.js +2 -2
  66. package/assets/js/components/content/content.component.min.js +2 -2
  67. package/assets/js/components/darkmode/darkmode.component.min.js +1 -1
  68. package/assets/js/components/doughnutchart/doughnutchart.component.min.js +2 -2
  69. package/assets/js/components/doughnutchart/doughnutchart.component.min.js.map +1 -1
  70. package/assets/js/components/fileupload/fileupload.component.min.js +4 -4
  71. package/assets/js/components/filter-card/filter-card.component.min.js +1 -1
  72. package/assets/js/components/filterlist/filterlist.component.min.js +1 -1
  73. package/assets/js/components/header/header.component.min.js +1 -1
  74. package/assets/js/components/inline-edit/inline-edit.component.min.js +3 -3
  75. package/assets/js/components/marketing/marketing.component.min.js +1 -1
  76. package/assets/js/components/menu/menu.component.min.js +1 -1
  77. package/assets/js/components/milestone/milestone.component.min.js +1 -1
  78. package/assets/js/components/milestone-group/milestone-group.component.min.js +1 -1
  79. package/assets/js/components/multi-step/multi-step.component.min.js +1 -1
  80. package/assets/js/components/multiselect/multiselect.component.min.js +4 -4
  81. package/assets/js/components/nav/nav.component.min.js +5 -5
  82. package/assets/js/components/notification/notification.component.min.js +1 -1
  83. package/assets/js/components/pagination/pagination.component.min.js +3 -3
  84. package/assets/js/components/password-indicator/password-indicator.component.min.js +1 -1
  85. package/assets/js/components/rank/rank.component.min.js +1 -1
  86. package/assets/js/components/rankings/rankings.component.min.js +1 -1
  87. package/assets/js/components/record-card/record-card.component.min.js +1 -1
  88. package/assets/js/components/search/search.component.js +64 -24
  89. package/assets/js/components/search/search.component.min.js +5 -5
  90. package/assets/js/components/search/search.component.min.js.map +1 -1
  91. package/assets/js/components/slider/slider.component.min.js +3 -3
  92. package/assets/js/components/split-button/split-button.component.min.js +3 -3
  93. package/assets/js/components/std-address-lookup/std-address-lookup.component.js +1715 -0
  94. package/assets/js/components/std-address-lookup/std-address-lookup.component.min.js +172 -0
  95. package/assets/js/components/std-address-lookup/std-address-lookup.component.min.js.map +1 -0
  96. package/assets/js/components/table/table.component.min.js +2 -2
  97. package/assets/js/components/table/table.component.min.js.map +1 -1
  98. package/assets/js/components/table-ajax/table-ajax.component.min.js +2 -2
  99. package/assets/js/components/table-ajax/table-ajax.component.min.js.map +1 -1
  100. package/assets/js/components/table-basic/table-basic.component.min.js +4 -4
  101. package/assets/js/components/table-basic/table-basic.component.min.js.map +1 -1
  102. package/assets/js/components/table-no-submit/table-no-submit.component.min.js +5 -5
  103. package/assets/js/components/table-no-submit/table-no-submit.component.min.js.map +1 -1
  104. package/assets/js/components/table-submit/table-submit.component.min.js +2 -2
  105. package/assets/js/components/table-submit/table-submit.component.min.js.map +1 -1
  106. package/assets/js/components/tabs/tabs.component.min.js +2 -2
  107. package/assets/js/components/tabs/tabs.component.min.js.map +1 -1
  108. package/assets/js/components/video-card/video-card.component.min.js +1 -1
  109. package/assets/js/components/word-count/word-count.component.min.js +1 -1
  110. package/assets/js/modules/advanced-select.js +26 -25
  111. package/assets/js/modules/helpers.js +15 -3
  112. package/assets/js/scripts.bundle.js +3 -3
  113. package/assets/js/scripts.bundle.js.map +1 -1
  114. package/assets/js/scripts.bundle.min.js +2 -2
  115. package/assets/js/scripts.bundle.min.js.map +1 -1
  116. package/assets/sass/_components.scss +6 -0
  117. package/assets/sass/components/address-lookup.component.scss +91 -5
  118. package/assets/sass/components/address-lookup.preload.scss +81 -0
  119. package/assets/sass/components/table-basic.global.scss +175 -0
  120. package/assets/sass/components/table.global.scss +0 -163
  121. package/assets/sass/elements/buttons--action.scss +26 -0
  122. package/assets/sass/elements/buttons--global.scss +1 -4
  123. package/assets/sass/elements/forms.scss +181 -35
  124. package/assets/ts/components/address-lookup/address-lookup.component.ts +421 -108
  125. package/assets/ts/components/advanced-select/advanced-select.component.ts +1 -0
  126. package/assets/ts/components/search/search.component.ts +85 -26
  127. package/assets/ts/components/std-address-lookup/std-address-lookup.component.ts +1760 -0
  128. package/assets/ts/modules/advanced-select.ts +36 -26
  129. package/assets/ts/modules/helpers.ts +17 -3
  130. package/dist/components.es.js +144 -144
  131. package/dist/components.umd.js +372 -187
  132. package/package.json +1 -1
  133. package/src/components/STDAddressLookup/STDAddressLookup.vue +22 -0
@@ -0,0 +1,1715 @@
1
+ import iamAddressLookup from '../address-lookup/address-lookup.component.js';
2
+ const countries = [
3
+ {
4
+ "id": "urn:iamproperty:country:AF",
5
+ "country_name": "Afghanistan"
6
+ },
7
+ {
8
+ "id": "urn:iamproperty:country:AX",
9
+ "country_name": "Aland Islands"
10
+ },
11
+ {
12
+ "id": "urn:iamproperty:country:AL",
13
+ "country_name": "Albania"
14
+ },
15
+ {
16
+ "id": "urn:iamproperty:country:DZ",
17
+ "country_name": "Algeria"
18
+ },
19
+ {
20
+ "id": "urn:iamproperty:country:AS",
21
+ "country_name": "American Samoa"
22
+ },
23
+ {
24
+ "id": "urn:iamproperty:country:AD",
25
+ "country_name": "Andorra"
26
+ },
27
+ {
28
+ "id": "urn:iamproperty:country:AO",
29
+ "country_name": "Angola"
30
+ },
31
+ {
32
+ "id": "urn:iamproperty:country:AI",
33
+ "country_name": "Anguilla"
34
+ },
35
+ {
36
+ "id": "urn:iamproperty:country:AQ",
37
+ "country_name": "Antarctica"
38
+ },
39
+ {
40
+ "id": "urn:iamproperty:country:AG",
41
+ "country_name": "Antigua and Barbuda"
42
+ },
43
+ {
44
+ "id": "urn:iamproperty:country:AR",
45
+ "country_name": "Argentina"
46
+ },
47
+ {
48
+ "id": "urn:iamproperty:country:AM",
49
+ "country_name": "Armenia"
50
+ },
51
+ {
52
+ "id": "urn:iamproperty:country:AW",
53
+ "country_name": "Aruba"
54
+ },
55
+ {
56
+ "id": "urn:iamproperty:country:AU",
57
+ "country_name": "Australia"
58
+ },
59
+ {
60
+ "id": "urn:iamproperty:country:AT",
61
+ "country_name": "Austria"
62
+ },
63
+ {
64
+ "id": "urn:iamproperty:country:AZ",
65
+ "country_name": "Azerbaijan"
66
+ },
67
+ {
68
+ "id": "urn:iamproperty:country:BS",
69
+ "country_name": "Bahamas"
70
+ },
71
+ {
72
+ "id": "urn:iamproperty:country:BH",
73
+ "country_name": "Bahrain"
74
+ },
75
+ {
76
+ "id": "urn:iamproperty:country:BD",
77
+ "country_name": "Bangladesh"
78
+ },
79
+ {
80
+ "id": "urn:iamproperty:country:BB",
81
+ "country_name": "Barbados"
82
+ },
83
+ {
84
+ "id": "urn:iamproperty:country:BY",
85
+ "country_name": "Belarus"
86
+ },
87
+ {
88
+ "id": "urn:iamproperty:country:BE",
89
+ "country_name": "Belgium"
90
+ },
91
+ {
92
+ "id": "urn:iamproperty:country:BZ",
93
+ "country_name": "Belize"
94
+ },
95
+ {
96
+ "id": "urn:iamproperty:country:BJ",
97
+ "country_name": "Benin"
98
+ },
99
+ {
100
+ "id": "urn:iamproperty:country:BM",
101
+ "country_name": "Bermuda"
102
+ },
103
+ {
104
+ "id": "urn:iamproperty:country:BT",
105
+ "country_name": "Bhutan"
106
+ },
107
+ {
108
+ "id": "urn:iamproperty:country:BO",
109
+ "country_name": "Bolivia (Plurinational State of)"
110
+ },
111
+ {
112
+ "id": "urn:iamproperty:country:BQ",
113
+ "country_name": "Bonaire, Sint Eustatius and Saba"
114
+ },
115
+ {
116
+ "id": "urn:iamproperty:country:BA",
117
+ "country_name": "Bosnia and Herzegovina"
118
+ },
119
+ {
120
+ "id": "urn:iamproperty:country:BW",
121
+ "country_name": "Botswana"
122
+ },
123
+ {
124
+ "id": "urn:iamproperty:country:BV",
125
+ "country_name": "Bouvet Island"
126
+ },
127
+ {
128
+ "id": "urn:iamproperty:country:BR",
129
+ "country_name": "Brazil"
130
+ },
131
+ {
132
+ "id": "urn:iamproperty:country:IO",
133
+ "country_name": "British Indian Ocean Territory"
134
+ },
135
+ {
136
+ "id": "urn:iamproperty:country:BN",
137
+ "country_name": "Brunei Darussalam"
138
+ },
139
+ {
140
+ "id": "urn:iamproperty:country:BG",
141
+ "country_name": "Bulgaria"
142
+ },
143
+ {
144
+ "id": "urn:iamproperty:country:BF",
145
+ "country_name": "Burkina Faso"
146
+ },
147
+ {
148
+ "id": "urn:iamproperty:country:BI",
149
+ "country_name": "Burundi"
150
+ },
151
+ {
152
+ "id": "urn:iamproperty:country:KH",
153
+ "country_name": "Cambodia"
154
+ },
155
+ {
156
+ "id": "urn:iamproperty:country:CM",
157
+ "country_name": "Cameroon"
158
+ },
159
+ {
160
+ "id": "urn:iamproperty:country:CA",
161
+ "country_name": "Canada"
162
+ },
163
+ {
164
+ "id": "urn:iamproperty:country:CV",
165
+ "country_name": "Cabo Verde"
166
+ },
167
+ {
168
+ "id": "urn:iamproperty:country:KY",
169
+ "country_name": "Cayman Islands"
170
+ },
171
+ {
172
+ "id": "urn:iamproperty:country:CF",
173
+ "country_name": "Central African Republic"
174
+ },
175
+ {
176
+ "id": "urn:iamproperty:country:TD",
177
+ "country_name": "Chad"
178
+ },
179
+ {
180
+ "id": "urn:iamproperty:country:CL",
181
+ "country_name": "Chile"
182
+ },
183
+ {
184
+ "id": "urn:iamproperty:country:CN",
185
+ "country_name": "China"
186
+ },
187
+ {
188
+ "id": "urn:iamproperty:country:CX",
189
+ "country_name": "Christmas Island"
190
+ },
191
+ {
192
+ "id": "urn:iamproperty:country:CC",
193
+ "country_name": "Cocos (Keeling) Islands"
194
+ },
195
+ {
196
+ "id": "urn:iamproperty:country:CO",
197
+ "country_name": "Colombia"
198
+ },
199
+ {
200
+ "id": "urn:iamproperty:country:KM",
201
+ "country_name": "Comoros"
202
+ },
203
+ {
204
+ "id": "urn:iamproperty:country:CG",
205
+ "country_name": "Congo"
206
+ },
207
+ {
208
+ "id": "urn:iamproperty:country:CD",
209
+ "country_name": "Congo (Democratic Republic of the)"
210
+ },
211
+ {
212
+ "id": "urn:iamproperty:country:CK",
213
+ "country_name": "Cook Islands"
214
+ },
215
+ {
216
+ "id": "urn:iamproperty:country:CR",
217
+ "country_name": "Costa Rica"
218
+ },
219
+ {
220
+ "id": "urn:iamproperty:country:CI",
221
+ "country_name": "Côte d’Ivoire"
222
+ },
223
+ {
224
+ "id": "urn:iamproperty:country:HR",
225
+ "country_name": "Croatia"
226
+ },
227
+ {
228
+ "id": "urn:iamproperty:country:CU",
229
+ "country_name": "Cuba"
230
+ },
231
+ {
232
+ "id": "urn:iamproperty:country:CW",
233
+ "country_name": "Curaçao"
234
+ },
235
+ {
236
+ "id": "urn:iamproperty:country:CY",
237
+ "country_name": "Cyprus"
238
+ },
239
+ {
240
+ "id": "urn:iamproperty:country:CZ",
241
+ "country_name": "Czech Republic"
242
+ },
243
+ {
244
+ "id": "urn:iamproperty:country:DK",
245
+ "country_name": "Denmark"
246
+ },
247
+ {
248
+ "id": "urn:iamproperty:country:DJ",
249
+ "country_name": "Djibouti"
250
+ },
251
+ {
252
+ "id": "urn:iamproperty:country:DM",
253
+ "country_name": "Dominica"
254
+ },
255
+ {
256
+ "id": "urn:iamproperty:country:DO",
257
+ "country_name": "Dominican Republic"
258
+ },
259
+ {
260
+ "id": "urn:iamproperty:country:EC",
261
+ "country_name": "Ecuador"
262
+ },
263
+ {
264
+ "id": "urn:iamproperty:country:EG",
265
+ "country_name": "Egypt"
266
+ },
267
+ {
268
+ "id": "urn:iamproperty:country:SV",
269
+ "country_name": "El Salvador"
270
+ },
271
+ {
272
+ "id": "urn:iamproperty:country:GQ",
273
+ "country_name": "Equatorial Guinea"
274
+ },
275
+ {
276
+ "id": "urn:iamproperty:country:ER",
277
+ "country_name": "Eritrea"
278
+ },
279
+ {
280
+ "id": "urn:iamproperty:country:EE",
281
+ "country_name": "Estonia"
282
+ },
283
+ {
284
+ "id": "urn:iamproperty:country:ET",
285
+ "country_name": "Ethiopia"
286
+ },
287
+ {
288
+ "id": "urn:iamproperty:country:FK",
289
+ "country_name": "Falkland Islands (Malvinas)"
290
+ },
291
+ {
292
+ "id": "urn:iamproperty:country:FO",
293
+ "country_name": "Faroe Islands"
294
+ },
295
+ {
296
+ "id": "urn:iamproperty:country:FJ",
297
+ "country_name": "Fiji"
298
+ },
299
+ {
300
+ "id": "urn:iamproperty:country:FI",
301
+ "country_name": "Finland"
302
+ },
303
+ {
304
+ "id": "urn:iamproperty:country:FR",
305
+ "country_name": "France"
306
+ },
307
+ {
308
+ "id": "urn:iamproperty:country:GF",
309
+ "country_name": "French Guiana"
310
+ },
311
+ {
312
+ "id": "urn:iamproperty:country:PF",
313
+ "country_name": "French Polynesia"
314
+ },
315
+ {
316
+ "id": "urn:iamproperty:country:TF",
317
+ "country_name": "French Southern Territories"
318
+ },
319
+ {
320
+ "id": "urn:iamproperty:country:GA",
321
+ "country_name": "Gabon"
322
+ },
323
+ {
324
+ "id": "urn:iamproperty:country:GM",
325
+ "country_name": "Gambia"
326
+ },
327
+ {
328
+ "id": "urn:iamproperty:country:GE",
329
+ "country_name": "Georgia"
330
+ },
331
+ {
332
+ "id": "urn:iamproperty:country:DE",
333
+ "country_name": "Germany"
334
+ },
335
+ {
336
+ "id": "urn:iamproperty:country:GH",
337
+ "country_name": "Ghana"
338
+ },
339
+ {
340
+ "id": "urn:iamproperty:country:GI",
341
+ "country_name": "Gibraltar"
342
+ },
343
+ {
344
+ "id": "urn:iamproperty:country:GR",
345
+ "country_name": "Greece"
346
+ },
347
+ {
348
+ "id": "urn:iamproperty:country:GL",
349
+ "country_name": "Greenland"
350
+ },
351
+ {
352
+ "id": "urn:iamproperty:country:GD",
353
+ "country_name": "Grenada"
354
+ },
355
+ {
356
+ "id": "urn:iamproperty:country:GP",
357
+ "country_name": "Guadeloupe"
358
+ },
359
+ {
360
+ "id": "urn:iamproperty:country:GU",
361
+ "country_name": "Guam"
362
+ },
363
+ {
364
+ "id": "urn:iamproperty:country:GT",
365
+ "country_name": "Guatemala"
366
+ },
367
+ {
368
+ "id": "urn:iamproperty:country:GG",
369
+ "country_name": "Guernsey"
370
+ },
371
+ {
372
+ "id": "urn:iamproperty:country:GN",
373
+ "country_name": "Guinea"
374
+ },
375
+ {
376
+ "id": "urn:iamproperty:country:GW",
377
+ "country_name": "Guinea-Bissau"
378
+ },
379
+ {
380
+ "id": "urn:iamproperty:country:GY",
381
+ "country_name": "Guyana"
382
+ },
383
+ {
384
+ "id": "urn:iamproperty:country:HT",
385
+ "country_name": "Haiti"
386
+ },
387
+ {
388
+ "id": "urn:iamproperty:country:HM",
389
+ "country_name": "Heard Island and McDonald Islands"
390
+ },
391
+ {
392
+ "id": "urn:iamproperty:country:VA",
393
+ "country_name": "Holy See"
394
+ },
395
+ {
396
+ "id": "urn:iamproperty:country:HN",
397
+ "country_name": "Honduras"
398
+ },
399
+ {
400
+ "id": "urn:iamproperty:country:HK",
401
+ "country_name": "Hong Kong"
402
+ },
403
+ {
404
+ "id": "urn:iamproperty:country:HU",
405
+ "country_name": "Hungary"
406
+ },
407
+ {
408
+ "id": "urn:iamproperty:country:IS",
409
+ "country_name": "Iceland"
410
+ },
411
+ {
412
+ "id": "urn:iamproperty:country:IN",
413
+ "country_name": "India"
414
+ },
415
+ {
416
+ "id": "urn:iamproperty:country:ID",
417
+ "country_name": "Indonesia"
418
+ },
419
+ {
420
+ "id": "urn:iamproperty:country:IR",
421
+ "country_name": "Iran (Islamic Republic of)"
422
+ },
423
+ {
424
+ "id": "urn:iamproperty:country:IQ",
425
+ "country_name": "Iraq"
426
+ },
427
+ {
428
+ "id": "urn:iamproperty:country:IE",
429
+ "country_name": "Ireland"
430
+ },
431
+ {
432
+ "id": "urn:iamproperty:country:IM",
433
+ "country_name": "Isle of Man"
434
+ },
435
+ {
436
+ "id": "urn:iamproperty:country:IL",
437
+ "country_name": "Israel"
438
+ },
439
+ {
440
+ "id": "urn:iamproperty:country:IT",
441
+ "country_name": "Italy"
442
+ },
443
+ {
444
+ "id": "urn:iamproperty:country:JM",
445
+ "country_name": "Jamaica"
446
+ },
447
+ {
448
+ "id": "urn:iamproperty:country:JP",
449
+ "country_name": "Japan"
450
+ },
451
+ {
452
+ "id": "urn:iamproperty:country:JE",
453
+ "country_name": "Jersey"
454
+ },
455
+ {
456
+ "id": "urn:iamproperty:country:JO",
457
+ "country_name": "Jordan"
458
+ },
459
+ {
460
+ "id": "urn:iamproperty:country:KZ",
461
+ "country_name": "Kazakhstan"
462
+ },
463
+ {
464
+ "id": "urn:iamproperty:country:KE",
465
+ "country_name": "Kenya"
466
+ },
467
+ {
468
+ "id": "urn:iamproperty:country:KI",
469
+ "country_name": "Kiribati"
470
+ },
471
+ {
472
+ "id": "urn:iamproperty:country:KP",
473
+ "country_name": "Korea (Democratic People's Republic of)"
474
+ },
475
+ {
476
+ "id": "urn:iamproperty:country:KR",
477
+ "country_name": "Korea (Republic of)"
478
+ },
479
+ {
480
+ "id": "urn:iamproperty:country:KW",
481
+ "country_name": "Kuwait"
482
+ },
483
+ {
484
+ "id": "urn:iamproperty:country:KG",
485
+ "country_name": "Kyrgyzstan"
486
+ },
487
+ {
488
+ "id": "urn:iamproperty:country:LA",
489
+ "country_name": "Lao People's Democratic Republic"
490
+ },
491
+ {
492
+ "id": "urn:iamproperty:country:LV",
493
+ "country_name": "Latvia"
494
+ },
495
+ {
496
+ "id": "urn:iamproperty:country:LB",
497
+ "country_name": "Lebanon"
498
+ },
499
+ {
500
+ "id": "urn:iamproperty:country:LS",
501
+ "country_name": "Lesotho"
502
+ },
503
+ {
504
+ "id": "urn:iamproperty:country:LR",
505
+ "country_name": "Liberia"
506
+ },
507
+ {
508
+ "id": "urn:iamproperty:country:LY",
509
+ "country_name": "Libya"
510
+ },
511
+ {
512
+ "id": "urn:iamproperty:country:LI",
513
+ "country_name": "Liechtenstein"
514
+ },
515
+ {
516
+ "id": "urn:iamproperty:country:LT",
517
+ "country_name": "Lithuania"
518
+ },
519
+ {
520
+ "id": "urn:iamproperty:country:LU",
521
+ "country_name": "Luxembourg"
522
+ },
523
+ {
524
+ "id": "urn:iamproperty:country:MO",
525
+ "country_name": "Macao"
526
+ },
527
+ {
528
+ "id": "urn:iamproperty:country:MK",
529
+ "country_name": "Republic of North Macedonia"
530
+ },
531
+ {
532
+ "id": "urn:iamproperty:country:MG",
533
+ "country_name": "Madagascar"
534
+ },
535
+ {
536
+ "id": "urn:iamproperty:country:MW",
537
+ "country_name": "Malawi"
538
+ },
539
+ {
540
+ "id": "urn:iamproperty:country:MY",
541
+ "country_name": "Malaysia"
542
+ },
543
+ {
544
+ "id": "urn:iamproperty:country:MV",
545
+ "country_name": "Maldives"
546
+ },
547
+ {
548
+ "id": "urn:iamproperty:country:ML",
549
+ "country_name": "Mali"
550
+ },
551
+ {
552
+ "id": "urn:iamproperty:country:MT",
553
+ "country_name": "Malta"
554
+ },
555
+ {
556
+ "id": "urn:iamproperty:country:MH",
557
+ "country_name": "Marshall Islands"
558
+ },
559
+ {
560
+ "id": "urn:iamproperty:country:MQ",
561
+ "country_name": "Martinique"
562
+ },
563
+ {
564
+ "id": "urn:iamproperty:country:MR",
565
+ "country_name": "Mauritania"
566
+ },
567
+ {
568
+ "id": "urn:iamproperty:country:MU",
569
+ "country_name": "Mauritius"
570
+ },
571
+ {
572
+ "id": "urn:iamproperty:country:YT",
573
+ "country_name": "Mayotte"
574
+ },
575
+ {
576
+ "id": "urn:iamproperty:country:MX",
577
+ "country_name": "Mexico"
578
+ },
579
+ {
580
+ "id": "urn:iamproperty:country:FM",
581
+ "country_name": "Micronesia (Federated States of)"
582
+ },
583
+ {
584
+ "id": "urn:iamproperty:country:MD",
585
+ "country_name": "Moldova (Republic of)"
586
+ },
587
+ {
588
+ "id": "urn:iamproperty:country:MC",
589
+ "country_name": "Monaco"
590
+ },
591
+ {
592
+ "id": "urn:iamproperty:country:MN",
593
+ "country_name": "Mongolia"
594
+ },
595
+ {
596
+ "id": "urn:iamproperty:country:ME",
597
+ "country_name": "Montenegro"
598
+ },
599
+ {
600
+ "id": "urn:iamproperty:country:MS",
601
+ "country_name": "Montserrat"
602
+ },
603
+ {
604
+ "id": "urn:iamproperty:country:MA",
605
+ "country_name": "Morocco"
606
+ },
607
+ {
608
+ "id": "urn:iamproperty:country:MZ",
609
+ "country_name": "Mozambique"
610
+ },
611
+ {
612
+ "id": "urn:iamproperty:country:MM",
613
+ "country_name": "Myanmar"
614
+ },
615
+ {
616
+ "id": "urn:iamproperty:country:NA",
617
+ "country_name": "Namibia"
618
+ },
619
+ {
620
+ "id": "urn:iamproperty:country:NR",
621
+ "country_name": "Nauru"
622
+ },
623
+ {
624
+ "id": "urn:iamproperty:country:NP",
625
+ "country_name": "Nepal"
626
+ },
627
+ {
628
+ "id": "urn:iamproperty:country:NL",
629
+ "country_name": "Netherlands"
630
+ },
631
+ {
632
+ "id": "urn:iamproperty:country:NC",
633
+ "country_name": "New Caledonia"
634
+ },
635
+ {
636
+ "id": "urn:iamproperty:country:NZ",
637
+ "country_name": "New Zealand"
638
+ },
639
+ {
640
+ "id": "urn:iamproperty:country:NI",
641
+ "country_name": "Nicaragua"
642
+ },
643
+ {
644
+ "id": "urn:iamproperty:country:NE",
645
+ "country_name": "Niger"
646
+ },
647
+ {
648
+ "id": "urn:iamproperty:country:NG",
649
+ "country_name": "Nigeria"
650
+ },
651
+ {
652
+ "id": "urn:iamproperty:country:NU",
653
+ "country_name": "Niue"
654
+ },
655
+ {
656
+ "id": "urn:iamproperty:country:NF",
657
+ "country_name": "Norfolk Island"
658
+ },
659
+ {
660
+ "id": "urn:iamproperty:country:MP",
661
+ "country_name": "Northern Mariana Islands"
662
+ },
663
+ {
664
+ "id": "urn:iamproperty:country:NO",
665
+ "country_name": "Norway"
666
+ },
667
+ {
668
+ "id": "urn:iamproperty:country:OM",
669
+ "country_name": "Oman"
670
+ },
671
+ {
672
+ "id": "urn:iamproperty:country:PK",
673
+ "country_name": "Pakistan"
674
+ },
675
+ {
676
+ "id": "urn:iamproperty:country:PW",
677
+ "country_name": "Palau"
678
+ },
679
+ {
680
+ "id": "urn:iamproperty:country:PS",
681
+ "country_name": "Palestine, State of"
682
+ },
683
+ {
684
+ "id": "urn:iamproperty:country:PA",
685
+ "country_name": "Panama"
686
+ },
687
+ {
688
+ "id": "urn:iamproperty:country:PG",
689
+ "country_name": "Papua New Guinea"
690
+ },
691
+ {
692
+ "id": "urn:iamproperty:country:PY",
693
+ "country_name": "Paraguay"
694
+ },
695
+ {
696
+ "id": "urn:iamproperty:country:PE",
697
+ "country_name": "Peru"
698
+ },
699
+ {
700
+ "id": "urn:iamproperty:country:PH",
701
+ "country_name": "Philippines"
702
+ },
703
+ {
704
+ "id": "urn:iamproperty:country:PN",
705
+ "country_name": "Pitcairn"
706
+ },
707
+ {
708
+ "id": "urn:iamproperty:country:PL",
709
+ "country_name": "Poland"
710
+ },
711
+ {
712
+ "id": "urn:iamproperty:country:PT",
713
+ "country_name": "Portugal"
714
+ },
715
+ {
716
+ "id": "urn:iamproperty:country:PR",
717
+ "country_name": "Puerto Rico"
718
+ },
719
+ {
720
+ "id": "urn:iamproperty:country:QA",
721
+ "country_name": "Qatar"
722
+ },
723
+ {
724
+ "id": "urn:iamproperty:country:RE",
725
+ "country_name": "Réunion"
726
+ },
727
+ {
728
+ "id": "urn:iamproperty:country:RO",
729
+ "country_name": "Romania"
730
+ },
731
+ {
732
+ "id": "urn:iamproperty:country:RU",
733
+ "country_name": "Russian Federation"
734
+ },
735
+ {
736
+ "id": "urn:iamproperty:country:RW",
737
+ "country_name": "Rwanda"
738
+ },
739
+ {
740
+ "id": "urn:iamproperty:country:BL",
741
+ "country_name": "Saint Barthélemy"
742
+ },
743
+ {
744
+ "id": "urn:iamproperty:country:SH",
745
+ "country_name": "Saint Helena, Ascension and Tristan da Cunha"
746
+ },
747
+ {
748
+ "id": "urn:iamproperty:country:KN",
749
+ "country_name": "Saint Kitts and Nevis"
750
+ },
751
+ {
752
+ "id": "urn:iamproperty:country:LC",
753
+ "country_name": "Saint Lucia"
754
+ },
755
+ {
756
+ "id": "urn:iamproperty:country:MF",
757
+ "country_name": "Saint Martin (French part)"
758
+ },
759
+ {
760
+ "id": "urn:iamproperty:country:PM",
761
+ "country_name": "Saint Pierre and Miquelon"
762
+ },
763
+ {
764
+ "id": "urn:iamproperty:country:VC",
765
+ "country_name": "Saint Vincent and the Grenadines"
766
+ },
767
+ {
768
+ "id": "urn:iamproperty:country:WS",
769
+ "country_name": "Samoa"
770
+ },
771
+ {
772
+ "id": "urn:iamproperty:country:SM",
773
+ "country_name": "San Marino"
774
+ },
775
+ {
776
+ "id": "urn:iamproperty:country:ST",
777
+ "country_name": "Sao Tome and Principe"
778
+ },
779
+ {
780
+ "id": "urn:iamproperty:country:SA",
781
+ "country_name": "Saudi Arabia"
782
+ },
783
+ {
784
+ "id": "urn:iamproperty:country:SN",
785
+ "country_name": "Senegal"
786
+ },
787
+ {
788
+ "id": "urn:iamproperty:country:RS",
789
+ "country_name": "Serbia"
790
+ },
791
+ {
792
+ "id": "urn:iamproperty:country:SC",
793
+ "country_name": "Seychelles"
794
+ },
795
+ {
796
+ "id": "urn:iamproperty:country:SL",
797
+ "country_name": "Sierra Leone"
798
+ },
799
+ {
800
+ "id": "urn:iamproperty:country:SG",
801
+ "country_name": "Singapore"
802
+ },
803
+ {
804
+ "id": "urn:iamproperty:country:SX",
805
+ "country_name": "Sint Maarten (Dutch part)"
806
+ },
807
+ {
808
+ "id": "urn:iamproperty:country:SK",
809
+ "country_name": "Slovakia"
810
+ },
811
+ {
812
+ "id": "urn:iamproperty:country:SI",
813
+ "country_name": "Slovenia"
814
+ },
815
+ {
816
+ "id": "urn:iamproperty:country:SB",
817
+ "country_name": "Solomon Islands"
818
+ },
819
+ {
820
+ "id": "urn:iamproperty:country:SO",
821
+ "country_name": "Somalia"
822
+ },
823
+ {
824
+ "id": "urn:iamproperty:country:ZA",
825
+ "country_name": "South Africa"
826
+ },
827
+ {
828
+ "id": "urn:iamproperty:country:GS",
829
+ "country_name": "South Georgia and the South Sandwich Islands"
830
+ },
831
+ {
832
+ "id": "urn:iamproperty:country:SS",
833
+ "country_name": "South Sudan"
834
+ },
835
+ {
836
+ "id": "urn:iamproperty:country:ES",
837
+ "country_name": "Spain"
838
+ },
839
+ {
840
+ "id": "urn:iamproperty:country:LK",
841
+ "country_name": "Sri Lanka"
842
+ },
843
+ {
844
+ "id": "urn:iamproperty:country:SD",
845
+ "country_name": "Sudan"
846
+ },
847
+ {
848
+ "id": "urn:iamproperty:country:SR",
849
+ "country_name": "Suriname"
850
+ },
851
+ {
852
+ "id": "urn:iamproperty:country:SJ",
853
+ "country_name": "Svalbard and Jan Mayen"
854
+ },
855
+ {
856
+ "id": "urn:iamproperty:country:SZ",
857
+ "country_name": "The Kingdom of Eswatini"
858
+ },
859
+ {
860
+ "id": "urn:iamproperty:country:SE",
861
+ "country_name": "Sweden"
862
+ },
863
+ {
864
+ "id": "urn:iamproperty:country:CH",
865
+ "country_name": "Switzerland"
866
+ },
867
+ {
868
+ "id": "urn:iamproperty:country:SY",
869
+ "country_name": "Syrian Arab Republic"
870
+ },
871
+ {
872
+ "id": "urn:iamproperty:country:TW",
873
+ "country_name": "Taiwan, Province of China"
874
+ },
875
+ {
876
+ "id": "urn:iamproperty:country:TJ",
877
+ "country_name": "Tajikistan"
878
+ },
879
+ {
880
+ "id": "urn:iamproperty:country:TZ",
881
+ "country_name": "Tanzania, United Republic of"
882
+ },
883
+ {
884
+ "id": "urn:iamproperty:country:TH",
885
+ "country_name": "Thailand"
886
+ },
887
+ {
888
+ "id": "urn:iamproperty:country:TL",
889
+ "country_name": "Timor-Leste"
890
+ },
891
+ {
892
+ "id": "urn:iamproperty:country:TG",
893
+ "country_name": "Togo"
894
+ },
895
+ {
896
+ "id": "urn:iamproperty:country:TK",
897
+ "country_name": "Tokelau"
898
+ },
899
+ {
900
+ "id": "urn:iamproperty:country:TO",
901
+ "country_name": "Tonga"
902
+ },
903
+ {
904
+ "id": "urn:iamproperty:country:TT",
905
+ "country_name": "Trinidad and Tobago"
906
+ },
907
+ {
908
+ "id": "urn:iamproperty:country:TN",
909
+ "country_name": "Tunisia"
910
+ },
911
+ {
912
+ "id": "urn:iamproperty:country:TR",
913
+ "country_name": "Republic of Türkiye"
914
+ },
915
+ {
916
+ "id": "urn:iamproperty:country:TM",
917
+ "country_name": "Turkmenistan"
918
+ },
919
+ {
920
+ "id": "urn:iamproperty:country:TC",
921
+ "country_name": "Turks and Caicos Islands"
922
+ },
923
+ {
924
+ "id": "urn:iamproperty:country:TV",
925
+ "country_name": "Tuvalu"
926
+ },
927
+ {
928
+ "id": "urn:iamproperty:country:UG",
929
+ "country_name": "Uganda"
930
+ },
931
+ {
932
+ "id": "urn:iamproperty:country:UA",
933
+ "country_name": "Ukraine"
934
+ },
935
+ {
936
+ "id": "urn:iamproperty:country:AE",
937
+ "country_name": "United Arab Emirates"
938
+ },
939
+ {
940
+ "id": "urn:iamproperty:country:GB",
941
+ "country_name": "United Kingdom of Great Britain and Northern Ireland"
942
+ },
943
+ {
944
+ "id": "urn:iamproperty:country:US",
945
+ "country_name": "United States of America"
946
+ },
947
+ {
948
+ "id": "urn:iamproperty:country:UM",
949
+ "country_name": "United States Minor Outlying Islands"
950
+ },
951
+ {
952
+ "id": "urn:iamproperty:country:UY",
953
+ "country_name": "Uruguay"
954
+ },
955
+ {
956
+ "id": "urn:iamproperty:country:UZ",
957
+ "country_name": "Uzbekistan"
958
+ },
959
+ {
960
+ "id": "urn:iamproperty:country:VU",
961
+ "country_name": "Vanuatu"
962
+ },
963
+ {
964
+ "id": "urn:iamproperty:country:VE",
965
+ "country_name": "Venezuela (Bolivarian Republic of)"
966
+ },
967
+ {
968
+ "id": "urn:iamproperty:country:VN",
969
+ "country_name": "Viet Nam"
970
+ },
971
+ {
972
+ "id": "urn:iamproperty:country:VG",
973
+ "country_name": "Virgin Islands (British)"
974
+ },
975
+ {
976
+ "id": "urn:iamproperty:country:VI",
977
+ "country_name": "Virgin Islands (U.S.)"
978
+ },
979
+ {
980
+ "id": "urn:iamproperty:country:WF",
981
+ "country_name": "Wallis and Futuna"
982
+ },
983
+ {
984
+ "id": "urn:iamproperty:country:EH",
985
+ "country_name": "Western Sahara"
986
+ },
987
+ {
988
+ "id": "urn:iamproperty:country:YE",
989
+ "country_name": "Yemen"
990
+ },
991
+ {
992
+ "id": "urn:iamproperty:country:ZM",
993
+ "country_name": "Zambia"
994
+ },
995
+ {
996
+ "id": "urn:iamproperty:country:ZW",
997
+ "country_name": "Zimbabwe"
998
+ }
999
+ ];
1000
+ const counties = [
1001
+ {
1002
+ "id": "urn:iamproperty:county:ekHuOPAhk",
1003
+ "county": "Monmouthshire"
1004
+ },
1005
+ {
1006
+ "id": "urn:iamproperty:county:AEbmaIiuw",
1007
+ "county": "Cambridgeshire"
1008
+ },
1009
+ {
1010
+ "id": "urn:iamproperty:county:HN2Hekmbp",
1011
+ "county": "South Lanarkshire"
1012
+ },
1013
+ {
1014
+ "id": "urn:iamproperty:county:520Tnh4wg",
1015
+ "county": "Derbyshire"
1016
+ },
1017
+ {
1018
+ "id": "urn:iamproperty:county:l5UCrwlvB",
1019
+ "county": "Devon"
1020
+ },
1021
+ {
1022
+ "id": "urn:iamproperty:county:GCA8Jh6Ic",
1023
+ "county": "Bristol"
1024
+ },
1025
+ {
1026
+ "id": "urn:iamproperty:county:Mi1lAB5uQ",
1027
+ "county": "Rhondda Cynon Taf"
1028
+ },
1029
+ {
1030
+ "id": "urn:iamproperty:county:n4jPkt4qP",
1031
+ "county": "Carmarthenshire"
1032
+ },
1033
+ {
1034
+ "id": "urn:iamproperty:county:XO1G4TTb5",
1035
+ "county": "Aberdeenshire"
1036
+ },
1037
+ {
1038
+ "id": "urn:iamproperty:county:JIaxjhlxx",
1039
+ "county": "North Somerset"
1040
+ },
1041
+ {
1042
+ "id": "urn:iamproperty:county:hLrOnlFfB",
1043
+ "county": "Nottinghamshire"
1044
+ },
1045
+ {
1046
+ "id": "urn:iamproperty:county:oGMGorIRg",
1047
+ "county": "Durham"
1048
+ },
1049
+ {
1050
+ "id": "urn:iamproperty:county:eBaLXgG8Y",
1051
+ "county": "Isle of Wight"
1052
+ },
1053
+ {
1054
+ "id": "urn:iamproperty:county:NMsdqInpw",
1055
+ "county": "Northamptonshire"
1056
+ },
1057
+ {
1058
+ "id": "urn:iamproperty:county:xRBQIke3k",
1059
+ "county": "Warwickshire"
1060
+ },
1061
+ {
1062
+ "id": "urn:iamproperty:county:R7yUpOlb4",
1063
+ "county": "Berwickshire"
1064
+ },
1065
+ {
1066
+ "id": "urn:iamproperty:county:S9DHMO2Hh",
1067
+ "county": "East Sussex"
1068
+ },
1069
+ {
1070
+ "id": "urn:iamproperty:county:rj4pK09x7",
1071
+ "county": "Denbighshire"
1072
+ },
1073
+ {
1074
+ "id": "urn:iamproperty:county:vuduFOMex",
1075
+ "county": "Lanarkshire"
1076
+ },
1077
+ {
1078
+ "id": "urn:iamproperty:county:5W66e6apO",
1079
+ "county": "East Riding of Yorkshire"
1080
+ },
1081
+ {
1082
+ "id": "urn:iamproperty:county:Hb6eqUJQj",
1083
+ "county": "North Ayrshire"
1084
+ },
1085
+ {
1086
+ "id": "urn:iamproperty:county:fwRrCvJ4C",
1087
+ "county": "Greater Manchester"
1088
+ },
1089
+ {
1090
+ "id": "urn:iamproperty:county:aekGxogbo",
1091
+ "county": "East Renfrewshire"
1092
+ },
1093
+ {
1094
+ "id": "urn:iamproperty:county:f3srYWllA",
1095
+ "county": "Cardiff"
1096
+ },
1097
+ {
1098
+ "id": "urn:iamproperty:county:DhVZEpSj5",
1099
+ "county": "West Lothian"
1100
+ },
1101
+ {
1102
+ "id": "urn:iamproperty:county:URWWHN7s0",
1103
+ "county": "Dorset"
1104
+ },
1105
+ {
1106
+ "id": "urn:iamproperty:county:jYK8wiDnY",
1107
+ "county": "Leicestershire"
1108
+ },
1109
+ {
1110
+ "id": "urn:iamproperty:county:048PGRA4X",
1111
+ "county": "Blaenau Gwent"
1112
+ },
1113
+ {
1114
+ "id": "urn:iamproperty:county:wrHCVsCva",
1115
+ "county": "Berkshire"
1116
+ },
1117
+ {
1118
+ "id": "urn:iamproperty:county:cCH4TjJ9q",
1119
+ "county": "Norfolk"
1120
+ },
1121
+ {
1122
+ "id": "urn:iamproperty:county:mvHEsdXhM",
1123
+ "county": "Suffolk"
1124
+ },
1125
+ {
1126
+ "id": "urn:iamproperty:county:faXBprr9q",
1127
+ "county": "East Ayrshire"
1128
+ },
1129
+ {
1130
+ "id": "urn:iamproperty:county:5wGBTbwou",
1131
+ "county": "Conwy"
1132
+ },
1133
+ {
1134
+ "id": "urn:iamproperty:county:5YXi0mQkk",
1135
+ "county": "Cheshire"
1136
+ },
1137
+ {
1138
+ "id": "urn:iamproperty:county:fuYiP18oc",
1139
+ "county": "Bridgend"
1140
+ },
1141
+ {
1142
+ "id": "urn:iamproperty:county:QaX0cXbOV",
1143
+ "county": "West Yorkshire"
1144
+ },
1145
+ {
1146
+ "id": "urn:iamproperty:county:Lo7JLx9og",
1147
+ "county": "South Gloucestershire"
1148
+ },
1149
+ {
1150
+ "id": "urn:iamproperty:county:B64E1f4T3",
1151
+ "county": "Merthyr Tydfil"
1152
+ },
1153
+ {
1154
+ "id": "urn:iamproperty:county:vacNt3Iie",
1155
+ "county": "Banffshire"
1156
+ },
1157
+ {
1158
+ "id": "urn:iamproperty:county:HSETldFbK",
1159
+ "county": "Staffordshire"
1160
+ },
1161
+ {
1162
+ "id": "urn:iamproperty:county:njUDNfLD3",
1163
+ "county": "Western Isles"
1164
+ },
1165
+ {
1166
+ "id": "urn:iamproperty:county:smlxqTdZE",
1167
+ "county": "Bath and North East Somerset"
1168
+ },
1169
+ {
1170
+ "id": "urn:iamproperty:county:2asBQ47Jh",
1171
+ "county": "South Yorkshire"
1172
+ },
1173
+ {
1174
+ "id": "urn:iamproperty:county:5hYXpCuJ7",
1175
+ "county": "Stirling"
1176
+ },
1177
+ {
1178
+ "id": "urn:iamproperty:county:lhFYBMSuq",
1179
+ "county": "Powys"
1180
+ },
1181
+ {
1182
+ "id": "urn:iamproperty:county:PamgW3ebq",
1183
+ "county": "Vale of Glamorgan"
1184
+ },
1185
+ {
1186
+ "id": "urn:iamproperty:county:zIasSsrlZ",
1187
+ "county": "Clackmannanshire"
1188
+ },
1189
+ {
1190
+ "id": "urn:iamproperty:county:WZUQNZxOy",
1191
+ "county": "Lancashire"
1192
+ },
1193
+ {
1194
+ "id": "urn:iamproperty:county:HoTgPpS58",
1195
+ "county": "Hertfordshire"
1196
+ },
1197
+ {
1198
+ "id": "urn:iamproperty:county:oNrluXBHA",
1199
+ "county": "Fife"
1200
+ },
1201
+ {
1202
+ "id": "urn:iamproperty:county:2OxE9CASK",
1203
+ "county": "Neath Port Talbot"
1204
+ },
1205
+ {
1206
+ "id": "urn:iamproperty:county:9J7YezLBA",
1207
+ "county": "Highland"
1208
+ },
1209
+ {
1210
+ "id": "urn:iamproperty:county:7IfpMh1Gx",
1211
+ "county": "Ceredigion"
1212
+ },
1213
+ {
1214
+ "id": "urn:iamproperty:county:ZwQ3mTTE2",
1215
+ "county": "Orkney Islands"
1216
+ },
1217
+ {
1218
+ "id": "urn:iamproperty:county:ZyNmV7NCn",
1219
+ "county": "North Yorkshire"
1220
+ },
1221
+ {
1222
+ "id": "urn:iamproperty:county:LwrVeERzu",
1223
+ "county": "Pembrokeshire"
1224
+ },
1225
+ {
1226
+ "id": "urn:iamproperty:county:porOuVsSM",
1227
+ "county": "Wrexham"
1228
+ },
1229
+ {
1230
+ "id": "urn:iamproperty:county:3o4Rx4sO8",
1231
+ "county": "Renfrewshire"
1232
+ },
1233
+ {
1234
+ "id": "urn:iamproperty:county:loLWjKyk8",
1235
+ "county": "Oxfordshire"
1236
+ },
1237
+ {
1238
+ "id": "urn:iamproperty:county:AN7Bz5tny",
1239
+ "county": "Moray"
1240
+ },
1241
+ {
1242
+ "id": "urn:iamproperty:county:RGzSdoQp3",
1243
+ "county": "Ayrshire"
1244
+ },
1245
+ {
1246
+ "id": "urn:iamproperty:county:nEBK48RIK",
1247
+ "county": "Caithness"
1248
+ },
1249
+ {
1250
+ "id": "urn:iamproperty:county:a90XABrjs",
1251
+ "county": "West Dunbartonshire"
1252
+ },
1253
+ {
1254
+ "id": "urn:iamproperty:county:Qjkb0wsyP",
1255
+ "county": "West Sussex"
1256
+ },
1257
+ {
1258
+ "id": "urn:iamproperty:county:fNJcfheKq",
1259
+ "county": "Cornwall"
1260
+ },
1261
+ {
1262
+ "id": "urn:iamproperty:county:lx0kEWvsb",
1263
+ "county": "Anglesey"
1264
+ },
1265
+ {
1266
+ "id": "urn:iamproperty:county:rkvgiBRHz",
1267
+ "county": "Caerphilly"
1268
+ },
1269
+ {
1270
+ "id": "urn:iamproperty:county:kx0t2zRVP",
1271
+ "county": "Tyne and Wear"
1272
+ },
1273
+ {
1274
+ "id": "urn:iamproperty:county:lVb75qnOW",
1275
+ "county": "Merseyside"
1276
+ },
1277
+ {
1278
+ "id": "urn:iamproperty:county:M7eZzrA8u",
1279
+ "county": "Wiltshire"
1280
+ },
1281
+ {
1282
+ "id": "urn:iamproperty:county:8Uo4sJw3x",
1283
+ "county": "Perth and Kinross"
1284
+ },
1285
+ {
1286
+ "id": "urn:iamproperty:county:73kc3w0cu",
1287
+ "county": "Dumfries & Galloway"
1288
+ },
1289
+ {
1290
+ "id": "urn:iamproperty:county:VFjExDeTO",
1291
+ "county": "Swansea"
1292
+ },
1293
+ {
1294
+ "id": "urn:iamproperty:county:lzsJuaRiS",
1295
+ "county": "Isles of Scilly"
1296
+ },
1297
+ {
1298
+ "id": "urn:iamproperty:county:abvvK0ZwH",
1299
+ "county": "Worcestershire"
1300
+ },
1301
+ {
1302
+ "id": "urn:iamproperty:county:1FKCbFkt2",
1303
+ "county": "Scottish Borders"
1304
+ },
1305
+ {
1306
+ "id": "urn:iamproperty:county:WKaOjrTLM",
1307
+ "county": "Essex"
1308
+ },
1309
+ {
1310
+ "id": "urn:iamproperty:county:0F00szlVA",
1311
+ "county": "South Ayrshire"
1312
+ },
1313
+ {
1314
+ "id": "urn:iamproperty:county:KDtAS0c8U",
1315
+ "county": "Inverclyde"
1316
+ },
1317
+ {
1318
+ "id": "urn:iamproperty:county:Md88sraTz",
1319
+ "county": "Shetland Islands"
1320
+ },
1321
+ {
1322
+ "id": "urn:iamproperty:county:LzzEE6zpp",
1323
+ "county": "Herefordshire"
1324
+ },
1325
+ {
1326
+ "id": "urn:iamproperty:county:lXaRRDNrq",
1327
+ "county": "Angus"
1328
+ },
1329
+ {
1330
+ "id": "urn:iamproperty:county:A5B4FFytC",
1331
+ "county": "Surrey"
1332
+ },
1333
+ {
1334
+ "id": "urn:iamproperty:county:B3siky9El",
1335
+ "county": "Kent"
1336
+ },
1337
+ {
1338
+ "id": "urn:iamproperty:county:V9njlL3kq",
1339
+ "county": "Northumberland"
1340
+ },
1341
+ {
1342
+ "id": "urn:iamproperty:county:WJiolIFFI",
1343
+ "county": "Flintshire"
1344
+ },
1345
+ {
1346
+ "id": "urn:iamproperty:county:4lXGX7NbU",
1347
+ "county": "Gwynedd"
1348
+ },
1349
+ {
1350
+ "id": "urn:iamproperty:county:7gzISbzTK",
1351
+ "county": "Lincolnshire"
1352
+ },
1353
+ {
1354
+ "id": "urn:iamproperty:county:D5GgqTxzN",
1355
+ "county": "East Dunbartonshire"
1356
+ },
1357
+ {
1358
+ "id": "urn:iamproperty:county:hhwXe4hTH",
1359
+ "county": "Somerset"
1360
+ },
1361
+ {
1362
+ "id": "urn:iamproperty:county:nECEnleYv",
1363
+ "county": "Midlothian"
1364
+ },
1365
+ {
1366
+ "id": "urn:iamproperty:county:2jksb8BIf",
1367
+ "county": "Cumbria"
1368
+ },
1369
+ {
1370
+ "id": "urn:iamproperty:county:ttfY8qr15",
1371
+ "county": "Bedfordshire"
1372
+ },
1373
+ {
1374
+ "id": "urn:iamproperty:county:YhQVg1amj",
1375
+ "county": "West Midlands"
1376
+ },
1377
+ {
1378
+ "id": "urn:iamproperty:county:EnbDIubYS",
1379
+ "county": "North Lanarkshire"
1380
+ },
1381
+ {
1382
+ "id": "urn:iamproperty:county:5SdVf3hnm",
1383
+ "county": "Kincardineshire"
1384
+ },
1385
+ {
1386
+ "id": "urn:iamproperty:county:BPedWUQXc",
1387
+ "county": "Dunbartonshire"
1388
+ },
1389
+ {
1390
+ "id": "urn:iamproperty:county:YLngqBWd4",
1391
+ "county": "Hampshire"
1392
+ },
1393
+ {
1394
+ "id": "urn:iamproperty:county:zBZHWiWon",
1395
+ "county": "Buckinghamshire"
1396
+ },
1397
+ {
1398
+ "id": "urn:iamproperty:county:kLes1W5ny",
1399
+ "county": "East Lothian"
1400
+ },
1401
+ {
1402
+ "id": "urn:iamproperty:county:yCMA4ANpN",
1403
+ "county": "Rutland"
1404
+ },
1405
+ {
1406
+ "id": "urn:iamproperty:county:jhourkJ4W",
1407
+ "county": "Torfaen"
1408
+ },
1409
+ {
1410
+ "id": "urn:iamproperty:county:aC8dF3IVE",
1411
+ "county": "Newport"
1412
+ },
1413
+ {
1414
+ "id": "urn:iamproperty:county:AnfqGRnhm",
1415
+ "county": "Argyll & Bute"
1416
+ },
1417
+ {
1418
+ "id": "urn:iamproperty:county:5BjmQe9mS",
1419
+ "county": "Gloucestershire"
1420
+ },
1421
+ {
1422
+ "id": "urn:iamproperty:county:G7WiUO5Sh",
1423
+ "county": "Cleveland"
1424
+ },
1425
+ {
1426
+ "id": "urn:iamproperty:county:zu7zHJPWh",
1427
+ "county": "Shropshire"
1428
+ },
1429
+ {
1430
+ "id": "urn:iamproperty:county:Bt301fwoy",
1431
+ "county": "Greater London"
1432
+ },
1433
+ {
1434
+ "id": "urn:iamproperty:county:LXHPqo5nj",
1435
+ "county": "City of Edinburgh"
1436
+ },
1437
+ {
1438
+ "id": "urn:iamproperty:county:YejLSQLAx",
1439
+ "county": "Aberdeen City"
1440
+ },
1441
+ {
1442
+ "id": "urn:iamproperty:county:o5lgD8dv7",
1443
+ "county": "Dundee City"
1444
+ },
1445
+ {
1446
+ "id": "urn:iamproperty:county:0HPMQtb09",
1447
+ "county": "Falkirk"
1448
+ },
1449
+ {
1450
+ "id": "urn:iamproperty:county:z1rPhQlGB",
1451
+ "county": "Glasgow City"
1452
+ },
1453
+ {
1454
+ "id": "urn:iamproperty:county:CskSiG5W0",
1455
+ "county": "Brecknockshire"
1456
+ },
1457
+ {
1458
+ "id": "urn:iamproperty:county:zulaN5fgu",
1459
+ "county": "Caernarfonshire"
1460
+ },
1461
+ {
1462
+ "id": "urn:iamproperty:county:D1YYNRchZ",
1463
+ "county": "Cardiganshire"
1464
+ },
1465
+ {
1466
+ "id": "urn:iamproperty:county:3DDFfQzoP",
1467
+ "county": "Clwyd"
1468
+ },
1469
+ {
1470
+ "id": "urn:iamproperty:county:hBr4CCduy",
1471
+ "county": "Dyfed"
1472
+ },
1473
+ {
1474
+ "id": "urn:iamproperty:county:7wcgGTpU9",
1475
+ "county": "Antrim"
1476
+ },
1477
+ {
1478
+ "id": "urn:iamproperty:county:PKM8DGZbI",
1479
+ "county": "Armagh"
1480
+ },
1481
+ {
1482
+ "id": "urn:iamproperty:county:LrvLXtQv4",
1483
+ "county": "Down"
1484
+ },
1485
+ {
1486
+ "id": "urn:iamproperty:county:HXDwhW1QG",
1487
+ "county": "Fermanagh"
1488
+ },
1489
+ {
1490
+ "id": "urn:iamproperty:county:eRHjMdT0e",
1491
+ "county": "Londonderry"
1492
+ },
1493
+ {
1494
+ "id": "urn:iamproperty:county:Xqs7aJsen",
1495
+ "county": "Tyrone"
1496
+ },
1497
+ {
1498
+ "id": "urn:iamproperty:county:rYAgcPlXZ",
1499
+ "county": "Middlesex"
1500
+ }
1501
+ ];
1502
+ let countriesString = '';
1503
+ countries.forEach((country) => {
1504
+ countriesString += `<option value="${country['id']}" data-value="${country['country_name']}">${country['country_name']}</option>`;
1505
+ });
1506
+ let countiesString = '';
1507
+ counties.forEach((county) => {
1508
+ countiesString += `<option value="${county['id']}" data-value="${county['county']}">${county['county']}</option>`;
1509
+ });
1510
+ window.dataLayer = window.dataLayer || [];
1511
+ window.dataLayer.push({
1512
+ event: 'customElementRegistered',
1513
+ element: 'STD Address Lookup',
1514
+ });
1515
+ class iamSTDAddressLookup extends HTMLElement {
1516
+ constructor() {
1517
+ super();
1518
+ /*
1519
+ this.attachShadow({ mode: 'open' });
1520
+
1521
+ const template = document.createElement('template');
1522
+ template.innerHTML = `
1523
+ <style>
1524
+
1525
+ </style>
1526
+ `;
1527
+ this.shadowRoot?.appendChild(template.content.cloneNode(true));
1528
+ */
1529
+ }
1530
+ connectedCallback() {
1531
+ if (!window.customElements.get(`iam-address-lookup`))
1532
+ window.customElements.define(`iam-address-lookup`, iamAddressLookup);
1533
+ const currentContent = this.innerHTML;
1534
+ this.innerHTML = `<iam-address-lookup
1535
+ class="${this.getAttribute('class')}"
1536
+ data-url="/standardaddress.json?search_query="
1537
+ data-postcode="true"
1538
+ data-min-chars="5"
1539
+ ${this.hasAttribute('data-manual') ? 'data-manual' : ''}
1540
+ ${this.hasAttribute('data-allow-manual') ? 'data-allow-manual' : ''}
1541
+ ${this.hasAttribute('data-use') ? `data-use='${this.getAttribute('data-use')}'` : ''}
1542
+ ${this.hasAttribute('data-use-label') ? `data-use-label='${this.getAttribute('data-use-label')}'` : ''}
1543
+ ${this.hasAttribute('data-postcode-value') ? `data-postcode-value='${this.getAttribute('data-postcode-value')}'` : ''}
1544
+ ${this.hasAttribute('data-list-class') ? `data-list-class='${this.getAttribute('data-list-class')}'` : ''}
1545
+ ${this.hasAttribute('data-input-class') ? `data-input-class='${this.getAttribute('data-input-class')}'` : ''}
1546
+ ${this.hasAttribute('data-error-msg') ? `data-error-msg='${this.getAttribute('data-error-msg')}'` : ''}
1547
+ ${this.hasAttribute('data-use-default') ? `data-use-default` : ''}
1548
+ ${this.hasAttribute('data-force-manual') ? `data-force-manual` : ''}
1549
+ data-postcode-lookup-label="Back to UK postcode lookup">
1550
+
1551
+ <p class="hint pb-2 d-block" slot="hint">Unsure of the postcode? Check with the <a href="https://www.royalmail.com/find-a-postcode" target="_blank"><i class="fa-regular fa-arrow-up-right-from-square"></i>Royal Mail address finder</a></p>
1552
+ <span class="h3 pb-2">Street address</span>
1553
+
1554
+ <fieldset class="atleastone mb-3">
1555
+ <span class="invalid-feedback">You must complete at least one of the highlighted fields.</span>
1556
+
1557
+ <span class="hint mb-4">Please ensure details are provided for at least one of these fields.</span>
1558
+
1559
+ <label class="mb-1">Flat number <input name="sub_building_name" type="text" data-readonly data-required /></label>
1560
+ <span class="hint mb-2">Flat, unit or floor number (e.g. Flat 5, or Floor 6)</span>
1561
+
1562
+ <label class="mb-1">Building name <input name="building_name" type="text" data-required maxlength="50"/></label>
1563
+ <span class="hint mb-2">Name of the house or building</span>
1564
+
1565
+ <label>House Number <input name="building_number" type="text" data-required data-readonly maxlength="50"/></label>
1566
+ <span class="hint mb-2">House or street number (e.g. 42)</span>
1567
+
1568
+ <label class="mb-1">Street 1 <input name="dependent_thoroughfare" type="text" data-readonly data-required maxlength="81"/></label>
1569
+ <span class="hint mb-2">Additional street name </span>
1570
+
1571
+ <label class="mb-1">Street 2 <input name="thoroughfare" type="text" data-readonly data-required maxlength="81"/></label>
1572
+ <span class="hint mb-2">Primary street name</span>
1573
+ </fieldset>
1574
+
1575
+
1576
+ <span class="h3 pb-2">Locality details</span>
1577
+ <label>Area${this.hasAttribute('data-show-required') ? '' : ' (optional)'} <input name="dependent_locality" type="text" maxlength="35" data-readonly/></label>
1578
+ <label>Village${this.hasAttribute('data-show-required') ? '' : ' (optional)'} <input name="locality" type="text" maxlength="35" data-readonly/></label>
1579
+ <label>Town / City${this.hasAttribute('data-show-required') ? '' : ' (optional)'} <input name="post_town" type="text" maxlength="30" data-readonly/></label>
1580
+ <label>County${this.hasAttribute('data-show-required') && this.hasAttribute('data-county-required') ? '*' : (!this.hasAttribute('data-show-required') && !this.hasAttribute('data-county-required') ? ' (optional)' : '')}
1581
+ <select name="postal_county" ${this.hasAttribute('data-county-required') ? 'data-required' : ''} data-readonly>
1582
+ <option></option>
1583
+ ${countiesString}
1584
+ </select></label>
1585
+ <label>Postcode${this.hasAttribute('data-show-required') ? '*' : ''} <input name="postcode" type="text" data-required data-readonly maxlength="8" ${this.hasAttribute('data-required') ? ' required' : ''}/></label>
1586
+ <label>Country${this.hasAttribute('data-show-required') && this.hasAttribute('data-country-required') ? '*' : (!this.hasAttribute('data-show-required') && !this.hasAttribute('data-county-required') ? ' (optional)' : '')}
1587
+ <select name="region" data-readonly ${this.hasAttribute('data-country-required') ? 'data-required' : ''}>
1588
+ <option value=""></option>
1589
+ <option value="urn:iamproperty:region:qo7jMNaA4" data-value="England">England</option>
1590
+ <option value="urn:iamproperty:region:JPBkFjL6I" data-value="Scotland">Scotland</option>
1591
+ <option value="urn:iamproperty:region:3lqe2D3qO" data-value="Wales">Wales</option>
1592
+ <option value="urn:iamproperty:region:Tm5pOBfK9" data-value="Northern Ireland">Northern Ireland</option>
1593
+ <option value="urn:iamproperty:region:ZwIRAnNJo" data-value="Channel Islands">Channel Islands</option>
1594
+ <option value="urn:iamproperty:region:8CIOi1khw" data-value="Jersey">Jersey</option>
1595
+ <option value="urn:iamproperty:region:qHdx7tNtL" data-value="Guernsey">Guernsey</option>
1596
+ <option value="urn:iamproperty:region:DH6LU70lY" data-value="Isle of Man">Isle of Man</option>
1597
+ </select>
1598
+ </label>
1599
+
1600
+ ${this.hasAttribute('data-allow-overseas') ?
1601
+ `<fieldset class="overseas">
1602
+
1603
+ <span class="h3 pb-2">Street address</span>
1604
+
1605
+ <fieldset class="overseas-atleastone">
1606
+ <span class="invalid-feedback">You must complete at least one of the highlighted fields.</span>
1607
+
1608
+ <span class="hint mb-4">Please ensure details are provided for at least one of these fields.</span>
1609
+
1610
+
1611
+ <label class="mb-1">Flat number${this.hasAttribute('data-show-required') ? '*' : ''} <input name="overseas[sub_building_name]" type="text" data-overseas-required /></label>
1612
+ <span class="hint d-block mb-2">Flat, unit or floor number (e.g. Flat 5, or Floor 6)</span>
1613
+
1614
+ <label class="mb-1">Building name${this.hasAttribute('data-show-required') ? '*' : ''} <input name="overseas[building_name]" type="text" data-overseas-required maxlength="50" /></label>
1615
+ <span class="hint d-block mb-2">Name of the house or building</span>
1616
+
1617
+ <label class="mb-1">House number${this.hasAttribute('data-show-required') ? '*' : ''} <input name="overseas[building_number]" type="text" data-overseas-required maxlength="50" /></label>
1618
+ <span class="hint d-block mb-2">House or street number (e.g. 42)</span>
1619
+
1620
+ <label class="mb-2">Street name${this.hasAttribute('data-show-required') ? '*' : ''} <input name="overseas[thoroughfare]" type="text" data-overseas-required maxlength="81" /></label>
1621
+ </fieldset>
1622
+ <span class="h3 pb-2">Locality details</span>
1623
+
1624
+
1625
+
1626
+ <label class="mb-1">Locality${this.hasAttribute('data-show-required') ? '' : ' (optional)'} <input name="overseas[dependent_locality]" type="text" /></label>
1627
+ <span class="hint d-block mb-2">Main locality, such as the village, suburb, or district</span>
1628
+
1629
+
1630
+ <label>Town / City${this.hasAttribute('data-show-required') ? '' : ' (optional)'} <input name="overseas[post_town]" type="text" maxlength="30" /></label>
1631
+ <label>State / Province / Region${this.hasAttribute('data-show-required') ? '' : ' (optional)'} <input name="overseas[double_dependent_locality]" type="text" /></label>
1632
+ <label>Postcode / ZIP code${this.hasAttribute('data-show-required') ? '' : ' (optional)'} <input name="overseas[zip_code]" type="text" /></label>
1633
+
1634
+ <label>Country <select name="overseas[country_code]" data-overseas-required>
1635
+ <option value=""></option>
1636
+ ${countriesString}
1637
+ <option value="urn:als:country:ndjIqa72" data-value="Poland">Poland</option>
1638
+ </select></label>
1639
+ </fieldset>
1640
+
1641
+ <button slot="actions" type="button" id="overseasToggle" class="link toggleOverseas">Use overseas address</button>` : ''}
1642
+
1643
+ <div class="bg-light text-center px-3" slot="afterList">
1644
+ <p class="p-2">Can't find an address? Check details with the <br/><a href="" class="fa-new"><i class="fa-regular fa-arrow-up-right-from-square"></i>Royal mail address finder</a></p>
1645
+ ${this.hasAttribute('data-allow-overseas') ? `<hr/><p class="p-2">If the address doesn’t exist you can enter manually <br /><button type="button" id="overseasToggleInline" class="mt-1 mb-0 btn btn-action"><i class="fa-regular fa-edit me-1"></i>Enter address manually</button></p>` : ''}
1646
+ </div>
1647
+ <div class="bg-light text-center px-3" slot="beforeList">
1648
+ <p class="p-2"><span class="default">Welsh</span><span class="alt">English</span> language addresses are available <br /><button type="button" id="languageToggle" class="mt-1 mb-0 btn btn-action"><i class="fa-regular fa-globe me-1"></i>Show addresses in <span class="default">Welsh</span><span class="alt">English</span></button></p>
1649
+ </div>
1650
+ ${currentContent}
1651
+ </iam-address-lookup>`;
1652
+ const addressComponent = this.querySelector('iam-address-lookup');
1653
+ const overseasToggle = this.querySelector('#overseasToggle');
1654
+ const overseasToggleInline = this.querySelector('#overseasToggleInline');
1655
+ const languageToggle = this.querySelector('#languageToggle');
1656
+ const atleastone = this.querySelector('.overseas-atleastone');
1657
+ const overseasFields = this.querySelector('.overseas');
1658
+ const openOverseas = () => {
1659
+ const updateEvent = new CustomEvent('open-manual');
1660
+ addressComponent.dispatchEvent(updateEvent);
1661
+ this.classList.add('show-overseas');
1662
+ Array.from(addressComponent.querySelectorAll('[data-required]')).forEach((input) => {
1663
+ input.removeAttribute('required');
1664
+ });
1665
+ Array.from(overseasFields.querySelectorAll('[data-overseas-required]')).forEach((input) => {
1666
+ input.setAttribute('required', 'true');
1667
+ });
1668
+ };
1669
+ overseasToggle === null || overseasToggle === void 0 ? void 0 : overseasToggle.addEventListener('click', () => {
1670
+ if (!this.classList.contains('show-overseas')) {
1671
+ openOverseas();
1672
+ }
1673
+ });
1674
+ overseasToggleInline === null || overseasToggleInline === void 0 ? void 0 : overseasToggleInline.addEventListener('click', () => {
1675
+ if (!this.classList.contains('show-overseas')) {
1676
+ openOverseas();
1677
+ }
1678
+ });
1679
+ addressComponent === null || addressComponent === void 0 ? void 0 : addressComponent.addEventListener('switch-to-lookup', () => {
1680
+ this.classList.remove('show-overseas');
1681
+ Array.from(overseasFields.querySelectorAll('[data-overseas-required]')).forEach((input) => {
1682
+ input.setAttribute('required', 'true');
1683
+ });
1684
+ });
1685
+ languageToggle === null || languageToggle === void 0 ? void 0 : languageToggle.addEventListener('click', () => {
1686
+ if (!addressComponent.classList.contains('show-welsh')) {
1687
+ addressComponent.classList.add('show-welsh');
1688
+ addressComponent === null || addressComponent === void 0 ? void 0 : addressComponent.setAttribute('data-url-2', '&welsh_language=true');
1689
+ }
1690
+ else {
1691
+ addressComponent.classList.remove('show-welsh');
1692
+ addressComponent === null || addressComponent === void 0 ? void 0 : addressComponent.setAttribute('data-url-2', '&welsh_language=false');
1693
+ }
1694
+ const updateEvent = new CustomEvent('search');
1695
+ addressComponent.dispatchEvent(updateEvent);
1696
+ languageToggle.focus();
1697
+ });
1698
+ atleastone === null || atleastone === void 0 ? void 0 : atleastone.addEventListener('input', (e) => {
1699
+ Array.from(atleastone.querySelectorAll('[data-overseas-required]')).forEach((input) => {
1700
+ input.setAttribute('required', 'true');
1701
+ });
1702
+ if (atleastone.querySelector('input:valid, input.is-valid')) {
1703
+ Array.from(atleastone.querySelectorAll('input')).forEach(element => {
1704
+ element.removeAttribute('required');
1705
+ });
1706
+ }
1707
+ else {
1708
+ Array.from(atleastone.querySelectorAll('input')).forEach((input) => {
1709
+ input.setAttribute('required', 'true');
1710
+ });
1711
+ }
1712
+ });
1713
+ }
1714
+ }
1715
+ export default iamSTDAddressLookup;