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