{"version":3,"sources":["webpack:///./src/components/remote-devices-list-component/remote-devices-list.scss?96b7","webpack:///./src/components/remote-devices-list-component/datagrid-component/datagrid.scss?62db","webpack:///./src/components/remote-devices-list-component/remote-devices-list.html","webpack:///./src/components/remote-devices-list-component/datagrid-component/datagrid.html","webpack:///./src/components/remote-devices-list-component/datagrid-component/datagrid.ts","webpack:///./src/components/remote-devices-list-component/datagrid-component/datagrid.ts?2c03","webpack:///./src/components/remote-devices-list-component/datagrid-component/datagrid.vue","webpack:///./src/components/remote-devices-list-component/remote-devices-list.ts","webpack:///./src/components/remote-devices-list-component/remote-devices-list.ts?71b5","webpack:///./src/components/remote-devices-list-component/remote-devices-list.vue","webpack:///./node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack:///./src/utils/countriesLabelConverter.ts","webpack:///./node_modules/core-js/modules/es.symbol.iterator.js","webpack:///./node_modules/core-js/internals/well-known-symbol-define.js","webpack:///./node_modules/core-js/internals/well-known-symbol-wrapped.js"],"names":["render","_vm","this","_h","$createElement","_c","_self","isMobileFormat","_e","attrs","columnsHeaders","remotesDevices","loading","pagination","paginationOption","$t","totalItems","on","$event","scopedSlots","_u","key","fn","props","staticClass","_v","_s","item","siteId","countryCode","city","getStatus","siteStatus","color","label","openDetailRemoteDevice","addNewRemoteDevice","class","hasAlert","text","staticRenderFns","gridItems","gridFields","currentPage","perPage","filter","sortBy","sortDesc","sortDirection","onFiltered","row","domProps","mycomputedprop","toggleDetails","detailsShowing","_l","value","name","params","id","redirectToDocs","totalRows","model","callback","$$v","expression","modalInfo","title","resetModal","content","DatagridComponent","_Vue","_this","_classCallCheck","_callSuper","pageOptions","Array","length","_inherits","_createClass","get","f","sortable","map","index","button","concat","JSON","stringify","$root","$emit","filteredItems","path","applicationStore","commit","$router","push","CountriesLabelConverter","getCountryName","Vue","__decorate","Prop","Component","component","RemoteDevicesListComponent","restService","prototype","$restService","isMobile","rowsPerPage","page","totalPage","totalVisible","i18n","t","align","_this2","getRemoteDevices","then","result","data","Math","ceil","catch","error","console","window","innerWidth","router","setRemoteDevices","components","_defineProperty","e","r","toPropertyKey","Object","defineProperty","enumerable","configurable","writable","isoCountries","AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BA","BW","BV","BR","IO","BN","BG","BF","BI","KH","CM","CA","CV","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CY","CZ","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","AN","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SK","SI","SB","SO","ZA","GS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW","Symbol","iterator","_regeneratorRuntime","mark","_callee","properties","_i","_properties","i","wrap","_context","prev","next","keys","stop","hasOwnProperty","defineWellKnownSymbol","hasOwn","wrappedWellKnownSymbolModule","module","exports","NAME","wellKnownSymbol"],"mappings":"kHAAA,W,kCCAA,W,yCCAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAG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yDC7P5C,IAAIsQ,EAAwB,EAAQ,QAIpCA,EAAsB,a,kCCJtB,IAAItT,EAAO,EAAQ,QACfuT,EAAS,EAAQ,QACjBC,EAA+B,EAAQ,QACvC5Q,EAAiB,EAAQ,QAAuCvD,EAEpEoU,EAAOC,QAAU,SAAUC,GACzB,IAAIrB,EAAStS,EAAKsS,SAAWtS,EAAKsS,OAAS,IACtCiB,EAAOjB,EAAQqB,IAAO/Q,EAAe0P,EAAQqB,EAAM,CACtD/V,MAAO4V,EAA6BnU,EAAEsU,O,kCCR1C,IAAIC,EAAkB,EAAQ,QAE9BF,EAAQrU,EAAIuU,G","file":"js/chunk-28b9d4c0.84e4c98c.js","sourcesContent":["export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./remote-devices-list.scss?vue&type=style&index=0&id=865bdc18&prod&scoped=true&lang=scss&external\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./datagrid.scss?vue&type=style&index=0&id=6d6e01a7&prod&scoped=true&lang=scss&external\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',[(!_vm.isMobileFormat)?_c('v-container',{attrs:{\"container-fluid\":\"\",\"pr-0\":\"\",\"mt-5\":\"\"}},[_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"xs12\":\"\",\"pb-5\":\"\"}},[_c('v-data-table',{attrs:{\"headers\":_vm.columnsHeaders,\"items\":_vm.remotesDevices,\"loading\":_vm.loading,\"pagination\":_vm.pagination,\"rows-per-page-items\":_vm.pagination.paginationOption,\"rows-per-page-text\":_vm.$t('common.rowsPerPage'),\"total-items\":_vm.pagination.totalItems,\"no-data-text\":_vm.$t('common.noData')},on:{\"update:pagination\":function($event){_vm.pagination=$event}},scopedSlots:_vm._u([{key:\"items\",fn:function(props){return [_c('td',{staticClass:\"text-xs-center\"},[_vm._v(\"\\n \"+_vm._s(props.item.siteId))]),_c('td',{staticClass:\"text-xs-center\"},[_c('flag',{attrs:{\"iso\":props.item.countryCode}})],1),_c('td',{staticClass:\"text-xs-center\"},[_vm._v(\"\\n \"+_vm._s(props.item.city)+\"\\n \")]),_c('td',{staticClass:\"text-xs-center\"},[_c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('v-chip',{attrs:{\"label\":\"\",\"text-color\":\"white\",\"color\":_vm.getStatus(props.item.siteStatus).color}},[_vm._v(\"\\n \"+_vm._s(_vm.getStatus(props.item.siteStatus).label))])],1)],1),_c('td',{staticClass:\"text-xs-right\"},[_c('v-btn',{attrs:{\"color\":\"primary\"},on:{\"click\":function($event){return _vm.openDetailRemoteDevice(props.item.siteId)}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"remoteDevice.listSummary.details\")))])],1)]}}],null,false,2793535456)}),_c('v-btn',{attrs:{\"color\":\"primary\",\"dark\":\"\",\"center\":\"\"},on:{\"click\":function($event){return _vm.addNewRemoteDevice()}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"remoteDevice.listSummary.addRemote\"))+\"\\n \")])],1)],1)],1):_vm._e(),(_vm.isMobileFormat)?_c('v-container',{attrs:{\"mt-5\":\"\",\"mb-4\":\"\"}},[_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('v-data-iterator',{attrs:{\"items\":_vm.remotesDevices,\"content-tag\":\"v-layout\",\"hide-actions\":\"\",\"row\":\"\",\"wrap\":\"\",\"mr-3\":\"\",\"ml-3\":\"\",\"pb-3\":\"\"},scopedSlots:_vm._u([{key:\"item\",fn:function(props){return [_c('v-flex',{attrs:{\"xs12\":\"\",\"mb-2\":\"\"}},[_c('v-card',[_c('v-list',{class:{'alertRow' : props.item.hasAlert},attrs:{\"dense\":\"\"}},[_c('v-list-tile',[_c('v-list-tile-content',[_vm._v(_vm._s(_vm.columnsHeaders[0].text))]),_c('v-list-tile-content',{staticClass:\"align-end\"},[_vm._v(\"\\n \"+_vm._s(props.item.siteId)+\"\\n \")])],1),_c('v-list-tile',[_c('v-list-tile-content',[_vm._v(_vm._s(_vm.columnsHeaders[1].text))]),_c('v-list-tile-content',{staticClass:\"align-end\"},[_c('flag',{attrs:{\"iso\":props.item.countryCode}})],1)],1),_c('v-list-tile',[_c('v-list-tile-content',[_vm._v(_vm._s(_vm.columnsHeaders[2].text))]),_c('v-list-tile-content',{staticClass:\"align-end\"},[_vm._v(\"\\n \"+_vm._s(props.item.city)+\"\\n \")])],1),_c('v-list-tile',[_c('v-list-tile-content',[_vm._v(_vm._s(_vm.columnsHeaders[3].text))]),_c('v-list-tile-content',{staticClass:\"align-end\"},[_vm._v(\"\\n \"+_vm._s(_vm.getStatus(props.item.siteStatus).label)+\"\\n \")])],1),_c('v-list-tile',[_c('v-list-tile-content',{staticClass:\"align-center\"},[_c('v-btn',{attrs:{\"color\":\"primary\"},on:{\"click\":function($event){return _vm.openDetailRemoteDevice(props.item.siteId)}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"remoteDevice.listSummary.details\")))])],1)],1)],1)],1)],1)]}}],null,false,834356016)})],1),_c('v-flex',{attrs:{\"center\":\"\",\"offset-xs2\":\"\",\"xs8\":\"\"}},[_c('v-btn',{attrs:{\"color\":\"primary\",\"dark\":\"\",\"center\":\"\"},on:{\"click\":function($event){return _vm.addNewRemoteDevice()}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"remoteDevice.listSummary.addRemote\"))+\"\\n \")])],1)],1)],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-container',{attrs:{\"fluid\":\"fluid\"}},[_c('b-row',{staticClass:\"translate-filter-position justify-content-center\",attrs:{\"id\":\"filter\"}},[_c('b-col',{staticClass:\"my-1\",attrs:{\"md\":\"6\"}},[_c('b-form-group',{attrs:{\"label-cols-sm\":\"3\",\"dclass\":\"mb-0\"}},[_c('b-input-group')],1)],1)],1),_c('b-table',{staticClass:\"table\",attrs:{\"striped\":\"striped\",\"small\":\"small\",\"show-empty\":\"show-empty\",\"stacked\":\"md\",\"items\":_vm.gridItems,\"fields\":_vm.gridFields,\"current-page\":_vm.currentPage,\"per-page\":_vm.perPage,\"filter\":_vm.filter,\"sort-by\":_vm.sortBy,\"sort-desc\":_vm.sortDesc,\"sort-direction\":_vm.sortDirection},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"update:sortDesc\":function($event){_vm.sortDesc=$event},\"update:sort-desc\":function($event){_vm.sortDesc=$event},\"filtered\":_vm.onFiltered},scopedSlots:_vm._u([{key:\"checkBox\",fn:function(row){return [_c('b-form-checkbox')]}},{key:\"countryCode\",fn:function(row){return [_c('div',{staticClass:\"country\"},[_c('flag',{staticClass:\"flag\",attrs:{\"iso\":row.item.countryCode}}),_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.mycomputedprop(row.item.countryCode))}})],1)]}},{key:\"siteStatus\",fn:function(row){return [(row.item.siteStatus === 0)?_c('div',[_c('div',{staticClass:\"bg-info text-white\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('remoteDevice.status.await'))+\"\\n \")])]):(row.item.siteStatus === 1)?_c('div',[_c('div',{staticClass:\"bg-success text-white\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('remoteDevice.status.active'))+\"\\n \")])]):(row.item.siteStatus === 2)?_c('div',[_c('div',{staticClass:\"bg-secondary text-white\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('remoteDevice.status.disabled'))+\"\\n \")])]):_c('div',[_c('div',{staticClass:\"bg-danger text-white\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('remoteDevice.status.outOfService'))+\"\\n \")])])]}},{key:\"actions\",fn:function(row){return [_c('b-button',{attrs:{\"size\":\"sm\"},on:{\"click\":row.toggleDetails}},[_vm._v(\"\\n \"+_vm._s(row.detailsShowing ? 'Hide' : 'Show')+\" Details\\n \")])]}},{key:\"row-details\",fn:function(row){return [_c('b-card',[_c('ul',_vm._l((row.item),function(value,key){return _c('li',{key:key},[_vm._v(\"\\n \"+_vm._s(key)+\": \"+_vm._s(value)+\"\\n \")])}),0)])]}},{key:\"redirect-to-details\",fn:function(row){return [_c('b-button',{attrs:{\"size\":\"sm\",\"to\":{ name: 'remote-device', params: { id: row.item.siteId } }}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('remoteDevice.listSummary.details')))])]}},{key:\"view-directory-content\",fn:function(row){return [_c('b-button',{attrs:{\"size\":\"sm\"},on:{\"click\":function($event){return _vm.redirectToDocs(row.item.name)}}},[_vm._v(\"\\n Open\")])]}}])}),_c('b-row',[_c('b-col',{staticClass:\"my-1\",attrs:{\"md\":\"6\"}},[_c('b-pagination',{staticClass:\"my-0\",attrs:{\"total-rows\":_vm.totalRows,\"per-page\":_vm.perPage},model:{value:(_vm.currentPage),callback:function ($$v) {_vm.currentPage=$$v},expression:\"currentPage\"}})],1)],1),_c('b-modal',{attrs:{\"id\":\"modalInfo\",\"title\":_vm.modalInfo.title,\"ok-only\":\"ok-only\"},on:{\"hide\":_vm.resetModal}},[_c('pre',[_vm._v(_vm._s(_vm.modalInfo.content))])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { Vue, Component, Prop } from \"vue-property-decorator\";\nimport applicationStore from \"@/shared/stores/applicationStore\";\nimport CountriesLabelConverter from \"@/utils/countriesLabelConverter\";\n\n@Component\nexport default class DatagridComponent extends Vue {\n @Prop({}) public gridItems;\n @Prop({}) public gridFields;\n\n public currentPage: number;\n public perPage: number;\n public totalRows: number;\n public pageOptions: Array;\n public sortBy: string;\n public sortDesc: boolean;\n public sortDirection: string;\n public filter: string;\n public modalInfo: { title: string; content: string };\n\n constructor() {\n super();\n this.filter = \"\";\n this.sortBy = \"\";\n this.currentPage = 1;\n this.perPage = 10;\n this.pageOptions = new Array(5, 10, 15);\n this.sortDesc = false;\n this.sortDirection = \"asc\";\n this.modalInfo = { title: \"\", content: \"\" };\n this.totalRows = this.gridItems.length;\n }\n\n get sortOptions() {\n return this.gridFields\n .filter((f) => f.sortable)\n .map((f) => {\n return { text: f.label, value: f.key };\n });\n }\n\n public info(item, index, button) {\n this.modalInfo.title = `Row index: ${index}`;\n this.modalInfo.content = JSON.stringify(item, null, 2);\n this.$root.$emit(\"bv::show::modal\", \"modalInfo\", button);\n }\n\n public resetModal() {\n this.modalInfo.title = \"\";\n this.modalInfo.content = \"\";\n }\n\n public onFiltered(filteredItems) {\n // Trigger pagination to update the number of buttons/pages due to filtering\n this.totalRows = filteredItems.length;\n this.currentPage = 1;\n }\n\n public redirectToDocs(path: string) {\n applicationStore.commit(\"setNextPagePath\", path);\n this.$router.push({ name: \"docs\" });\n }\n\n public mycomputedprop(countryCode: string) {\n return \" \".concat(CountriesLabelConverter.getCountryName(countryCode));\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/ts-loader/index.js??ref--13-3!./datagrid.ts?vue&type=script&lang=js&external\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/ts-loader/index.js??ref--13-3!./datagrid.ts?vue&type=script&lang=js&external\"","import { render, staticRenderFns } from \"./datagrid.html?vue&type=template&id=6d6e01a7&scoped=true&external\"\nimport script from \"./datagrid.ts?vue&type=script&lang=js&external\"\nexport * from \"./datagrid.ts?vue&type=script&lang=js&external\"\nimport style0 from \"./datagrid.scss?vue&type=style&index=0&id=6d6e01a7&prod&scoped=true&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6d6e01a7\",\n null\n \n)\n\nexport default component.exports","import Vue from \"vue\";\nimport Component from \"vue-class-component\";\nimport DatagridComponent from \"@/components/remote-devices-list-component/datagrid-component/datagrid\";\nimport { RestService } from \"@/services/rest-service\";\nimport { i18n} from \"@/main\";\nimport applicationStore from \"@/shared/stores/applicationStore\";\nimport { TranslateResult } from \"vue-i18n\";\nimport { isMobile } from \"mobile-device-detect\";\nimport router from \"@/router\";\n\n\n@Component({\n components: { RemoteDevicesListComponent, DatagridComponent }\n})\nexport default class RemoteDevicesListComponent extends Vue {\n public name: string;\n public remotesDevices: Array;\n\n private restService: RestService;\n private isMobileFormat: boolean;\n private loading: boolean = false;\n\n //pagination\n private pagination: {\n rowsPerPage: number,\n page: number,\n totalItems: number,\n totalPage: number,\n totalVisible: number\n paginationOption: Array\n };\n private page: string;\n\n constructor() {\n super();\n this.name = \"remote-devices-list-vue\";\n this.restService = Vue.prototype.$restService;\n applicationStore.commit(\"deactivateSearchBar\");\n this.remotesDevices = new Array();\n\n this.isMobileFormat = isMobile;\n this.pagination = {\n rowsPerPage: 15,\n page: 1,\n totalItems: 0,\n totalPage: 1,\n totalVisible: 5,\n paginationOption: new Array(15, 50, 100)\n };\n\n this.page = \"add\";\n }\n\n get columnsHeaders() {\n return [\n {\n value: \"siteId\",\n text: i18n.t(\"remoteDevice.fields.siteId\"),\n sortable: false,\n align: \"center\"\n },\n {\n value: \"countryCode\",\n text: i18n.t(\"remoteDevice.fields.country\"),\n sortable: false,\n align: \"center\"\n },\n {\n value: \"city\",\n text: i18n.t(\"remoteDevice.fields.city\"),\n sortable: false,\n align: \"center\"\n },\n {\n value: \"siteStatus\",\n text: i18n.t(\"remoteDevice.fields.status\"),\n sortable: false,\n align: \"center\"\n },\n { value: \"redirect-to-details\", text: \"\", align: \"center\" }\n ];\n}\n\n public data() {\n return {\n remotesDevices: this.remotesDevices\n };\n }\n\n public getStatus(siteStatus: number): { label: TranslateResult, color: string } {\n switch (siteStatus) {\n case 0: {\n return { label: i18n.t(\"remoteDevice.status.await\"), color: \"primary\" };\n }\n case 1: {\n return { label: i18n.t(\"remoteDevice.status.active\"), color: \"success\" };\n }\n case 2: {\n return { label: i18n.t(\"remoteDevice.status.disabled\"), color: \"grey\" };\n }\n default: {\n return { label: i18n.t(\"remoteDevice.status.outOfService\"), color: \"error\" };\n }\n }\n }\n\n public setRemoteDevices() {\n this.loading = true;\n this.restService\n .getRemoteDevices()\n .then((result) => {\n this.remotesDevices = result.data;\n this.pagination.totalPage = Math.ceil(result.data.length / this.pagination.rowsPerPage);\n this.loading = false;\n })\n .catch((error) => {\n this.loading = false;\n // tslint:disable-next-line:no-console\n console.error(\"Can't connect to Aquatrack server. \" + error);\n });\n }\n\n public onResize() {\n if (window.innerWidth < 800 || isMobile) {\n this.isMobileFormat = true;\n } else {\n this.isMobileFormat = false;\n }\n }\n\n public openDetailRemoteDevice(siteId: string) {\n router.push({name: \"remote-device\", params: { id: siteId }});\n }\n\n public addNewRemoteDevice() {\n router.push({\n name: \"add-remote-devices\",\n params: { page: \"add\" }\n\n });\n }\n\n private mounted() {\n this.setRemoteDevices();\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/ts-loader/index.js??ref--13-3!./remote-devices-list.ts?vue&type=script&lang=js&external\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/ts-loader/index.js??ref--13-3!./remote-devices-list.ts?vue&type=script&lang=js&external\"","import { render, staticRenderFns } from \"./remote-devices-list.html?vue&type=template&id=865bdc18&scoped=true&external\"\nimport script from \"./remote-devices-list.ts?vue&type=script&lang=js&external\"\nexport * from \"./remote-devices-list.ts?vue&type=script&lang=js&external\"\nimport style0 from \"./remote-devices-list.scss?vue&type=style&index=0&id=865bdc18&prod&scoped=true&lang=scss&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"865bdc18\",\n null\n \n)\n\nexport default component.exports","import toPropertyKey from \"./toPropertyKey.js\";\nfunction _defineProperty(e, r, t) {\n return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {\n value: t,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }) : e[r] = t, e;\n}\nexport { _defineProperty as default };","const isoCountries = {\n AF: \"Afghanistan\",\n AX: \"Aland Islands\",\n AL: \"Albania\",\n DZ: \"Algeria\",\n AS: \"American Samoa\",\n AD: \"Andorra\",\n AO: \"Angola\",\n AI: \"Anguilla\",\n AQ: \"Antarctica\",\n AG: \"Antigua And Barbuda\",\n AR: \"Argentina\",\n AM: \"Armenia\",\n AW: \"Aruba\",\n AU: \"Australia\",\n AT: \"Austria\",\n AZ: \"Azerbaijan\",\n BS: \"Bahamas\",\n BH: \"Bahrain\",\n BD: \"Bangladesh\",\n BB: \"Barbados\",\n BY: \"Belarus\",\n BE: \"Belgium\",\n BZ: \"Belize\",\n BJ: \"Benin\",\n BM: \"Bermuda\",\n BT: \"Bhutan\",\n BO: \"Bolivia\",\n BA: \"Bosnia And Herzegovina\",\n BW: \"Botswana\",\n BV: \"Bouvet Island\",\n BR: \"Brazil\",\n IO: \"British Indian Ocean Territory\",\n BN: \"Brunei Darussalam\",\n BG: \"Bulgaria\",\n BF: \"Burkina Faso\",\n BI: \"Burundi\",\n KH: \"Cambodia\",\n CM: \"Cameroon\",\n CA: \"Canada\",\n CV: \"Cape Verde\",\n KY: \"Cayman Islands\",\n CF: \"Central African Republic\",\n TD: \"Chad\",\n CL: \"Chile\",\n CN: \"China\",\n CX: \"Christmas Island\",\n CC: \"Cocos (Keeling) Islands\",\n CO: \"Colombia\",\n KM: \"Comoros\",\n CG: \"Congo\",\n CD: \"Congo, Democratic Republic\",\n CK: \"Cook Islands\",\n CR: \"Costa Rica\",\n CI: \"Cote D'Ivoire\",\n HR: \"Croatia\",\n CU: \"Cuba\",\n CY: \"Cyprus\",\n CZ: \"Czech Republic\",\n DK: \"Denmark\",\n DJ: \"Djibouti\",\n DM: \"Dominica\",\n DO: \"Dominican Republic\",\n EC: \"Ecuador\",\n EG: \"Egypt\",\n SV: \"El Salvador\",\n GQ: \"Equatorial Guinea\",\n ER: \"Eritrea\",\n EE: \"Estonia\",\n ET: \"Ethiopia\",\n FK: \"Falkland Islands (Malvinas)\",\n FO: \"Faroe Islands\",\n FJ: \"Fiji\",\n FI: \"Finland\",\n FR: \"France\",\n GF: \"French Guiana\",\n PF: \"French Polynesia\",\n TF: \"French Southern Territories\",\n GA: \"Gabon\",\n GM: \"Gambia\",\n GE: \"Georgia\",\n DE: \"Germany\",\n GH: \"Ghana\",\n GI: \"Gibraltar\",\n GR: \"Greece\",\n GL: \"Greenland\",\n GD: \"Grenada\",\n GP: \"Guadeloupe\",\n GU: \"Guam\",\n GT: \"Guatemala\",\n GG: \"Guernsey\",\n GN: \"Guinea\",\n GW: \"Guinea-Bissau\",\n GY: \"Guyana\",\n HT: \"Haiti\",\n HM: \"Heard Island & Mcdonald Islands\",\n VA: \"Holy See (Vatican City State)\",\n HN: \"Honduras\",\n HK: \"Hong Kong\",\n HU: \"Hungary\",\n IS: \"Iceland\",\n IN: \"India\",\n ID: \"Indonesia\",\n IR: \"Iran, Islamic Republic Of\",\n IQ: \"Iraq\",\n IE: \"Ireland\",\n IM: \"Isle Of Man\",\n IL: \"Israel\",\n IT: \"Italy\",\n JM: \"Jamaica\",\n JP: \"Japan\",\n JE: \"Jersey\",\n JO: \"Jordan\",\n KZ: \"Kazakhstan\",\n KE: \"Kenya\",\n KI: \"Kiribati\",\n KR: \"Korea\",\n KW: \"Kuwait\",\n KG: \"Kyrgyzstan\",\n LA: \"Lao People's Democratic Republic\",\n LV: \"Latvia\",\n LB: \"Lebanon\",\n LS: \"Lesotho\",\n LR: \"Liberia\",\n LY: \"Libyan Arab Jamahiriya\",\n LI: \"Liechtenstein\",\n LT: \"Lithuania\",\n LU: \"Luxembourg\",\n MO: \"Macao\",\n MK: \"Macedonia\",\n MG: \"Madagascar\",\n MW: \"Malawi\",\n MY: \"Malaysia\",\n MV: \"Maldives\",\n ML: \"Mali\",\n MT: \"Malta\",\n MH: \"Marshall Islands\",\n MQ: \"Martinique\",\n MR: \"Mauritania\",\n MU: \"Mauritius\",\n YT: \"Mayotte\",\n MX: \"Mexico\",\n FM: \"Micronesia, Federated States Of\",\n MD: \"Moldova\",\n MC: \"Monaco\",\n MN: \"Mongolia\",\n ME: \"Montenegro\",\n MS: \"Montserrat\",\n MA: \"Morocco\",\n MZ: \"Mozambique\",\n MM: \"Myanmar\",\n NA: \"Namibia\",\n NR: \"Nauru\",\n NP: \"Nepal\",\n NL: \"Netherlands\",\n AN: \"Netherlands Antilles\",\n NC: \"New Caledonia\",\n NZ: \"New Zealand\",\n NI: \"Nicaragua\",\n NE: \"Niger\",\n NG: \"Nigeria\",\n NU: \"Niue\",\n NF: \"Norfolk Island\",\n MP: \"Northern Mariana Islands\",\n NO: \"Norway\",\n OM: \"Oman\",\n PK: \"Pakistan\",\n PW: \"Palau\",\n PS: \"Palestinian Territory, Occupied\",\n PA: \"Panama\",\n PG: \"Papua New Guinea\",\n PY: \"Paraguay\",\n PE: \"Peru\",\n PH: \"Philippines\",\n PN: \"Pitcairn\",\n PL: \"Poland\",\n PT: \"Portugal\",\n PR: \"Puerto Rico\",\n QA: \"Qatar\",\n RE: \"Reunion\",\n RO: \"Romania\",\n RU: \"Russian Federation\",\n RW: \"Rwanda\",\n BL: \"Saint Barthelemy\",\n SH: \"Saint Helena\",\n KN: \"Saint Kitts And Nevis\",\n LC: \"Saint Lucia\",\n MF: \"Saint Martin\",\n PM: \"Saint Pierre And Miquelon\",\n VC: \"Saint Vincent And Grenadines\",\n WS: \"Samoa\",\n SM: \"San Marino\",\n ST: \"Sao Tome And Principe\",\n SA: \"Saudi Arabia\",\n SN: \"Senegal\",\n RS: \"Serbia\",\n SC: \"Seychelles\",\n SL: \"Sierra Leone\",\n SG: \"Singapore\",\n SK: \"Slovakia\",\n SI: \"Slovenia\",\n SB: \"Solomon Islands\",\n SO: \"Somalia\",\n ZA: \"South Africa\",\n GS: \"South Georgia And Sandwich Isl.\",\n ES: \"Spain\",\n LK: \"Sri Lanka\",\n SD: \"Sudan\",\n SR: \"Suriname\",\n SJ: \"Svalbard And Jan Mayen\",\n SZ: \"Swaziland\",\n SE: \"Sweden\",\n CH: \"Switzerland\",\n SY: \"Syrian Arab Republic\",\n TW: \"Taiwan\",\n TJ: \"Tajikistan\",\n TZ: \"Tanzania\",\n TH: \"Thailand\",\n TL: \"Timor-Leste\",\n TG: \"Togo\",\n TK: \"Tokelau\",\n TO: \"Tonga\",\n TT: \"Trinidad And Tobago\",\n TN: \"Tunisia\",\n TR: \"Turkey\",\n TM: \"Turkmenistan\",\n TC: \"Turks And Caicos Islands\",\n TV: \"Tuvalu\",\n UG: \"Uganda\",\n UA: \"Ukraine\",\n AE: \"United Arab Emirates\",\n GB: \"United Kingdom\",\n US: \"United States\",\n UM: \"United States Outlying Islands\",\n UY: \"Uruguay\",\n UZ: \"Uzbekistan\",\n VU: \"Vanuatu\",\n VE: \"Venezuela\",\n VN: \"Viet Nam\",\n VG: \"Virgin Islands, British\",\n VI: \"Virgin Islands, U.S.\",\n WF: \"Wallis And Futuna\",\n EH: \"Western Sahara\",\n YE: \"Yemen\",\n ZM: \"Zambia\",\n ZW: \"Zimbabwe\",\n\n *[Symbol.iterator]() {\n const properties = Object.keys(this);\n for (const i of properties) {\n yield [i, this[i]];\n }\n }\n};\nexport default class CountriesLabelConverter {\n public static getCountryName(countryCode) {\n if (isoCountries.hasOwnProperty(countryCode)) {\n return isoCountries[countryCode];\n } else {\n return countryCode;\n }\n }\n\n public static getCountriesNamesIsoMap() {\n return isoCountries;\n }\n}\n","'use strict';\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.iterator` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.iterator\ndefineWellKnownSymbol('iterator');\n","'use strict';\nvar path = require('../internals/path');\nvar hasOwn = require('../internals/has-own-property');\nvar wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');\nvar defineProperty = require('../internals/object-define-property').f;\n\nmodule.exports = function (NAME) {\n var Symbol = path.Symbol || (path.Symbol = {});\n if (!hasOwn(Symbol, NAME)) defineProperty(Symbol, NAME, {\n value: wrappedWellKnownSymbolModule.f(NAME)\n });\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nexports.f = wellKnownSymbol;\n"],"sourceRoot":""}