{"version":3,"sources":["webpack:///./src/ui/views/Project/Settings/Downloads.vue?bdf5","webpack:///./src/ui/views/Project/Settings/Downloads.vue","webpack:///../../../src/components/VChipGroup/VChipGroup.ts","webpack:///./src/ui/components/components/Downloads.vue","webpack:///./src/ui/components/components/Downloads.vue?bb4a","webpack:///./src/ui/components/components/Downloads.vue?92f3","webpack:///./src/ui/components/components/Downloads.vue?00ac","webpack:///./src/ui/views/Project/Settings/Downloads.vue?de51","webpack:///./src/ui/views/Project/Settings/Downloads.vue?3379","webpack:///./src/ui/views/Project/Settings/Downloads.vue?4403","webpack:///./src/ui/components/components/Downloads.vue?3a67"],"names":["staticClass","attrs","_c","on","_vm","currentGroup","showAdditionalDownloads","key","index","item","render","mixins","BaseSlideGroup","Colorable","extend","name","provide","chipGroup","this","props","column","Boolean","computed","classes","options","call","watch","val","scrollOffset","$nextTick","onResize","methods","genData","setTextColor","color","value","selectedChips","callback","expression","class","file","staticRenderFns","Downloads","Vue","constructor","__decorate","Prop","type","Array","Component","component","envAppShowProjectTypeSelection","settingsDownloadList","envSettingsDownloadList","chips","title","locale","source","isLoaded","group","filter","e","includes","filteredByConfig","el","components","DownloadSources"],"mappings":"yIAAA,W,+HCAyF,EAAU,W,IAAUA,OAAyCC,EAAK,EAAC,SAAO,EAAC,kB,OAAE,UAAE,YAAW,6BAACD,OAAyCE,KAAQ,KAAwB,CAACA,EAAG,MAAM,CAACF,YAAY,4BAAkBG,CAAE,EAAC,O,YAAS,U,GAAiBC,MAAIC,C,YAAqB,kBAAC,IAAID,MAAO,SAAU,GAA8GJ,eAAY,U,CAA+B,KAAM,IAAC,yGAAI,sBAAG,CAACI,EAAG,OAAI,CAA8BJ,OAAgCI,KAAO,OAA+J,CAAEA,EAAIE,uBAAwB,EAAD,MAAU,CAAYN,YAAY,mBAAwB,CAAEI,EAAIC,SAAY,KAAK,GAAM,iEAA2D,+BAACL,YAAY,8BAAoBC,EAAM,IAANA,EAAK,wBAAC,S,YAAS,wB,CAAqB,SA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08375cb5.8c91ca00.js","sourcesContent":["export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Downloads.vue?vue&type=style&index=0&id=46cf0f2d&prod&lang=scss&scoped=true&\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('v-card',{staticClass:\"primary downloads-settings\",attrs:{\"flat\":\"\"}},[_c('div',{staticClass:\"downloads-settings-title\"},[_c('div',{staticClass:\"d-flex\"},[_c('div',{staticClass:\"mr-2 title-item\",on:{\"click\":function($event){_vm.currentGroup = 'main'}}},[_vm._v(\" \"+_vm._s(_vm.$t('uiComponents.settings.downloads.title'))+\" \")]),(_vm.currentGroup === 'lynusCommunicator')?_c('div',{staticClass:\"d-flex\"},[_c('v-icon',{attrs:{\"size\":\"15\"}},[_vm._v(\"fa-angle-right\")]),_c('div',{staticClass:\"ml-2 title-item\"},[_vm._v(\" \"+_vm._s(_vm.$t('uiComponents.settings.downloads.chipGroups.beckhoffLibraries'))+\" \")])],1):_vm._e()])]),_c('div',{staticClass:\"downloads-settings-content\"},[(_vm.showAdditionalDownloads === false)?_c('div',{staticClass:\"additional-downloads\"},[(_vm.currentGroup === 'main' && _vm.filteredChipsCommunicator.length !== 0)?_c('v-btn',{staticClass:\"topic-item-button\",attrs:{\"color\":\"accent\",\"elevation\":\"0\"},on:{\"click\":function($event){_vm.currentGroup = 'lynusCommunicator'}}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"fa-arrow-right\")]),_vm._v(\" \"+_vm._s(_vm.$t('uiComponents.settings.downloads.chipGroups.beckhoffLibraries'))+\" \")],1):_vm._e()],1):_vm._e(),_c('div',_vm._l((_vm.filteredChips),function(item,index){return _c('div',{key:index,staticClass:\"source-field\"},[_c('v-btn',{staticClass:\"source-item-text\",attrs:{\"text\":\"\",\"color\":\"accent\",\"href\":item.source,\"download\":\"\"}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"fa-download\")]),_vm._v(\" \"+_vm._s(_vm.$t(item.locale))+\" \")],1)],1)}),0)])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","// Styles\nimport './VChipGroup.sass'\n\n// Extensions\nimport { BaseSlideGroup } from '../VSlideGroup/VSlideGroup'\n\n// Mixins\nimport Colorable from '../../mixins/colorable'\n\n// Utilities\nimport mixins from '../../util/mixins'\n\n/* @vue/component */\nexport default mixins(\n BaseSlideGroup,\n Colorable\n).extend({\n name: 'v-chip-group',\n\n provide () {\n return {\n chipGroup: this,\n }\n },\n\n props: {\n column: Boolean,\n },\n\n computed: {\n classes () {\n return {\n ...BaseSlideGroup.options.computed.classes.call(this),\n 'v-chip-group': true,\n 'v-chip-group--column': this.column,\n }\n },\n },\n\n watch: {\n column (val) {\n if (val) this.scrollOffset = 0\n\n this.$nextTick(this.onResize)\n },\n },\n\n methods: {\n genData () {\n return this.setTextColor(this.color, {\n ...BaseSlideGroup.options.methods.genData.call(this),\n })\n },\n },\n})\n","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('v-card',{staticClass:\"primary\",attrs:{\"flat\":\"\"}},[_c('v-container',{attrs:{\"fluid\":\"\"}},[_c('v-row',[_c('v-col',[_c('v-chip-group',{attrs:{\"column\":\"\",\"color\":\"accent\",\"multiple\":\"\"},model:{value:(_vm.selectedChips),callback:function ($$v) {_vm.selectedChips=$$v},expression:\"selectedChips\"}},_vm._l((_vm.chips),function(item,index){return _c('div',{key:index,class:{ fullWidth: _vm.fullWidth }},[(item.sign)?_c('div',{staticClass:\"black--text\"},[_vm._v(\" \"+_vm._s(item.sign)+\" \")]):_vm._e(),_c('v-chip',{attrs:{\"filter\":\"\",\"label\":\"\",\"color\":\"accent\",\"value\":item.value}},[(item.file)?_c('a',{staticClass:\"href\",attrs:{\"href\":item.file,\"download\":\"\"}},[_vm._v(\" \"+_vm._s(item.title)+\" \")]):(item.link)?_c('router-link',{staticClass:\"href\",attrs:{\"to\":item.link}},[_vm._v(\" \"+_vm._s(item.title)+\" \")]):_c('div',[_vm._v(\" \"+_vm._s(item.title)+\" \")])],1)],1)}),0)],1)],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Vue, Component, Prop } from 'vue-property-decorator';\n\n/**\n * Component that represent Downloads.\n * Used to create different download sources.\n */\n@Component\nexport default class Downloads extends Vue {\n @Prop({ type: Array }) chips!: any[];\n @Prop() fullWidth!: boolean;\n selectedChips = [];\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Downloads.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Downloads.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Downloads.vue?vue&type=template&id=6e5c06db&scoped=true&\"\nimport script from \"./Downloads.vue?vue&type=script&lang=ts&\"\nexport * from \"./Downloads.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Downloads.vue?vue&type=style&index=0&id=6e5c06db&prod&lang=scss&scoped=true&\"\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 \"6e5c06db\",\n null\n \n)\n\nexport default component.exports","\nimport { Vue, Component } from 'vue-property-decorator';\nimport DownloadSources from '@/ui/components/components/Downloads.vue';\nimport { envSettingsDownloadList, envAppShowProjectTypeSelection } from '@/utils/env';\n\n/**\n * Component that shows downloads settings tab\n */\n@Component({\n components: {\n DownloadSources,\n },\n})\nexport default class Downloads extends Vue {\n showAdditionalDownloads = envAppShowProjectTypeSelection;\n settingsDownloadList = envSettingsDownloadList;\n chips = [\n {\n title: 'Download Certificate',\n locale: 'uiComponents.settings.downloads.chips.certificate',\n value: 'Certificate',\n source: './files/mqtt_lynus_io.crt',\n isLoaded: false,\n group: 'main',\n },\n {\n title: 'lynusStandarts',\n locale: 'uiComponents.settings.downloads.chips.lynusStandarts',\n value: 'lynusStandarts',\n source: './files/Lynus_Standards.compiled-library',\n isLoaded: false,\n group: 'lynusCommunicator',\n },\n {\n title: 'lynusCommunicator2',\n locale: 'uiComponents.settings.downloads.chips.lynusCommunicator2',\n value: 'lynusCommunicator2',\n source: './files/Lynus_Communicator_V2_0.compiled-library',\n isLoaded: false,\n group: 'lynusCommunicator',\n },\n {\n title: 'lynusPersistentData1',\n locale: 'uiComponents.settings.downloads.chips.lynusPersistentData1',\n value: 'lynusPersistentData1',\n source: './files/Lynus_Persistent_Data_V1_0.compiled-library',\n isLoaded: false,\n group: 'lynusCommunicator',\n },\n ]\n\n currentGroup = 'main'\n\n get filteredByConfig() {\n return this.chips.filter((e: any) => envSettingsDownloadList.includes(e.value));\n }\n get filteredChips() {\n return this.filteredByConfig.filter((el: any) => el.group === this.currentGroup);\n }\n get filteredChipsCommunicator() {\n return this.filteredByConfig.filter((el: any) => el.group === 'lynusCommunicator');\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Downloads.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Downloads.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Downloads.vue?vue&type=template&id=46cf0f2d&scoped=true&\"\nimport script from \"./Downloads.vue?vue&type=script&lang=ts&\"\nexport * from \"./Downloads.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Downloads.vue?vue&type=style&index=0&id=46cf0f2d&prod&lang=scss&scoped=true&\"\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 \"46cf0f2d\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Downloads.vue?vue&type=style&index=0&id=6e5c06db&prod&lang=scss&scoped=true&\""],"sourceRoot":""}